hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
6ff63ba8fedf1e0b6e77ebbce8db6e869f4bca8e
diff --git a/src/main.js b/src/main.js index <HASH>..<HASH> 100644 --- a/src/main.js +++ b/src/main.js @@ -38,39 +38,12 @@ .on(["focus", "click"], this._focusCalendar.bind(this, calendar)) .on("blur", this._blurCalendar.bind(this, calendar)) .on("change", this._formatV...
fix visible label and date picker position
chemerisuk_better-dateinput-polyfill
train
5bde86198b67f5847ee67410a482a0334d87438d
diff --git a/src/VersionFeedController.php b/src/VersionFeedController.php index <HASH>..<HASH> 100644 --- a/src/VersionFeedController.php +++ b/src/VersionFeedController.php @@ -128,8 +128,8 @@ class VersionFeedController extends Extension // Check if the page should be visible. ...
FIX Do not use cached SiteTree object but ensure record ID is set before diff
silverstripe_silverstripe-versionfeed
train
9ba7da744d831936bc9870a2b3e619d6a5b6d27e
diff --git a/lib/routes/whatat.js b/lib/routes/whatat.js index <HASH>..<HASH> 100644 --- a/lib/routes/whatat.js +++ b/lib/routes/whatat.js @@ -10,14 +10,14 @@ var responseHandler = require('../responsehandler'); var router = express.Router(); -router.route('/:id') +router.route('/receiver/:id') .get(function(re...
Added /transmitter or /receiver to API routes
reelyactive_barterer
train
b0750cb80a6b0101a31f3590586a9a161ac005ae
diff --git a/tornado/curl_httpclient.py b/tornado/curl_httpclient.py index <HASH>..<HASH> 100644 --- a/tornado/curl_httpclient.py +++ b/tornado/curl_httpclient.py @@ -389,11 +389,11 @@ def _curl_setup_request(curl, request, buffer, headers): userpwd = "%s:%s" % (request.auth_username, request.auth_password) ...
Reduce logging verbosity in curl_httpclient to match simple_httpclient.
tornadoweb_tornado
train
043eda872c74344a1f5b53dcd4bc1ca8d8d33226
diff --git a/server/sonar-server/src/test/java/org/sonar/server/db/BaseDaoTest.java b/server/sonar-server/src/test/java/org/sonar/server/db/BaseDaoTest.java index <HASH>..<HASH> 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/db/BaseDaoTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/d...
BaseDao testing for DAO v. 2 0 added actionCount for testing
SonarSource_sonarqube
train
cb1a1ae200d7a7f3d3e7fce93c8fac546f5829cd
diff --git a/spec/sandbox/sugar_syntax_spec.rb b/spec/sandbox/sugar_syntax_spec.rb index <HASH>..<HASH> 100644 --- a/spec/sandbox/sugar_syntax_spec.rb +++ b/spec/sandbox/sugar_syntax_spec.rb @@ -1,5 +1,7 @@ require "shikashi" +include Shikashi + describe Sandbox, "Shikashi sandbox" do it "should allow single run...
added missing include in sugar_syntax_spec.rb
tario_shikashi
train
969b541a9d1a89361996465c4ea6720af5d10678
diff --git a/libtmux/session.py b/libtmux/session.py index <HASH>..<HASH> 100644 --- a/libtmux/session.py +++ b/libtmux/session.py @@ -18,9 +18,12 @@ from .common import ( has_version, session_check_name, ) -from .pane import Pane from .window import Window +if t.TYPE_CHECKING: + from .pane import Pane...
chore(session): Add TYPE_CHECKING: Try to avoid circular imports
tmux-python_libtmux
train
b0d21168250533ec8a02c9cad1ea6762c985115d
diff --git a/lib/radar_client_rb/resource.rb b/lib/radar_client_rb/resource.rb index <HASH>..<HASH> 100644 --- a/lib/radar_client_rb/resource.rb +++ b/lib/radar_client_rb/resource.rb @@ -48,10 +48,10 @@ module Radar client_info = "Client: #{@client.redis.client.host}:#{@client.redis.client.port}" end ...
log after write, so client is connected for sure
zendesk_radar_client_rb
train
7c4dad364cd9e02cf3b8a14fcdbbb3b59428da61
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -354,9 +354,9 @@ module ActiveRecord # to match the structure of your database. ...
Fix docs describing rollback [ci skip] * `rails db:migrate STEP = 2` will not rollback the migrations, instead `rails db:rollback STEP = 2` will do the rollback. * Also, rewritten `rails db:migrate VERSION` => `rails db:rollback VERSION` for consistency.
rails_rails
train
3eedfa5df17c386c75d113922fdf15fc25ddec6e
diff --git a/webpack.config.babel.js b/webpack.config.babel.js index <HASH>..<HASH> 100644 --- a/webpack.config.babel.js +++ b/webpack.config.babel.js @@ -72,6 +72,7 @@ const siteCommon = { new HtmlWebpackPlugin({ template: require('html-webpack-template'), // eslint-disable-line global-require injec...
Enable mobile mode for `HtmlWebpackPlugin`
Stupidism_stupid-rc-starter
train
5b7a71699fb96e3acc7445be98e5451f2b92e709
diff --git a/bin/edeposit_amqp_calibredaemon.py b/bin/edeposit_amqp_calibredaemon.py index <HASH>..<HASH> 100755 --- a/bin/edeposit_amqp_calibredaemon.py +++ b/bin/edeposit_amqp_calibredaemon.py @@ -41,9 +41,9 @@ def main(args, stop=False): con_param=getConParams( settings.RABBITMQ_CALIBRE_VIRTUAL...
Calibre settings converted from old naming convention to new one.
edeposit_edeposit.amqp
train
b1830202e3fe5b572d833de035d2cbb7c5e55dc3
diff --git a/spyder/utils/palette.py b/spyder/utils/palette.py index <HASH>..<HASH> 100644 --- a/spyder/utils/palette.py +++ b/spyder/utils/palette.py @@ -136,5 +136,5 @@ if is_dark_interface(): SpyderPalette = SpyderPaletteDark QDarkPalette = DarkPalette else: - SpyderPalete = SpyderPaletteLight + Spy...
Fix typo in palette from SpyderPalette
spyder-ide_spyder
train
406ffb46dc53fdaca02427333933fc22aa48cc9f
diff --git a/imgaug/__init__.py b/imgaug/__init__.py index <HASH>..<HASH> 100644 --- a/imgaug/__init__.py +++ b/imgaug/__init__.py @@ -12,4 +12,4 @@ import imgaug.augmenters as augmenters import imgaug.parameters as parameters import imgaug.dtypes as dtypes -__version__ = '0.3.0' +__version__ = '0.4.0' diff --git a...
Increase version number to <I>
aleju_imgaug
train
3f21ce691c84fad885fc5e037239d5ad7cc1d65e
diff --git a/ndb/model.py b/ndb/model.py index <HASH>..<HASH> 100644 --- a/ndb/model.py +++ b/ndb/model.py @@ -109,7 +109,7 @@ class Model(object): def _setkey(self, key): if key is not None: - assert isinstance(key, Key) + assert isinstance(key, Key), repr(key) if self.__class__ is not Model...
Clarify what is not a key.
GoogleCloudPlatform_datastore-ndb-python
train
f3076be7966d21c07d8c365f419c57d00a4bf1fe
diff --git a/cmd/swagger/commands/mixin.go b/cmd/swagger/commands/mixin.go index <HASH>..<HASH> 100644 --- a/cmd/swagger/commands/mixin.go +++ b/cmd/swagger/commands/mixin.go @@ -10,6 +10,8 @@ import ( "github.com/go-openapi/loads" "github.com/go-openapi/spec" flags "github.com/jessevdk/go-flags" + + "github.com/...
Keep spec order for swagger mixin
go-swagger_go-swagger
train
b33e675ca7b61906b9bcc40812a1591c8452526d
diff --git a/pyramid_swagger/ingest.py b/pyramid_swagger/ingest.py index <HASH>..<HASH> 100644 --- a/pyramid_swagger/ingest.py +++ b/pyramid_swagger/ingest.py @@ -4,6 +4,7 @@ import os.path import simplejson from .load_schema import load_schema +from .model import SwaggerSchema from .spec import validate_swagger_s...
Slight refactor of building SwaggerSchemas
striglia_pyramid_swagger
train
a1e3424c20acbe4af2d340c7134a8df43174fff3
diff --git a/src/Google/Service/GamesManagement.php b/src/Google/Service/GamesManagement.php index <HASH>..<HASH> 100644 --- a/src/Google/Service/GamesManagement.php +++ b/src/Google/Service/GamesManagement.php @@ -78,6 +78,10 @@ class Google_Service_GamesManagement extends Google_Service 'path' => 'achi...
Updated GamesManagement.php This change has been generated by a script that has detected changes in the discovery doc of the API. Check <URL>
googleapis_google-api-php-client
train
9802da86b2b265a029837ec5ceb2ef08a5f4b4c1
diff --git a/CHANGES.txt b/CHANGES.txt index <HASH>..<HASH> 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,7 +8,7 @@ Unreleased - Added official support for Python 3.9 and 3.10. - Dropped support for SQLAlchemy 1.1 and 1.2. -- Dropped support for CrateDB < 1.0.0. +- Dropped support for CrateDB < 2.0.0. - BRE...
Drop support for CrateDB < <I>
crate_crate-python
train
1944d8534b6048666bb73fa3142c666acddb098d
diff --git a/libs/autofile/autofile_test.go b/libs/autofile/autofile_test.go index <HASH>..<HASH> 100644 --- a/libs/autofile/autofile_test.go +++ b/libs/autofile/autofile_test.go @@ -84,3 +84,40 @@ func TestOpenAutoFilePerms(t *testing.T) { t.Errorf("unexpected error %v", e) } } + +func TestAutoFileSize(t *testin...
test AutoFile#Size (happy path)
tendermint_tendermint
train
9e35a1954e83c9a911e05c0568acf8a1feb210fc
diff --git a/server/requirements/RequirementsChecker.php b/server/requirements/RequirementsChecker.php index <HASH>..<HASH> 100644 --- a/server/requirements/RequirementsChecker.php +++ b/server/requirements/RequirementsChecker.php @@ -36,20 +36,6 @@ if (version_compare(PHP_VERSION, '4.3', '<')) * * If you wish to r...
Remove the stuff we're not using.
craftcms_server-check
train
668c793c3c7a6c541f348deff390bb6a8e68e549
diff --git a/lib/shortcode-parser.js b/lib/shortcode-parser.js index <HASH>..<HASH> 100644 --- a/lib/shortcode-parser.js +++ b/lib/shortcode-parser.js @@ -79,7 +79,16 @@ module.exports = { _shortcodes: shortcodes, add: function (name, callback) { - shortcodes[name] = callback; + if (typeof name == 'obje...
Shortcode.add() now accepts an object with methods as first parameter
mendezcode_shortcode-parser
train
58f67e0430bf3d29dd9812830d27bd278cdd4782
diff --git a/biodata-models/src/main/java/org/opencb/biodata/models/variation/PopulationFrequency.java b/biodata-models/src/main/java/org/opencb/biodata/models/variation/PopulationFrequency.java index <HASH>..<HASH> 100644 --- a/biodata-models/src/main/java/org/opencb/biodata/models/variation/PopulationFrequency.java +...
feature/<I>.x: changes at PopulationFrequency.java: freqs are now stored in a 5 positions array [x, y, xx, xy, yy]. 5 new methods added accordingly
opencb_biodata
train
3cd273055f5973a331ead48811167cfdbb28e239
diff --git a/api/src/main/java/com/ning/billing/payment/api/PaymentProviderAccount.java b/api/src/main/java/com/ning/billing/payment/api/PaymentProviderAccount.java index <HASH>..<HASH> 100644 --- a/api/src/main/java/com/ning/billing/payment/api/PaymentProviderAccount.java +++ b/api/src/main/java/com/ning/billing/payme...
Added builder to Payment Provider Account
killbill_killbill
train
d4873c37088fab911cc388dcbead7b9a420c9d19
diff --git a/response.go b/response.go index <HASH>..<HASH> 100644 --- a/response.go +++ b/response.go @@ -7,12 +7,13 @@ import ( "bytes" "encoding/json" "encoding/xml" - "gopkg.in/h2non/gentleman.v1/context" - "gopkg.in/h2non/gentleman.v1/utils" "io" "net/http" "os" "runtime" + + "gopkg.in/h2non/gentlema...
refactor(response): imports
h2non_gentleman
train
6c93fbc516f85fa59fa165f130872d02262f4a28
diff --git a/railties/guides/code/getting_started/config/initializers/secret_token.rb b/railties/guides/code/getting_started/config/initializers/secret_token.rb index <HASH>..<HASH> 100644 --- a/railties/guides/code/getting_started/config/initializers/secret_token.rb +++ b/railties/guides/code/getting_started/config/in...
Advise to keep secret token private
rails_rails
train
cdda89dea2feb869a21b74cbb4a3428fa5ca4546
diff --git a/vault/auth.go b/vault/auth.go index <HASH>..<HASH> 100644 --- a/vault/auth.go +++ b/vault/auth.go @@ -268,7 +268,7 @@ func (c *Core) setupCredentials() error { c.tokenStore = backend.(*TokenStore) // this is loaded *after* the normal mounts, including cubbyhole - c.router.tokenStoreSalt = backe...
Fix situation where a new required singleton backend would not be activated upon upgrade.
hashicorp_vault
train
ab9d8c446c8e46a0c67eb0857fcfcd2749a0def0
diff --git a/lib/Doctrine/Common/Annotations/AnnotationReader.php b/lib/Doctrine/Common/Annotations/AnnotationReader.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/Common/Annotations/AnnotationReader.php +++ b/lib/Doctrine/Common/Annotations/AnnotationReader.php @@ -147,7 +147,7 @@ final class AnnotationReader impl...
Add register annotation(s) and annotation file to DocParser and AnnotationReader
doctrine_common
train
26e498a21538a76421409881fd301d7a8b9278fb
diff --git a/lib/kleisli/maybe.rb b/lib/kleisli/maybe.rb index <HASH>..<HASH> 100644 --- a/lib/kleisli/maybe.rb +++ b/lib/kleisli/maybe.rb @@ -18,6 +18,7 @@ module Kleisli def *(other) self >-> f { + f = f.to_proc other >-> val { Maybe.lift(f.arity > 1 ? f.curry.call(val) : f.ca...
Improve appl. functor in maybe
txus_kleisli
train
2c1a96309d0c29d9566ff420b60f5091448448c0
diff --git a/packages/ember-routing-htmlbars/lib/keywords/closure-action.js b/packages/ember-routing-htmlbars/lib/keywords/closure-action.js index <HASH>..<HASH> 100644 --- a/packages/ember-routing-htmlbars/lib/keywords/closure-action.js +++ b/packages/ember-routing-htmlbars/lib/keywords/closure-action.js @@ -45,6 +45,...
Objects that define INVOKE can be cast to actions This is useful for ember-concurrency (and other similar ideas I've tried in the past) where you want to be able to pass an object directly to the action helper (rather than having to define another kind of helper that does the casting for you). cc @rwjblue @mixonic
emberjs_ember.js
train
a9cbf546db83cfb8ea0ade074c52de6ff940b7e2
diff --git a/src/SimpleThings/EntityAudit/AuditReader.php b/src/SimpleThings/EntityAudit/AuditReader.php index <HASH>..<HASH> 100644 --- a/src/SimpleThings/EntityAudit/AuditReader.php +++ b/src/SimpleThings/EntityAudit/AuditReader.php @@ -328,13 +328,14 @@ class AuditReader unset($row[$this->config->getRevis...
use column map to support multi platform result casing
simplethings_EntityAuditBundle
train
154b31ebc65fb8f10f7d611a779e4a9be59a47d3
diff --git a/lib/xcode/builder.rb b/lib/xcode/builder.rb index <HASH>..<HASH> 100644 --- a/lib/xcode/builder.rb +++ b/lib/xcode/builder.rb @@ -54,7 +54,8 @@ module Xcode parser << line end rescue => e - # Swallow this, as failure means test error + # Let the failure bubble up un...
Reveal original test output if the command fails and the parser hasnt recorded an error
rayh_xcoder
train
d8b286cf722d8d796839c153a45f1ab535a6c3da
diff --git a/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java b/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java +++ b/src/main/java/org/dasein/cloud/azure/compute/image/AzureOS...
for VM Images added tag with OSState
dasein-cloud_dasein-cloud-azure
train
558a20ef29913e74a83aef7ec130cd03eb4d0ffe
diff --git a/mbed/mbed.py b/mbed/mbed.py index <HASH>..<HASH> 100644 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -2249,7 +2249,7 @@ def compile_(toolchain=None, target=None, profile=False, compile_library=False, error("Unable to flash the target board connected to your system.", 1) ...
Improve error message for when failing to reset target. This is usually caused by an old interface firmware
ARMmbed_mbed-cli
train
1abdddce91eb977204dad392f14485e56b440a95
diff --git a/Annis-Web/src/main/webapp/javascript/annis/MetaDataWindow.js b/Annis-Web/src/main/webapp/javascript/annis/MetaDataWindow.js index <HASH>..<HASH> 100644 --- a/Annis-Web/src/main/webapp/javascript/annis/MetaDataWindow.js +++ b/Annis-Web/src/main/webapp/javascript/annis/MetaDataWindow.js @@ -173,7 +173,7 @@ E...
the colnames of meta-window are now consistent
korpling_ANNIS
train
1bd9934c85de9d7968230d8cf32c596b75a8be6c
diff --git a/src/SALib/util/problem.py b/src/SALib/util/problem.py index <HASH>..<HASH> 100644 --- a/src/SALib/util/problem.py +++ b/src/SALib/util/problem.py @@ -319,10 +319,20 @@ class ProblemSpec(dict): # have to divide by 2 to account for CI columns num_cols = len(self._analysis[fk]) // 2 ...
Display title for multi-output plots
SALib_SALib
train
01cfc3193be20ed5b5b3f0d053c63ac5ea1295ee
diff --git a/actor/appium/src/main/java/org/getopentest/appium/Tap.java b/actor/appium/src/main/java/org/getopentest/appium/Tap.java index <HASH>..<HASH> 100644 --- a/actor/appium/src/main/java/org/getopentest/appium/Tap.java +++ b/actor/appium/src/main/java/org/getopentest/appium/Tap.java @@ -2,7 +2,6 @@ package org.g...
feat(appium): remove Deprecated attribute from Tap action
mcdcorp_opentest
train
160d9c1634de7d89abd0ab69ec09665750480423
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python from os.path import join -from setuptools import setup +from setuptools import setup, find_packages def get_version(): @@ -9,4 +9,8 @@ def get_version(): return version_line.s...
Include name, find_packages() in setup() call
devsnd_tinytag
train
c66b1cfa66feee34cc589a8c4583691b14f89c28
diff --git a/src/AwsClient.php b/src/AwsClient.php index <HASH>..<HASH> 100644 --- a/src/AwsClient.php +++ b/src/AwsClient.php @@ -125,7 +125,7 @@ class AwsClient implements AwsClientInterface { list($service, $exceptionClass) = $this->parseClass(); if (!isset($args['service'])) { - $a...
Fixed an issue where clients that have a different name and endpoint prefix can be instantiated correctly outside of the Sdk class.
aws_aws-sdk-php
train
4dad7ad11dd7be1e103161c28f4217c2b9abdb4c
diff --git a/Person.php b/Person.php index <HASH>..<HASH> 100644 --- a/Person.php +++ b/Person.php @@ -12,7 +12,9 @@ class Person extends Model } try { - var_dump(Person::findAll()); + + echo count(Person::findWhere(['FName' => 'Ganga', 'LName' => 'Chris'])); + //var_dump(Person::findAll()); // $per...
(fix) Add Find where method to search by criteria
vickris_potatoORM
train
9b2ad0eafdd40af08e915d05ae511ed1e5a88516
diff --git a/client-adapter/rdb/src/main/java/com/alibaba/otter/canal/client/adapter/rdb/RdbAdapter.java b/client-adapter/rdb/src/main/java/com/alibaba/otter/canal/client/adapter/rdb/RdbAdapter.java index <HASH>..<HASH> 100644 --- a/client-adapter/rdb/src/main/java/com/alibaba/otter/canal/client/adapter/rdb/RdbAdapter....
set utf8mb4 to support emoji
alibaba_canal
train
6c5f125ebed26e7f135e1b86e2e0a6d094cdee93
diff --git a/spec/property_spec.rb b/spec/property_spec.rb index <HASH>..<HASH> 100755 --- a/spec/property_spec.rb +++ b/spec/property_spec.rb @@ -52,7 +52,7 @@ describe "PropertyTest" do it "tests get all" do all = @iface.all_properties - expect(all.keys.sort).to eq(["MyStruct", "ReadMe", "ReadOrWriteMe"]...
Add integration tests for container-typed properties
mvidner_ruby-dbus
train
2ae1cc0d055318166df35430d650bd095f3025c4
diff --git a/src/ReCaptcha/ReCaptcha.php b/src/ReCaptcha/ReCaptcha.php index <HASH>..<HASH> 100644 --- a/src/ReCaptcha/ReCaptcha.php +++ b/src/ReCaptcha/ReCaptcha.php @@ -53,7 +53,7 @@ class ReCaptcha * Could not connect to service * @const string */ - const E_BAD_CONNECTION = 'bad-connection'; + ...
Show an explicit error when the connection fails
google_recaptcha
train
8acf3f1115ad087400cb67fd89ef70ccc6ea0b72
diff --git a/Kernel/WellCommerceAppKernel.php b/Kernel/WellCommerceAppKernel.php index <HASH>..<HASH> 100644 --- a/Kernel/WellCommerceAppKernel.php +++ b/Kernel/WellCommerceAppKernel.php @@ -21,39 +21,16 @@ use WellCommerce\Bundle\DistributionBundle\Locator\BundleLocator; * * @author Adam Piotrowski <adam@wellcomm...
Simplified bundle loader (cherry picked from commit 4d<I>dc<I>d<I>dd<I>b1f<I>bee<I>baa)
WellCommerce_CouponBundle
train
cb3afd935f7f479f2cfe53a9a3d9a2ed59ad84ad
diff --git a/src/Data/TaskerExecution.php b/src/Data/TaskerExecution.php index <HASH>..<HASH> 100644 --- a/src/Data/TaskerExecution.php +++ b/src/Data/TaskerExecution.php @@ -1,4 +1,4 @@ -<?php +<?php /** @noinspection PhpLanguageLevelInspection */ namespace G4\Log\Data; @@ -25,8 +25,14 @@ class TaskerExecution ex...
Added exception message, line, code
g4code_log
train
a436f2baa5dc8ffee107ea7e96dda1011bc26226
diff --git a/cmd/logger/target/console/console.go b/cmd/logger/target/console/console.go index <HASH>..<HASH> 100644 --- a/cmd/logger/target/console/console.go +++ b/cmd/logger/target/console/console.go @@ -45,12 +45,13 @@ func (c *Target) Send(e interface{}) error { return nil } - trace := make([]string, len(en...
Change order of trace source in error log (#<I>) Change the order of trace source that gets printed on the console.
minio_minio
train
d8f184e68da79c604d30c0c9894c87120e52b0c7
diff --git a/zounds/analyze/feature/reduce.py b/zounds/analyze/feature/reduce.py index <HASH>..<HASH> 100644 --- a/zounds/analyze/feature/reduce.py +++ b/zounds/analyze/feature/reduce.py @@ -1,31 +1,41 @@ import numpy as np -from zounds.util import downsample,downsampled_shape +from zounds.util import downsample,downs...
- sliding_window now has a flatten parameter, which determine whether the sliding windows should retain the dimensionality of the input array - reduce.Downsample now performs chunk-based processing
JohnVinyard_zounds
train
e2b548950c1bf2b8f221ee97e3e570e1950f2f11
diff --git a/lib/Wei/Db.php b/lib/Wei/Db.php index <HASH>..<HASH> 100644 --- a/lib/Wei/Db.php +++ b/lib/Wei/Db.php @@ -664,10 +664,10 @@ class Db extends Base */ public function findOrCreate($table, $id, $data = array()) { - $record = $this->find($table, $id, $data); - if (!$record) { ...
speed up findOrCreate method, created only one record object
twinh_wei
train
78238c85d425fef9c9087bf89b1d5723f2fcc58b
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index <HASH>..<HASH> 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -137,8 +137,7 @@ func (b *Bslack) Send(msg config.Message) (string, error) { if b.Config.WebhookURL != "" { if msg.Extra != nil { for _, rmsg := range helper.HandleE...
Add share support between slack instances. Closes #<I>
42wim_matterbridge
train
105b4a8f950cc86790b524d93fb30e7fbc5077df
diff --git a/autograd/numpy/numpy_vjps.py b/autograd/numpy/numpy_vjps.py index <HASH>..<HASH> 100644 --- a/autograd/numpy/numpy_vjps.py +++ b/autograd/numpy/numpy_vjps.py @@ -495,7 +495,7 @@ def grad_concatenate_args(argnum, ans, axis_args, kwargs): start = sum(sizes[:-1]) idxs = [slice(None)] * ans.ndim ...
Convert idxs to tuple in vjp of np.concatenate
HIPS_autograd
train
1869a06d6e6ff1200d93869a4bc58821f7ac0ed5
diff --git a/src/org/parosproxy/paros/control/MenuFileControl.java b/src/org/parosproxy/paros/control/MenuFileControl.java index <HASH>..<HASH> 100644 --- a/src/org/parosproxy/paros/control/MenuFileControl.java +++ b/src/org/parosproxy/paros/control/MenuFileControl.java @@ -570,7 +570,7 @@ public class MenuFileControl ...
Log as error when failed to import the context Change MenuFileControl to log the exception as error when importing the context, it's more useful to log as error, debug is not included by default.
zaproxy_zaproxy
train
19ae5aace37f100993a1cc40e89ff45391d1cd87
diff --git a/httprunner/api.py b/httprunner/api.py index <HASH>..<HASH> 100644 --- a/httprunner/api.py +++ b/httprunner/api.py @@ -162,6 +162,9 @@ class HttpRunner(object): self.exception_stage = "aggregate results" self._summary = self._aggregate(results) + if self.save_tests: + u...
dump test result summary to json file
HttpRunner_HttpRunner
train
cd3502564c4926f1a85a44221b4457978bc5fe9b
diff --git a/lib/node_modules/@stdlib/blas/base/gscal/lib/main.js b/lib/node_modules/@stdlib/blas/base/gscal/lib/main.js index <HASH>..<HASH> 100644 --- a/lib/node_modules/@stdlib/blas/base/gscal/lib/main.js +++ b/lib/node_modules/@stdlib/blas/base/gscal/lib/main.js @@ -41,21 +41,21 @@ var M = 5; * // x => [ -10.0, 5....
Support negative strides and fix type annotations
stdlib-js_stdlib
train
f18ccf8a0397bcee98af066e157d67329a9cef6d
diff --git a/apps/bolt-site/components/bolt-select/bolt-select.standalone.js b/apps/bolt-site/components/bolt-select/bolt-select.standalone.js index <HASH>..<HASH> 100644 --- a/apps/bolt-site/components/bolt-select/bolt-select.standalone.js +++ b/apps/bolt-site/components/bolt-select/bolt-select.standalone.js @@ -2,13 ...
refactor: update docs site version selector to render using Lit-HTML instead of HyperHTML
bolt-design-system_bolt
train
d367004014adf23401927b33bb47d2d81cdd9c3c
diff --git a/scot/plotting.py b/scot/plotting.py index <HASH>..<HASH> 100644 --- a/scot/plotting.py +++ b/scot/plotting.py @@ -300,8 +300,9 @@ def plot_connectivity_spectrum(a, fs=2, freq_range=(-np.inf, np.inf), diagonal=0 if j == m-1: ax.yaxis.tick_right() - fig.text(0.5, 0.025, 'frequency ...
Fixed repeatedly plotting the same labels.
scot-dev_scot
train
3ffef2ea8352e9dab7eb5d3353c01c5046438dd5
diff --git a/packages/ember-testing/tests/helpers_test.js b/packages/ember-testing/tests/helpers_test.js index <HASH>..<HASH> 100644 --- a/packages/ember-testing/tests/helpers_test.js +++ b/packages/ember-testing/tests/helpers_test.js @@ -644,7 +644,7 @@ moduleFor('ember-testing: Helper methods', class extends HelpersA...
Update ember-testing package tests to be QUnit 2 compatible.
emberjs_ember.js
train
c754e97d0ae7d7da93c173329d86c1255545a65b
diff --git a/environment/src/main/java/jetbrains/exodus/log/SharedLogCache.java b/environment/src/main/java/jetbrains/exodus/log/SharedLogCache.java index <HASH>..<HASH> 100644 --- a/environment/src/main/java/jetbrains/exodus/log/SharedLogCache.java +++ b/environment/src/main/java/jetbrains/exodus/log/SharedLogCache.ja...
getLogPageFingerPrint() produces more "random" keys (with lots of Environments in a single JVM in particular)
JetBrains_xodus
train
fd68dc52d767ed886e232ee584fab2cd1512b4ee
diff --git a/ng-table.js b/ng-table.js index <HASH>..<HASH> 100644 --- a/ng-table.js +++ b/ng-table.js @@ -8,7 +8,7 @@ } else { return factory(angular); } -}(typeof(angular) === 'undefined' ? null : angular, function(angular) { +}(angular || null, function(angular) { 'use strict'; /** * ngTab...
fix bug with pagination in custom head mode
esvit_ng-table
train
90354cc5135f708de3c11e725a6739d6d3c97a5c
diff --git a/src/main/java-templates/org/primefaces/component/commandlink/CommandLinkTemplate.java b/src/main/java-templates/org/primefaces/component/commandlink/CommandLinkTemplate.java index <HASH>..<HASH> 100644 --- a/src/main/java-templates/org/primefaces/component/commandlink/CommandLinkTemplate.java +++ b/src/mai...
Global Confirm Dialog support for commandLink.
primefaces_primefaces
train
4ba08b4b0e51a493dae78c24e4552497101f67c8
diff --git a/src/js/draw/draw.common.js b/src/js/draw/draw.common.js index <HASH>..<HASH> 100755 --- a/src/js/draw/draw.common.js +++ b/src/js/draw/draw.common.js @@ -966,7 +966,7 @@ zebkit.package("draw", function(pkg, Class) { if (arguments.length > 0) { this.color = c; ...
shape view: re-name width property to lineWidth
barmalei_zebkit
train
2ce408de57bccfaa227db0ec448044002878776b
diff --git a/lifelines/fitters/mixture_cure_fitter.py b/lifelines/fitters/mixture_cure_fitter.py index <HASH>..<HASH> 100644 --- a/lifelines/fitters/mixture_cure_fitter.py +++ b/lifelines/fitters/mixture_cure_fitter.py @@ -4,6 +4,8 @@ from lifelines.fitters import ParametricUnivariateFitter class MixtureCureFitter...
Set _KNOWN_MODEL to True and add to appropriate test fixutre
CamDavidsonPilon_lifelines
train
a1e35d853c4386259a937f157b6b7d1c7fe88323
diff --git a/grails-web/src/main/groovy/org/codehaus/groovy/grails/web/pages/discovery/GroovyPageCompiledScriptSource.java b/grails-web/src/main/groovy/org/codehaus/groovy/grails/web/pages/discovery/GroovyPageCompiledScriptSource.java index <HASH>..<HASH> 100644 --- a/grails-web/src/main/groovy/org/codehaus/groovy/grai...
removed @Override for interface impl method that isn't allowed in Java 5
grails_grails-core
train
79680137b12de021f5a057d8579b8290609a8ed4
diff --git a/admin/code/SecurityAdmin.php b/admin/code/SecurityAdmin.php index <HASH>..<HASH> 100755 --- a/admin/code/SecurityAdmin.php +++ b/admin/code/SecurityAdmin.php @@ -129,7 +129,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider { // Add roles editing interface if(Permission::c...
BUGFIX SecurityAdmin shows incorrect breadcrumbs for viewing Roles GridField. Partially reverts <I>ba<I>c.
silverstripe_silverstripe-framework
train
1c99f7f29f32da9c66476abe8efea50b90d46311
diff --git a/app/controllers/safety_cone/cones_controller.rb b/app/controllers/safety_cone/cones_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/safety_cone/cones_controller.rb +++ b/app/controllers/safety_cone/cones_controller.rb @@ -8,18 +8,18 @@ module SafetyCone end def index - @con...
Why : Handle two types of cones from now on What : Moving all the request blocks to :paths so that all features can be in :features
boost_safety_cone
train
619ea13d89a257c7ae0a8e3e7700e5eee760287c
diff --git a/querydsl-lucene/src/main/java/com/mysema/query/lucene/LuceneSerializer.java b/querydsl-lucene/src/main/java/com/mysema/query/lucene/LuceneSerializer.java index <HASH>..<HASH> 100644 --- a/querydsl-lucene/src/main/java/com/mysema/query/lucene/LuceneSerializer.java +++ b/querydsl-lucene/src/main/java/com/mys...
added template method for toString() conversion
querydsl_querydsl
train
9d20375823d71eb81d1f49e3ecc339b3c9a7360e
diff --git a/shared/render-snapshot.js b/shared/render-snapshot.js index <HASH>..<HASH> 100644 --- a/shared/render-snapshot.js +++ b/shared/render-snapshot.js @@ -89,7 +89,7 @@ class SnapRender { function zoomout () { - d3.select("form").selectAll("input") + d3.select("#snap-form"...
disabled form inputs when snapshot is zoomed in
Kappa-Dev_KaSim
train
09e8c587d9cfc6e332505d18dcded37909bf1f03
diff --git a/services/sourcegraph/sourcegraph.service.js b/services/sourcegraph/sourcegraph.service.js index <HASH>..<HASH> 100644 --- a/services/sourcegraph/sourcegraph.service.js +++ b/services/sourcegraph/sourcegraph.service.js @@ -1,9 +1,21 @@ 'use strict' -const LegacyService = require('../legacy-service') -con...
feat: migrate sourcegraph to new service model and fix tests (#<I>)
badges_shields
train
9da1741885c737c14f6de68765280f668925704a
diff --git a/lib/auth/rails/routes.rb b/lib/auth/rails/routes.rb index <HASH>..<HASH> 100644 --- a/lib/auth/rails/routes.rb +++ b/lib/auth/rails/routes.rb @@ -7,7 +7,7 @@ module ActionDispatch::Routing ##expected to be present in the preinitializer in the routes of the target app. def mount_routes(app_route_resou...
all tests pass, engine is no longer isolated engine
wordjelly_Auth
train
49dea97ee5f455b9ee5b418f89e55f52df058c0b
diff --git a/docker/reference/reference.go b/docker/reference/reference.go index <HASH>..<HASH> 100644 --- a/docker/reference/reference.go +++ b/docker/reference/reference.go @@ -51,7 +51,7 @@ func XParseNamed(s string) (distreference.Named, error) { return &canonicalRef{namedRef{r}}, nil } if tagged, isTagged :...
API transition: Drop XWithTag Instead use distreference.WithTag directly.
containers_image
train
b4226137f691e76dedb1b06c45984435dda272a4
diff --git a/src/Symfony/Component/Process/Process.php b/src/Symfony/Component/Process/Process.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Process/Process.php +++ b/src/Symfony/Component/Process/Process.php @@ -56,8 +56,8 @@ class Process private $enhanceSigchildCompatibility; private $process...
[Process] fix some typos and refactor some code
symfony_symfony
train
db75262d8dd24ccf1d9a23f6ed79c3c76115ca49
diff --git a/grimoire/elk/git.py b/grimoire/elk/git.py index <HASH>..<HASH> 100644 --- a/grimoire/elk/git.py +++ b/grimoire/elk/git.py @@ -26,12 +26,11 @@ import json import logging import requests +from dateutil import parser + from grimoire.elk.enrich import Enrich from sortinghat import api -from sortinghat....
[git enrich] Implement enrich compatible with Git Activity Kibana dashboard.
chaoss_grimoirelab-elk
train
9ebadd50a251aca3452a61340a74ae6cf2573b01
diff --git a/src/Renderer/Rich.php b/src/Renderer/Rich.php index <HASH>..<HASH> 100644 --- a/src/Renderer/Rich.php +++ b/src/Renderer/Rich.php @@ -246,7 +246,7 @@ class Kint_Renderer_Rich extends Kint_Renderer } if ($show_contents) { - return '<pre>'.Kint_Object_Blob::escape($...
Renderer_Rich: Add newline after expanded string Trailing newlines are correctly rendered this way. Copy pastes are still inaccurate under certain circumstances in both firefox and chrome but it could be worse so we'll leave it at that
kint-php_kint
train
3a4a2074aac7b5eb3460b792f04cf0b3db062406
diff --git a/lib/less/browser.js b/lib/less/browser.js index <HASH>..<HASH> 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -11,6 +11,13 @@ less.env = less.env || (location.hostname == '127.0.0.1' || isFileProtocol ? 'development' ...
created less.log_level setting This will control the amount of logging in the javascript console that less will do while parsing. Options are: 2 - Information and errors 1 - Errors 0 - None Defaults to 2
less_less.js
train
3908c3641675141c8a571b128ff7f176fe05c48b
diff --git a/src/main/java/com/cronutils/utils/DateUtils.java b/src/main/java/com/cronutils/utils/DateUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/cronutils/utils/DateUtils.java +++ b/src/main/java/com/cronutils/utils/DateUtils.java @@ -28,13 +28,13 @@ public class DateUtils { holidays = holi...
Fix code smell: cast long to int and operate with ints instead of declaring a final Long.intValue()
jmrozanec_cron-utils
train
8a39f411dc3c806422785b1f4d5c7c9d58e4bf85
diff --git a/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql2_...
prevent sql injection attacks by escaping quotes in column names
rails_rails
train
9fc8c4b5aff43cce890a3d4467a635c70c5b5409
diff --git a/pressbooks.php b/pressbooks.php index <HASH>..<HASH> 100644 --- a/pressbooks.php +++ b/pressbooks.php @@ -5,7 +5,7 @@ Plugin URI: https://pressbooks.org GitHub Plugin URI: pressbooks/pressbooks Release Asset: true Description: Simple Book Production -Version: 5.31.1 +Version: 5.32.0-dev Author: Pressbo...
update version to next development minor (#<I>) [ci-skip]
pressbooks_pressbooks
train
4dd00be365da6af52d3989d71bef179d36a16c92
diff --git a/etcdserver/etcdhttp/http.go b/etcdserver/etcdhttp/http.go index <HASH>..<HASH> 100644 --- a/etcdserver/etcdhttp/http.go +++ b/etcdserver/etcdhttp/http.go @@ -19,6 +19,7 @@ package etcdhttp import ( "errors" "log" + "math" "net/http" "strings" "time" @@ -29,10 +30,13 @@ import ( const ( // t...
etcdhttp: reset serve and watch timeout
etcd-io_etcd
train
7f8629716538d9bd4a59f15c9842c80ac84a8434
diff --git a/tests/TestCase.php b/tests/TestCase.php index <HASH>..<HASH> 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,8 +4,8 @@ namespace Spatie\Tags\Test; use Dotenv\Dotenv; use Spatie\Tags\TagsServiceProvider; -use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; +u...
Apply fixes from StyleCI (#<I>)
spatie_laravel-tags
train
7c1c2034fad40ec50725894b53c86dd6c66fcb68
diff --git a/src/Routing/Router.php b/src/Routing/Router.php index <HASH>..<HASH> 100644 --- a/src/Routing/Router.php +++ b/src/Routing/Router.php @@ -165,7 +165,7 @@ class Router $response->headers->set('Content-Type', $response->headers->get('Content-Type').'; charset=' . $charset); } - ...
fis content-type with charset to application/json
nano7_Http
train
ead03511954dbf8905c8158a6ff9092cdba52b4b
diff --git a/tests/integ/sagemaker/lineage/helpers.py b/tests/integ/sagemaker/lineage/helpers.py index <HASH>..<HASH> 100644 --- a/tests/integ/sagemaker/lineage/helpers.py +++ b/tests/integ/sagemaker/lineage/helpers.py @@ -15,6 +15,7 @@ from __future__ import absolute_import import uuid from datetime import datetim...
change: retry downstream_trials test (#<I>)
aws_sagemaker-python-sdk
train
2ad8946ca957e575ce17b7a6aa1cf4efd3203154
diff --git a/lib/prey/request.js b/lib/prey/request.js index <HASH>..<HASH> 100644 --- a/lib/prey/request.js +++ b/lib/prey/request.js @@ -28,7 +28,13 @@ function Request(urls, callback){ this.start = function(){ - var options = { parse: false, headers: {'User-Agent': common.user_agent}} + var options = { + ...
Added X-Encrypt-Response to Request headers.
prey_prey-node-client
train
796c06dd267d9d1f77fdefc84510040a43c1e21c
diff --git a/scripts/rebuild-all.js b/scripts/rebuild-all.js index <HASH>..<HASH> 100644 --- a/scripts/rebuild-all.js +++ b/scripts/rebuild-all.js @@ -16,13 +16,13 @@ mkdirp.sync(coreBuildDir) log('>> meson') const mesonOpts = { cwd: coreBuildDir } if (verbose) mesonOpts.stdio = 'inherit' -spawnSync('meson', [ +spaw...
Check spawnSync() result and exit(1) if it fails
deltachat_deltachat-node
train
fb6404d279450121ae5bfce47cfb46829859dbaa
diff --git a/lib/accounting/account.rb b/lib/accounting/account.rb index <HASH>..<HASH> 100644 --- a/lib/accounting/account.rb +++ b/lib/accounting/account.rb @@ -7,6 +7,16 @@ module Accounting has_many :bookings, :finder_sql => 'SELECT * FROM bookings WHERE credit_account_id = #{id} OR debit_account_id = #{...
Add nice to_s functions to Account models.
huerlisi_has_accounts
train
08152d2ae2fcf10f16779a08b5eca75269d4a159
diff --git a/core/src/main/java/org/infinispan/util/concurrent/ReclosableLatch.java b/core/src/main/java/org/infinispan/util/concurrent/ReclosableLatch.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/infinispan/util/concurrent/ReclosableLatch.java +++ b/core/src/main/java/org/infinispan/util/concurrent/Re...
typo in Java doc of ReclosableLatch
infinispan_infinispan
train
9343f85e735b5b34f4af56f1086f32d32fc4cc61
diff --git a/src/view/ThemeManager.js b/src/view/ThemeManager.js index <HASH>..<HASH> 100644 --- a/src/view/ThemeManager.js +++ b/src/view/ThemeManager.js @@ -21,7 +21,7 @@ * */ -/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ +/*jslint vars: true, plusplus: true, devel: tr...
Correct issue with scrollbar regex and that scrollbars were processed before LESS processing the style file
adobe_brackets
train
7f891427a53bd11c4683d05ecbc8ee4a5b31778c
diff --git a/fmn/rules/generic.py b/fmn/rules/generic.py index <HASH>..<HASH> 100644 --- a/fmn/rules/generic.py +++ b/fmn/rules/generic.py @@ -7,16 +7,6 @@ import fmn.rules.utils from fmn.lib.hinting import hint -import logging -log = logging.getLogger('fedmsg') - -try: - import re2 as re -except ImportError: -...
Cache slow python-re2 compilation. A quick experiment with the ``timeit`` module shows that re2's compilation is something like <I>x slower than stdlib, but the ``.match`` operation is <I>x faster.
fedora-infra_fmn.rules
train
a0ed77cb71e31f17f7bf50ced054ae1e21998474
diff --git a/composer.json b/composer.json index <HASH>..<HASH> 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,6 @@ }, "autoload-dev": { "files": [ - "vendor/phpunit/phpunit/src/Framework/Assert/Functions.php", "src/Functions.php" ] }, diff --git a/t...
Fixed unit tests due to redeclared functions
martin-helmich_phpunit-json-assert
train
a7420cc8c6b49f44f26fa810cf258b64c1e72bd7
diff --git a/packages/teraslice/lib/storage/assets.js b/packages/teraslice/lib/storage/assets.js index <HASH>..<HASH> 100644 --- a/packages/teraslice/lib/storage/assets.js +++ b/packages/teraslice/lib/storage/assets.js @@ -234,7 +234,7 @@ module.exports = async function assetsStore(context) { logger.info(`...
Make sure to block the autoload update
terascope_teraslice
train
63fe8aec5be41a2c43c517188f9cc6253374f2b1
diff --git a/lnwallet/fee_estimator.go b/lnwallet/fee_estimator.go index <HASH>..<HASH> 100644 --- a/lnwallet/fee_estimator.go +++ b/lnwallet/fee_estimator.go @@ -331,9 +331,9 @@ func (b *BitcoindFeeEstimator) fetchEstimatePerByte(confTarget uint32) (btcutil. } // The value returned is expressed in fees per KB, w...
lnwallet: properly use in KB, not KiB to convert to sat/byte for bitcoind estimator In this commit, we fix an existing bug. The fee estimation within bitcoind is based on fee/KB (<I>), not fee/KiB (<I>). Pointed out by @dabura<I>.
lightningnetwork_lnd
train
691347b90487fb9699b795ba4fddfe4a7dea3e81
diff --git a/Xlib/support/unix_connect.py b/Xlib/support/unix_connect.py index <HASH>..<HASH> 100644 --- a/Xlib/support/unix_connect.py +++ b/Xlib/support/unix_connect.py @@ -143,9 +143,9 @@ def new_get_auth(sock, dname, host, dno): # $DISPLAY to localhost:10, but stores the xauth cookie as if # DISPL...
support/unix_connect: fix SSH forwarding work-around under Python3
python-xlib_python-xlib
train
db02ca7eb1d6ba4ff15abf629a259835249e1f7e
diff --git a/src/RegexChecker.php b/src/RegexChecker.php index <HASH>..<HASH> 100644 --- a/src/RegexChecker.php +++ b/src/RegexChecker.php @@ -43,8 +43,7 @@ final class RegexChecker $firstCharacter = $value[0]; - if ('\\' === $firstCharacter) { - // This is not ideal as not true. + ...
Restrict regex delimiters allowed (#<I>) Fixes #<I>
humbug_php-scoper
train
de615874a9260be6174a5a0600149e78e78a51c6
diff --git a/src/Ginger/Request/Parameters.php b/src/Ginger/Request/Parameters.php index <HASH>..<HASH> 100644 --- a/src/Ginger/Request/Parameters.php +++ b/src/Ginger/Request/Parameters.php @@ -117,6 +117,8 @@ class Parameters { if(!strpos($input, ".")) { $input = (int)$input; } + } elseif($input == ...
Added boolean check for ON
newestindustry_ginger-rest
train
f0984a2d83aefa758f3b8db2ddaf68b64752e5a8
diff --git a/drain/step.py b/drain/step.py index <HASH>..<HASH> 100644 --- a/drain/step.py +++ b/drain/step.py @@ -39,22 +39,21 @@ def load(steps, reload=False): if not isinstance(steps, collections.Iterable): return load([steps])[0] - # iterate in reverse - # so popping failed steps doesn't affec...
fix loading with errors (#<I>)
potash_drain
train
089e89391c0a20a45576b5953a5ecaa0b0faae3e
diff --git a/makerlabs/fablabs_io.py b/makerlabs/fablabs_io.py index <HASH>..<HASH> 100644 --- a/makerlabs/fablabs_io.py +++ b/makerlabs/fablabs_io.py @@ -16,7 +16,6 @@ import requests from geojson import dumps, Feature, Point, FeatureCollection from geopy.geocoders import Nominatim import pycountry -from pycountry_...
Remove pycountry_convert incf.countryutils to simplify code and start porting to python3
openp2pdesign_makerlabs
train
9ebe6eb5b7c0f358957249149a34bec8e9883a47
diff --git a/lib/register/builtin/integer.rb b/lib/register/builtin/integer.rb index <HASH>..<HASH> 100644 --- a/lib/register/builtin/integer.rb +++ b/lib/register/builtin/integer.rb @@ -4,7 +4,7 @@ module Register module Integer module ClassMethods def plus c - plus_function = Virtual::Me...
move to clss names as types so as not to mix ruby class names into parfait code
ruby-x_rubyx
train
f4b5dd58e7d3d9bb413122c4b07dc39e2ca9bb2f
diff --git a/src/Mp3Info.php b/src/Mp3Info.php index <HASH>..<HASH> 100644 --- a/src/Mp3Info.php +++ b/src/Mp3Info.php @@ -265,7 +265,7 @@ class Mp3Info { } while (ftell($fp) < $limit_pos); } - if ($headerBytes[0] !== 0xFF || (($headerBytes[1] >> 5) & 0b111) != 0b111) throw new \Exception...
Add empty checking for readbytes and headerBytes
wapmorgan_Mp3Info
train
fcf7144f7c192d36bc3722c3e6ab181d81906edb
diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeaderNames.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeaderNames.java index <HASH>..<HASH> 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpHeaderNames.java +++ b/codec-http/src/main/java/io/netty/handler/c...
Add some HTTP header constants (#<I>) Motivation: Add some missing HTTP header names and values constants. Modification: * names: * dnt (Do Not Track) * upgrade-insecure-requests * x-requested-with * values: * application/xhtml+xml * application/xml * text/css * text/html * text/event...
netty_netty
train
e7e7cd98f57ae2746d9b1b91f0bd08d81e42f8b8
diff --git a/app/models/katello/ansible_collection.rb b/app/models/katello/ansible_collection.rb index <HASH>..<HASH> 100644 --- a/app/models/katello/ansible_collection.rb +++ b/app/models/katello/ansible_collection.rb @@ -1,5 +1,5 @@ module Katello - class AnsibleCollection < ApplicationRecord + class AnsibleCollec...
Fixes #<I> - Do not import_all for pulp3 content types (#<I>)
Katello_katello
train
93d747e078f04c7e1a9ec0bc997217ab75373e6e
diff --git a/infect.js b/infect.js index <HASH>..<HASH> 100644 --- a/infect.js +++ b/infect.js @@ -11,10 +11,11 @@ } }(this, function () { var strains = {}, + op = '$', type = Function.prototype.call.bind(Object.prototype.toString); function infect(name, value) { - var i, key; + var i, key, args, argCou...
New function injection approach working! :-)
amwmedia_infect.js
train
c8e915546ed5f47516959da4aca567d6572a88cb
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -290,9 +290,11 @@ es.join = function (str) { // es.wait = function (callback) { - var body = '' - return es.through(function (data) { body += data }, + var arr = [] + return es.through(function (data) { arr.push(data) ...
add buffer support for es.wait
dominictarr_event-stream
train
66154145f1d7f9b5aa8590d87d0dbbebe8c7589b
diff --git a/core/client/controllers/signin.js b/core/client/controllers/signin.js index <HASH>..<HASH> 100644 --- a/core/client/controllers/signin.js +++ b/core/client/controllers/signin.js @@ -7,7 +7,8 @@ var SigninController = Ember.Controller.extend(SimpleAuth.AuthenticationControll actions: { authe...
Fixup validation engine to handle lack of proxying Closes #<I> - Adjust ValidationEngine so it no longer assumes the properties it is validating are proxies via ObjectController. - Fixup controllers, templates, and routes to use models where data needs to be validated.
TryGhost_Ghost
train