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 |
|---|---|---|---|---|---|
0e82b4eb2f49873be0e84e8deaf10eaee813733b | diff --git a/lib/jekyll/page.rb b/lib/jekyll/page.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/page.rb
+++ b/lib/jekyll/page.rb
@@ -64,7 +64,7 @@ module Jekyll
return @url if @url
url = if permalink
- if uses_relative_permalinks
+ if site.config['relative_permalinks']
File.jo... | Use site config to determine whether permalinks should be relative. | jekyll_jekyll | train | rb |
47c744e536a7907ad38e9dc62f346f739e9b16c7 | diff --git a/main/core/Controller/FileController.php b/main/core/Controller/FileController.php
index <HASH>..<HASH> 100644
--- a/main/core/Controller/FileController.php
+++ b/main/core/Controller/FileController.php
@@ -274,7 +274,7 @@ class FileController extends AbstractApiController
private function stream(Resou... | Fixes permissions for file streaming (#<I>) | claroline_Distribution | train | php |
0b2d7205af22539da74b909baf27d347bad76bd9 | diff --git a/shoebot/core/nodebox.py b/shoebot/core/nodebox.py
index <HASH>..<HASH> 100644
--- a/shoebot/core/nodebox.py
+++ b/shoebot/core/nodebox.py
@@ -535,7 +535,7 @@ class NodeBot(Bot):
else:
return txt
- def textpath(self, txt, x, y, width=None, height=1000000, draw=True, **kwargs):
+ ... | set default in textpath() to 'draw=False'
via shoebot main branch - hv_francesco | shoebot_shoebot | train | py |
9807abe49809774e912a478d2be12a46285e9da2 | diff --git a/test/unit/plugins/guests/suse/cap/change_host_name_test.rb b/test/unit/plugins/guests/suse/cap/change_host_name_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/plugins/guests/suse/cap/change_host_name_test.rb
+++ b/test/unit/plugins/guests/suse/cap/change_host_name_test.rb
@@ -22,13 +22,14 @@ describe ... | Adjusted test to work with new implementation | hashicorp_vagrant | train | rb |
731babf7e21f5e958c01da07d14d87b81ce1c12a | diff --git a/examples/sampleserver.py b/examples/sampleserver.py
index <HASH>..<HASH> 100644
--- a/examples/sampleserver.py
+++ b/examples/sampleserver.py
@@ -71,8 +71,12 @@ class ConcreteServer(OpenIDServer):
'openid.identity': req.identity,
'openid.trust_root': req.trust_root,
'... | [project @ Fix bug in sample server.] | openid_python-openid | train | py |
e8aab9dc5167d4c117aa67a875f02dd42c2950b7 | diff --git a/src/test/java/io/github/bonigarcia/wdm/test/watcher/DisableCspFirefoxTest.java b/src/test/java/io/github/bonigarcia/wdm/test/watcher/DisableCspFirefoxTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/github/bonigarcia/wdm/test/watcher/DisableCspFirefoxTest.java
+++ b/src/test/java/io/github/boni... | Change logic for creating wdm in watch test | bonigarcia_webdrivermanager | train | java |
309ecb9873aaf37a40392ca62ef7c90324995af3 | diff --git a/src/Extension/ProductVariationsExtension.php b/src/Extension/ProductVariationsExtension.php
index <HASH>..<HASH> 100644
--- a/src/Extension/ProductVariationsExtension.php
+++ b/src/Extension/ProductVariationsExtension.php
@@ -208,7 +208,9 @@ class ProductVariationsExtension extends DataExtension
... | Use the sort as defined in the variation (#<I>) | silvershop_silvershop-core | train | php |
bbcf7b384949cdb6c842d61132ba654a599000b6 | diff --git a/hbmqtt/broker.py b/hbmqtt/broker.py
index <HASH>..<HASH> 100644
--- a/hbmqtt/broker.py
+++ b/hbmqtt/broker.py
@@ -370,7 +370,7 @@ class Broker:
if client_session.clean_session:
# Delete existing session and create a new one
- if client_session.client_id is not None:
+ ... | correctly handle CONNECT with zero-length client_id
Zero-length client_ids in CONNECT packets show up in the payload as empty strings, not None; the broker should generate a new id for these connections. | beerfactory_hbmqtt | train | py |
a7813e580c882088dc5effbda8ba787b50300cec | diff --git a/tests/test_main.py b/tests/test_main.py
index <HASH>..<HASH> 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -40,6 +40,9 @@ class TestIdentifyVcs(unittest.TestCase):
identify_vcs(repo_url)
self.assertEqual(identify_vcs(repo_url, guess=True), "hg")
+ repo_url = "ht... | added bitbucket case to tests. Close #1 | pydanny_watdarepo | train | py |
98e5138dfb7eb2149620e529ac0ddb1f5f07b3e4 | diff --git a/salt/states/archive.py b/salt/states/archive.py
index <HASH>..<HASH> 100644
--- a/salt/states/archive.py
+++ b/salt/states/archive.py
@@ -7,6 +7,7 @@ Archive states.
import logging
import os
import tarfile
+from contextlib import closing
log = logging.getLogger(__name__)
@@ -131,7 +132,7 @@ def ext... | Using a closing context with the with block | saltstack_salt | train | py |
adf64e236aa5cfca8d06aeeeba533a2b7ce155fb | diff --git a/lib/chronuscop_client/railtie.rb b/lib/chronuscop_client/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/chronuscop_client/railtie.rb
+++ b/lib/chronuscop_client/railtie.rb
@@ -21,6 +21,9 @@ module ChronuscopClient
# reading the YAML file (app/config/chronuscop.yml)
ChronuscopClient.configur... | Finished setting the I<I>n backend in the gem. | ajeychronus_chronuscop_client | train | rb |
07a03e6fcc69916f8ba447f3adba1d243048de62 | diff --git a/packages/xod-fs/src/utils.js b/packages/xod-fs/src/utils.js
index <HASH>..<HASH> 100644
--- a/packages/xod-fs/src/utils.js
+++ b/packages/xod-fs/src/utils.js
@@ -10,25 +10,21 @@ export const resolvePath = R.compose(
);
// :: string -> boolean
-export const isDirectoryExists = R.compose(
- R.tryCatch(
... | refactor(xod-fs): refactor `isFileExists` and `isDirectoryExists` functions | xodio_xod | train | js |
164fcb294636e0138f9dccdc9691a074b64ed1a3 | diff --git a/playground/examples/tidal.js b/playground/examples/tidal.js
index <HASH>..<HASH> 100644
--- a/playground/examples/tidal.js
+++ b/playground/examples/tidal.js
@@ -50,7 +50,7 @@ drums.tidal( '[kd ch]*2 sd [kd*2 sd] oh' )
// pattern to alternate which member is played.
drums.tidal( '< kd sd kd oh > ch*2' )
... | Replacing a misspelled word with an alternative | charlieroberts_gibber.audio.lib | train | js |
9fb029c32c878ff1961c6f4f8210e3a51c552489 | diff --git a/lib/bot.js b/lib/bot.js
index <HASH>..<HASH> 100644
--- a/lib/bot.js
+++ b/lib/bot.js
@@ -154,7 +154,7 @@ module.exports = ( function () {
const self = this,
logInCallback = function ( err, data ) {
- if (data == null) {
+ if (data === null || typeof data === 'undefined') {
self.e... | Changed to long-form null/undefined check | macbre_nodemw | train | js |
68b34db523f8fce70c56f9ec20dcb5b6f2ca900a | diff --git a/bin/obfuscate_pwd.rb b/bin/obfuscate_pwd.rb
index <HASH>..<HASH> 100755
--- a/bin/obfuscate_pwd.rb
+++ b/bin/obfuscate_pwd.rb
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
-require File.join(File.dirname(__FILE__),"..","lib","birst_command")
+require "birst_command"
-begin
- puts Obfuscate.obfuscate(ARGV[0])
-re... | BugFix: obfuscate_pwd was not working when bundled as gem
Need to require 'birst_command' | gnilrets_Birst_Command | train | rb,rb |
c0096e9556a6a2c7c407d63b0f8ca05da41aa567 | diff --git a/lib/ashton/version.rb b/lib/ashton/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ashton/version.rb
+++ b/lib/ashton/version.rb
@@ -1,3 +1,3 @@
module Ashton
- VERSION = "0.1.1"
+ VERSION = "0.1.3"
end | Updated version so I could push a new copy of the gem | gosu_ashton | train | rb |
ab746d068e6b193ed3db170b79d489f5ab782069 | diff --git a/api/query.go b/api/query.go
index <HASH>..<HASH> 100644
--- a/api/query.go
+++ b/api/query.go
@@ -1,6 +1,7 @@
package api
import (
+ "code.google.com/p/gorest"
"github.com/matttproud/prometheus/rules"
"github.com/matttproud/prometheus/rules/ast"
"time"
@@ -13,9 +14,15 @@ func (serv ... | Set correct Content-Type header based on output format. | prometheus_prometheus | train | go |
94c65b04d5b9cc0ee7bfbe8813200fe8674980bb | diff --git a/source/rafcon/mvc/selection.py b/source/rafcon/mvc/selection.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/selection.py
+++ b/source/rafcon/mvc/selection.py
@@ -67,6 +67,9 @@ class Selection(Observable):
def __len__(self):
return len(self.__selected)
+ def __contains__(self, ite... | Add __contains__ method to Selection class
With this, one can write "if model in selection" instead of having to
write "if model in selection.get_all()" | DLR-RM_RAFCON | train | py |
5cef1b5bec5a3829e65015cbeaa541b5f29ffea3 | diff --git a/client/js/Panels/DiagramDesigner/ModelEditor/ModelEditorControl.DiagramDesignerWidgetEventHandlers.js b/client/js/Panels/DiagramDesigner/ModelEditor/ModelEditorControl.DiagramDesignerWidgetEventHandlers.js
index <HASH>..<HASH> 100644
--- a/client/js/Panels/DiagramDesigner/ModelEditor/ModelEditorControl.Dia... | connections visual props are saved on creation (if any)
Former-commit-id: 0f0a7dfb<I>cfc1a6d<I>d<I>ad<I>e<I>d<I>fab | webgme_webgme-engine | train | js |
281e157f57639ff574d2b929f623e227bd76f04e | diff --git a/squad/core/comparison.py b/squad/core/comparison.py
index <HASH>..<HASH> 100644
--- a/squad/core/comparison.py
+++ b/squad/core/comparison.py
@@ -174,7 +174,7 @@ class TestComparison(BaseComparison):
).prefetch_related(
'build',
'environment',
- ).only('id')
+ ... | core: comparison: fix fetching less data from testrun
This fixes dd<I>a8cb<I>d<I>e<I>b6a9f7a<I>fe0a<I>, which attempted
to prevent unnecessary data from loading. I assumed that Django would
still prefetch "build" and "environment", but it didn't. This caused
collateral unnecessary load of same build and environment.
... | Linaro_squad | train | py |
ac20b6a499342c46856842d380d743b1aa44698f | diff --git a/lib/discordrb/commands/command_bot.rb b/lib/discordrb/commands/command_bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/commands/command_bot.rb
+++ b/lib/discordrb/commands/command_bot.rb
@@ -172,6 +172,7 @@ module Discordrb::Commands
# @return [String, nil] the command's result, if there is any... | Do a nil check against a CommandBot's commands in execute_command | meew0_discordrb | train | rb |
1370cb6109e8e061dcda43bd38cd424b37ac727b | diff --git a/src/Ratchet/Http/Guzzle/Http/Message/RequestFactory.php b/src/Ratchet/Http/Guzzle/Http/Message/RequestFactory.php
index <HASH>..<HASH> 100644
--- a/src/Ratchet/Http/Guzzle/Http/Message/RequestFactory.php
+++ b/src/Ratchet/Http/Guzzle/Http/Message/RequestFactory.php
@@ -4,6 +4,23 @@ use Guzzle\Http\Message\... | This modification gives Ratchet its own RequestFactory instance.
This way you can use guzzle as REST Client. | ratchetphp_Ratchet | train | php |
b186d868ece2b6e1aee2222cb6e8b8140cf4763d | diff --git a/java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java b/java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java
index <HASH>..<HASH> 100644
--- a/java-dataproc/google-cloud-datapr... | Regenerate clients (#<I>) | googleapis_google-cloud-java | train | java |
b6f563193f2a277d3eb2ed9f29772c8893a4c934 | diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py
index <HASH>..<HASH> 100644
--- a/src/aks-preview/setup.py
+++ b/src/aks-preview/setup.py
@@ -8,7 +8,7 @@
from codecs import open as open1
from setuptools import setup, find_packages
-VERSION = "0.4.50"
+VERSION = "0.4.51"
CLASSIFIERS = [
'Devel... | aks-preview: version bump (#<I>) | Azure_azure-cli-extensions | train | py |
0aa49c1ec7244c11799073b132cf543bf4d9550e | diff --git a/src/scs_core/data/json.py b/src/scs_core/data/json.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/data/json.py
+++ b/src/scs_core/data/json.py
@@ -123,9 +123,8 @@ class JSONReport(JSONable):
tmp_filename = '.'.join((filename, str(int(time.time()))))
try:
- f = open(tmp_fil... | Refactored MultiPersistentJSONable | south-coast-science_scs_core | train | py |
b5c864fbf2358b3179862d5b1d22160c3bd0d6b1 | diff --git a/channel.go b/channel.go
index <HASH>..<HASH> 100644
--- a/channel.go
+++ b/channel.go
@@ -274,8 +274,8 @@ func (ch *Channel) sendOpen(msg message) (err error) {
func (ch *Channel) dispatch(msg message) {
switch m := msg.(type) {
case *channelClose:
- ch.connection.closeChannel(ch, newError(m.ReplyCod... | First send a channel.close-ok, then release local resources
This way if a channel with the same ID is opened concurrently,
the server will first see a channel.close-ok for it and release it.
This is the same idea as #<I>. | streadway_amqp | train | go |
cbc65c7f311a366aa3618a18c1a439a72f482218 | diff --git a/scripts/partialBuild.js b/scripts/partialBuild.js
index <HASH>..<HASH> 100644
--- a/scripts/partialBuild.js
+++ b/scripts/partialBuild.js
@@ -12,7 +12,7 @@ rollupConfig.plugins.push(partialBuildPlugin);
rollup.rollup(rollupConfig).then(function(bundle) {
return bundle.generate(rollupConfig.output);
})... | fix: partial build (#<I>)
* fixed partial build output
* write multiple chunks | ramda_ramda | train | js |
2bee5954318eda3aa3335a9853a2f241f3e158cc | diff --git a/src/Core/Loader.php b/src/Core/Loader.php
index <HASH>..<HASH> 100644
--- a/src/Core/Loader.php
+++ b/src/Core/Loader.php
@@ -72,11 +72,6 @@ class Loader
$this->load_widgets();
- // Now all core files are loaded, turn on output buffer until a view is dispatched.
- if (! \ob_get_l... | buffering can conflict with static cache plugins | snapwp_snap-core | train | php,php |
0530d5909e9ca420ac668fde858c7c56a85bdfe4 | diff --git a/src/Lucid/QueryBuilder/methods.js b/src/Lucid/QueryBuilder/methods.js
index <HASH>..<HASH> 100644
--- a/src/Lucid/QueryBuilder/methods.js
+++ b/src/Lucid/QueryBuilder/methods.js
@@ -451,6 +451,8 @@ methods.scope = function (target) {
*/
methods.ids = function (target) {
return function () {
+ cons... | fix(soft-deletes): pairs and ids ignore soft deleted
Closes #<I> | adonisjs_adonis-lucid | train | js |
8c94b4b51ceb3315e21774a10b7b7c4c9362cb5a | diff --git a/lib/omnibus/packagers/mac_dmg.rb b/lib/omnibus/packagers/mac_dmg.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus/packagers/mac_dmg.rb
+++ b/lib/omnibus/packagers/mac_dmg.rb
@@ -25,9 +25,9 @@ module Omnibus
end
setup do
- clean_disks
create_directory(dmg_stage)
remove_file(wr... | Move clean disks after dmg_stage directory creation so that the command can execute correctly. | chef_omnibus | train | rb |
659e6f9f1bf0f7302a55c6a6df2024bdc346b18d | diff --git a/bundles/org.eclipse.orion.client.ui/web/embeddedEditor/builder/javascriptPlugin.build.almond-js.js b/bundles/org.eclipse.orion.client.ui/web/embeddedEditor/builder/javascriptPlugin.build.almond-js.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/embeddedEditor/builder/javascript... | Bug <I> - Stand alone editor: consume-ability improvement.-- refined the build script | eclipse_orion.client | train | js |
6b226535b5c3e5465c54f2773b111411ce255221 | diff --git a/salt/grains/core.py b/salt/grains/core.py
index <HASH>..<HASH> 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -536,7 +536,7 @@ def _virtual(osdata):
# Tested on Fedora 10 / 2.6.27.30-170.2.82 with xen
# Tested on Fedora 15 / 2.6.41.4-1 without running xen
... | Added : to xen grep, because otherwise it would match kernel messages like: skipping TxEn test for device [<I>:<I>f] subsystem [<I>:<I>] | saltstack_salt | train | py |
665c6998649e7b8c99afcaa0e133b71f4a83e917 | diff --git a/src/Medoo.php b/src/Medoo.php
index <HASH>..<HASH> 100644
--- a/src/Medoo.php
+++ b/src/Medoo.php
@@ -234,9 +234,7 @@ class Medoo
}
$option = $options['option'] ?? [];
- $commands = (isset($options['command']) && is_array($options['command'])) ?
- $options['command'] :... | [update] the default commands can be overridden by the connection command option. #<I> | catfan_Medoo | train | php |
7b0f9f619565a7dd4ee3ba2478fa10237fd6353e | diff --git a/packages/ember-testing/lib/helpers.js b/packages/ember-testing/lib/helpers.js
index <HASH>..<HASH> 100644
--- a/packages/ember-testing/lib/helpers.js
+++ b/packages/ember-testing/lib/helpers.js
@@ -19,6 +19,7 @@ Ember.Test.onInjectHelpers(function() {
function visit(app, url) {
Ember.run(app, app.han... | Ember testing update url in visit helper | emberjs_ember.js | train | js |
dca66e9adc94ca9a635b3cb1d4eba5e2721ecbfc | diff --git a/lib/rango/rango.rb b/lib/rango/rango.rb
index <HASH>..<HASH> 100644
--- a/lib/rango/rango.rb
+++ b/lib/rango/rango.rb
@@ -66,6 +66,7 @@ module Rango
# @since 0.0.1
def interactive
ARGV.delete("-i") # otherwise irb will read it
+ ENV["RACK_ENV"] = Rango.environment # for racksh
... | Fixed Rango#environment?, removed test-like environments from development_environments and exported ENV[RACK_ENV] in Rango.interactive | botanicus_rango | train | rb |
44e82fddb9232bbff2ac7088b70f41ab07d574b2 | diff --git a/test/lib/utils.js b/test/lib/utils.js
index <HASH>..<HASH> 100644
--- a/test/lib/utils.js
+++ b/test/lib/utils.js
@@ -44,6 +44,7 @@ exports.setupCouch = function (opts, callback) {
if (err) {
return callback(err);
}
+ process.setMaxListeners(100);
process.on('... | remove memory leak warning for process event emitter during tests
* * *
This commit was sponsored by The Hoodie Firm.
You can hire The Hoodie Firm:
<URL> | hoodiehq-archive_hoodie-plugins-manager | train | js |
6f54a507d4951f34ba469986c1fb2d6bdf12c8db | diff --git a/isort/main.py b/isort/main.py
index <HASH>..<HASH> 100755
--- a/isort/main.py
+++ b/isort/main.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python
''' Tool for sorting imports alphabetically, and automatically separated into sections.
Copyright (C) 2013 Timothy Edmund Crosley | Remove unconventional space after shebang
While allowed by most tools, it is very unconventional. | timothycrosley_isort | train | py |
610418617d0e58d5be780704f2799271cc1473b5 | diff --git a/marathon/models/app.py b/marathon/models/app.py
index <HASH>..<HASH> 100644
--- a/marathon/models/app.py
+++ b/marathon/models/app.py
@@ -37,7 +37,9 @@ class MarathonApp(MarathonResource):
def __init__(self, cmd=None, constraints=None, container=None, cpus=None, env=None, executor=None,
... | Bug Fix: Cannot define constraints with a tuple of strings | thefactory_marathon-python | train | py |
81005d7caaa3eabdb68234f0b1c59fa19385e669 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -49,10 +49,12 @@ mirage.client = function client(primus) {
});
};
+ var session;
+
primus.on('outgoing::url', function url(options) {
var querystring = primus.querystring(options.query || '');
- queryst... | [fix] Actually set the guid; | primus_mirage | train | js |
1ae61a5ce2ff242e07d41c8187b3cfd7a5d76760 | diff --git a/src/mergadoclient/HttpClient.php b/src/mergadoclient/HttpClient.php
index <HASH>..<HASH> 100644
--- a/src/mergadoclient/HttpClient.php
+++ b/src/mergadoclient/HttpClient.php
@@ -59,6 +59,26 @@ class HttpClient
}
+ public function requestAsync($url, $method = 'GET', $data = []) {
+
+ $stack = Handler... | Added requestAsync method to HttpClient
Added async methods to ApiClient | mergado_mergado-api-client-php | train | php |
320c2e5edb023e3399b4a097cc215f871e6e563d | diff --git a/lib/index.cjs.js b/lib/index.cjs.js
index <HASH>..<HASH> 100644
--- a/lib/index.cjs.js
+++ b/lib/index.cjs.js
@@ -1,5 +1,6 @@
import jwtDecode, { InvalidTokenError } from "./index";
const wrapper = jwtDecode;
+wrapper.default = jwtDecode;
wrapper.InvalidTokenError = InvalidTokenError;
export default ... | Add cjs compatibility with default export
This allows to use the ESM default import syntax in environments where the
import resolves to the CJS build.
This allows to create type definitions that work with both ESM and CJS
environments. | auth0_jwt-decode | train | js |
17eff440dd0b7b07378d7d0592874760eb09e9f4 | diff --git a/idx/memory/find_cache_test.go b/idx/memory/find_cache_test.go
index <HASH>..<HASH> 100644
--- a/idx/memory/find_cache_test.go
+++ b/idx/memory/find_cache_test.go
@@ -89,3 +89,14 @@ func TestFindCache(t *testing.T) {
})
}
+
+func BenchmarkTreeFromPath(b *testing.B) {
+ numPaths := 1000
+ paths := getSe... | add benchmark for treeFromPath | grafana_metrictank | train | go |
6f77e1cec48afc1db2b813780c75461034a06c95 | diff --git a/tm-monitor/main.go b/tm-monitor/main.go
index <HASH>..<HASH> 100644
--- a/tm-monitor/main.go
+++ b/tm-monitor/main.go
@@ -11,7 +11,7 @@ import (
monitor "github.com/tendermint/tools/tm-monitor/monitor"
)
-var version = "0.3.0"
+var version = "0.3.1"
var logger = log.NewNopLogger() | update tm-monitor version to <I> | tendermint_tendermint | train | go |
6f239621004418a61e783a7fffc0c1bb56a9259d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,6 +23,7 @@ setup(
"Topic :: Software Development :: Libraries :: Python Modules",
],
+ use_2to3 = True,
long_description = """\
Iron.io common library
---------------------- | modified: setup.py
added distribute's 2to3 option for python 3 compatibility | iron-io_iron_core_python | train | py |
0a0737de5e56f251b1ff4d929d5af155e0b9ff91 | diff --git a/lib/voom/presenters/dsl/components/actions/base.rb b/lib/voom/presenters/dsl/components/actions/base.rb
index <HASH>..<HASH> 100644
--- a/lib/voom/presenters/dsl/components/actions/base.rb
+++ b/lib/voom/presenters/dsl/components/actions/base.rb
@@ -34,13 +34,20 @@ module Voom
def extract_dyna... | Attempt at fixing a very elusive bug when using `last_response` in an
action. | rx_presenters | train | rb |
e03773937965e515ceb43c23f98ba3b58a4c76d9 | diff --git a/cleancat/base.py b/cleancat/base.py
index <HASH>..<HASH> 100644
--- a/cleancat/base.py
+++ b/cleancat/base.py
@@ -930,7 +930,7 @@ class PolymorphicField(Dict):
)
return self.type_map[field_type].clean(
- {k: v for k, v in value.items() if k != field_type}
+ {k:... | Fix field removal in PolymorphicField | closeio_cleancat | train | py,py |
0b9e50b3e19629b24ff7d3ee57078d0dccdfc183 | diff --git a/lib/runtime/index.js b/lib/runtime/index.js
index <HASH>..<HASH> 100644
--- a/lib/runtime/index.js
+++ b/lib/runtime/index.js
@@ -12,10 +12,6 @@ var Entry = require("./entry.js");
// specific module objects, or for Module.prototype (where implemented),
// to make the runtime available throughout the enti... | Don't complain about missing module.resolve until necessary.
Calling require("reify/lib/runtime").enable(Module.prototype) before
Module.prototype.resolve has been defined is fine, as long as the resolve
method is defined before module.link calls it. If it's still undefined
then, an exception will be thrown, which ful... | benjamn_reify | train | js |
f10f2e3d7584e4b6ea42f3779cc85997b7121d82 | diff --git a/webapps/client/scripts/navigation/controllers/cam-layout-ctrl.js b/webapps/client/scripts/navigation/controllers/cam-layout-ctrl.js
index <HASH>..<HASH> 100644
--- a/webapps/client/scripts/navigation/controllers/cam-layout-ctrl.js
+++ b/webapps/client/scripts/navigation/controllers/cam-layout-ctrl.js
@@ -7... | impr(layout): only the toggler should trigger collapse / expand
Related to: CAM-<I> | camunda_camunda-bpm-platform | train | js |
3ef2d789f09f629dd0c649a02ff309689e200a0f | diff --git a/unit_testing.py b/unit_testing.py
index <HASH>..<HASH> 100644
--- a/unit_testing.py
+++ b/unit_testing.py
@@ -13,6 +13,7 @@ class TestW2N(unittest.TestCase):
self.assertEqual(w2n.word_to_num('eleven'),11)
self.assertEqual(w2n.word_to_num('nineteen billion and nineteen'),19000000019)
self.assertEqu... | Added support for dash-splitted 2-digit numbers. Like thirty-five | akshaynagpal_w2n | train | py,py |
2083a0104eab24f9abf2caaf777912cec54dd052 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -48,7 +48,7 @@ return array(
'version' => '20.2.2',
'author' => 'Open Assessment Technologies, CRP Henri Tudor',
'requires' => array(
- 'generis' => '>=7.9.6',
+ 'generis' => '>=7.9... | New version with DBAL instead of PDO requires new generis | oat-sa_tao-core | train | php |
8b98d31bbe7a2f02d1c8e7dafadbeadcafbdd8e5 | diff --git a/tests/get_free_port.py b/tests/get_free_port.py
index <HASH>..<HASH> 100644
--- a/tests/get_free_port.py
+++ b/tests/get_free_port.py
@@ -2,12 +2,8 @@ import tangelo.util
def test_get_free_port():
- for _ in xrange(100):
+ for _ in xrange(1000):
free_port = tangelo.util.get_free_port()
... | Preventing the get_free_port() test from cluttering the output
This also strengthens the test, now that screen clutter is not an issue | Kitware_tangelo | train | py |
ce27ef7adb7f9e8348281f82db1ce5d17cf7ff87 | diff --git a/peer_test.go b/peer_test.go
index <HASH>..<HASH> 100644
--- a/peer_test.go
+++ b/peer_test.go
@@ -385,11 +385,11 @@ func TestPeerSelectionPreferIncoming(t *testing.T) {
},
}
- ctx, cancel := NewContext(time.Second)
- defer cancel()
-
for _, tt := range tests {
WithVerifiedServer(t, nil, func(ch... | Create context inside of the test function
Avoid timeouts if a previous test failed, since the context may now
already be past the deadline and will cause future failures | uber_tchannel-go | train | go |
763d74687f3706f8fdc1012b575b10aa71b41081 | diff --git a/app/Notifications/Component/ComponentStatusChangedNotification.php b/app/Notifications/Component/ComponentStatusChangedNotification.php
index <HASH>..<HASH> 100644
--- a/app/Notifications/Component/ComponentStatusChangedNotification.php
+++ b/app/Notifications/Component/ComponentStatusChangedNotification.p... | Uses the translation cachet.subscriber.manage.
When a component's status changes or when an incident is
created/updated, an email is sent to every people that has subscribed.
At the end of the mail a link to manage its subscription has been
introduced.
Now, it uses the translation. | CachetHQ_Cachet | train | php |
78f90353f162668208718263db23867df9d8961d | diff --git a/coupons/models.py b/coupons/models.py
index <HASH>..<HASH> 100644
--- a/coupons/models.py
+++ b/coupons/models.py
@@ -69,6 +69,7 @@ class Coupon(models.Model):
users = models.ManyToManyField(
user_model, verbose_name=_("Users"), null=True, blank=True, through='CouponUser',
help_text=... | add a user limit field to coupon with default of 1 like before | byteweaver_django-coupons | train | py |
7c244f46db29c1c5556b2989eef2e57153f7cc34 | diff --git a/libkbfs/block_journal.go b/libkbfs/block_journal.go
index <HASH>..<HASH> 100644
--- a/libkbfs/block_journal.go
+++ b/libkbfs/block_journal.go
@@ -268,7 +268,7 @@ func (j *blockJournal) readJournal(ctx context.Context) (
// refs won't have to upload any new bytes. (This might
// be wrong if all ref... | block_journal: ignore the byes of ignored blocks on a restart
Issue: KBFS-<I> | keybase_client | train | go |
08137b46eb1844f86b03210d770717b9fa66aef2 | diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/v2/PollStrategy.java b/azure-client-runtime/src/main/java/com/microsoft/azure/v2/PollStrategy.java
index <HASH>..<HASH> 100644
--- a/azure-client-runtime/src/main/java/com/microsoft/azure/v2/PollStrategy.java
+++ b/azure-client-runtime/src/main/java/co... | Fix spelling in PollStrategy Javadoc (#<I>) | Azure_azure-sdk-for-java | train | java |
a72970ae6bd4dc5e17c717670719c1b8b0e48862 | diff --git a/AuthManager.php b/AuthManager.php
index <HASH>..<HASH> 100755
--- a/AuthManager.php
+++ b/AuthManager.php
@@ -4,9 +4,7 @@ namespace Illuminate\Auth;
use Closure;
use Illuminate\Contracts\Auth\Factory as FactoryContract;
-use Illuminate\Support\Str;
use InvalidArgumentException;
-use LogicException;
... | Apply fixes from StyleCI (#<I>) | illuminate_auth | train | php |
b2442470769ffdf4fd95b4726f3f6d8892f76fb2 | diff --git a/src/BouncerServiceProvider.php b/src/BouncerServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/BouncerServiceProvider.php
+++ b/src/BouncerServiceProvider.php
@@ -2,6 +2,8 @@
namespace Silber\Bouncer;
+use Silber\Bouncer\Database\Role;
+use Silber\Bouncer\Database\Ability;
use Illuminate\Suppo... | Bug fix missing use statements for Ability and Role Classes in ServiceProvider. | JosephSilber_bouncer | train | php |
5fab6e6f5f0e802ccfed77c3e60335986d489a6b | diff --git a/holodeck/packagemanager.py b/holodeck/packagemanager.py
index <HASH>..<HASH> 100644
--- a/holodeck/packagemanager.py
+++ b/holodeck/packagemanager.py
@@ -79,18 +79,14 @@ def world_info(world_name, world_config=None, initial_indent="", next_indent="
print(sensor_indent, sensor)
-def insta... | Removed code to recheck holodeck path
Recently implemented similar functionality in util.py | BYU-PCCL_holodeck | train | py |
312d0b5b357c70be3ffcc91c13a0b8b78a12821f | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -7,9 +7,20 @@ var sut = require("./index");
var lib = require("./lib");
var quick_check = function (describe_string, it_string, it_func) {
return describe(describe_string, function () {
- return _.times(500, function (n) {... | test(quick_check): add sanity check on number of tests executed | janraasch_javascript-commitment | train | js |
129dc03cfc9ff736f6dc0e6357dabdd4cda74cc5 | diff --git a/tests/test_callstack.py b/tests/test_callstack.py
index <HASH>..<HASH> 100644
--- a/tests/test_callstack.py
+++ b/tests/test_callstack.py
@@ -47,7 +47,7 @@ def test_empty_stack():
cs = cs.ret(None)
nose.tools.assert_equal(cs.current_function_address, 0)
- nose.tools.assert_equal(cs.current_s... | missed a spot on test_callstack | angr_angr | train | py |
dcca6efd750bd42062fe9cb3ecb822a7cae75d19 | diff --git a/tests/test_protocol.py b/tests/test_protocol.py
index <HASH>..<HASH> 100644
--- a/tests/test_protocol.py
+++ b/tests/test_protocol.py
@@ -70,9 +70,6 @@ class TransportMock(unittest.mock.Mock):
self.loop.call_soon(self.close)
self._eof = True
- def is_closing(self):
- retur... | Simplify mock.
The code that was using this no longer exists. | aaugustin_websockets | train | py |
e188020a7f484dc10ebbad76ab2defd2da56a6e2 | diff --git a/testRunner.js b/testRunner.js
index <HASH>..<HASH> 100755
--- a/testRunner.js
+++ b/testRunner.js
@@ -139,6 +139,7 @@ async function check(file) {
result = result.split(' - undefined').join('x');
result = result.split(' `undefined`').join('x');
result = re... | fix: more undefined in text fields | Mermade_widdershins | train | js |
891f61a8c9cf1f82b062ed957178956a3672908b | diff --git a/gcloud_requests/credentials_watcher.py b/gcloud_requests/credentials_watcher.py
index <HASH>..<HASH> 100644
--- a/gcloud_requests/credentials_watcher.py
+++ b/gcloud_requests/credentials_watcher.py
@@ -62,3 +62,8 @@ class CredentialsWatcher(Thread):
with self.watch_list_updated:
self.... | unwatch credentials once proxies get gc'd | LeadPages_gcloud_requests | train | py,py |
bee453e79cd0a16dadf51b915560fb5a6eaec835 | diff --git a/MAVProxy/modules/mavproxy_console.py b/MAVProxy/modules/mavproxy_console.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_console.py
+++ b/MAVProxy/modules/mavproxy_console.py
@@ -6,8 +6,6 @@
import os, sys, math, time
-mpstate = None
-
from MAVProxy.modules.lib import wxconsole
from M... | console: Console window now closes when module is unloaded. | ArduPilot_MAVProxy | train | py |
88f199b9a2052e54b04bf9a0e3c9b5316ed5fa1b | diff --git a/testproj/urls.py b/testproj/urls.py
index <HASH>..<HASH> 100644
--- a/testproj/urls.py
+++ b/testproj/urls.py
@@ -14,12 +14,12 @@ from testproj import views
# args, kwargs, *args, **kwargs
urlpatterns = patterns('',
- (r'^home$', 'testproj.views.home'),
- (r'^home-callable$', views.home),
+ (r... | Reformatted some url patterns. | jkocherhans_alto | train | py |
8cbbf89b8abeb9a811d14d65c3c2327d8ba54ba2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -116,6 +116,9 @@ setup(
'invenio_base.apps': [
'invenio_records = invenio_records:InvenioRecords',
],
+ 'invenio_base.api_apps': [
+ 'invenio_records = invenio_records:InvenioRe... | installation: entry point fix
* Installs extension on API application in order to support JSONRef
replacement in the API application. | inveniosoftware_invenio-records | train | py |
e7e8a7d8358791115034179cede5447d2744f47e | diff --git a/test/test_heuristics.rb b/test/test_heuristics.rb
index <HASH>..<HASH> 100644
--- a/test/test_heuristics.rb
+++ b/test/test_heuristics.rb
@@ -145,6 +145,18 @@ class TestHeuristcs < Minitest::Test
})
end
+ def test_m_by_heuristics
+ assert_heuristics({
+ "Objective-C" => all_fixtures("Obj... | Tests for .m heuristic rules | github_linguist | train | rb |
0922e28ad7e6cb43af96bc28a60fc77d4a139ba9 | diff --git a/spec/gettext_i18n_rails/haml_parser_spec.rb b/spec/gettext_i18n_rails/haml_parser_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/gettext_i18n_rails/haml_parser_spec.rb
+++ b/spec/gettext_i18n_rails/haml_parser_spec.rb
@@ -23,11 +23,13 @@ describe GettextI18nRails::HamlParser do
end
end
- i... | Only run spec for <I> when ruby_version is <I>.. this fixes the travis ree testrun | grosser_gettext_i18n_rails | train | rb |
8c4a1cf67f2c96f5385ac0fe62dffd40dc3fc00f | diff --git a/app/helpers/govuk_elements_errors_helper.rb b/app/helpers/govuk_elements_errors_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/govuk_elements_errors_helper.rb
+++ b/app/helpers/govuk_elements_errors_helper.rb
@@ -28,7 +28,7 @@ module GovukElementsErrorsHelper
child_objects = attribute_objec... | Remove parent object from attributes(object) when present
Assure attributes(object) does not return object in returned array. | ministryofjustice_govuk_elements_form_builder | train | rb |
e4dc3cee457afe27b026d9badad41b635cf25de8 | diff --git a/lib/discordrb/commands/command_bot.rb b/lib/discordrb/commands/command_bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/commands/command_bot.rb
+++ b/lib/discordrb/commands/command_bot.rb
@@ -79,7 +79,7 @@ module Discordrb::Commands
parse_self: attributes[:parse_self],
shard_id: att... | Set redact_token to true if none is given during CommandBot passthrough
(so the entire thing *actually works* on CommandBot) | meew0_discordrb | train | rb |
f5823252bb90a984480995cd8ed6c5a6a8dd83a4 | diff --git a/tests/support/mock.py b/tests/support/mock.py
index <HASH>..<HASH> 100644
--- a/tests/support/mock.py
+++ b/tests/support/mock.py
@@ -95,8 +95,10 @@ if NO_MOCK is False:
class MockFH(object):
- def __init__(self, filename, read_data):
+ def __init__(self, filename, read_data, *args, **kwargs):
... | Track call args/kwargs in MockFH
This allows for them to be verified in tests | saltstack_salt | train | py |
f965cec37121e2fa58bd37d590f257f37117c042 | diff --git a/src/TwentyOneRunFactory.php b/src/TwentyOneRunFactory.php
index <HASH>..<HASH> 100644
--- a/src/TwentyOneRunFactory.php
+++ b/src/TwentyOneRunFactory.php
@@ -408,7 +408,7 @@ class TwentyOneRunFactory implements Factory
),
SortOrderConfig::create(
Attri... | Issue #<I>: Descend sorting by creation date | lizards-and-pumpkins_catalog | train | php |
61f63bd9e8f576c4b7b673171dc7262bd3c26ae8 | diff --git a/test/integration.js b/test/integration.js
index <HASH>..<HASH> 100644
--- a/test/integration.js
+++ b/test/integration.js
@@ -35,20 +35,20 @@ test('should work with a single pid', async t => {
test('should work with an array of pids', async t => {
const child = spawn(
'node',
- ['-e', 'console.... | test: os x deterministic | soyuka_pidusage | train | js |
d4d0e0b4504fb0b6ba6c1cca237cabe022a4de48 | diff --git a/revapi-java/src/main/java/org/revapi/java/compilation/ClassTreeInitializer.java b/revapi-java/src/main/java/org/revapi/java/compilation/ClassTreeInitializer.java
index <HASH>..<HASH> 100644
--- a/revapi-java/src/main/java/org/revapi/java/compilation/ClassTreeInitializer.java
+++ b/revapi-java/src/main/java... | Output class tree init times only on trace level. | revapi_revapi | train | java |
315dfd43d5777f2b823d5b3a7e5d2bbc64f6b90d | diff --git a/lib/wns.js b/lib/wns.js
index <HASH>..<HASH> 100644
--- a/lib/wns.js
+++ b/lib/wns.js
@@ -156,8 +156,10 @@ var obtainAccessToken = function (context) {
// queue up the context until the accessToken is obtained
var key = getClientKey(context);
- if (pendingNotifications[key])
+ if (pendingNotification... | Fix simultaneous send requests while obtaining token
If you are sending a push notification for the first time, a token will be retrieved. During that time, if you attempt to send another message, it gets queued, but produces a fatal error. This is because a new request for a new token is made. | tjanczuk_wns | train | js |
8bbe72075e4e16442c4e28d999edee12e294329e | diff --git a/params/version.go b/params/version.go
index <HASH>..<HASH> 100644
--- a/params/version.go
+++ b/params/version.go
@@ -21,10 +21,10 @@ import (
)
const (
- VersionMajor = 1 // Major version component of the current release
- VersionMinor = 8 // Minor version component of the current re... | params, swarm: release Geth <I> and Swar <I> | ethereum_go-ethereum | train | go,go |
e4db6afabeb9617f42648a7ee6ced98dc01ad2cb | diff --git a/tests/minifier.js b/tests/minifier.js
index <HASH>..<HASH> 100644
--- a/tests/minifier.js
+++ b/tests/minifier.js
@@ -7,6 +7,10 @@
input,
output;
+ test('`minifiy` exists', function() {
+ ok(minify);
+ });
+
test('parsing non-trivial markup', function() {
equal(minify('<p title... | test for minify() should come first | kangax_html-minifier | train | js |
5f2545cff6a1ff7adf14edc33fa6a1a73bd9a68b | diff --git a/examples/nips17_adversarial_competition/run_attacks_and_defenses.py b/examples/nips17_adversarial_competition/run_attacks_and_defenses.py
index <HASH>..<HASH> 100644
--- a/examples/nips17_adversarial_competition/run_attacks_and_defenses.py
+++ b/examples/nips17_adversarial_competition/run_attacks_and_defen... | Fix bug in computation of attack score for Adversarial competition. | tensorflow_cleverhans | train | py |
f4d1e6258927cb171cb7fc8a90a3cba546a2aee5 | diff --git a/rulengine/__init__.py b/rulengine/__init__.py
index <HASH>..<HASH> 100644
--- a/rulengine/__init__.py
+++ b/rulengine/__init__.py
@@ -1,7 +1,7 @@
from rulengine.core import RuleOperator
from rulengine.conditions import execute_condition
-VERSION = (0, 0, 5)
+VERSION = (0, 0, 6)
__version__ = '.'.join(... | version bumped to <I> | baranbartu_rulengine | train | py |
b54dfe5052226ad5c353208b039b06adf4da51f5 | diff --git a/packages/plugin-phone/src/call.js b/packages/plugin-phone/src/call.js
index <HASH>..<HASH> 100644
--- a/packages/plugin-phone/src/call.js
+++ b/packages/plugin-phone/src/call.js
@@ -832,11 +832,14 @@ const Call = SparkPlugin.extend({
offerToReceiveAudio: recvOnly || !!options.constraints.audio,
... | fix(plugin-phone): Fix options setting for _join | webex_spark-js-sdk | train | js |
36f7147fcd3142db70c49468a01cde64d0687de4 | diff --git a/src/test/java/com/github/kongchen/smp/integration/utils/PetIdToStringModelConverter.java b/src/test/java/com/github/kongchen/smp/integration/utils/PetIdToStringModelConverter.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/github/kongchen/smp/integration/utils/PetIdToStringModelConverter.java
+++ ... | Added comments to PetIdToStringModelConverter | kongchen_swagger-maven-plugin | train | java |
040593d6ee513103028f9bea942bc7529ddfafdf | diff --git a/src/SessionTracker.php b/src/SessionTracker.php
index <HASH>..<HASH> 100644
--- a/src/SessionTracker.php
+++ b/src/SessionTracker.php
@@ -2,6 +2,9 @@
namespace Bugsnag;
+use Exception;
+use InvalidArgumentException;
+
class SessionTracker
{
/** | Add missing imports in SessionTracker | bugsnag_bugsnag-php | train | php |
ec5857079964f86764fddd303ca1caf606f23475 | diff --git a/src/PlaygroundDesign/Module.php b/src/PlaygroundDesign/Module.php
index <HASH>..<HASH> 100644
--- a/src/PlaygroundDesign/Module.php
+++ b/src/PlaygroundDesign/Module.php
@@ -202,10 +202,10 @@ class Module implements
$serviceManager = $e->getApplication()->getServiceManager();
$options =... | PLAYGROUND-<I>, fix translation user | gregorybesson_PlaygroundDesign | train | php |
d085e34668afde11beceedc0106bf82253c819d1 | diff --git a/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java b/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/IpcPublication.java
@@ -233,7 +23... | [Java] Keep checking for blocked IpcPublication even when inactive. | real-logic_aeron | train | java |
e2c2bdf7b0a5a133cca5d624ec7b09054ef2e1d4 | diff --git a/serviced/cmd.go b/serviced/cmd.go
index <HASH>..<HASH> 100644
--- a/serviced/cmd.go
+++ b/serviced/cmd.go
@@ -127,7 +127,7 @@ func init() {
flag.Var(&options.zookeepers, "zk", "Specify a zookeeper instance to connect to (e.g. -zk localhost:2181 )")
flag.BoolVar(&options.repstats, "reportstats", true, "... | change metric sampling rate to 1 minute | control-center_serviced | train | go |
0b1881a9c1e6e2dba273a071e480042208c1ee08 | diff --git a/src/AdapterInterface.php b/src/AdapterInterface.php
index <HASH>..<HASH> 100644
--- a/src/AdapterInterface.php
+++ b/src/AdapterInterface.php
@@ -130,4 +130,16 @@ interface AdapterInterface
* @return \React\Promise\PromiseInterface
*/
public function rename($fromPath, $toPath);
+
+ /**
... | readlink and symlink methods added to adapter contract | reactphp_filesystem | train | php |
20f3b2c1ac7bc9f13b6067d7246ad680704f8d45 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -100,5 +100,6 @@ setuptools.setup(
"requests"
],
url="https://github.com/CellProfiler/prokaryote",
- version=version
+ version=version,
+ zip_safe = False
) | Flailing - guess what, pip decided to install as zipped egg, lot of good that does! | CellProfiler_prokaryote | train | py |
a3b2677633d7791fd9f27f9740327ee5653fffe4 | diff --git a/plugins/org.eclipse.xtext.xbase/src/org/eclipse/xtext/xbase/validation/XbaseJavaValidator.java b/plugins/org.eclipse.xtext.xbase/src/org/eclipse/xtext/xbase/validation/XbaseJavaValidator.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext.xbase/src/org/eclipse/xtext/xbase/validation/XbaseJavaV... | [xtend] Inferred return type for dispatch method is the same as the one for the dispatching method - inherited return types and explicitly defined return types have higher precedence, though - see <URL> | eclipse_xtext-extras | train | java |
3e5e33ab4381a11209d24a89ba55b65ef7f4c7dc | diff --git a/src/Robo/RoboTasks.php b/src/Robo/RoboTasks.php
index <HASH>..<HASH> 100644
--- a/src/Robo/RoboTasks.php
+++ b/src/Robo/RoboTasks.php
@@ -203,6 +203,14 @@ class RoboTasks extends \Robo\Tasks implements LoggerAwareInterface
/** @var RoboFile|CollectionBuilder $collection */
$collection = $... | [TASK] skip mysql database drop and create in case mysql bin is not set | mwr_magedeploy2 | train | php |
8ced1f6abfc0d9b5915f1341612236ccda6cc78d | diff --git a/src/QueryHelper.php b/src/QueryHelper.php
index <HASH>..<HASH> 100644
--- a/src/QueryHelper.php
+++ b/src/QueryHelper.php
@@ -15,7 +15,7 @@ trait QueryHelper
foreach ((array)$this as $i => $element) {
$i = (string)$i;
if (is_string($element)) {
- return $el... | ehm, continue, not return | monolyth-php_formulaic | train | php |
ab0e5eec4c0debaa7d7a700c56086ecdb897db17 | diff --git a/app/scripts/tests/setup.js b/app/scripts/tests/setup.js
index <HASH>..<HASH> 100644
--- a/app/scripts/tests/setup.js
+++ b/app/scripts/tests/setup.js
@@ -1,5 +1,4 @@
var jsdom = require('jsdom').jsdom;
-
var exposedProperties = ['window', 'navigator', 'document'];
global.document = jsdom('');
@@ -21,3... | Add Sinon-Chai setup when run tests with Mocha. | nossas_bonde-client | train | js |
7d5b898b0270df4493f5e094b5bb2fa86679ec37 | diff --git a/app/controllers/caboose/application_controller.rb b/app/controllers/caboose/application_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/caboose/application_controller.rb
+++ b/app/controllers/caboose/application_controller.rb
@@ -3,6 +3,7 @@ module Caboose
protect_from_forgery
... | Added all helpers to application controller | williambarry007_caboose-cms | train | rb |
032e338589f377a09d1b33cac81aa779639d030d | diff --git a/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/NodeData.php b/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/NodeData.php
index <HASH>..<HASH> 100644
--- a/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/NodeData.php
+++ b/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/NodeData.php
@@ -44,11 +44,14 ... | TASK: Remove option from Index annotation
It is not supported (like in later versions). Leave a comment instead, | neos_neos-development-collection | train | php |
2142bace0cfa24ad5b4ae7a136aa81cbf2767d5f | diff --git a/lib/raven/transports/http.rb b/lib/raven/transports/http.rb
index <HASH>..<HASH> 100644
--- a/lib/raven/transports/http.rb
+++ b/lib/raven/transports/http.rb
@@ -56,7 +56,7 @@ module Raven
end
def ssl_configuration
- (configuration.ssl.dup || {}).merge!(
+ (configuration.ssl |... | Can't 'dup' a nil, besides I can just regular-merge. | getsentry_raven-ruby | train | rb |
045f7f5643539b21f6f46ee1ce2daee76f74a954 | diff --git a/telethon/tl/session.py b/telethon/tl/session.py
index <HASH>..<HASH> 100644
--- a/telethon/tl/session.py
+++ b/telethon/tl/session.py
@@ -163,7 +163,8 @@ class Session:
rows = []
for p_id, p_hash in data.get('entities', []):
- rows.append((p_id, p_hash... | Assert hash is not None when migrating from JSON sessions | LonamiWebs_Telethon | train | py |
9de04a358216946f08335d210600c4f42477c334 | diff --git a/src/File.php b/src/File.php
index <HASH>..<HASH> 100644
--- a/src/File.php
+++ b/src/File.php
@@ -30,13 +30,16 @@ class File extends Field
$scale = m('scale');
$scale->resize($upload->fullPath(), $upload->name(), $upload->uploadDir);
}
+
+ // TODO: Work wi... | Fixed full path to support internal web-application paths | samsonos_cms_input_upload | train | php |
90d3cd6c2c8e5a530ada28f11aa8a504d0fa3682 | diff --git a/goscale/themes/context_processors.py b/goscale/themes/context_processors.py
index <HASH>..<HASH> 100644
--- a/goscale/themes/context_processors.py
+++ b/goscale/themes/context_processors.py
@@ -9,7 +9,8 @@ def theme(request):
# set config
site_theme = settings.THEME
static_theme_url = '%s... | goscale/themes/context_processors.py | sternoru_goscalecms | train | py |
e87d65a43b99e0be33f26f66015ded31bb333c1f | diff --git a/spec/collins/api/asset_spec.rb b/spec/collins/api/asset_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/collins/api/asset_spec.rb
+++ b/spec/collins/api/asset_spec.rb
@@ -119,6 +119,18 @@ describe Collins::Api::Asset do
end
end
+ context "#count" do
+ include_context "collins api"
+ def met... | Add basic unit test for the assets count method | tumblr_collins_client | train | rb |
11f873dad7bc033e67e6ef1ef247be9918cde2f7 | diff --git a/resource_aws_cloudfront_distribution.go b/resource_aws_cloudfront_distribution.go
index <HASH>..<HASH> 100644
--- a/resource_aws_cloudfront_distribution.go
+++ b/resource_aws_cloudfront_distribution.go
@@ -6,6 +6,7 @@ import (
"time"
"github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/aw... | providers/aws: cloudfront distribution <I> should mark as gone (#<I>) | terraform-providers_terraform-provider-aws | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.