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 |
|---|---|---|---|---|---|
e46537fca2d1afa8a22f2649533255ba6daba60f | diff --git a/core-bundle/src/Resources/contao/modules/ModuleSearch.php b/core-bundle/src/Resources/contao/modules/ModuleSearch.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/modules/ModuleSearch.php
+++ b/core-bundle/src/Resources/contao/modules/ModuleSearch.php
@@ -126,7 +126,7 @@ class ModuleS... | [Core] Also pass $this in the "customizeSearch" hook (see contao/core#<I>). | contao_contao | train | php |
2ba7d653eeb029644c75598bcb241ef2b2328283 | diff --git a/src/elements/chips/Chips.spec.js b/src/elements/chips/Chips.spec.js
index <HASH>..<HASH> 100644
--- a/src/elements/chips/Chips.spec.js
+++ b/src/elements/chips/Chips.spec.js
@@ -64,20 +64,6 @@ describe('Element: NovoChipsElement', () => {
expect(component.blur).toBeDefined();
expe... | chore(tests): Fixing test | bullhorn_novo-elements | train | js |
88b70e37a3ec0bd08caea53aa8a51f2b48e679b5 | diff --git a/spec/integration/session_spec.rb b/spec/integration/session_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/session_spec.rb
+++ b/spec/integration/session_spec.rb
@@ -79,6 +79,31 @@ describe Capybara::Session do
subject.click_button('ボタン')
end
end
+ context "status code" do
+ ... | add spec for status code with image | niklasb_webkit-server | train | rb |
6af7dcc6481b4f149de7a4395ab27f29e6e35f5a | diff --git a/lib/dynamic_scaffold/config.rb b/lib/dynamic_scaffold/config.rb
index <HASH>..<HASH> 100644
--- a/lib/dynamic_scaffold/config.rb
+++ b/lib/dynamic_scaffold/config.rb
@@ -105,14 +105,14 @@ module DynamicScaffold
end
class Vars
- def initialize(controller)
- @controller = controller
+ def ... | Refactor: pass config to Vars initilizer. | gomo_dynamic_scaffold | train | rb |
caed92ccd2b93030a0c03aa255ceba13e84415f9 | diff --git a/src/conbo/utils/AttributeBindings.js b/src/conbo/utils/AttributeBindings.js
index <HASH>..<HASH> 100644
--- a/src/conbo/utils/AttributeBindings.js
+++ b/src/conbo/utils/AttributeBindings.js
@@ -251,22 +251,30 @@ conbo.AttributeBindings = conbo.Class.extend
*/
cbRestrict: function(value, el)
{
- if ... | Tidied up cb-restrict | mesmotronic_conbo | train | js |
d36d9153f7ce9431e8056b275579f217897579ea | diff --git a/ruby_event_store/lib/ruby_event_store/mappers/protobuf.rb b/ruby_event_store/lib/ruby_event_store/mappers/protobuf.rb
index <HASH>..<HASH> 100644
--- a/ruby_event_store/lib/ruby_event_store/mappers/protobuf.rb
+++ b/ruby_event_store/lib/ruby_event_store/mappers/protobuf.rb
@@ -2,7 +2,6 @@ module RubyEventS... | Remove require
Let's assume protobuf definitions are loaded separately and they require
google-protobuf. | RailsEventStore_rails_event_store | train | rb |
f1765472dddcbbe319da2d376ec2001e6776d51b | diff --git a/salt/utils/process.py b/salt/utils/process.py
index <HASH>..<HASH> 100644
--- a/salt/utils/process.py
+++ b/salt/utils/process.py
@@ -15,6 +15,7 @@ import contextlib
import subprocess
import multiprocessing
import multiprocessing.util
+import socket
# Import salt libs
@@ -55,7 +56,17 @@ def notify_... | Notify systemd synchronously (via NOTIFY_SOCKET)
Forking the systemd-notify command is known to be unreliable at least
with older versions of the kernel and/or systemd. When systemd receives
the notification the systemd-notify process may have already exited
causing an error in the logs while waiting for a (<I> second... | saltstack_salt | train | py |
177c9c0de017c2454b29e6159a148579e39e0987 | diff --git a/src/core/script_iterator.py b/src/core/script_iterator.py
index <HASH>..<HASH> 100644
--- a/src/core/script_iterator.py
+++ b/src/core/script_iterator.py
@@ -555,9 +555,17 @@ Script.
if isinstance(script_information, dict):
for sub_script_name, sub_script_class in script_sub... | Removed legacy versions of ni_daq and galvoscan, and merged everything into one current file for each | LISE-B26_pylabcontrol | train | py |
0a070a435167d3dd9c8f2ddf140924052b4ec992 | diff --git a/lib/rugged/diff/patch.rb b/lib/rugged/diff/patch.rb
index <HASH>..<HASH> 100644
--- a/lib/rugged/diff/patch.rb
+++ b/lib/rugged/diff/patch.rb
@@ -13,8 +13,6 @@ module Rugged
delta.new_file_full_path
end
- private
-
def lines
map(&:lines).flatten.compact
end | Make #lines method on Rugged::Diff::Patch public | prontolabs_pronto | train | rb |
15dda94c7d1e117273928f094b46a81b3f842c1f | diff --git a/lib/puppet/application/inspect.rb b/lib/puppet/application/inspect.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/application/inspect.rb
+++ b/lib/puppet/application/inspect.rb
@@ -51,10 +51,8 @@ class Puppet::Application::Inspect < Puppet::Application
@report.configuration_version = catalog.versio... | (#<I>) Added total time to inspect reports and made inspect metrics more consistent.
Inspect reports now contain all the metrics that apply reports do, and
use the same code path for creating them. | puppetlabs_puppet | train | rb |
c919116d83562e528df58833162494fd9fe0b9b2 | diff --git a/lib/guard/interactors/helpers/terminal.rb b/lib/guard/interactors/helpers/terminal.rb
index <HASH>..<HASH> 100644
--- a/lib/guard/interactors/helpers/terminal.rb
+++ b/lib/guard/interactors/helpers/terminal.rb
@@ -39,8 +39,8 @@ module Guard
# Restore terminal settings
#
def restore_terminal_... | Do not pass STDERR redirect as option to Kernel#system.
If we pass the redirect `2>/dev/null` as option to Kernel#system,
the option will be wrapped by quotes and the redirect will have no
effect on the command exectuion. See Guard Issue #<I>. | guard_guard | train | rb |
d1edad81b896c6ca68146dc319eed00ccbd6baa0 | diff --git a/examples/writing.php b/examples/writing.php
index <HASH>..<HASH> 100755
--- a/examples/writing.php
+++ b/examples/writing.php
@@ -9,6 +9,7 @@ require '../vendor/autoload.php';
$writer = Writer::createFromFileObject(new SplTempFileObject()); //the CSV file will be created into a temporary File
$writer->... | Updated the writing example to include a line ending setter | thephpleague_csv | train | php |
6da36865987a063e68ec8debd970c5cbd246449a | diff --git a/src/functions.js b/src/functions.js
index <HASH>..<HASH> 100644
--- a/src/functions.js
+++ b/src/functions.js
@@ -13,7 +13,7 @@ module.exports.resolve_function = function(path_prefix) {
return {
'jspm_resolve($exp)': function(exp, done) {
jspm.normalize(exp.getValue()).then(funct... | Resolve .ts extension also. | idcware_node-sass-jspm-importer | train | js |
d3a82531a91484f416da83df1679b1d77ad0984a | diff --git a/src/mixin/index.js b/src/mixin/index.js
index <HASH>..<HASH> 100644
--- a/src/mixin/index.js
+++ b/src/mixin/index.js
@@ -53,10 +53,6 @@ export const MIXIN_FEATURE_TESTS = new Set([
export { Set };
-// Prevent errors when loading component via native ES6 module support.
-window.process = window.proces... | remove process.env stub (no in hy-comp) | qwtel_hy-drawer | train | js |
6913f305b5e978b8a7fb03df7f983ca6ebd5e28b | diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js
index <HASH>..<HASH> 100644
--- a/lib/less-browser/index.js
+++ b/lib/less-browser/index.js
@@ -14,9 +14,17 @@ var less;
var isFileProtocol = /^(file|chrome(-extension)?|resource|qrc|app):/.test(window.location.protocol),
options = window.less || ... | Test why travis CI is failing | less_less.js | train | js |
f71372106466c38524c6247e2127990909187a84 | diff --git a/src/PatternLab/Migrator.php b/src/PatternLab/Migrator.php
index <HASH>..<HASH> 100644
--- a/src/PatternLab/Migrator.php
+++ b/src/PatternLab/Migrator.php
@@ -121,7 +121,7 @@ class Migrator {
$sourcePath = str_replace(__DIR__."/../../../","",rtrim($sourcePath,"/"));
$f = new Fetch();
- $f... | being explicit with the long command in the migration | pattern-lab_patternlab-php-core | train | php |
b5a8fe2c2698d80bdd75c5bc3965f236b764bcdb | diff --git a/lib/media/streaming_engine.js b/lib/media/streaming_engine.js
index <HASH>..<HASH> 100644
--- a/lib/media/streaming_engine.js
+++ b/lib/media/streaming_engine.js
@@ -417,7 +417,7 @@ shaka.media.StreamingEngine.prototype.switch = function(
if (!mediaState && contentType == 'text' &&
this.config_.i... | Enable switching from unavailable to available text stream: part 2.
When switching from an unavailable to an available text stream we
are adding a text media state. This happens after switch method
checks for it and the assertion fails.
This is a change to return from the switch method before the
assertion gets checke... | google_shaka-player | train | js |
b752766d6cb454e9115355013ed8aa18b745bd4b | diff --git a/cake/libs/router.php b/cake/libs/router.php
index <HASH>..<HASH> 100644
--- a/cake/libs/router.php
+++ b/cake/libs/router.php
@@ -741,7 +741,11 @@ class Router {
$extension = $output = $mapped = $q = $frag = null;
if (empty($url)) {
- return isset($path['here']) ? $path['here'] : '/';
+ $outp... | Using full base when $url is empty. | cakephp_cakephp | train | php |
49f853ed0a7ca99f71bd8a99718b9e50b0545de8 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -14,7 +14,7 @@ function getColorObj(text) {
}
/* Get a ready-to-use Style object of the Material color of a string */
-export default function toMaterialStyle(text, shade) {
+function toMaterialStyle(text, ... | Attempting a fix for issue #2 ("can't use in nuxt using import") | BelkaLab_material-color-hash | train | js |
3c55cf0e57c1b6afaf54bbbb52dd99642f26f27e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -109,6 +109,7 @@ function ConkieStats() {
return this;
};
+ var pollHandle;
this.setPollFreq = function(timeout) {
clearTimeout(pollHandle); // Cancel scheduled polls
if (!_.isUndefined(timeout)) self._pollFreq ... | BUGFIX: Syntax error where the pollHandle trampolines in the scope | hash-bang_conkie-stats | train | js |
7b57a55cda2f59dea49758294f5d6c4671242f3b | diff --git a/classes/PodsInit.php b/classes/PodsInit.php
index <HASH>..<HASH> 100644
--- a/classes/PodsInit.php
+++ b/classes/PodsInit.php
@@ -1105,8 +1105,6 @@ class PodsInit {
// Restore DB table prefix (if switched)
if ( null !== $_blog_id ) {
restore_current_blog();
- } else {
- $this->run();
}
} | Take out run() which runs it out of order of priorities | pods-framework_pods | train | php |
7a879c0e56c2ef91db9fcb36c7423ac82e489288 | diff --git a/src/ossos-pipeline/ossos/ssos.py b/src/ossos-pipeline/ossos/ssos.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/ossos/ssos.py
+++ b/src/ossos-pipeline/ossos/ssos.py
@@ -287,8 +287,8 @@ class SSOSParser(object):
# ADDING THIS TEMPORARILY TO GET THE NON-OSSOS and wallpaper DATA OUT OF... | Return u' band data from SSOIS in image stacks. | OSSOS_MOP | train | py |
865f8c1e6ac0ad47ace873a0126bae267081b4bf | diff --git a/tests/Unit/Query/IndicesQueryTest.php b/tests/Unit/Query/IndicesQueryTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/Query/IndicesQueryTest.php
+++ b/tests/Unit/Query/IndicesQueryTest.php
@@ -21,7 +21,8 @@ class IndicesQueryTest extends \PHPUnit_Framework_TestCase
*/
private function getQu... | fixed psr2 style issues | ongr-io_ElasticsearchDSL | train | php |
5d78635e40ff413b997d05eaddca2aa2487c4d6e | diff --git a/mod/forum/classes/message/inbound/reply_handler.php b/mod/forum/classes/message/inbound/reply_handler.php
index <HASH>..<HASH> 100644
--- a/mod/forum/classes/message/inbound/reply_handler.php
+++ b/mod/forum/classes/message/inbound/reply_handler.php
@@ -117,7 +117,7 @@ class reply_handler extends \core\mes... | MDL-<I> inbound: Fix notices in pickup task | moodle_moodle | train | php |
767e28a7b749d888f9e153e9b2e61a64617bdcf6 | diff --git a/lib/phoenx/use_cases/generate_target.rb b/lib/phoenx/use_cases/generate_target.rb
index <HASH>..<HASH> 100755
--- a/lib/phoenx/use_cases/generate_target.rb
+++ b/lib/phoenx/use_cases/generate_target.rb
@@ -21,6 +21,7 @@ module Phoenx
end
def add_frameworks_and_libraries
+ self.target.frameworks... | Avoided Foundation being added to libraries by default | jensmeder_Phoenx | train | rb |
8c70e3e88c178f1cc36e195b164cbfdc371b5796 | diff --git a/packages/node_modules/@webex/plugin-meetings/src/constants.js b/packages/node_modules/@webex/plugin-meetings/src/constants.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@webex/plugin-meetings/src/constants.js
+++ b/packages/node_modules/@webex/plugin-meetings/src/constants.js
@@ -332,8 +332,8 ... | fix(meeting): constants | webex_spark-js-sdk | train | js |
329fd27adf4e3e3bb344bd97416806fcc6392df4 | diff --git a/templates/admin/export.php b/templates/admin/export.php
index <HASH>..<HASH> 100644
--- a/templates/admin/export.php
+++ b/templates/admin/export.php
@@ -191,7 +191,7 @@ $formats = apply_filters( 'pb_export_formats', [
</fieldset>
<fieldset class="exotic">
- <legend><?php _e( 'Exotic formats', 'p... | Change the word Exotic to Other (#<I>) | pressbooks_pressbooks | train | php |
1d926b467eee699fbf2796b9bc4b2b52ee3a036b | diff --git a/upload/catalog/language/en-gb/common/footer.php b/upload/catalog/language/en-gb/common/footer.php
index <HASH>..<HASH> 100644
--- a/upload/catalog/language/en-gb/common/footer.php
+++ b/upload/catalog/language/en-gb/common/footer.php
@@ -16,10 +16,3 @@ $_['text_order'] = 'Order History';
$_['text_w... | Remove unused language strings from footer | opencart_opencart | train | php |
2b19cf39e1c5d26e7041d31a066e50e7fa062399 | diff --git a/framework/core/js/lib/App.js b/framework/core/js/lib/App.js
index <HASH>..<HASH> 100644
--- a/framework/core/js/lib/App.js
+++ b/framework/core/js/lib/App.js
@@ -6,6 +6,7 @@ import Translator from 'flarum/Translator';
import extract from 'flarum/utils/extract';
import patchMithril from 'flarum/utils/patc... | Fake PATCH/PUT/DELETE requests
closes #<I> | flarum_core | train | js |
30b0c943a07059cdf8bed7eb4f2426100ef5d108 | diff --git a/lib/cassandra_migrations/migration/table_operations.rb b/lib/cassandra_migrations/migration/table_operations.rb
index <HASH>..<HASH> 100644
--- a/lib/cassandra_migrations/migration/table_operations.rb
+++ b/lib/cassandra_migrations/migration/table_operations.rb
@@ -11,6 +11,12 @@ module CassandraMigrations... | Added operations 'drop_table' to migrations. | hsgubert_cassandra_migrations | train | rb |
9201db4ff77c69d011b1d1393b953678f732eafe | diff --git a/core/src/main/java/com/capitalone/dashboard/model/CodeQualityType.java b/core/src/main/java/com/capitalone/dashboard/model/CodeQualityType.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/capitalone/dashboard/model/CodeQualityType.java
+++ b/core/src/main/java/com/capitalone/dashboard/model/Co... | Core support to handle fortify security scan. | Hygieia_Hygieia | train | java,java |
23c3f75e8e7c826f8fc46e238fcad4df617ecf43 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from distutils.core import setup
setup(
name = 'mapped_config',
packages = ['mapped_config'],
- version = '1.1',
+ version = '1.11',
description = 'Mapped config loader for python for secure, easy and ... | Updated pypi version | maxpowel_mapped_config | train | py |
53bbfe841c76d2cd909ebf6a20c82a97962a6824 | diff --git a/src/Slick/Mvc/Command/Task/GenerateScaffoldController.php b/src/Slick/Mvc/Command/Task/GenerateScaffoldController.php
index <HASH>..<HASH> 100644
--- a/src/Slick/Mvc/Command/Task/GenerateScaffoldController.php
+++ b/src/Slick/Mvc/Command/Task/GenerateScaffoldController.php
@@ -73,7 +73,7 @@ class GenerateS... | Fix path tho current application configuration | slickframework_slick | train | php |
bed566f08ac180a94949b244eda05f40dcea1694 | diff --git a/scripts/build/5.3.convert.php b/scripts/build/5.3.convert.php
index <HASH>..<HASH> 100644
--- a/scripts/build/5.3.convert.php
+++ b/scripts/build/5.3.convert.php
@@ -205,12 +205,8 @@ function convertCustom($filepath, &$file)
'$php .= 0x7fffffe;'
),
array(
- "\$php .= '[';",
- "\$php .= '... | Updated build script [ci skip] | s9e_TextFormatter | train | php |
b3503812fce734aebbc931e960ffd01637685dfa | diff --git a/utils/MutationUtils.js b/utils/MutationUtils.js
index <HASH>..<HASH> 100644
--- a/utils/MutationUtils.js
+++ b/utils/MutationUtils.js
@@ -12,8 +12,7 @@ var createMutation = function (astNode, endOffset, parentMutationId, replacement
col: astNode.loc.start.column,
parentMutationId: parentM... | removed 'type' from the mutation object | jimivdw_grunt-mutation-testing | train | js |
59a2932a8a31f3b6d186e8d9bd6b8b4abc096eae | diff --git a/src/Requirement.php b/src/Requirement.php
index <HASH>..<HASH> 100644
--- a/src/Requirement.php
+++ b/src/Requirement.php
@@ -9,4 +9,8 @@ class Requirement {
$this->name = $name;
$this->version = $version;
}
+
+ public function check():bool {
+ // TODO: Check if the requirement is installed on the... | Add todo for another day... | PhpGt_Build | train | php |
db63db1a56250ebe4fd21917f4f1aeeb42493229 | diff --git a/base.php b/base.php
index <HASH>..<HASH> 100644
--- a/base.php
+++ b/base.php
@@ -444,7 +444,7 @@ final class Base {
switch (gettype($arg)) {
case 'object':
$str='';
- if (get_class($arg)!='Closure' && $detail)
+ if (!preg_match('/Base|Closure/',get_class($arg)) && $detail)
foreach ... | Bug fix: Regression of issue #<I> | bcosca_fatfree-core | train | php |
ba54e1b4af814df9d7fe18d0b768a9dee4914626 | diff --git a/handlers/leave.js b/handlers/leave.js
index <HASH>..<HASH> 100644
--- a/handlers/leave.js
+++ b/handlers/leave.js
@@ -12,18 +12,6 @@
a peer that we are managing state information for and if we are then the
peer state is removed.
- ##### Events triggered in response to `/leave` messages
-
- The fo... | Generate a peer:disconnected event rather than peer:leave for /leave messages sent by the signaller | rtc-io_rtc-signaller | train | js |
de6cb1086e94e43b26afa726b8730920755b5876 | diff --git a/src/Bono/Middleware/ContentNegotiatorMiddleware.php b/src/Bono/Middleware/ContentNegotiatorMiddleware.php
index <HASH>..<HASH> 100644
--- a/src/Bono/Middleware/ContentNegotiatorMiddleware.php
+++ b/src/Bono/Middleware/ContentNegotiatorMiddleware.php
@@ -113,11 +113,6 @@ class ContentNegotiatorMiddleware ex... | moved !include qs to norm provider (you can find it there) | xinix-technology_bono | train | php |
f8b864dd9323811deaa5bda94ac57ddfe3e4118e | diff --git a/cmd/jujud/agent/machine_test.go b/cmd/jujud/agent/machine_test.go
index <HASH>..<HASH> 100644
--- a/cmd/jujud/agent/machine_test.go
+++ b/cmd/jujud/agent/machine_test.go
@@ -734,6 +734,9 @@ func (s *MachineSuite) TestManageEnvironRunsPeergrouper(c *gc.C) {
}
func (s *MachineSuite) testAddresserNewWorke... | Disabled a flaky test until we can fix it properly | juju_juju | train | go |
2257583bc41b1cf2624907f0b3934cf3f12a3895 | diff --git a/src/Form/Element/Select.php b/src/Form/Element/Select.php
index <HASH>..<HASH> 100644
--- a/src/Form/Element/Select.php
+++ b/src/Form/Element/Select.php
@@ -114,13 +114,13 @@ class Select extends NamedFormElement
}
/**
- * @param bool $nullable
+ * @param bool|true $nullable
*
... | Renamed method Select::setNullable to nullable | LaravelRUS_SleepingOwlAdmin | train | php |
a1a35a54c020257020567c7f0abbba45340d623e | diff --git a/zappa/utilities.py b/zappa/utilities.py
index <HASH>..<HASH> 100644
--- a/zappa/utilities.py
+++ b/zappa/utilities.py
@@ -1,3 +1,4 @@
+import botocore
import calendar
import datetime
import durationpy | import botocore for line <I>
Line <I> uses __botocore.exceptions.ClientError__ but botocore is never imported which has the potential of raising NameError instead of botocore.exceptions.ClientError. | Miserlou_Zappa | train | py |
df150f09b7b00644b1d513a47ccae806b27101db | diff --git a/bundles/org.eclipse.orion.client.editor/web/examples/editor/demoSetup.js b/bundles/org.eclipse.orion.client.editor/web/examples/editor/demoSetup.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.editor/web/examples/editor/demoSetup.js
+++ b/bundles/org.eclipse.orion.client.editor/web/ex... | fix exception in editor demo (when showMarginRuler is true at the start) | eclipse_orion.client | train | js |
f1dc1f3a84e8c1704baba5bf9dec42dd2a55eb22 | diff --git a/lib/rack/jsonp.rb b/lib/rack/jsonp.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/jsonp.rb
+++ b/lib/rack/jsonp.rb
@@ -11,6 +11,7 @@ module Rack
@app = app
@carriage_return = options[:carriage_return] || false
@callback_param = options[:callback_param] || 'callback'
+ @timestamp_pa... | Save JSONP-timestamp in env['rack.jsonp.timestamp'] for access from other middleware and/or app. | crohr_rack-jsonp | train | rb |
e77faf7187e880bf5f0201d6ed4a11ea5892d361 | diff --git a/src/Stripe.php b/src/Stripe.php
index <HASH>..<HASH> 100644
--- a/src/Stripe.php
+++ b/src/Stripe.php
@@ -20,6 +20,8 @@
namespace Cartalyst\Stripe;
+use ReflectionClass;
+
class Stripe
{
/**
@@ -264,7 +266,7 @@ class Stripe
{
$class = "\\Cartalyst\\Stripe\\Api\\".ucwords($method);... | chore: Make sure that abstract classes are not being instantiated. | cartalyst_stripe | train | php |
0140e556cbb42bb879089fb82aad184aabd3a794 | diff --git a/core/src/main/java/jlibs/core/lang/StringUtil.java b/core/src/main/java/jlibs/core/lang/StringUtil.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jlibs/core/lang/StringUtil.java
+++ b/core/src/main/java/jlibs/core/lang/StringUtil.java
@@ -240,6 +240,15 @@ public class StringUtil{
/*------... | added toLiteral(ch, useRaw) | santhosh-tekuri_jlibs | train | java |
2251da82d61e55c05514ba0aa33a7783fb97640a | diff --git a/Includes/Page.php b/Includes/Page.php
index <HASH>..<HASH> 100644
--- a/Includes/Page.php
+++ b/Includes/Page.php
@@ -1155,7 +1155,9 @@ class Page {
$tokens = $this->wiki->get_tokens();
- if( !$pgNotag ) $summary .= $pgTag;
+ if( !$pgNotag ) {
+ $summary = substr( $summary . $pgTag, 0, 255 );
+ ... | Stop version tagging creating an edit summary > <I> chars
Edit summaries > <I> chars cause edits to fail. | MW-Peachy_Peachy | train | php |
709a7e7c2ebb9c80f48a247521d7458eba7e2986 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ setup(
keywords='push notification',
- packages=['ntfy'],
+ packages=['ntfy', 'ntfy.backends'],
install_requires=[
'requests', | whoops, forgot backends package in setup.py | dschep_ntfy | train | py |
52f955a718d57c7e6e082ff7994fa6ae34e9ff33 | diff --git a/src/test/java/com/cloudant/tests/DatabaseTest.java b/src/test/java/com/cloudant/tests/DatabaseTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/cloudant/tests/DatabaseTest.java
+++ b/src/test/java/com/cloudant/tests/DatabaseTest.java
@@ -62,7 +62,7 @@ public class DatabaseTest {
//r... | Made replication URL http
Cloudant https now uses SHA-2, the Erlang level for travis CouchDB
service is R<I>, but SHA-2 is not supported until Erlang <I>.
Workaround by using http instead of https for replication, we are only
reading from the example animaldb to the travis couch instance anyway. | cloudant_java-cloudant | train | java |
3c2f2af10d06090e864197ecb839ea0f0d32d6e8 | diff --git a/DataGrid/ReviewDataGrid.php b/DataGrid/ReviewDataGrid.php
index <HASH>..<HASH> 100644
--- a/DataGrid/ReviewDataGrid.php
+++ b/DataGrid/ReviewDataGrid.php
@@ -11,7 +11,7 @@
*/
namespace WellCommerce\Bundle\ReviewBundle\DataGrid;
-use WellCommerce\Bundle\CoreBundle\DataGrid\AbstractDataGrid;
+use WellCo... | Introduced DataGridBundle | WellCommerce_WishlistBundle | train | php |
5fa69abff5263544d2b7fd68e21ab36a3a381a1b | diff --git a/writer.go b/writer.go
index <HASH>..<HASH> 100644
--- a/writer.go
+++ b/writer.go
@@ -103,12 +103,9 @@ func (w *Writer) Listen() {
for {
select {
case <-w.ticker.C:
- w.mtx.Lock()
if w.ticker != nil {
w.Flush()
}
-
- w.mtx.Unlock()
case <-w.tdone:
w.mtx.Lock()
w.ticker.S... | Removing wrong lock (it locks inside flush). | gosuri_uilive | train | go |
605f4015b6fa57d2cef2d0b26cfd068f806e42f2 | diff --git a/src/View.php b/src/View.php
index <HASH>..<HASH> 100644
--- a/src/View.php
+++ b/src/View.php
@@ -885,11 +885,7 @@ class View implements jsExpressionable
*/
public function js($when = null, $action = null, $selector = null)
{
- if ($selector) {
- $chain = new jQuery($selec... | use one liner for jQuery selector (#<I>) | atk4_ui | train | php |
504c9b4a5b72c230a1898e2839e400f3a2abd55d | diff --git a/src/org/opencms/search/galleries/CmsGalleryNameMacroResolver.java b/src/org/opencms/search/galleries/CmsGalleryNameMacroResolver.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/search/galleries/CmsGalleryNameMacroResolver.java
+++ b/src/org/opencms/search/galleries/CmsGalleryNameMacroResolver.java
@... | Fixed issue with unresolved page_title macros in gallery titles. | alkacon_opencms-core | train | java |
91583008cb64f2a4a42981f53b926495ab05829a | diff --git a/input/tangy-eftouch.js b/input/tangy-eftouch.js
index <HASH>..<HASH> 100644
--- a/input/tangy-eftouch.js
+++ b/input/tangy-eftouch.js
@@ -187,7 +187,7 @@ export class TangyEftouch extends PolymerElement {
if (this.timeLimit) {
this.timeLimitTimeout = setTimeout(() => {
this.disabled = ... | Fix transition logic for go-next-on-time-limit | Tangerine-Community_tangy-form | train | js |
294477e146c0fbad27949997286b44759e1c1e9d | diff --git a/lib/mspec/opal/runner.rb b/lib/mspec/opal/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/mspec/opal/runner.rb
+++ b/lib/mspec/opal/runner.rb
@@ -175,12 +175,8 @@ class NodeJSFormatter < BrowserFormatter
`global.OPAL_SPEC_CODE = code;`
end
- def finish
- super
- puts "\n\n"
- end
-
def... | Re-add missing newlines in NodeJS mspec runner | opal_opal | train | rb |
e9f3bd38172473447fdc9923697d4f88684ff176 | diff --git a/pygal/graph/graph.py b/pygal/graph/graph.py
index <HASH>..<HASH> 100644
--- a/pygal/graph/graph.py
+++ b/pygal/graph/graph.py
@@ -47,8 +47,8 @@ class Graph(BaseGraph):
def _axes(self):
"""Draw axes"""
- self._x_axis()
self._y_axis()
+ self._x_axis()
def _set_vi... | Reorders axes in SVG output. Fix #<I>
Currently pygal renders the x-axis before the y-axis, but this means
that because of the painters algorithm, the horizontal guide lines of
the y-axis are above the y-axis line (which is actually an x-axis
guide). If you have custom css that changes the colours of horizontal
guide ... | Kozea_pygal | train | py |
cc2d87301308d6811591cfbd26755695e607df5d | diff --git a/source/Internal/Review/Service/UserRatingServiceInterface.php b/source/Internal/Review/Service/UserRatingServiceInterface.php
index <HASH>..<HASH> 100644
--- a/source/Internal/Review/Service/UserRatingServiceInterface.php
+++ b/source/Internal/Review/Service/UserRatingServiceInterface.php
@@ -4,7 +4,7 @@
... | OXDEV-<I> Fix namespace in UserRatingServiceInterface | OXID-eSales_oxideshop_ce | train | php |
c59e9cb12cdd587093e456e9efeb0be894bb54a1 | diff --git a/java/client/src/org/openqa/selenium/logging/LogEntry.java b/java/client/src/org/openqa/selenium/logging/LogEntry.java
index <HASH>..<HASH> 100644
--- a/java/client/src/org/openqa/selenium/logging/LogEntry.java
+++ b/java/client/src/org/openqa/selenium/logging/LogEntry.java
@@ -60,7 +60,7 @@ public class Lo... | AlexeiBarantsev: Timestamps are to be in milliseconds. So they are in Firefox driver already.
r<I> | SeleniumHQ_selenium | train | java |
f30ee9a1746ba07903e5e89ebfae18338bd2ba04 | diff --git a/parsers/EN/GeneralDateParser.js b/parsers/EN/GeneralDateParser.js
index <HASH>..<HASH> 100644
--- a/parsers/EN/GeneralDateParser.js
+++ b/parsers/EN/GeneralDateParser.js
@@ -8,7 +8,7 @@
if(typeof chrono == 'undefined')
throw 'Cannot find the chrono main module';
- var PATTERN = /(today|tonight... | Fix ".. days ago" with zeros | wanasit_chrono | train | js |
58f6e3205942b1a13ca41a7b90ccaba051f1c599 | diff --git a/spec/mvcli/cortex.rb b/spec/mvcli/cortex.rb
index <HASH>..<HASH> 100644
--- a/spec/mvcli/cortex.rb
+++ b/spec/mvcli/cortex.rb
@@ -2,16 +2,23 @@ require "mvcli/core"
module MVCLI
class Cortex
+ include Enumerable
+
def initialize
@cores = []
+ yield self if block_given?
end
... | Cortex is Enumerable and Cortex#<< is chainable | cowboyd_mvcli | train | rb,rb |
69e0051aa5cb6c330931d5f9e4be94e8f0c265fa | diff --git a/src/main/java/com/github/noraui/service/impl/CryptoServiceImpl.java b/src/main/java/com/github/noraui/service/impl/CryptoServiceImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/noraui/service/impl/CryptoServiceImpl.java
+++ b/src/main/java/com/github/noraui/service/impl/CryptoServiceImp... | Sonar: Either log this exception and handle it, or rethrow it with some contextual information. | NoraUi_NoraUi | train | java |
3ccc1c5c9df7538fea88d303735d7b2bfef29d79 | diff --git a/lib/CoreBot.js b/lib/CoreBot.js
index <HASH>..<HASH> 100755
--- a/lib/CoreBot.js
+++ b/lib/CoreBot.js
@@ -324,6 +324,10 @@ function Botkit(configuration) {
if (condition.execute) {
var script = condition.execute.script;
var thread = con... | attempt to stop convo from ended during an execute script transition | howdyai_botkit | train | js |
8fde6672437e2c67413855ef6029daa96079f4bb | diff --git a/test/test_parsing.rb b/test/test_parsing.rb
index <HASH>..<HASH> 100644
--- a/test/test_parsing.rb
+++ b/test/test_parsing.rb
@@ -294,6 +294,12 @@ class TestParsing < TestCase
time = parse_now("05/06", :endian_precedence => [:little, :medium])
assert_equal Time.local(2006, 6, 5, 12), time
+ ... | Introduce failing test for sm/sd with time | mojombo_chronic | train | rb |
1bb1f76c4ab6248859345bb27c56e025a3d77b16 | diff --git a/python/src/nnabla/utils/data_source_implements.py b/python/src/nnabla/utils/data_source_implements.py
index <HASH>..<HASH> 100644
--- a/python/src/nnabla/utils/data_source_implements.py
+++ b/python/src/nnabla/utils/data_source_implements.py
@@ -44,6 +44,8 @@ class SimpleDataSource(DataSource):
re... | Enable Shuffling During Training | sony_nnabla | train | py |
6b042da2d8f9a7267dbe76e59b830cf248c063e2 | diff --git a/tsdb/head.go b/tsdb/head.go
index <HASH>..<HASH> 100644
--- a/tsdb/head.go
+++ b/tsdb/head.go
@@ -1115,6 +1115,10 @@ func (h *Head) Delete(mint, maxt int64, ms ...*labels.Matcher) error {
var stones []tombstones.Stone
for p.Next() {
series := h.series.getByID(chunks.HeadSeriesRef(p.At()))
+ if seri... | Fix panic if series is not found when deleting series | prometheus_prometheus | train | go |
f58a362b1e20993c95bac1f49da345fb56abbf36 | diff --git a/molecule/command/init/scenario.py b/molecule/command/init/scenario.py
index <HASH>..<HASH> 100644
--- a/molecule/command/init/scenario.py
+++ b/molecule/command/init/scenario.py
@@ -155,7 +155,7 @@ def _default_scenario_exists(ctx, param, value): # pragma: no cover
@click.option(
'--driver-name',
... | Fixed molecule init scenario (#<I>)
Avoid error like below:
File ".../site-packages/click/types.py", line <I>, in get_metavar
return '[%s]' % '|'.join(self.choices)
TypeError: sequence item 0: expected str instance, <DriverClass> found
This adopts the same code from init-role which was working correctly. | ansible_molecule | train | py |
2e052902062f6ddd5be49a02c9fbabac09a75d65 | diff --git a/gns3server/modules/vmware/vmware_vm.py b/gns3server/modules/vmware/vmware_vm.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/vmware/vmware_vm.py
+++ b/gns3server/modules/vmware/vmware_vm.py
@@ -375,6 +375,8 @@ class VMwareVM(BaseVM):
vnet = "ethernet{}.vnet".format(adapter_number)
... | Fixes issue with packet capture on VMware VMs. Fixes #<I>. | GNS3_gns3-server | train | py |
bc0083df44080c55ecca807f637189d32f31bea6 | diff --git a/lib/popcorntime_search/link.rb b/lib/popcorntime_search/link.rb
index <HASH>..<HASH> 100644
--- a/lib/popcorntime_search/link.rb
+++ b/lib/popcorntime_search/link.rb
@@ -19,9 +19,9 @@ module PopcorntimeSearch
end
def to_s
- string = "#{@filename || @title} [#{@quality}][#{@language.upcase}... | Cleaned up Link.to_s | iovis9_popcorntime_search | train | rb |
a45ba7ca4a544c634f0a4ffbab7fff0586050e90 | diff --git a/src/search/FileFilters.js b/src/search/FileFilters.js
index <HASH>..<HASH> 100644
--- a/src/search/FileFilters.js
+++ b/src/search/FileFilters.js
@@ -355,7 +355,7 @@ define(function (require, exports, module) {
dialog.done(function (buttonId) {
if (buttonId === Dialogs.DIALOG_BTN_OK) ... | Limits the length of the name to the specific number of characters | adobe_brackets | train | js |
3ad6ebf3b8d1e4835e4bb62be9dbc08fc48518ac | diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index <HASH>..<HASH> 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -267,24 +267,17 @@ class ExternalCommand(Command):
def thread_code(*_):
try:
- if stdin is None:
- proc ... | commands/globals: Simplify ExternalCommand thread_Code
This simplifies the code but not using an if/else, but to just use a
ternary to set the input to Popen.communicate. This also pulls some code
out of the try/except block that isn't being tried. | pazz_alot | train | py |
9bbd8aad6b6c1de4ee24bbf2dcbb1be5831ddb72 | diff --git a/tower_cli/models/base.py b/tower_cli/models/base.py
index <HASH>..<HASH> 100644
--- a/tower_cli/models/base.py
+++ b/tower_cli/models/base.py
@@ -976,7 +976,7 @@ class MonitorableResource(ResourceMethods):
# In the first moments of running the job, the standard out
# may not be ... | Enhance startswith argument usage for python <I> compatibility. | ansible_tower-cli | train | py |
17a88352abd07b0b3f59a221f2c1ed5c88d97e8c | diff --git a/core/src/main/java/hudson/model/Descriptor.java b/core/src/main/java/hudson/model/Descriptor.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/Descriptor.java
+++ b/core/src/main/java/hudson/model/Descriptor.java
@@ -921,14 +921,18 @@ public abstract class Descriptor<T extends Describa... | newInstancesFromHeteroList should recover gracefully from the case that both kind and $class are missing. | jenkinsci_jenkins | train | java |
ba2183be46091a783b66c00d541dd650f57b4089 | diff --git a/src/DiffSniffer/Application.php b/src/DiffSniffer/Application.php
index <HASH>..<HASH> 100644
--- a/src/DiffSniffer/Application.php
+++ b/src/DiffSniffer/Application.php
@@ -3,6 +3,7 @@
namespace DiffSniffer;
use function basename;
+use function count;
use DiffSniffer\Command\BadUsage;
use PackageVer... | Workaround for an issue in Config | diff-sniffer_core | train | php |
24cab7f9dfa8aeacd5ba5f510c48a369907b1ec0 | diff --git a/cmd/erasure-metadata.go b/cmd/erasure-metadata.go
index <HASH>..<HASH> 100644
--- a/cmd/erasure-metadata.go
+++ b/cmd/erasure-metadata.go
@@ -103,11 +103,17 @@ func (fi FileInfo) ToObjectInfo(bucket, object string) ObjectInfo {
IsDir: true,
}
}
+
+ versionID := fi.VersionID
+ if globalBucketVersi... | ilm: Remove a 'null' version if not latest (#<I>)
If the ILM document requires removing noncurrent versions, the
the server should be able to remove 'null' versions as well.
'null' versions are created when versioning is not enabled
or suspended. | minio_minio | train | go |
91368805bd99a49e35426181016b1a919833e56f | diff --git a/zendesk/endpoints_v2.py b/zendesk/endpoints_v2.py
index <HASH>..<HASH> 100644
--- a/zendesk/endpoints_v2.py
+++ b/zendesk/endpoints_v2.py
@@ -317,28 +317,28 @@ mapping_table = {
},
# Organizations
- 'list_organzations': {
+ 'list_organizations': {
'path': '/organizations.json',
... | Fixed spelling for organization methods in v2 API. | fprimex_zdesk | train | py |
0d82048c3943d208d3f67c402f61241fd209f5fb | diff --git a/polysquare_setuptools_lint/__init__.py b/polysquare_setuptools_lint/__init__.py
index <HASH>..<HASH> 100644
--- a/polysquare_setuptools_lint/__init__.py
+++ b/polysquare_setuptools_lint/__init__.py
@@ -324,6 +324,10 @@ class PolysquareLintCommand(setuptools.Command): # suppress(unused-function)
i... | polysquarelint: Handle messages appearing after end of document | polysquare_polysquare-setuptools-lint | train | py |
149219bacf171521216b33fbe7b7e2ce27f6e53c | diff --git a/lib/bundle_views/index.js b/lib/bundle_views/index.js
index <HASH>..<HASH> 100644
--- a/lib/bundle_views/index.js
+++ b/lib/bundle_views/index.js
@@ -50,7 +50,7 @@ app.get('/viewsetup.js', function(req, res) {
});
app.get('/view/:bundle_name*', function(req, res, next) {
- var bundleName = req.query... | it's req.params not req.query mate | nodecg_nodecg | train | js |
6274bcd03c8ccd12123901a43075f675e694e524 | diff --git a/tests/test_uflash.py b/tests/test_uflash.py
index <HASH>..<HASH> 100644
--- a/tests/test_uflash.py
+++ b/tests/test_uflash.py
@@ -660,29 +660,6 @@ def test_main_named_args():
keepname=False)
-def test_main_keepname_args():
- """
- Ensure that keepname i... | Removed keepname test for main()
Removed tests invoking main with the keepname argument. | ntoll_uflash | train | py |
73488d3916238cedc9c65a251a1b44a844b3fc89 | diff --git a/pyvips/voperation.py b/pyvips/voperation.py
index <HASH>..<HASH> 100644
--- a/pyvips/voperation.py
+++ b/pyvips/voperation.py
@@ -280,8 +280,8 @@ class Operation(pyvips.VipsObject):
details = intro.details[name]
if (details['flags'] & _DEPRECATED) != 0:
- logger.i... | Fix logging deprecated arguments.
When a deprecated argument is used, an exception was being thrown
because a format string was being used but the logger as expecting
percent placeholders. The current code would throw an exception. | libvips_pyvips | train | py |
0205340b2d8587106d8c48a8bdd38120260b377e | diff --git a/category_encoders/ordinal.py b/category_encoders/ordinal.py
index <HASH>..<HASH> 100644
--- a/category_encoders/ordinal.py
+++ b/category_encoders/ordinal.py
@@ -319,8 +319,8 @@ class OrdinalEncoder(BaseEstimator, TransformerMixin):
for col in cols:
nan_identity = np.nan
-
-... | Adjusted method ordinal_encoding when it get's a dataframe with dtype='string' (#<I>)
The problem occurs because the dataframe contains `dtype='string'` parameter. With this, the `unique()` method returns `StringArray` object, no np array.
Instead of using `tolist` method, it was included the `list` call outside. | scikit-learn-contrib_categorical-encoding | train | py |
56452d6f33b53f84b05ffa8bfb7d88b1de3a0126 | diff --git a/angr/analyses/cfg/cfg_fast.py b/angr/analyses/cfg/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg/cfg_fast.py
+++ b/angr/analyses/cfg/cfg_fast.py
@@ -2532,7 +2532,7 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method
jump.resolved_targets = targets
... | Fixed indirect_jump_resolvers reusing func_addr for ijk_calls to outside functions (#<I>)
When updating targets for a resolved indirect_jump in cfg_fast, to_outside
does not consider that an ijk_call is naturally a jump to an outside function
and should be set to True for any ijk_call jumpkind. | angr_angr | train | py |
79de265060be821d7e6b35df9eb4741aeb088739 | diff --git a/go/mysql/server.go b/go/mysql/server.go
index <HASH>..<HASH> 100644
--- a/go/mysql/server.go
+++ b/go/mysql/server.go
@@ -296,7 +296,7 @@ func (l *Listener) handle(conn net.Conn, connectionID uint32, acceptTime time.Ti
if err != nil {
// Don't log EOF errors. They cause too much spam, same as main rea... | fixing formatting so s/spaces/tabs/. go lang newbie here! | vitessio_vitess | train | go |
cda1840dc5f2818b4b56ddab676104106f0c5a55 | diff --git a/pyqode/core/modes/checker.py b/pyqode/core/modes/checker.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/modes/checker.py
+++ b/pyqode/core/modes/checker.py
@@ -53,7 +53,7 @@ class CheckerMessage(object):
MSG_STATUS_ERROR: "#DD4040"}
def __init__(self, description, status, line, col=... | Add filename to checker (usefull when working with multiple editors) | pyQode_pyqode.core | train | py |
26e9baa4e6915cb1954f883563e99171f2a53afc | diff --git a/src/ActivityLog/ActivityLogger.php b/src/ActivityLog/ActivityLogger.php
index <HASH>..<HASH> 100644
--- a/src/ActivityLog/ActivityLogger.php
+++ b/src/ActivityLog/ActivityLogger.php
@@ -156,7 +156,7 @@ class ActivityLogger
throw new Exception("Could not determine a user with identifier '{$modelOrI... | Fixed issue where LogsActivity disableLogging() and enableLogging() methods has no effect | tastyigniter_flame | train | php,php |
fd8a6775f57c4fae1d7cc99560f4efe30e1ac9dd | diff --git a/pkg/namesgenerator/names-generator.go b/pkg/namesgenerator/names-generator.go
index <HASH>..<HASH> 100644
--- a/pkg/namesgenerator/names-generator.go
+++ b/pkg/namesgenerator/names-generator.go
@@ -159,6 +159,9 @@ var (
// Subrahmanyan Chandrasekhar - Astrophysicist known for his mathematical theory on ... | Adding Rita Levi-Montalcini and Claude Shannon to name generator | moby_moby | train | go |
5cc8876719b597e327eeefab761b1be462ad6a99 | diff --git a/lib/mini_aether.rb b/lib/mini_aether.rb
index <HASH>..<HASH> 100644
--- a/lib/mini_aether.rb
+++ b/lib/mini_aether.rb
@@ -14,6 +14,9 @@ module MiniAether
scope = Java::OrgJrubyEmbed::LocalContextScope::SINGLETHREAD
c = Java::OrgJrubyEmbed::ScriptingContainer.new(scope)
begin
+ #... | Set compile mode to 'OFF' in sub JRuby instance. | pmahoney_mini_aether | train | rb |
ac06779f5634514c8b41d4e4b1651b50f8c32629 | diff --git a/connector/src/yang/connector/netconf.py b/connector/src/yang/connector/netconf.py
index <HASH>..<HASH> 100644
--- a/connector/src/yang/connector/netconf.py
+++ b/connector/src/yang/connector/netconf.py
@@ -10,9 +10,13 @@ from ncclient import transport
from ncclient.devices.default import DefaultDeviceHand... | Making Gnmi class available for subclassing without pyATS installed. | CiscoTestAutomation_yang | train | py |
39182f22f6a8cc25a87c5dc4d2b193133902c3a8 | diff --git a/spec/lib/lapine/consumer/runner_spec.rb b/spec/lib/lapine/consumer/runner_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/lapine/consumer/runner_spec.rb
+++ b/spec/lib/lapine/consumer/runner_spec.rb
@@ -16,7 +16,7 @@ RSpec.describe Lapine::Consumer::Runner do
let(:queues) do
[
{
- ... | runner spec needs to run in event machine to avoid race condition
When publishing synchronously, messages may be published before queues
have been bound in the runner’s event machine loop. | messagebus_lapine | train | rb |
9ab00cc457155811e4d368968de9108e11a8b894 | diff --git a/iprestrict/__init__.py b/iprestrict/__init__.py
index <HASH>..<HASH> 100644
--- a/iprestrict/__init__.py
+++ b/iprestrict/__init__.py
@@ -2,4 +2,4 @@ from .restrictor import IPRestrictor
__all__ = ["IPRestrictor"]
-__version__ = "0.4.2"
+__version__ = "0.4.3" | Bumped version to <I> | muccg_django-iprestrict | train | py |
6dca8ac460203dde8bcf94fc9d116132544ddc45 | diff --git a/.eslintrc.js b/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -2,7 +2,9 @@ module.exports = {
plugins: [
"matrix-org",
],
- extends: ["plugin:matrix-org/babel"],
+ extends: [
+ "plugin:matrix-org/babel",
+ ],
env: {
browser... | Switch to new Babel lint config
This also adjusts the TypeScript project lint config to cover *.ts test files
too. | matrix-org_matrix-js-sdk | train | js |
9b53b4ab7efc5868b3cbedcc65d528b7d416c10c | diff --git a/tests/Stripe/SubscriptionTest.php b/tests/Stripe/SubscriptionTest.php
index <HASH>..<HASH> 100644
--- a/tests/Stripe/SubscriptionTest.php
+++ b/tests/Stripe/SubscriptionTest.php
@@ -34,8 +34,7 @@ class SubscriptionTest extends TestCase
'/v1/subscriptions'
);
$resource = Subsc... | Fix some parameters being sent in tests
Fixes one parameter being sent so that the suite is compliant with a
version of stripe-mock that's checking for extra parameters.
See <URL> | stripe_stripe-php | train | php |
f82170a2ac2df8b9ed48c87f0b8ef5ada10e0b12 | diff --git a/api/server/services/services.go b/api/server/services/services.go
index <HASH>..<HASH> 100644
--- a/api/server/services/services.go
+++ b/api/server/services/services.go
@@ -101,7 +101,7 @@ func (sc *serviceContainer) initStorageServices() error {
log.WithField("service", serviceName).Debug("processin... | Config Key Fix
This patch updates the config keys that were in error.
Former-commit-id: <I>b<I>b<I>bddbb<I>afbf<I>cfd<I>cc<I>b6 | thecodeteam_libstorage | train | go,go |
057054f250d419baf6ac48dd353935d7d1f4254a | diff --git a/importer/indico_importer/plugin.py b/importer/indico_importer/plugin.py
index <HASH>..<HASH> 100644
--- a/importer/indico_importer/plugin.py
+++ b/importer/indico_importer/plugin.py
@@ -19,6 +19,7 @@ from __future__ import unicode_literals
from indico.core import signals
from indico.core.plugins import I... | Add missing i<I>n to timetable buttons | indico_indico-plugins | train | py |
16f3bf239a7d3d7907d30e9fbb09aeafec154592 | diff --git a/comments.go b/comments.go
index <HASH>..<HASH> 100644
--- a/comments.go
+++ b/comments.go
@@ -177,15 +177,17 @@ func (comments *Comments) Add(text string) (err error) {
item := comments.item
insta := item.media.instagram()
+ var query map[string]string
+
switch item.media.(type) {
case *StoryMedi... | Added Commends.Add support for Stories (incomplete) | ahmdrz_goinsta | train | go |
e476b099db95a60deac402ea713102e54b756770 | diff --git a/lib/mumble-ruby/client.rb b/lib/mumble-ruby/client.rb
index <HASH>..<HASH> 100644
--- a/lib/mumble-ruby/client.rb
+++ b/lib/mumble-ruby/client.rb
@@ -106,6 +106,7 @@ module Mumble
private
def spawn_thread(sym)
+ Thread.abort_on_exception = true
Thread.new { loop { send sym } }
... | Readd Thread.abort_on_exception = true to enable better troubleshooting in the future. | mattvperry_mumble-ruby | train | rb |
46136004df484a95a6fbf3c8f306684a5304e1eb | diff --git a/system/modules/DocumentManagementSystem/classes/DmsConfig.php b/system/modules/DocumentManagementSystem/classes/DmsConfig.php
index <HASH>..<HASH> 100644
--- a/system/modules/DocumentManagementSystem/classes/DmsConfig.php
+++ b/system/modules/DocumentManagementSystem/classes/DmsConfig.php
@@ -86,7 +86,8 @@... | Upload to `system/tmp` (see #<I> ) | ContaoDMS_dms | train | php |
c4a69b006d90513004da456b0c11fd8e3ea5b0e8 | diff --git a/lib/tty/commands/new.rb b/lib/tty/commands/new.rb
index <HASH>..<HASH> 100644
--- a/lib/tty/commands/new.rb
+++ b/lib/tty/commands/new.rb
@@ -143,7 +143,13 @@ module TTY
puts out
add_tty_libs_to_gemspec
+ process_templates
+ end
+ # Process templates by injecting vars... | Change to extract method for future cutomisations | piotrmurach_tty | train | rb |
4bd5048d50c5bba020a6e0e5fb3729984bf76a41 | diff --git a/metrics/metrics.go b/metrics/metrics.go
index <HASH>..<HASH> 100644
--- a/metrics/metrics.go
+++ b/metrics/metrics.go
@@ -45,16 +45,20 @@ func recordLatency(start time.Time) {
latency.Insert(time.Now().Sub(start).Seconds() * 1000.0)
}
+func resetLatency() {
+ latencyMutex.Lock()
+ defer latencyMutex.U... | Fix locking.
Not sure why I thought defer was lexically scoped. It's not. | codahale_http-handlers | train | go |
eccf6668df2abc34718da65f0e74ee324a453f6e | diff --git a/django_extensions/management/commands/shell_plus.py b/django_extensions/management/commands/shell_plus.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/shell_plus.py
+++ b/django_extensions/management/commands/shell_plus.py
@@ -1,4 +1,5 @@
import os
+import six
import time
from... | fix python 2.x compatibility by using six.exec_ | django-extensions_django-extensions | train | py |
4e5eee1892e1aa6af709443b617b9578c553362c | diff --git a/src/test/com/mongodb/DBCollectionTest.java b/src/test/com/mongodb/DBCollectionTest.java
index <HASH>..<HASH> 100644
--- a/src/test/com/mongodb/DBCollectionTest.java
+++ b/src/test/com/mongodb/DBCollectionTest.java
@@ -250,12 +250,11 @@ public class DBCollectionTest extends TestCase {
}
- /*@Tes... | I need to wake up clearly, I was calling that method. It needed to be
de-annotated as a Test, not commented out. | mongodb_mongo-java-driver | 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.