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
74a199d3c3d8ea06e714fd6cb56e5d95cb39713c
diff --git a/js/gateio.js b/js/gateio.js index <HASH>..<HASH> 100755 --- a/js/gateio.js +++ b/js/gateio.js @@ -2641,7 +2641,7 @@ module.exports = class gateio extends Exchange { request['limit'] = limit; } if (since !== undefined && (market['spot'] || market['margin'])) { - req...
fix: request 'start' should be 'from' in gateio
ccxt_ccxt
train
js
588fe7a335e3ebb2aeb6836eb05377e2a58a5cc4
diff --git a/spec/integration/server_description_spec.rb b/spec/integration/server_description_spec.rb index <HASH>..<HASH> 100644 --- a/spec/integration/server_description_spec.rb +++ b/spec/integration/server_description_spec.rb @@ -35,7 +35,7 @@ describe 'Server description' do end let(:client) { ClientR...
Read description from primary because that is where the commands are going (#<I>)
mongodb_mongo-ruby-driver
train
rb
32b4bdc2b7528e48c3ea93af70be10d872fe0af6
diff --git a/src/main/java/com/tulskiy/keymaster/ProviderTest.java b/src/main/java/com/tulskiy/keymaster/ProviderTest.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/tulskiy/keymaster/ProviderTest.java +++ b/src/main/java/com/tulskiy/keymaster/ProviderTest.java @@ -36,12 +36,8 @@ public class ProviderTest { ...
[provider test] no need forSwingUtilities here anymore
tulskiy_jkeymaster
train
java
a2fabd2c901bbee3bc6bc7ee575c45b08f688b9e
diff --git a/examples/RL_arm/params.py b/examples/RL_arm/params.py index <HASH>..<HASH> 100644 --- a/examples/RL_arm/params.py +++ b/examples/RL_arm/params.py @@ -302,7 +302,7 @@ simConfig = {} # dictionary to store simConfig # Simulation parameters simConfig['duration'] = 1*1e3 # Duration of the simulation, in ms ...
First success Parameters and seeds that should correspond to a successful northern-target reach on Athena server with <I> cores.
Neurosim-lab_netpyne
train
py
3c0eb53f911b69cf2ad7bae4608cd73e61967f45
diff --git a/pkg/cmd/cli/cmd/login/logout.go b/pkg/cmd/cli/cmd/login/logout.go index <HASH>..<HASH> 100644 --- a/pkg/cmd/cli/cmd/login/logout.go +++ b/pkg/cmd/cli/cmd/login/logout.go @@ -125,12 +125,12 @@ func (o LogoutOptions) RunLogout() error { } if err := client.OAuthAccessTokens().Delete(token); err != nil {...
Removed line breaks in glog messages
openshift_origin
train
go
41805e4aaf6da9f10932cc360b9caeb8370747b8
diff --git a/pkg/nodeaddress/node_address.go b/pkg/nodeaddress/node_address.go index <HASH>..<HASH> 100644 --- a/pkg/nodeaddress/node_address.go +++ b/pkg/nodeaddress/node_address.go @@ -41,12 +41,13 @@ var ( ipv6AllocRange *net.IPNet ) -func makeIPv6HostIP(ip net.IP) net.IP { - // Derive prefix::1 as the IPv...
nodeaddress: Use a IPv6 site local address as host address This resolves an issue where running Cilium will configure a global scope address for the system which causes getaddrinfo() to start returning IPv6 addresses for DNS requests even though the system may not have actual IPv6 connectivity. Fixes: #<I>
cilium_cilium
train
go
6ee6bd1e6c82e302445f5a59558ee1c599d2ce40
diff --git a/test/unit/backends/test_printer.rb b/test/unit/backends/test_printer.rb index <HASH>..<HASH> 100644 --- a/test/unit/backends/test_printer.rb +++ b/test/unit/backends/test_printer.rb @@ -27,12 +27,10 @@ module SSHKit end def test_simple_printing - sio = StringIO.new - SSHKit.ca...
Update a test to use a String, no need for StringIO here
capistrano_sshkit
train
rb
ef2df3e6d38087ee7e1a752cd359740d5c28ff24
diff --git a/test/tools/javac/platform/PlatformProviderTest.java b/test/tools/javac/platform/PlatformProviderTest.java index <HASH>..<HASH> 100644 --- a/test/tools/javac/platform/PlatformProviderTest.java +++ b/test/tools/javac/platform/PlatformProviderTest.java @@ -88,6 +88,7 @@ public class PlatformProviderTest imple...
<I>: test writes file in test source directory Summary: Setting an explicit output directory for ToolBox.JavacTask in PlatformProviderTest. Reviewed-by: jjg
google_error-prone-javac
train
java
81e4970906659da73b6d819b3b63e3f0271ebd2b
diff --git a/src/ReactAdapter.php b/src/ReactAdapter.php index <HASH>..<HASH> 100644 --- a/src/ReactAdapter.php +++ b/src/ReactAdapter.php @@ -83,6 +83,7 @@ class ReactAdapter implements LoopInterface { $callback($timer); }); + $this->deferEnabling($watcher); $this->timers[spl_ob...
Enable timer watchers in next tick This 'fixes' the timing issues in tests. It might result in a very minor inconsistency in very edge cases.
amphp_react-adapter
train
php
be94090fa5c9984c0b936c595b73e215c95a4438
diff --git a/lib/haml/helpers/safe_erubis_template.rb b/lib/haml/helpers/safe_erubis_template.rb index <HASH>..<HASH> 100644 --- a/lib/haml/helpers/safe_erubis_template.rb +++ b/lib/haml/helpers/safe_erubis_template.rb @@ -10,11 +10,11 @@ module Haml end def precompiled_preamble(locals) - [super, "@out...
Explicitly join ambles in SafeErubisTemplate Previously Tilt used `join` to combine ambles and template, which flattened our arrays for us, but this changed in Tilt <I>. Return Strings from precompiled_preamble and precompiled_postamble. Fixes #<I>
haml_haml
train
rb
8f521d519fe0e8c5cc6f0f7ac410ba552c00d56c
diff --git a/google-cloud-vision/lib/google/cloud/vision/service.rb b/google-cloud-vision/lib/google/cloud/vision/service.rb index <HASH>..<HASH> 100644 --- a/google-cloud-vision/lib/google/cloud/vision/service.rb +++ b/google-cloud-vision/lib/google/cloud/vision/service.rb @@ -39,11 +39,13 @@ module Google en...
Require grpc where needed But not before it is needed... :)
googleapis_google-cloud-ruby
train
rb
f8ee292506be78bd7c19df97d6d5dc5b14243eee
diff --git a/benchbuild/experiment.py b/benchbuild/experiment.py index <HASH>..<HASH> 100644 --- a/benchbuild/experiment.py +++ b/benchbuild/experiment.py @@ -145,8 +145,7 @@ class Experiment(metaclass=ExperimentRegistry): prj_actions = [] for version in self.sample(prj_cls, prj_cls.versions...
project: set version at object construction Projects/Experiments use the attrs module for attribute management. Our use of this module initializes all attributes from default values at object construction. If an attribute is dependant on other attributes of the same class/object, we need to make sure to set the necess...
PolyJIT_benchbuild
train
py,py
b624f9cb21ff0b7aee260984aedeb8bd982ccd9d
diff --git a/test/test_subprocess.py b/test/test_subprocess.py index <HASH>..<HASH> 100644 --- a/test/test_subprocess.py +++ b/test/test_subprocess.py @@ -154,6 +154,9 @@ def test_popen(): assert popen.returncode == 0 + # close handles + popen.communicate() + # This *does* seem to work, only seems unt...
TST: close file handles in test
airspeed-velocity_asv
train
py
a96aebfb64cb7b59edfc56b1fb12197fb154d77a
diff --git a/lib/impressionist.rb b/lib/impressionist.rb index <HASH>..<HASH> 100644 --- a/lib/impressionist.rb +++ b/lib/impressionist.rb @@ -1,5 +1,4 @@ -IMPRESSIONIST_PATH = File.dirname(__FILE__) + "/impressionist" -require "#{IMPRESSIONIST_PATH}/engine.rb" +require "impressionist/engine.rb" module Impressionist...
Change the require so it is not dependent on File.dirname
charlotte-ruby_impressionist
train
rb
5cb6c2b583dfe77d05581ad0ae2647b79cf1796d
diff --git a/bcbio/pipeline/datadict.py b/bcbio/pipeline/datadict.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/datadict.py +++ b/bcbio/pipeline/datadict.py @@ -70,7 +70,7 @@ LOOKUPS = { "novel_isomir_counts": {"keys": ["novel_isomir_counts"]}, "combined_counts": {"keys": ["combined_counts"]}, "ann...
CWL: ensure genome_context is list for single item Handles cases like hg<I> where we only have one context file for post-validation stratification.
bcbio_bcbio-nextgen
train
py
9262ba0b71451c9d6d3d3759f6100601edff8395
diff --git a/src/Telegram/Types/CallbackQuery.php b/src/Telegram/Types/CallbackQuery.php index <HASH>..<HASH> 100644 --- a/src/Telegram/Types/CallbackQuery.php +++ b/src/Telegram/Types/CallbackQuery.php @@ -11,7 +11,7 @@ use unreal4u\TelegramAPI\Abstracts\TelegramTypes; * originated the query was attached to a messag...
Added support for new field in CallbackQuery
unreal4u_telegram-api
train
php
a97ad7ebbed093bcae65a4e9b35831368f33706e
diff --git a/pywb/warcserver/index/cdxobject.py b/pywb/warcserver/index/cdxobject.py index <HASH>..<HASH> 100644 --- a/pywb/warcserver/index/cdxobject.py +++ b/pywb/warcserver/index/cdxobject.py @@ -251,7 +251,11 @@ class CDXObject(OrderedDict): @classmethod def json_decode(cls, string): - return jso...
Ensure CDX status is a string (#<I>) If a CDXJ entry has a status that is an int that can cause problems in multiple places in pywb. This change ensures that int status lines are converted to str.
webrecorder_pywb
train
py
4127f6dc92715b87d14f50f84d3531f90d4dba2a
diff --git a/telehash.js b/telehash.js index <HASH>..<HASH> 100644 --- a/telehash.js +++ b/telehash.js @@ -529,8 +529,12 @@ exports.mesh = function(args, cbMesh) if(!see) pipe.send(link.x && link.x.handshake()); } - // whenever a pipe is seen after a sync, update it's timestamp and resort ...
addPipe signals to re-send a handshake for existing old ones
telehash_telehash-js
train
js
a974df379252ada2288a0d64210f6df6882a24c1
diff --git a/src/main/java/com/asana/resources/gen/ProjectsBase.java b/src/main/java/com/asana/resources/gen/ProjectsBase.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/asana/resources/gen/ProjectsBase.java +++ b/src/main/java/com/asana/resources/gen/ProjectsBase.java @@ -173,12 +173,12 @@ public class Projec...
Deploy from asana-api-meta <I>
Asana_java-asana
train
java
c8cc941f9314c37372de88ad44f2123f811fbb11
diff --git a/framework/assets/yii.validation.js b/framework/assets/yii.validation.js index <HASH>..<HASH> 100644 --- a/framework/assets/yii.validation.js +++ b/framework/assets/yii.validation.js @@ -292,16 +292,16 @@ yii.validation = (function ($) { valid = value !== compareValue; ...
do not extra convert to floats in CompareValidator client code
yiisoft_yii-core
train
js
d634ed3850ff1980f21590eee051d4428acf4601
diff --git a/pkg/kubelet/kubelet_node_status.go b/pkg/kubelet/kubelet_node_status.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/kubelet_node_status.go +++ b/pkg/kubelet/kubelet_node_status.go @@ -104,10 +104,6 @@ func (kl *Kubelet) tryRegisterWithAPIServer(node *v1.Node) bool { } originalNode := existingNode.D...
Removed unnecessary not nil check in node registration process
kubernetes_kubernetes
train
go
4f8d841d57a0015af48bf6451ad3342aa56b9559
diff --git a/src/Helper.php b/src/Helper.php index <HASH>..<HASH> 100644 --- a/src/Helper.php +++ b/src/Helper.php @@ -12,8 +12,6 @@ namespace hiqdev\composer\config; use Closure; use ReflectionFunction; -use yii\helpers\UnsetArrayValue; -use yii\helpers\ReplaceArrayValue; /** * Helper class. @@ -36,9 +34,9 @@...
Check both old & new Yii Array helpers classes Keeping old classnames during the transition, I'll send a new PR once the migration is completed
hiqdev_composer-config-plugin
train
php
93949dfd7ba5799044c8e44a59a8ec3194e690e5
diff --git a/lib/DocBlox/Abstract.php b/lib/DocBlox/Abstract.php index <HASH>..<HASH> 100644 --- a/lib/DocBlox/Abstract.php +++ b/lib/DocBlox/Abstract.php @@ -23,7 +23,7 @@ abstract class DocBlox_Abstract * * @var int */ - const VERSION = '0.8.5'; + const VERSION = '0.8.6'; /** * The logger used ...
Upped version number due to a working PEAR setup
phpDocumentor_phpDocumentor2
train
php
86c951a844ea90f7728f66e78a256b32c9679337
diff --git a/ternary/lines.py b/ternary/lines.py index <HASH>..<HASH> 100644 --- a/ternary/lines.py +++ b/ternary/lines.py @@ -313,7 +313,6 @@ def ticks(ax, scale, ticks=None, locations=None, multiple=1, axis='b', s = tick else: s = tick_formats['l'] % tick - s ...
Remove stray line in tick format handling
marcharper_python-ternary
train
py
313039c64b54f8b3c14289277b39a19579cc46d7
diff --git a/lib/params.js b/lib/params.js index <HASH>..<HASH> 100644 --- a/lib/params.js +++ b/lib/params.js @@ -33,11 +33,9 @@ function params(opts) { // get file's sitemap title function title(cb) { var val = '[error] current file ' + opts.__file + ' does not have title in the sitemap'; - _.keys(opts...
Simplify sitemap to use filename as key.
cliffano_ae86
train
js,js
d9423eb871c36632486792f7dd0b3b758dd8c68f
diff --git a/chef/spec/unit/knife/cookbook_delete_spec.rb b/chef/spec/unit/knife/cookbook_delete_spec.rb index <HASH>..<HASH> 100644 --- a/chef/spec/unit/knife/cookbook_delete_spec.rb +++ b/chef/spec/unit/knife/cookbook_delete_spec.rb @@ -25,6 +25,8 @@ describe Chef::Knife::CookbookDelete do @knife.cookbook_name =...
CHEF-<I>: Update spec for error output being on stderr
chef_chef
train
rb
aee33cde34a2afa305dbb3a6fc44cca27982a6a2
diff --git a/libs/Config.php b/libs/Config.php index <HASH>..<HASH> 100644 --- a/libs/Config.php +++ b/libs/Config.php @@ -191,7 +191,7 @@ class Config extends BaseConfig public function hasImage(): bool { - return $this->hasValue('image'); + return $this->hasValue('image') && !empty($this->ge...
Check if image is not just an empty string. #<I>
dauxio_daux.io
train
php
8e8430f234bbb8ff1018de5c4cae297ee0b155ce
diff --git a/autoflake.py b/autoflake.py index <HASH>..<HASH> 100644 --- a/autoflake.py +++ b/autoflake.py @@ -7,7 +7,7 @@ import os import tokenize -__version__ = '0.1.3' +__version__ = '0.1.4' PYFLAKES_BIN = 'pyflakes'
Increment patch version to <I>
myint_autoflake
train
py
f9bbe604ca9e31119756b8347f9aefb17e589e06
diff --git a/data/migrations/deb/1_0_96_to_1_0_97.py b/data/migrations/deb/1_0_96_to_1_0_97.py index <HASH>..<HASH> 100644 --- a/data/migrations/deb/1_0_96_to_1_0_97.py +++ b/data/migrations/deb/1_0_96_to_1_0_97.py @@ -185,5 +185,4 @@ def migrate_all(): subprocess.run(['chown', '-R', 'sovrin:sovrin', '/home/sovrin...
fix migration scripts (#<I>)
hyperledger_indy-node
train
py,py
fa8eb8bb036ca573a59809fda77b702b6e5d8c7c
diff --git a/src/Kodeine/Metable/Metable.php b/src/Kodeine/Metable/Metable.php index <HASH>..<HASH> 100644 --- a/src/Kodeine/Metable/Metable.php +++ b/src/Kodeine/Metable/Metable.php @@ -21,7 +21,7 @@ trait Metable */ public function scopeWhereMeta($query, $key, $value, $alias = null) { $alias = (empty( $alias ...
Prepend alias to key and value in scopeWhereMeta
kodeine_laravel-meta
train
php
1d4d061c6fed3dee1f89f2d65d0145b9b7b7dca5
diff --git a/web/concrete/models/permission/key.php b/web/concrete/models/permission/key.php index <HASH>..<HASH> 100644 --- a/web/concrete/models/permission/key.php +++ b/web/concrete/models/permission/key.php @@ -1,3 +1,3 @@ <? defined('C5_EXECUTE') or die("Access Denied."); -abstract class PermissionKey extends Co...
Fix upgrade fatal error due to PermissionKey defined as abstract class. This fix eliminates a fatal error on line <I> of "concrete/core/models/permission/key.php" when upgrading from <I>.x to <I>.x due to attempt to instantiate an abstract class. Former-commit-id: bbe7d<I>c8e<I>c3c<I>bfc<I>bb<I>fb4b5bc<I>fa
concrete5_concrete5
train
php
8c406f6fbe8c1ddb34756f05cd996e9646efa029
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index <HASH>..<HASH> 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -459,7 +459,7 @@ end module Devise DeviseController.class_eval do - +=begin def after_sign_out_path_for(resource_or_scope) ...
removed references to main_app in devise.rb, no longer needed as engine is no longer isolated engine.
wordjelly_Auth
train
rb
26c6e56f929142dad58a7f7131f42e778a11a696
diff --git a/liquibase-core/src/main/java/liquibase/datatype/core/UnknownType.java b/liquibase-core/src/main/java/liquibase/datatype/core/UnknownType.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/datatype/core/UnknownType.java +++ b/liquibase-core/src/main/java/liquibase/datatype/core/Un...
CORE-<I> MSSQL should not include parameters in SYSNAME data types
liquibase_liquibase
train
java
62eb8b3514cc3ea32319f5ce4f8776e2e475c9b8
diff --git a/tests/library/Phpass/HashTest.php b/tests/library/Phpass/HashTest.php index <HASH>..<HASH> 100644 --- a/tests/library/Phpass/HashTest.php +++ b/tests/library/Phpass/HashTest.php @@ -108,13 +108,13 @@ class HashTest extends \PHPUnit_Framework_TestCase $hash = new Hash; $passwordHash = $h...
Update hash test to reflect new bcrypt defaults.
rchouinard_phpass
train
php
261e6583799e729c89d67e9c8a34000c1bdcf0ad
diff --git a/wagtailmetadata/tags.py b/wagtailmetadata/tags.py index <HASH>..<HASH> 100644 --- a/wagtailmetadata/tags.py +++ b/wagtailmetadata/tags.py @@ -1,6 +1,8 @@ from django.template import TemplateSyntaxError from django.template.loader import render_to_string +from wagtail.core.models import Site + def ge...
fixes wagtail.Site instance retrieval makes it work with wagtail <I>
neon-jungle_wagtail-metadata
train
py
c1fdae0438063ffe7d34423db8fcbd6477ecea61
diff --git a/tests/e2e/pattern-lab-compiling.js b/tests/e2e/pattern-lab-compiling.js index <HASH>..<HASH> 100644 --- a/tests/e2e/pattern-lab-compiling.js +++ b/tests/e2e/pattern-lab-compiling.js @@ -75,7 +75,7 @@ module.exports = { 'Bolt Docs: Verify Docs Site Compiled + Deployed': function (browser) { browser ...
chore: revert updating nightwatch test selector -- stashing for a separate PR
bolt-design-system_bolt
train
js
f9879057a6d2f560affe5138f592bf84553d98bf
diff --git a/builtin_object.go b/builtin_object.go index <HASH>..<HASH> 100644 --- a/builtin_object.go +++ b/builtin_object.go @@ -16,7 +16,16 @@ func builtinObject(call FunctionCall) Value { return toValue(call.runtime.toObject(value)) } -func builtinNewObject(self *_object, _ Value, _ []Value) Value { +func buil...
Partially implement new Object(...)
robertkrimen_otto
train
go,go
c2fded53c774f73f1bfd3b7b2b4fcff6d3315360
diff --git a/zoort.py b/zoort.py index <HASH>..<HASH> 100644 --- a/zoort.py +++ b/zoort.py @@ -116,6 +116,7 @@ def encrypt_file(path, output): query = 'openssl aes-128-cbc -salt -in {0} -out {1} -k {2}' with hide('output'): local(query.format(path, output, PASSWORD_FILE)) + os.remove(path) ...
Add function for remove tar file if encrypt is activated.
yograterol_zoort
train
py
c5cc136e14dc5cf50e9b180c360cac0ad4c16d8d
diff --git a/backend/geomajas-api/src/main/java/org/geomajas/global/GeomajasException.java b/backend/geomajas-api/src/main/java/org/geomajas/global/GeomajasException.java index <HASH>..<HASH> 100644 --- a/backend/geomajas-api/src/main/java/org/geomajas/global/GeomajasException.java +++ b/backend/geomajas-api/src/main/j...
GBE-<I> avoid NPE when locale is null
geomajas_geomajas-project-client-gwt2
train
java
9bca933aeac2639c448641b8acf877d217ab4ee9
diff --git a/lib/multirepo/commands/checkout.rb b/lib/multirepo/commands/checkout.rb index <HASH>..<HASH> 100644 --- a/lib/multirepo/commands/checkout.rb +++ b/lib/multirepo/commands/checkout.rb @@ -12,6 +12,7 @@ module MultiRepo def run super + ensure_multirepo_initialized Console.log_ste...
Checkout ensure_multirepo_initialized.
fortinmike_git-multirepo
train
rb
8b3cbf7c71b0c634f37cc64ab1f932c7ae8aaff4
diff --git a/system/Router/Router.php b/system/Router/Router.php index <HASH>..<HASH> 100644 --- a/system/Router/Router.php +++ b/system/Router/Router.php @@ -469,7 +469,7 @@ class Router implements RouterInterface { $val = preg_replace('#^' . $key . '$#', $val, $uri); } - elseif (strpos($key, '/') !...
~ fix route bug -> replacing forward slashes was based on $from value instead of $to part
codeigniter4_CodeIgniter4
train
php
a42b3586a005a4bc691fa7bce71c82b0522921c4
diff --git a/lib/fastr/router.rb b/lib/fastr/router.rb index <HASH>..<HASH> 100644 --- a/lib/fastr/router.rb +++ b/lib/fastr/router.rb @@ -98,7 +98,7 @@ module Fastr route_info = {:regex => match[:regex], :args => arg, :vars => match[:vars], :hash => hash} # Add the HTTP methods for this route if ...
Fixed bug in router if there are no options.
chrismoos_fastr
train
rb
e38ef9352cd3c458dc64532a770c95dcb13e6fa3
diff --git a/test/perf/PerformanceReporter.js b/test/perf/PerformanceReporter.js index <HASH>..<HASH> 100644 --- a/test/perf/PerformanceReporter.js +++ b/test/perf/PerformanceReporter.js @@ -52,7 +52,7 @@ define(function (require, exports, module) { value = PerfUtils.getData(measure.id); ...
Show "(None)" in PerformanceReporter when measurement does not exist.
adobe_brackets
train
js
122422bc08ff24182ddfc7b7c73a7835f71b299d
diff --git a/salt/cloud/clouds/openstack.py b/salt/cloud/clouds/openstack.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/openstack.py +++ b/salt/cloud/clouds/openstack.py @@ -222,9 +222,9 @@ def __virtual__(): return False salt.utils.warn_until( - 'Carbon', + 'Oxygen', 'Th...
Bump openstack deprecation notice to Oxygen (#<I>) I spoke with @gtmanfred and this isn't ready to be removed just yet, so we're bumping the removal to Oxygen.
saltstack_salt
train
py
1be26225549d4b211fe7935d3e36c3b78d8f985d
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -1,9 +1,9 @@ var noop = function(){}; var defaults = require('lodash.defaults'); -var isEmpty = require('lodash.isEmpty'); -var isFunction = require('lodash.isFunction'); -var isArray = require('lodash.isArra...
Fix: module resolution breaks in electron or asar if the module name doesn't match exactly -- they're case sensitive.
mixmaxhq_electron-editor-context-menu
train
js
6b1b23391f376ea1373ebae96c8f5e955531bcdd
diff --git a/hazelcast/src/main/java/com/hazelcast/map/ReachedMaxSizeException.java b/hazelcast/src/main/java/com/hazelcast/map/ReachedMaxSizeException.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/map/ReachedMaxSizeException.java +++ b/hazelcast/src/main/java/com/hazelcast/map/ReachedMax...
Fixed left-over, ReachedMaxsizeException is thrown when write-coalescing is set to false
hazelcast_hazelcast
train
java
a402f6e6db699b5e4540820f1880a9ba698de255
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -34,6 +34,10 @@ function BrotliFilter(inputNode, options) { options.appendSuffix : true); + // Default file encoding is raw to handle binary files + this.inputEncodin...
Use raw encoding by default to handle binary files
myfreeweb_broccoli-brotli
train
js
02bb9f66a5c4de676b224b030b665d1077cea1cf
diff --git a/test/Document.js b/test/Document.js index <HASH>..<HASH> 100644 --- a/test/Document.js +++ b/test/Document.js @@ -120,7 +120,7 @@ describe("Document", () => { it("Should save to correct table with multiple models", async () => { const date = Date.now(); - const Robot = new Model("Robot", {...
Using number for test instead of date
dynamoosejs_dynamoose
train
js
e4b4131a952b99606905480c9c9d10956cb3b720
diff --git a/src/test/java/io/javalin/TestUtil.java b/src/test/java/io/javalin/TestUtil.java index <HASH>..<HASH> 100644 --- a/src/test/java/io/javalin/TestUtil.java +++ b/src/test/java/io/javalin/TestUtil.java @@ -23,6 +23,7 @@ public class TestUtil { public static void test(Javalin javalin, ThrowingBiConsumer<Ja...
[tests] Re-enable logger in case of failed assertions
tipsy_javalin
train
java
1c723055b395fa477c1940c9842a36db17b861b2
diff --git a/statsd/buffered.go b/statsd/buffered.go index <HASH>..<HASH> 100644 --- a/statsd/buffered.go +++ b/statsd/buffered.go @@ -31,7 +31,9 @@ func (s *BufferedSender) Start() { for { select { case <-ticker.C: - s.flush() + if s.buffer.Len() > 0 { + s.flush() + } case req := <-s.reqs: // S...
minor optimization: call flush() only if buffer is not empty
cactus_go-statsd-client
train
go
e5e1e24079072ad8f58292caead669b02e6362a1
diff --git a/tests/functional_tests/expected_values/bitly.py b/tests/functional_tests/expected_values/bitly.py index <HASH>..<HASH> 100644 --- a/tests/functional_tests/expected_values/bitly.py +++ b/tests/functional_tests/expected_values/bitly.py @@ -25,7 +25,7 @@ CONFIG = { 'user': { 'id': conf.user_id, ...
The user_username expected value of the Bitly provider changed to user_name.
authomatic_authomatic
train
py
b7d9348846b62abbb5da55f47ea48540ae16f0a8
diff --git a/yolapi.js b/yolapi.js index <HASH>..<HASH> 100644 --- a/yolapi.js +++ b/yolapi.js @@ -67,6 +67,15 @@ function doQuery(session, data, callback) { }); } +function doMetadata(session, data, callback) { + request + .post(session.parameters.url + '/' + session.id + '/metadata') + ....
Added support for the metadata endpoint.
Holdy_yolapi
train
js
639a68d2aee94a83641491becabf0e5aa39aee96
diff --git a/util/feeding.py b/util/feeding.py index <HASH>..<HASH> 100644 --- a/util/feeding.py +++ b/util/feeding.py @@ -31,8 +31,13 @@ def read_csvs(csv_files): def samples_to_mfccs(samples, sample_rate, train_phase=False, wav_filename=None): - if train_phase and sample_rate != FLAGS.audio_sample_rate: - ...
Ensure sample rate comparison with proper types Fixes #<I>
mozilla_DeepSpeech
train
py
8afedad88f93be38eed75f5ce5dd94def477c8ea
diff --git a/lib/octokit/default.rb b/lib/octokit/default.rb index <HASH>..<HASH> 100644 --- a/lib/octokit/default.rb +++ b/lib/octokit/default.rb @@ -1,4 +1,5 @@ require 'octokit/response/raise_error' +require 'octokit/version' module Octokit
Require version for Defaults
octokit_octokit.rb
train
rb
f549f4186be72384b53345debba9a1a09bda6820
diff --git a/src/main/java/com/sdl/selenium/extjs6/form/TagField.java b/src/main/java/com/sdl/selenium/extjs6/form/TagField.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/sdl/selenium/extjs6/form/TagField.java +++ b/src/main/java/com/sdl/selenium/extjs6/form/TagField.java @@ -4,6 +4,7 @@ import com.sdl.seleni...
improvement doRemove in TagField
sdl_Testy
train
java
e4af4266555caecf9d3e993717f29a840f1048cb
diff --git a/lib/notify_on/notify_on.rb b/lib/notify_on/notify_on.rb index <HASH>..<HASH> 100644 --- a/lib/notify_on/notify_on.rb +++ b/lib/notify_on/notify_on.rb @@ -17,11 +17,17 @@ class << ActiveRecord::Base method_to_s = NotifyOn::Utilities.callback_method_name(action, options) method_sym = method_to_s.to...
Added 'update' as a possible action. - Total list is now create, update, save. - Aligned them with the rails active_record callbacks :after_create, :after_update, :after_save Fixes #<I>
BrilliantChemistry_NotifyOn
train
rb
f317f13989277dd842ded8a4f6e39dad6b5c0be8
diff --git a/lib/win32/certstore/store_base.rb b/lib/win32/certstore/store_base.rb index <HASH>..<HASH> 100644 --- a/lib/win32/certstore/store_base.rb +++ b/lib/win32/certstore/store_base.rb @@ -96,6 +96,7 @@ module Win32 validate_thumbprint(certificate_thumbprint) thumbprint = update_thumbprint(certi...
Redirect for when the cert is not found.
chef_win32-certstore
train
rb
a8091ab5f2a9e46fcd2d2767f0fe9550aea019d7
diff --git a/simra/database_test.go b/simra/database_test.go index <HASH>..<HASH> 100644 --- a/simra/database_test.go +++ b/simra/database_test.go @@ -6,6 +6,8 @@ import ( "os" "path/filepath" "testing" + + "github.com/pankona/gomo-simra/simra/database" ) type mock struct { @@ -62,7 +64,7 @@ func TestBolt(t *...
[#<I>] fix build failure
pankona_gomo-simra
train
go
31dd5ad880c13e573bbd7e2c04323a176c886e33
diff --git a/script/update_doc.rb b/script/update_doc.rb index <HASH>..<HASH> 100755 --- a/script/update_doc.rb +++ b/script/update_doc.rb @@ -24,6 +24,12 @@ unless File.exist? "#{root}/yardoc/.git" end end +Dir.chdir "#{root}/yardoc" do + cmd 'git checkout gh-pages' + cmd 'git fetch origin' + cmd 'git reset -...
Fix script/update_doc.rb It was reseting the changes generated by yard doc
Katello_katello
train
rb
d09eaad2748be3a8e95a15944c15907b015ed226
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,7 @@ setup( 'numpy', 'scipy', 'shapely', - 'psutil >= 0.4.1, < 2.2.0', + 'psutil >= 0.4.1, < 3.0.0', 'decorator', ], ext_modules=[geodetic_speedups, geoutil...
setup.py: psutil <I>.* works and is needed now
gem_oq-engine
train
py
2cf8fad9dc7756ab725fd18bc6fb0252381daa46
diff --git a/libs/auth.js b/libs/auth.js index <HASH>..<HASH> 100644 --- a/libs/auth.js +++ b/libs/auth.js @@ -74,8 +74,8 @@ const resolveVariables = (options = {}) => { const wskprops = readWskProps() || {} const variables = {} - variables.auth = options.auth || wskprops.AUTH - variables.apihost = op...
allow auth from system env.
lionelvillard_openwhisk-project
train
js
7edb4a9e44bcd768582613769fd2eada4acbf4eb
diff --git a/fluent_contents/management/commands/remove_stale_contentitems.py b/fluent_contents/management/commands/remove_stale_contentitems.py index <HASH>..<HASH> 100644 --- a/fluent_contents/management/commands/remove_stale_contentitems.py +++ b/fluent_contents/management/commands/remove_stale_contentitems.py @@ -9...
Fix `remove_stale_contentitems` when when a parent type is also removed
django-fluent_django-fluent-contents
train
py
98e5006ecfefe7c1b1ab10c9e9e906407101ded1
diff --git a/pkg/helm/client.go b/pkg/helm/client.go index <HASH>..<HASH> 100644 --- a/pkg/helm/client.go +++ b/pkg/helm/client.go @@ -30,6 +30,10 @@ import ( rls "k8s.io/helm/pkg/proto/hapi/services" ) +// maxMsgSize use 20MB as the default message size limit. +// grpc library default is 4MB +const maxMsgSize = 1...
Bump client side grpc max msg size Set it to match the server side, or the default limit of 4MB will still apply when upgrading charts. Fixes #<I>
helm_helm
train
go,go
16ba555900db07b6d4310db2bb62b7caaad445bd
diff --git a/ipa/ipa_utils.py b/ipa/ipa_utils.py index <HASH>..<HASH> 100644 --- a/ipa/ipa_utils.py +++ b/ipa/ipa_utils.py @@ -47,9 +47,14 @@ CLIENT_CACHE = {} def clear_cache(ip=None): """Clear the client cache or remove key matching the given ip.""" if ip: - with ignored(KeyError): + with ign...
Explicitly close SSH clients. Before references are dropped to open clients. Should not rely on garbage collection. <URL>
SUSE-Enceladus_ipa
train
py
cd8c27cf7cf14665cac62916b593045f135621a9
diff --git a/src/Command/Project/ProjectCreateCommand.php b/src/Command/Project/ProjectCreateCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/Project/ProjectCreateCommand.php +++ b/src/Command/Project/ProjectCreateCommand.php @@ -112,7 +112,7 @@ EOF $estimate = $this->api() ->getClient(...
Fix storage cost estimate in 'create' command The API now validates the 'storage' parameter and the wrong value was being sent, causing an error message: "The storage needs to be divisible by <I>".
platformsh_platformsh-cli
train
php
52fd80576143c0cc1758a02b32bcc0eae8e673a7
diff --git a/test/rules/no-angular-classes.js b/test/rules/no-angular-classes.js index <HASH>..<HASH> 100644 --- a/test/rules/no-angular-classes.js +++ b/test/rules/no-angular-classes.js @@ -17,7 +17,11 @@ eslintTester.run('no-angular-classes', rule, { '$$(".myotherclass.myclass");', '$("input.myclass");', ...
test(rules): add a test for 'no-angular-classes' rule for the no arguments case
alecxe_eslint-plugin-protractor
train
js
bf23825ee7e76b9b59a47da87f87135c6a34a528
diff --git a/test/discovery.js b/test/discovery.js index <HASH>..<HASH> 100644 --- a/test/discovery.js +++ b/test/discovery.js @@ -43,7 +43,6 @@ const cryptoWorkerFactory = () => { if (typeof Worker === 'undefined') { const TinyWorker = require('tiny-worker'); return new TinyWorker(() => { - ...
Trying to remove babel-register
trezor_hd-wallet
train
js
37fc6851a13b136f24983c42f23d62ce13ad0e6d
diff --git a/test/Ardent/LinkedStackTest.php b/test/Ardent/LinkedStackTest.php index <HASH>..<HASH> 100644 --- a/test/Ardent/LinkedStackTest.php +++ b/test/Ardent/LinkedStackTest.php @@ -135,4 +135,17 @@ class LinkedStackTest extends \PHPUnit_Framework_TestCase { } + function testSkip() { + $stack = ...
Added test to make sure `skip` works properly on a LinkedStack.
morrisonlevi_Ardent
train
php
60a7329937ae351f1d7c3beaa517845a0900314b
diff --git a/ldapcherry/backend/backendLdap.py b/ldapcherry/backend/backendLdap.py index <HASH>..<HASH> 100644 --- a/ldapcherry/backend/backendLdap.py +++ b/ldapcherry/backend/backendLdap.py @@ -248,9 +248,9 @@ class Backend(ldapcherry.backend.Backend): ldap_client.unbind_s() - def add_to_group(self, us...
fix API for backend ldap on groups handling
kakwa_ldapcherry
train
py
0106a22656d5a57a586f7b2bee4a108988f99ea8
diff --git a/tests/unit/test-jcanvas-units.js b/tests/unit/test-jcanvas-units.js index <HASH>..<HASH> 100644 --- a/tests/unit/test-jcanvas-units.js +++ b/tests/unit/test-jcanvas-units.js @@ -75,7 +75,6 @@ function animateLayerGroup_circleRect(canvasName, msecShift, afterFn) { .addLayer({method: "drawArc", fillStyle: ...
DKS - removed unneeded drawLayers call
caleb531_jcanvas
train
js
a0a64b9d926d272a29b45d05b9fac2681b9d5451
diff --git a/core/src/main/java/lucee/runtime/exp/FunctionNotSupported.java b/core/src/main/java/lucee/runtime/exp/FunctionNotSupported.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/lucee/runtime/exp/FunctionNotSupported.java +++ b/core/src/main/java/lucee/runtime/exp/FunctionNotSupported.java @@ -21,11 +21...
update is not supported error to match convention
lucee_Lucee
train
java
5930b365ac61d9f6ffa79039bbd4c4e3d697117a
diff --git a/src/Api/Request.php b/src/Api/Request.php index <HASH>..<HASH> 100644 --- a/src/Api/Request.php +++ b/src/Api/Request.php @@ -249,6 +249,8 @@ class Request { $request = self::createRequestData(['options' => $data], $bookmarks); + print_r($request); + die(); return Url...
upd: Request::createQuery refactoring
seregazhuk_php-pinterest-bot
train
php,php
68d09cb9628f51cda35cec5f25f6980b3fc1774d
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -176,6 +176,8 @@ Plotly.prototype.getFigure = function (fileOwner, fileId, callback) { Plotly.prototype.saveImage = function (figure, path, callback) { var self = this; + callback = callback || function() {}; + figur...
Fix broken callback in saveImage saveImage only calls the callback method under error conditions. Fixed so that it also calls it when saveImage successfully writes the image file to disk. Callback was not being checked for presence, so if it wasn't passed in an exception would be thrown. Fixed to provide a dummy cal...
plotly_plotly-nodejs
train
js
6ce75f80f557d80dc70d02a8dea3f169e1183384
diff --git a/pywb/webapp/replay_views.py b/pywb/webapp/replay_views.py index <HASH>..<HASH> 100644 --- a/pywb/webapp/replay_views.py +++ b/pywb/webapp/replay_views.py @@ -148,8 +148,8 @@ class ReplayView(object): if redir_response: return redir_response - length = status_headers.get_heade...
replay: remove restricting to provided http Content-Length (in addition to record content-length) as it may be incorrect for variety of reasons
webrecorder_pywb
train
py
532c35be17583e85fb3e2955d80777337e0f8a99
diff --git a/lib/Alchemy/Phrasea/Controller/Prod/Push.php b/lib/Alchemy/Phrasea/Controller/Prod/Push.php index <HASH>..<HASH> 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/Push.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/Push.php @@ -344,7 +344,7 @@ class Push implements ControllerProviderInterface $V...
add validation session creator as a participant of the session
alchemy-fr_Phraseanet
train
php
aa363f7bd37769dae0e1c3c70fcd64e165700946
diff --git a/z3/pput.py b/z3/pput.py index <HASH>..<HASH> 100644 --- a/z3/pput.py +++ b/z3/pput.py @@ -332,8 +332,12 @@ def main(): if 'HOST' in CFG: extra_config['host'] = CFG['HOST'] - bucket = boto.connect_s3( - CFG['S3_KEY_ID'], CFG['S3_SECRET'], **extra_config).get_bucket(CFG['BUCKET']) +...
Update pput.py add IAM roles support for pput, snap and get
presslabs_z3
train
py
a40d7632f856a78ff78c0428075c78f90af67a68
diff --git a/src/repository.js b/src/repository.js index <HASH>..<HASH> 100644 --- a/src/repository.js +++ b/src/repository.js @@ -1,5 +1,6 @@ import {inject} from 'aurelia-dependency-injection'; import {Config} from 'spoonx/aurelia-api'; +import typer from 'typer'; @inject(Config) export class Repository { @@ -1...
feat(repository): Cast values if they have type decorators
SpoonX_aurelia-orm
train
js
68ac5a2c4f33f28dced96c3221c4218043b449b4
diff --git a/lib/square.js b/lib/square.js index <HASH>..<HASH> 100644 --- a/lib/square.js +++ b/lib/square.js @@ -586,10 +586,18 @@ Square.prototype.files = function files(cb) { */ Square.prototype.preprocess = function preprocessor(bundle, details, fn) { var meta = bundle.meta - , config = bundle['pre:' + me...
[fix] be lenient in paths
observing_square
train
js
c4fbd257a3b78be1f49fd523d8e7cec73b697bf7
diff --git a/Controller/Crud/Listener/ApiListener.php b/Controller/Crud/Listener/ApiListener.php index <HASH>..<HASH> 100644 --- a/Controller/Crud/Listener/ApiListener.php +++ b/Controller/Crud/Listener/ApiListener.php @@ -184,14 +184,13 @@ class ApiListener extends CrudListener { // Copy the _serialize configuratio...
Move success to top of serialize array
FriendsOfCake_crud-json-api
train
php
f34d29bb6585a948f226bff5e80074099ec1b1dc
diff --git a/graphistry/vgraph.py b/graphistry/vgraph.py index <HASH>..<HASH> 100644 --- a/graphistry/vgraph.py +++ b/graphistry/vgraph.py @@ -113,18 +113,12 @@ def storeValueVector(vg, df, col, dtype, target): return info -def unicodeEncode(someString): - try: - return unicode(someString, 'utf-8') -...
Further/recommended fix per pandas: use astype('unicode') which avoids constructor dependency.
graphistry_pygraphistry
train
py
84eb0a3e147f41f048d5bed712ef13a73f91e5a1
diff --git a/user/index.php b/user/index.php index <HASH>..<HASH> 100644 --- a/user/index.php +++ b/user/index.php @@ -442,13 +442,16 @@ if ($bulkoperations) { echo '</div>'; // Userlist. $enrolrenderer = $PAGE->get_renderer('core_enrol'); -echo '<div class="float-right">'; // Need to re-generate the buttons to a...
MDL-<I> user: Wrap bottom enrol buttons like top The div wrapping the enrolment buttons has been updated in MDL-<I> to use a flexbox grid. It was also updated to add a data- attribute relating to the participants table id. The bottom enrol button line should have been updated in the same way.
moodle_moodle
train
php
39cad925b8f0d4f4ed5a8aa871e686907935cd5a
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -312,7 +312,7 @@ const HashedFolder = function HashedFolder(name, children, options, isRootElemen }; HashedFolder.prototype.toString = function (padding = '') { - const first = `${padding}{ name: '${this.name}', hash: '...
Fix comma position in hashfolder.toString (#<I>)
marc136_node-folder-hash
train
js
73fe9c9915522f60c1b34617ff6b00e280b4825c
diff --git a/test/e2e/network/network_policy.go b/test/e2e/network/network_policy.go index <HASH>..<HASH> 100644 --- a/test/e2e/network/network_policy.go +++ b/test/e2e/network/network_policy.go @@ -1829,7 +1829,7 @@ func collectPodsAndNetworkPolicies(f *framework.Framework, podClient *v1.Pod) ([ logs, logErr = e2ep...
Avoid early exit when collecting post-E2E failure logs. collectPodsAndNetworkPolicies() is called to collect diagnostics after a failure. Previously, if it encountered a failure in getting the logs it would call Failf(), discarding the rest of the diagnostics immediately.
kubernetes_kubernetes
train
go
a63188351866b3904c65977c7566c3b63d9298e7
diff --git a/lib/roar/decorator.rb b/lib/roar/decorator.rb index <HASH>..<HASH> 100644 --- a/lib/roar/decorator.rb +++ b/lib/roar/decorator.rb @@ -1 +1,3 @@ -Roar::Decorator = Representable::Decorator +class Roar::Decorator < Representable::Decorator + extend Roar::Representer::InheritableArray +end \ No newline at en...
derive Decorator from Representable::Decorator and include InheritableArray support.
trailblazer_roar
train
rb
243d8e0d523e4f060a7c2cf1ce7b8135bdcefaf1
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', + 'License :: OSI Approved :: MIT Licens...
fix license declaration in setup.py
miguelgrinberg_Flask-Moment
train
py
cf390090762ba4588b7cebc2dabb8a7b332e49d7
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -68,7 +68,7 @@ class Bugspots { } async _paginate(method, param) { - let response = await method({...param, per_page: 100}); + let response = await method(Object.assign(param, {per_page: 100})); let {data}...
fix: Not spread operator but Object.assign because of not supporting in <I>.
aha-oretama_github-bugspots
train
js
8e25633517d2e92ac5210d5c0c5566f646eacab3
diff --git a/lib/dm-ar-finders.rb b/lib/dm-ar-finders.rb index <HASH>..<HASH> 100644 --- a/lib/dm-ar-finders.rb +++ b/lib/dm-ar-finders.rb @@ -1,5 +1,5 @@ require 'rubygems' -gem 'dm-core', '~>0.9.11' +gem 'dm-core', '>=0.10.0' require 'dm-core' module DataMapper
updated dm-core dependency to <I> and fixed dm-adjust for <I>
datamapper_dm-ar-finders
train
rb
79a342f3848777bc902c2e9be4a752a9551a5171
diff --git a/build_config.php b/build_config.php index <HASH>..<HASH> 100644 --- a/build_config.php +++ b/build_config.php @@ -2,7 +2,7 @@ $buildConfig = array ( 'major' => 2, 'minor' => 9, - 'build' => 65, + 'build' => 66, 'shopgate_library_path' => '', 'plugin_name' => 'library', 'display_name' => '...
Increased Shopgate Library <I>.x to version <I>.
shopgate_cart-integration-sdk
train
php,php
88f31994f8df38a6b884e9a31131eb37b8e1ede6
diff --git a/lib/chef_fs/file_pattern.rb b/lib/chef_fs/file_pattern.rb index <HASH>..<HASH> 100644 --- a/lib/chef_fs/file_pattern.rb +++ b/lib/chef_fs/file_pattern.rb @@ -189,6 +189,7 @@ module ChefFS @regexp_parts.pop @exact_parts.pop end + next ...
Don't preserve .. when we eat the parent directory
jkeiser_knife-essentials
train
rb
3df767ae8880fee105b0c17812ccecc9918acdea
diff --git a/lib/discordrb/commands/rate_limiter.rb b/lib/discordrb/commands/rate_limiter.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/commands/rate_limiter.rb +++ b/lib/discordrb/commands/rate_limiter.rb @@ -119,7 +119,7 @@ module Discordrb::Commands # Adds all the buckets from another RateLimiter onto this...
Make sure include! also works if the included container has no buckets
meew0_discordrb
train
rb
f85f71cb30a4c9769cc23cb5afdcb8418e8c8225
diff --git a/src/Schema/Discount/CouponRestricted.js b/src/Schema/Discount/CouponRestricted.js index <HASH>..<HASH> 100644 --- a/src/Schema/Discount/CouponRestricted.js +++ b/src/Schema/Discount/CouponRestricted.js @@ -16,7 +16,6 @@ const DiscountCouponRestricted = new Schema( }, customerId: { ...
:bug: Fix legacy DiscountCouponRestricted Allow legacy DiscountCouponRestricted to work. They've been created without customerId so we need to remove the required part here
enhancv_mongoose-subscriptions
train
js
b97936e2e68edf5060163b66fa1bb21b2460d11b
diff --git a/src/python/pants/backend/python/subsystems/poetry.py b/src/python/pants/backend/python/subsystems/poetry.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/python/subsystems/poetry.py +++ b/src/python/pants/backend/python/subsystems/poetry.py @@ -24,7 +24,7 @@ class PoetrySubsystem(PythonToolReq...
Fix poetry locks missing hashes. (#<I>) This was due to this change on PyPI: <URL>
pantsbuild_pants
train
py
25e3387ece5dbf4ab2b5a1aeb1a162153477c1db
diff --git a/view.js b/view.js index <HASH>..<HASH> 100644 --- a/view.js +++ b/view.js @@ -196,7 +196,7 @@ var View = Backbone.View.extend({ }, _attach: function () { - this.views = createViews.call(this); + this._subviews = createViews.call(this); this.elements = getElements(this); if (this.att...
Remove all subviews on remove(), call remove in leave, and save stopListening as _stopListening for easier access when overriding stopListening.
thecodebureau_ridge
train
js
8498db808266790c5f06eae4287750cf9a066ca3
diff --git a/lib/magic_grid/definition.rb b/lib/magic_grid/definition.rb index <HASH>..<HASH> 100644 --- a/lib/magic_grid/definition.rb +++ b/lib/magic_grid/definition.rb @@ -101,13 +101,19 @@ module MagicGrid end def magic_id - if @options[:id] - @magic_id = @options[:id] + @options.fetch(...
Extract hashing methods for magic_id
rmg_magic_grid
train
rb
d811544e45623109649b0aff83dac9c100db4a72
diff --git a/src/QueryBuilder.php b/src/QueryBuilder.php index <HASH>..<HASH> 100644 --- a/src/QueryBuilder.php +++ b/src/QueryBuilder.php @@ -38,7 +38,11 @@ class QueryBuilder $class = new \ReflectionClass($this->queries[$name]); $query = $class->newInstanceArgs($arguments); - $this->logger-...
QueryBuilder: log queries only if needed
unimapper_unimapper
train
php
b6c72f072d371b2028f3994820e9de9c46f71e2b
diff --git a/lib/stripe_mock/request_handlers/subscriptions.rb b/lib/stripe_mock/request_handlers/subscriptions.rb index <HASH>..<HASH> 100644 --- a/lib/stripe_mock/request_handlers/subscriptions.rb +++ b/lib/stripe_mock/request_handlers/subscriptions.rb @@ -203,6 +203,10 @@ module StripeMock end en...
Properly set the status of a trialing subscription
rebelidealist_stripe-ruby-mock
train
rb
c9edc23ef3fc72d8e6d865ddf59536d007ea4803
diff --git a/src/system/modules/metamodelsattribute_file/dca/tl_metamodel_attribute.php b/src/system/modules/metamodelsattribute_file/dca/tl_metamodel_attribute.php index <HASH>..<HASH> 100644 --- a/src/system/modules/metamodelsattribute_file/dca/tl_metamodel_attribute.php +++ b/src/system/modules/metamodelsattribute_f...
Add w<I> class to optimize the dca listing
MetaModels_attribute_file
train
php
3775d77e1d4fe32ec063afad8cb63c44933136b9
diff --git a/go/vt/srvtopo/resilient_server.go b/go/vt/srvtopo/resilient_server.go index <HASH>..<HASH> 100644 --- a/go/vt/srvtopo/resilient_server.go +++ b/go/vt/srvtopo/resilient_server.go @@ -259,13 +259,13 @@ func (server *ResilientServer) GetSrvKeyspaceNames(ctx context.Context, cell str entry.mutex.Lock() def...
Simplify stale topo serving codepath. We will now also serve stale topo while the topo cache is refreshing.
vitessio_vitess
train
go
78662e00f248050410669573565264a72f40f13f
diff --git a/sample/app.js b/sample/app.js index <HASH>..<HASH> 100644 --- a/sample/app.js +++ b/sample/app.js @@ -38,7 +38,7 @@ ravel.set('get or create user function', function() { ravel.start(); -ravel.modules.sample.tGetNumbers(undefined, undefined, function(err, result) { +ravel.modules.sample.getNumbers(unde...
Changing sample code to emphasize the fact that transaction endpoints are being created within registered modules
raveljs_ravel
train
js
ac4aaa08e271766d0dbe3ad81603a559d4956da5
diff --git a/addon/scroll/annotatescrollbar.js b/addon/scroll/annotatescrollbar.js index <HASH>..<HASH> 100644 --- a/addon/scroll/annotatescrollbar.js +++ b/addon/scroll/annotatescrollbar.js @@ -73,19 +73,15 @@ var singleLineH = wrapping && cm.defaultTextHeight() * 1.5; var curLine = null, curLineObj = null; ...
[annotatescrollbar addon] Simplify visual-line finding Issue #<I>
codemirror_CodeMirror
train
js