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 |
|---|---|---|---|---|---|
7363d2a8113d035f48ac7fc2a664fa3bc506b9b6 | diff --git a/src/__tests__/parse-test.js b/src/__tests__/parse-test.js
index <HASH>..<HASH> 100644
--- a/src/__tests__/parse-test.js
+++ b/src/__tests__/parse-test.js
@@ -73,7 +73,7 @@ describe('parse', () => {
}
});
- it('supports custom parserOptions', () => {
+ it('supports custom parserOptions with plug... | test: Add test for parserOptions without plugins | reactjs_react-docgen | train | js |
ae81d4719f2a9fafd48ad02be848d1332448bc0b | diff --git a/core/lib/rom/schema.rb b/core/lib/rom/schema.rb
index <HASH>..<HASH> 100644
--- a/core/lib/rom/schema.rb
+++ b/core/lib/rom/schema.rb
@@ -386,20 +386,6 @@ module ROM
)
end
- # Return a new schema with new options
- #
- # @example
- # schema.with(inferrer: my_inferrer)
- #
- ... | Remove Schema#with
Use auto-generated method instead | rom-rb_rom | train | rb |
2baa378ae8ed61335a471b83961ca31509907938 | diff --git a/upload/catalog/model/account/transaction.php b/upload/catalog/model/account/transaction.php
index <HASH>..<HASH> 100644
--- a/upload/catalog/model/account/transaction.php
+++ b/upload/catalog/model/account/transaction.php
@@ -42,14 +42,14 @@ class Transaction extends \Opencart\System\Engine\Model {
publi... | Added sanitized int on total | opencart_opencart | train | php |
4bede6a8cc22efcb3a698568945582198e46954d | diff --git a/tests/TestCase/Cache/SimpleCacheEngineTest.php b/tests/TestCase/Cache/SimpleCacheEngineTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/Cache/SimpleCacheEngineTest.php
+++ b/tests/TestCase/Cache/SimpleCacheEngineTest.php
@@ -14,6 +14,7 @@
*/
namespace Cake\Test\TestCase\Cache;
+use Cake\Cache... | Add property type hints
Improves auto-completion & IDE auto resolution. | cakephp_cakephp | train | php |
adf88d9c47b17102a9cc464c62c46799fd7defbd | diff --git a/app_init/app_lib.py b/app_init/app_lib.py
index <HASH>..<HASH> 100644
--- a/app_init/app_lib.py
+++ b/app_init/app_lib.py
@@ -63,7 +63,7 @@ class AppLib:
# after adding the current working directory.
if lib_directory is None:
lib_directory = lib_latest
- sys.path.inser... | + updated app_lib to set full path to lib_ directory. | ThreatConnect-Inc_tcex | train | py |
b8b98f871b18f67fe841b22c5155ba200f05964d | diff --git a/tests/frontend/org/voltdb/iv2/TestReplaySequencer.java b/tests/frontend/org/voltdb/iv2/TestReplaySequencer.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/iv2/TestReplaySequencer.java
+++ b/tests/frontend/org/voltdb/iv2/TestReplaySequencer.java
@@ -270,5 +270,24 @@ public class TestReplayS... | ENG-<I>: Add a test case for the replay sequencer. | VoltDB_voltdb | train | java |
a9a7492d1ca41980149c9b316b225317f2bb120a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ from setuptools import setup, find_packages
setup(
name='py2cytoscape',
- version='0.4.3',
+ version='0.4.4',
description='Tools to use Cytoscape and Cytoscape.js from Python',
long_descr... | Version number updated for <I> release. | cytoscape_py2cytoscape | train | py |
299cb973e5c43d5b87a37a7f30dc26c7cbce04ec | diff --git a/tests/dummy/app/controllers/helpers-documentation/liquid-if.js b/tests/dummy/app/controllers/helpers-documentation/liquid-if.js
index <HASH>..<HASH> 100644
--- a/tests/dummy/app/controllers/helpers-documentation/liquid-if.js
+++ b/tests/dummy/app/controllers/helpers-documentation/liquid-if.js
@@ -1,9 +1,10... | fix meta bug on ember-<I> and older | ember-animation_liquid-fire | train | js |
c74de66b76e6840b0b3a8ca2e19fa1884e52939a | diff --git a/agent/core/src/main/java/org/jolokia/util/ClassUtil.java b/agent/core/src/main/java/org/jolokia/util/ClassUtil.java
index <HASH>..<HASH> 100644
--- a/agent/core/src/main/java/org/jolokia/util/ClassUtil.java
+++ b/agent/core/src/main/java/org/jolokia/util/ClassUtil.java
@@ -214,7 +214,7 @@ public final clas... | Fix for compiling with Java 6/7
The usage of Parameter, which is only available since Java 8 was changed so that codes compile fine with Java 6 and 7 again. | rhuss_jolokia | train | java |
6b9686f2dd771bc4a6321205cc799a50a4c54929 | diff --git a/src/babel/transformation/file/plugin-manager.js b/src/babel/transformation/file/plugin-manager.js
index <HASH>..<HASH> 100644
--- a/src/babel/transformation/file/plugin-manager.js
+++ b/src/babel/transformation/file/plugin-manager.js
@@ -68,7 +68,7 @@ export default class PluginManager {
if (name) {... | Fix plugin api typo when an object is passed in | babel_babel | train | js |
736aaabd9181b81873f776936079e3885434df24 | diff --git a/src/Components/TotalsRow.php b/src/Components/TotalsRow.php
index <HASH>..<HASH> 100644
--- a/src/Components/TotalsRow.php
+++ b/src/Components/TotalsRow.php
@@ -51,14 +51,8 @@ class TotalsRow extends ArrayDataRow implements RenderableComponentInterface
{
$this->template = '*.components.total... | Totals row: bugfixed setting field names using setter | Nayjest_Grids | train | php |
1a6d70af8c86ac1c54567b69171730e3239e9d09 | diff --git a/openquake/commands/plot.py b/openquake/commands/plot.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/plot.py
+++ b/openquake/commands/plot.py
@@ -695,10 +695,10 @@ def plot_wkt(wkt_string):
def plot_csv(fname):
"""
- Plot a CSV with columns (operation, time1, time2)
+ Plot a CSV with ... | Improved oq plot [ci skip] | gem_oq-engine | train | py |
da33c4f6e2cdaf9307b826b513ce3ef3208fde38 | diff --git a/aioice/ice.py b/aioice/ice.py
index <HASH>..<HASH> 100644
--- a/aioice/ice.py
+++ b/aioice/ice.py
@@ -306,7 +306,7 @@ class Connection:
"""
Gather local candidates.
- You **must** call this coroutine calling :meth:`connect`.
+ You **must** call this coroutine before callin... | Fixes typo in gather_candidates docs | aiortc_aioice | train | py |
bc15077ecc4b8242d35787b693541069cff283b7 | diff --git a/test/common.js b/test/common.js
index <HASH>..<HASH> 100644
--- a/test/common.js
+++ b/test/common.js
@@ -93,7 +93,8 @@ HTTPClient.prototype.request = function (path, opts, fn) {
HTTPClient.prototype.end = function () {
var self = this;
Object.keys(this.agent.sockets).forEach(function (socket) {
- ... | further checks to not close sockets that aren't there | socketio_socket.io | train | js |
44d4cd9b048a9b0079404b3ea143593474534c1d | diff --git a/lib/dill/matchers.rb b/lib/dill/matchers.rb
index <HASH>..<HASH> 100644
--- a/lib/dill/matchers.rb
+++ b/lib/dill/matchers.rb
@@ -1,11 +1,19 @@
require 'rspec/matchers'
RSpec::Matchers.define :see do |widget_name, *args|
- match do |role|
+ match_for_should do |role|
begin
eventually { ro... | [matchers] Implement waiting for negative #see. | mojotech_capybara-ui | train | rb |
a4e81597dc82189c53dcd900d72093e8b908cf19 | diff --git a/docs/js/drag-drop.js b/docs/js/drag-drop.js
index <HASH>..<HASH> 100644
--- a/docs/js/drag-drop.js
+++ b/docs/js/drag-drop.js
@@ -38,10 +38,12 @@
var importedNode = document.importNode(templateNode.content, true)
var fileNode = importedNode.querySelector('.dropped-files__file')
var nameNode ... | See #<I> - properly sets name of optimized file. | jakubpawlowicz_clean-css | train | js |
95e933b36cfcd0c520d3d0bebd2d2d57d4a2b8e3 | diff --git a/src/main/java/skadistats/clarity/model/FieldPath.java b/src/main/java/skadistats/clarity/model/FieldPath.java
index <HASH>..<HASH> 100644
--- a/src/main/java/skadistats/clarity/model/FieldPath.java
+++ b/src/main/java/skadistats/clarity/model/FieldPath.java
@@ -42,7 +42,7 @@ public class FieldPath {
... | fix hashcode and equals for fieldpaths | skadistats_clarity | train | java |
80fb0804708acb77ea4b22191b702ee3a633c7bf | diff --git a/lib/UvReactor.php b/lib/UvReactor.php
index <HASH>..<HASH> 100644
--- a/lib/UvReactor.php
+++ b/lib/UvReactor.php
@@ -427,6 +427,8 @@ class UvReactor implements SignalReactor {
@uv_timer_stop($watcher->uvHandle);
break;
}
+ } elseif ($watcher->t... | I/O watchers must be always cleared, even if disabled
Not clearing I/O watcher lead to a leftover disabled watcher, so that streamIdPollMap still contains a disabled watcher with the flag.
Which may lead to a new watcher of same type not triggering an uv_poll_start(). | amphp_amp | train | php |
e80ad164d03eba2bdffaf5434d6e2254a6716a65 | diff --git a/src/network.js b/src/network.js
index <HASH>..<HASH> 100644
--- a/src/network.js
+++ b/src/network.js
@@ -163,6 +163,7 @@ module.exports = class NetworkWrapper {
if (err) return next(response)
// then we can rebuffer the request
loggerHttp(`Re-buffer... | fix: replay request on access token expires
The HTTP headers were not updated with the new access_token when
replaying the request, so the request failed again. | keymetrics_pm2-io-js-api | train | js |
d209c1033d3bb4dd8a3a1c0069aa8c01f78be48d | diff --git a/lib/cli/generate.js b/lib/cli/generate.js
index <HASH>..<HASH> 100644
--- a/lib/cli/generate.js
+++ b/lib/cli/generate.js
@@ -83,7 +83,7 @@ extend.console.register('generate', 'Generate static files', function(args){
});
},
// Load cache
- cache: function(next){
+ cache: ['check', fu... | check if public folder exists before loading cache | hexojs_hexo | train | js |
482cc750ce083b6882d3cac7e90091eccb1535f6 | diff --git a/test/seahorse/client/http/header_hash_test.rb b/test/seahorse/client/http/header_hash_test.rb
index <HASH>..<HASH> 100644
--- a/test/seahorse/client/http/header_hash_test.rb
+++ b/test/seahorse/client/http/header_hash_test.rb
@@ -34,10 +34,21 @@ module Seahorse
hash[:key].must_equal('value')
... | Expanded HeaderHash#to_hash tests. | aws_aws-sdk-ruby | train | rb |
62a996930e552b9d0076078b68e57347749593c0 | diff --git a/tests/integration/nupic/opf/hotgym_regression_test.py b/tests/integration/nupic/opf/hotgym_regression_test.py
index <HASH>..<HASH> 100644
--- a/tests/integration/nupic/opf/hotgym_regression_test.py
+++ b/tests/integration/nupic/opf/hotgym_regression_test.py
@@ -41,11 +41,9 @@ class HotgymRegressionTest(uni... | Calculate experimentDir as relative to __file__ | numenta_nupic | train | py |
2486929d02ab756d2db229260a9bb2bdbbf87aa7 | diff --git a/src/Compressor/HtmlCompressor.php b/src/Compressor/HtmlCompressor.php
index <HASH>..<HASH> 100644
--- a/src/Compressor/HtmlCompressor.php
+++ b/src/Compressor/HtmlCompressor.php
@@ -22,8 +22,8 @@ class HtmlCompressor extends Compressor
*/
protected function execute($string)
{
- // Re... | Condense \r, \n and \t down to spaces | WyriHaximus_HtmlCompress | train | php |
05c94ea7681a763cf17f57a11a0b50948b98f824 | diff --git a/sos/report/plugins/ceph.py b/sos/report/plugins/ceph.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/ceph.py
+++ b/sos/report/plugins/ceph.py
@@ -108,6 +108,7 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
"fs dump",
"pg dump",
"pg stat",
+ "tim... | [ceph] include time-sync-status for ceph mon
Ceph mons might get into time sync problems if ntp/chrony
isn't installed or configured correctly. Since Luminous
release, upstream support 'time-sync-status' to detect this
more easily.
Closes: #<I>
Resolves: #<I> | sosreport_sos | train | py |
f1ea1ca151e5812c9f92ee0aaf98c96904ee5063 | diff --git a/sqlauth/__init__.py b/sqlauth/__init__.py
index <HASH>..<HASH> 100644
--- a/sqlauth/__init__.py
+++ b/sqlauth/__init__.py
@@ -16,4 +16,4 @@
##
###############################################################################
-__version__ = "0.1.237"
+__version__ = "0.1.238"
diff --git a/sqlauth/twisted/s... | sync with pypi version: <I> | lgfausak_sqlauth | train | py,py |
9e4cce5583fdb8346cf35eeb3d7769127d6530e1 | diff --git a/kite/kontrol.go b/kite/kontrol.go
index <HASH>..<HASH> 100644
--- a/kite/kontrol.go
+++ b/kite/kontrol.go
@@ -11,7 +11,7 @@ import (
// Kontrol embeds RemoteKite which has additional special helper methods.
type Kontrol struct {
- RemoteKite
+ *RemoteKite
// used for synchronizing methods that need... | kite: fix reconnect to kontrol bug | koding_kite | train | go |
9cd0701aae957601ad896b6a6423e7f6f50e433b | diff --git a/astropy_helpers/setup_helpers.py b/astropy_helpers/setup_helpers.py
index <HASH>..<HASH> 100644
--- a/astropy_helpers/setup_helpers.py
+++ b/astropy_helpers/setup_helpers.py
@@ -493,8 +493,10 @@ def generate_build_ext_command(packagename, release):
if self.extensions:
src_path = os.pa... | Copy the _compiler.c file to the package | astropy_astropy-helpers | train | py |
5c9d2d07c9be67e75520a5ddfba477fba9ae8a60 | diff --git a/fleece/connexion.py b/fleece/connexion.py
index <HASH>..<HASH> 100644
--- a/fleece/connexion.py
+++ b/fleece/connexion.py
@@ -38,14 +38,14 @@ class FleeceApp(connexion.App):
If `logger` is None, a default logger object will be created.
"""
- super(FleeceApp, self).__init__(*a... | FleeceApp: don't pass `logger` kwarg to super constructor
If you specify an explicit `logger` kwarg, the call to the super
constructor (connexion.App) will blow up. | rackerlabs_fleece | train | py |
caee2b20df80a33636cfe4d74c6503a17f09579d | diff --git a/lib/metadata/VmConfig/VmConfig.rb b/lib/metadata/VmConfig/VmConfig.rb
index <HASH>..<HASH> 100644
--- a/lib/metadata/VmConfig/VmConfig.rb
+++ b/lib/metadata/VmConfig/VmConfig.rb
@@ -400,7 +400,7 @@ class VmConfig
ems_display_text = "host(#{ems_host['use_vim_broker'] ? 'via broker' : 'directly'}):#{e... | Move MiqFaultTolerantVim to VMwareWebService
(transferred from ManageIQ/manageiq-gems-pending@b<I>f7c<I>ddc3b9b2c<I>d<I>ec<I>b<I>f2) | ManageIQ_manageiq-smartstate | train | rb |
cb1e96f9360f8017693cba3c2f07c1d1c703867b | diff --git a/library/src/com/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup.java b/library/src/com/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup.java
index <HASH>..<HASH> 100644
--- a/library/src/com/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup.java
+++ b/library/src/com/... | Save a method class if we are native. | JakeWharton_ActionBarSherlock | train | java |
b564718a43eb5667e25ef9b14297a1e35a435f1f | diff --git a/examples/opengl3.go b/examples/opengl3.go
index <HASH>..<HASH> 100644
--- a/examples/opengl3.go
+++ b/examples/opengl3.go
@@ -58,13 +58,17 @@ func main() {
var context sdl.GLContext
var event sdl.Event
var running bool
+ var err error
runtime.LockOSThread()
if 0 != sdl.Init(sdl.INIT_EVERYTHING) {... | Update CreateWindow to capture and report errors correctly | veandco_go-sdl2 | train | go |
88d5c20c079774781095bcc9fd9a0534604d47a5 | diff --git a/src/array.js b/src/array.js
index <HASH>..<HASH> 100644
--- a/src/array.js
+++ b/src/array.js
@@ -16,6 +16,14 @@ export const flatten = (arr) => arr.reduce((acc, el) => acc.concat(el), [])
//
+// Alias for "first".
+//
+export const head = first
+
+
+
+
+//
// Return last element of the given array.
... | array: head() and tail() introduced. | drmats_js-toolbox | train | js |
5edbc1fd2034f79e41638d8e67324c7d357002d6 | diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/helpers/form_helper.rb
+++ b/actionview/lib/action_view/helpers/form_helper.rb
@@ -1130,6 +1130,9 @@ module ActionView
# text_field(:po... | Added maxlength example to text_field documentation
The usage of maxlength in the text_field helper adds a size attribute
to the generated text_field input with the same value as the maxlength.
This implicit addition of size attribute by the method gives a false
impression that it may be bug. By adding the implementat... | rails_rails | train | rb |
2fd55f84b60efab06ca22813af27b7bbdfe6d42b | diff --git a/lib/gir_ffi/builders/constructor_builder.rb b/lib/gir_ffi/builders/constructor_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/gir_ffi/builders/constructor_builder.rb
+++ b/lib/gir_ffi/builders/constructor_builder.rb
@@ -7,6 +7,7 @@ module GirFFI
module Builders
# Implements the creation of a Ruby... | Mark remaining builders as needing to be updated | mvz_gir_ffi | train | rb,rb |
347db79979139be81e1d9989515640d59fb990d1 | diff --git a/telethon/client/updates.py b/telethon/client/updates.py
index <HASH>..<HASH> 100644
--- a/telethon/client/updates.py
+++ b/telethon/client/updates.py
@@ -16,6 +16,8 @@ class UpdateMethods(UserMethods):
try:
await self.disconnected
except KeyboardInterrupt:
+ pass
+... | run_until_disconnected() should disconnect() on finally | LonamiWebs_Telethon | train | py |
4ffc695e299f841650e5647141e68b3c2201e864 | diff --git a/spec/adhearsion/cli_spec.rb b/spec/adhearsion/cli_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/adhearsion/cli_spec.rb
+++ b/spec/adhearsion/cli_spec.rb
@@ -153,7 +153,6 @@ describe Adhearsion::CLI::AhnCommand do
the_following_code {
tmp_path = new_tmp_dir
simulate_args "create", ... | [BUGFIX] Remove some leftover references to rubigen | adhearsion_adhearsion | train | rb,rb |
aa8a3ee08e0af40a0409fe287a9b3a7a51fa46d3 | diff --git a/lib/eachSeries.js b/lib/eachSeries.js
index <HASH>..<HASH> 100644
--- a/lib/eachSeries.js
+++ b/lib/eachSeries.js
@@ -4,6 +4,9 @@ import awaitify from './internal/awaitify'
/**
* The same as [`each`]{@link module:Collections.each} but runs only a single async operation at a time.
*
+ * Note, that unli... | Fixes #<I> (#<I>) | caolan_async | train | js |
dcce7a12960f9a7f8016d4a746566c36db8a7fdb | diff --git a/aa_composer.js b/aa_composer.js
index <HASH>..<HASH> 100644
--- a/aa_composer.js
+++ b/aa_composer.js
@@ -104,8 +104,10 @@ function handlePrimaryAATrigger(mci, unit, address, arrDefinition, arrPostedUnit
let assocBalances = {};
for (let { aa_address, balances } of arrResponses)
... | include the balances of all affected AAs in all responses | byteball_ocore | train | js |
09beae7fc2cc95507ae474e04a5c777eee5ac4b8 | diff --git a/lib/rest-core.rb b/lib/rest-core.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-core.rb
+++ b/lib/rest-core.rb
@@ -53,3 +53,5 @@ module RestCore
autoload :Linkedin , 'rest-core/client/linkedin'
autoload :Facebook , 'rest-core/client/facebook'
end
+
+RC = RestCore unless Object.const_defined... | rest-core.rb: provide a shorthand RC for RestCore as EM | godfat_rest-core | train | rb |
f1840b3e4de00a7812f7c3d46a48e713951ad7d2 | diff --git a/src/amsterdam.py b/src/amsterdam.py
index <HASH>..<HASH> 100755
--- a/src/amsterdam.py
+++ b/src/amsterdam.py
@@ -26,7 +26,7 @@ from string import Template
from OpenSSL import crypto
from socket import gethostname
-AMSTERDAM_VERSION = "0.7"
+AMSTERDAM_VERSION = "0.8"
class AmsterdamException(Excepti... | Set release number to <I> | StamusNetworks_Amsterdam | train | py |
c722b4601f885605d660c5ef571abca8dde8a7d7 | diff --git a/packages/blueprint/lib/index.js b/packages/blueprint/lib/index.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint/lib/index.js
+++ b/packages/blueprint/lib/index.js
@@ -11,12 +11,8 @@ exports.BaseController = BaseController;
exports.ApplicationModule = ApplicationModule;
exports.Messaging = Messagin... | theApp() method do not return the global application | onehilltech_blueprint | train | js |
0b1725a512e25f93fa8f31fa1030b93b0846f28b | diff --git a/spec/custom_requirer_spec.rb b/spec/custom_requirer_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/custom_requirer_spec.rb
+++ b/spec/custom_requirer_spec.rb
@@ -182,7 +182,7 @@ module DeepCover
$LOADED_FEATURES[0..-1] = tmp_loaded_features
end
- shared_examples 'resolve_path' do |method_n... | it_behaves_like -> include_examples and better name for the group | deep-cover_deep-cover | train | rb |
ff0c078e5a1f60495165f4f68e4cb3c87553edd0 | diff --git a/framework/core/src/Core/CoreServiceProvider.php b/framework/core/src/Core/CoreServiceProvider.php
index <HASH>..<HASH> 100644
--- a/framework/core/src/Core/CoreServiceProvider.php
+++ b/framework/core/src/Core/CoreServiceProvider.php
@@ -247,5 +247,12 @@ class CoreServiceProvider extends ServiceProvider
... | Give author permission to delete discussion if there are no replies
Forgot to commit this part in <I>f<I>ce3edfa<I>d0f<I>c<I>f6d<I>cdc
:3 | flarum_core | train | php |
2f570c6b3a7927e1ae95e94f0fa13921e6eed8a3 | diff --git a/BimServer/src/org/bimserver/database/actions/DownloadByNewJsonQueryDatabaseAction.java b/BimServer/src/org/bimserver/database/actions/DownloadByNewJsonQueryDatabaseAction.java
index <HASH>..<HASH> 100644
--- a/BimServer/src/org/bimserver/database/actions/DownloadByNewJsonQueryDatabaseAction.java
+++ b/BimS... | Set the pid and also the oid to -1 | opensourceBIM_BIMserver | train | java |
d6b17977eca1004a5b0f732c3af19a141ee58160 | diff --git a/lib/omniauth/strategy.rb b/lib/omniauth/strategy.rb
index <HASH>..<HASH> 100644
--- a/lib/omniauth/strategy.rb
+++ b/lib/omniauth/strategy.rb
@@ -405,7 +405,7 @@ module OmniAuth
uri.path = ''
uri.query = nil
#sometimes the url is actually showing http inside rails because t... | Rack::Request has an #ssl? method that handles this case. call that rather than reproducing its logic | omniauth_omniauth | train | rb |
74b9b9321b1155bfcf0fc72e080f31194d2fdf39 | diff --git a/src/includes/bootstrap.php b/src/includes/bootstrap.php
index <HASH>..<HASH> 100644
--- a/src/includes/bootstrap.php
+++ b/src/includes/bootstrap.php
@@ -136,13 +136,17 @@ if(empty($skipWordPressInstall)){
codecept_debug('Installing WordPress in isolated process...');
ob_start();
$isolatedInstalla... | Allow errors from `isolated-install.php` to throw an exception in the main thread. | lucatume_wp-browser | train | php |
79922373cfcbe5e68ad1a3e074f5c2af9f8f8205 | diff --git a/plugins/org.eclipse.xtext.xbase/deprecated/org/eclipse/xtext/xbase/scoping/featurecalls/StaticImplicitMethodsFeatureForTypeProvider.java b/plugins/org.eclipse.xtext.xbase/deprecated/org/eclipse/xtext/xbase/scoping/featurecalls/StaticImplicitMethodsFeatureForTypeProvider.java
index <HASH>..<HASH> 100644
---... | added a comment helpful for migrating from other Xtext versions | eclipse_xtext-extras | train | java |
a8c6663344af1363a90edb8caefeb1a2f7b05b50 | diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js
index <HASH>..<HASH> 100644
--- a/webssh/static/js/main.js
+++ b/webssh/static/js/main.js
@@ -525,7 +525,7 @@ jQuery(function($){
function wrap_object(opts) {
var obj = {};
- obj.getItem = obj.get =function(attr) {
+ obj.getItem = obj.get ... | Appended a space to an equal sign | huashengdun_webssh | train | js |
8de09f0a81a49a2c64646c4e501613b7012c341c | diff --git a/light_wallet.js b/light_wallet.js
index <HASH>..<HASH> 100644
--- a/light_wallet.js
+++ b/light_wallet.js
@@ -164,7 +164,7 @@ function refreshLightClientHistory(addresses, handle){
ws.bRefreshingHistory = false;
if (handle)
handle(err);
- if (!addresses)
+ if (!addresses && !err)
eve... | emit refresh_light_done only after successful refresh | byteball_ocore | train | js |
aaea2edab91558692a9316d0e7d77e34676c47d7 | diff --git a/src/dataviews/histogram-dataview/histogram-data-model.js b/src/dataviews/histogram-dataview/histogram-data-model.js
index <HASH>..<HASH> 100644
--- a/src/dataviews/histogram-dataview/histogram-data-model.js
+++ b/src/dataviews/histogram-dataview/histogram-data-model.js
@@ -1,4 +1,5 @@
var _ = require('und... | Fixed infinite calls in histogram data model | CartoDB_carto.js | train | js |
52235ca0aef031c40116c4668553348b56eeab73 | diff --git a/source/helpers/eachProperty.js b/source/helpers/eachProperty.js
index <HASH>..<HASH> 100644
--- a/source/helpers/eachProperty.js
+++ b/source/helpers/eachProperty.js
@@ -2,10 +2,11 @@
define(function(){
'use strict';
- function eachProperty(value, fn, ctx, args){
- for(var id in value){
+ function ea... | Update: eachProperty complexiity test | adriancmiranda_Proto | train | js |
1380c1cf4d770d4e33b354d4236e88b5016aaecd | diff --git a/tensorflow_probability/python/internal/backend/meta/gen_linear_operators.py b/tensorflow_probability/python/internal/backend/meta/gen_linear_operators.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/internal/backend/meta/gen_linear_operators.py
+++ b/tensorflow_probability/python/interna... | For LinOps generation for JAX, rewrite c2t_v2_with_dispatch to c2t .
PiperOrigin-RevId: <I> | tensorflow_probability | train | py |
dea64fb9b8f1024a00ae6873d2d4c37da01e0a47 | diff --git a/fbchat/__init__.py b/fbchat/__init__.py
index <HASH>..<HASH> 100644
--- a/fbchat/__init__.py
+++ b/fbchat/__init__.py
@@ -15,7 +15,7 @@ from .client import *
__copyright__ = 'Copyright 2015 by Taehoon Kim'
-__version__ = '0.5.0'
+__version__ = '0.6.0'
__license__ = 'BSD'
__author__ = 'Taehoon Kim; M... | fix typo and version up for merging multiple PRs | carpedm20_fbchat | train | py,py |
4d8679d4ffe1d5368e739f306581cf9124fc9215 | diff --git a/src/Components/Host.php b/src/Components/Host.php
index <HASH>..<HASH> 100644
--- a/src/Components/Host.php
+++ b/src/Components/Host.php
@@ -96,11 +96,7 @@ final class Host extends Component implements IpHostInterface
*
* Domain name regular expression
*/
- private const REGEXP_DOMAIN... | Symplify domain name regexp readability | thephpleague_uri-components | train | php |
aa1a563ab55743af4ad814d9ef4554fa0a557a72 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -64,6 +64,7 @@ setup(
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
... | chore: add python <I> support | pandas-profiling_pandas-profiling | train | py |
8385ce2741ab2a158fba5c08a5d5feccec9da7de | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -70,6 +70,8 @@ Funnel.prototype.handleReadTree = function(inputTreeRoot) {
if (this.shouldLinkRoots()) {
this._copy(inputPath, this.destPath);
} else {
+ mkdirp.sync(this._tmpDir);
+
this.processFilters(inpu... | Ensure output directory is created on every rebuild.
When all files are filtered out, it would previously not created the
output directory. This causes a number of errors for downstream
consumers. | broccolijs_broccoli-funnel | train | js,js |
43ee4867fd0588435d50f9b428375285c6b66a22 | diff --git a/webapps/ui/cockpit/plugins/base/app/views/processInstance/variableInstancesTab.js b/webapps/ui/cockpit/plugins/base/app/views/processInstance/variableInstancesTab.js
index <HASH>..<HASH> 100644
--- a/webapps/ui/cockpit/plugins/base/app/views/processInstance/variableInstancesTab.js
+++ b/webapps/ui/cockpit/... | fix(cockpit): show variable count in runtime view | camunda_camunda-bpm-platform | train | js |
326acc90c5b09e8f4f254d54b8914fab05c8ceaf | diff --git a/src/Service/CategoryModel.php b/src/Service/CategoryModel.php
index <HASH>..<HASH> 100644
--- a/src/Service/CategoryModel.php
+++ b/src/Service/CategoryModel.php
@@ -5,7 +5,7 @@ namespace Miaoxing\Category\Service;
use Miaoxing\Category\Metadata\CategoryTrait;
use Miaoxing\Plugin\Model\CastTrait;
use Mi... | refactor: quickQuery => reqQuery | miaoxing_category | train | php |
1f290c94b8657d914628f4080365158339636050 | diff --git a/src/main/java/com/moandjiezana/toml/LiteralStringConverter.java b/src/main/java/com/moandjiezana/toml/LiteralStringConverter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/moandjiezana/toml/LiteralStringConverter.java
+++ b/src/main/java/com/moandjiezana/toml/LiteralStringConverter.java
@@ -1,8 +... | Removed unused variable and added static imports. | mwanji_toml4j | train | java |
e006a68b7f386d12e60b56b9a9a69a0f9783bc83 | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -43,7 +43,6 @@ class Configuration implements ConfigurationInterface
->end()
->array... | * Fix notice if monolog is not set
* collectors are not required (if enable_collector is false) | liuggio_StatsDClientBundle | train | php,php |
5ab443f2d21bc02fd5f7dffda8924967f3ea3aca | diff --git a/api-spec-testing/test_file.rb b/api-spec-testing/test_file.rb
index <HASH>..<HASH> 100644
--- a/api-spec-testing/test_file.rb
+++ b/api-spec-testing/test_file.rb
@@ -229,7 +229,6 @@ module Elasticsearch
end
def wait_for_cluster_tasks(client)
- tasks_filter = ['delete-index', 'r... | [CI] Test Runner: Remove filters in waiting for cluster tasks | elastic_elasticsearch-ruby | train | rb |
8412dc1a2bc23c8cd2a13178486402bdd4f28a89 | diff --git a/src/rez/vendor/distlib/util.py b/src/rez/vendor/distlib/util.py
index <HASH>..<HASH> 100644
--- a/src/rez/vendor/distlib/util.py
+++ b/src/rez/vendor/distlib/util.py
@@ -215,6 +215,9 @@ def parse_requirement(req):
if not ver_remaining or ver_remaining[0] != ',':
... | Allow trailing comma in Legacy Metadata
This fixes rez-pip install for packages that have a trailing comma on
version requirements.
For example openpyxl will now install properly with this line:
> Requires-Python: >=<I>,
Worth submitting upstream. | nerdvegas_rez | train | py |
325d0e33fbd3125669d78a66a697c252ca72bc78 | diff --git a/test/integration/test_slow.py b/test/integration/test_slow.py
index <HASH>..<HASH> 100644
--- a/test/integration/test_slow.py
+++ b/test/integration/test_slow.py
@@ -23,8 +23,8 @@ def test_run_minimal_docker_container():
assert "ansible_minimal_1 exited with code 0" in result.stdout
-def test_ship... | Disable shipit test for now. | ansible_ansible-container | train | py |
556198566b0f381c6e4d878882d67d90dab92021 | diff --git a/lib/utils/soap.js b/lib/utils/soap.js
index <HASH>..<HASH> 100644
--- a/lib/utils/soap.js
+++ b/lib/utils/soap.js
@@ -419,7 +419,7 @@ class Soap {
if (id && tag && url) {
let tags = tag.split(':')
// don't need Action tag
- xml = '<SubscriptionId s:mustUnders... | Fixes an issue in the XML | hawkeye64_onvif-nvt | train | js |
42f77630f85d744e9148505e3c11692d42f68bb3 | diff --git a/src/Generator/AbstractTypeGenerator.php b/src/Generator/AbstractTypeGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Generator/AbstractTypeGenerator.php
+++ b/src/Generator/AbstractTypeGenerator.php
@@ -71,7 +71,7 @@ EOF;
* @param string $classNamespace The namespace to use for the class... | Update src/Generator/AbstractTypeGenerator.php
Let <I> as default mask | overblog_GraphQLBundle | train | php |
b2ff3f47445712468cee82b14fb1822e5f87adde | diff --git a/impl-base/src/test/java/org/jboss/arquillian/impl/DynamicServiceLoaderTestCase.java b/impl-base/src/test/java/org/jboss/arquillian/impl/DynamicServiceLoaderTestCase.java
index <HASH>..<HASH> 100644
--- a/impl-base/src/test/java/org/jboss/arquillian/impl/DynamicServiceLoaderTestCase.java
+++ b/impl-base/src... | ARQ-<I> Add TestCase for not loading provided default implementation if another implementation is found. | arquillian_arquillian-core | train | java |
7c2a41ef9391b12cbdc35e70517805c21d396f7e | diff --git a/BimServer/src/org/bimserver/changes/Transaction.java b/BimServer/src/org/bimserver/changes/Transaction.java
index <HASH>..<HASH> 100644
--- a/BimServer/src/org/bimserver/changes/Transaction.java
+++ b/BimServer/src/org/bimserver/changes/Transaction.java
@@ -89,8 +89,10 @@ public class Transaction {
retu... | Only add updated objects when they are not already created in the same
transaction | opensourceBIM_BIMserver | train | java |
cb27e33245a3aee81be36a3c2ac9a639007a1cbb | diff --git a/src/Intahwebz/Router.php b/src/Intahwebz/Router.php
index <HASH>..<HASH> 100644
--- a/src/Intahwebz/Router.php
+++ b/src/Intahwebz/Router.php
@@ -6,13 +6,13 @@ namespace Intahwebz;
interface Router {
- static function generateCurrentURL($parameters, $absolute = FALSE);
+ function generateCurrentURL($p... | Removed static from calls as they are no longer static. | Danack_intahwebz-core | train | php |
604374f5d08d4636ad5ef53765b4d614dd690455 | diff --git a/visitors/SmileyVisitor.php b/visitors/SmileyVisitor.php
index <HASH>..<HASH> 100644
--- a/visitors/SmileyVisitor.php
+++ b/visitors/SmileyVisitor.php
@@ -11,8 +11,6 @@ namespace JBBCode\visitors;
*/
class SmileyVisitor implements \JBBcode\NodeVisitor {
- protected $frequencies = array();
-
fun... | removed unused var in SmileyVisitor | jbowens_jBBCode | train | php |
713ab84b26793569e11ff5afa78a2310aaf20786 | diff --git a/stream/src/main/java/com/annimon/stream/Stream.java b/stream/src/main/java/com/annimon/stream/Stream.java
index <HASH>..<HASH> 100644
--- a/stream/src/main/java/com/annimon/stream/Stream.java
+++ b/stream/src/main/java/com/annimon/stream/Stream.java
@@ -108,12 +108,12 @@ public class Stream<T> implements C... | Change Stream#onNullable(T[]) to use varargs | aNNiMON_Lightweight-Stream-API | train | java |
d949cc81358dbaf45639dd8e93a836509cb8e235 | diff --git a/src/main/java/org/web3j/codegen/SolidityFunctionWrapperGenerator.java b/src/main/java/org/web3j/codegen/SolidityFunctionWrapperGenerator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/web3j/codegen/SolidityFunctionWrapperGenerator.java
+++ b/src/main/java/org/web3j/codegen/SolidityFunctionWrapper... | Correct usage string to specify package as mandatory. | web3j_web3j | train | java |
5f70e8d308bf2eaefd2086dcc2cdb1ff40fc6826 | diff --git a/tasks/cordova.js b/tasks/cordova.js
index <HASH>..<HASH> 100644
--- a/tasks/cordova.js
+++ b/tasks/cordova.js
@@ -81,7 +81,10 @@ module.exports = function (grunt) {
if (error) {
grunt.fail.warn(error);
}
- done();
+
+ // Adhoc bugfix:
+ // Do not run ios-simulator at... | Fix bug do not run ios-simulator at `ios-simulator` | GrayBullet_grunt-cordova-ng | train | js |
ef857d25ba3ff60ec90d422cdd227a8c19973c9d | diff --git a/ghost/admin/mirage/config.js b/ghost/admin/mirage/config.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/mirage/config.js
+++ b/ghost/admin/mirage/config.js
@@ -51,7 +51,7 @@ export function testConfig() {
// this.urlPrefix = ''; // make this `http://localhost:8080`, for example, if your API is on... | Disabled mirage logging in tests to fix Travis runs | TryGhost_Ghost | train | js |
88c1fed0e846f468b57f68538cb8565974f1a878 | diff --git a/src/pybel/grounding.py b/src/pybel/grounding.py
index <HASH>..<HASH> 100644
--- a/src/pybel/grounding.py
+++ b/src/pybel/grounding.py
@@ -149,7 +149,8 @@ def ground_nodelink(graph_nodelink_dict) -> None:
for data in tqdm(graph_nodelink_dict['links'], desc='grounding edges in {}'.format(name)):
... | Only ground if there are already annotations | pybel_pybel | train | py |
70d57ebc7b7d6f4c1705143c28ec36e43c5a1488 | diff --git a/lib/discordrb/gateway.rb b/lib/discordrb/gateway.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/gateway.rb
+++ b/lib/discordrb/gateway.rb
@@ -129,6 +129,12 @@ module Discordrb
# The version of the gateway that's supposed to be used.
GATEWAY_VERSION = 6
+ # Heartbeat ACKs are Discord's wa... | Add a setting to Gateway of whether or not to check heartbeat acks | meew0_discordrb | train | rb |
7d759138c985474e31cc5470ed11e56a1614aad7 | diff --git a/src/python/test/test_dxclient.py b/src/python/test/test_dxclient.py
index <HASH>..<HASH> 100755
--- a/src/python/test/test_dxclient.py
+++ b/src/python/test/test_dxclient.py
@@ -2739,7 +2739,8 @@ def main():
shell.close()
self.assertEqual(3, shell.exitstatus)
- @unittest.skipUnless(t... | Updated to skip for both TEST_ONLY_MASTER and TEST_RUN_JOBS. Commit# e<I> | dnanexus_dx-toolkit | train | py |
7b38412d4959a34c99f3c69e70d7a995fb373f7c | diff --git a/lib/form/yui/dateselector/dateselector.js b/lib/form/yui/dateselector/dateselector.js
index <HASH>..<HASH> 100644
--- a/lib/form/yui/dateselector/dateselector.js
+++ b/lib/form/yui/dateselector/dateselector.js
@@ -222,7 +222,7 @@ YUI.add('moodle-form-dateselector', function(Y) {
},
fix_po... | MDL-<I> Forms: Date Picker JS popup is not constraint to parent form | moodle_moodle | train | js |
8654bcaa28a87c529efa216d601ddc96c7952f8a | diff --git a/app/initializers/ember-cli-mirage.js b/app/initializers/ember-cli-mirage.js
index <HASH>..<HASH> 100644
--- a/app/initializers/ember-cli-mirage.js
+++ b/app/initializers/ember-cli-mirage.js
@@ -13,7 +13,7 @@ import startMirageImpl from 'ember-cli-mirage/start-mirage';
// tests.
//
export default {
- ... | Revert initializer name (#<I>)
I didn't mean to change this, and it breaks apps that have initializers that reference this one in their `before` or `after` fields. | samselikoff_ember-cli-mirage | train | js |
f2f108686841a3f5946523b65baaccb56c3a47f5 | diff --git a/python/ray/serve/http_proxy.py b/python/ray/serve/http_proxy.py
index <HASH>..<HASH> 100644
--- a/python/ray/serve/http_proxy.py
+++ b/python/ray/serve/http_proxy.py
@@ -290,6 +290,11 @@ class HTTPProxy:
scope, receive, send
)
+ if route_path == "/-/healthz":
+ ... | [serve] Add healthz endpoint for HttpProxy (#<I>) | ray-project_ray | train | py,py |
9ba679a804b3e7736c69ad7809a873fdf4fcb165 | diff --git a/UWG/UWG.py b/UWG/UWG.py
index <HASH>..<HASH> 100644
--- a/UWG/UWG.py
+++ b/UWG/UWG.py
@@ -33,7 +33,6 @@ from BEMDef import BEMDef
from schdef import SchDef
from param import Param
from UCMDef import UCMDef
-
from forcing import Forcing
from UBLDef import UBLDef
from RSMDef import RSMDef
diff --git a/... | Fixing merge mistakes from sync in weather.py | ladybug-tools_uwg | train | py,py |
9a7317591e24f266eda4b34a839eca214286119a | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -21,7 +21,8 @@ ko.ifyRoute = koifyRoute;
* Wraps a generator or promise-returning callback function
*/
function ko(fn, isParamHandler) {
- if (fn.hasOwnProperty('$$koified')) {
+ // handlers and middle... | Enhance $$koified safeguard | ex-machine_express-ko | train | js |
d4261935974f86b272eb15b17a6bded8ba78404d | diff --git a/oauth2/heroku.go b/oauth2/heroku.go
index <HASH>..<HASH> 100644
--- a/oauth2/heroku.go
+++ b/oauth2/heroku.go
@@ -7,6 +7,7 @@ import (
"github.com/influxdata/chronograf"
"golang.org/x/oauth2"
+ hrk "golang.org/x/oauth2/heroku"
)
// Ensure that Heroku is an oauth2.Provider
@@ -29,7 +30,12 @@ type ... | Configure Heroku OAuth2 properly
This was erroneously left unconfigured during dev. | influxdata_influxdb | train | go |
e75ae96cc052002df0d334707e2c37a9309df949 | diff --git a/src/DummyAdapter.php b/src/DummyAdapter.php
index <HASH>..<HASH> 100644
--- a/src/DummyAdapter.php
+++ b/src/DummyAdapter.php
@@ -11,11 +11,49 @@
namespace Cache\AdapterBundle;
+use Psr\Cache\CacheItemInterface;
+use Psr\Cache\CacheItemPoolInterface;
+
/**
* This client is used as a placeholder for... | Make sure DummyAdapter implements CacheItemPoolInterface | php-cache_adapter-bundle | train | php |
52b7759330d10138d1c886f09fbc106f64bfe64d | diff --git a/rebulk/__version__.py b/rebulk/__version__.py
index <HASH>..<HASH> 100644
--- a/rebulk/__version__.py
+++ b/rebulk/__version__.py
@@ -4,4 +4,4 @@
Version module
"""
# pragma: no cover
-__version__ = '2.0.1'
+__version__ = '2.0.2.dev0' | Back to development: <I> | Toilal_rebulk | train | py |
b1d3172a9a2f872966609c08ab9b1a3e07552a05 | diff --git a/lib/simple_form/form_builder.rb b/lib/simple_form/form_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/simple_form/form_builder.rb
+++ b/lib/simple_form/form_builder.rb
@@ -450,7 +450,7 @@ module SimpleForm
def lookup_model_names #:nodoc:
@lookup_model_names ||= begin
child_index = op... | using lookahead to skip sections only containing digits | plataformatec_simple_form | train | rb |
27c8b31f4dd2d4ce6bede45465d4e8ac242c95cf | diff --git a/command.go b/command.go
index <HASH>..<HASH> 100644
--- a/command.go
+++ b/command.go
@@ -85,10 +85,10 @@ func argsString(args []Arg) string {
// Flag defines a flag for a command.
// These will be parsed in Go and passed to the Run method in the Context struct.
type Flag struct {
- Name string `jso... | changed help field to description on flags | heroku_cli | train | go,go |
8e3626157b94cb618084b32d9b2c52cadcaec9c6 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup(
name="OLCTools",
- version="0.3.61",
+ version="0.3.62",
packages=find_packages(),
author="Andrew Low",
author_email="andrew.low@insp... | Forgot that I could update pypi, too | lowandrew_OLCTools | train | py |
cff205b013d7f3acdd57c192e8011546e78daf81 | diff --git a/test/main.js b/test/main.js
index <HASH>..<HASH> 100644
--- a/test/main.js
+++ b/test/main.js
@@ -123,7 +123,12 @@ describe('gulp-sass -- async compile', function() {
var stream = sass();
stream.on('error', function(err) {
+ // Error must include message body
err.message.indexOf('pr... | Add file name and line:column to error test | dlmanning_gulp-sass | train | js |
0631834ad4897b93725d9b4cbe10dda051bb15c9 | diff --git a/TOTP.php b/TOTP.php
index <HASH>..<HASH> 100644
--- a/TOTP.php
+++ b/TOTP.php
@@ -108,7 +108,9 @@ class TOTP extends HOTP
$valid = false;
$offset = null;
- for ($current = $counter; $current <= $counter + $window; ++$current) {
+ $counterLow = max(0, $counter - intval(floo... | Better account for clock drift in TOTP::validate()
Since some devices may experience clock drift in both directions, and
because may not be possible to sync the time on those devices, we need
to account for bidirectional clock drift when validating TOTPs.
This commit introduces a change which shifts the window parame... | rchouinard_rych-otp | train | php |
6aa963954c37627b114779842474488b424c715c | diff --git a/lib/formtastic.rb b/lib/formtastic.rb
index <HASH>..<HASH> 100644
--- a/lib/formtastic.rb
+++ b/lib/formtastic.rb
@@ -15,7 +15,7 @@ module Formtastic
autoload :Util
# Deprecate support for Rails < 3.2
- if Util.deprecated_version_of_rails?
+ if defined?(::Rails) && Util.deprecated_version_of_ra... | only check for deprecated rails if Rails is defined | justinfrench_formtastic | train | rb |
7f5ecfab67450b6066bca2296db15111e08855a7 | diff --git a/src/extensions.js b/src/extensions.js
index <HASH>..<HASH> 100644
--- a/src/extensions.js
+++ b/src/extensions.js
@@ -373,7 +373,7 @@ Crafty.extend({
var l = 0;
for (i in tweens) {
var prop = tweens[i];
- if (prop.remTime >= 0) {
+ if (prop.remTime > 0) {
prop.current += prop... | It continued for one frame to much, causing the entire movement to be prop.diff to long. Se testcase in tests/stage | craftyjs_Crafty | train | js |
20b42afa4e4deb90ddf18e8fd8292310b5720c95 | diff --git a/pywb/webapp/views.py b/pywb/webapp/views.py
index <HASH>..<HASH> 100644
--- a/pywb/webapp/views.py
+++ b/pywb/webapp/views.py
@@ -73,6 +73,14 @@ class FileOnlyPackageLoader(PackageLoader):
#=================================================================
+class RelEnvironment(Environment):
+ """Ov... | jinja2 include: use custom RelEnvironment overriding join_path() to make includes relative to current file, to allow
for per-collection includes to be used more easily #<I> | webrecorder_pywb | train | py |
fc3df7f05340f450acf172dcf34b7e798c5dd115 | diff --git a/omego/artifacts.py b/omego/artifacts.py
index <HASH>..<HASH> 100644
--- a/omego/artifacts.py
+++ b/omego/artifacts.py
@@ -133,6 +133,9 @@ class Artifacts(object):
filename = os.path.basename(componenturl)
unzipped = filename.replace(".zip", "")
+ if self.args.dry_run:
+ ... | --dry-run only stops the final download stage
This means its possible to get a better idea of what would happen | ome_omego | train | py |
c40dc1d110726193b5a37d5ff0357c16f95fbe67 | diff --git a/src/Carbon/Carbon.php b/src/Carbon/Carbon.php
index <HASH>..<HASH> 100644
--- a/src/Carbon/Carbon.php
+++ b/src/Carbon/Carbon.php
@@ -1578,6 +1578,8 @@ class Carbon extends DateTime
/**
* Determines if the instance is a long year
*
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Week_d... | Add source for isLongYear()
This source helps explain why we've used the <I>th of December to determine if a year is a long year. It is the only day of the year that *always* falls on week <I> or <I> of the year, and not year 1 of the following year. All the other dates in the last week of December will occasionally f... | briannesbitt_Carbon | train | php |
a9f9945d2b9b16f526ae70180d89fc8bd6b0cc30 | diff --git a/certipy/certipy.py b/certipy/certipy.py
index <HASH>..<HASH> 100644
--- a/certipy/certipy.py
+++ b/certipy/certipy.py
@@ -263,6 +263,12 @@ class CertStore():
def __init__(self, containing_dir='out', store_file='certipy.json'):
self.store = {}
self.containing_dir = containing_dir
+ ... | Setup the containing directory for the store on init | LLNL_certipy | train | py |
ba9d657b89f08bfbcbd316fde127e0a53bc1a00b | diff --git a/plugins/Widgetize/Controller.php b/plugins/Widgetize/Controller.php
index <HASH>..<HASH> 100644
--- a/plugins/Widgetize/Controller.php
+++ b/plugins/Widgetize/Controller.php
@@ -9,6 +9,7 @@
namespace Piwik\Plugins\Widgetize;
use Piwik\Access;
+use Piwik\API\Request;
use Piwik\Common;
use Piwik\Contai... | Use existing Request method w/ correct logic for limiting widgetize access. (#<I>) | matomo-org_matomo | train | php |
b23d3a9f37a225eb418967a19c4ddddbf8a76c63 | diff --git a/test/plugins.js b/test/plugins.js
index <HASH>..<HASH> 100644
--- a/test/plugins.js
+++ b/test/plugins.js
@@ -3,7 +3,6 @@ var path = require('path');
var mock = require('./mock');
var registry = require('../lib/plugins/registry');
var Output = require('../lib/output/base');
-var error = require('../lib/... | Add test for extension of book's configuration | GitbookIO_gitbook | train | js |
0e1f515de65a24821749c380925f48749573c5ce | diff --git a/rundeckapp/web-app/js/executionStateKO.js b/rundeckapp/web-app/js/executionStateKO.js
index <HASH>..<HASH> 100644
--- a/rundeckapp/web-app/js/executionStateKO.js
+++ b/rundeckapp/web-app/js/executionStateKO.js
@@ -517,7 +517,7 @@ function NodeFlowViewModel(workflow,outputUrl){
}else if(since.asWee... | Fix formatting: incorrect year format,
* fix humanized duration for < <I>ms | rundeck_rundeck | train | js |
482a6f716fab5ea6431e15ee2603b62a1b2f0790 | diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/attribute_methods/read.rb
+++ b/activerecord/lib/active_record/attribute_methods/read.rb
@@ -12,7 +12,7 @@ module ActiveRecord... | Ruby <I>: Object#id is gone now | rails_rails | train | rb |
0e5aa0eebfd7f4b7db04e3ec890027f8ff000745 | diff --git a/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php b/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php
+++ b/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php
@@ -16,6 +16,... | Ensure the ClockMock is loaded before using it in the testsuite | symfony_symfony | train | php |
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.