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
e51b7d8ffc90294cca1bb47ae821fc8c834960b6
diff --git a/shared/actions/chat/inbox.js b/shared/actions/chat/inbox.js index <HASH>..<HASH> 100644 --- a/shared/actions/chat/inbox.js +++ b/shared/actions/chat/inbox.js @@ -279,7 +279,8 @@ function* _chatInboxFailedSubSaga(params) { // Mark the conversation as read, to avoid a state where there's a // badged co...
Only unbadge errors if they're for the selected conversation
keybase_client
train
js
bc1e95879f2ff79165bad8677f39888853453aa4
diff --git a/spec/unit/platform/query_helpers_spec.rb b/spec/unit/platform/query_helpers_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/platform/query_helpers_spec.rb +++ b/spec/unit/platform/query_helpers_spec.rb @@ -53,3 +53,25 @@ describe 'Chef::Platform#supports_dsc?' do end end end + +describe 'Chef:...
Added spec for supports_dsc_invoke_resource?
chef_chef
train
rb
773316f34dd3aead7ae6675568dbc29244a4e79f
diff --git a/lib/knapsack/adapters/minitest_adapter.rb b/lib/knapsack/adapters/minitest_adapter.rb index <HASH>..<HASH> 100644 --- a/lib/knapsack/adapters/minitest_adapter.rb +++ b/lib/knapsack/adapters/minitest_adapter.rb @@ -59,6 +59,7 @@ module Knapsack method_object = obj.method(test_method_name) ...
Add comment how test path will look like
ArturT_knapsack
train
rb
aa4e235e68669e72f4c287e605ebead53a875275
diff --git a/lib/beta_builder/deployment_strategies/web.rb b/lib/beta_builder/deployment_strategies/web.rb index <HASH>..<HASH> 100644 --- a/lib/beta_builder/deployment_strategies/web.rb +++ b/lib/beta_builder/deployment_strategies/web.rb @@ -18,7 +18,7 @@ module BetaBuilder end def prepare - ...
Get these out of the built location, not the deploy payload section.
olarivain_xcodebuilder
train
rb
426f6708f1eca502b0526cd77068aa4d0e2d2d63
diff --git a/tasks/port-pick.js b/tasks/port-pick.js index <HASH>..<HASH> 100644 --- a/tasks/port-pick.js +++ b/tasks/port-pick.js @@ -65,7 +65,7 @@ module.exports = function(grunt) { function(callback){ if(pp.usePorts && pp.usePorts.length > 0) { var foundPort = pp.usePorts.shift() - ...
Properly handle ports as strings Some ports can be strings when parsing port data from the command line. This prevents 1 from being appended to the port string and properly adds it to the port number.
devaos_grunt-port-pick
train
js
4db0e0b545b5c13354445d91fedb20c743ac357a
diff --git a/src/BinaryReader.php b/src/BinaryReader.php index <HASH>..<HASH> 100644 --- a/src/BinaryReader.php +++ b/src/BinaryReader.php @@ -99,7 +99,7 @@ class BinaryReader } /** - * @return int + * @return string */ public function getEndian() {
Scrutinizer Auto-Fixes This patch was automatically generated as part of the following inspection: <URL>
mdurrant_php-binary-reader
train
php
f12e2a41fabe03048c8facdf31b1840fc4d7efd1
diff --git a/theanets/layers.py b/theanets/layers.py index <HASH>..<HASH> 100644 --- a/theanets/layers.py +++ b/theanets/layers.py @@ -1396,6 +1396,11 @@ class Bidirectional(Layer): self.params = [self.forward.params, self.backward.params] super(Bidirectional, self).__init__(size=size, name=name, **kw...
Override num_params for bidirectional layers.
lmjohns3_theanets
train
py
a39ce7fdcf5e7aa432917e86c4a244b742fa587f
diff --git a/Controller/PageLayoutController.php b/Controller/PageLayoutController.php index <HASH>..<HASH> 100644 --- a/Controller/PageLayoutController.php +++ b/Controller/PageLayoutController.php @@ -57,11 +57,12 @@ class PageLayoutController extends Controller * @param string $region * @param string|boo...
Add possibility to define block specific params in region controller
netgen_site-bundle
train
php
03014b9db310d82bee35adee2630f426b73c142f
diff --git a/src/Modal.js b/src/Modal.js index <HASH>..<HASH> 100644 --- a/src/Modal.js +++ b/src/Modal.js @@ -41,14 +41,14 @@ export default class ReactModal2 extends React.Component { componentDidMount() { if (ExecutionEnvironment.canUseDOM) { setFocusOn(ReactModal2.getApplicationElement(), this.refs.m...
Remove unnecessary `bind` on `keydown` handler
cloudflare_react-modal2
train
js
63a0abb0a5863e6cbb19919eb7f5438b8711e142
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -6,7 +6,3 @@ const fs = require('fs'); // .pipe(fs.createWriteStream('ring.mp3')); snekfetch.get('https://httpbin.org/redirect/1').then(console.log); - - -snekfetch.get('https://discordapp.com/assets/b941...
add sync requests for memes not real usage
devsnek_snekfetch
train
js
9a37bc112a0f1a12ccb0a87b0bf605c105729c3e
diff --git a/test/Gitlab/Tests/IntegrationTest.php b/test/Gitlab/Tests/IntegrationTest.php index <HASH>..<HASH> 100644 --- a/test/Gitlab/Tests/IntegrationTest.php +++ b/test/Gitlab/Tests/IntegrationTest.php @@ -16,7 +16,7 @@ class IntegrationTest extends TestCase ->repositories() ->contributor...
Fixed tests on PHP <I> and <I>
m4tthumphrey_php-gitlab-api
train
php
80b2aff957a5569826fabd9c1959885385f6a637
diff --git a/spec/status_message_spec.rb b/spec/status_message_spec.rb index <HASH>..<HASH> 100644 --- a/spec/status_message_spec.rb +++ b/spec/status_message_spec.rb @@ -193,9 +193,9 @@ module SadPanda expect(status_message.emotion.class).to eql(String) end - context "when status_message == 'I am paralyze...
Add tests to spec/status_message_spec.rb
mattThousand_sad_panda
train
rb
64e49726cd9ef7912a8017ccc668563568a5418c
diff --git a/mod/mod.go b/mod/mod.go index <HASH>..<HASH> 100644 --- a/mod/mod.go +++ b/mod/mod.go @@ -3,6 +3,7 @@ package mod import ( "net/http" + "path" "github.com/coreos/etcd/mod/dashboard" "github.com/gorilla/mux" @@ -10,9 +11,16 @@ import ( var ServeMux *http.Handler +func addSlash(w http.Respons...
fix(mod): redirect dashboard to /dashboard
etcd-io_etcd
train
go
498785221b73228078ca689209b8942f80e96fd6
diff --git a/View/View.php b/View/View.php index <HASH>..<HASH> 100644 --- a/View/View.php +++ b/View/View.php @@ -51,7 +51,7 @@ class View * @param int $statusCode * @param array $headers * - * @return \FOS\RestBundle\View\View + * @return static */ public static function create(...
Change docblock return value to 'static' When creating a new instance using the 'static' keyword but the docblock uses the class name, autocomplete can't figure out the late static binding. Changing this to 'static' fixes this.
FriendsOfSymfony_FOSRestBundle
train
php
1cec860503d8a9cb5d2b488880bb2ab5b210fc02
diff --git a/closure/goog/testing/events/events_test.js b/closure/goog/testing/events/events_test.js index <HASH>..<HASH> 100644 --- a/closure/goog/testing/events/events_test.js +++ b/closure/goog/testing/events/events_test.js @@ -374,7 +374,8 @@ function testKeySequenceCancellingKeyup() { function testKeySequenceWith...
Fix events_test for Edge. It purposely does not fire keypress. See events/keycodes.js:<I> ------------- Created by MOE: <URL>
google_closure-library
train
js
a9005c6fad376fc68755c675dc24facc551bb119
diff --git a/tasks/hb2.js b/tasks/hb2.js index <HASH>..<HASH> 100644 --- a/tasks/hb2.js +++ b/tasks/hb2.js @@ -279,8 +279,8 @@ const normalizeWinPath = (filePath) => { const prepareTemplateDataForIndexr = () => { const sortedTemplates = []; const blacklistedTemplates = [ - path.join(config.global.cwd, config.glob...
fixed win path bug in template blacklist
biotope_biotope-build
train
js
4b72cfd958de5f6c18a4e39589967ad98cd4ed8e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -86,7 +86,7 @@ if stale_egg_info.exists(): # 2. once modified, run: `make deps_table_update` to update src/transformers/dependency_versions_table.py _deps = [ "Pillow", - "black>=20.8b1", + "black==20.8b1", "...
Pin black to <I>.b1
huggingface_pytorch-pretrained-BERT
train
py
223047033208e0cbbd1ea80a450767dd40d7b5e1
diff --git a/src/BEAR/Package/Provide/TemplateEngine/Twig/TwigAdapter.php b/src/BEAR/Package/Provide/TemplateEngine/Twig/TwigAdapter.php index <HASH>..<HASH> 100644 --- a/src/BEAR/Package/Provide/TemplateEngine/Twig/TwigAdapter.php +++ b/src/BEAR/Package/Provide/TemplateEngine/Twig/TwigAdapter.php @@ -10,6 +10,9 @@ nam...
Add use statements for annotation class to TwigAdapter
bearsunday_BEAR.Package
train
php
5e4471a9524c2a0ed0ad5d9e65ce7633e059b40f
diff --git a/src/Symfony/Component/Validator/Constraints/ExpressionLanguageSyntaxValidator.php b/src/Symfony/Component/Validator/Constraints/ExpressionLanguageSyntaxValidator.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Validator/Constraints/ExpressionLanguageSyntaxValidator.php +++ b/src/Symfony/Compone...
Throw error with debug message when ExpressionLanguage Component is not installed
symfony_symfony
train
php
2a853dc86cbc70ea2e0b38e960e55ba4d7dd5bbc
diff --git a/angularFire.js b/angularFire.js index <HASH>..<HASH> 100644 --- a/angularFire.js +++ b/angularFire.js @@ -33,7 +33,7 @@ AngularFire.prototype = { deferred = false; } self._remoteValue = ret; - if (snap && snap.val()) { + if (snap && snap.val() != undefined) { var v...
Another instance where we mean undefined, not false
firebase_angularfire
train
js
d53975a6e1206e1101cfdb64ab3b5aadde0c5c31
diff --git a/lib/preflight/profile.rb b/lib/preflight/profile.rb index <HASH>..<HASH> 100644 --- a/lib/preflight/profile.rb +++ b/lib/preflight/profile.rb @@ -43,8 +43,6 @@ module Preflight else raise ArgumentError, "input must be a string with a filename or an IO object" end - rescue ...
fix detection of encrypted files with a blank user password
yob_pdf-preflight
train
rb,rb
e6202bc629ae95ae35983a0561561bae9aeb7683
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,6 +31,6 @@ setup( 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Software Development :: Libraries :: Python Modules', - ...
FIX: Correct bad classifier in setup.py
bskinn_stdio-mgr
train
py
47484d5a71e9ea52f854ec7f3d03ec28ba77ad62
diff --git a/decidim-meetings/spec/system/meeting_registrations_spec.rb b/decidim-meetings/spec/system/meeting_registrations_spec.rb index <HASH>..<HASH> 100644 --- a/decidim-meetings/spec/system/meeting_registrations_spec.rb +++ b/decidim-meetings/spec/system/meeting_registrations_spec.rb @@ -211,7 +211,7 @@ describe ...
Fix broken test on meetings after merging PR without rebase (#<I>)
decidim_decidim
train
rb
c0b5f076dfe8869bdb0fef702b159b9e55ea567b
diff --git a/extensions/bokeh_magic.py b/extensions/bokeh_magic.py index <HASH>..<HASH> 100644 --- a/extensions/bokeh_magic.py +++ b/extensions/bokeh_magic.py @@ -12,6 +12,7 @@ from IPython.core.magic import (Magics, magics_class, line_magic) from IPython.testing.skipdoctest import skip_doctest +#from IPython.core....
Handled detection of missing plots in cells to avoid traceback whe show is called.
bokeh_bokeh
train
py
9bd94b6940d0fe909f69a8bc6bc53ad89e751795
diff --git a/lib/matestack/ui/core/engine.rb b/lib/matestack/ui/core/engine.rb index <HASH>..<HASH> 100644 --- a/lib/matestack/ui/core/engine.rb +++ b/lib/matestack/ui/core/engine.rb @@ -10,6 +10,16 @@ module Matestack # end # Rails.configuration.autoload_paths << Dir.glob(File.join(Rails.root, 'c...
Sketch of auto requiring a central register_components file in rails Tested it quickly with the dummy app and seemed to work. Should probably make name configurable, definitely needs to be documented and maybe a better name :)
basemate_matestack-ui-core
train
rb
29477e18f81671a181f758a57581d6827c7a8e9c
diff --git a/activejdbc/src/main/java/org/javalite/activejdbc/Model.java b/activejdbc/src/main/java/org/javalite/activejdbc/Model.java index <HASH>..<HASH> 100644 --- a/activejdbc/src/main/java/org/javalite/activejdbc/Model.java +++ b/activejdbc/src/main/java/org/javalite/activejdbc/Model.java @@ -103,11 +103,6 @@ publ...
activejdbc-<I> #<I> - Remove outdated TODO about documenting CLOB interaction with Cached models
javalite_activejdbc
train
java
f85650e8875e9fa6fca956d79a0d2b917e0d7078
diff --git a/addon/components/dropzone-widget/component.js b/addon/components/dropzone-widget/component.js index <HASH>..<HASH> 100644 --- a/addon/components/dropzone-widget/component.js +++ b/addon/components/dropzone-widget/component.js @@ -1,4 +1,6 @@ import Ember from 'ember'; +import config from 'ember-get-config...
Support cookie auth in dropzone widget Replace hardcoded auth type with configurable settings and required ajax config [ci skip] [#PREP-<I>]
CenterForOpenScience_ember-osf
train
js
4acc8c8be1971112be45e0feb7fb7eddbfc9d247
diff --git a/src/platforms/web/runtime/directives/model.js b/src/platforms/web/runtime/directives/model.js index <HASH>..<HASH> 100644 --- a/src/platforms/web/runtime/directives/model.js +++ b/src/platforms/web/runtime/directives/model.js @@ -3,9 +3,11 @@ * properties to Elements. */ -import { looseEqual, looseIn...
fix(v-model): use consistent behavior during IME composition for other text-like input types (fix #<I>)
IOriens_wxml-transpiler
train
js
71caedf7dfe527d6f583b2d3165581f727223de4
diff --git a/src/settings.py b/src/settings.py index <HASH>..<HASH> 100755 --- a/src/settings.py +++ b/src/settings.py @@ -107,4 +107,7 @@ INTERNAL_IPS = ('127.0.0.1',) DEBUG_TOOLBAR_CONFIG = { 'INTERCEPT_REDIRECTS': False, -} \ No newline at end of file +} + +import unittest2 +unittest2.TestLoader.testMethodPr...
changed test method prefix to 'should'
madisona_django-contact-form
train
py
8e089fe63bc3768f6724f97175555be3b76d05f8
diff --git a/framework/Routing/Router.php b/framework/Routing/Router.php index <HASH>..<HASH> 100644 --- a/framework/Routing/Router.php +++ b/framework/Routing/Router.php @@ -596,6 +596,12 @@ class Router implements RouterContract $newRoute->setDynamic(true); ...
Fixing controller base secure setting not being applied to action routes.
valkyrjaio_valkyrja
train
php
33147481b7e2726ce92421211f235fd95baf5e9f
diff --git a/abydos/phonetic/_double_metaphone.py b/abydos/phonetic/_double_metaphone.py index <HASH>..<HASH> 100644 --- a/abydos/phonetic/_double_metaphone.py +++ b/abydos/phonetic/_double_metaphone.py @@ -232,7 +232,7 @@ class DoubleMetaphone(_Phonetic): current = 0 length = len(word) if le...
DM should always return 2 values, even if both are empty
chrislit_abydos
train
py
d4f17af1a8187f2c4bdcfd74a93c89583d7eea6d
diff --git a/lib/ichiban/scripts.rb b/lib/ichiban/scripts.rb index <HASH>..<HASH> 100644 --- a/lib/ichiban/scripts.rb +++ b/lib/ichiban/scripts.rb @@ -64,8 +64,10 @@ module Ichiban ) ) compiler.ivars = {:_current_path => web_path}.merge(ivars) - html = compiler.compile_to_str - File.ope...
Added mkdir_p to Script#generate
jarrett_ichiban
train
rb,rb
4a0f40ec2d3eeed6d37400f2e1aef1d403c374aa
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -115,6 +115,8 @@ def run_setup(exts): "spacy.en": ["*.pxd", "data/pos/*", "data/wordnet/*", "data/tokenizer/*", "data/vocab/lexemes...
* Ensure data is packaged in vocab
explosion_spaCy
train
py
1277224db92096dc9c202d533e1600bb749d9f6a
diff --git a/app/models/Node.java b/app/models/Node.java index <HASH>..<HASH> 100644 --- a/app/models/Node.java +++ b/app/models/Node.java @@ -391,7 +391,9 @@ public class Node extends ClusterEntity { .path("/system/metrics/namespace/{0}", namespace) .expect(200, 404) ...
don't NPE on missing metric
Graylog2_graylog2-server
train
java
5874ac05cd55bc1e2bac1cddee1c4ee20ec1f4e5
diff --git a/lxd/network/driver_ovn.go b/lxd/network/driver_ovn.go index <HASH>..<HASH> 100644 --- a/lxd/network/driver_ovn.go +++ b/lxd/network/driver_ovn.go @@ -277,7 +277,7 @@ func (n *ovn) Validate(config map[string]string) error { } // If NAT disabled, parse the external subnets that are being requested. - v...
lxd/network/driver/ovn: Improve comments in Validate
lxc_lxd
train
go
30dbb21a43f625cd32ce9f2086c3d48ec8303cf7
diff --git a/spec/mongoid/contextual/aggregable/mongo_spec.rb b/spec/mongoid/contextual/aggregable/mongo_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mongoid/contextual/aggregable/mongo_spec.rb +++ b/spec/mongoid/contextual/aggregable/mongo_spec.rb @@ -110,6 +110,56 @@ describe Mongoid::Contextual::Aggregable::Mongo ...
Add specs to exhibit strange behavior when aggregating on field that doesn't always exist
mongodb_mongoid
train
rb
fd319adb9a934ded81616cb11c657d6f2b648940
diff --git a/phono3py/api_jointdos.py b/phono3py/api_jointdos.py index <HASH>..<HASH> 100644 --- a/phono3py/api_jointdos.py +++ b/phono3py/api_jointdos.py @@ -268,7 +268,11 @@ class Phono3pyJointDos: self._jdos.temperature = temperature for ib, freq_indices in enumerate(batch...
Minor update of JDOS for stdout
atztogo_phono3py
train
py
f423174d0b60468022c96a7e4d90a829671b815f
diff --git a/core/src/main/java/jenkins/util/JSONSignatureValidator.java b/core/src/main/java/jenkins/util/JSONSignatureValidator.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/jenkins/util/JSONSignatureValidator.java +++ b/core/src/main/java/jenkins/util/JSONSignatureValidator.java @@ -77,8 +77,11 @@ public...
Additional safety as an addendum to <I>b4bf<I>ad<I>eb<I>de3f0cdb<I>a<I>fd1b<I>
jenkinsci_jenkins
train
java
212c1ee32c6ec7692f7492388e46145c44de7fbc
diff --git a/chef/lib/chef/platform.rb b/chef/lib/chef/platform.rb index <HASH>..<HASH> 100644 --- a/chef/lib/chef/platform.rb +++ b/chef/lib/chef/platform.rb @@ -130,6 +130,7 @@ class Chef pmap = Chef::Platform.find(platform, version) rtkey = resource_type if resource_type.kind_of?(Chef::Res...
If we have a specific provider for a resource, always use it.
chef_chef
train
rb
9831652b7e4c91574f9edfc7ca008cca4e41839a
diff --git a/generator/src/lib/parsers.py b/generator/src/lib/parsers.py index <HASH>..<HASH> 100644 --- a/generator/src/lib/parsers.py +++ b/generator/src/lib/parsers.py @@ -74,7 +74,10 @@ class SwaggerURLParser(object): if response.status_code != 200: Printer.raiseError("[HTTP %s] Could not acce...
Added try/except to prevent malformed json
nuagenetworks_monolithe
train
py
7c4383b12d1c2e3bd20e7dfaadf501a74a935d1c
diff --git a/rejected.py b/rejected.py index <HASH>..<HASH> 100755 --- a/rejected.py +++ b/rejected.py @@ -384,12 +384,12 @@ class MasterControlProgram: # Make sure the thread is still alive, otherwise remove it and move on if not binding['threads'][x].isAlive(): - ...
Fix a bug in how we document dead threads
gmr_rejected
train
py
13cd633d6e73a3ed343ba552764c15834fa61c65
diff --git a/jicimagelib/image.py b/jicimagelib/image.py index <HASH>..<HASH> 100644 --- a/jicimagelib/image.py +++ b/jicimagelib/image.py @@ -218,10 +218,6 @@ class ImageProxy(object): def image(self): """Return image as numpy.ndarray.""" return Image.from_file(self.fpath) -# tif = TIFF.op...
Removed lines that were commented out.
JIC-CSB_jicimagelib
train
py
dffa19354f3e55f8a4701c8ff24166ccdfc90174
diff --git a/public/js/content.js b/public/js/content.js index <HASH>..<HASH> 100644 --- a/public/js/content.js +++ b/public/js/content.js @@ -1,5 +1,4 @@ apos.widgetPlayers.facebook = function($el) { - // N.B. Even though this is a player, it's not getting refreshed // once it's been created. Hrmmm. @@ -7,10 ...
Updated to new afterLoader style
apostrophecms-legacy_apostrophe-facebook
train
js
a0762ae03173c3e0d16924cc90c0a484a8d07ad5
diff --git a/scripts/release_config.js b/scripts/release_config.js index <HASH>..<HASH> 100644 --- a/scripts/release_config.js +++ b/scripts/release_config.js @@ -7,7 +7,7 @@ const _ = require("lodash") const packagePath = path.join(__dirname, "../package.json") const changeLogPath = path.join(__dirname, "../CHANGE...
Fix release script for new file name.
bd82_regexp-to-ast
train
js
b1d98f7c9bf4a7adbf8051d691970a1bca86a478
diff --git a/lib/capybara/session.rb b/lib/capybara/session.rb index <HASH>..<HASH> 100644 --- a/lib/capybara/session.rb +++ b/lib/capybara/session.rb @@ -331,7 +331,7 @@ module Capybara new_scope = args.first.respond_to?(:to_capybara_node) ? args.first.to_capybara_node : find(*args) begin scopes...
within_* methods don't yield if no block given
teamcapybara_capybara
train
rb
94fc61749913790b84e70563ebe0cf211a2b5dca
diff --git a/src/createDispatcher.js b/src/createDispatcher.js index <HASH>..<HASH> 100644 --- a/src/createDispatcher.js +++ b/src/createDispatcher.js @@ -38,15 +38,7 @@ export default function createDispatcher(opts = {}) { const cache = [] const state = [] - let scheduler - switch (opts.scheduler) { - cas...
Allow any kind of Rx Scheduler
kitten_fluorine
train
js
d8d946b2ad73db0001bcb2ab217aed405c263f60
diff --git a/src/viewer/AusGlobeViewer.js b/src/viewer/AusGlobeViewer.js index <HASH>..<HASH> 100644 --- a/src/viewer/AusGlobeViewer.js +++ b/src/viewer/AusGlobeViewer.js @@ -359,6 +359,12 @@ DrawExtentHelper.prototype.handleRegionStart = function (movement) { this._mouseHandler.setInputAction(function (moveme...
Fix hang during shift-drag-zooming. Fixes #<I>.
TerriaJS_terriajs
train
js
07ce413ce8dbb1476de5d34c2d1b8816d6aaf88c
diff --git a/ui/app/mixins/window-resizable.js b/ui/app/mixins/window-resizable.js index <HASH>..<HASH> 100644 --- a/ui/app/mixins/window-resizable.js +++ b/ui/app/mixins/window-resizable.js @@ -2,7 +2,6 @@ import Mixin from '@ember/object/mixin'; import { run } from '@ember/runloop'; import { assert } from '@ember/d...
Remove jquery from the window resize helper
hashicorp_nomad
train
js
0ce67420500e62637e5aa0dfcd438d1ace407e3f
diff --git a/pytablewriter/writer/text/_markdown.py b/pytablewriter/writer/text/_markdown.py index <HASH>..<HASH> 100644 --- a/pytablewriter/writer/text/_markdown.py +++ b/pytablewriter/writer/text/_markdown.py @@ -31,7 +31,7 @@ class MarkdownTableWriter(IndentationTextTableWriter): return True def __in...
Made it possible to set flavor as a keyword argument of MarkdownTableWriter constructor
thombashi_pytablewriter
train
py
b36164c7c78f345b97522565592625b310b39913
diff --git a/src/rosasurfer/dao/PersistableObject.php b/src/rosasurfer/dao/PersistableObject.php index <HASH>..<HASH> 100644 --- a/src/rosasurfer/dao/PersistableObject.php +++ b/src/rosasurfer/dao/PersistableObject.php @@ -102,7 +102,7 @@ abstract class PersistableObject extends Object { * @return string - version...
initialize $version with GMT instead of local time
rosasurfer_ministruts
train
php
0481ef25372200d55e4c7c561c7ea8d8ca156481
diff --git a/core/file-tree/index.js b/core/file-tree/index.js index <HASH>..<HASH> 100644 --- a/core/file-tree/index.js +++ b/core/file-tree/index.js @@ -221,7 +221,7 @@ var updateFileTree = module.exports.updateFileTree = function (data, unflattenDa }, config.busyTimeout); } else { var prevData...
improve dataStoragePath resolving
sourcejs_Source
train
js
3de7d3435de1af0d2e142185b12553aacc58fc42
diff --git a/ev3dev/motor.py b/ev3dev/motor.py index <HASH>..<HASH> 100644 --- a/ev3dev/motor.py +++ b/ev3dev/motor.py @@ -726,12 +726,20 @@ class Motor(Device): return self.wait(lambda state: s not in state, timeout) def _set_position_rotations(self, speed_pct, rotations): + + # +/- speed is use...
motor: assert to validate rotations and degrees
ev3dev_ev3dev-lang-python
train
py
813f7f3c0f05889c90f3f49c990a88639972a0b9
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,10 +9,10 @@ _PACKAGES = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]) _INSTALL_REQUIRES = [ 'pylint>=1.3', 'pylint-celery>=0.3', - 'pylint-django>=0.5', - 'pylint-plugin-utils>=0.2.1',...
Increasing required version of some dependencies
PyCQA_prospector
train
py
b95cb2ece3e18640092b7be8f7732a427b7664e7
diff --git a/src/JwtAuthGuard.php b/src/JwtAuthGuard.php index <HASH>..<HASH> 100644 --- a/src/JwtAuthGuard.php +++ b/src/JwtAuthGuard.php @@ -2,7 +2,7 @@ namespace Irazasyed\JwtAuthGuard; -use Tymon\JWTAuth\JWT; +use Tymon\JWTAuth\JWTAuth; use Illuminate\Http\Request; use Illuminate\Auth\GuardHelpers; use Illu...
Change dependency from JWT to JWTAuth to work with newer version
irazasyed_jwt-auth-guard
train
php
15bbb28865fa1a259e4d61b85604dea1c5f2f249
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index <HASH>..<HASH> 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -1440,7 +1440,7 @@ class GroupBy(_GroupBy): def rolling(self, *args, **kwargs): """ Return a rolling grouper, providing rolling - functionai...
DOC: small typo fix (#<I>)
pandas-dev_pandas
train
py
cb14614c4bb4361611f269117e4eb7239923c0f2
diff --git a/tests/unit/components/sl-chart-test.js b/tests/unit/components/sl-chart-test.js index <HASH>..<HASH> 100755 --- a/tests/unit/components/sl-chart-test.js +++ b/tests/unit/components/sl-chart-test.js @@ -116,7 +116,7 @@ test( '"Options" property needs to be an object', function( assert ) { try { ...
fixed wrong proptery assignment in unit tests
softlayer_sl-ember-components
train
js
a48956e887ee6568d51d00ef5b00e9f6cdfd8e96
diff --git a/middleware/protect.js b/middleware/protect.js index <HASH>..<HASH> 100644 --- a/middleware/protect.js +++ b/middleware/protect.js @@ -6,7 +6,7 @@ function forceLogin(keycloak, request, response) { var port = headerHost[1] || ''; var protocol = request.protocol; - var redirectUrl = protocol + '://'...
Changed redirect URL to use originalUrl instead of url as it was stripping the baseUrl
keycloak_keycloak-nodejs-connect
train
js
035d1108375434d6a6bd909fa87c397231a81723
diff --git a/discord/gateway.py b/discord/gateway.py index <HASH>..<HASH> 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -293,10 +293,10 @@ class DiscordWebSocket: def is_ratelimited(self): return self._rate_limiter.is_ratelimited() - def log_receive(self, data, /): + def debug_log_re...
Fix debug event toggle not triggering for raw receive
Rapptz_discord.py
train
py
c15e90b9e3873b8729c330a81e98b11208433152
diff --git a/src/Devture/Bundle/UserBundle/ServicesProvider.php b/src/Devture/Bundle/UserBundle/ServicesProvider.php index <HASH>..<HASH> 100644 --- a/src/Devture/Bundle/UserBundle/ServicesProvider.php +++ b/src/Devture/Bundle/UserBundle/ServicesProvider.php @@ -158,7 +158,10 @@ class ServicesProvider implements Servic...
Register templates at a custom namespace too This makes it possible for a person to override a template (by putting a directory on the path that matches it) and to allow that same template to extend the original by doing: {% extends '@DevtureUserBundle/DevtureUserBundle/template.html.twig' %} That's a solution t...
devture_silex-user-bundle
train
php
b0adb138e72f8fb9db3b1a6c404116ee5a22a2e3
diff --git a/glances/outputs/static/js/services/favicon.js b/glances/outputs/static/js/services/favicon.js index <HASH>..<HASH> 100644 --- a/glances/outputs/static/js/services/favicon.js +++ b/glances/outputs/static/js/services/favicon.js @@ -1,13 +1,11 @@ import angular from "angular"; -import Favico from 'favico.j...
on favicon.js, move the export default to the end and update simple quote to double quote
nicolargo_glances
train
js
fb38ce76b7acaeaa180773b4eaf23c2cacb6ac27
diff --git a/test/core/reporters/raw-env.js b/test/core/reporters/raw-env.js index <HASH>..<HASH> 100644 --- a/test/core/reporters/raw-env.js +++ b/test/core/reporters/raw-env.js @@ -1,4 +1,3 @@ -/*global helpers */ describe('reporters - raw-env', function() { 'use strict'; @@ -133,9 +132,12 @@ describe('reporters...
test: fix flakey test (#<I>) * test: fix flakey test * copy test from v1 reporter
dequelabs_axe-core
train
js
56e709e7545f8e3702a9633677b6dd62c13d493f
diff --git a/tang/src/main/java/com/microsoft/tang/StaticConfiguration.java b/tang/src/main/java/com/microsoft/tang/StaticConfiguration.java index <HASH>..<HASH> 100644 --- a/tang/src/main/java/com/microsoft/tang/StaticConfiguration.java +++ b/tang/src/main/java/com/microsoft/tang/StaticConfiguration.java @@ -90,14 +90...
add static configuration constructor for named instances
apache_reef
train
java
5a67b175f05962a50a225e94a1e8e2f9cdaf8831
diff --git a/slimgen.py b/slimgen.py index <HASH>..<HASH> 100755 --- a/slimgen.py +++ b/slimgen.py @@ -46,10 +46,12 @@ aba_map = { def aba_trips(node_d): output = [] parent = 'MBA:' + str(node_d['id']) # FIXME HRM what happens if we want to change ABA: OH LOOK - for key, edge in aba_map.items(): + fo...
updated mbaslim gen to skip syns that match labs
tgbugs_pyontutils
train
py
a82d06d3fbdd3c91f1929013dd0c77524f9d2f80
diff --git a/pkg/apis/kops/validation/validation.go b/pkg/apis/kops/validation/validation.go index <HASH>..<HASH> 100644 --- a/pkg/apis/kops/validation/validation.go +++ b/pkg/apis/kops/validation/validation.go @@ -1048,9 +1048,8 @@ func validateExternalPolicies(role string, policies []string, fldPath *field.Pat func ...
Prevent creation of unsupported etcd clusters
kubernetes_kops
train
go
3c96dc8d8c9b583db1ee8cff991a35ab6aea7875
diff --git a/src/Page.php b/src/Page.php index <HASH>..<HASH> 100755 --- a/src/Page.php +++ b/src/Page.php @@ -315,7 +315,8 @@ class Page extends Navigation implements PageInterface */ public function addBadge($value, \Closure $closure = null) { - $this->badge = app(BadgeInterface::class, [$value...
laravel <I> support
KodiComponents_Navigation
train
php
d181885ed2387df558b311334a567f77ad773526
diff --git a/lib/simple_calendar/view_helpers.rb b/lib/simple_calendar/view_helpers.rb index <HASH>..<HASH> 100644 --- a/lib/simple_calendar/view_helpers.rb +++ b/lib/simple_calendar/view_helpers.rb @@ -38,9 +38,10 @@ module SimpleCalendar end def draw_calendar(selected_month, month, current_date) + ...
added a few classes for twitterbootsrap
excid3_simple_calendar
train
rb
8f3dae338c45136d29b4ba42aa4e035ebb5090d7
diff --git a/structr-ui/src/main/java/org/structr/web/entity/mail/MailTemplate.java b/structr-ui/src/main/java/org/structr/web/entity/mail/MailTemplate.java index <HASH>..<HASH> 100644 --- a/structr-ui/src/main/java/org/structr/web/entity/mail/MailTemplate.java +++ b/structr-ui/src/main/java/org/structr/web/entity/mail...
added locale Property to uiView
structr_structr
train
java
1a6d4a2fc2cd2faee67ca177dae78c83d5ec300a
diff --git a/src/geo/ui/overlays-view.js b/src/geo/ui/overlays-view.js index <HASH>..<HASH> 100644 --- a/src/geo/ui/overlays-view.js +++ b/src/geo/ui/overlays-view.js @@ -28,9 +28,7 @@ var OverlaysView = View.extend({ visView: this._visView }); - this._visModel.on('change:loading', this._toggleLoaderOv...
Extract events to _initBinds
CartoDB_carto.js
train
js
4fc8feeadfce274eb5bd0740dd2a5eac2debd1b0
diff --git a/main.go b/main.go index <HASH>..<HASH> 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( type jsonOutput struct { LayerCount int - Vulnerabilities []clair.Vulnerability + Vulnerabilities map[string][]clair.Vulnerability } var priorities = []string{"Unknown", "Negligible", "Low", "...
support filtering vulnerabilities for json output
optiopay_klar
train
go
2f4401a578c5b2175ecb301033bff7b7736fdc37
diff --git a/bxml/__init__.py b/bxml/__init__.py index <HASH>..<HASH> 100644 --- a/bxml/__init__.py +++ b/bxml/__init__.py @@ -1,2 +1,10 @@ + import os +from bl.dict import Dict +from .xml import XML + +NS = Dict(**{ + "bl": "http:blackearth.us/xml", +}) + JARS = os.path.join(os.path.dirname(os.path.abspath(__file...
include NS in bxml init
BlackEarth_bxml
train
py
ae2c49b33f92e84040895301ff7547e46380ddf0
diff --git a/ignite/metrics/frequency.py b/ignite/metrics/frequency.py index <HASH>..<HASH> 100644 --- a/ignite/metrics/frequency.py +++ b/ignite/metrics/frequency.py @@ -15,7 +15,7 @@ class Frequency(Metric): .. code-block:: python # Compute number of tokens processed - wps_metric = ...
Update frequency.py (#<I>)
pytorch_ignite
train
py
b2851a5e4bf5b7e5f66a19bcaef076305bdc6b8b
diff --git a/src/s2repoze/plugins/sp.py b/src/s2repoze/plugins/sp.py index <HASH>..<HASH> 100644 --- a/src/s2repoze/plugins/sp.py +++ b/src/s2repoze/plugins/sp.py @@ -90,7 +90,7 @@ class SAML2Plugin(FormPluginBase): self.outstanding_queries = shelve.open(sid_store, writeback=True) else: ...
Should have used one or the other, ended up somewhere inbetween fixed that
IdentityPython_pysaml2
train
py
7dbbd0a22aefa16f189aeeb788dca67fd21c6e32
diff --git a/lib/mongoid_nested_set/base.rb b/lib/mongoid_nested_set/base.rb index <HASH>..<HASH> 100644 --- a/lib/mongoid_nested_set/base.rb +++ b/lib/mongoid_nested_set/base.rb @@ -94,7 +94,9 @@ module Mongoid scope :leaves, lambda { where("this.#{quoted_right_field_name} - this.#{quot...
Changed a proc to a lambda
thinkwell_mongoid_nested_set
train
rb
ecbca9eb171b9a1f978b9676595db1dac181fa90
diff --git a/pkg/apiserver/api_installer.go b/pkg/apiserver/api_installer.go index <HASH>..<HASH> 100644 --- a/pkg/apiserver/api_installer.go +++ b/pkg/apiserver/api_installer.go @@ -320,9 +320,11 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag actions = appendIf(actions, action{...
Allow v1beta3 to POST events to all namespaces A namespaced resource that supports ALL may allow creation on the root (all namespaces) collection, thus adding POST here. We need to better formalize the definition of calls on namespaced resources at the root scope, so Storage objects that do not support that call patt...
kubernetes_kubernetes
train
go
2bba86f75d193ec9fcc9c86cbd656b133edba545
diff --git a/packages/vaex-core/vaex/column.py b/packages/vaex-core/vaex/column.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/column.py +++ b/packages/vaex-core/vaex/column.py @@ -74,9 +74,10 @@ class ColumnIndexed(Column): self.dtype = self.df.dtype(name) self.shape = (len(indices),) ...
perf(core): don't check the index on the indexed column
vaexio_vaex
train
py
4403dfd5ebb2c5f78516c7a317ce5983ccbae975
diff --git a/lib/plugins/sustainable/index.js b/lib/plugins/sustainable/index.js index <HASH>..<HASH> 100644 --- a/lib/plugins/sustainable/index.js +++ b/lib/plugins/sustainable/index.js @@ -76,9 +76,6 @@ module.exports = { 'data', 'url2green.json' ); - const greenDomainLis...
Only load the domain JSON when needed. (#<I>)
sitespeedio_sitespeed.io
train
js
bc94d136ac6811fcbbfa0c1106b562f75f17131c
diff --git a/action/Request.php b/action/Request.php index <HASH>..<HASH> 100644 --- a/action/Request.php +++ b/action/Request.php @@ -259,7 +259,7 @@ class Request extends \lithium\net\http\Request { } return false; case 'SERVER_ADDR': - if ($this->_env['SERVER_ADDR'] == '') { + if (empty($this->_e...
Updated to check if LOCAL_ADDR is set in the case that SERVER_ADDR isn't available. Present in IIS <I>
UnionOfRAD_lithium
train
php
3792bc7df8f08cc68eb6acb841a9f2db9cb57095
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ except ImportError: setup( name='apns2', - version='0.1.3', + version='0.2.0', packages=['apns2'], install_requires=dependencies, url='https://github.com/Pr0Ger/PyAPNs2',
version bump -> <I>
Pr0Ger_PyAPNs2
train
py
a6abe1f6fca3b5d6a12ffe0fe51bd0fd8880bb57
diff --git a/rdopkg/utils/cmd.py b/rdopkg/utils/cmd.py index <HASH>..<HASH> 100644 --- a/rdopkg/utils/cmd.py +++ b/rdopkg/utils/cmd.py @@ -54,7 +54,9 @@ def run(cmd, *params, **kwargs): print_output = kwargs.get('print_output', False) env = kwargs.get('env', None) - cmd = [cmd] + list(params) + cmd = ...
Fix #<I>: pkgenv fails with TypeError When we run rdopkg pkgenv we get: TypeError: sequence item 7: expected string or Unicode, int found That happens because one of the params to the command is an integer, which will fail on the join method call. This patch ensure that all the params are strings. Change-Id: Id<...
softwarefactory-project_rdopkg
train
py
75698ff6e64d0d4bd2ae4c992304eb85e10ee495
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,13 +7,13 @@ with open('README.rst', 'r', 'utf-8') as f: setup( name = 'requests-aws4auth', packages = ['requests-aws4auth'], - version = '0.2', + version = '0.3', description = 'Amazon Web Services ver...
Updated setup.py for <I>
sam-washington_requests-aws4auth
train
py
afa5d40a2b9ebea8e7485c0686a96957a8c1f883
diff --git a/app/controllers/subject_types_controller.rb b/app/controllers/subject_types_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/subject_types_controller.rb +++ b/app/controllers/subject_types_controller.rb @@ -1,6 +1,5 @@ class SubjectTypesController < InheritedResources::Base respond_to :h...
removed check_client_ip_address
next-l_enju_subject
train
rb
1a5d10d613b8973a75f44397378d769c79a71171
diff --git a/lib/Form/Processor/ContentTypeFormProcessor.php b/lib/Form/Processor/ContentTypeFormProcessor.php index <HASH>..<HASH> 100644 --- a/lib/Form/Processor/ContentTypeFormProcessor.php +++ b/lib/Form/Processor/ContentTypeFormProcessor.php @@ -167,9 +167,9 @@ class ContentTypeFormProcessor implements EventSubscr...
[PHP] Fixes compatibility issues with PHP <I> caused by 5ed6bb8
ezsystems_repository-forms
train
php
fe527c7235753611ebbd6407545dafab00d3c066
diff --git a/lib/auth.strategies/oauth/oauth.js b/lib/auth.strategies/oauth/oauth.js index <HASH>..<HASH> 100644 --- a/lib/auth.strategies/oauth/oauth.js +++ b/lib/auth.strategies/oauth/oauth.js @@ -39,7 +39,7 @@ module.exports= function(options) { my['authorize_url']= options['authorize_url'] || '/oauth/aut...
Change default realm for OAuth to 'oauth' The documentation comment says the default realm is 'oauth', but the default code was setting it to the string 'realm'. To harmonize the two, I used the more descriptive 'oauth'.
ciaranj_connect-auth
train
js
efeecabee8c03b28a33f06e2d2e142985954eab1
diff --git a/tasks/run.js b/tasks/run.js index <HASH>..<HASH> 100644 --- a/tasks/run.js +++ b/tasks/run.js @@ -60,7 +60,7 @@ function makeTask(grunt) { return; } - if (!opts.itterable && _.find(process.argv, 'run')) { + if (!opts.itterable && _.contains(process.argv, 'run')) { grunt.log.warn(...
_.find doesn't do what I thought
spalger_grunt-run
train
js
fb44356354ddbda00e7d0ff6e645d8fede754f81
diff --git a/openxc/src/main/java/com/openxc/measurements/SteeringWheelAngle.java b/openxc/src/main/java/com/openxc/measurements/SteeringWheelAngle.java index <HASH>..<HASH> 100644 --- a/openxc/src/main/java/com/openxc/measurements/SteeringWheelAngle.java +++ b/openxc/src/main/java/com/openxc/measurements/SteeringWheel...
Define a wider range for the steering wheel angle.
openxc_openxc-android
train
java
7a52cad1284f0947cbc35cf9f2f48d0b432a720e
diff --git a/server/workers/pe_deep_sim.py b/server/workers/pe_deep_sim.py index <HASH>..<HASH> 100644 --- a/server/workers/pe_deep_sim.py +++ b/server/workers/pe_deep_sim.py @@ -10,7 +10,7 @@ def plugin_info(): class PEDeepSim(): def __init__(self): - self.c = zerorpc.Client() + self.c = zerorpc....
just increasing the timeout; hopefully when batch jobs go to generators all timeouts can be removed Former-commit-id: d<I>bb<I>c<I>aa<I>f<I>c<I>cda8a<I>a<I>
SuperCowPowers_workbench
train
py
a40213968586e58156749b3c87552cf7eacf9eea
diff --git a/lib/mongo/uri.rb b/lib/mongo/uri.rb index <HASH>..<HASH> 100644 --- a/lib/mongo/uri.rb +++ b/lib/mongo/uri.rb @@ -155,7 +155,7 @@ module Mongo UNIX = /\/.+.sock?/ # server Regex: capturing, matches host and port server or unix server - serverS = /((?:(?:#{HOSTPORT}|#{UNIX}),?)+)/ + SERVER...
Fix find-and-replace oversight in uri parser
mongodb_mongo-ruby-driver
train
rb
1cb31093ddf37ca509bc02a2ed0f246a2a42f7f4
diff --git a/go/client/ui.go b/go/client/ui.go index <HASH>..<HASH> 100644 --- a/go/client/ui.go +++ b/go/client/ui.go @@ -483,8 +483,8 @@ func NewLoginUI(t libkb.TerminalUI, noPrompt bool) LoginUI { } func (l LoginUI) GetEmailOrUsername(_ context.Context, _ int) (string, error) { - return PromptWithChecker(PromptD...
Change GetEmailOrUsername prompt to just username This is temporary, but for now, only allowing login via username. The Checker changed to just username as well. No protocol changes. CORE-<I> addresses fixing this so that login via email address works again.
keybase_client
train
go
bfab7201b36a9c26d788da92f0233959c176fbc5
diff --git a/server/storage/rethinkdb_models.go b/server/storage/rethinkdb_models.go index <HASH>..<HASH> 100644 --- a/server/storage/rethinkdb_models.go +++ b/server/storage/rethinkdb_models.go @@ -12,7 +12,7 @@ const ( ) var ( - // TufFilesRethinkTable is the table definition of notary server's TUF metadata files...
Changed the comment inconsistency that caused last circleci build to fail
theupdateframework_notary
train
go
64065db2c45a3fcb8ba3b94059ff249141645e6d
diff --git a/pyArango/tests/tests.py b/pyArango/tests/tests.py index <HASH>..<HASH> 100644 --- a/pyArango/tests/tests.py +++ b/pyArango/tests/tests.py @@ -789,7 +789,6 @@ class pyArangoTests(unittest.TestCase): TTLInd2 = pers.ensureTTLIndex(["name3"], 897345) self.assertTrue(TTLInd.infos["id"]...
whitespace change, maybe travis triggers this time?
ArangoDB-Community_pyArango
train
py
5a84a666857c389048f86f2d879a375f8578231d
diff --git a/spinoff/contrib/filetransfer/fileref.py b/spinoff/contrib/filetransfer/fileref.py index <HASH>..<HASH> 100644 --- a/spinoff/contrib/filetransfer/fileref.py +++ b/spinoff/contrib/filetransfer/fileref.py @@ -55,7 +55,7 @@ class FileRef(object): os.path.exists(dst_path) and ...
Made FileRef.fetch be consistent about returning the path of the downloaded (or cached) file
eallik_spinoff
train
py
8c9bb7a215c2add07c378860dd5ef4e1198fe3da
diff --git a/pkg/services/sqlstore/playlist_test.go b/pkg/services/sqlstore/playlist_test.go index <HASH>..<HASH> 100644 --- a/pkg/services/sqlstore/playlist_test.go +++ b/pkg/services/sqlstore/playlist_test.go @@ -3,7 +3,6 @@ package sqlstore import ( - "fmt" "testing" "github.com/grafana/grafana/pkg/models"...
playlist: Improve test (#<I>) * playlist: Improve test
grafana_grafana
train
go
28f63046d1ccac006740b65f6a62570f79bcdd50
diff --git a/src/Obj.js b/src/Obj.js index <HASH>..<HASH> 100644 --- a/src/Obj.js +++ b/src/Obj.js @@ -60,7 +60,26 @@ function keepObjectUpdated(src, dest = {}) { return dest; } -function observedAssign(args) { +// Combine objects a la `Object.assign`, but also for subobjects. +function nestedAssign(...args) { + ...
Initial work on nestedAssign.
rtm_upward
train
js
1d4185b844dd22718562fcfe77d3ad785aa2c8fa
diff --git a/src/Composer/DependencyResolver/SolverProblemsException.php b/src/Composer/DependencyResolver/SolverProblemsException.php index <HASH>..<HASH> 100644 --- a/src/Composer/DependencyResolver/SolverProblemsException.php +++ b/src/Composer/DependencyResolver/SolverProblemsException.php @@ -66,6 +66,10 @@ class ...
Recommend ocramius/package-versions fork if needed to solve dependencies
composer_composer
train
php
24b9110a629053c0517563a4ae3ed7f2033c2c28
diff --git a/src/main.js b/src/main.js index <HASH>..<HASH> 100644 --- a/src/main.js +++ b/src/main.js @@ -64,10 +64,15 @@ var request = function (method, url, data, contentType, headers) { xhr.onreadystatechange = function () { if (xhr.readyState === 4) { - if (xhr.status >= 200 && xhr.statu...
Fixed uncaught exception on parsing non-JSON AJAX response
formsy_formsy-react
train
js
4ea051aeb3df0fa0f6212d8dff5e4e6f9e6a682c
diff --git a/lib/mongo/collection/view/readable.rb b/lib/mongo/collection/view/readable.rb index <HASH>..<HASH> 100644 --- a/lib/mongo/collection/view/readable.rb +++ b/lib/mongo/collection/view/readable.rb @@ -137,7 +137,9 @@ module Mongo cmd[:hint] = options[:hint] if options[:hint] cmd[:limit] ...
Retry for count and distinct commands if there is a connection error.
mongodb_mongo-ruby-driver
train
rb
bf0c1a84637ae17c24400644cf459fc72921ed90
diff --git a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java b/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java index <HASH>..<HASH> 100644 --- a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java +++ b/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWr...
prevent duplication of FUNC_DEPLOY
web3j_web3j
train
java
9143d9f886d98857a8b256e6e35d00e3f3adda1b
diff --git a/lib/honey_format/columns.rb b/lib/honey_format/columns.rb index <HASH>..<HASH> 100644 --- a/lib/honey_format/columns.rb +++ b/lib/honey_format/columns.rb @@ -23,10 +23,8 @@ module HoneyFormat def build_columns(header, valid) header.map do |column| - Sanitize.string!(column) - va...
Remove unneeded call to Sanitize::string!
buren_honey_format
train
rb
bda476c7098a54548558b1c060a8d4661f0daa81
diff --git a/src/extension/Connection.php b/src/extension/Connection.php index <HASH>..<HASH> 100644 --- a/src/extension/Connection.php +++ b/src/extension/Connection.php @@ -56,7 +56,7 @@ interface ConnectionInterface extends Helper\AccessableInterface { * * @return Expression */ - public function express...
Fix a minor bug when the `Expression`'s context `null` by default (but it's can't be)
spoom-php_sql
train
php,php
07ff5b2d801e7511626095886d88a220a8156081
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ # coding: utf-8 -from distutils.core import setup +from setuptools import setup +from setuptools import find_packages setup(name='yandex.translate', @@ -10,7 +11,7 @@ setup(name='yandex.translate', li...
Upgrade setup script to use Setuptools/Distribute.
dveselov_python-yandex-translate
train
py