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 |
|---|---|---|---|---|---|
8927416fff2023639fe83b33bfbc657a01cc3fcd | diff --git a/sirmordred/config.py b/sirmordred/config.py
index <HASH>..<HASH> 100644
--- a/sirmordred/config.py
+++ b/sirmordred/config.py
@@ -330,6 +330,12 @@ class Config():
"default": True,
"type": bool,
"description": "Enable community structure menu"
+... | [config] Include option to visualize kafka studies
This code allows morded to visualize kafka studies using
the param `kafka` within the section `panels`. By default
this study is disabled. | chaoss_grimoirelab-sirmordred | train | py |
23aab35fdbddc1977dd3078fa6cfa5065e333156 | diff --git a/cmd/containerd-shim/shim_linux.go b/cmd/containerd-shim/shim_linux.go
index <HASH>..<HASH> 100644
--- a/cmd/containerd-shim/shim_linux.go
+++ b/cmd/containerd-shim/shim_linux.go
@@ -20,10 +20,10 @@ import (
"os"
"os/signal"
+ "github.com/containerd/containerd/sys"
"github.com/containerd/containerd/... | Remove libcontainer from containerd-shim
Replace the libcontainer variant with the one in our sys package | containerd_containerd | train | go |
4c844081f3f635f454e1040a568dc03f1a427f58 | diff --git a/routes/repo/view.go b/routes/repo/view.go
index <HASH>..<HASH> 100644
--- a/routes/repo/view.go
+++ b/routes/repo/view.go
@@ -185,6 +185,10 @@ func renderFile(c *context.Context, entry *git.TreeEntry, treeLink, rawLink stri
var output bytes.Buffer
lines := strings.Split(fileContent, "\n")
+ // ... | routes/repo: added deletion of an empty line at the end of file (#<I>) (#<I>)
* Added deletion of an empty line at the end of file (#<I>) | gogs_gogs | train | go |
28883be5a964cb657b2dfc4e1d21d3b4a3141f8e | diff --git a/src/utils/resolvePath.js b/src/utils/resolvePath.js
index <HASH>..<HASH> 100644
--- a/src/utils/resolvePath.js
+++ b/src/utils/resolvePath.js
@@ -1,9 +1,11 @@
-import { dirname, isAbsolute, resolve, parse } from 'path';
+import { dirname, resolve, parse } from 'path';
import { readFileSync } from 'sander'... | avoid path.isAbsolute - not supported on old versions of node | rollup_rollup | train | js |
a192f03c27ad98c89dc4d604b705bd8e1f542122 | diff --git a/pycbc/waveform/waveform.py b/pycbc/waveform/waveform.py
index <HASH>..<HASH> 100644
--- a/pycbc/waveform/waveform.py
+++ b/pycbc/waveform/waveform.py
@@ -420,7 +420,7 @@ def get_td_waveform(template=None, **kwargs):
input_params = props(template,**kwargs)
wav_gen = td_wav[type(mgr.state)]
- ... | fix waveform error message when None is provided for approximant | gwastro_pycbc | train | py |
a95ef00cc81c4d3a573f8f672490b3e1033cdb52 | diff --git a/src/Defender/Traits/HasUserRolesTrait.php b/src/Defender/Traits/HasUserRolesTrait.php
index <HASH>..<HASH> 100644
--- a/src/Defender/Traits/HasUserRolesTrait.php
+++ b/src/Defender/Traits/HasUserRolesTrait.php
@@ -29,7 +29,7 @@ trait HasUserRolesTrait {
{
$roles = $this->roles->lists('name');
- ret... | Fix error when in_array roles set is empty, its try to access the object, when expects array. | artesaos_defender | train | php |
96ae2029156286708637fdf9eaf428c0799579b5 | diff --git a/spec/demeteorizer-spec.js b/spec/demeteorizer-spec.js
index <HASH>..<HASH> 100644
--- a/spec/demeteorizer-spec.js
+++ b/spec/demeteorizer-spec.js
@@ -3,12 +3,11 @@ var sinon = require('sinon');
var cpStub = {};
var fsStub = {};
-var fstStub = {};
var demeteorizer = proxyquire('../lib/demeteor... | corrected the fs remove stub
Replaced the fs-tools mock | XervoIO_demeteorizer | train | js |
e9b8b9745658bc032c843e4de11b2764c67d638a | diff --git a/admin/jqadm/themes/dashboard.js b/admin/jqadm/themes/dashboard.js
index <HASH>..<HASH> 100644
--- a/admin/jqadm/themes/dashboard.js
+++ b/admin/jqadm/themes/dashboard.js
@@ -105,7 +105,7 @@ Aimeos.Dashboard = {
throw 'No data in response';
}
- var colorScale = d3.scaleOrdinal(d3.schemeCategory... | Change for migration to D3 6.x | aimeos_ai-admin-jqadm | train | js |
416982efd0274769753607a227ee4dc577f39090 | diff --git a/cli.js b/cli.js
index <HASH>..<HASH> 100755
--- a/cli.js
+++ b/cli.js
@@ -139,13 +139,16 @@ var mainOptions = {
var mainOptionKeys = Object.keys(mainOptions);
mainOptionKeys.forEach(function(key) {
var option = mainOptions[key];
- key = '--' + paramCase(key);
if (Array.isArray(option)) {
- var ... | allow disabling of default flags on CLI (#<I>)
fixes #<I> | kangax_html-minifier | train | js |
241a13258d529b1d6ddad86aa5e76670906655ef | diff --git a/Annis-Web/src/main/java/annis/frontend/servlets/visualizers/CorefVisualizer.java b/Annis-Web/src/main/java/annis/frontend/servlets/visualizers/CorefVisualizer.java
index <HASH>..<HASH> 100644
--- a/Annis-Web/src/main/java/annis/frontend/servlets/visualizers/CorefVisualizer.java
+++ b/Annis-Web/src/main/jav... | CorefVisualizer.java should work now as expected. | korpling_ANNIS | train | java |
6030cd6ec1f08bb47908be4b7c291c73a037bc46 | diff --git a/allel/stats/ld.py b/allel/stats/ld.py
index <HASH>..<HASH> 100644
--- a/allel/stats/ld.py
+++ b/allel/stats/ld.py
@@ -262,7 +262,7 @@ def plot_pairwise_ld(m, colorbar=True, ax=None, imshow_kwargs=None):
# set up axes
if ax is None:
# make a square figure with enough pixels to represent e... | get DPI; resolves #<I> | cggh_scikit-allel | train | py |
0d69c71734dad2e5771d40148f40486a03fafe53 | diff --git a/lib/fake_web/ext/net_http.rb b/lib/fake_web/ext/net_http.rb
index <HASH>..<HASH> 100644
--- a/lib/fake_web/ext/net_http.rb
+++ b/lib/fake_web/ext/net_http.rb
@@ -11,7 +11,7 @@ module Net #:nodoc: all
@debug_output = debug_output
@io = case io
- when Socket, OpenSSL::SSL::SSLSocket, IO... | Accept StringIO as a possible fake response body
Note that this makes FakeWeb compatible with the Artifice gem. | chrisk_fakeweb | train | rb |
c0efba59747a13bd79af22b70d9c0d055118598c | diff --git a/codebase/base_connector.php b/codebase/base_connector.php
index <HASH>..<HASH> 100644
--- a/codebase/base_connector.php
+++ b/codebase/base_connector.php
@@ -369,7 +369,7 @@ class Connector {
$this->request->set_source($table);
}
- protected function uuid(){
+ public function uuid(){
return time... | change uuid access type to public | DHTMLX_connector-php | train | php |
98c51736b5162081395a53c1311f633a3cdf3f2b | diff --git a/gulpfile.babel.js b/gulpfile.babel.js
index <HASH>..<HASH> 100644
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -35,6 +35,11 @@ function pages() {
.pipe(gulp.dest('dist'));
}
+function resetPages(done) {
+ panini.refresh();
+ done();
+}
+
// Compile Sass into CSS
function sass() {
retur... | Add page reset task to Gulpfile | zurb_foundation-emails-template | train | js |
3896d0af83329e4c5e4d63bf76535a9de51c0772 | diff --git a/tests/test_dir_util.py b/tests/test_dir_util.py
index <HASH>..<HASH> 100644
--- a/tests/test_dir_util.py
+++ b/tests/test_dir_util.py
@@ -128,7 +128,7 @@ class DirUtilTestCase(support.TempdirManager, unittest.TestCase):
An exception in listdir should raise a DistutilsFileError
"""
... | #<I>: Provide an actual directory during test invocation. | pypa_setuptools | train | py |
09f710d502e420ef8b43eeee7e04956a89766637 | diff --git a/keyboard-controls.js b/keyboard-controls.js
index <HASH>..<HASH> 100644
--- a/keyboard-controls.js
+++ b/keyboard-controls.js
@@ -101,10 +101,10 @@ module.exports = {
if (data.enabled) {
if (data.pitchAxisEnabled) {
- if (strafeLeft.some((key) => keys[key])) {
+ if (keys... | Minification just not having it with the arrow syntax. | donmccurdy_aframe-keyboard-controls | train | js |
d725a654eaa26ef1b7071960f9d495b1386b5808 | diff --git a/instana/version.py b/instana/version.py
index <HASH>..<HASH> 100644
--- a/instana/version.py
+++ b/instana/version.py
@@ -3,4 +3,4 @@
# Module version file. Used by setup.py and snapshot reporting.
-VERSION = '1.33.2'
+VERSION = '1.33.3'
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--... | lowering the requests version dependency for supporting air-gapped environment of customer ZD:<I> (#<I>) | instana_python-sensor | train | py,py |
66ec41e3780523ca9a5ebb7fcc62ec522c5f42f9 | diff --git a/StanfordDependencies/JPypeBackend.py b/StanfordDependencies/JPypeBackend.py
index <HASH>..<HASH> 100644
--- a/StanfordDependencies/JPypeBackend.py
+++ b/StanfordDependencies/JPypeBackend.py
@@ -23,9 +23,15 @@ class JPypeBackend(StanfordDependencies):
the option to run the lemmatizer (see convert_tree(... | JPypeBackend.py: ensure JVM isn't already started
Fixes issue #1. Also added some needed docs. | dmcc_PyStanfordDependencies | train | py |
e7f14f2b74098553df8b1dbafdfc7ce8a4cca1e7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setup(
zip_safe=False,
include_package_data=True,
package_data={'': ['README.rst']},
- install_requires=['django>=1.2', 'django-jsonfield'],
+ install_requires=['django>=1.2', 'jsonfield'],
... | Switched dependency from "django-jsonfield" to "jsonfield" for Python 3 support. | ui_django-post_office | train | py |
464ba3082e59e8509edbc4a309118674dbf9c72d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -75,5 +75,6 @@ setup(
],
install_requires = [],
tests_require = [],
+ test_suite = 'runtests.runtests',
) | Run tests with 'python setup.py test' now. | gregmuellegger_django-sortedm2m | train | py |
b522b788b62350d6c931c560758c903ae0f6ac32 | diff --git a/common/math/exp.go b/common/math/exp.go
index <HASH>..<HASH> 100644
--- a/common/math/exp.go
+++ b/common/math/exp.go
@@ -7,7 +7,7 @@ import (
)
// wordSize is the size number of bits in a big.Int Word.
-const wordSize = 32 << (uint64(^big.Word(0))>>63)
+const wordSize = 32 << (uint64(^big.Word(0)) >> ... | common/math: go fmt | ethereum_go-ethereum | train | go |
187e1eacefd9e5d5347b1e91e3e0cdb1539a368b | diff --git a/pyxmpp2/transport.py b/pyxmpp2/transport.py
index <HASH>..<HASH> 100644
--- a/pyxmpp2/transport.py
+++ b/pyxmpp2/transport.py
@@ -690,6 +690,9 @@ class TCPTransport(XMPPTransport, IOHandler):
continue
elif err.args[0] == errno.EWOULDBLOCK:
... | Handle ECONNRESET error on read
Log it (ERROR priority) and treat like EOF | Jajcus_pyxmpp2 | train | py |
691c417402247b86432caace77c2d539b46c247f | diff --git a/test/test_cfi.rb b/test/test_cfi.rb
index <HASH>..<HASH> 100644
--- a/test/test_cfi.rb
+++ b/test/test_cfi.rb
@@ -90,6 +90,7 @@ class TestCFI < Test::Unit::TestCase
def test_to_s
assert_equal 'epubcfi(/6/4[chap01ref]!/4[body01]/10[para05]/2/1:1)..epubcfi(/6/4[chap01ref]!/4[body01]/10[para05]/... | Add test for CFI::Range including indirect step | KitaitiMakoto_epub-parser | train | rb |
a176823961f45da70da8fe01f913abeef742e09d | diff --git a/src/Parse.php b/src/Parse.php
index <HASH>..<HASH> 100644
--- a/src/Parse.php
+++ b/src/Parse.php
@@ -45,6 +45,8 @@ class Parse
public function validate(): self
{
+ $signature = '';
+
if (!$this->validate->structure($this->jwt->getToken())) {
$this->error('The JSON ... | Minor amend to set signature variable in Parse class validate method. Issue raised by phpstan. | RobDWaller_ReallySimpleJWT | train | php |
4b1ff5a4bb6319ebd3ad579b28dbc9adb078e083 | diff --git a/patroni/postgresql.py b/patroni/postgresql.py
index <HASH>..<HASH> 100644
--- a/patroni/postgresql.py
+++ b/patroni/postgresql.py
@@ -714,7 +714,7 @@ $$""".format(name, options), name, password, password)
bbfailures = 0
maxfailures = 2
ret = 1
- while bbfailures < maxfailu... | Code refactoring, per code review by Alex. | zalando_patroni | train | py |
067d2aeefd59013e0e48e53d86c104e76c82df6b | diff --git a/hazelcast/src/main/java/com/hazelcast/util/executor/CachedExecutorServiceDelegate.java b/hazelcast/src/main/java/com/hazelcast/util/executor/CachedExecutorServiceDelegate.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/util/executor/CachedExecutorServiceDelegate.java
+++ b/haze... | Changed to use blocking lock in addNewWorkerIfRequired method for the executor service. (#<I>)
fixes #<I> | hazelcast_hazelcast | train | java |
094a5e5d2ab599a7093d9fdde96ad56ade86808e | diff --git a/test/transformer.base.js b/test/transformer.base.js
index <HASH>..<HASH> 100644
--- a/test/transformer.base.js
+++ b/test/transformer.base.js
@@ -549,6 +549,31 @@ module.exports = function base(transformer) {
socket.on('timeout', done);
});
+
+ it('should reconnect after the timeout'... | [test] Added test for reconnecting after timeout | primus_primus | train | js |
d3a503a174074e790af8c4303bd5dede27092446 | diff --git a/src/de/mrapp/android/validation/EditText.java b/src/de/mrapp/android/validation/EditText.java
index <HASH>..<HASH> 100644
--- a/src/de/mrapp/android/validation/EditText.java
+++ b/src/de/mrapp/android/validation/EditText.java
@@ -562,6 +562,8 @@ public class EditText extends
@Override
protected final... | The view is now adapted, when setting an error manually. | michael-rapp_AndroidMaterialValidation | train | java |
0b8ec6e2a730cd9aaab46845c8ec2ab2d022dd0d | diff --git a/nianalysis/archive/daris/login.py b/nianalysis/archive/daris/login.py
index <HASH>..<HASH> 100644
--- a/nianalysis/archive/daris/login.py
+++ b/nianalysis/archive/daris/login.py
@@ -4,9 +4,9 @@ import stat
import tempfile
import logging
try:
- from lxml import etree
+ from lxml.etree import XML
e... | tried to get non-lxml etree to work | MonashBI_arcana | train | py |
b3e46eca25a6cd4c103c9942fbb171edcae30491 | diff --git a/version/version.go b/version/version.go
index <HASH>..<HASH> 100644
--- a/version/version.go
+++ b/version/version.go
@@ -8,10 +8,10 @@ const (
// VersionMinor is for functionality in a backwards-compatible manner
VersionMinor = 10
// VersionPatch is for backwards-compatible bug fixes
- VersionPatch ... | move to <I>-dev | containers_image | train | go |
e1a3841fa36d0866d51ba3f3e82026e1643af289 | diff --git a/spec/semipublic/query/conditions/comparison_spec.rb b/spec/semipublic/query/conditions/comparison_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/semipublic/query/conditions/comparison_spec.rb
+++ b/spec/semipublic/query/conditions/comparison_spec.rb
@@ -1178,7 +1178,7 @@ describe DataMapper::Query::Conditi... | replace constant 1 with parent id in comparison_spec as otherwise OracleAdapter test is failing | datamapper_dm-core | train | rb |
40093431e52811f7f6c9a4dab3a0182cbd063e29 | diff --git a/src/Http/Middleware/ErrorHandlerMiddleware.php b/src/Http/Middleware/ErrorHandlerMiddleware.php
index <HASH>..<HASH> 100644
--- a/src/Http/Middleware/ErrorHandlerMiddleware.php
+++ b/src/Http/Middleware/ErrorHandlerMiddleware.php
@@ -107,11 +107,18 @@ final class ErrorHandlerMiddleware implements Middlewar... | - improved error handling and snapshot rendering | spiral_security | train | php |
13b0c048b2b7ca818c472eaf3979f0601be3c1d5 | diff --git a/byte-buddy-dep/src/test/java/net/bytebuddy/utility/StackAwareMethodVisitorTest.java b/byte-buddy-dep/src/test/java/net/bytebuddy/utility/StackAwareMethodVisitorTest.java
index <HASH>..<HASH> 100644
--- a/byte-buddy-dep/src/test/java/net/bytebuddy/utility/StackAwareMethodVisitorTest.java
+++ b/byte-buddy-de... | Added additional test for underflowing the stack. | raphw_byte-buddy | train | java |
fd8dba4bb183e88ed80f2b0d0b20306dc47580d1 | diff --git a/fedmsg_meta_fedora_infrastructure/pkgdb.py b/fedmsg_meta_fedora_infrastructure/pkgdb.py
index <HASH>..<HASH> 100644
--- a/fedmsg_meta_fedora_infrastructure/pkgdb.py
+++ b/fedmsg_meta_fedora_infrastructure/pkgdb.py
@@ -279,15 +279,13 @@ class PkgdbProcessor(BaseProcessor):
pa... | Pkgdb dropped the from_branch information when requesting a new branch | fedora-infra_fedmsg_meta_fedora_infrastructure | train | py |
06fafee114f0a16ea73e5c35d8a6a1d682c8781a | diff --git a/src/Rcm/Model/SiteFactory.php b/src/Rcm/Model/SiteFactory.php
index <HASH>..<HASH> 100644
--- a/src/Rcm/Model/SiteFactory.php
+++ b/src/Rcm/Model/SiteFactory.php
@@ -114,7 +114,6 @@ class SiteFactory extends EntityMgrAware
setlocale(LC_ALL, $localName);
echo $localName;
- die;
... | fix locale logic - PROD-<I>
Use commas for decimals in euro and other countries | reliv_Rcm | train | php |
a1c58f2e5353551340b100b41ea79a7e5346267e | diff --git a/src/Charge/IlluminateCharge.php b/src/Charge/IlluminateCharge.php
index <HASH>..<HASH> 100644
--- a/src/Charge/IlluminateCharge.php
+++ b/src/Charge/IlluminateCharge.php
@@ -35,7 +35,6 @@ class IlluminateCharge extends Model {
'captured',
'refunded',
'created_at',
- 'updated_at',
'description'... | remove updated_at column from the models $fillable property | cartalyst_stripe | train | php,php |
7d5d9a8e4706c3c4f1b2edc0fbd0ee286d1fad50 | diff --git a/src/Jobs/Controller/AdminController.php b/src/Jobs/Controller/AdminController.php
index <HASH>..<HASH> 100644
--- a/src/Jobs/Controller/AdminController.php
+++ b/src/Jobs/Controller/AdminController.php
@@ -80,9 +80,9 @@ class AdminController extends AbstractActionController implements ContainerAware
... | [ZF3] - fixed error when administrator change job status | yawik_jobs | train | php |
97cb7bd4d23075a715923f55af3340b5a6383b34 | diff --git a/spec/functional/client_spec.rb b/spec/functional/client_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/functional/client_spec.rb
+++ b/spec/functional/client_spec.rb
@@ -19,6 +19,10 @@ describe "Functional Test Suite" do
start_etcd_servers
end
+ let(:etcd_servers) do
+ (1..5).map{|n| "http://... | any one among the 5 etcd nodes can be a leader | ranjib_etcd-ruby | train | rb |
6ddcdc37f9e95aee8c623c50dd0620515f4bde98 | diff --git a/src/Form/View/Helper/MelisFieldRow.php b/src/Form/View/Helper/MelisFieldRow.php
index <HASH>..<HASH> 100644
--- a/src/Form/View/Helper/MelisFieldRow.php
+++ b/src/Form/View/Helper/MelisFieldRow.php
@@ -26,9 +26,10 @@ class MelisFieldRow extends FormRow
/**
* Firefox warning issu... | Generated element id attribute added when not set | melisplatform_melis-core | train | php |
870cf4cda0eb00e47eb6014db4b0fe5045b6d333 | diff --git a/ospd/ospd.py b/ospd/ospd.py
index <HASH>..<HASH> 100644
--- a/ospd/ospd.py
+++ b/ospd/ospd.py
@@ -633,7 +633,8 @@ class OSPDaemon(object):
logger.info('{0}: Scan stopped.'.format(scan_id))
return simple_response_str('stop_scan', 200, 'OK')
- def stop_scan(self, scan_id):
+ @static... | Make stop_scan a staticmethod. | greenbone_ospd | train | py |
dd113e081e4798a510cf13a8d5d67ef2fe6c24e7 | diff --git a/vlcp/service/sdn/arpresponder.py b/vlcp/service/sdn/arpresponder.py
index <HASH>..<HASH> 100644
--- a/vlcp/service/sdn/arpresponder.py
+++ b/vlcp/service/sdn/arpresponder.py
@@ -317,8 +317,8 @@ class ARPUpdater(FlowUpdater):
for ip, mac, islocal, port, broadcast in send_arps:
... | bug fix: only send ARP entry to ports in the same network | hubo1016_vlcp | train | py |
b67c86464a75b62174bf5aecafe603225608dacd | diff --git a/Admin/SnapshotAdmin.php b/Admin/SnapshotAdmin.php
index <HASH>..<HASH> 100644
--- a/Admin/SnapshotAdmin.php
+++ b/Admin/SnapshotAdmin.php
@@ -37,6 +37,13 @@ class SnapshotAdmin extends Admin
/**
* {@inheritdoc}
*/
+ protected $accessMapping = array(
+ 'batchToggleEnabled' => 'EDI... | Moved accessMapping to the right class | sonata-project_SonataPageBundle | train | php,php |
f6ed1e5e93919c5f49279cc14d8bf3407bad5454 | diff --git a/jwk/jwk.go b/jwk/jwk.go
index <HASH>..<HASH> 100644
--- a/jwk/jwk.go
+++ b/jwk/jwk.go
@@ -246,6 +246,13 @@ func fetch(ctx context.Context, urlstring string, options ...FetchOption) (*http
}
return res, nil
}
+
+ // It's possible for us to get here without populating lastError.
+ // e.g. what if we ... | protect against lastError not being populated | lestrrat-go_jwx | train | go |
d56a6403ff37e9f0bc67da0e66bfc13324fdc3e5 | diff --git a/src/Primer/Templating/Template.php b/src/Primer/Templating/Template.php
index <HASH>..<HASH> 100644
--- a/src/Primer/Templating/Template.php
+++ b/src/Primer/Templating/Template.php
@@ -5,11 +5,11 @@ use Rareloop\Primer\Templating\TemplateInterface;
abstract class Template implements TemplateInterface
{
... | Changed TemplateInterface to only have one file extension | Rareloop_primer-core | train | php,php |
16efc29062ca1e29f26cb01c2a03a25deeda8f23 | diff --git a/lib/dotenv.rb b/lib/dotenv.rb
index <HASH>..<HASH> 100644
--- a/lib/dotenv.rb
+++ b/lib/dotenv.rb
@@ -20,9 +20,10 @@ module Dotenv
def self.with(*filenames, &block)
filenames << '.env' if filenames.empty?
- filenames.inject({}) do |hash, filename|
- filename = File.expand_path filename
- ... | Avoid using #inject
I did not use #each_with_object, as the Rogues recommend, for two reasons:
1. I find it just as confusing as #inject.
2. Dotenv still technically supports Ruby <I> | bkeepers_dotenv | train | rb |
3004a8be578e927d60a1d6eba8383084ea9d223b | diff --git a/src/components/QueryEditor.js b/src/components/QueryEditor.js
index <HASH>..<HASH> 100644
--- a/src/components/QueryEditor.js
+++ b/src/components/QueryEditor.js
@@ -205,11 +205,10 @@ export class QueryEditor extends React.Component {
}
_onBeforeChange(instance, change) {
- // the update functio... | Tweak a comment for accuracy and formatting | graphql_graphiql | train | js |
4226e45260c262dfb49378bdcf87237b7d9a05ad | diff --git a/tools/closure.py b/tools/closure.py
index <HASH>..<HASH> 100644
--- a/tools/closure.py
+++ b/tools/closure.py
@@ -7,16 +7,14 @@ if not os.path.exists(path):
raise Exception("No closure-compiler.jar at %s; read README.txt!" % path)
def minimize(code):
- ntf = tempfile.NamedTemporaryFile(delete=Fa... | Making closure.py also work with Python <I> | openlayers_openlayers | train | py |
510836a04f4734808ce7559c569b185853efd77c | diff --git a/gcloud/datastore/dataset.py b/gcloud/datastore/dataset.py
index <HASH>..<HASH> 100644
--- a/gcloud/datastore/dataset.py
+++ b/gcloud/datastore/dataset.py
@@ -63,7 +63,7 @@ class Dataset(object):
dataset_id=self.dataset_id)
def key(self, *path_args, **kwargs):
- """Proxy... | Fix Sphinx roles for classes.
[ci skip] | googleapis_google-cloud-python | train | py |
4faa5d1279878e93d58cdd0b75df472119ee13e1 | diff --git a/lib/chargify_api_ares.rb b/lib/chargify_api_ares.rb
index <HASH>..<HASH> 100644
--- a/lib/chargify_api_ares.rb
+++ b/lib/chargify_api_ares.rb
@@ -1,5 +1,7 @@
# Chargify API Wrapper using ActiveResource.
#
+require 'thread'
+
begin
require 'active_resource'
rescue LoadError | Ensure compatibility with ARES <I>.x and latest rubygems | chargify_chargify_api_ares | train | rb |
88a11575bef2e3aebb40b0da5dd6b921348ed430 | diff --git a/bin/api-docs-upload.js b/bin/api-docs-upload.js
index <HASH>..<HASH> 100644
--- a/bin/api-docs-upload.js
+++ b/bin/api-docs-upload.js
@@ -10,7 +10,7 @@ const first = [
'_book/index.html',
'_book/search_index.json',
'_book/gitbook/gitbook.js',
- '_book/docs/README.md'
+ '_book/docs/GLOSSARY.md'
... | Fix docs upload path [ci skip] | prescottprue_react-redux-firebase | train | js |
6a10be34a41ef72f45152e764a292c9533d46bae | diff --git a/.circleci/upload-preview.js b/.circleci/upload-preview.js
index <HASH>..<HASH> 100644
--- a/.circleci/upload-preview.js
+++ b/.circleci/upload-preview.js
@@ -18,7 +18,7 @@ if (!uploadFolder) {
const uploadFolderName = path.basename(uploadFolder);
let uploadURL = `${repo}-${prnum ? `pr-${prnum}` : prbranc... | fix(upload): use patternfly-react.surge.sh | patternfly_patternfly-react | train | js |
f2257ac3fef663b38ad8b777b8d74a92307fdad4 | diff --git a/lib/pagseguro/payment_request.rb b/lib/pagseguro/payment_request.rb
index <HASH>..<HASH> 100644
--- a/lib/pagseguro/payment_request.rb
+++ b/lib/pagseguro/payment_request.rb
@@ -90,6 +90,12 @@ module PagSeguro
self.extra_params << {name.to_sym => value}
end
+ # Adds an extra parameter with... | Creates a method add_indexed_parameter to payment request | pagseguro_ruby | train | rb,rb |
a0d917de3d9573bae067af254ed09457a77a1190 | diff --git a/module.js b/module.js
index <HASH>..<HASH> 100644
--- a/module.js
+++ b/module.js
@@ -1,3 +1,28 @@
module.exports = ( require( 'classes' ).Module ).extend({
+ preRoute: function() {
+ var injector = require( 'injector' )
+ , UserModel = injector.getInstance( 'UserModel' )
+... | feat(events): Implemented preQuery event for Roles | CleverStack_clever-roles | train | js |
0cfea7d97890a5a976872ebe951f7471aac13306 | diff --git a/client/pluginmanager/drivermanager/instance.go b/client/pluginmanager/drivermanager/instance.go
index <HASH>..<HASH> 100644
--- a/client/pluginmanager/drivermanager/instance.go
+++ b/client/pluginmanager/drivermanager/instance.go
@@ -307,6 +307,12 @@ func (i *instanceManager) fingerprint() {
continue
... | client: don't retry fingerprinting on shutdown
At shutdown, driver manager context expires and the fingerprinting
channel closes. Thus it is undeterministic which clause of The select
statement gets executed, and we may keep retrying until the
`i.ctx.Done()` block is executed.
Here, we check always check ctx expirat... | hashicorp_nomad | train | go |
13116c7f271038c74317b2e2b056778b83c93a5c | diff --git a/packages/resort/component/vagrant.py b/packages/resort/component/vagrant.py
index <HASH>..<HASH> 100644
--- a/packages/resort/component/vagrant.py
+++ b/packages/resort/component/vagrant.py
@@ -104,7 +104,8 @@ class BoxFile(VagrantObject):
for fname in os.listdir(os.path.join(context.profile_dir(),
... | Vagrant box file is from profile directory. | miquelo_resort | train | py |
76000123d83e440a3ff5bbefe19ad57577679c16 | diff --git a/lib/sidekiq-scheduler/web.rb b/lib/sidekiq-scheduler/web.rb
index <HASH>..<HASH> 100644
--- a/lib/sidekiq-scheduler/web.rb
+++ b/lib/sidekiq-scheduler/web.rb
@@ -16,7 +16,7 @@ module SidekiqScheduler
app.get '/recurring-jobs/:name/enqueue' do
schedule = Sidekiq.get_schedule(params[:name])
... | Follow sidekiq redirect pattern
Clicking the ‘Enqueue Now’ button redirects to ‘/recurring-jobs’ rather
than `{sidekiq-route-namespace}/recurring-jobs’.
This follows the pattern in Sidekiq’s own classes to achieve correct routing. | moove-it_sidekiq-scheduler | train | rb |
90907c387473380dd81ffaf7725d362360b58d64 | diff --git a/src/main/java/net/dv8tion/jda/handle/MessageReceivedHandler.java b/src/main/java/net/dv8tion/jda/handle/MessageReceivedHandler.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/dv8tion/jda/handle/MessageReceivedHandler.java
+++ b/src/main/java/net/dv8tion/jda/handle/MessageReceivedHandler.java
@@ -2... | Regex, what are you doing?! Regex, STAHP! | DV8FromTheWorld_JDA | train | java |
b2aa826f8971b3175521b81f1a0d0fc7056df014 | diff --git a/TwigExtension/TicketGlobalExtension.php b/TwigExtension/TicketGlobalExtension.php
index <HASH>..<HASH> 100644
--- a/TwigExtension/TicketGlobalExtension.php
+++ b/TwigExtension/TicketGlobalExtension.php
@@ -4,7 +4,7 @@ namespace Hackzilla\Bundle\TicketBundle\TwigExtension;
use Symfony\Component\Dependenc... | TicketGlobalExtension implements Twig_Extension_GlobalsInterface
Defining the getGlobals() method in the "ticketGlobal" extension without explicitly implementing Twig_Extension_GlobalsInterface is deprecated since version <I> | hackzilla_ticket-message | train | php |
3964a05ca9ec1a911f18eaf88e7338d1c79ea900 | diff --git a/src/FrontendFactory.php b/src/FrontendFactory.php
index <HASH>..<HASH> 100644
--- a/src/FrontendFactory.php
+++ b/src/FrontendFactory.php
@@ -46,15 +46,21 @@ class FrontendFactory implements Factory
*/
public function createCatalogImportApiRequestHandler()
{
- $catalogImportDirectory... | Issue #<I>: Move catalog import directory into separate method | lizards-and-pumpkins_catalog | train | php |
abe44d27e57897883ff8ca71c7e87348a338b240 | diff --git a/vendor/assets/javascripts/iscroll.js b/vendor/assets/javascripts/iscroll.js
index <HASH>..<HASH> 100644
--- a/vendor/assets/javascripts/iscroll.js
+++ b/vendor/assets/javascripts/iscroll.js
@@ -410,6 +410,8 @@ IScroll.prototype = {
this.absStartY = this.y;
this.pointX = point.pageX;
this.pointY... | Prevent scrolling after movement in other direction
Add option to iScroll, which locks scrolling if point has moved too
far in other orientation. | codevise_pageflow | train | js |
246b8682eb7977fd19f17cda345115899fe5325b | diff --git a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java b/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java
index <HASH>..<HASH> 100644
--- a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java
+++ b/robotium-solo/src/main/java/com/jayway/android/robot... | add some imports to Solo to get things compiling | RobotiumTech_robotium | train | java |
befc780cdbb27c343515c67e76809d87308033c5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -88,6 +88,10 @@ setup(
"openquake.cfg", "openquake_worker.cfg",
"README.md", "LICENSE", "CONTRIBUTORS.txt"]},
namespace_packages=['openquake'],
+ install_requires=[
+ 'openquake.hazardlib',
+ ... | Added dependencies in setup.py
Former-commit-id: e8d<I>c<I>abaf9e9df<I>e<I>a<I>ab<I> | gem_oq-engine | train | py |
eaf862f28ff3ad42643ecc2038762a479b202e40 | diff --git a/intranet/settings/__init__.py b/intranet/settings/__init__.py
index <HASH>..<HASH> 100644
--- a/intranet/settings/__init__.py
+++ b/intranet/settings/__init__.py
@@ -42,6 +42,7 @@ ENABLE_WAITLIST = True
ENABLE_BUS_APP = True
ENABLE_BUS_DRIVER = True
ENABLE_PRE_EIGHTH_REDIRECT = False
+NOTIFY_ADMIN_EMAIL... | chore(settings): reconcile settings | tjcsl_ion | train | py |
0d050a7881323211085fa2203fc74f661aeccee3 | diff --git a/app/image/gc/gc.go b/app/image/gc/gc.go
index <HASH>..<HASH> 100644
--- a/app/image/gc/gc.go
+++ b/app/image/gc/gc.go
@@ -77,7 +77,7 @@ var (
Subsystem: promSubsystem,
Name: "provisioner_prune_duration_seconds",
Help: "How long during single prune to provisioner",
- Buckets: prometheu... | gc: Use better exponential buckets | tsuru_tsuru | train | go |
93d8ec3e8773ca1a0120daf2bc8ef9ce55d4eb7b | diff --git a/src/structures/VoiceChannel.js b/src/structures/VoiceChannel.js
index <HASH>..<HASH> 100644
--- a/src/structures/VoiceChannel.js
+++ b/src/structures/VoiceChannel.js
@@ -50,7 +50,7 @@ class VoiceChannel extends GuildChannel {
* @type {boolean}
*/
get full() {
- return this.members.size >= thi... | VoiceChannel#full fix on no limit channel for joinable (#<I>)
* VoiceChannel#full fix on no limit channel for joinable
* Update VoiceChannel.js | discordjs_discord.js | train | js |
e71d7c341c74421de3ae73d2faaba41fc54b5fe0 | diff --git a/tests/integration/states/test_pkg.py b/tests/integration/states/test_pkg.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/test_pkg.py
+++ b/tests/integration/states/test_pkg.py
@@ -556,7 +556,11 @@ class PkgTest(ModuleCase, SaltReturnAssertsMixin):
# changes from pkg.hold for Red Ha... | Add Suse support to installed-hold integration test | saltstack_salt | train | py |
6e0021d4613493b8a5c128214ff7bfb86fa559b8 | diff --git a/src/AppserverIo/Appserver/Meta/Composer/Script/Setup.php b/src/AppserverIo/Appserver/Meta/Composer/Script/Setup.php
index <HASH>..<HASH> 100644
--- a/src/AppserverIo/Appserver/Meta/Composer/Script/Setup.php
+++ b/src/AppserverIo/Appserver/Meta/Composer/Script/Setup.php
@@ -62,7 +62,7 @@ class Setup
*... | updated php version, hardcoded till better solution found | appserver-io_appserver | train | php |
3077cefb5663b538b17ad8ea79db87143e606565 | diff --git a/lib/kubeclient/version.rb b/lib/kubeclient/version.rb
index <HASH>..<HASH> 100644
--- a/lib/kubeclient/version.rb
+++ b/lib/kubeclient/version.rb
@@ -1,4 +1,4 @@
# Kubernetes REST-API Client
module Kubeclient
- VERSION = '0.1.3'
+ VERSION = '0.1.4'
end | release: kubeclient-<I> | abonas_kubeclient | train | rb |
43ba3605da6a617c80c7369b84ab874f99f4f7da | diff --git a/builder/aci.go b/builder/aci.go
index <HASH>..<HASH> 100644
--- a/builder/aci.go
+++ b/builder/aci.go
@@ -16,8 +16,10 @@ execute_files() {
fdir=$1
[ -d "$fdir" ] || return 0
- for file in $fdir/*; do
- [ -x "$file" ] || /cnt/bin/busybox chmod +x "$file"
+ for file in $fdir; do
+ [ -e "$file... | Chmod if file exist and is not executable | blablacar_dgr | train | go |
e49369e49373fb80815d8f772173d70675272caf | diff --git a/lib/virtualbox/ext/platform.rb b/lib/virtualbox/ext/platform.rb
index <HASH>..<HASH> 100644
--- a/lib/virtualbox/ext/platform.rb
+++ b/lib/virtualbox/ext/platform.rb
@@ -1,3 +1,5 @@
+require "rbconfig"
+
module VirtualBox
class Platform
class << self
@@ -18,7 +20,7 @@ module VirtualBox
end
... | Use rbconfig to properly detect host OS | mitchellh_virtualbox | train | rb |
b89893c3c64923eb06645d42c041df94493fc7c1 | diff --git a/lib/virtus/attribute.rb b/lib/virtus/attribute.rb
index <HASH>..<HASH> 100644
--- a/lib/virtus/attribute.rb
+++ b/lib/virtus/attribute.rb
@@ -46,11 +46,9 @@ module Virtus
#
# @api private
def self.build(name, type = Object, options = {})
- klass = determine_type(type)
-
- unless kl... | Use "or" instead of a conditional | solnic_virtus | train | rb |
3ddb1af5290263d158917e5ade1780bb0684f0ad | diff --git a/grails-core/src/main/groovy/org/codehaus/groovy/grails/commons/GrailsDomainConfigurationUtil.java b/grails-core/src/main/groovy/org/codehaus/groovy/grails/commons/GrailsDomainConfigurationUtil.java
index <HASH>..<HASH> 100644
--- a/grails-core/src/main/groovy/org/codehaus/groovy/grails/commons/GrailsDomain... | Skip processing of errors property by DirtyCheckingTransformer | grails_grails-core | train | java |
b82b227f261e64c35e4448a692fc9669da3399f6 | diff --git a/lib/right_develop/testing/recording/metadata.rb b/lib/right_develop/testing/recording/metadata.rb
index <HASH>..<HASH> 100644
--- a/lib/right_develop/testing/recording/metadata.rb
+++ b/lib/right_develop/testing/recording/metadata.rb
@@ -160,9 +160,6 @@ module RightDevelop::Testing::Recording
# re... | acu<I> - Expanding case to first check Strin type | rightscale_right_develop | train | rb |
486211e601794e3e94a6361821da9297efa3527f | diff --git a/src/Entity/Game.php b/src/Entity/Game.php
index <HASH>..<HASH> 100644
--- a/src/Entity/Game.php
+++ b/src/Entity/Game.php
@@ -98,6 +98,14 @@ class Game extends ContentEntityBase implements EntityInterface {
return $this;
}
+ public function getScoreTeam1() {
+ return $this->get('score_team_1'... | Game - update bet only when score is setted | mespronos_mespronos | train | php |
d0cd57104d704a751d01b0406d6e9751b667c2af | diff --git a/code/controllers/CommentingController.php b/code/controllers/CommentingController.php
index <HASH>..<HASH> 100644
--- a/code/controllers/CommentingController.php
+++ b/code/controllers/CommentingController.php
@@ -529,11 +529,6 @@ class CommentingController extends Controller {
$requireModeration = fa... | BUG FIx "your comment is awaiting moderation" and "your comment is rejected as spam" messages appearing together. | silverstripe_silverstripe-comments | train | php |
14c5689941f3bba9f1875ba64156e6687667faad | diff --git a/account.go b/account.go
index <HASH>..<HASH> 100644
--- a/account.go
+++ b/account.go
@@ -24,6 +24,7 @@ const (
AccountCapabilityAUBECSDebitPayments AccountCapability = "au_becs_debit_payments"
AccountCapabilityCardIssuing AccountCapability = "card_issuing"
AccountCapabilityCardPayments... | Add support for `JCBPayments` and `CardIssuing` as a `Capability` | stripe_stripe-go | train | go |
c13fa1b02b539b854688baa7b73e8c27c3735ba2 | diff --git a/web/src/main/webapp/resources/js/geneQueryTagEditorModule.js b/web/src/main/webapp/resources/js/geneQueryTagEditorModule.js
index <HASH>..<HASH> 100644
--- a/web/src/main/webapp/resources/js/geneQueryTagEditorModule.js
+++ b/web/src/main/webapp/resources/js/geneQueryTagEditorModule.js
@@ -41,7 +41,6 @@ var... | <I> Add property_name field to identifierSearch in analytics index - Remove debugger callback (used to inspect autocomplete pop-up) | ebi-gene-expression-group_atlas | train | js |
475942f868abd078e4d57db4b68337383a1ddf32 | diff --git a/spec/models/fluent_gem_spec.rb b/spec/models/fluent_gem_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/fluent_gem_spec.rb
+++ b/spec/models/fluent_gem_spec.rb
@@ -53,7 +53,7 @@ describe FluentGem do
context "no list" do
let(:gem_list) { "" }
- it { subject.should == [] }
+ it... | Fix assertion as Enumerator#to_a | fluent_fluentd-ui | train | rb |
9607d5278c664bbf636797fed36c81734f50b0ac | diff --git a/src/Sulu/Component/Content/Query/ContentQueryBuilder.php b/src/Sulu/Component/Content/Query/ContentQueryBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Component/Content/Query/ContentQueryBuilder.php
+++ b/src/Sulu/Component/Content/Query/ContentQueryBuilder.php
@@ -115,7 +115,7 @@ abstract class Co... | remove jcr:path to avoid dbal exceptions | sulu_sulu | train | php |
c4393f317d78be90fa0e3fc25c0e7af5ed0c8901 | diff --git a/tasklib/tests.py b/tasklib/tests.py
index <HASH>..<HASH> 100644
--- a/tasklib/tests.py
+++ b/tasklib/tests.py
@@ -72,7 +72,7 @@ class TaskWarriorTest(TasklibTest):
tw = self.get_taskwarrior(
task_command='wsl task',
# prevent `_get_version` from running as `wsl` may not e... | Fix unit tests on non wsl non Travis systems
The test_custom_command was introduced in #<I> with the TASK_VERSION for
Travis. As TASK_VERSION is not part of a default environment, the test
would still try to run `wsl` on other systems and fail. | robgolding_tasklib | train | py |
a9ca3380aedf75e058d1d08021efe335bccac9d0 | diff --git a/src/GroupContainer.php b/src/GroupContainer.php
index <HASH>..<HASH> 100644
--- a/src/GroupContainer.php
+++ b/src/GroupContainer.php
@@ -44,6 +44,7 @@ class GroupContainer implements GroupContainerInterface {
FALSE;
if ( ! empty( $filtered ) ) {
foreach ( $filtered as $k... | In groups props allow keys named like methods | Brain-WP_Cortex | train | php |
bb95143369c47aa03523368549fb01484882e853 | diff --git a/pkg/proxy/ipvs/graceful_termination.go b/pkg/proxy/ipvs/graceful_termination.go
index <HASH>..<HASH> 100644
--- a/pkg/proxy/ipvs/graceful_termination.go
+++ b/pkg/proxy/ipvs/graceful_termination.go
@@ -18,6 +18,7 @@ package ipvs
import (
"fmt"
+ "strings"
"sync"
"time"
@@ -167,7 +168,7 @@ func (... | ipvs: fix string check for IPVS protocol during graceful termination | kubernetes_kubernetes | train | go |
68bdc8502939431d4715f9c309a774cf0d277a48 | diff --git a/tests/ZxcvbnTest.php b/tests/ZxcvbnTest.php
index <HASH>..<HASH> 100644
--- a/tests/ZxcvbnTest.php
+++ b/tests/ZxcvbnTest.php
@@ -119,7 +119,7 @@ class ZxcvbnTest extends TestCase
public function invalidPasswordDataProvider()
{
return [
- ['halloduda', 'bruteforce'],
+ ... | Fix the tests failing in <I> because ZXCVBN treats it as a common password rather than a recent year | REBELinBLUE_laravel5-zxcvbn | train | php |
a7a07cb664d2de2cb56889d63c1cfcb3d4d54d41 | diff --git a/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb b/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb
+++ b/app/controllers/katello/api/v2/upstream_subscriptions_control... | Fixes #<I> - Update version to <I> in dep warning | Katello_katello | train | rb |
88088601a42cb8ba2339f9794893bf238a04dabf | diff --git a/openxc-it/src/main/java/com/openxc/BoundVehicleServiceTest.java b/openxc-it/src/main/java/com/openxc/BoundVehicleServiceTest.java
index <HASH>..<HASH> 100644
--- a/openxc-it/src/main/java/com/openxc/BoundVehicleServiceTest.java
+++ b/openxc-it/src/main/java/com/openxc/BoundVehicleServiceTest.java
@@ -114,7... | Add longer sleeps to avoid timing issues in tests. | openxc_openxc-android | train | java |
60e9719453727ac5936ac22b5a49ecf02ea82cfe | diff --git a/src/main/org/openscience/cdk/tools/manipulator/AtomContainerComparatorBy2DCenter.java b/src/main/org/openscience/cdk/tools/manipulator/AtomContainerComparatorBy2DCenter.java
index <HASH>..<HASH> 100644
--- a/src/main/org/openscience/cdk/tools/manipulator/AtomContainerComparatorBy2DCenter.java
+++ b/src/mai... | renamed variable 'minimum' and added explanation as to why it is used. | cdk_cdk | train | java |
72a9426cede14313e7e186676e61301747d829ed | diff --git a/TYPO3.Flow/Classes/TYPO3/Flow/Command/DoctrineCommandController.php b/TYPO3.Flow/Classes/TYPO3/Flow/Command/DoctrineCommandController.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/TYPO3/Flow/Command/DoctrineCommandController.php
+++ b/TYPO3.Flow/Classes/TYPO3/Flow/Command/DoctrineCommandControll... | TASK: Add documentation for the default filter expression in the doctrine:migrate command | neos_flow-development-collection | train | php |
ee8e736dbde727b8039b7e49ff800cfbc11abf4d | diff --git a/lib/generators/templates/rails_footnotes.rb b/lib/generators/templates/rails_footnotes.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/templates/rails_footnotes.rb
+++ b/lib/generators/templates/rails_footnotes.rb
@@ -1,5 +1,5 @@
-if defined?(Footnotes) && Rails.env.development?
- Footnotes.run! # fir... | Change initializer template to support new loading method | josevalim_rails-footnotes | train | rb |
38947000beba790c1bb052982a91b11a89cc21aa | diff --git a/spec/unit/run_spec.rb b/spec/unit/run_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/run_spec.rb
+++ b/spec/unit/run_spec.rb
@@ -108,6 +108,14 @@ RSpec.describe TTY::Command, '#run' do
)
end
+ it "times out after a specified period" do
+ output = StringIO.new
+ cmd = TTY::Command.new(... | Test timeout option for run command. | piotrmurach_tty-command | train | rb |
8ff1b17f2ba32ebd791d1107324899fed0263379 | diff --git a/h2o-algos/src/main/java/hex/tree/isoforextended/ExtendedIsolationForest.java b/h2o-algos/src/main/java/hex/tree/isoforextended/ExtendedIsolationForest.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/main/java/hex/tree/isoforextended/ExtendedIsolationForest.java
+++ b/h2o-algos/src/main/java/hex/tree/i... | PUBDEV-<I> - update job in the IsolationTreeForkJoin task | h2oai_h2o-3 | train | java |
a1ccc6fa6aa16fe9b3f7d08f7806173a00534366 | diff --git a/test/autofit/test_non_linear.py b/test/autofit/test_non_linear.py
index <HASH>..<HASH> 100644
--- a/test/autofit/test_non_linear.py
+++ b/test/autofit/test_non_linear.py
@@ -1238,11 +1238,11 @@ class TestFitting(object):
result = multi_nest.fit(MockAnalysis())
assert result.cons... | changed signs to fix test... need to verify why this occurred | Jammy2211_PyAutoLens | train | py |
b3a67b5f1b16965e8d2e1719c6f96e6331a2a6b5 | diff --git a/txnserver/validator.py b/txnserver/validator.py
index <HASH>..<HASH> 100644
--- a/txnserver/validator.py
+++ b/txnserver/validator.py
@@ -17,6 +17,8 @@ import logging
import random
import signal
import socket
+import os
+import cProfile
from twisted.internet import reactor
@@ -38,10 +40,15 @@ class... | Add profiling support to validator
This changes adds a configuration option called Profile to enable
the profiling of the validator code via cProfile. | hyperledger_sawtooth-core | train | py |
9a0950e578a553bbf8527cf7bd2c375714f30cee | diff --git a/core/src/main/java/com/google/bitcoin/core/PeerAddress.java b/core/src/main/java/com/google/bitcoin/core/PeerAddress.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/bitcoin/core/PeerAddress.java
+++ b/core/src/main/java/com/google/bitcoin/core/PeerAddress.java
@@ -25,6 +25,7 @@ import ... | Check for null InetAddress in PeerAddress c'tor. | bitcoinj_bitcoinj | train | java |
a1ca1e85a9ccefd72db4dc700a894c5bd7db53de | diff --git a/activerecord/test/cases/transactions_test.rb b/activerecord/test/cases/transactions_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/transactions_test.rb
+++ b/activerecord/test/cases/transactions_test.rb
@@ -370,23 +370,23 @@ class TransactionTest < ActiveRecord::TestCase
assert to... | persisted? should be able to return a truthy object | rails_rails | train | rb |
539c96d457d9ed1593961dad46e5aa9a34d9a647 | diff --git a/lib/xcode/install/simulators.rb b/lib/xcode/install/simulators.rb
index <HASH>..<HASH> 100644
--- a/lib/xcode/install/simulators.rb
+++ b/lib/xcode/install/simulators.rb
@@ -7,7 +7,7 @@ module XcodeInstall
self.summary = 'List or install iOS simulators.'
def self.options
- [['--insta... | Allow simulator installs when multiple Xcodes provide the same one
- specify using the 'name' rather than version - name still
includes a version, but includes the distinction between iOS and
tvOS
- fixes #<I> | xcpretty_xcode-install | train | rb |
68b6c869002f16b2b9f560074708b30eb473fbc8 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -65,7 +65,7 @@ copyright = u'2013-2016, Pablo Acosta-Serafini'
# The short X.Y version.
version = '1.0.4'
# The full version, including alpha/beta/rc tags.
-release = '1.0.4rc1'
+release = '1.0.4'
# The l... | Bumped version to <I> | pmacosta_peng | train | py,py |
8515f7b1592943250270893878f41432e227997b | diff --git a/pkg/blobserver/google/cloudstorage/storage.go b/pkg/blobserver/google/cloudstorage/storage.go
index <HASH>..<HASH> 100644
--- a/pkg/blobserver/google/cloudstorage/storage.go
+++ b/pkg/blobserver/google/cloudstorage/storage.go
@@ -182,15 +182,17 @@ func (gs *Storage) Fetch(blob blob.Ref) (file io.ReadCloser... | Google cloud storage: delete objects in a batch
Change-Id: I<I>edef<I>b2cb<I>c<I>aab<I>acd2b<I>d | perkeep_perkeep | train | go |
d9c2b5138c65885b1321f53a58d80ac1ea6090df | diff --git a/tests/Willard/AgeTest.php b/tests/Willard/AgeTest.php
index <HASH>..<HASH> 100644
--- a/tests/Willard/AgeTest.php
+++ b/tests/Willard/AgeTest.php
@@ -1,5 +1,6 @@
<?php
+use Carbon\Carbon;
use Dascentral\Rma\Willard;
use PHPUnit\Framework\TestCase;
@@ -9,7 +10,9 @@ class AgeTest extends TestCase
... | Updating test to use Carbon instance | dascentral_RMA | train | php |
564922b32ceec259c442e965ac8a61ea5545bd48 | diff --git a/activerecord/test/cases/identity_map_test.rb b/activerecord/test/cases/identity_map_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/identity_map_test.rb
+++ b/activerecord/test/cases/identity_map_test.rb
@@ -129,6 +129,23 @@ class IdentityMapTest < ActiveRecord::TestCase
end
#####... | Testing identity map on inherited active record classes. Distinct models that use the same database table shouldn't be retrieved as the same object when there is not a type attribute. | rails_rails | train | rb |
5968808d43370689a8db84c7100a7f331f62c0e9 | diff --git a/sdk/src/main/java/com/wonderpush/sdk/inappmessaging/display/internal/InAppWebViewController.java b/sdk/src/main/java/com/wonderpush/sdk/inappmessaging/display/internal/InAppWebViewController.java
index <HASH>..<HASH> 100644
--- a/sdk/src/main/java/com/wonderpush/sdk/inappmessaging/display/internal/InAppWeb... | Fix popup links in android <I> | wonderpush_wonderpush-android-sdk | train | java |
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.