hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
87fa9bd9f276d5daea402c888d11c738403176a6 | diff --git a/lib/wavefile/chunk_readers.rb b/lib/wavefile/chunk_readers.rb
index <HASH>..<HASH> 100644
--- a/lib/wavefile/chunk_readers.rb
+++ b/lib/wavefile/chunk_readers.rb
@@ -1,6 +1,5 @@
require 'wavefile/chunk_readers/riff_reader'
require 'wavefile/chunk_readers/base_chunk_reader'
-require 'wavefile/chunk_reader... | Removing require for removed file
This should have been removed in <I>c<I>edfc<I>e<I>b<I>c4a9cbe<I>c2a
but was accidentally left out. | jstrait_wavefile | train |
9c83409a273d56cc423c2a48e97cb56e578c635d | diff --git a/synapse/lib/snap.py b/synapse/lib/snap.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/snap.py
+++ b/synapse/lib/snap.py
@@ -562,7 +562,11 @@ class Snap(s_base.Base):
Yields:
(tuple): (row, node)
'''
+ count = 0
async for origlayer, row in rows:
+ ... | Fix fairness issue with a large lift (#<I>)
E.g. storm inet:ipv4 | limit <I> | +:loc^=nl | limit 5
Tuned on a box with slow spinning disks so that worst case between
sleeps is ~<I>ms. | vertexproject_synapse | train |
c98154e51fb6e3b142543c68d882e99cd1057362 | diff --git a/src/parser.js b/src/parser.js
index <HASH>..<HASH> 100644
--- a/src/parser.js
+++ b/src/parser.js
@@ -19,21 +19,23 @@ export class Parser {
parse(input, opts = {}) {
input = input || '';
- if (!this.cache[input]) {
+ const hashKey = input + ':' + JSON.stringify(opts);
+
+ if (!this.cache... | fix: fix cache collision for same expression but in two modes | buttonwoodcx_bcx-expression-evaluator | train |
94e6e76919ed3a4dd67a558d2ce57ddbc92ab109 | diff --git a/manticore/models/linux.py b/manticore/models/linux.py
index <HASH>..<HASH> 100644
--- a/manticore/models/linux.py
+++ b/manticore/models/linux.py
@@ -1483,7 +1483,7 @@ class Linux(object):
0x000000000000003f: self.sys_uname,
0x00000000000000c9: self.sys_time,
... | Fixed wrong syscall number for sys_faccessat (#<I>) | trailofbits_manticore | train |
bde36a93e66a557834215823d2f8fae005374606 | diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java b/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
index <HASH>..<HASH> 100644
--- a/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
+++ b/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
@@ -1... | [Java] Pick up term base from RecordingLog for latest term. | real-logic_aeron | train |
1d8379e84c87bf270655a7751f23153cb18e8ec8 | diff --git a/python_modules/dagit/dagit/starlette.py b/python_modules/dagit/dagit/starlette.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagit/dagit/starlette.py
+++ b/python_modules/dagit/dagit/starlette.py
@@ -1,3 +1,5 @@
+import gzip
+import io
from asyncio import Queue, get_event_loop
from enum import Enum... | [dag-star] download debug file
Test Plan: added test
Reviewers: max, prha
Reviewed By: prha
Differential Revision: <URL> | dagster-io_dagster | train |
16163320844c968ca44cdfb31f151b269c808a28 | diff --git a/lib/openapi3_parser/document.rb b/lib/openapi3_parser/document.rb
index <HASH>..<HASH> 100644
--- a/lib/openapi3_parser/document.rb
+++ b/lib/openapi3_parser/document.rb
@@ -60,7 +60,7 @@ module Openapi3Parser
# @!method external_docs
# The value of the external_docs field on the OpenAPI docume... | Fix external documentation not marked as nil | kevindew_openapi3_parser | train |
88dee91abdc576b0439da6eef6d5dff6ceb6f1c0 | diff --git a/psdash/log.py b/psdash/log.py
index <HASH>..<HASH> 100644
--- a/psdash/log.py
+++ b/psdash/log.py
@@ -37,7 +37,7 @@ class LogSearcher(object):
pos = self.position
if offset:
self.log.fp.seek(offset)
- buf = self.log.fp.read(length)
+ buf = self.log.fp.read(lengt... | Use UTF-8 to decode logs. | Jahaja_psdash | train |
b140b3028e32a202cd88a8286cf030d48095bdea | diff --git a/tests/Commands/BackupCommandTest.php b/tests/Commands/BackupCommandTest.php
index <HASH>..<HASH> 100644
--- a/tests/Commands/BackupCommandTest.php
+++ b/tests/Commands/BackupCommandTest.php
@@ -95,8 +95,8 @@ class BackupCommandTest extends TestCase
$this->tester->execute(array(
'--upl... | We need to find the good regex for the test.. | schickling_laravel-backup | train |
4bd600b275e75e81f03c2f432b717104e4a8edfd | diff --git a/mixins/fs-db.js b/mixins/fs-db.js
index <HASH>..<HASH> 100644
--- a/mixins/fs-db.js
+++ b/mixins/fs-db.js
@@ -138,11 +138,11 @@ module.exports = function (repo, fs) {
});
}
- function hasHash(type, hash, callback) {
- if (!callback) return hasHash.bind(repo, type, hash);
+ function hasHash(h... | Fix pack ops with fs backend | creationix_js-git | train |
5f90fc120f99277d01d470790fb8b0de309b9dda | diff --git a/lib/activerecord-postgres-hstore/activerecord.rb b/lib/activerecord-postgres-hstore/activerecord.rb
index <HASH>..<HASH> 100644
--- a/lib/activerecord-postgres-hstore/activerecord.rb
+++ b/lib/activerecord-postgres-hstore/activerecord.rb
@@ -103,6 +103,19 @@ module ActiveRecord
module SchemaStatemen... | added `install_hstore` and `uninstall_hstore_index` migration methods | diogob_activerecord-postgres-hstore | train |
b605663c914cdc79257576f025687a54fac4e5a9 | diff --git a/src/TrackJS/TrackJSEmbed.php b/src/TrackJS/TrackJSEmbed.php
index <HASH>..<HASH> 100644
--- a/src/TrackJS/TrackJSEmbed.php
+++ b/src/TrackJS/TrackJSEmbed.php
@@ -74,7 +74,7 @@ class TrackJSEmbed
$trackJsToken = $this->hostingConfig->getTrackJsToken();
// only embed if token is set, in p... | fix TrackJSEmbed to use deployment tier | Becklyn_Hosting | train |
d72a43fe51f2260780b5be67c570cbeaf1dca4a1 | diff --git a/libandroid-navigation/src/test/java/com/mapbox/services/android/navigation/v5/internal/navigation/metrics/SchemaTest.java b/libandroid-navigation/src/test/java/com/mapbox/services/android/navigation/v5/internal/navigation/metrics/SchemaTest.java
index <HASH>..<HASH> 100644
--- a/libandroid-navigation/src/t... | Ignore test until fixed (#<I>)
Co-authored-by: Kyle Madsen <> | mapbox_mapbox-navigation-android | train |
7f858be1abb84b15ed4b188347d39036706acc49 | diff --git a/rb/lib/selenium/webdriver/common/logger.rb b/rb/lib/selenium/webdriver/common/logger.rb
index <HASH>..<HASH> 100644
--- a/rb/lib/selenium/webdriver/common/logger.rb
+++ b/rb/lib/selenium/webdriver/common/logger.rb
@@ -35,18 +35,19 @@ module Selenium
#
class Logger
extend Forwardable
+ ... | [rb] fix logger for Ruby <I>-<I> | SeleniumHQ_selenium | train |
101575a30fd80772f8203651a60e97f5b27d6da1 | diff --git a/tooling/circle-cli/lib/download-artifacts.js b/tooling/circle-cli/lib/download-artifacts.js
index <HASH>..<HASH> 100644
--- a/tooling/circle-cli/lib/download-artifacts.js
+++ b/tooling/circle-cli/lib/download-artifacts.js
@@ -17,11 +17,10 @@ module.exports = _.curry((argv, ci, build) => {
return ci.ge... | chore(tooling): remove no longer needed debugging code | webex_spark-js-sdk | train |
1953411a040397d633ea52345202d0affa9592a4 | diff --git a/microraiden/microraiden/channel_manager/blockchain.py b/microraiden/microraiden/channel_manager/blockchain.py
index <HASH>..<HASH> 100644
--- a/microraiden/microraiden/channel_manager/blockchain.py
+++ b/microraiden/microraiden/channel_manager/blockchain.py
@@ -41,6 +41,7 @@ class Blockchain(gevent.Greenle... | Start syncing events from a specific block number
A configuration with channel manager address and block number it was
deployed in is now available in `config.py`.
The block number is also exported via `/stats` REST endpoint to use in
js client etc. | raiden-network_microraiden | train |
ecfff1df08d57868fe57faf6416c59f60a606c51 | diff --git a/gulptasks/gulpfile.js b/gulptasks/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulptasks/gulpfile.js
+++ b/gulptasks/gulpfile.js
@@ -729,6 +729,7 @@ gulp.task("tslint", () =>
gulp.task("eslint", () =>
gulp.src(["**/*.js", "!build/**/*.js", "!schemas/**/*.js",
+ "!gh-pages/... | Exclude more stuff from linting. | mangalam-research_wed | train |
3252ea2a16fba4c31503efd189838d718d0cc51a | diff --git a/parler/admin.py b/parler/admin.py
index <HASH>..<HASH> 100644
--- a/parler/admin.py
+++ b/parler/admin.py
@@ -237,16 +237,16 @@ class TranslatableAdmin(BaseTranslatableAdmin, admin.ModelAdmin):
if not language_tabs.current_is_translated:
add = True # lets prepopulated_fields_... | Fix patching form_url for non-translated models
(IDE revealed that lang_code could be used before initialized) | django-parler_django-parler | train |
6d47c08001fbedfa2949ace9a65a5d779a81d65a | diff --git a/src/js/services/pinterest.js b/src/js/services/pinterest.js
index <HASH>..<HASH> 100644
--- a/src/js/services/pinterest.js
+++ b/src/js/services/pinterest.js
@@ -25,14 +25,30 @@ module.exports = function(shariff) {
name: 'pinterest',
faName: 'fa-pinterest-p',
title: {
+ 'bg': 'Сподели в... | pinterest - add translations
Add missing translations based on tumblr | heiseonline_shariff | train |
53efa97519233bb53904f23f9d55420d44ecc0b0 | diff --git a/sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/compiler/CxxCompilerSensor.java b/sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/compiler/CxxCompilerSensor.java
index <HASH>..<HASH> 100644
--- a/sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/compiler/CxxCompilerSensor.java
+++ b/sonar-cxx-... | fix path handling
(cherry picked from commit b4c3b4f1d<I>eeb<I>dbfcf<I>bccca<I>cff5c<I>) | SonarOpenCommunity_sonar-cxx | train |
3b1172db526018fb86c1ba52c53988d39cce3ac1 | diff --git a/djstripe/migrations/0001_initial.py b/djstripe/migrations/0001_initial.py
index <HASH>..<HASH> 100644
--- a/djstripe/migrations/0001_initial.py
+++ b/djstripe/migrations/0001_initial.py
@@ -917,7 +917,7 @@ class Migration(migrations.Migration):
("djstripe_updated", models.DateTimeField(aut... | Use StripeQuantumCurrencyAmountField for balance (#<I>)
Instead of a plain IntegerField. Note that this is non-breaking change since it's still an integer number of cents.
Resolves #<I> | dj-stripe_dj-stripe | train |
52303cf5d4387b7f320ffb6fd46a0687a51d98ee | diff --git a/Uploader/Storage/FilesystemOrphanageStorage.php b/Uploader/Storage/FilesystemOrphanageStorage.php
index <HASH>..<HASH> 100644
--- a/Uploader/Storage/FilesystemOrphanageStorage.php
+++ b/Uploader/Storage/FilesystemOrphanageStorage.php
@@ -48,7 +48,7 @@ class FilesystemOrphanageStorage extends FilesystemStor... | Fix unnamed directory when uploading to Amazon S3 | 1up-lab_OneupUploaderBundle | train |
c50e47c0db000762af8ed65a70ba072d8e92f0e4 | diff --git a/examples/src/components/GithubUsers.js b/examples/src/components/GithubUsers.js
index <HASH>..<HASH> 100644
--- a/examples/src/components/GithubUsers.js
+++ b/examples/src/components/GithubUsers.js
@@ -10,6 +10,7 @@ const GithubUsers = React.createClass({
},
getInitialState () {
return {
+ backspa... | Added toggleable backspace removes options to Github demo for Async | HubSpot_react-select-plus | train |
d17dc3c44395d9f91e5b07d6b592fb53e62c0818 | diff --git a/spikeextractors/extractors/nwbextractors/nwbextractors.py b/spikeextractors/extractors/nwbextractors/nwbextractors.py
index <HASH>..<HASH> 100644
--- a/spikeextractors/extractors/nwbextractors/nwbextractors.py
+++ b/spikeextractors/extractors/nwbextractors/nwbextractors.py
@@ -72,7 +72,7 @@ def get_dynamic... | use rel_x and rel_y | SpikeInterface_spikeextractors | train |
d4be34194f0269d3eeb13cfcf30f301045804c6d | diff --git a/cmsplugin_polls/models.py b/cmsplugin_polls/models.py
index <HASH>..<HASH> 100644
--- a/cmsplugin_polls/models.py
+++ b/cmsplugin_polls/models.py
@@ -18,13 +18,13 @@ class Poll(models.Model):
return self.choice_set.aggregate(models.Max('votes'))['votes__max']
@property
- def voted_key(se... | poll voted_key property should be protected | satyrius_cmsplugin-polls | train |
329527f5173d17c9c2b788734033534009efcf04 | diff --git a/lib/puppet/simple_graph.rb b/lib/puppet/simple_graph.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/simple_graph.rb
+++ b/lib/puppet/simple_graph.rb
@@ -145,21 +145,19 @@ class Puppet::SimpleGraph
# Collect all of the edges that the passed events match. Returns
# an array of edges.
- def m... | Changing SimpleGraph.matching_edges to expect one event
It previously worked with multiple, but the only caller
actually only ever passed one event. | puppetlabs_puppet | train |
4b5648de55a8217a81f3f1aedf73849cc6ae145e | diff --git a/src/targets/native/AnimatedTransform.js b/src/targets/native/AnimatedTransform.js
index <HASH>..<HASH> 100644
--- a/src/targets/native/AnimatedTransform.js
+++ b/src/targets/native/AnimatedTransform.js
@@ -7,43 +7,43 @@ export default class AnimatedTransform extends AnimatedWithChildren {
this._transf... | fix the name of AnimatedTransform methods | react-spring_react-spring | train |
9f4287d2230aa8feb652dccc3e04c40498630841 | diff --git a/driver-legacy/src/main/com/mongodb/gridfs/GridFSFile.java b/driver-legacy/src/main/com/mongodb/gridfs/GridFSFile.java
index <HASH>..<HASH> 100644
--- a/driver-legacy/src/main/com/mongodb/gridfs/GridFSFile.java
+++ b/driver-legacy/src/main/com/mongodb/gridfs/GridFSFile.java
@@ -73,7 +73,9 @@ public abstract... | Deprecate md5-related GridFS methods in legacy API
JAVA-<I> | mongodb_mongo-java-driver | train |
262c0c75016c87a84dbf459291870d8b4be41d7d | diff --git a/app/PharBuilder.php b/app/PharBuilder.php
index <HASH>..<HASH> 100644
--- a/app/PharBuilder.php
+++ b/app/PharBuilder.php
@@ -148,6 +148,8 @@ class PharBuilder
unlink($this->pharName);
}
+ chdir(dirname($this->composerReader->getComposerJsonPath()));
+
$this->phar = ... | Ensure stub path is relative at beginning [ #<I> ] | MacFJA_PharBuilder | train |
30cdc6c349066b971fecb9f53190699ffdd47d33 | diff --git a/src/main/java/org/aerogear/connectivity/cdi/interceptor/Secure.java b/src/main/java/org/aerogear/connectivity/cdi/interceptor/Secure.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/aerogear/connectivity/cdi/interceptor/Secure.java
+++ b/src/main/java/org/aerogear/connectivity/cdi/interceptor/Secur... | Organized imports + license headers | aerogear_aerogear-unifiedpush-server | train |
c72b08a7743fa6a04afd04d5892c527cf8059a2a | diff --git a/call.go b/call.go
index <HASH>..<HASH> 100644
--- a/call.go
+++ b/call.go
@@ -170,9 +170,9 @@ func Invoke(ctx context.Context, method string, args, reply interface{}, cc *Cli
if _, ok := err.(*rpcError); ok {
return err
}
- if err == errConnClosing {
+ if err == errConnClosing || err == er... | Change errors returned by ac.wait() | grpc_grpc-go | train |
82ba4d6544a5da06959312b6ad8e3475555df20d | diff --git a/java/client/test/org/openqa/selenium/environment/webserver/JettyAppServer.java b/java/client/test/org/openqa/selenium/environment/webserver/JettyAppServer.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/environment/webserver/JettyAppServer.java
+++ b/java/client/test/org/openqa/... | [debug-server] Fixing ability of Utf8Servlet to find files | SeleniumHQ_selenium | train |
991d96fd6945b3e84416f15bcd604466a9cca8b0 | diff --git a/examples/tensorflow_resnet50.py b/examples/tensorflow_resnet50.py
index <HASH>..<HASH> 100755
--- a/examples/tensorflow_resnet50.py
+++ b/examples/tensorflow_resnet50.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
import tensorflow as tf
import eagerpy as ep
-from foolbox import TensorFlowModel, accuracy, sa... | added transform_bounds to tensorflow example | bethgelab_foolbox | train |
5354e5ff79e6e9b0101f9725994ac9556e655464 | diff --git a/pgmpy/factors/continuous/ContinuousFactor.py b/pgmpy/factors/continuous/ContinuousFactor.py
index <HASH>..<HASH> 100644
--- a/pgmpy/factors/continuous/ContinuousFactor.py
+++ b/pgmpy/factors/continuous/ContinuousFactor.py
@@ -100,6 +100,53 @@ class ContinuousFactor(object):
"""
return Con... | Added ContinuousFactor.reduce | pgmpy_pgmpy | train |
a22719c338decc9cad28992cad7dc04e9e0696d7 | diff --git a/paramiko/transport.py b/paramiko/transport.py
index <HASH>..<HASH> 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -287,10 +287,15 @@ class BaseTransport (threading.Thread):
"""
Negotiate a new SSH2 session as a client. This is the first step after
creating a n... | [project @ Arch-1:<EMAIL><I>-master-shake%paramiko--dev--1--patch-<I>]
allow start_client and start_server to be passed no event object for synchronous behavior | paramiko_paramiko | train |
64dbc2af81652e88e086276671f110340486539c | diff --git a/src/test/java/picocli/ParseResultTest.java b/src/test/java/picocli/ParseResultTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/picocli/ParseResultTest.java
+++ b/src/test/java/picocli/ParseResultTest.java
@@ -84,4 +84,30 @@ public class ParseResultTest {
}
assertFalse(result.hasP... | #<I> added tests for ParseResult | remkop_picocli | train |
96989c49028dbf2f989c9b1caaf74d23b4eafc3c | diff --git a/client/extensions/woocommerce/app/dashboard/setup/tasks.js b/client/extensions/woocommerce/app/dashboard/setup/tasks.js
index <HASH>..<HASH> 100644
--- a/client/extensions/woocommerce/app/dashboard/setup/tasks.js
+++ b/client/extensions/woocommerce/app/dashboard/setup/tasks.js
@@ -97,7 +97,6 @@ class Setup... | Store checklist - make buttons secondary (#<I>) | Automattic_wp-calypso | train |
151b475d6a756363690e4ce6bf257298c050d766 | diff --git a/Swat/SwatTimeEntry.php b/Swat/SwatTimeEntry.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatTimeEntry.php
+++ b/Swat/SwatTimeEntry.php
@@ -17,9 +17,9 @@ require_once 'Date.php';
*/
class SwatTimeEntry extends SwatControl implements SwatState
{
- const HOUR = 1;
- const MINUTE = 2;
- const SECOND = ... | Remove unnecessary spaces before constants.
svn commit r<I> | silverorange_swat | train |
0ab85b03560959aa15b747e3bda3f69932644f09 | diff --git a/apiserver/imagemetadata/metadata.go b/apiserver/imagemetadata/metadata.go
index <HASH>..<HASH> 100644
--- a/apiserver/imagemetadata/metadata.go
+++ b/apiserver/imagemetadata/metadata.go
@@ -208,7 +208,10 @@ func (api *API) retrievePublished() error {
cons := envmetadata.NewImageConstraint(simplestreams... | Don't error if environ does not support simplestreams.HasRegion.
Update test accordingly. | juju_juju | train |
fbda637d17327ac4f4a894bee4a66707a54beab5 | diff --git a/doxypypy/doxypypy.py b/doxypypy/doxypypy.py
index <HASH>..<HASH> 100755
--- a/doxypypy/doxypypy.py
+++ b/doxypypy/doxypypy.py
@@ -185,7 +185,7 @@ class AstWalker(NodeVisitor):
firstLineNum = lineNum
if line is not None:
# Don't bother doing extra work if it's ... | Used items() in lieu of iteritems(). While this isn't ideal in Python 2, it's compatible with both Python 2 & 3. | Feneric_doxypypy | train |
1f5219a84a1b051c7a84e8c293a2bbe9cfd1016a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,6 +22,7 @@ for lib in EXCLUDE_LIBS:
datafiles = [(os.path.join('share/shoebot/', root) ,[os.path.join(root, file_)
for file_ in files]) for root,dir,files in os.walk('examples')]
datafiles.append(('share/pixmaps', ['ass... | Update kant so that it can find kant.xml in the assets directory. | shoebot_shoebot | train |
f46c98c364d22e74da83aea471855daead79fec4 | diff --git a/app/helpers/xml_helper.rb b/app/helpers/xml_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/xml_helper.rb
+++ b/app/helpers/xml_helper.rb
@@ -1,6 +1,6 @@
module XmlHelper
def pub_date(time)
- time.strftime "%a, %e %b %Y %H:%M:%S %Z"
+ time.rfc822
end
def post_title(post)
diff --gi... | Use time.rfc<I> instead of custom made strftime in XmlHelper#pub_date to make RSS feeds conform to the RFC again (closes #<I>)
git-svn-id: <URL> | publify_publify | train |
434ae9c52f5f89e648c7dbff62a1ee5f25cc7e28 | diff --git a/lib/plugins/create/templates/aws-nodejs-ecma-script/webpack.config.js b/lib/plugins/create/templates/aws-nodejs-ecma-script/webpack.config.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/create/templates/aws-nodejs-ecma-script/webpack.config.js
+++ b/lib/plugins/create/templates/aws-nodejs-ecma-script/web... | updating webpack file
The current config will not work in the newest webpack version | serverless_serverless | train |
577a684752e98c2fe97d67db6d46994e437028ab | diff --git a/lib/dynflow/rails.rb b/lib/dynflow/rails.rb
index <HASH>..<HASH> 100644
--- a/lib/dynflow/rails.rb
+++ b/lib/dynflow/rails.rb
@@ -41,6 +41,7 @@ module Dynflow
config.run_on_init_hooks(world)
# leave this just for long-running executors
unless config.rake_task_with_executor?... | Fixes #<I> - postpone validation checks in Rails environment (#<I>)
Otherwise, the actions performed during the validity check could lead to
issues like this:
RuntimeError: The Dynflow world was not initialized yet. If your plugin
uses it, make sure to call Rails.application.dynflow.require! in some
... | Dynflow_dynflow | train |
5a799a1230b73f54bccf7e9c913dfa2cf5b0a6c7 | diff --git a/tasks/vendoring/__init__.py b/tasks/vendoring/__init__.py
index <HASH>..<HASH> 100644
--- a/tasks/vendoring/__init__.py
+++ b/tasks/vendoring/__init__.py
@@ -6,6 +6,7 @@
import io
import itertools
import json
+import os
import re
import shutil
@@ -21,7 +22,7 @@ import requests
from urllib3.util i... | Update vendoring script for pyyaml | pypa_pipenv | train |
75eac21a83b6a5b959da21b479fbc7540c819a64 | diff --git a/examples/all.php b/examples/all.php
index <HASH>..<HASH> 100644
--- a/examples/all.php
+++ b/examples/all.php
@@ -72,3 +72,6 @@ foreach(array('black', 'red', 'green', 'yellow', 'blue', 'purple', 'cyan', 'whit
echo "\n";
}
+
+echo Ansi::parse('You can <bold>parse <cyan>string</cyan></bold> containin... | String with special tags.
First level of parsing is OK | malenkiki_ansi | train |
9c33d6f66e40719d19daea29abddfb61cb35a96a | diff --git a/openquake/calculators/export/hazard.py b/openquake/calculators/export/hazard.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/export/hazard.py
+++ b/openquake/calculators/export/hazard.py
@@ -845,9 +845,7 @@ def export_disagg_xml(ekey, dstore):
)
data = []
for poe, k in... | Cleanup [skip CI] | gem_oq-engine | train |
ae4fa28ff3a19fba44c5816fe55d6850ef2f5430 | diff --git a/languagetool-language-modules/ca/src/main/java/org/languagetool/tagging/ca/CatalanTagger.java b/languagetool-language-modules/ca/src/main/java/org/languagetool/tagging/ca/CatalanTagger.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/ca/src/main/java/org/languagetool/tagging/ca/CatalanT... | [ca] Make regular expression more general. | languagetool-org_languagetool | train |
32b42855e985970cc4a33fd4efad9385a3889952 | diff --git a/opbeat/contrib/rq/__init__.py b/opbeat/contrib/rq/__init__.py
index <HASH>..<HASH> 100644
--- a/opbeat/contrib/rq/__init__.py
+++ b/opbeat/contrib/rq/__init__.py
@@ -12,7 +12,7 @@ def register_opbeat(client, worker):
worker.work()
"""
- def send_to_sentry(job, *exc_info):
+ def send_to_op... | Renamed function to "send_to_opbeat". | elastic_apm-agent-python | train |
64c7689f7fad0cf3baf4b519e753f51f311906ac | diff --git a/fastlane/lib/fastlane/actions/artifactory.rb b/fastlane/lib/fastlane/actions/artifactory.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/actions/artifactory.rb
+++ b/fastlane/lib/fastlane/actions/artifactory.rb
@@ -1,5 +1,10 @@
module Fastlane
module Actions
+ module SharedValues
+ A... | Artifactory action to return download URL and size after successful upload as shared lane values (#<I>) | fastlane_fastlane | train |
d34e1f4d4d06315a988e625304bdf43c9fc96a2a | diff --git a/src/java/examples/org/jsmpp/examples/StressClient.java b/src/java/examples/org/jsmpp/examples/StressClient.java
index <HASH>..<HASH> 100644
--- a/src/java/examples/org/jsmpp/examples/StressClient.java
+++ b/src/java/examples/org/jsmpp/examples/StressClient.java
@@ -36,6 +36,7 @@ public class StressClient i... | Configurable transaction timer for StressClient | opentelecoms-org_jsmpp | train |
8988c388729ca7f1135a0577f2355009cc7e6725 | diff --git a/demos/paymentDirect/non_js.php b/demos/paymentDirect/non_js.php
index <HASH>..<HASH> 100644
--- a/demos/paymentDirect/non_js.php
+++ b/demos/paymentDirect/non_js.php
@@ -19,7 +19,6 @@ $user = new MangoPay\UserNatural();
$user->FirstName = 'John';
$user->LastName = 'Smith';
$user->Email = 'email@domain.c... | Remove address to ensure code runs with <I> of the API | Mangopay_mangopay2-php-sdk | train |
df5a2dc5f2e539887a0f24e558c017953f262e62 | diff --git a/lib/Exporter/Writer/CsvWriter.php b/lib/Exporter/Writer/CsvWriter.php
index <HASH>..<HASH> 100644
--- a/lib/Exporter/Writer/CsvWriter.php
+++ b/lib/Exporter/Writer/CsvWriter.php
@@ -30,13 +30,19 @@ class CsvWriter implements WriterInterface
protected $position;
/**
+ * @var bool
+ */
+ ... | Add BOM to CsvWriter
Add PHPDoc Block
Add unit test | sonata-project_exporter | train |
841caa8db1c0587ca6dae1e24352fe18e60b1b3b | diff --git a/initializers/actionProcessor.js b/initializers/actionProcessor.js
index <HASH>..<HASH> 100644
--- a/initializers/actionProcessor.js
+++ b/initializers/actionProcessor.js
@@ -38,8 +38,11 @@ var actionProcessor = function(api, next){
api.actionProcessor.prototype.completeAction = function(error, toRender)... | allow for connection.error to be a hash | actionhero_actionhero | train |
25b44ed3fc4d36e1d8fc3a0ad671697448cb9cb9 | diff --git a/lib/http.js b/lib/http.js
index <HASH>..<HASH> 100644
--- a/lib/http.js
+++ b/lib/http.js
@@ -996,9 +996,9 @@ Agent.prototype.request = function request(options, callback) {
}
// * HTTP/2 over generic stream transport
- else if(options.transport) {
+ else if(options.createConnection) {
endpo... | Renamed transport to create connection to be consistent with node API | kaazing_http2.js | train |
a26db99a8166d9adc8286e5b974d20713f0336ec | diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentTx.java b/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentTx.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentTx.java
+... | fixed dirty database left in thread local in case of error on constructor. | orientechnologies_orientdb | train |
4e9b93658846e4b77490ad0ee5c4e6d104da58bc | diff --git a/bokeh/server/tests/remotedata_tests.py b/bokeh/server/tests/remotedata_tests.py
index <HASH>..<HASH> 100644
--- a/bokeh/server/tests/remotedata_tests.py
+++ b/bokeh/server/tests/remotedata_tests.py
@@ -4,16 +4,24 @@ import datetime as dt
import json
import requests
from six.moves.urllib.parse import url... | Added skip decorators to downsample tests. Also capturing import error because the lack of SciPy. | bokeh_bokeh | train |
9d26db01a5be2c73b186023e9aed2c08040e68e7 | diff --git a/.rubocop.yml b/.rubocop.yml
index <HASH>..<HASH> 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -8,3 +8,6 @@ Style/Documentation:
Lint/EndAlignment:
AlignWith: variable
AutoCorrect: true
+
+Style/FileName:
+ Enabled: false
diff --git a/lib/jekyll-avatar.rb b/lib/jekyll-avatar.rb
index <HASH>..<HAS... | add support for passing username as varibale | benbalter_jekyll-avatar | train |
b5d2d3a7918d947139fcf80e385dd730e6cfcda5 | diff --git a/go/kbfs/libkbfs/config_local.go b/go/kbfs/libkbfs/config_local.go
index <HASH>..<HASH> 100644
--- a/go/kbfs/libkbfs/config_local.go
+++ b/go/kbfs/libkbfs/config_local.go
@@ -1357,9 +1357,18 @@ func (c *ConfigLocal) cleanSyncBlockCacheForTlfInBackgroundLocked(
func (c *ConfigLocal) cleanSyncBlockCache() ... | config_local: avoid panic when cleaning sync cache in background
There could be a race where the cache is quickly reset multiple times.
Issue: HOTPOT-<I> | keybase_client | train |
e7cb8f3e7afa6b066e9a0ac9fc6bd134022bd115 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -4539,10 +4539,11 @@ class tabobject {
var $text;
/// A constructor just because I like constructors
- function tabobject ($id, $link='', $text='') {
+ function tabobject ($id, $link='... | Now one can set the title attribute for a tab separately from its text | moodle_moodle | train |
2cf52808f4448686d777c23da61baaa25e4eb54c | diff --git a/Source/inject/injections.py b/Source/inject/injections.py
index <HASH>..<HASH> 100644
--- a/Source/inject/injections.py
+++ b/Source/inject/injections.py
@@ -3,6 +3,7 @@ and a function decorator.
'''
from inject.functional import update_wrapper
from inject.points import InjectionPoint
+from inject.utils... | Automatically get attr for AttributeInjection, PINJ-<I>. | ivankorobkov_python-inject | train |
fb066d05c24e88973160204ff6107896c58bbeba | diff --git a/testing/hr_schema/mock_data_generator.js b/testing/hr_schema/mock_data_generator.js
index <HASH>..<HASH> 100644
--- a/testing/hr_schema/mock_data_generator.js
+++ b/testing/hr_schema/mock_data_generator.js
@@ -92,6 +92,7 @@ lf.testing.hrSchema.MockDataGenerator.EmployeeGroundTruth;
* minMaxSalary: numb... | Fix newly detected type declaration error.
JSCompiler change exposed a new type declaration inconsistency.
-------------
Created by MOE: <URL> | google_lovefield | train |
f7bf98fdd014ff756a69f3cb6b23763a34637281 | diff --git a/vraptor-core/src/test/java/br/com/caelum/vraptor/ioc/GenericContainerTest.java b/vraptor-core/src/test/java/br/com/caelum/vraptor/ioc/GenericContainerTest.java
index <HASH>..<HASH> 100644
--- a/vraptor-core/src/test/java/br/com/caelum/vraptor/ioc/GenericContainerTest.java
+++ b/vraptor-core/src/test/java/b... | minors and renaming param | caelum_vraptor4 | train |
6c7672c562b39d3a6cabe45655e67f35c196284a | diff --git a/framework/yii/YiiBase.php b/framework/yii/YiiBase.php
index <HASH>..<HASH> 100644
--- a/framework/yii/YiiBase.php
+++ b/framework/yii/YiiBase.php
@@ -606,10 +606,7 @@ class YiiBase
public static function t($category, $message, $params = array(), $language = null)
{
if (self::$app !== null) {
- if ... | Minor refactoring of t(). | yiisoft_yii2-bootstrap4 | train |
e04c855730d155d960023171aca64d712c428a96 | diff --git a/pgcontents/crypto.py b/pgcontents/crypto.py
index <HASH>..<HASH> 100644
--- a/pgcontents/crypto.py
+++ b/pgcontents/crypto.py
@@ -156,7 +156,7 @@ def derive_single_fernet_key(password, user_id):
Parameters
----------
password : unicode
- List of ascii-encodable keys to derive.
+ ... | DOC: Correct docstring. | quantopian_pgcontents | train |
244325b0923f847c1603baa807a39c447e2a16c2 | diff --git a/grakn-test/src/test/java/ai/grakn/test/engine/controller/CommitLogControllerTest.java b/grakn-test/src/test/java/ai/grakn/test/engine/controller/CommitLogControllerTest.java
index <HASH>..<HASH> 100644
--- a/grakn-test/src/test/java/ai/grakn/test/engine/controller/CommitLogControllerTest.java
+++ b/grakn-t... | Ignore commit log controller test (#<I>) | graknlabs_grakn | train |
695e04aed639c271d08542491521b7dfccece624 | diff --git a/db/db.py b/db/db.py
index <HASH>..<HASH> 100644
--- a/db/db.py
+++ b/db/db.py
@@ -791,6 +791,7 @@ class DB(object):
arg = "host"
creds[arg] = value
self.con = mysql_connect(**creds)
+ self.con.autocommit(True)
self.cur = sel... | Enable autocommit by default for mysql | yhat_db.py | train |
ebf8162a1e80264e7532e7581d10174298b53172 | diff --git a/mongo_connector/oplog_manager.py b/mongo_connector/oplog_manager.py
index <HASH>..<HASH> 100755
--- a/mongo_connector/oplog_manager.py
+++ b/mongo_connector/oplog_manager.py
@@ -84,7 +84,7 @@ class OplogThread(threading.Thread):
self.continue_on_error = kwargs.get('continue_on_error', False)
... | Make self._fields in OplogThread a set | yougov_mongo-connector | train |
8e65325db00d5cd443611266a108cfdca3d13bda | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,8 @@
# Copyright 2009-2014, Simon Kennedy, sffjunkie+code@gmail.com
+import io
import sys
+import os.path
from setuptools import setup
from setuptools.command.test import test as TestCommand
@@ -18,7 +2... | Correct the imports and function calls. | sffjunkie_astral | train |
333dd3db70e443c6bd52c5062e2e5e374cec74db | diff --git a/core/codegen/src/main/java/org/overture/codegen/vdm2java/JavaFormat.java b/core/codegen/src/main/java/org/overture/codegen/vdm2java/JavaFormat.java
index <HASH>..<HASH> 100644
--- a/core/codegen/src/main/java/org/overture/codegen/vdm2java/JavaFormat.java
+++ b/core/codegen/src/main/java/org/overture/codege... | Fix to generation of numerically typed expressions that appear in equal/not equal binary expressions | overturetool_overture | train |
517da1d6f757f4f682aa00d28ef8498a6ad84d89 | diff --git a/src/Kunstmaan/TranslatorBundle/Controller/TranslatorController.php b/src/Kunstmaan/TranslatorBundle/Controller/TranslatorController.php
index <HASH>..<HASH> 100644
--- a/src/Kunstmaan/TranslatorBundle/Controller/TranslatorController.php
+++ b/src/Kunstmaan/TranslatorBundle/Controller/TranslatorController.p... | Replace getParameter calls so our code doesn't trigger deprecations (#<I>) | Kunstmaan_KunstmaanBundlesCMS | train |
ab7fe39d9cd4b223831339837e564ca03588d324 | diff --git a/packages/dna-core/src/lib/proxy.js b/packages/dna-core/src/lib/proxy.js
index <HASH>..<HASH> 100644
--- a/packages/dna-core/src/lib/proxy.js
+++ b/packages/dna-core/src/lib/proxy.js
@@ -19,6 +19,8 @@ const DOM_PROXY = {
shadowRoot: 1,
attachShadow: 0,
createShadowRoot: 0,
+ innerText: 2,
... | feat: add innerHTML and innerText to proxied properties #<I> | chialab_dna | train |
2170bbddb57d8231dce12bc0602ce144fd119fdb | diff --git a/lib/flatten.js b/lib/flatten.js
index <HASH>..<HASH> 100644
--- a/lib/flatten.js
+++ b/lib/flatten.js
@@ -1,9 +1,9 @@
/**
* @author Gilles Coomans <gilles.coomans@gmail.com>
*/
-if(typeof define !== 'function')
- var define = require('amdefine')(module);
-
+if (typeof define !== 'function') {
+ var... | correct flatten with ocm in backgrounds | deepjs_deepjs | train |
062ad08af30798b26b360ddbb4550af505892fe7 | diff --git a/source/Core/Language.php b/source/Core/Language.php
index <HASH>..<HASH> 100644
--- a/source/Core/Language.php
+++ b/source/Core/Language.php
@@ -920,26 +920,23 @@ class Language extends \oxSuperCfg
$aLang = array();
$aLangSeoReplaceChars = array();
foreach ($aLangFil... | load language files even without 'charset' key
set charset to UTF-8 if it's missing | OXID-eSales_oxideshop_ce | train |
eb514741c956f48e9bd32cca8dc4a165b469e9d6 | diff --git a/src/Offer/DefaultOfferEditingService.php b/src/Offer/DefaultOfferEditingService.php
index <HASH>..<HASH> 100644
--- a/src/Offer/DefaultOfferEditingService.php
+++ b/src/Offer/DefaultOfferEditingService.php
@@ -319,8 +319,6 @@ class DefaultOfferEditingService implements OfferEditingServiceInterface
*/... | III-<I>: Remove guardId when deleting place or event
The guardId will throw a DocumentGoneException when the document has already been deleted. We just want to give notification to the user with http code <I> and a command id. | cultuurnet_udb3-php | train |
85ea85cad1143cd9edd55f416cd3e75b0afe614c | diff --git a/nianalysis/requirements.py b/nianalysis/requirements.py
index <HASH>..<HASH> 100644
--- a/nianalysis/requirements.py
+++ b/nianalysis/requirements.py
@@ -193,6 +193,8 @@ mrtrix3_req = Requirement('mrtrix', min_version=(3, 0, 0))
fsl5_req = Requirement('fsl', min_version=(5, 0, 8))
fsl509_req = Requiremen... | added group melodic pipeline. Modified TR to match aspree TR. | MonashBI_arcana | train |
b7bdc228662de579d65b26a9469d0baeeb154280 | diff --git a/gspread/base.py b/gspread/base.py
index <HASH>..<HASH> 100644
--- a/gspread/base.py
+++ b/gspread/base.py
@@ -1,24 +1,3 @@
-from .utils import extract_id_from_url
-
-
-class BaseClient(object):
- def open_by_url(self, url):
- """Opens a spreadsheet specified by `url`.
-
- :param url: URL o... | Move `BaseClient.open_by_url` from `gspread.base.BaseClient.open_by_url ` to `gspread.client.Client`; delete `gspread.base.BaseClient` | burnash_gspread | train |
63527da52a085eb1493fe97a27dd7b6ece9bcd39 | diff --git a/src/utils/gulp/gulp-tasks.js b/src/utils/gulp/gulp-tasks.js
index <HASH>..<HASH> 100644
--- a/src/utils/gulp/gulp-tasks.js
+++ b/src/utils/gulp/gulp-tasks.js
@@ -16,7 +16,11 @@ var webpackConfig = {
{
test: /\.js$/,
loader: 'babel',
- exclude: /(node_modules|bower_components... | Using webpack loader include paths instead of exclude. | grommet_grommet | train |
f7da6f02e16df6c6fe26c408f415edd61d9dff2e | diff --git a/src/Browscap.php b/src/Browscap.php
index <HASH>..<HASH> 100644
--- a/src/Browscap.php
+++ b/src/Browscap.php
@@ -334,17 +334,9 @@ class Browscap
public function convertString($iniString)
{
$cachedVersion = $this->getCache()->getItem('browscap.version', false, $success);
- $iniStr... | #<I>: refactor storing data | browscap_browscap-php | train |
d6191602e09828142f0fa064e07b7c0183c0f279 | diff --git a/servant.go b/servant.go
index <HASH>..<HASH> 100644
--- a/servant.go
+++ b/servant.go
@@ -10,6 +10,10 @@ import (
* ヒントとかを設定できるのデェス!!
*/
type Servant struct {
+ Lang Lang
+}
+type Lang struct {
+ Value string
}
type VersionInfo struct {
TesseractVersion string
@@ -17,8 +21,14 @@ type VersionIn... | Devide Lang methds to property `Servant.Lang` | otiai10_gosseract | train |
586511ea76a813494704be894cfb6e3111293e41 | diff --git a/src/Codeception/Subscriber/CodeCoverage.php b/src/Codeception/Subscriber/CodeCoverage.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Subscriber/CodeCoverage.php
+++ b/src/Codeception/Subscriber/CodeCoverage.php
@@ -119,9 +119,9 @@ class CodeCoverage implements EventSubscriberInterface
protected... | fix color text report for code coverage subsriber | Codeception_Codeception | train |
69bc0c9b0bcadbfe719d8b9e0b1b3c54e74a28ec | diff --git a/src/sap.f/src/sap/f/Avatar.js b/src/sap.f/src/sap/f/Avatar.js
index <HASH>..<HASH> 100644
--- a/src/sap.f/src/sap/f/Avatar.js
+++ b/src/sap.f/src/sap/f/Avatar.js
@@ -69,6 +69,7 @@ sap.ui.define([
* @constructor
* @public
* @since 1.46
+ * @see {@link fiori:https://experience.sap.com/fiori-design-... | [INTERNAL] sap.f: Added links to Documentation and UX Guidelines
Change-Id: I7c<I>bf<I>ff<I>b<I>d1ecf<I>b<I>c<I>d6e2 | SAP_openui5 | train |
f0a71e870759982b24b617f7d8644a43396fc132 | diff --git a/salt/modules/match.py b/salt/modules/match.py
index <HASH>..<HASH> 100644
--- a/salt/modules/match.py
+++ b/salt/modules/match.py
@@ -37,7 +37,7 @@ def compound(tgt, minion_id=None):
salt '*' match.compound 'L@cheese,foo and *'
'''
- opts = {'grains': __grains__}
+ opts = {'grains': _... | pass pillar to compound matcher in match module | saltstack_salt | train |
7d70cfba6eca453bd29b31ddfa0894d3e5e05fe4 | diff --git a/java/runtime/src/main/java/org/ray/runtime/functionmanager/FunctionManager.java b/java/runtime/src/main/java/org/ray/runtime/functionmanager/FunctionManager.java
index <HASH>..<HASH> 100644
--- a/java/runtime/src/main/java/org/ray/runtime/functionmanager/FunctionManager.java
+++ b/java/runtime/src/main/jav... | [Java] Fix loading custom classes from jars (#<I>) | ray-project_ray | train |
1005ed5126c7448e72de828ad3d76970ca1871dc | diff --git a/dependencies/contrib/celery.py b/dependencies/contrib/celery.py
index <HASH>..<HASH> 100644
--- a/dependencies/contrib/celery.py
+++ b/dependencies/contrib/celery.py
@@ -18,6 +18,32 @@ __all__ = ['task', 'shared_task']
undefined = object()
+def task(injector):
+ """Create Celery task from injector ... | Validate injector attributes against task decorator. | dry-python_dependencies | train |
c9872a7c063440f3e821486b5daa2a46dfdd034d | diff --git a/tests/unit_project/test_interviews/test_views.py b/tests/unit_project/test_interviews/test_views.py
index <HASH>..<HASH> 100644
--- a/tests/unit_project/test_interviews/test_views.py
+++ b/tests/unit_project/test_interviews/test_views.py
@@ -54,6 +54,7 @@ class TestViews(InterviewViewTestCase):
se... | Prevent TemplateNotFound errors in interviews tests. | ella_ella | train |
9a952bc0e54c096707df9920604c223684c9855a | diff --git a/icekit/plugins/__init__.py b/icekit/plugins/__init__.py
index <HASH>..<HASH> 100644
--- a/icekit/plugins/__init__.py
+++ b/icekit/plugins/__init__.py
@@ -140,10 +140,6 @@ class ICEkitFluentContentsPagePlugin(FluentContentsPagePlugin):
def get_render_template(self, request, fluentpage, **kwargs):
... | Code style. Remove unnecessary blank lines and comments. | ic-labs_django-icekit | train |
f0586b62cc8b49c02131fe3164f2ebf673a98017 | diff --git a/src/main/java/org/cactoos/iterable/Reversed.java b/src/main/java/org/cactoos/iterable/Reversed.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cactoos/iterable/Reversed.java
+++ b/src/main/java/org/cactoos/iterable/Reversed.java
@@ -23,10 +23,6 @@
*/
package org.cactoos.iterable;
-import java... | #<I> Removed code duplication of iterable/Reversed and collection/Reversed | yegor256_cactoos | train |
013cf1c26bdaa70db4467c33132671b48ada8ef9 | diff --git a/src/modules.js b/src/modules.js
index <HASH>..<HASH> 100644
--- a/src/modules.js
+++ b/src/modules.js
@@ -4,14 +4,25 @@
RemoteStorage.defineModule = function(moduleName, builder) {
RemoteStorage.MODULES[moduleName] = builder;
+
+ Object.defineProperty(RemoteStorage.prototype, moduleName, {
+ ... | instantiate modules implicitly when they are accessed. | remotestorage_remotestorage.js | train |
dbebe65e21a299ca482ecc8f52358b97bad9216b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,44 +1,60 @@
var http = require('http');
var url = require('url');
+var Router = require('routes-router');
+var Cat = require('concat-stream');
+
+function ObjectFromStream(req, callback) {
+ req.pipe(Cat(function (... | refactor: minimize NIH syndrome | groundwater_node-lib-http-rpc | train |
c737313798b058af17287f06ec6e7d3236ca90b4 | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -55,7 +55,7 @@ author = 'Victor Stinner'
# built documents.
#
# The short X.Y version.
-version = release = '0.6.1'
+version = release = '0.6.2'
# The language for content autogenerated by Sphinx. Refer to do... | post-release: set version to <I> | python_performance | train |
1a67119a150f4bcaaac7fb9efb07d2949e21c67b | diff --git a/code/plugins/system/koowa/database/row/abstract.php b/code/plugins/system/koowa/database/row/abstract.php
index <HASH>..<HASH> 100644
--- a/code/plugins/system/koowa/database/row/abstract.php
+++ b/code/plugins/system/koowa/database/row/abstract.php
@@ -191,9 +191,9 @@ abstract class KDatabaseRowAbstract e... | Fixed issue with 'id' columns | timble_kodekit | train |
89484bb3d1bf599814ab96349955de84a36b09c4 | diff --git a/source/application/components/widgets/oxwarticledetails.php b/source/application/components/widgets/oxwarticledetails.php
index <HASH>..<HASH> 100644
--- a/source/application/components/widgets/oxwarticledetails.php
+++ b/source/application/components/widgets/oxwarticledetails.php
@@ -952,7 +952,8 @@ class... | <I>: if you try to choose "Back to Overview " then you are redirect to home page (Seo mode is false). Added check if category is not null before getting id from it | OXID-eSales_oxideshop_ce | train |
76aab29ede96b495a815ba865eb628284644284d | diff --git a/pkg/controller/node/nodecontroller.go b/pkg/controller/node/nodecontroller.go
index <HASH>..<HASH> 100644
--- a/pkg/controller/node/nodecontroller.go
+++ b/pkg/controller/node/nodecontroller.go
@@ -114,7 +114,7 @@ type NodeController struct {
nodeStatusMap map[string]nodeStatusData
now func()... | pkg/controller/node/nodecontroller: simplify mutex
Similar to #<I>, we can rely on the zero-value construction behavior
to embed `sync.Mutex` into parent structs. | kubernetes_kubernetes | train |
1fc16078d4fbba84da5b62483f658aa29e88a2ec | diff --git a/binstar_client/requests_ext.py b/binstar_client/requests_ext.py
index <HASH>..<HASH> 100644
--- a/binstar_client/requests_ext.py
+++ b/binstar_client/requests_ext.py
@@ -178,9 +178,9 @@ requests_version = pkg_resources.parse_version(requests.__version__)
# The first version that shipped urllib3 with iss... | OpenSSL issue with requests is fixed in <I>, stop warning | Anaconda-Platform_anaconda-client | train |
007407deb0953fc95b8a341c064c42ec83124bc2 | diff --git a/src/utilities/__tests__/schemaPrinter-test.js b/src/utilities/__tests__/schemaPrinter-test.js
index <HASH>..<HASH> 100644
--- a/src/utilities/__tests__/schemaPrinter-test.js
+++ b/src/utilities/__tests__/schemaPrinter-test.js
@@ -26,6 +26,8 @@ import {
GraphQLList,
GraphQLNonNull,
} from '../../';
+... | Include test that printSchema includes non-spec directives. Closes #<I> | graphql_graphql-js | train |
27dfc60c03c17a3d03a7bb14a622287864120925 | diff --git a/salt/returners/local_cache.py b/salt/returners/local_cache.py
index <HASH>..<HASH> 100644
--- a/salt/returners/local_cache.py
+++ b/salt/returners/local_cache.py
@@ -69,35 +69,6 @@ def _walk_through(job_dir):
yield jid, job, t_path, final
-def _format_job_instance(job):
- '''
- Forma... | Move format_jid_instance from local_cache.py to jid.py to allow reuse | saltstack_salt | train |
0915f542b5cdeb2d84120e5ba55d35fe183e4c28 | diff --git a/lib/onix/apa_product.rb b/lib/onix/apa_product.rb
index <HASH>..<HASH> 100644
--- a/lib/onix/apa_product.rb
+++ b/lib/onix/apa_product.rb
@@ -54,7 +54,7 @@ module ONIX
# retrieve the current title
def title
composite = product.titles.first
- if compsite.nil?
+ if composite.nil?
... | fix some typos in ONIX::APAProduct | yob_onix | train |
0bfa9d9f68c06391519f86a481320604ca5a756f | diff --git a/src/neevo/NeevoResultIterator.php b/src/neevo/NeevoResultIterator.php
index <HASH>..<HASH> 100644
--- a/src/neevo/NeevoResultIterator.php
+++ b/src/neevo/NeevoResultIterator.php
@@ -44,17 +44,16 @@ class NeevoResultIterator implements Iterator, Countable, SeekableIterator {
*/
public function rewind()... | ResultIterator now even more lazy + fix seek behaviour | smasty_Neevo | train |
358eeb829701fca81226ce1546312bd17ba5aac1 | diff --git a/lib/aws/plugins/s3_redirects.rb b/lib/aws/plugins/s3_redirects.rb
index <HASH>..<HASH> 100644
--- a/lib/aws/plugins/s3_redirects.rb
+++ b/lib/aws/plugins/s3_redirects.rb
@@ -1,5 +1,3 @@
-require 'uri'
-
module Aws
module Plugins
@@ -14,10 +12,10 @@ module Aws
def call(context)
res... | Simplified the S3 redirects plugin.
There is no need to parse the 'Location' header before constructing
an Endpoint object. | aws_aws-sdk-ruby | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.