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 |
|---|---|---|---|---|---|
731e6c9a4f048266ac087c59447139b59be4715e | diff --git a/lib/classy_enum/version.rb b/lib/classy_enum/version.rb
index <HASH>..<HASH> 100644
--- a/lib/classy_enum/version.rb
+++ b/lib/classy_enum/version.rb
@@ -1,3 +1,3 @@
module ClassyEnum
- VERSION = "2.0.3"
+ VERSION = "2.1.0"
end | Bumping to v <I> | beerlington_classy_enum | train | rb |
591e64c89d1a56c824ba5f47bc84721f5c3452fc | diff --git a/kundera-core/src/main/java/com/impetus/kundera/query/QueryHandlerException.java b/kundera-core/src/main/java/com/impetus/kundera/query/QueryHandlerException.java
index <HASH>..<HASH> 100644
--- a/kundera-core/src/main/java/com/impetus/kundera/query/QueryHandlerException.java
+++ b/kundera-core/src/main/jav... | Added a new constructor in QueryHandlerException.java | Impetus_Kundera | train | java |
44c8d6fe091f87fe94ed047b672c51656dda8420 | diff --git a/bundles/as3/lib/sprout/as3/version.rb b/bundles/as3/lib/sprout/as3/version.rb
index <HASH>..<HASH> 100644
--- a/bundles/as3/lib/sprout/as3/version.rb
+++ b/bundles/as3/lib/sprout/as3/version.rb
@@ -3,7 +3,7 @@ module Sprout # :nodoc:
module VERSION #:nodoc:
MAJOR = 1
MINOR = 0
- TIN... | Fixed debug task rake description support | lukebayes_project-sprouts | train | rb,rb |
81f9600ef8009b083e74c20eb6724353a3921708 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -50,15 +50,18 @@ describe('scripts manager', function () {
done(new Error('should have failed'))
}
- scriptsManager2.execute({}, { execModulePath: path.join(__dirname, 'script... | wait a bit until recycle in test | pofider_node-script-manager | train | js |
f4b72cdb742dab7e81f6d53a4e5c17fe4f6c4c18 | diff --git a/question/questiontypes/multianswer/questiontype.php b/question/questiontypes/multianswer/questiontype.php
index <HASH>..<HASH> 100644
--- a/question/questiontypes/multianswer/questiontype.php
+++ b/question/questiontypes/multianswer/questiontype.php
@@ -198,7 +198,7 @@ class quiz_embedded_cloze_qtype exten... | Made to work with the new templating system. | moodle_moodle | train | php |
a90f0024f8bd2ffe880534a15574d7327add9bcc | diff --git a/src/chisel/__init__.py b/src/chisel/__init__.py
index <HASH>..<HASH> 100644
--- a/src/chisel/__init__.py
+++ b/src/chisel/__init__.py
@@ -6,7 +6,7 @@ Chisel is a light-weight Python WSGI application framework with tools for buildi
well-tested, schema-validated JSON web APIs.
"""
-__version__ = '0.9.105... | chisel <I> | craigahobbs_chisel | train | py |
d44df69b23fc007369eec05bad9924f6415069d5 | diff --git a/admin/roles/lib.php b/admin/roles/lib.php
index <HASH>..<HASH> 100644
--- a/admin/roles/lib.php
+++ b/admin/roles/lib.php
@@ -1507,15 +1507,16 @@ class admins_potential_selector extends user_selector_base {
}
public function find_users($search) {
- global $DB;
+ global $CFG, $DB;
... | MDL-<I> only local users can be admins - more security and fewer "lost admin account" problems | moodle_moodle | train | php |
07aeeab9ec499d354ed307ab8f1b97d09dd2d186 | diff --git a/lib/geocoder/request.rb b/lib/geocoder/request.rb
index <HASH>..<HASH> 100644
--- a/lib/geocoder/request.rb
+++ b/lib/geocoder/request.rb
@@ -78,8 +78,5 @@ module Geocoder
end
end
-if defined?(ActionDispatch::Request)
- ActionDispatch::Request.__send__(:include, Geocoder::Request)
-elsif defined?(Ra... | always add geocoder to Rack::Request if defined (#<I>) | alexreisner_geocoder | train | rb |
c7503864b9a7777d385e89713030005b000b64e6 | diff --git a/app/controllers/alchemy/admin/users_controller.rb b/app/controllers/alchemy/admin/users_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/alchemy/admin/users_controller.rb
+++ b/app/controllers/alchemy/admin/users_controller.rb
@@ -23,6 +23,10 @@ module Alchemy
@users = users.page(pa... | Set User#send_credentials checkbox to checked in Admin::Users#new | AlchemyCMS_alchemy_cms | train | rb |
033ddd95c297ca653563c7c75aef0ac6f3bc7310 | diff --git a/liquid_tags/b64img.py b/liquid_tags/b64img.py
index <HASH>..<HASH> 100644
--- a/liquid_tags/b64img.py
+++ b/liquid_tags/b64img.py
@@ -24,7 +24,10 @@ Output
"""
import re
import base64
-import urllib2
+try:
+ import urllib.request as urllib2
+except ImportError:
+ import urllib2
from .mdx_liquid_t... | Add support for python3 in liquid_tags/b<I>img.py
The following error occured when used with python3
ImportError: No module named 'urllib2' | getpelican_pelican-plugins | train | py |
ed73c6c754093c67a9a9ae796f9d0c0fd1c8fa47 | diff --git a/src/router.js b/src/router.js
index <HASH>..<HASH> 100644
--- a/src/router.js
+++ b/src/router.js
@@ -71,10 +71,13 @@ export default class Router {
await this.ctx.route.dispose()
}
+ const currentUrl = Router.canonicalizePath(location.pathname + location.search + location.hash)
+ const ... | Don't wipe out querystring or hash | Profiscience_ko-component-router | train | js |
d1e975e0844f87b3313c7d4fdb14a0443ad768eb | diff --git a/lib/tetra/project_initer.rb b/lib/tetra/project_initer.rb
index <HASH>..<HASH> 100644
--- a/lib/tetra/project_initer.rb
+++ b/lib/tetra/project_initer.rb
@@ -81,7 +81,7 @@ module Tetra
Tetra::Tar.new
end
- Dir.glob("*").each { |f| FileUtils.rm_rf(f) }
... | Bugfix: don't delete *, delete src/*! | moio_tetra | train | rb |
992e26c042b598457e1496a7695d37d611716b61 | diff --git a/lib/lingohub/commands/help.rb b/lib/lingohub/commands/help.rb
index <HASH>..<HASH> 100644
--- a/lib/lingohub/commands/help.rb
+++ b/lib/lingohub/commands/help.rb
@@ -46,7 +46,7 @@ module Lingohub::Command
group.command 'project:info --project <name>', 'show project info, like web url and nu... | renamed 'destroy' to 'archive' | lingohub_lingohub_ruby | train | rb,rb |
2c27cc009056d22e3072e8ebf518092b471d3877 | diff --git a/internal/ackhandler/sent_packet_handler.go b/internal/ackhandler/sent_packet_handler.go
index <HASH>..<HASH> 100644
--- a/internal/ackhandler/sent_packet_handler.go
+++ b/internal/ackhandler/sent_packet_handler.go
@@ -15,8 +15,8 @@ import (
const (
// Maximum reordering in time space before time based... | rename the reordering threshold constant in the sent packet handler | lucas-clemente_quic-go | train | go |
d1879429aecf06b8fda60a343b245738ae113bb7 | diff --git a/column/api/controller/credential_controller.py b/column/api/controller/credential_controller.py
index <HASH>..<HASH> 100644
--- a/column/api/controller/credential_controller.py
+++ b/column/api/controller/credential_controller.py
@@ -1,5 +1,6 @@
# Copyright (c) 2017 VMware, Inc. All Rights Reserved.
# SP... | Update credential_controller.py | vmware_column | train | py |
209122347cbec2380694a11274cb90e7555c9802 | diff --git a/scripts/webpack/webpack.common.js b/scripts/webpack/webpack.common.js
index <HASH>..<HASH> 100644
--- a/scripts/webpack/webpack.common.js
+++ b/scripts/webpack/webpack.common.js
@@ -41,14 +41,7 @@ module.exports = {
// we want to have same Prism object in core and in grafana/ui
prismjs: requi... | Chore: Fix broken enterprise builds (#<I>) | grafana_grafana | train | js |
849113b45f070d51bbed5bc48544ff1675f448d8 | diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Foundation/Application.php
+++ b/src/Illuminate/Foundation/Application.php
@@ -1143,6 +1143,16 @@ class Application extends Container implements ApplicationContract, HttpKe... | [testcase] Flush application resources in application flush (#<I>) | laravel_framework | train | php |
9faea45579d5db85a453fdca8f38f97d98aa532d | diff --git a/python/python2/simplerandom/iterators/test.py b/python/python2/simplerandom/iterators/test.py
index <HASH>..<HASH> 100644
--- a/python/python2/simplerandom/iterators/test.py
+++ b/python/python2/simplerandom/iterators/test.py
@@ -72,12 +72,11 @@ class MWC64Test(unittest.TestCase):
def test_seed_with_M... | Fix test_seed_with_MSbit_set unit test, now that 0 seed value is modified in MWC<I>. | cmcqueen_simplerandom | train | py |
9aa0ceb97584be6d5b27dc71a2ecde2d43b41183 | diff --git a/stylelint-prettier.js b/stylelint-prettier.js
index <HASH>..<HASH> 100644
--- a/stylelint-prettier.js
+++ b/stylelint-prettier.js
@@ -29,6 +29,12 @@ module.exports = stylelint.createPlugin(
return;
}
+ // Stylelint can handle css-in-js, in which it formats object literals.
+ // ... | Add an extra check to run away from object-literal syntax | prettier_stylelint-prettier | train | js |
86f6a1aa4dc2d2e7c87c2320ab93b2bdd7929ce2 | diff --git a/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/EnglishConfusionProbabilityRule.java b/languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/EnglishConfusionProbabilityRule.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/en/src/main/java/org/... | cleanup: remove unused member var | languagetool-org_languagetool | train | java |
ba7d2765f4b93a195dad29f9660f9473811aedb3 | diff --git a/Library/ClassDefinition.php b/Library/ClassDefinition.php
index <HASH>..<HASH> 100644
--- a/Library/ClassDefinition.php
+++ b/Library/ClassDefinition.php
@@ -1342,7 +1342,8 @@ final class ClassDefinition
if ($richFormat || $method->hasParameters() || version_compare(PHP_VERSION, '8... | Revert rename of PHP_ME macros | phalcon_zephir | train | php |
2ad6ed721f0e3fd059174c3c2d07f7ea2e5d9d69 | diff --git a/spec/progne_tapera/enum_list_spec.rb b/spec/progne_tapera/enum_list_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/progne_tapera/enum_list_spec.rb
+++ b/spec/progne_tapera/enum_list_spec.rb
@@ -1,5 +1,4 @@
require 'spec_helper'
-require 'progne_tapera'
describe ProgneTapera::EnumList do | 1, Improve the Enum List spec. | topbitdu_progne_tapera | train | rb |
b057d9de71824106ebba83da0d229c9334c67af1 | diff --git a/tests/test_jsane.py b/tests/test_jsane.py
index <HASH>..<HASH> 100644
--- a/tests/test_jsane.py
+++ b/tests/test_jsane.py
@@ -6,7 +6,7 @@ import pep8
sys.path.insert(0, os.path.abspath(__file__ + "/../.."))
-from jsane import loads, dumps, JSaneException
+from jsane import loads, dumps, JSaneException... | test: Add test for from_dict. | skorokithakis_jsane | train | py |
ef0dc103554be0c54d48e5bc028050423efb4594 | diff --git a/tests/support.py b/tests/support.py
index <HASH>..<HASH> 100644
--- a/tests/support.py
+++ b/tests/support.py
@@ -188,6 +188,9 @@ def fixup_build_ext(cmd):
cmd = build_ext(dist)
support.fixup_build_ext(cmd)
cmd.ensure_finalized()
+
+ Unlike most other Unix platforms, Mac OS X ... | Issue #<I>: Prevent test_distutils failures on OS X with --enable-shared. | pypa_setuptools | train | py |
0dfdc5b878ad9cef12516e9c5470c6bb4c609bf4 | diff --git a/tests/test_server.py b/tests/test_server.py
index <HASH>..<HASH> 100644
--- a/tests/test_server.py
+++ b/tests/test_server.py
@@ -89,6 +89,14 @@ def test_new_session(server: Server) -> None:
assert server.has_session("test_new_session")
+def test_new_session_no_name(server: Server) -> None:
+ "... | test: Server.new_session w/ no name | tmux-python_libtmux | train | py |
a256a24b8f5d729caf783aadcd445a0bc57b64c6 | diff --git a/Sniff.php b/Sniff.php
index <HASH>..<HASH> 100644
--- a/Sniff.php
+++ b/Sniff.php
@@ -38,8 +38,7 @@ abstract class PHPCompatibility_Sniff implements PHP_CodeSniffer_Sniff
$testVersion = $this->getTestVersion();
if (is_null($testVersion)
- || (!is_null($testVersion)
- ... | Removed redundant conditional in Sniff.php.
One condition of the if() statement checks for $testVersion is null, and the other includes a check that it isn't null. However, because they are ORed together, it is redundant to perform this checking in the second condition, as it will always be true (due to lazy-evaluati... | PHPCompatibility_PHPCompatibility | train | php |
cc1ada88938617573c83da784ecb068aff9e1ac9 | diff --git a/spyderlib/plugins/runconfig.py b/spyderlib/plugins/runconfig.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/runconfig.py
+++ b/spyderlib/plugins/runconfig.py
@@ -349,7 +349,7 @@ class RunConfigDialog(BaseRunConfigDialog):
self.add_widgets(combo_label, self.combo, 10, self.stack)
... | Run config dialog: Change its window title | spyder-ide_spyder | train | py |
541df18243550a51a7bf126f4c8ad06abe7aaad2 | diff --git a/lib/reporting.js b/lib/reporting.js
index <HASH>..<HASH> 100644
--- a/lib/reporting.js
+++ b/lib/reporting.js
@@ -171,7 +171,7 @@ module.exports = {
await endpoint.configureReporting('hvacThermostat', p);
},
thermostatRunningMode: async (endpoint, overrides) => {
- const p = paylo... | Fix thermostatRunningMode default reporting (#<I>)
Made a mistake when moving things from my external converter to lib/reporting.
runningMode is very much like systemMode, it just reflects the 'current' state e.g. heat/cool/off depending on if the system is operating or not, so we should use the same defaults. | Koenkk_zigbee-shepherd-converters | train | js |
4623e6b38f5027789564ee5624b3dceb042d0fe5 | diff --git a/upload/admin/controller/catalog/information.php b/upload/admin/controller/catalog/information.php
index <HASH>..<HASH> 100644
--- a/upload/admin/controller/catalog/information.php
+++ b/upload/admin/controller/catalog/information.php
@@ -125,7 +125,7 @@ class Information extends \Opencart\System\Engine\Con... | Added integer on $page get request. | opencart_opencart | train | php |
3b74950f6d07a16423bf71bf53b65aeb5db8b5f2 | diff --git a/test/fatalerrors.js b/test/fatalerrors.js
index <HASH>..<HASH> 100644
--- a/test/fatalerrors.js
+++ b/test/fatalerrors.js
@@ -251,7 +251,10 @@ function restoreHttpError(opts, errorName, errorCode, done) {
const n = nock(url).head('/fakenockdb').reply(200);
// Simulate a 400 trying to writ... | Correct multiple _bulk_docs error test
4 of the mock responses in the test must be optional because we
can't guarantee the timing of the exit compared to the 5 parallel
requests. | cloudant_couchbackup | train | js |
4b20498a87dc06455f7d1e9ddc24bbb62ff2d79b | diff --git a/src/views/index.blade.php b/src/views/index.blade.php
index <HASH>..<HASH> 100644
--- a/src/views/index.blade.php
+++ b/src/views/index.blade.php
@@ -274,14 +274,14 @@
});
$("#delete-folder").click(function(){
- if ($(".fa-folder-open").length > 0) {
+ if ($(".fa-folder-open").not... | Correct (egregious) delete folder/contents typo | UniSharp_laravel-filemanager | train | php |
14d3ac3aeeca797ae2b399423b507531d38e601e | diff --git a/Resources/Private/JavaScript/Host/Containers/RightSideBar/Inspector/SecondaryInspector/index.js b/Resources/Private/JavaScript/Host/Containers/RightSideBar/Inspector/SecondaryInspector/index.js
index <HASH>..<HASH> 100644
--- a/Resources/Private/JavaScript/Host/Containers/RightSideBar/Inspector/SecondaryIn... | CLEANUP: Remove button style reference which is not yet implemented | neos_neos-ui | train | js |
95b320e59f48129c4f5a20982a6157edb18ab906 | diff --git a/mod/forum/view.php b/mod/forum/view.php
index <HASH>..<HASH> 100644
--- a/mod/forum/view.php
+++ b/mod/forum/view.php
@@ -72,6 +72,12 @@
/// Print header.
+ /// Add ajax-related libs for ratings if required MDL-20119
+ $PAGE->requires->yui_lib('event');
+ $PAGE->requires->yui_lib('connection... | forum rating ajax MDL-<I> Enable ajax to work on single-discussion forum (and blog forum) | moodle_moodle | train | php |
54f938e1145e69441f691659d7a5519ce462cf98 | diff --git a/ember-cli-build.js b/ember-cli-build.js
index <HASH>..<HASH> 100644
--- a/ember-cli-build.js
+++ b/ember-cli-build.js
@@ -32,8 +32,8 @@ module.exports = function(defaults) {
app.import('vendor/octicons/octicons/octicons.css');
app.import('bower_components/pouchdb-load/dist/pouchdb.load.js');
- if ... | Fix to run tests in development (e.g. from http://localhost:<I>/tests) | HospitalRun_hospitalrun-frontend | train | js |
418db328a00bd37ea71fbde73f7afe19dbadc95c | diff --git a/mod/assignment/type/online/assignment.class.php b/mod/assignment/type/online/assignment.class.php
index <HASH>..<HASH> 100644
--- a/mod/assignment/type/online/assignment.class.php
+++ b/mod/assignment/type/online/assignment.class.php
@@ -15,6 +15,7 @@ class assignment_online extends assignment_base {
... | Fixed: Bug #<I> - Assignment email lacks student name | moodle_moodle | train | php |
b453e83ef71bca6ef9571cfaae0f540ef97cc635 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,7 @@
require 'pathname'
require 'rubygems'
-gem 'rspec', '~>1.1.12'
+gem 'rspec', '>=1.1.12'
require 'spec'
require Pathname(__FILE__).dirname.expand_path.parent + 'l... | Let dm-validations be tested with RSpec <I>.x as well as <I>.x | emmanuel_aequitas | train | rb |
82141366ce3e74ff2d035dd972e550c6357fbef4 | diff --git a/openquake/calculators/getters.py b/openquake/calculators/getters.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/getters.py
+++ b/openquake/calculators/getters.py
@@ -480,7 +480,7 @@ class RuptureGetter(object):
array = self.rup_array
for i, ridx in enumerate(array['id']):
... | Small cleanup [skip CI] | gem_oq-engine | train | py |
8bd7bacd1479eb68009e38ea816b1b30bd7b748a | diff --git a/mod/lesson/action/updatepage.php b/mod/lesson/action/updatepage.php
index <HASH>..<HASH> 100644
--- a/mod/lesson/action/updatepage.php
+++ b/mod/lesson/action/updatepage.php
@@ -103,7 +103,7 @@
$oldanswer->response = '';
}
$oldanswer->jumpt... | [Fixed] this page was shooting of warnings for unset variable score. Now checks to make sure score is set before using it. | moodle_moodle | train | php |
b5809fbb213505a148153d7eaf77046f7466bb6c | diff --git a/contrib/externs/api/gadgets/iframes.js b/contrib/externs/api/gadgets/iframes.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/api/gadgets/iframes.js
+++ b/contrib/externs/api/gadgets/iframes.js
@@ -17,6 +17,7 @@
/**
* @fileoverview Externs file for the Iframes library.
* @externs
+ * @suppress {st... | Add suppressions to externs files that are not compatible
with the new strict missing properites check.
-------------
Created by MOE: <URL> | google_closure-compiler | train | js,js |
8f87dda214847debbca7838e612710421e4da78e | diff --git a/src/Keboola/StorageApi/TableExporter.php b/src/Keboola/StorageApi/TableExporter.php
index <HASH>..<HASH> 100644
--- a/src/Keboola/StorageApi/TableExporter.php
+++ b/src/Keboola/StorageApi/TableExporter.php
@@ -101,7 +101,10 @@ class TableExporter
$s3Client->getObject(array(
... | fix - don't automatically decode S3 file | keboola_storage-api-php-client | train | php |
5feda5e9a6849f5b8091eeba756a18994dfcf758 | diff --git a/src/Symfony/Component/Intl/ResourceBundle/Util/ArrayAccessibleResourceBundle.php b/src/Symfony/Component/Intl/ResourceBundle/Util/ArrayAccessibleResourceBundle.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Intl/ResourceBundle/Util/ArrayAccessibleResourceBundle.php
+++ b/src/Symfony/Component/... | [Intl] Removed non-working $fallback argument from ArrayAccessibleResourceBundle | symfony_symfony | train | php |
18a095cf8cedcd8e615a6dd6d71634b2fe35bb70 | diff --git a/tests/test_msvc9compiler.py b/tests/test_msvc9compiler.py
index <HASH>..<HASH> 100644
--- a/tests/test_msvc9compiler.py
+++ b/tests/test_msvc9compiler.py
@@ -13,6 +13,10 @@ class msvc9compilerTestCase(unittest.TestCase):
if sys.platform != 'win32':
# this test is only for win32
... | Merged revisions <I> via svnmerge from
svn+ssh://<EMAIL>/python/trunk
........
r<I> | hirokazu.yamamoto | <I>-<I>-<I> <I>:<I>:<I> <I> | 2 lines
Issue #<I>: test_msvc9compiler failed on VC6/7.
Reviewed by Amaury Forgeot d'Arc.
........ | pypa_setuptools | train | py |
0ea8d1d479e3d7d4dfd729923766de161941363d | diff --git a/cmd/config-host-add.go b/cmd/config-host-add.go
index <HASH>..<HASH> 100644
--- a/cmd/config-host-add.go
+++ b/cmd/config-host-add.go
@@ -201,9 +201,9 @@ func probeS3Signature(accessKey, secretKey, url string) (string, *probe.Error) {
return s3Config.Signature, nil
}
-// buildS3Config constructs an S3... | Make BuildS3Config public (#<I>) | minio_mc | train | go |
367177dee6e7ab1e7c7c5a2f3ed7b637f058e86b | diff --git a/bin/diversity.py b/bin/diversity.py
index <HASH>..<HASH> 100755
--- a/bin/diversity.py
+++ b/bin/diversity.py
@@ -193,12 +193,14 @@ def main():
err_msg = "\nError while processing the mapping file: {}\n"
sys.exit(err_msg.format(ioe))
+ # parse BIOM table
try:
bi... | Adds some explanatory comments to separate sections of main() in diversity.py. | smdabdoub_phylotoast | train | py |
4a369bc3176c7375aed7f45ae22d41ee3c077ce4 | diff --git a/Eloquent/Relations/HasManyThrough.php b/Eloquent/Relations/HasManyThrough.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Relations/HasManyThrough.php
+++ b/Eloquent/Relations/HasManyThrough.php
@@ -308,6 +308,39 @@ class HasManyThrough extends Relation
}
/**
+ * Get the first related model ... | Use the relation query instance to perform updateOrCreate (#<I>) | illuminate_database | train | php |
e18b8d0a5cc6c0f18a1081c13de1ebb4592ba6e8 | diff --git a/src/components/dropdown/Dropdown.js b/src/components/dropdown/Dropdown.js
index <HASH>..<HASH> 100644
--- a/src/components/dropdown/Dropdown.js
+++ b/src/components/dropdown/Dropdown.js
@@ -633,7 +633,6 @@ export class Dropdown extends Component {
onOverlayEnter(callback) {
ZIndexUtils.set('o... | Fixed #<I> - Dropdown scrolls top after reopened | primefaces_primereact | train | js |
0cfe30d86efcd3712c39080751dc6cb410375f29 | diff --git a/php/commands/transient.php b/php/commands/transient.php
index <HASH>..<HASH> 100644
--- a/php/commands/transient.php
+++ b/php/commands/transient.php
@@ -30,6 +30,8 @@ class Transient_Command extends WP_CLI_Command {
/**
* Get a transient value.
*
+ * ## OPTIONS
+ *
* <key>
* : Key for the ... | Add missing ## OPTIONS heading throughout | wp-cli_cache-command | train | php |
6c6e630a73434f351cead69f9aac56dbb96ca5d3 | diff --git a/qhue.py b/qhue.py
index <HASH>..<HASH> 100755
--- a/qhue.py
+++ b/qhue.py
@@ -35,10 +35,9 @@ class Resource(object):
return resp
def __getattr__(self, name):
- return Resource(self.url + "/" + name)
+ return Resource(self.url + "/" + str(name))
- def __getitem__(s... | DRY up the code a tiny bit | quentinsf_qhue | train | py |
8dc10007954d98e67f21f5e4fd998f1b76a6e2eb | diff --git a/tinymce/models.py b/tinymce/models.py
index <HASH>..<HASH> 100644
--- a/tinymce/models.py
+++ b/tinymce/models.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2008 Joost Cassee
+# Copyright (c) 2008 Joost Cassee, 2016 Roman Miroshnychenko
# Licensed under the terms of the MIT License (see LICENSE.txt... | Adds docstrings for models | romanvm_django-tinymce4-lite | train | py |
1bee6a7e60b4ebb54cb07ea6238e98eeae890559 | diff --git a/source/org/jivesoftware/smack/XMPPConnection.java b/source/org/jivesoftware/smack/XMPPConnection.java
index <HASH>..<HASH> 100644
--- a/source/org/jivesoftware/smack/XMPPConnection.java
+++ b/source/org/jivesoftware/smack/XMPPConnection.java
@@ -309,13 +309,14 @@ public class XMPPConnection {
}
... | Fixed bug where presence packets lost due to roster being created too late.
git-svn-id: <URL> | igniterealtime_Smack | train | java |
9fd4ad0e59422524dac51e64ec52a2eed119f36a | diff --git a/lib/mail_address/address.rb b/lib/mail_address/address.rb
index <HASH>..<HASH> 100644
--- a/lib/mail_address/address.rb
+++ b/lib/mail_address/address.rb
@@ -1,5 +1,3 @@
-require 'mail_address/parser'
-
module MailAddress
class Address
@@ -62,14 +60,14 @@ module MailAddress
def host
addr ... | fix substr function
String class in Ruby has no substr method | kizashi1122_mail_address | train | rb |
0a414d68759966cea0331e6b7a34c7e549d12b9d | diff --git a/streamcorpus_pipeline/tests/test_clean_html.py b/streamcorpus_pipeline/tests/test_clean_html.py
index <HASH>..<HASH> 100644
--- a/streamcorpus_pipeline/tests/test_clean_html.py
+++ b/streamcorpus_pipeline/tests/test_clean_html.py
@@ -207,6 +207,15 @@ def test_force_neither_visible_nor_html():
forc... | Regression test for @johnrfrank's fix in ce6fb5. | trec-kba_streamcorpus-pipeline | train | py |
b6764b28bfd8188d13a67680dffed15b203c116d | diff --git a/eZ/Publish/MVC/SiteAccess/Tests/RouterTest.php b/eZ/Publish/MVC/SiteAccess/Tests/RouterTest.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/MVC/SiteAccess/Tests/RouterTest.php
+++ b/eZ/Publish/MVC/SiteAccess/Tests/RouterTest.php
@@ -58,6 +58,20 @@ class RouterTest extends PHPUnit_Framework_TestCase
... | Added test for siteaccess matching with an environment variable | ezsystems_ezpublish-kernel | train | php |
ec3097a5b6b7e4533fd28e944a6ce343c109f390 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ setup(
author_email='aws-sam-developers@amazon.com',
url='https://github.com/awslabs/aws-sam-cli',
license='Apache License 2.0',
- packages=find_packages(exclude=('tests', 'docs')),
+ packag... | fix: Remove tests from .whl file (bdist_wheel) (#<I>) | awslabs_aws-sam-cli | train | py |
27090aafd475f4167ba9fde9b3b81d962b819294 | diff --git a/examples/platformer/js/screens/play.js b/examples/platformer/js/screens/play.js
index <HASH>..<HASH> 100644
--- a/examples/platformer/js/screens/play.js
+++ b/examples/platformer/js/screens/play.js
@@ -16,7 +16,7 @@ game.PlayScreen = me.ScreenObject.extend({
me.game.world.addChild(this.HUD);
... | enable the virtual gamepad on any device with touch capabillty
+ bug fix in the onDestroyEvent function | melonjs_melonJS | train | js |
a4b5646e35adbde705bba19a8e982ad82febfc3f | diff --git a/spec/orm/active_record.rb b/spec/orm/active_record.rb
index <HASH>..<HASH> 100644
--- a/spec/orm/active_record.rb
+++ b/spec/orm/active_record.rb
@@ -1,7 +1,7 @@
require 'rails_admin/extensions/history/history'
require 'rails_admin/adapters/active_record'
-DatabaseCleaner.strategy = :transaction
+Datab... | DatabaseCleaner transaction strategy is not compatible with Rails <I>.rc1 yet | sferik_rails_admin | train | rb |
070dab5a17c594371a4ea5bb2c316b5b01e5ed2c | diff --git a/lib/transforms/registerRequireJsConfig.js b/lib/transforms/registerRequireJsConfig.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/registerRequireJsConfig.js
+++ b/lib/transforms/registerRequireJsConfig.js
@@ -139,7 +139,7 @@ module.exports = function (options) {
javaScript.parseTree.b... | registerRequireJs config: Don't attempt to support require['config'](...). | assetgraph_assetgraph | train | js |
bd43f830e6d7cd64689cbf44c7213f81687270ec | diff --git a/db/migrate/20130318171849_migrate_environment_default_content_view_to_version.rb b/db/migrate/20130318171849_migrate_environment_default_content_view_to_version.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/20130318171849_migrate_environment_default_content_view_to_version.rb
+++ b/db/migrate/20130318171... | fixed a ActiveRecord::ReadOnlyRecord error occuring during the migration when rails <I> is used and there's existing data in the db. | Katello_katello | train | rb |
45a6777094e1b2a5fabe348ab4bd16fe636ff8ba | diff --git a/runtime.go b/runtime.go
index <HASH>..<HASH> 100644
--- a/runtime.go
+++ b/runtime.go
@@ -1936,19 +1936,10 @@ func (r *Runtime) SetTimeSource(now Now) {
// New is an equivalent of the 'new' operator allowing to call it directly from Go.
func (r *Runtime) New(construct Value, args ...Value) (o *Object, ... | Make sure (*Runtime).New() catches SyntaxError and other Values thrown | dop251_goja | train | go |
209265f47052443a90c9c9063d448c6b37370074 | diff --git a/src/com/lukehutch/fastclasspathscanner/FastClasspathScanner.java b/src/com/lukehutch/fastclasspathscanner/FastClasspathScanner.java
index <HASH>..<HASH> 100644
--- a/src/com/lukehutch/fastclasspathscanner/FastClasspathScanner.java
+++ b/src/com/lukehutch/fastclasspathscanner/FastClasspathScanner.java
@@ -9... | Scan toplevel path entries with FilePathMatchers too | classgraph_classgraph | train | java |
15d22f59114efc98afcceb539094f46d158b611e | diff --git a/lib/all-off.js b/lib/all-off.js
index <HASH>..<HASH> 100644
--- a/lib/all-off.js
+++ b/lib/all-off.js
@@ -1,7 +1,7 @@
'use strict';
var value = require('es5-ext/lib/Object/valid-value')
- , id = '- ee -';
+ , id = '- ee v0.2 -';
module.exports = function (emitter) {
var type, data;
diff --... | Change property id to reflect new version | medikoo_event-emitter | train | js,js |
449a34532d8d3fa03fdd21d7061bea71f9c198a8 | diff --git a/pykechain/models/scope2.py b/pykechain/models/scope2.py
index <HASH>..<HASH> 100644
--- a/pykechain/models/scope2.py
+++ b/pykechain/models/scope2.py
@@ -38,6 +38,19 @@ class Scope2(Scope):
else:
return None
+ @property
+ def options(self):
+ """Options of the Scope.
+
... | added scope.options property on the scope object | KE-works_pykechain | train | py |
8544793c1cf82c77b1dbb1f1cce367994f6c6342 | diff --git a/lib/zss/socket.rb b/lib/zss/socket.rb
index <HASH>..<HASH> 100644
--- a/lib/zss/socket.rb
+++ b/lib/zss/socket.rb
@@ -36,7 +36,7 @@ module ZSS
end
rescue ::Timeout::Error
- log.debug("Request #{request.rid} exit with timeout after #{t}s")
+ log.info("Request ... | changed socket timeout log message to info | micro-toolkit_zmq-service-suite-ruby | train | rb |
eb12108fb9156d9b5fdc653b394a6b3247fa1fc3 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,8 @@ install_requires = [
'zope.interface',
'repoze.who',
'pycrypto', # 'Crypto'
- 'pytz'
+ 'pytz',
+ 'pyOpenSSL'
]
tests_require = [ | Added requirement on pyOpenSSL | IdentityPython_pysaml2 | train | py |
d137e82ad1bc55c283a33ffaccd93e51bcb4c0f1 | diff --git a/examples/yaml-highlight/yaml_hl.py b/examples/yaml-highlight/yaml_hl.py
index <HASH>..<HASH> 100755
--- a/examples/yaml-highlight/yaml_hl.py
+++ b/examples/yaml-highlight/yaml_hl.py
@@ -37,7 +37,7 @@ yaml.add_path_resolver(u'tag:yaml.org,2002:pairs',
class YAMLHighlight:
def __init__(self, options)... | Use full_load in yaml-highlight example (#<I>) | yaml_pyyaml | train | py |
65b5edebb9c5fa6122d57aad8204cee80b6f57bd | diff --git a/store/sub/git.go b/store/sub/git.go
index <HASH>..<HASH> 100644
--- a/store/sub/git.go
+++ b/store/sub/git.go
@@ -134,6 +134,9 @@ func (s *Store) GitVersion() semver.Version {
return v
}
svStr := strings.TrimPrefix(string(out), "git version ")
+ if p := strings.Fields(svStr); len(p) > 0 {
+ svStr =... | Trim any additional fields from git version (#<I>)
Fixes #<I> | gopasspw_gopass | train | go |
7d1ad29a1cb6849bc86a4831aff931f676953974 | diff --git a/_grunt-configs/watch.js b/_grunt-configs/watch.js
index <HASH>..<HASH> 100644
--- a/_grunt-configs/watch.js
+++ b/_grunt-configs/watch.js
@@ -28,18 +28,25 @@ module.exports.tasks = {
],
tasks: [
// 'jshint:project', // uncomment this line if you want to run linting checks on your JS as part of... | Add `'bsReload:all'` to js, image & icon0based watch tasks
This fixes a bug with BrowserSync not reloading properly when these watch tasks are run | TryKickoff_kickoff | train | js |
cea4e63e2a11a644b881a26c6785e8e009b60151 | diff --git a/rapidoid-commons/src/main/java/org/rapidoid/datamodel/Results.java b/rapidoid-commons/src/main/java/org/rapidoid/datamodel/Results.java
index <HASH>..<HASH> 100644
--- a/rapidoid-commons/src/main/java/org/rapidoid/datamodel/Results.java
+++ b/rapidoid-commons/src/main/java/org/rapidoid/datamodel/Results.ja... | Enriched the Results API. | rapidoid_rapidoid | train | java,java |
d42d19755c10d364a3be0be156b7fb602ffe02fd | diff --git a/js/cex.js b/js/cex.js
index <HASH>..<HASH> 100644
--- a/js/cex.js
+++ b/js/cex.js
@@ -816,7 +816,7 @@ module.exports = class cex extends Exchange {
'lastTradeTimestamp': undefined,
'status': status,
'symbol': symbol,
- 'type': undefined,
+ 'type'... | [cex] infer order type using price field | ccxt_ccxt | train | js |
d3304268d3046116d39ec3d54a8e319dce188f36 | diff --git a/python/pyspark/sql/session.py b/python/pyspark/sql/session.py
index <HASH>..<HASH> 100644
--- a/python/pyspark/sql/session.py
+++ b/python/pyspark/sql/session.py
@@ -43,7 +43,7 @@ def _monkey_patch_RDD(sparkSession):
This is a shorthand for ``spark.createDataFrame(rdd, schema, sampleRatio)``
... | [MINOR][PYTHON] Fix typo in a docsting of RDD.toDF
### What changes were proposed in this pull request?
Fixes typo in docsting of `toDF`
### Why are the changes needed?
The third argument of `toDF` is actually `sampleRatio`.
related discussion: <URL> | apache_spark | train | py |
13c984fded95f5cc970e2b028149006ffa8f3d5e | diff --git a/dftimewolf/lib/preflights/cloud_token.py b/dftimewolf/lib/preflights/cloud_token.py
index <HASH>..<HASH> 100644
--- a/dftimewolf/lib/preflights/cloud_token.py
+++ b/dftimewolf/lib/preflights/cloud_token.py
@@ -21,6 +21,9 @@ class GCPTokenCheck(module.PreflightModule):
project_name (str): the project... | Skip checks if no project name specified. (#<I>) | log2timeline_dftimewolf | train | py |
402e6b0fbff7f62b0974e3e77a2ef9b2fb8e5d61 | diff --git a/interact.js b/interact.js
index <HASH>..<HASH> 100644
--- a/interact.js
+++ b/interact.js
@@ -5572,7 +5572,7 @@
= (object) interact
\*/
interact.stop = function (event) {
- for (var i = interactions.length - 1; i > 0; i--) {
+ for (var i = interactions.length - 1; i >= 0; i--)... | Fix one missed interaction element on stop triggered | taye_interact.js | train | js |
3fdd058a09b2637aeac12c3c9ebba7308c34d736 | diff --git a/.travis/complementary/reputation.py b/.travis/complementary/reputation.py
index <HASH>..<HASH> 100644
--- a/.travis/complementary/reputation.py
+++ b/.travis/complementary/reputation.py
@@ -6,7 +6,9 @@ import PyFunceble
import PyFunceble.cli
PyFunceble.cli.initiate_colorama(True)
-PyFunceble.load_confi... | Fix issue with the download of the upstream data. | funilrys_PyFunceble | train | py |
99fa5da12a5a4d9a36a9acdad8566372381f5df5 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -221,7 +221,7 @@ describe("Paths", function() {
it("should handle backslash-separated paths", function() {
return resolve(rollup.rollup({
entry: 'dir\\x.js',
- plugins: [hypothetical({ files... | Don't mix slash styles outside of the mixed slash style test | Permutatrix_rollup-plugin-hypothetical | train | js |
fcc40bf4fbec515959ee5527941c669d17e43918 | diff --git a/intervals/interval.py b/intervals/interval.py
index <HASH>..<HASH> 100644
--- a/intervals/interval.py
+++ b/intervals/interval.py
@@ -85,10 +85,7 @@ class AbstractInterval(object):
Parse given args and assign lower and upper bound for this number
range.
- 1. Comma separated strin... | Fix doublecolon usage in docstrings | kvesteri_intervals | train | py |
9643af776765ce8d802d101fedceb70444584381 | diff --git a/zappa/handler.py b/zappa/handler.py
index <HASH>..<HASH> 100644
--- a/zappa/handler.py
+++ b/zappa/handler.py
@@ -284,7 +284,8 @@ class LambdaHandler(object):
Support S3, SNS, DynamoDB and kinesis events
"""
if 's3' in record:
- return record['s3']['configurationId'].s... | Add event mapping fall through for when the config id of s3 isn't the function name | Miserlou_Zappa | train | py |
1d522426801cc72913b95daecfe674a092fef88f | diff --git a/library/Rediska/Autoloader.php b/library/Rediska/Autoloader.php
index <HASH>..<HASH> 100644
--- a/library/Rediska/Autoloader.php
+++ b/library/Rediska/Autoloader.php
@@ -86,12 +86,7 @@ class Rediska_Autoloader
}
$path = self::getRediskaPath() . '/' . str_replace('_', '/', $className) . ... | * performance fix:
* avoid file_exists() for each request
* don't use require_once because:
* require parses each file
* if it fails, it fails hard
* no need for *_once, autoload takes care of that
* a soft 'include' keeps this autoloader chainable | shumkov_rediska | train | php |
15fa0379cfdf25e36d7fbe24e3ab9b8de5e97a09 | diff --git a/config.py b/config.py
index <HASH>..<HASH> 100644
--- a/config.py
+++ b/config.py
@@ -63,6 +63,7 @@ PACKAGES = [
]
PACKAGES_EXCLUDE = [
+ 'invenio.modules.archiver',
'invenio.modules.annotations',
'invenio.modules.communities',
'invenio.modules.pages', | archiver: initial port to new code structure
* Implements OIS archiver module using bagit. (addresses #<I>)
(addresses #<I>) | inveniosoftware_invenio-base | train | py |
c973038fa64108bb223ac6e5729ee7278759a11a | diff --git a/jquery.peity.js b/jquery.peity.js
index <HASH>..<HASH> 100644
--- a/jquery.peity.js
+++ b/jquery.peity.js
@@ -222,7 +222,7 @@
peity.register(
'donut',
- peity.defaults.pie,
+ $.extend(true, {}, peity.defaults.pie),
function(opts) {
if (!opts.innerRadius) opts.innerRadius = opts.... | Ensure donut defaults can be changed independently to pie defaults. | benpickles_peity | train | js |
24d81aa62436eec1f257d2adb4a56825eab1f3e6 | diff --git a/Di/Container.php b/Di/Container.php
index <HASH>..<HASH> 100644
--- a/Di/Container.php
+++ b/Di/Container.php
@@ -76,6 +76,11 @@ class Container implements ContainerInterface, \Psr\Container\ContainerInterface
$dependencies = [];
foreach ($parameters as $key => $value) {
if (... | refactor ManaPHP\Di\Container | manaphp_framework | train | php |
6dbe6875355b7de5069de5aaaa2384d14d11c3be | diff --git a/deploy_stack.py b/deploy_stack.py
index <HASH>..<HASH> 100755
--- a/deploy_stack.py
+++ b/deploy_stack.py
@@ -130,7 +130,14 @@ def deploy_dummy_stack(env, charm_prefix):
done
cat /var/run/dummy-sink/token
""".format(timeout)
- result = env.client.get_juju_output(env, 'ssh', 'dummy... | Added ssh hack to get token in manual ppc test. | juju_juju | train | py |
8d55d667d0251d0399a11dde56ebc7985f2f1ca8 | diff --git a/src/falcon_oas/oas/spec.py b/src/falcon_oas/oas/spec.py
index <HASH>..<HASH> 100644
--- a/src/falcon_oas/oas/spec.py
+++ b/src/falcon_oas/oas/spec.py
@@ -20,7 +20,7 @@ DEFAULT_SERVER = {'url': '/'}
def create_spec_from_dict(spec_dict, base_path=None):
deref_spec_dict = jsonref.JsonRef.replace_refs(... | Fix thread unsafe errors for jsonref | grktsh_falcon-oas | train | py |
f94ad6d1a53b2bf1e07c9eea958a6bbe4c0218c1 | diff --git a/packages/insomnia-httpsnippet/src/targets/shell/curl.js b/packages/insomnia-httpsnippet/src/targets/shell/curl.js
index <HASH>..<HASH> 100755
--- a/packages/insomnia-httpsnippet/src/targets/shell/curl.js
+++ b/packages/insomnia-httpsnippet/src/targets/shell/curl.js
@@ -32,6 +32,13 @@ module.exports = funct... | Fix multipart boundary curl generation (Closes #<I>) | getinsomnia_insomnia | train | js |
6bbd0546f88e7d27c38805fb36bdd07453a870f7 | diff --git a/sdk/core/azure-core/samples/test_example_sansio.py b/sdk/core/azure-core/samples/test_example_sansio.py
index <HASH>..<HASH> 100644
--- a/sdk/core/azure-core/samples/test_example_sansio.py
+++ b/sdk/core/azure-core/samples/test_example_sansio.py
@@ -173,7 +173,7 @@ def example_on_exception():
request ... | fix example (#<I>) | Azure_azure-sdk-for-python | train | py |
9f9dff3e2111c50429312559b89512b6c7bd7dcd | diff --git a/src/main/java/org/minimalj/repository/sql/SqlRepository.java b/src/main/java/org/minimalj/repository/sql/SqlRepository.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/minimalj/repository/sql/SqlRepository.java
+++ b/src/main/java/org/minimalj/repository/sql/SqlRepository.java
@@ -457,7 +457,7 @@ p... | executeQuery for queries without result does not work for MS SQL | BrunoEberhard_minimal-j | train | java |
0f51218146af97d1b43f0d3e6f686f2eefcdb393 | diff --git a/src/rules.js b/src/rules.js
index <HASH>..<HASH> 100644
--- a/src/rules.js
+++ b/src/rules.js
@@ -1,7 +1,5 @@
-import os from 'os';
-
export default {
indent: 2,
eof: '\n',
- eol: os.EOL
+ eol: '\n'
}; | fix(rules): return to unix notation, close #<I> | Scrum_posthtml-beautify | train | js |
04862e8315bce7795952d10ff8700ae40143755a | diff --git a/lib/async.js b/lib/async.js
index <HASH>..<HASH> 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -1,5 +1,4 @@
var CallbackManager = require( './callbackmanager.js' );
-var forEach = require( './foreach.js' );
var Async = function ( options ) {
options = options || {};
var async = this;
diff --... | Updated test code - pulled out forEach tests | kbscript_async-next | train | js,js |
2e2833c718b5e30c5b815ea1f4737f0808842646 | diff --git a/xds/internal/client/v3/client.go b/xds/internal/client/v3/client.go
index <HASH>..<HASH> 100644
--- a/xds/internal/client/v3/client.go
+++ b/xds/internal/client/v3/client.go
@@ -43,10 +43,10 @@ func init() {
var (
resourceTypeToURL = map[xdsclient.ResourceType]string{
- xdsclient.ListenerResource: ... | xds: Fix resource type to URL mapping for v3 client. (#<I>) | grpc_grpc-go | train | go |
4f38bde01134a1de202de3d28b9d0bf92952cde5 | diff --git a/lib/writer.js b/lib/writer.js
index <HASH>..<HASH> 100644
--- a/lib/writer.js
+++ b/lib/writer.js
@@ -246,17 +246,7 @@ Writer.prototype._finish = function () {
? "utimes" : "lutimes"
if (utimes === "lutimes" && !fs[utimes]) {
- if (!fs.futimes) fs.ltimes = function (a, b, ... | Remove shim for lutimes, graceful-fs provides this now | npm_fstream | train | js |
deabfa5e15eae632873584d035c1e8420a5162c2 | diff --git a/graphicscontext.go b/graphicscontext.go
index <HASH>..<HASH> 100644
--- a/graphicscontext.go
+++ b/graphicscontext.go
@@ -78,6 +78,7 @@ func (c *graphicsContext) setSize(screenWidth, screenHeight, screenScale int) er
}
screen := &Image{framebuffer: screenF, texture: texture}
c.defaultRenderTarget = &... | graphics: Clear the default render target just after initializing | hajimehoshi_ebiten | train | go |
b8de0b6296228e2a6c3968d5ea359cca81a6c14a | diff --git a/easybatch-jdbc/src/main/java/org/easybatch/jdbc/JdbcRecordWriter.java b/easybatch-jdbc/src/main/java/org/easybatch/jdbc/JdbcRecordWriter.java
index <HASH>..<HASH> 100644
--- a/easybatch-jdbc/src/main/java/org/easybatch/jdbc/JdbcRecordWriter.java
+++ b/easybatch-jdbc/src/main/java/org/easybatch/jdbc/JdbcRec... | Close preparedStatement after its execution
You should think in closing preparedStatement after preparedStatement.executeUpdate() this will avoid too many opened coursors in a huge batch insert transaction. | j-easy_easy-batch | train | java |
64fcdb47b7348b7b4334c78de2353a6072977b3f | diff --git a/anyconfig/backend/xml.py b/anyconfig/backend/xml.py
index <HASH>..<HASH> 100644
--- a/anyconfig/backend/xml.py
+++ b/anyconfig/backend/xml.py
@@ -1,9 +1,11 @@
#
-# Copyright (C) 2011 - 2017 Satoru SATOH <ssato @ redhat.com>
+# Copyright (C) 2011 - 2018 Satoru SATOH <ssato @ redhat.com>
# License: MIT
#
... | change: [xml] suppress pylint's warn, len-as-condition | ssato_python-anyconfig | train | py |
06616557ab4814fbecc22c8f4381c22820ee9203 | diff --git a/Controller/CrudController.php b/Controller/CrudController.php
index <HASH>..<HASH> 100644
--- a/Controller/CrudController.php
+++ b/Controller/CrudController.php
@@ -190,7 +190,12 @@ class CrudController extends Controller implements MenuItemInterface
$entity = $this->getEntity($id);
- ... | Set specific validation groups for property forms. | DarvinStudio_DarvinAdminBundle | train | php |
e13befa963323dfcd4b6d8e14b0f6980946b7e1b | diff --git a/lib/puppet/util/cacher.rb b/lib/puppet/util/cacher.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/cacher.rb
+++ b/lib/puppet/util/cacher.rb
@@ -116,6 +116,7 @@ module Puppet::Util::Cacher
end
def expired_by_ttl?(name)
+ return false unless self.class.respond_to?(:attr_t... | Fixing #<I> - fixing the tests broken by my attr_ttl code | puppetlabs_puppet | train | rb,rb |
2a9919ad2503df0af89fd6c16cc655d9ec559596 | diff --git a/src/Illuminate/Database/PDO/SqlServerDriver.php b/src/Illuminate/Database/PDO/SqlServerDriver.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/PDO/SqlServerDriver.php
+++ b/src/Illuminate/Database/PDO/SqlServerDriver.php
@@ -9,7 +9,7 @@ class SqlServerDriver extends AbstractSQLServerDriver
... | Fix PDO passing in SqlServerDriver (#<I>) | laravel_framework | train | php |
0a3a81800b0a5f4ff2fc9ff9fc731e1e9abd9de2 | diff --git a/led/ledcmd/edit_isolated.go b/led/ledcmd/edit_isolated.go
index <HASH>..<HASH> 100644
--- a/led/ledcmd/edit_isolated.go
+++ b/led/ledcmd/edit_isolated.go
@@ -120,9 +120,9 @@ func EditIsolated(ctx context.Context, authClient *http.Client, jd *job.Definiti
}
rawIsoClient := isolatedclient.NewClient(
- ... | [led] Fix isolateclient creation.
Two CLs landing about the same time caused a bit of confusion :)
TBR=<EMAIL>, <EMAIL>
Bug: <I>
Change-Id: Idca9a1f<I>e<I>e5bc<I>bd1d<I>
Reviewed-on: <URL> | luci_luci-go | train | go |
37f9f6c58043a01df7bddc4c48fe8c6dc3e49125 | diff --git a/dingo/core/network/__init__.py b/dingo/core/network/__init__.py
index <HASH>..<HASH> 100644
--- a/dingo/core/network/__init__.py
+++ b/dingo/core/network/__init__.py
@@ -357,6 +357,7 @@ class GeneratorDingo:
def __init__(self, **kwargs):
self.id_db = kwargs.get('id_db', None)
+ self.... | add attr 'name' to GeneratorDingo
to allow storing name of conv. power plant | openego_ding0 | train | py |
2e00deefe684acf7885cb81e0e9c2eb50dababc9 | diff --git a/wasp_general/cli/curses_commands.py b/wasp_general/cli/curses_commands.py
index <HASH>..<HASH> 100644
--- a/wasp_general/cli/curses_commands.py
+++ b/wasp_general/cli/curses_commands.py
@@ -50,3 +50,14 @@ class WExitCommand(WCommand):
def _exec(self, *command_tokens):
self.__console.stop()
return W... | wasp_general/cli/curses_commands.py: WEmptyCommand added | a1ezzz_wasp-general | train | py |
26350cf9a0b7aa6a2dbdc42facddd95b54430d2f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ tests_require = [
'pytest-flakes', # syntax validation
'pytest-capturelog', # log capture
'pytest-spec', # output formatting
- 'WebOb', # request mocking
+ 'WebCore', # request mocking
] | Switch to WebCore for testing. | marrow_web.dispatch.resource | train | py |
b27bc763fc72e02f8e93fe3d0ab9c1ce44a7a746 | diff --git a/jira/client.py b/jira/client.py
index <HASH>..<HASH> 100644
--- a/jira/client.py
+++ b/jira/client.py
@@ -127,8 +127,13 @@ class JIRA(object):
### Groups
# non-resource
- def groups(self, query, exclude=None):
- return self._get_json('groups/picker', params={'query': query, 'exclude': exc... | - support all-groups option | pycontribs_jira | train | py |
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.