hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
ff8d9c7e4373f4f66c61f8a9514e892c0b25d368 | diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/activ... | Fix proper fonts in `change_column_null` method docs. [ci skip] | rails_rails | train | rb |
1726c2212aac60f84860ecfd463aefdab996db58 | diff --git a/Builder/FormContractor.php b/Builder/FormContractor.php
index <HASH>..<HASH> 100644
--- a/Builder/FormContractor.php
+++ b/Builder/FormContractor.php
@@ -115,8 +115,9 @@ class FormContractor implements FormContractorInterface
}
} else if ($type == 'sonata_type_admin') {
- ... | Exception for sonata_type_admin field without associated admin | sonata-project_SonataDoctrineMongoDBAdminBundle | train | php |
50e3265b60a2be643f3d08c2e8b6098eeceba27f | diff --git a/spring-cloud-consul-discovery/src/test/java/org/springframework/cloud/consul/discovery/ConsulDiscoveryClientCustomizedTests.java b/spring-cloud-consul-discovery/src/test/java/org/springframework/cloud/consul/discovery/ConsulDiscoveryClientCustomizedTests.java
index <HASH>..<HASH> 100644
--- a/spring-cloud-... | fix tests if consul when docker with consul are used | spring-cloud_spring-cloud-consul | train | java |
4693aeb8d08877253f4b11c9493eba9ff7a48a5d | diff --git a/code/GridFieldExtensions.php b/code/GridFieldExtensions.php
index <HASH>..<HASH> 100644
--- a/code/GridFieldExtensions.php
+++ b/code/GridFieldExtensions.php
@@ -5,8 +5,13 @@
class GridFieldExtensions {
public static function include_requirements() {
- Requirements::css('gridfieldextensions/css/GridF... | Fix - Support for module to be named other than "gridfieldextensions" | symbiote_silverstripe-gridfieldextensions | train | php |
24dfedb0fd54827fd46aa4335c564fcdc16a2529 | diff --git a/lib/util/url.js b/lib/util/url.js
index <HASH>..<HASH> 100644
--- a/lib/util/url.js
+++ b/lib/util/url.js
@@ -2,7 +2,7 @@
var isWindows = /^win/.test(process.platform),
forwardSlashPattern = /\//g,
- protocolPattern = /^([a-z0-9.+-]+):\/\//i,
+ protocolPattern = /^(\w{2,}):\/\//i,
url = ... | Fixed a bug that caused absolute paths on Windows to incorrectly be mistaken for URLs. See <URL> | APIDevTools_json-schema-ref-parser | train | js |
f6b9149d5479cab13b8f23a95df074412458af69 | diff --git a/app/assets/javascripts/caboose/model/attribute.js b/app/assets/javascripts/caboose/model/attribute.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/caboose/model/attribute.js
+++ b/app/assets/javascripts/caboose/model/attribute.js
@@ -15,6 +15,7 @@ Attribute.prototype = {
empty_text: 'empty',... | Added after_update hook in model js | williambarry007_caboose-cms | train | js,js |
f5c30fbfc1eece67b37f8301f327fbd14f037787 | diff --git a/gosu-core/src/main/java/gw/internal/gosu/parser/ClassJavaClassInfo.java b/gosu-core/src/main/java/gw/internal/gosu/parser/ClassJavaClassInfo.java
index <HASH>..<HASH> 100644
--- a/gosu-core/src/main/java/gw/internal/gosu/parser/ClassJavaClassInfo.java
+++ b/gosu-core/src/main/java/gw/internal/gosu/parser/C... | perf: cache "enum" modifier, otherwise expensive making native call to Class#isEnum() | gosu-lang_gosu-lang | train | java |
5ebcc70dc949ef3a4d7c6997ac719c4ee4d1ea9c | diff --git a/src/main/java/org/dynjs/parser/ast/ArrayLiteralExpression.java b/src/main/java/org/dynjs/parser/ast/ArrayLiteralExpression.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dynjs/parser/ast/ArrayLiteralExpression.java
+++ b/src/main/java/org/dynjs/parser/ast/ArrayLiteralExpression.java
@@ -49,7 +49,... | Avoid NPE when toString'ing arrays with elided items. | dynjs_dynjs | train | java |
b240dbda623ce84723bfffa9420f98271f15282f | diff --git a/lib/d3.js b/lib/d3.js
index <HASH>..<HASH> 100644
--- a/lib/d3.js
+++ b/lib/d3.js
@@ -1,4 +1,2 @@
// Stub to get D3 either via NPM or from the global object
-var d3;
-try { d3 = require("d3"); } catch (e) { d3 = window.d3; }
-module.exports = d3;
+module.exports = window.d3; | Force getting d3 from the window global | dagrejs_dagre-d3 | train | js |
487701b1e2e87cb1a6e72043eaba7a0229439c2c | diff --git a/claripy/vsa/valueset.py b/claripy/vsa/valueset.py
index <HASH>..<HASH> 100644
--- a/claripy/vsa/valueset.py
+++ b/claripy/vsa/valueset.py
@@ -19,6 +19,8 @@ class ValueSet(object):
def __init__(self, region=None, bits=None, val=None):
self._si_dict = {}
+ self._reversed = False
+
... | added size() and reverse() to ValueSet. | angr_claripy | train | py |
7b0ade6368575f312185b09c02a6cb3f5984b822 | diff --git a/src/main/java/com/github/terma/gigaspacesqlconsole/Counts.java b/src/main/java/com/github/terma/gigaspacesqlconsole/Counts.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/terma/gigaspacesqlconsole/Counts.java
+++ b/src/main/java/com/github/terma/gigaspacesqlconsole/Counts.java
@@ -99,7 +99,... | Fix GigaSpace admin cache for counts | terma_gigaspace-web-console | train | java |
246b5558b6617dc40df4a8bd60da35442cdaab05 | diff --git a/src/server/pps/server/api_server.go b/src/server/pps/server/api_server.go
index <HASH>..<HASH> 100644
--- a/src/server/pps/server/api_server.go
+++ b/src/server/pps/server/api_server.go
@@ -1792,6 +1792,17 @@ func (a *apiServer) runPipeline(ctx context.Context, pipelineInfo *ppsclient.Pip
if len(rawIn... | Skip commits if we've already processed. | pachyderm_pachyderm | train | go |
82470a723c4e64e4aa48f053e81843fed29d3e46 | diff --git a/ghost/admin/app/helpers/currency-symbol.js b/ghost/admin/app/helpers/currency-symbol.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/app/helpers/currency-symbol.js
+++ b/ghost/admin/app/helpers/currency-symbol.js
@@ -6,6 +6,9 @@ export default class CurrencySymbolHelper extends Helper {
@service feat... | Added guard for missing currency in currency symbol helper
no refs | TryGhost_Ghost | train | js |
13a5492c51bb40778711e86a911ea53ebfdf5bef | diff --git a/spec/by_star/by_fortnight_spec.rb b/spec/by_star/by_fortnight_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/by_star/by_fortnight_spec.rb
+++ b/spec/by_star/by_fortnight_spec.rb
@@ -25,8 +25,7 @@ describe "by fortnight" do
end
it "should be able to find posts for a fortnight ago" do
- p find_pos... | Posts from 2 weeks ago using by_fortnight are numbered three | radar_by_star | train | rb |
73f8658c36f4d8e22b60f53f3b859a3c5234a659 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -473,7 +473,12 @@ function format_text($text, $format=FORMAT_MOODLE, $options=NULL) {
/// $format is one of the format constants, defined above
switch ($format) {
- case FORMAT_MOODLE:
+ ... | Provide the possibility that the format of a text is not defined properly | moodle_moodle | train | php |
e4da0a11151f4e37d78ce0f33ad9bb93a0a497af | diff --git a/flask_jwt_extended/utils.py b/flask_jwt_extended/utils.py
index <HASH>..<HASH> 100644
--- a/flask_jwt_extended/utils.py
+++ b/flask_jwt_extended/utils.py
@@ -11,7 +11,7 @@ from flask_jwt_extended.config import config
from flask_jwt_extended.internal_utils import get_jwt_manager
# Proxy to access the cu... | Fix mypy errors with current_user (fixes #<I>) | vimalloc_flask-jwt-extended | train | py |
e7e6dfc3e6e431aa7ffe581139ef25e19b8db0c5 | diff --git a/core/server/index.js b/core/server/index.js
index <HASH>..<HASH> 100644
--- a/core/server/index.js
+++ b/core/server/index.js
@@ -133,7 +133,7 @@ function ghostStartMessages() {
);
// ensure that Ghost exits correctly on Ctrl+C
- process.on('SIGINT', function () {
+ proces... | Clear any existing SIGINT listeners during startup
No issue
-remove any existing listeners on the SIGINT event during
the ghost bootstrap process. handles an issue during testing
where node was warning about too many listeners. | TryGhost_Ghost | train | js |
e90d5c810c6ec2f1a386862a11480af0d9a13430 | diff --git a/lib/implementation.js b/lib/implementation.js
index <HASH>..<HASH> 100644
--- a/lib/implementation.js
+++ b/lib/implementation.js
@@ -372,7 +372,7 @@ module.exports = function(self, options) {
}
}
}
- ]).toArray();
+ ], { allowDiskUse: true }).toArray();... | Handle workflowGuid index with many documents | apostrophecms_apostrophe-workflow | train | js |
8d3894e9626392133b7ca18db4ad4baf149ea8be | diff --git a/lib/neek.js b/lib/neek.js
index <HASH>..<HASH> 100644
--- a/lib/neek.js
+++ b/lib/neek.js
@@ -67,5 +67,5 @@ function isWriteStream(obj) {
}
function isStream(obj) {
- return obj && typeof obj.pipe === 'function';
+ return obj && (typeof obj.pipe === 'function' || typeof(obj) === 'string');
} | Add back 'string' check to allow for neek streams to be created just using string filenames | whitfin_neek | train | js |
03f3d7d7eecb73d36ce46f33c260ae4f181fa8a2 | diff --git a/src/Illuminate/Console/Command.php b/src/Illuminate/Console/Command.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Console/Command.php
+++ b/src/Illuminate/Console/Command.php
@@ -121,7 +121,7 @@ class Command extends SymfonyCommand
{
list($name, $arguments, $options) = Parser::parse($t... | Set $name in Console\Command because Symfony subclass $name is private for some reason. (#<I>) | laravel_framework | train | php |
d2ceb7653edfb118dbfc97362574985faa2d1daa | diff --git a/src/vec2.js b/src/vec2.js
index <HASH>..<HASH> 100644
--- a/src/vec2.js
+++ b/src/vec2.js
@@ -494,15 +494,7 @@ export function angle(a, b) {
}
let cosine = (x1 * x2 + y1 * y2) * len1 * len2;
-
- if(cosine > 1.0) {
- return 0;
- }
- else if(cosine < -1.0) {
- return Math.PI;
- } else {
- ... | Remove unreachable code from vec2.angle
Because you're always calculating the inner angle cosine will never
be greater than 1 or less than -1.
The if statements could be updated with >= and <= to be reachable,
but performance is better without the conditional branches. | toji_gl-matrix | train | js |
f028a004adf955115cf87354a045350d7d147b3e | diff --git a/tests/unit/utils/warnings_test.py b/tests/unit/utils/warnings_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/utils/warnings_test.py
+++ b/tests/unit/utils/warnings_test.py
@@ -63,8 +63,8 @@ class WarnUntilTestCase(TestCase):
RuntimeError,
r'The warning triggered on f... | Fix the warnings unit test.
Since the `warn_until` function now parses and instantiates a `SaltStackVersion`, the `bugfix` part of the version info is always shown. | saltstack_salt | train | py |
a5a08b8003a19af18a0a558fc1196654e357e2ae | diff --git a/lib/bibclassify_model.py b/lib/bibclassify_model.py
index <HASH>..<HASH> 100644
--- a/lib/bibclassify_model.py
+++ b/lib/bibclassify_model.py
@@ -43,7 +43,7 @@ class ClsMETHOD(db.Model):
description = db.Column(db.String(255), nullable=False,
server_default='')
last_updated = db.... | installation: mysql default date value fix
* Fixes problem while installing Invenio using fixtures where some dates
were set with year=1, which is not accepted by mysql and this made the
installation crash. Now, they are set to <I> which is the lowest
value accepted by MySQL. | inveniosoftware-contrib_invenio-classifier | train | py |
054a3027947eb50d192cc4050f5d9f6ea8dff01f | diff --git a/chef/lib/chef/search/query.rb b/chef/lib/chef/search/query.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/search/query.rb
+++ b/chef/lib/chef/search/query.rb
@@ -31,7 +31,7 @@ class Chef
# Search Solr for objects of a given type, for a given query. If you give
# it a block, it will hand... | apply the chef-<I> bandaid to the the other copy of the same code | chef_chef | train | rb |
4bea24361a104b8caaf3ed850ce901e5576118b1 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDropClass.java b/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDropClass.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDropClass.jav... | HA: fixed drop class variable timeout | orientechnologies_orientdb | train | java |
0dcc862a5602677966d89c67c074a90c93a9e67d | diff --git a/_pytest/python.py b/_pytest/python.py
index <HASH>..<HASH> 100644
--- a/_pytest/python.py
+++ b/_pytest/python.py
@@ -1417,8 +1417,8 @@ class approx(object):
If you're thinking about using ``approx``, then you might want to know how
it compares to other good ways of comparing floating-point num... | Fix some typos in the documentation. | vmalloc_dessert | train | py |
b628477af1226670eb2ef652106a9fe8df64dedb | diff --git a/lib/liquid/template.rb b/lib/liquid/template.rb
index <HASH>..<HASH> 100644
--- a/lib/liquid/template.rb
+++ b/lib/liquid/template.rb
@@ -250,7 +250,7 @@ module Liquid
def with_profiling
if @profiling && !@options[:included]
- raise "Profiler not loaded, require 'liquid/profiler' first... | Disambiguate checking if Liquid::Profiler is defined | Shopify_liquid | train | rb |
08e3a5a969fe912e29bc84f759df617c027c365b | diff --git a/test/e2e/service.go b/test/e2e/service.go
index <HASH>..<HASH> 100644
--- a/test/e2e/service.go
+++ b/test/e2e/service.go
@@ -256,6 +256,11 @@ var _ = Describe("Services", func() {
}, 240.0)
It("should be able to create a functioning external load balancer", func() {
+ if !providerIs("gce", "gke") {... | Add appropriate skips for E2Es that use createExternalLoadBalancer | kubernetes_kubernetes | train | go |
34500d6d1fb7cafd43b16a5495400748e51be97c | diff --git a/runcommands/runners/remote.py b/runcommands/runners/remote.py
index <HASH>..<HASH> 100644
--- a/runcommands/runners/remote.py
+++ b/runcommands/runners/remote.py
@@ -103,6 +103,8 @@ class RemoteRunner(Runner):
channel.close()
reset_stdin()
except SSHException:
+ ... | Improve handling of SSHException in RemoteRunner.run()
When debugging, re-raise `SSHException`s so we can figure out what
happened. | wylee_runcommands | train | py |
efb6e4e11a6e133d464bbac116ba428adc030477 | diff --git a/Kwc/Chained/Trl/GeneratorEvents/Table.php b/Kwc/Chained/Trl/GeneratorEvents/Table.php
index <HASH>..<HASH> 100644
--- a/Kwc/Chained/Trl/GeneratorEvents/Table.php
+++ b/Kwc/Chained/Trl/GeneratorEvents/Table.php
@@ -97,9 +97,10 @@ class Kwc_Chained_Trl_GeneratorEvents_Table extends Kwc_Chained_Trl_GeneratorE... | _getClassFromMasterRow function don't exists so the class for the master row is now searched in the generator | koala-framework_koala-framework | train | php |
1e88318a20f1ad1762d561e5851434f4a5fa8383 | diff --git a/src/Solidity.php b/src/Solidity.php
index <HASH>..<HASH> 100644
--- a/src/Solidity.php
+++ b/src/Solidity.php
@@ -6,7 +6,7 @@ use BN\BN;
final class Solidity {
private const HASH_SIZE = 256;
- private static function hex ($input): string {
+ public static function hex ($input): string {
... | make `hex()` public | kornrunner_php-solidity | train | php |
a264f7a445abddeb7c71b1c9ded329fcc8cb8cd8 | diff --git a/lxd/storage/drivers/driver_cephfs.go b/lxd/storage/drivers/driver_cephfs.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_cephfs.go
+++ b/lxd/storage/drivers/driver_cephfs.go
@@ -987,3 +987,7 @@ func (d *cephfs) getConfig(clusterName string, userName string) ([]string, strin
return cephM... | lxd/storage/drivers/driver/cephfs: Adds BackupVolume placeholder | lxc_lxd | train | go |
1723c1a2a066af19f13e201d092e7a36c48b10db | diff --git a/src/Two/GoogleProvider.php b/src/Two/GoogleProvider.php
index <HASH>..<HASH> 100644
--- a/src/Two/GoogleProvider.php
+++ b/src/Two/GoogleProvider.php
@@ -19,9 +19,9 @@ class GoogleProvider extends AbstractProvider implements ProviderInterface
* @var array
*/
protected $scopes = [
- ... | Replaced G+ by OpenID in scopes
No need to specify anything related to "Google +". Some Google Apps accounts may have it disabled or G+ may not be usefull for an account.
I have checked the given changes for my own use (Google Apps) and they are working as expected (the mapping is correctly done). | laravel_socialite | train | php |
661f31228c5185e51e9ceaffcb77953199ace955 | diff --git a/docroot/modules/custom/ymca_groupex/src/Form/GroupexFormFull.php b/docroot/modules/custom/ymca_groupex/src/Form/GroupexFormFull.php
index <HASH>..<HASH> 100644
--- a/docroot/modules/custom/ymca_groupex/src/Form/GroupexFormFull.php
+++ b/docroot/modules/custom/ymca_groupex/src/Form/GroupexFormFull.php
@@ -2... | [YMCA-<I>] add text to group ex full form | ymcatwincities_openy | train | php |
4cb91431559d487ed77d830e66ed0ef38e5d0435 | diff --git a/landsat/__init__.py b/landsat/__init__.py
index <HASH>..<HASH> 100644
--- a/landsat/__init__.py
+++ b/landsat/__init__.py
@@ -1 +1 @@
-__version__ = '0.10b1'
+__version__ = '0.10b2' | bump up version to <I>b2 | developmentseed_landsat-util | train | py |
38b54b99104053be0833573c84cc2a545e17f995 | diff --git a/src/Table.php b/src/Table.php
index <HASH>..<HASH> 100644
--- a/src/Table.php
+++ b/src/Table.php
@@ -75,7 +75,7 @@ class Table extends BaseTable implements HasFieldsInterface
}
/**
- * Set Table validation rules.
+ * Set Table validation rules if the validation is globally enabled.
... | Add validator which bypasses enabled check (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
dcbd8500645369f6a63f9b6f57867ef66b32bdc8 | diff --git a/controllers/socket/lobbyHandlers.go b/controllers/socket/lobbyHandlers.go
index <HASH>..<HASH> 100644
--- a/controllers/socket/lobbyHandlers.go
+++ b/controllers/socket/lobbyHandlers.go
@@ -336,6 +336,7 @@ func lobbyKickHandler(so socketio.Socket) func(string) string {
}
chelpers.AfterLobbyLeave(... | lobbyKickHandler(): Send {} as lobbyData once kicked. | TF2Stadium_Helen | train | go |
6d135af2e1d3058c382f059705f9e7373cc4aa67 | diff --git a/simuvex/plugins/unicorn_engine.py b/simuvex/plugins/unicorn_engine.py
index <HASH>..<HASH> 100644
--- a/simuvex/plugins/unicorn_engine.py
+++ b/simuvex/plugins/unicorn_engine.py
@@ -1156,6 +1156,9 @@ class Unicorn(SimStatePlugin):
self.countdown_symbolic_registers -= 1
self.countdown_symb... | don't jump into unicorn on a symbolic IP | angr_angr | train | py |
699c128373e1a0ca1e87907856665457d5db99f2 | diff --git a/test/transforms/processImages.js b/test/transforms/processImages.js
index <HASH>..<HASH> 100644
--- a/test/transforms/processImages.js
+++ b/test/transforms/processImages.js
@@ -318,13 +318,7 @@ describe('processImages', function() {
}
];
- expect(
- assetGraph.findAss... | Fix test so it works with Unexpected <I> | assetgraph_assetgraph-builder | train | js |
2b19fe874d9e171c7ab5218034739887406c8230 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -38,21 +38,19 @@ module.exports = function(options, allDone) {
var endpoints = _.map(components, function(component) { return component.endpoint.name; });
bower.commands.install(endpoints, {save: true, forceLatest: true}... | Fix display of number of updated components and latest version. | sapegin_bower-update | train | js |
87cb8b3c8970040ddcb30cfdfc4de7bd5f1d8e37 | diff --git a/src/main/menu.js b/src/main/menu.js
index <HASH>..<HASH> 100644
--- a/src/main/menu.js
+++ b/src/main/menu.js
@@ -126,7 +126,6 @@ export const cell = {
submenu: [
{
label: 'Run All',
- accelerator: 'Cmd+E',
click: createSender('menu:run-all')
},
], | Don't set a keyboard shortcut for run all yet | nteract_nteract | train | js |
8d8ac86049d0f82d5776bf82cfc114859bb200a0 | diff --git a/core/src/main/java/io/minecloud/db/redis/RedisDatabase.java b/core/src/main/java/io/minecloud/db/redis/RedisDatabase.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/minecloud/db/redis/RedisDatabase.java
+++ b/core/src/main/java/io/minecloud/db/redis/RedisDatabase.java
@@ -87,18 +87,14 @@ publi... | Switch to try-with-resources
This way, we won't be returning objects from the old pool to the new pool | mkotb_MineCloud | train | java |
f8cad6ce6c1b7ecaee81ac45e14eee6ee346075a | diff --git a/shinken/modulesmanager.py b/shinken/modulesmanager.py
index <HASH>..<HASH> 100644
--- a/shinken/modulesmanager.py
+++ b/shinken/modulesmanager.py
@@ -93,7 +93,7 @@ class ModulesManager(object):
try:
mod = importlib.import_module('.module', mod_name)
- except Impor... | Fix : Catch all exception on the first import try.
Need to get a real exception list. | Alignak-monitoring_alignak | train | py |
3b9e6e96fb02e95614bae1a54d435d3ac6831fa5 | diff --git a/src/main/java/org/lastaflute/di/core/creator/AssistCreator.java b/src/main/java/org/lastaflute/di/core/creator/AssistCreator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/lastaflute/di/core/creator/AssistCreator.java
+++ b/src/main/java/org/lastaflute/di/core/creator/AssistCreator.java
@@ -30,11... | fix name, Helper to Assist | lastaflute_lasta-di | train | java |
96f9311afbf190f80d4248c8152a9391f51ade1a | diff --git a/lib/featuresLoader.js b/lib/featuresLoader.js
index <HASH>..<HASH> 100644
--- a/lib/featuresLoader.js
+++ b/lib/featuresLoader.js
@@ -59,7 +59,7 @@ const createCucumber = (
.join("\n")}
`;
-module.exports = function(_, filePath) {
+module.exports = function(_, filePath = this.resourcePath) {
l... | feat(featuresloader): allow to use featuresLoader with Webpack | TheBrainFamily_cypress-cucumber-preprocessor | train | js |
d9234e374d394971176709bdd4dee31b9b0b47ae | diff --git a/lib/util.js b/lib/util.js
index <HASH>..<HASH> 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -36,7 +36,9 @@ function forcelink(src, dest, options, callback) {
if (!options || !options.cache) throw new Error('options.cache not defined!');
if (!callback) throw new Error('callback not defined!');
... | only try to relativize paths if node's path.relative function exists (node >= <I>) - closes #<I> and #<I> | tilemill-project_millstone | train | js |
ba7d872199c140adacd28fd508f18213fb7c468c | diff --git a/src/org/openscience/cdk/test/io/cml/CMLIOTests.java b/src/org/openscience/cdk/test/io/cml/CMLIOTests.java
index <HASH>..<HASH> 100644
--- a/src/org/openscience/cdk/test/io/cml/CMLIOTests.java
+++ b/src/org/openscience/cdk/test/io/cml/CMLIOTests.java
@@ -47,9 +47,9 @@ public class CMLIOTests {
suit... | Running tests if Java<I> is found, and also give feedback if the tests are not run.
git-svn-id: <URL> | cdk_cdk | train | java |
6201786da3000cc3f0fdd14652613d9a5791fc04 | diff --git a/photutils/aperture.py b/photutils/aperture.py
index <HASH>..<HASH> 100644
--- a/photutils/aperture.py
+++ b/photutils/aperture.py
@@ -324,9 +324,9 @@ class RectangularAperture(Aperture):
Parameters
----------
w : float
- The full width of the aperture (at `theta`=0, this is the "x" ax... | fix for doc warnings due to RectangularAperture | astropy_photutils | train | py |
9c38c261005119758dd776ceef57bb1f4b8de7fa | diff --git a/test/test_pghoard.py b/test/test_pghoard.py
index <HASH>..<HASH> 100644
--- a/test/test_pghoard.py
+++ b/test/test_pghoard.py
@@ -747,6 +747,10 @@ class TestPGHoardWithPG:
if pghoard.receivexlogs[pghoard.test_site].is_alive():
pghoard.receivexlogs[pghoard.test_site].join()
de... | Fix for receivewal hickup test
When test stops receivexlogs thread, the subprocess of receivexlog
after being killed might leave incomplete .partial files, which make
the restarted receivexlog stop working. Usually those incomplete files
are truncated by pghoard after restart, so this workaround should just
make test ... | aiven_pghoard | train | py |
4a4469817c418773509141e5dae095dfdca2e3c7 | diff --git a/esgfpid/rabbit/asynchronous/thread_builder.py b/esgfpid/rabbit/asynchronous/thread_builder.py
index <HASH>..<HASH> 100644
--- a/esgfpid/rabbit/asynchronous/thread_builder.py
+++ b/esgfpid/rabbit/asynchronous/thread_builder.py
@@ -92,8 +92,9 @@ class ConnectionBuilder(object):
logdebug(LOGG... | More information is logged on AuthenticationException at Rabbit. | IS-ENES-Data_esgf-pid | train | py |
6afbf3375df4c151c2ec8fa9f96ccc2a8ae7e781 | diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/type/mount.rb
+++ b/lib/puppet/type/mount.rb
@@ -168,11 +168,12 @@ module Puppet
end
newproperty(:options) do
- desc "Mount options for the mounts, as they would
- appear in the fstab."
... | (PUP-<I>) Clarify docstring for mount options
The docstring for the `options` parameter of the mount Type did not clarify
that the parameter value should be a single string. Also noted that many
operating systems use a comma-delimited list. | puppetlabs_puppet | train | rb |
65d78e05cb5b4ddb04ef93e85a95efe92ae09988 | diff --git a/src/core/services/gesture/gesture.js b/src/core/services/gesture/gesture.js
index <HASH>..<HASH> 100644
--- a/src/core/services/gesture/gesture.js
+++ b/src/core/services/gesture/gesture.js
@@ -5,7 +5,8 @@ var HANDLERS = {};
* It contains normalized x and y coordinates from DOM events,
* as well as oth... | feat(gestures): add ability to disable all gestures for perf (#<I>)
Fixes #<I>. Relates to #<I>. | angular_material | train | js |
3c822d8f0c4a0938fd6ec79dc9f3d044e0760121 | diff --git a/lib/rfd.rb b/lib/rfd.rb
index <HASH>..<HASH> 100644
--- a/lib/rfd.rb
+++ b/lib/rfd.rb
@@ -175,12 +175,10 @@ module Rfd
cd_into_zip dir
else
target = expand_path dir
- if File.readable? target
- Dir.chdir target
- @dir_history << current_dir if current_dir &... | No need to check permission before cding
The system would return a comprehensive error in such case. | amatsuda_rfd | train | rb |
b056fe0c47cadd1e5e8a48f23a528948a353cefe | diff --git a/art/art.py b/art/art.py
index <HASH>..<HASH> 100644
--- a/art/art.py
+++ b/art/art.py
@@ -483,8 +483,7 @@ def text2art(text, font=DEFAULT_FONT, decoration=None, chr_ignore=True):
word_list = text_temp.split("\n")
result = ""
if decoration is not None:
- decoration = indirect_decoratio... | add : minor use of decor fucntion added. | sepandhaghighi_art | train | py |
ac08e369b217543900d9dfae11f42ec4cc9ddbb2 | diff --git a/src/main/java/org/wso2/carbon/transport/http/netty/internal/config/ListenerConfiguration.java b/src/main/java/org/wso2/carbon/transport/http/netty/internal/config/ListenerConfiguration.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/wso2/carbon/transport/http/netty/internal/config/ListenerConfigur... | Bind the transport on all interfaces by default | wso2_transport-http | train | java |
5ae78f8696dbdc6ffd10f63b98cbc7b5a36bd308 | diff --git a/test/test_cache.rb b/test/test_cache.rb
index <HASH>..<HASH> 100644
--- a/test/test_cache.rb
+++ b/test/test_cache.rb
@@ -146,8 +146,8 @@ class TestCache < Test::Unit::TestCase
def test_updates_dont_block_reads
getters_count = 20
- key_struct = Struct.new(:key, :hash)
- keys = [... | Use the HCK in the main test file. | ruby-concurrency_thread_safe | train | rb,rb |
50b854513b04b53ca984e05a8ea572b48341a4f0 | diff --git a/MANIFEST.in b/MANIFEST.in
index <HASH>..<HASH> 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,4 @@
-global-include . *.py *.c *.h Makefile *.pyx
+global-include . *.py *.c *.h Makefile *.pyx requirements.txt
global-exclude chumpy/optional_test_performance.py
prune dist
diff --git a/chumpy/versi... | Fixed problem with requirements.txt not being uploaded to pypi | mattloper_chumpy | train | in,py,py |
8326f39628745a49df2e9981a812488bcb3c7062 | diff --git a/bids/variables/tests/test_io.py b/bids/variables/tests/test_io.py
index <HASH>..<HASH> 100644
--- a/bids/variables/tests/test_io.py
+++ b/bids/variables/tests/test_io.py
@@ -21,7 +21,8 @@ def synthetic(request):
deriv = join(root, 'derivatives')
if request.param == 'preproc':
layout = BI... | add explicit space constraint to derivatives dataset | bids-standard_pybids | train | py |
bb2cceb10291ad39b16fc61e3644e037de4a34fb | diff --git a/src/Kunstmaan/SeoBundle/Entity/Seo.php b/src/Kunstmaan/SeoBundle/Entity/Seo.php
index <HASH>..<HASH> 100644
--- a/src/Kunstmaan/SeoBundle/Entity/Seo.php
+++ b/src/Kunstmaan/SeoBundle/Entity/Seo.php
@@ -99,7 +99,7 @@ class Seo extends AbstractEntity
* @ORM\Column(name="cim_keyword", type="string", len... | properties should be private/protected | Kunstmaan_KunstmaanBundlesCMS | train | php |
dd5cbf3a2b97833511797eadcf9223c2cefa03dd | diff --git a/luigi/process.py b/luigi/process.py
index <HASH>..<HASH> 100644
--- a/luigi/process.py
+++ b/luigi/process.py
@@ -97,11 +97,20 @@ def daemonize(cmd, pidfile=None, logdir=None, api_port=8082, address=None, unix_
stdout_proxy = open(stdout_path, 'a+')
stderr_proxy = open(stderr_path, 'a+')
- c... | Added initgroups to work with python-daemon >= <I>. | spotify_luigi | train | py |
18024467ffb7c1a6f95eddd31d6d6f18b763b84c | diff --git a/testing/test_capture.py b/testing/test_capture.py
index <HASH>..<HASH> 100644
--- a/testing/test_capture.py
+++ b/testing/test_capture.py
@@ -106,7 +106,7 @@ def test_capturing_unicode(testdir, method):
obj = "u'\u00f6y'"
testdir.makepyfile(
"""
- # coding=utf8
+ # codi... | Fix invalid Python file encoding "utf8"
Since Python 3 it must be "utf-8", which is the official name.
This is backwards compatible with Python 2. | pytest-dev_pytest | train | py |
d52710223ebac511187376cccceb07b4888c8224 | diff --git a/lib/takuhai_status/japanpost.rb b/lib/takuhai_status/japanpost.rb
index <HASH>..<HASH> 100644
--- a/lib/takuhai_status/japanpost.rb
+++ b/lib/takuhai_status/japanpost.rb
@@ -11,7 +11,7 @@ module TakuhaiStatus
end
def finish?
- return !!(@state =~ /お届け先にお届け済み|コンビニエンスストアに引渡/)
+ return !!(@state =... | add final state "窓口でお渡し" to japanpost | tdtds_takuhai_status | train | rb |
dceaeadd5b2827ae961038d58432d867242df22f | diff --git a/test/integration/test_events.py b/test/integration/test_events.py
index <HASH>..<HASH> 100644
--- a/test/integration/test_events.py
+++ b/test/integration/test_events.py
@@ -6,7 +6,6 @@ import pkg_resources
import json
import os
import shutil
-import stat
from ansible_runner import run, run_async
@... | don't chmod dir for containerized test | ansible_ansible-runner | train | py |
824b25634979a26dcd28caf1df963b26af678ff2 | diff --git a/test/bitcore.js b/test/bitcore.js
index <HASH>..<HASH> 100644
--- a/test/bitcore.js
+++ b/test/bitcore.js
@@ -584,7 +584,7 @@ describe('bitcore', () => {
});
it('streams error when bitcore turned off during action', function (done) {
- this.timeout(60 * 1000);
+ th... | Longer time for one of the tests (locally) | trezor_hd-wallet | train | js |
9601d88a430d34d4b26cd6459d7d47f30dbb4527 | diff --git a/src/main/java/org/jfrog/hudson/gradle/ArtifactoryGradleConfigurator.java b/src/main/java/org/jfrog/hudson/gradle/ArtifactoryGradleConfigurator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jfrog/hudson/gradle/ArtifactoryGradleConfigurator.java
+++ b/src/main/java/org/jfrog/hudson/gradle/Artifact... | HAP-<I> - Hudson don't remember the selected Resolver repository and Target Upload repository | jenkinsci_artifactory-plugin | train | java |
cf4918c6abec0065664a7bb44b34a503f65cd4a6 | diff --git a/src/vendor/postcss-nested/index.js b/src/vendor/postcss-nested/index.js
index <HASH>..<HASH> 100644
--- a/src/vendor/postcss-nested/index.js
+++ b/src/vendor/postcss-nested/index.js
@@ -67,7 +67,7 @@ function processRule(rule, bubble) {
var bubble = ['media', 'supports', 'document'];
-export default f... | broke this when i forked postcss nested | styled-components_styled-components | train | js |
d5e45e4c46c59503053bc854986f6080db9cbddd | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -98,6 +98,7 @@ exports.natureFromLisp = function (src) {
if (src[0] === '(') src = src.slice(1);
src = src.trim();
src = src.split(' ')[0];
+ src = src.split('(')[0];
exports.operations.forEach(function ... | Nature: Allow the 2nd parens to stick to the cmd | ClubExpressions_node-clubexpr | train | js,js |
c955c61654f4340a318fb45576e8680716149717 | diff --git a/SingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java b/SingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java
index <HASH>..<HASH> 100644
--- a/SingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java
+++ b/Singula... | Allow fetching full request data in SingularityClient | HubSpot_Singularity | train | java |
2e2f998b9208dc6ec77ef57ed42386bcc0bcd6d1 | diff --git a/util/reader.go b/util/reader.go
index <HASH>..<HASH> 100644
--- a/util/reader.go
+++ b/util/reader.go
@@ -91,6 +91,16 @@ func (r *Reader) ReadTillDelims(delims []byte) ([]byte, error) {
buf := make([]byte, 0)
for {
+ read, err := r.ReadTillDelim(delims[0])
+ if err != nil {
+ return buf, err
+ }... | Improve performance of reader.ReadTillDelims func | bogem_id3v2 | train | go |
dbe71e81bd82975b3013b92933ce4368db6b8b96 | diff --git a/internal/ui/ui_mac.go b/internal/ui/ui_mac.go
index <HASH>..<HASH> 100644
--- a/internal/ui/ui_mac.go
+++ b/internal/ui/ui_mac.go
@@ -24,7 +24,15 @@ package ui
// #import <AppKit/AppKit.h>
//
// static void currentMonitorPos(int* x, int* y) {
-// NSDictionary* screenDictionary = [[NSScreen mainScreen]... | ui: Bug fix: currentMonitorPos returned wrong values on macOS
[NSScreen mainScreen] sometimes returned a wrong screen for the
window. Use [[NSApp mainWindow] screen] when possible.
Fixes #<I> | hajimehoshi_ebiten | train | go |
1b3bcc98f3ea8027748b8565fcec16fcdafd9f72 | diff --git a/storage-authority.go b/storage-authority.go
index <HASH>..<HASH> 100644
--- a/storage-authority.go
+++ b/storage-authority.go
@@ -173,7 +173,7 @@ func (ssa *SQLStorageAuthority) NewPendingAuthorization() (id string, err error)
}
func (ssa *SQLStorageAuthority) UpdatePendingAuthorization(authz Authoriza... | Typo fixes; should now build and pass tests | letsencrypt_boulder | train | go |
199f2001a68dc7c8050ef47137de197cb18685b3 | diff --git a/models/points.go b/models/points.go
index <HASH>..<HASH> 100644
--- a/models/points.go
+++ b/models/points.go
@@ -186,6 +186,8 @@ func (t FieldType) String() string {
return "String"
case Empty:
return "Empty"
+ case Unsigned:
+ return "Unsigned"
default:
return "<unknown>"
} | fix(storage): add string representation of the Unsigned FieldType | influxdata_influxdb | train | go |
eae4c3f01c5440dd684f55e48ec2b455bafdaf8a | diff --git a/app/classes/lib.php b/app/classes/lib.php
index <HASH>..<HASH> 100644
--- a/app/classes/lib.php
+++ b/app/classes/lib.php
@@ -736,8 +736,8 @@ function getConfig()
// Make sure the cookie_domain for the sessions is set properly.
if (empty($config['general']['cookies_domain'])) {
- // Don'... | Bugfix: Don't manually set cookiedomain for IP-addresses. | bolt_bolt | train | php |
9ebcfa93af27d1be7cd656f45811a244819103af | diff --git a/lib/google_visualr/version.rb b/lib/google_visualr/version.rb
index <HASH>..<HASH> 100644
--- a/lib/google_visualr/version.rb
+++ b/lib/google_visualr/version.rb
@@ -1,3 +1,3 @@
module GoogleVisualr
- VERSION = "2.0.5"
+ VERSION = "2.0.6"
end
\ No newline at end of file | Version bump after the bug fix by lawso<I>. | winston_google_visualr | train | rb |
4cb0c3f22879add23b15cc55f81530a19aeab9d9 | diff --git a/tests/support/parser/__init__.py b/tests/support/parser/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/support/parser/__init__.py
+++ b/tests/support/parser/__init__.py
@@ -242,7 +242,7 @@ class SaltTestingParser(optparse.OptionParser):
self, 'Output Options'
)
self.outp... | Failfast will be '-F' instead of '-f'
Avoid potential confusion with '-f' for '--force' | saltstack_salt | train | py |
b18becf3e7af333c1a534fe3b290d8878f70596c | diff --git a/common/test/java/org/openqa/selenium/ElementAttributeTest.java b/common/test/java/org/openqa/selenium/ElementAttributeTest.java
index <HASH>..<HASH> 100644
--- a/common/test/java/org/openqa/selenium/ElementAttributeTest.java
+++ b/common/test/java/org/openqa/selenium/ElementAttributeTest.java
@@ -241,6 +24... | SimonStewart: The onclick test doesn't pass with the selenese driver
r<I> | SeleniumHQ_selenium | train | java |
5f73b8963884532e98df027d8c494c3be7fb3f25 | diff --git a/Services/Twilio.php b/Services/Twilio.php
index <HASH>..<HASH> 100644
--- a/Services/Twilio.php
+++ b/Services/Twilio.php
@@ -23,7 +23,7 @@ spl_autoload_register('Services_Twilio_autoload');
*/
abstract class Base_Services_Twilio extends Services_Twilio_Resource
{
- const USER_AGENT = 'twilio-php/3.... | Bumping USER_AGENT to <I> | twilio_twilio-php | train | php |
5e2023c1c4e34ff8becc0b80a9f790775d4c39f4 | diff --git a/lawfactory_utils/urls.py b/lawfactory_utils/urls.py
index <HASH>..<HASH> 100644
--- a/lawfactory_utils/urls.py
+++ b/lawfactory_utils/urls.py
@@ -198,7 +198,7 @@ def clean_url(url):
legislature, slug = parse_national_assembly_url(url)
if legislature and slug:
temp... | use the new doslegs for the <I>th legislature
because the old pages for those doslegs now redirect to the new dosleg | regardscitoyens_lawfactory_utils | train | py |
add93d0f7dc43011c401165bbc7ed345a93e082a | diff --git a/lib/chef/chef_fs/config.rb b/lib/chef/chef_fs/config.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/chef_fs/config.rb
+++ b/lib/chef/chef_fs/config.rb
@@ -66,7 +66,7 @@ class Chef
# upgrade/migration of older Chef Servers, so they should be considered
# frozen in time.
- CHEF_11_OSS_STA... | Remove cookbook_artifacts from CHEF_<I>_OSS_STATIC_OBJECTS | chef_chef | train | rb |
24a289344342ffb4c0f5a2fc46edeaa68d196584 | diff --git a/addon/router-ext.js b/addon/router-ext.js
index <HASH>..<HASH> 100644
--- a/addon/router-ext.js
+++ b/addon/router-ext.js
@@ -1,7 +1,23 @@
import Ember from 'ember';
const {
- Router
+ Router: EmberRouter,
+ RouterDSL: EmberRouterDSL,
+ get,
+ Logger,
+ getOwner
} = Ember;
-Router.reopen();
+E... | Adds ability to provide `resolveRouteMap` to RouterDSL.
This requires changes in Ember made in
<URL> | ember-engines_ember-engines | train | js |
f6f04e716454b3b7382342c53cd297a6e68be9b5 | diff --git a/varify/migrations/0004_remove_sample_as_queryable.py b/varify/migrations/0004_remove_sample_as_queryable.py
index <HASH>..<HASH> 100644
--- a/varify/migrations/0004_remove_sample_as_queryable.py
+++ b/varify/migrations/0004_remove_sample_as_queryable.py
@@ -8,12 +8,12 @@ class Migration(DataMigration):
... | Fix bad references and keys in sample queryable migration | chop-dbhi_varify | train | py |
40df859c378a129d039412cb1a3703e513e386c6 | diff --git a/src/Defender/Traits/Users/HasRoles.php b/src/Defender/Traits/Users/HasRoles.php
index <HASH>..<HASH> 100644
--- a/src/Defender/Traits/Users/HasRoles.php
+++ b/src/Defender/Traits/Users/HasRoles.php
@@ -37,7 +37,7 @@ trait HasRoles
public function hasRole($role)
{
return $this->roles
- ... | bugfix - revert 1st to change | artesaos_defender | train | php |
6f526597536ac4d7e0ef763be929115cf8170564 | diff --git a/framework/yii/BaseYii.php b/framework/yii/BaseYii.php
index <HASH>..<HASH> 100644
--- a/framework/yii/BaseYii.php
+++ b/framework/yii/BaseYii.php
@@ -335,8 +335,7 @@ class BaseYii
include($classFile);
- if (YII_DEBUG && !class_exists($className, false) && !interface_exists($className, false) &&
- ... | no need to check for trait_exists in autoloader anymore | yiisoft_yii2-debug | train | php |
45aa4988a3dffa9dfe39373e9f687dc746ab61eb | diff --git a/icalevents/icalparser.py b/icalevents/icalparser.py
index <HASH>..<HASH> 100644
--- a/icalevents/icalparser.py
+++ b/icalevents/icalparser.py
@@ -225,8 +225,12 @@ def parse_rrule(component, tz=UTC):
:return: extracted rrule or rruleset
"""
if component.get('rrule'):
- # Parse the rrul... | Fixed parsing when multiple `rrule`s are present | irgangla_icalevents | train | py |
5ad02c49476a9224edf606cb43946731d65abc82 | diff --git a/src/main/groovy/util/FactoryBuilderSupport.java b/src/main/groovy/util/FactoryBuilderSupport.java
index <HASH>..<HASH> 100644
--- a/src/main/groovy/util/FactoryBuilderSupport.java
+++ b/src/main/groovy/util/FactoryBuilderSupport.java
@@ -801,6 +801,14 @@ public abstract class FactoryBuilderSupport extends ... | Created deprecated version of the old method | apache_groovy | train | java |
90bfaf908a64cb742421fe9d80d2cbf870d41c27 | diff --git a/scanner.go b/scanner.go
index <HASH>..<HASH> 100644
--- a/scanner.go
+++ b/scanner.go
@@ -6,7 +6,6 @@ import (
"errors"
"fmt"
"io"
- "os"
"strings"
)
@@ -560,6 +559,3 @@ func assert(condition bool, msg string, v ...interface{}) {
panic(fmt.Sprintf("assert failed: "+msg, v...))
}
}
-
-func ... | Multi-node clustering.
This commit adds the ability to cluster multiple nodes together to share
the same metadata through raft consensus. | influxdata_influxql | train | go |
e8f0d1806467edf70aea98df1a6f6716a2dc3cbb | diff --git a/full_conversation_test.go b/full_conversation_test.go
index <HASH>..<HASH> 100644
--- a/full_conversation_test.go
+++ b/full_conversation_test.go
@@ -139,8 +139,6 @@ func Test_AKE_withVersion3ButWithoutVersion2InThePolicy(t *testing.T) {
assertEquals(t, err, nil)
assertEquals(t, bob.ake.state, authStat... | Solved by d7d<I> | coyim_otr3 | train | go |
766028ff3535a27ae9358710b4f8e7215c975543 | diff --git a/src/Platform/OrchidServiceProvider.php b/src/Platform/OrchidServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Platform/OrchidServiceProvider.php
+++ b/src/Platform/OrchidServiceProvider.php
@@ -17,16 +17,19 @@ abstract class OrchidServiceProvider extends ServiceProvider
public function boot(Da... | Fix the menu state while using laravel octane (#<I>) | orchidsoftware_platform | train | php |
570ba034e522e0a94a8f2e5483f5eaa9939354d4 | diff --git a/src/Work/Application.php b/src/Work/Application.php
index <HASH>..<HASH> 100644
--- a/src/Work/Application.php
+++ b/src/Work/Application.php
@@ -29,7 +29,7 @@ use EasyWeChat\Work\MiniProgram\Application as MiniProgram;
* @property \EasyWeChat\Work\Message\Messenger $messenger
* @propert... | Fix work server annotation (#<I>) | overtrue_wechat | train | php |
65394604a751ccfdc8124f1f29b85a33a3d1b217 | diff --git a/cake/libs/view/helpers/paginator.php b/cake/libs/view/helpers/paginator.php
index <HASH>..<HASH> 100644
--- a/cake/libs/view/helpers/paginator.php
+++ b/cake/libs/view/helpers/paginator.php
@@ -252,6 +252,10 @@ class PaginatorHelper extends AppHelper {
* @return string A "previous" link or $disabledTitle... | Give PaginatorHelper's next/prev links the correct 'rel' attribute
It's a good idea to give links such as next/prev the 'rel' attribute.
See the following pages for more information:
<URL> | cakephp_cakephp | train | php |
bf86d9196819264110f6b469e0c7a4886b0477fd | diff --git a/public/lib/main.js b/public/lib/main.js
index <HASH>..<HASH> 100644
--- a/public/lib/main.js
+++ b/public/lib/main.js
@@ -21,17 +21,22 @@
});
socket.on('event:new_notification', function(data) {
- if (!data || !data.text) {
+ if (!data) {
return;
}
-
- translator.translate(data.tex... | data.text is deprecated | psychobunny_nodebb-plugin-desktop-notifications | train | js |
5f63635eaac81e63e91c99802b0c025980e53f9f | diff --git a/loader.js b/loader.js
index <HASH>..<HASH> 100644
--- a/loader.js
+++ b/loader.js
@@ -1,6 +1,6 @@
var crypto = require('crypto');
var container = {};
-
+var _ = require('underscore');
var generateUniqueName = function(func) {
var string = func;
@@ -12,6 +12,16 @@ var generateUniqueName = functi... | Making the loader support objects with functions. | ballantyne_node-paperclip | train | js |
d489157f224bf5e5b20ad0f9c15eb5f42654aefc | diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py
index <HASH>..<HASH> 100644
--- a/pyrogram/__init__.py
+++ b/pyrogram/__init__.py
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
-__version__ =... | Update Pyrogram to <I> | pyrogram_pyrogram | train | py |
6c1b3a71db5dd110506fe24151ab3201da5f21f7 | diff --git a/raft/raft.go b/raft/raft.go
index <HASH>..<HASH> 100644
--- a/raft/raft.go
+++ b/raft/raft.go
@@ -66,15 +66,16 @@ type Config struct {
// peer is private and only used for testing right now.
peers []uint64
- // ElectionTick is the election timeout. If a follower does not
- // receive any message from... | raft: clarify Heartbeat/ElectionTick comments
Avoid other, ambiguous interpretations. | etcd-io_etcd | train | go |
7ed62086b07a7569f8afec44e7e70ae704f1c04a | diff --git a/shorty/http.go b/shorty/http.go
index <HASH>..<HASH> 100644
--- a/shorty/http.go
+++ b/shorty/http.go
@@ -13,6 +13,7 @@ import (
"io/ioutil"
"net/http"
"net/url"
+ "os"
"strings"
"text/template"
"time"
@@ -868,6 +869,7 @@ func (this *ShortyEndPoint) CheckAppInstallInterstitialJSHandler(resp htt... | bad hack to dump out js | qorio_omni | train | go |
4cf9facf12e398000539e6e2d8e9256cf4669f25 | diff --git a/safe/utilities/test/test_keyword_io.py b/safe/utilities/test/test_keyword_io.py
index <HASH>..<HASH> 100644
--- a/safe/utilities/test/test_keyword_io.py
+++ b/safe/utilities/test/test_keyword_io.py
@@ -45,9 +45,8 @@ class KeywordIOTest(unittest.TestCase):
self.sqlite_layer = QgsVectorLayer(
... | Update expected value to make test pass. | inasafe_inasafe | train | py |
dd56dc7da6970dbfff634b4115973ad278ab19d6 | diff --git a/test/models/trackable_test.rb b/test/models/trackable_test.rb
index <HASH>..<HASH> 100644
--- a/test/models/trackable_test.rb
+++ b/test/models/trackable_test.rb
@@ -10,4 +10,32 @@ class TrackableTest < ActiveSupport::TestCase
:sign_in_count
]
end
+
+ test 'update_tracked_fields should only... | added test for update_tracked_fields method | plataformatec_devise | train | rb |
d7fe462d05ce007d80533202fc72145885e405af | diff --git a/lib/components/src/addon_panel/index.js b/lib/components/src/addon_panel/index.js
index <HASH>..<HASH> 100644
--- a/lib/components/src/addon_panel/index.js
+++ b/lib/components/src/addon_panel/index.js
@@ -21,7 +21,6 @@ const Wrapper = glamorous.div({
background: 'white',
borderRadius: 4,
border: ... | FIX a minor alignment issue | storybooks_storybook | train | js,js |
8847d9e98e88acc0e0fa65b558ecf5f7392a4e4f | diff --git a/gatt/gatt.py b/gatt/gatt.py
index <HASH>..<HASH> 100644
--- a/gatt/gatt.py
+++ b/gatt/gatt.py
@@ -1,5 +1,13 @@
-import dbus
-import dbus.mainloop.glib
+try:
+ import dbus
+ import dbus.mainloop.glib
+except ImportError:
+ import sys
+ print("Module 'dbus' not found")
+ print("Please run: sud... | Print error when module ‘dbus’ is not installed | getsenic_gatt-python | train | py |
217f144d25f7670df23163397df4ce3e25a4c54c | diff --git a/commands.go b/commands.go
index <HASH>..<HASH> 100644
--- a/commands.go
+++ b/commands.go
@@ -257,7 +257,7 @@ var Commands = []cli.Command{
},
Name: "rm",
Usage: "Remove a machine",
- Description: "Argument(s) are one or more machine names. Will use the active machine if none is prov... | corrects the rm command line description | docker_machine | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.