hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
6cddb93a6c7b3d44d105d9ff7b413eb209f1a604 | diff --git a/PFBC/Form.php b/PFBC/Form.php
index <HASH>..<HASH> 100644
--- a/PFBC/Form.php
+++ b/PFBC/Form.php
@@ -214,7 +214,7 @@ class Form extends Base {
}
else
$value = stripslashes($value);
- self::setSessionValue($id, $name, $value);
+ self::_setSessionValue($id, $name, $value);
... | Updated the setSessionValue function making it protected and adding "_". This prevents public access both directly and through the shared configure method (in Base.php).
git-svn-id: <URL> | lkorth_php-form-builder-class | train |
1c3fa206857450e626e413b390563177ecedd2fb | diff --git a/src/Symfony/Bundle/DoctrineBundle/CacheWarmer/ProxyCacheWarmer.php b/src/Symfony/Bundle/DoctrineBundle/CacheWarmer/ProxyCacheWarmer.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/DoctrineBundle/CacheWarmer/ProxyCacheWarmer.php
+++ b/src/Symfony/Bundle/DoctrineBundle/CacheWarmer/ProxyCacheWarmer.p... | [DoctrineBundle] added Registry::getEntityManagers() | symfony_symfony | train |
e0d9651b2721b2a009e23b5597fa7549521538c8 | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index <HASH>..<HASH> 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -230,7 +230,7 @@ class Block(PandasObject):
if dtype is not None:
# issue 19431 fastparquet is passing this
warnings.warn("dtyp... | Change Future to DeprecationWarning for make_block_same_class (#<I>) | pandas-dev_pandas | train |
aa46e6544ffb06ab3e91f9039b886272b710d660 | diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index <HASH>..<HASH> 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,50 +1,39 @@
# This configuration was generated by `rubocop --auto-gen-config`
-# on 2014-12-14 20:28:26 +1100 using RuboCop version 0.28.0.
+# on 2015-03-01 13:05:10 +1100 using RuboCop ... | Add select and reject methods
select and reject would return an array not a Sorted::Set, now returns a
Sorted::Set. | mynameisrufus_sorted | train |
7abea495174ac28326d41c7d1592f07567bd1c27 | diff --git a/History.md b/History.md
index <HASH>..<HASH> 100644
--- a/History.md
+++ b/History.md
@@ -1,6 +1,7 @@
[5.3.0 / 2022-xx-xx](https://github.com/clean-css/clean-css/compare/v5.2.3...5.3)
==================
+* Fixed issue [#1183](https://github.com/clean-css/clean-css/issues/1183) - fraction optimizer brea... | Fixes #<I> - fraction optimizer breaks `image-set`.
We check any expression recursively and skip those with `url()` expression from
being optimized. | jakubpawlowicz_clean-css | train |
639425dd3da63c3c526d9632ea6689acc8ca31ee | diff --git a/Swat/SwatWidget.php b/Swat/SwatWidget.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatWidget.php
+++ b/Swat/SwatWidget.php
@@ -211,10 +211,10 @@ abstract class SwatWidget extends SwatUIObject
*/
public function isSensitive()
{
- if ($this->parent === null)
- return $this->sensitive;
- else
+ if ... | Only widgets are sensitive
svn commit r<I> | silverorange_swat | train |
dda136a2dfc959a9b078051b94d70e3fb1e85ebe | diff --git a/lib/middleware/logRequestTime.js b/lib/middleware/logRequestTime.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/logRequestTime.js
+++ b/lib/middleware/logRequestTime.js
@@ -33,7 +33,7 @@ module.exports = function(http) {
var time = ms < 1000 ? `${ms}ms` : `${(ms/1000).toFixed(2)}s`;
- ... | use original url instead of url to log request times | SandJS_http | train |
0d4583a57731cf547c9bec20df9393c4d4014c48 | diff --git a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/kubeclient/FlinkKubeClient.java b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/kubeclient/FlinkKubeClient.java
index <HASH>..<HASH> 100644
--- a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/kubeclient/FlinkKubeClient.jav... | [hotfix][k8s] Add interface FlinkKubeClient#close with no exception | apache_flink | train |
3f99a4b428447e95d279b942767a6a525926c567 | diff --git a/ipyrad/analysis/snps_extracter.py b/ipyrad/analysis/snps_extracter.py
index <HASH>..<HASH> 100644
--- a/ipyrad/analysis/snps_extracter.py
+++ b/ipyrad/analysis/snps_extracter.py
@@ -18,6 +18,7 @@ import numpy as np
import pandas as pd
from ipyrad.assemble.utils import IPyradError
from ipyrad.analysis.ut... | analysis.snps_extracter: allow passing in vcf file (assuming RADSeq data). | dereneaton_ipyrad | train |
34f33a9e641d2eb482109ecaeeca792d40c1a878 | diff --git a/jodd-proxetta/src/main/java/jodd/proxetta/asm/MethodSignatureVisitor.java b/jodd-proxetta/src/main/java/jodd/proxetta/asm/MethodSignatureVisitor.java
index <HASH>..<HASH> 100644
--- a/jodd-proxetta/src/main/java/jodd/proxetta/asm/MethodSignatureVisitor.java
+++ b/jodd-proxetta/src/main/java/jodd/proxetta/a... | store only the first return type in method signature visitor | oblac_jodd | train |
0a7cb5a736337e84d866e1d544d2afef34602114 | diff --git a/buffer/lexer.go b/buffer/lexer.go
index <HASH>..<HASH> 100644
--- a/buffer/lexer.go
+++ b/buffer/lexer.go
@@ -33,7 +33,7 @@ func NewLexer(r io.Reader) *Lexer {
b, err = ioutil.ReadAll(r)
if err != nil {
return &Lexer{
- buf: []byte{0},
+ buf: nullBuffer,
err: err,
}
}
@@... | Set cap==len for slices returned by lexer | tdewolff_parse | train |
71b0e31ec3636d0befbaf71310d9992cf5b039a2 | diff --git a/caniusepython3/__main__.py b/caniusepython3/__main__.py
index <HASH>..<HASH> 100644
--- a/caniusepython3/__main__.py
+++ b/caniusepython3/__main__.py
@@ -26,23 +26,24 @@ import logging
import sys
-def projects_from_requirements(requirements_path):
+def projects_from_requirements(requirements):
""... | Allow multiple requirements files to be specified.
Some projects have more than one requirements file: this is the case for
OpenStack projects, which usually have requirements.txt, test-requirements.txt
and sometimes Python3 specific requirements.
This patch allows users to specify multiple requirements file by using... | brettcannon_caniusepython3 | train |
1b3b08cb0676837758f2327c04fef8d43e6bf076 | diff --git a/client/state/data-layer/test/extensions-middleware.js b/client/state/data-layer/test/extensions-middleware.js
index <HASH>..<HASH> 100644
--- a/client/state/data-layer/test/extensions-middleware.js
+++ b/client/state/data-layer/test/extensions-middleware.js
@@ -55,7 +55,7 @@ describe( 'Calypso Extensions D... | Update tests to match data layer API
In #<I> and #<I> we started calling `next()` automatically in the
data layer. This means that the tests should have been updated to
reflect this. Unfortunately the tests were succeeding inappropriately
due to the fact that they were using the wrong `beenCalled` predicate
with `sino... | Automattic_wp-calypso | train |
db5d1b6fb81427c7ab34b36f6da0664a0ab4b086 | diff --git a/server/storage/rethinkdb.go b/server/storage/rethinkdb.go
index <HASH>..<HASH> 100644
--- a/server/storage/rethinkdb.go
+++ b/server/storage/rethinkdb.go
@@ -140,7 +140,7 @@ func (rdb RethinkDB) UpdateMany(gun string, updates []MetaUpdate) error {
// the given GUN and role, an error is returned.
func (rd... | Write ack and read mode for linearizability on tuf_files table | theupdateframework_notary | train |
18d85141e14903fd5bc6af42b27d36d1b916a00d | diff --git a/site/theme/en-US.js b/site/theme/en-US.js
index <HASH>..<HASH> 100644
--- a/site/theme/en-US.js
+++ b/site/theme/en-US.js
@@ -24,7 +24,7 @@ module.exports = {
'app.demo.codepen': 'Open in CodePen',
'app.demo.codesandbox': 'Open in CodeSandbox',
'app.demo.riddle': 'Open in Riddle',
- 'app.... | site: update document title in home page
Tribute to material-ui.com and :wink: | ant-design_ant-design | train |
1ef4049f176a8c33a38651b1d29e3e26751999b4 | diff --git a/builtin/logical/transit/path_decrypt.go b/builtin/logical/transit/path_decrypt.go
index <HASH>..<HASH> 100644
--- a/builtin/logical/transit/path_decrypt.go
+++ b/builtin/logical/transit/path_decrypt.go
@@ -59,9 +59,10 @@ func pathDecryptWrite(
return logical.ErrorResponse("policy not found"), logical.Er... | secret/transit: support key derivation in encrypt/decrypt | hashicorp_vault | train |
5fefde18f00af737620ae004e88dc3e5eef372f1 | diff --git a/pools/blockpool/compression.go b/pools/blockpool/compression.go
index <HASH>..<HASH> 100644
--- a/pools/blockpool/compression.go
+++ b/pools/blockpool/compression.go
@@ -28,12 +28,12 @@ func (cs *CompressingSink) Store(loc BlockLocation, data []byte) error {
cs.compressedBuf = make([]byte, BigBlockSize*... | Don't store full buffer, only size returned by ztsd | itchio_wharf | train |
704b0360c69393850a653d44c5e3299bb3d404a7 | diff --git a/lib/runner/extensions/request.command.js b/lib/runner/extensions/request.command.js
index <HASH>..<HASH> 100644
--- a/lib/runner/extensions/request.command.js
+++ b/lib/runner/extensions/request.command.js
@@ -47,9 +47,9 @@ var _ = require('lodash'),
context.item = item;
// save origina... | Make sure original request is stored in `context` befor mutation | postmanlabs_postman-runtime | train |
eb7ea77ec287b3afdc75f0e6a3756e11a0a06d34 | diff --git a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java b/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java
index <HASH>..<HASH> 100644
--- a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java
+++ b/robotium-solo/src/main/java/com/jayway/android/robot... | Bugfix for issue-<I> | RobotiumTech_robotium | train |
c30c218b45a50204d050e1f79eeaaecf7ca6db44 | diff --git a/lib/SimpleSAML/Auth/LDAP.php b/lib/SimpleSAML/Auth/LDAP.php
index <HASH>..<HASH> 100644
--- a/lib/SimpleSAML/Auth/LDAP.php
+++ b/lib/SimpleSAML/Auth/LDAP.php
@@ -50,51 +50,25 @@ class SimpleSAML_Auth_LDAP {
}
/**
- * Search for a DN. You specify an attribute name and an attribute value
- * and the... | Split searchforDN in LDAP class into two separate functions, one of them allows list of base DNs | simplesamlphp_saml2 | train |
5dd3460d498bd7d1dfadad71edc185eb7a7d007a | diff --git a/tests/testcases/rabbit/asyn/thread_builder_tests.py b/tests/testcases/rabbit/asyn/thread_builder_tests.py
index <HASH>..<HASH> 100644
--- a/tests/testcases/rabbit/asyn/thread_builder_tests.py
+++ b/tests/testcases/rabbit/asyn/thread_builder_tests.py
@@ -388,7 +388,6 @@ class ThreadBuilderTestCase(unittest.... | Adapted unit tests (because ioloop.stop gets now called before PIDException). | IS-ENES-Data_esgf-pid | train |
8d126c9424208a52b01ad5237a48b214063e2a99 | diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -469,7 +469,6 @@ class ForkingExecutor
pool = @size.times.map {
fork {
DRb.stop_service
- DRb.start_se... | do not restart the service, just stop it | rails_rails | train |
3e1a7611f68dd2404e7103b797e648a454d3c278 | diff --git a/examples/preapproval/change_preapproval_payment.rb b/examples/preapproval/change_preapproval_payment.rb
index <HASH>..<HASH> 100644
--- a/examples/preapproval/change_preapproval_payment.rb
+++ b/examples/preapproval/change_preapproval_payment.rb
@@ -23,7 +23,7 @@ new_payment = PagSeguro::SubscriptionChange... | Update change subscription and create subscription:
* Change to use upper case sample content;
* Add missing redirect and review url;
* Fix change to use document instead of documents; | pagseguro_ruby | train |
cc0e9064c70713b058d6db229d4481360adadcd1 | diff --git a/ipywidgets/__init__.py b/ipywidgets/__init__.py
index <HASH>..<HASH> 100644
--- a/ipywidgets/__init__.py
+++ b/ipywidgets/__init__.py
@@ -7,10 +7,9 @@ Provide simple interactive controls in the notebook.
Each Widget corresponds to an object in Python and Javascript,
with controls on the page.
-To put a... | Simplify calls to IPython API | jupyter-widgets_ipywidgets | train |
022d181bafea20f5abb58bc71b5ba4954fcbef92 | diff --git a/src/Provider/DebugServiceProvider.php b/src/Provider/DebugServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Provider/DebugServiceProvider.php
+++ b/src/Provider/DebugServiceProvider.php
@@ -93,7 +93,7 @@ class DebugServiceProvider implements ServiceProviderInterface
}
// Thrown ... | Remove debug. prefix from error_handler and exception_handler keys since they are separate from debugging. | bolt_bolt | train |
cf6fca4210fbf55bc38b9b6267c8f6e79ef10310 | diff --git a/src/main/java/com/shapesecurity/functional/data/ImmutableSet.java b/src/main/java/com/shapesecurity/functional/data/ImmutableSet.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/shapesecurity/functional/data/ImmutableSet.java
+++ b/src/main/java/com/shapesecurity/functional/data/ImmutableSet.java
@... | Nonnullify ImmutableSet (#<I>) | shapesecurity_shape-functional-java | train |
38900c5079ae733e910dac19a057710fcc9ffa81 | diff --git a/telethon/events/callbackquery.py b/telethon/events/callbackquery.py
index <HASH>..<HASH> 100644
--- a/telethon/events/callbackquery.py
+++ b/telethon/events/callbackquery.py
@@ -264,9 +264,15 @@ class CallbackQuery(EventBuilder):
since the message object is normally not present.
... | Fix CallbackQuery.edit for normal queries (0b4d<I>) | LonamiWebs_Telethon | train |
c9d60f9c39c0edc5e5847b9221d122374d43529f | diff --git a/zuul-core/src/test/java/com/netflix/zuul/netty/server/ClientRequestReceiverTest.java b/zuul-core/src/test/java/com/netflix/zuul/netty/server/ClientRequestReceiverTest.java
index <HASH>..<HASH> 100644
--- a/zuul-core/src/test/java/com/netflix/zuul/netty/server/ClientRequestReceiverTest.java
+++ b/zuul-core/... | Add tests to verify uri encoding w/ query params | Netflix_zuul | train |
038f7b734d327328daa88f83075c48466cc0a954 | diff --git a/js/coinspot.js b/js/coinspot.js
index <HASH>..<HASH> 100644
--- a/js/coinspot.js
+++ b/js/coinspot.js
@@ -3,7 +3,7 @@
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
-const { ExchangeError, AuthenticationError } = require ('.... | added NotSupported exception to coinspot | ccxt_ccxt | train |
b0f6a19e93bb4c6a37fcc1a0336e0a034e5124d2 | diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
+++ b/src/Symfony/Bund... | [FrameworkBundle] Remove a legacy test. | symfony_symfony | train |
5ba7872704f8f161d5a0753d17d6ddfd9617c391 | diff --git a/examples/stmarks-tool-provider/common.inc.php b/examples/stmarks-tool-provider/common.inc.php
index <HASH>..<HASH> 100644
--- a/examples/stmarks-tool-provider/common.inc.php
+++ b/examples/stmarks-tool-provider/common.inc.php
@@ -13,17 +13,28 @@ define('CANVAS_INSTANCE_URL', 'canvas_instance_url');
/* p... | Example instance URL detection logic
Reworked to detect CANVAS_INSTANCE_URL in order from:
1. custom_canvas_api_domain provided by LTI authentication request
2. Detected HTTP_REFERER information
3. Configuration file
Also caught an assign-by-reference error. | smtech_reflexive-canvas-lti | train |
e015c42df1d75b2fbf6eb4340c4d4b378b1d4d8d | diff --git a/ruby_event_store/lib/ruby_event_store/client.rb b/ruby_event_store/lib/ruby_event_store/client.rb
index <HASH>..<HASH> 100644
--- a/ruby_event_store/lib/ruby_event_store/client.rb
+++ b/ruby_event_store/lib/ruby_event_store/client.rb
@@ -173,12 +173,10 @@ module RubyEventStore
def with_metadata(meta... | No need for aditional begin...ensure block here | RailsEventStore_rails_event_store | train |
2eeefd686f3b0a8cfd3a649b9335541fc22780cc | diff --git a/integration/librepo_build.integration.js b/integration/librepo_build.integration.js
index <HASH>..<HASH> 100644
--- a/integration/librepo_build.integration.js
+++ b/integration/librepo_build.integration.js
@@ -35,6 +35,11 @@ const config = {
describe('BuildLibraryRepository', () => {
+ before(function... | increase timeout for build repo integration tests | particle-iot_particle-library-manager | train |
de7da013f3d8d1fc6296e81285aeb1a70fd2fda3 | diff --git a/src/Gliph/Traversal/BFSTopSort.php b/src/Gliph/Traversal/BFSTopSort.php
index <HASH>..<HASH> 100644
--- a/src/Gliph/Traversal/BFSTopSort.php
+++ b/src/Gliph/Traversal/BFSTopSort.php
@@ -37,7 +37,7 @@ class BFSTopSort implements \IteratorAggregate {
});
while (!$queue->isEmpty()) {
- ... | Better name for next vertex fetching method. | sdboyer_gliph | train |
b12bd36eaaae2879e722365697da008ad8912e45 | diff --git a/core/common/src/main/java/org/openengsb/core/common/util/DefaultOsgiUtilsService.java b/core/common/src/main/java/org/openengsb/core/common/util/DefaultOsgiUtilsService.java
index <HASH>..<HASH> 100644
--- a/core/common/src/main/java/org/openengsb/core/common/util/DefaultOsgiUtilsService.java
+++ b/core/co... | [OPENENGSB-<I>] add test for creating invalid service | openengsb_openengsb | train |
555bb2a15cd7a55314efc12e72781419b4979b43 | diff --git a/src/Jobs/Controller/ImportController.php b/src/Jobs/Controller/ImportController.php
index <HASH>..<HASH> 100644
--- a/src/Jobs/Controller/ImportController.php
+++ b/src/Jobs/Controller/ImportController.php
@@ -18,7 +18,6 @@ use Organizations\Entity\Employee;
use Zend\Json\Json;
use Zend\Mvc\Controller\Ab... | [Jobs] fixes ServiceNotCreatedException: An exception was raised while creating "ExternalApplicationAdapter"; no instance returned | yawik_jobs | train |
e5b50ddf8d1fdc6fe4f0fec7039dee7286216984 | diff --git a/symphony/content/content.blueprintsdatasources.php b/symphony/content/content.blueprintsdatasources.php
index <HASH>..<HASH> 100644
--- a/symphony/content/content.blueprintsdatasources.php
+++ b/symphony/content/content.blueprintsdatasources.php
@@ -232,22 +232,24 @@
$li->appendChild($label);
$ol... | Prevented entering forloop when there are no filters | symphonycms_symphony-2 | train |
71a703cf3eafd0e4e475a6ec97da32fb73be641c | diff --git a/normalize/selector.py b/normalize/selector.py
index <HASH>..<HASH> 100644
--- a/normalize/selector.py
+++ b/normalize/selector.py
@@ -414,8 +414,8 @@ class MultiFieldSelector(object):
def __str__(self):
return "<MultiFieldSelector: %s>" % (
- ",".join(head if self.heads[tail] is ... | Fix MultiFieldSelector stringification
Both of these methods had a bug. Test that both the informal and the
source representation stringification methods behave. | hearsaycorp_normalize | train |
982c9b197525939eedc2cdc01402027b760b9e85 | diff --git a/src/EventSubscriber/ShowGeneratedFiles.php b/src/EventSubscriber/ShowGeneratedFiles.php
index <HASH>..<HASH> 100644
--- a/src/EventSubscriber/ShowGeneratedFiles.php
+++ b/src/EventSubscriber/ShowGeneratedFiles.php
@@ -43,7 +43,7 @@ class ShowGeneratedFiles implements EventSubscriberInterface
}
... | Implement showGeneratedFiles from MessageHelper | hechoendrupal_drupal-console | train |
97c5f037ee8efb7de0613efac62ee5f2e0b6f040 | diff --git a/PyMI/src/wmi/__init__.py b/PyMI/src/wmi/__init__.py
index <HASH>..<HASH> 100644
--- a/PyMI/src/wmi/__init__.py
+++ b/PyMI/src/wmi/__init__.py
@@ -13,7 +13,8 @@
# License for the specific language governing permissions and limitations
# under the License.
-import datetime
+import ctypes
+from ctyp... | Sets MI protocol bases on target host or local OS
Prefers WINRM for remote connections and WMIDCOM
for local ones. Sets WINRM for localhost connections
on Windows versions prior to <I> due to issues
with method calls when using WMIDCOM. | cloudbase_PyMI | train |
f472e0c4480a2a96792283335b4afb715ce926f1 | diff --git a/src/Engine.php b/src/Engine.php
index <HASH>..<HASH> 100644
--- a/src/Engine.php
+++ b/src/Engine.php
@@ -171,7 +171,8 @@ class Engine implements EngineInterface, TemplateAware, FinderAware
*/
public function addFolder($path, $name = null)
{
- $this->finder()->in([$name => $path]);
+... | Minor change on Engine
Avoid using null as array key in addFolder | FoilPHP_Foil | train |
abed31b6ea01ebacb013b9af357d537400cee73a | diff --git a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/GenModelAccess.java b/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/GenModelAccess.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/GenModelAccess.java
+++ b/p... | [GenModelAccess] improved error message in case the ResourceSet is null | eclipse_xtext-extras | train |
642fac25738c111d70902b89ff594d89f917db45 | diff --git a/floyd/util/object.py b/floyd/util/object.py
index <HASH>..<HASH> 100644
--- a/floyd/util/object.py
+++ b/floyd/util/object.py
@@ -16,8 +16,6 @@
# Python Object Oriented Helper Functions
#---------------------------------------------------------------------------
-import logging
-
def hasmethod(obj, ... | added bunch object and recursive dict | nikcub_floyd | train |
a208dac5e1e422d82d195b2345d3de7c8eb09fbc | diff --git a/packages/core/src/batch/BatchPluginFactory.js b/packages/core/src/batch/BatchPluginFactory.js
index <HASH>..<HASH> 100644
--- a/packages/core/src/batch/BatchPluginFactory.js
+++ b/packages/core/src/batch/BatchPluginFactory.js
@@ -39,7 +39,7 @@ export default class BatchPluginFactory
* @param {string}... | Fix BatchRenderer types (#<I>) | pixijs_pixi.js | train |
cf75cff0a704fe4f9037ce607d4016b8adc688d8 | diff --git a/src/Tools/GetVersions.php b/src/Tools/GetVersions.php
index <HASH>..<HASH> 100644
--- a/src/Tools/GetVersions.php
+++ b/src/Tools/GetVersions.php
@@ -8,7 +8,7 @@ class GetVersions
{
public function hasToolVersion(array $toolSettings, $operator, $version)
{
- $versions = $this->__invoke(['... | Versions - hotfix comparing psalm version from custom binary | EdgedesignCZ_phpqa | train |
543f331ef449f33c2eabd64adf332742fd05cbb1 | diff --git a/examples/customised/docgen.config.js b/examples/customised/docgen.config.js
index <HASH>..<HASH> 100644
--- a/examples/customised/docgen.config.js
+++ b/examples/customised/docgen.config.js
@@ -1,3 +1,4 @@
module.exports = {
- outFile: 'docs/components/docs.md'
+ outFile: 'docs/components/docs.md',
+ apiO... | docs: inform cli of customised alias | vue-styleguidist_vue-styleguidist | train |
e0ac26535302aa9663cc4d44ad2ec59fb028d72c | diff --git a/demo/dist/index.html b/demo/dist/index.html
index <HASH>..<HASH> 100644
--- a/demo/dist/index.html
+++ b/demo/dist/index.html
@@ -4,13 +4,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" cont... | adding disabled and minimal options to SelectField | TeselaGen_teselagen-react-components | train |
39ce463d31a4c71bcd504ab68b0a3109aefb447f | diff --git a/pyrtl/core.py b/pyrtl/core.py
index <HASH>..<HASH> 100644
--- a/pyrtl/core.py
+++ b/pyrtl/core.py
@@ -214,11 +214,32 @@ class Block(object):
return None
def __iter__(self):
- """Return a generator object that yields the block's LogicNets in topological order.
+ """ BlockIt... | fixed Block Iterator
Removed the BlockIterator Class because it is unnecessary | UCSBarchlab_PyRTL | train |
112601294c3c76273322ecc4e5f995e34f27b6f6 | diff --git a/recipe/deploy/shared.php b/recipe/deploy/shared.php
index <HASH>..<HASH> 100644
--- a/recipe/deploy/shared.php
+++ b/recipe/deploy/shared.php
@@ -17,6 +17,9 @@ task('deploy:shared', function () {
}
foreach (get('shared_dirs') as $dir) {
+ // Make sure all path without tailing slash.
+ ... | Fix shared dir with trailing slash | deployphp_deployer | train |
64f1c888f288a71c01f17f31257bcf77c7b97e5d | diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -746,8 +746,8 @@ module ActiveSupport
#
# * <tt>:skip_after_call... | Wording fixes for `:skip_after_callbacks_if_terminated` callbacks option | rails_rails | train |
75ddf81c2e2f80f5b324bd212437e5637b44f658 | diff --git a/query/src/main/java/org/infinispan/query/backend/KeyTransformationHandler.java b/query/src/main/java/org/infinispan/query/backend/KeyTransformationHandler.java
index <HASH>..<HASH> 100644
--- a/query/src/main/java/org/infinispan/query/backend/KeyTransformationHandler.java
+++ b/query/src/main/java/org/infi... | ISPN-<I> Throw a better error than NPE on unknown type indexing of keys | infinispan_infinispan | train |
471326b26154bd6a4d2ed03fdfd44779e61a1723 | diff --git a/lib/checks/shared/alt.js b/lib/checks/shared/alt.js
index <HASH>..<HASH> 100644
--- a/lib/checks/shared/alt.js
+++ b/lib/checks/shared/alt.js
@@ -1 +1,2 @@
-return !!kslib.text.sanitize(node.alt).trim();
\ No newline at end of file
+var label = node.getAttribute('alt');
+return !!(label ? kslib.text.saniti... | Make aria-label and alt more robust, less likely to throw exceptions | dequelabs_axe-core | train |
62e355d7306712cb5d2fd15706294a5eb6b1eddf | diff --git a/changelog.py b/changelog.py
index <HASH>..<HASH> 100644
--- a/changelog.py
+++ b/changelog.py
@@ -22,8 +22,8 @@ def format_rpm(tag):
dstr = date.strftime('%a %b %d %Y')
tagger = tago.tagger
message = tago.message.split('\n')[0]
- return "* {} {} <{}>\n- {}\n".format(dstr, tagger.name, tag... | changelog: removed empty lines for rpm | gwpy_gwpy | train |
04fb821124b80763928117483bfff46593ca0149 | diff --git a/src/client/pfs.go b/src/client/pfs.go
index <HASH>..<HASH> 100644
--- a/src/client/pfs.go
+++ b/src/client/pfs.go
@@ -3,6 +3,7 @@ package client
import (
"bytes"
"context"
+ "fmt"
"io"
"path/filepath"
"sync"
@@ -13,6 +14,9 @@ import (
"github.com/pachyderm/pachyderm/src/server/pkg/errutil"
)
... | Apply max header/footer size for putfile split | pachyderm_pachyderm | train |
00823d51d4c7868dc2a777c0585465a811432415 | diff --git a/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/OClusterPositionAllocatorDatabase.java b/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/OClusterPositionAllocatorDatabase.java
index <HASH>..<HASH> 100644
--- a/distributed/src/main/java/com/orien... | fixed allocator update when some clusters are created and dropped | orientechnologies_orientdb | train |
d14c440dba58baab85148b363bda176a7cf47ef9 | diff --git a/src/Tree/NodeInterface.php b/src/Tree/NodeInterface.php
index <HASH>..<HASH> 100644
--- a/src/Tree/NodeInterface.php
+++ b/src/Tree/NodeInterface.php
@@ -15,6 +15,8 @@ interface NodeInterface extends EntityInterface
public function parentId();
+ public function idName(): string;
+
public f... | fix: parentId saving inside nested set | ixocreate_database-package | train |
3379a2a37f1feb366c5c2837eb561437f5fdb37f | diff --git a/launch_control/utils/json/__init__.py b/launch_control/utils/json/__init__.py
index <HASH>..<HASH> 100644
--- a/launch_control/utils/json/__init__.py
+++ b/launch_control/utils/json/__init__.py
@@ -22,6 +22,9 @@ all required methods are written explicitly. Then it shows how the POD
class can help reduce t... | Add a note that utils.json supports two json backed implementations | zyga_json-schema-validator | train |
7530c0aff25c7a9bcbb8c67dadf747ec34a47a91 | diff --git a/test/integration/config.js b/test/integration/config.js
index <HASH>..<HASH> 100644
--- a/test/integration/config.js
+++ b/test/integration/config.js
@@ -1 +1 @@
-export const INSTANCE_HOST = 'localhost:10443'
+export const INSTANCE_HOST = 'localhost:10443';
diff --git a/test/integration/subscribe.test.js ... | Formatting and header fixes in subscribe test | pusher_pusher-platform-js | train |
56f3100214d1274e876f657632913f397bbfd04d | diff --git a/src/DuplexResourceStream.php b/src/DuplexResourceStream.php
index <HASH>..<HASH> 100644
--- a/src/DuplexResourceStream.php
+++ b/src/DuplexResourceStream.php
@@ -131,11 +131,13 @@ final class DuplexResourceStream extends EventEmitter implements DuplexStreamInt
$this->writable = false;
$... | Replace internal removeStream() with removeReadStream() | reactphp_stream | train |
f3fa339e3ba18e1d2cb7d542e7c26ac717485c7e | diff --git a/lib/natural/util/utils.js b/lib/natural/util/utils.js
index <HASH>..<HASH> 100644
--- a/lib/natural/util/utils.js
+++ b/lib/natural/util/utils.js
@@ -50,7 +50,7 @@ function replacer(translationTable) {
for (key in translationTable) {
// Escaping regexp special chars.
- key = key.replace(/(\^|\... | Escape backslash in regexps | NaturalNode_natural | train |
68b54084d1028d9b903778ad5c819b4d4e9accec | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -18,10 +18,8 @@ var gmerge = require('gulp-merge')
var concat = require('gulp-concat')
var argv = require('minimist')(process.argv.slice(2))
var mediator = require('bespoke-synchro/mediator')
-var pdf = require(... | know generating pdfs in gui | deckjs_deck-presenter | train |
aa34521f35cedce2c9ff5e57a6dec82c7a9b1c81 | diff --git a/flask_socketio/__init__.py b/flask_socketio/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_socketio/__init__.py
+++ b/flask_socketio/__init__.py
@@ -53,8 +53,10 @@ class SocketIO(object):
multiple clusters of SocketIO processes need to use the
same message que... | add path as an argument to Socket.IO, as an alias to resource | miguelgrinberg_Flask-SocketIO | train |
a1312d51c2c15952ec489dc14f3a887b48e8a116 | diff --git a/skorch/tests/test_utils.py b/skorch/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/skorch/tests/test_utils.py
+++ b/skorch/tests/test_utils.py
@@ -710,7 +710,7 @@ class TestInferPredictNonlinearity:
X = torch.rand((20, 5))
out = fn(X).numpy()
- assert np.allclose(out.sum(1... | Reviewer comment: explicit axis keyword | skorch-dev_skorch | train |
02feac7321d93128ad75f310cc0f522d2b86ef2e | diff --git a/lib/csv_party/dsl.rb b/lib/csv_party/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/csv_party/dsl.rb
+++ b/lib/csv_party/dsl.rb
@@ -41,7 +41,7 @@ module CSVParty
end
def errors(setting = nil, &block)
- @error_processor = setting || block
+ @error_handler = setting || block
... | Refactor error processing code
- Switch verb from process to handle, so error_processor becomes
error_handler, etc.
- Use instance variables to access the error_handler, rather than
have accessor methods. | toasterlovin_csv_party | train |
4c73e759e10a336bcf8bf605e68654a2259ec890 | diff --git a/Query/Builder.php b/Query/Builder.php
index <HASH>..<HASH> 100755
--- a/Query/Builder.php
+++ b/Query/Builder.php
@@ -820,6 +820,24 @@ class Builder {
}
/**
+ * Add a raw "order by" clause to the query.
+ *
+ * @param string $sql
+ * @param array $bindings
+ * @return \Illuminate\Database\Qu... | added orderByRaw method to query builder. | illuminate_database | train |
eedff5972cd05e0f2c57fcdd33d309b45ba68316 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -3,6 +3,7 @@ package main
import (
"bytes"
"compress/gzip"
+ "encoding/base64"
"flag"
"fmt"
"io/ioutil"
@@ -10,6 +11,7 @@ import (
"os"
"path"
"path/filepath"
+ "regexp"
"sort"
"strings"
)
@@ -18,6 +20,7 @@ v... | Add various options
Condense flag to generate base<I> instead of quoted string as it is usually
more than 2x smaller.
Ignore flag to specify regexp for files to ignore.
Dir function to tightly control serving part of the FS instead of the whole
thing. | mjibson_esc | train |
5349d48659909ac8f966a61199a1ec8bc44dd74b | diff --git a/src/controllers/AutologinController.php b/src/controllers/AutologinController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/AutologinController.php
+++ b/src/controllers/AutologinController.php
@@ -46,7 +46,7 @@ class AutologinController extends Controller {
}
// Token was invalid, redirect... | Fix redirection to home on invalid token | dwightwatson_autologin | train |
83d0f93a148ee3e0084fe38e9b62b6a0f7fe6951 | diff --git a/lib/fluent/test/driver/output.rb b/lib/fluent/test/driver/output.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/test/driver/output.rb
+++ b/lib/fluent/test/driver/output.rb
@@ -44,8 +44,7 @@ module Fluent
def run_actual(**kwargs, &block)
val = super(**kwargs, &block)
if @flu... | fix to refer @wait_flush_completion | fluent_fluentd | train |
43700bb76306cb0c64d97b959b5ad580fd42a01d | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -97,7 +97,7 @@ module.exports = function(grunt) {
build: {
singleRun: true,
autoWatch: false
- }
+ },
dev: {
autoWatch: true
}
@@ -134,17 +134,6 @@ modu... | added karma testing to Grunt build task | angular-cron-jobs_angular-cron-jobs | train |
e2e71f13b0f1574f8c62020e4b1dbb4d8d86715e | diff --git a/inputs/Checkbox.js b/inputs/Checkbox.js
index <HASH>..<HASH> 100644
--- a/inputs/Checkbox.js
+++ b/inputs/Checkbox.js
@@ -14,7 +14,7 @@ var component = dd.createClass({
checked: !!value,
name: field.name,
onChange: this.__onChange,
- disabled: field.read_only ? 'disabled' ... | added disabled option to Checkbox, File, and Text | espeakers_react-loose-forms.bootstrap3 | train |
7daa2d338c8e44141cc9b983df54713c43dba568 | diff --git a/lib/celluloid/mailbox.rb b/lib/celluloid/mailbox.rb
index <HASH>..<HASH> 100644
--- a/lib/celluloid/mailbox.rb
+++ b/lib/celluloid/mailbox.rb
@@ -32,7 +32,7 @@ module Celluloid
begin
@waker.signal
- rescue Celluloid::WakerError
+ rescue WakerError
# Si... | Handle Celluloid::WakerErrors which occur during Celluloid::Mailbox#receive | celluloid_celluloid | train |
f439e39aae68018394250a04ce2ab5dca7cf97db | diff --git a/lib/itamae/resource/directory.rb b/lib/itamae/resource/directory.rb
index <HASH>..<HASH> 100644
--- a/lib/itamae/resource/directory.rb
+++ b/lib/itamae/resource/directory.rb
@@ -13,6 +13,8 @@ module Itamae
case @current_action
when :create
attributes.exist = true
+ when ... | Add action_delete method to resource/directory.rb | itamae-kitchen_itamae | train |
e77ef353f0ec74e4ea819354545848e3cd2ac51d | diff --git a/tensorflow_hub/native_module.py b/tensorflow_hub/native_module.py
index <HASH>..<HASH> 100644
--- a/tensorflow_hub/native_module.py
+++ b/tensorflow_hub/native_module.py
@@ -1032,14 +1032,20 @@ def find_signature_input_colocation_error(signature_name, inputs):
def find_signature_inputs_from_multivalued_... | Fix warning in hub.add_signature() for inputs from multi-valued ops to handle
SparseTensors correctly, that is, each op separately. Between last week and
now, there was no warning but an AtttributeError for SparseTensor.name.
PiperOrigin-RevId: <I> | tensorflow_hub | train |
1dbe03135e9b3c8be21835cf3dc4599f20572d50 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
+import datetime
import mock
import re
import os
@@ -62,7 +63,8 @@ master_doc = 'index'
# General information about the project.
project = 'a... | Do not harcode year in copyright in docs (#<I>)
* Do not harcode year in copyright in docs
* Made flake8 happy
* Hotfix | albu_albumentations | train |
e01fa86f16519932656c849fb6475cad6ea09679 | diff --git a/picoweb/__init__.py b/picoweb/__init__.py
index <HASH>..<HASH> 100644
--- a/picoweb/__init__.py
+++ b/picoweb/__init__.py
@@ -57,7 +57,7 @@ class HTTPRequest:
class WebApp:
def __init__(self, routes):
- self.routes = routes
+ self.url_map = routes
def _handle(self, reader, writ... | WebApp: Renaming app's attribute to .url_map, for compat with Flask.
It's unclear how much real compatibility this will give, but at least naming
will be consistent. | pfalcon_picoweb | train |
3039c6a96c908ad8e3451937200036c47623ea92 | diff --git a/expect_that.go b/expect_that.go
index <HASH>..<HASH> 100644
--- a/expect_that.go
+++ b/expect_that.go
@@ -67,8 +67,9 @@ func expectThat(
errorParts ...interface{}) expectationResult {
res := &expectationResultImpl{}
- // Get information about the call site.
- _, file, lineNumber, ok := runtime.Caller... | Fixed a caller-finding bug. | jacobsa_ogletest | train |
0de0b838a01097ce5d2662fb0c6e9032d712668b | diff --git a/Task/Collect/ServicesCollector.php b/Task/Collect/ServicesCollector.php
index <HASH>..<HASH> 100644
--- a/Task/Collect/ServicesCollector.php
+++ b/Task/Collect/ServicesCollector.php
@@ -176,7 +176,7 @@ class ServicesCollector extends CollectorBase {
continue;
}
- // Skip if the clas... | Fixed services getting skipped in analysis if their declared class is in fact an interface. | drupal-code-builder_drupal-code-builder | train |
882a45746081ee794dc3eb4bd88fa2760a866071 | diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/parser/scope.rb
+++ b/lib/puppet/parser/scope.rb
@@ -278,6 +278,7 @@ class Puppet::Parser::Scope
# or in a specific visible named scope.
#
# @param varname [String] the name of the variable (may be... | Correct change of [] and []= to have additional options.
There was an error referencing unknown variable "option" vs, "options"
This also adds yard doc and makes it clear that options are not API. | puppetlabs_puppet | train |
55f5da69f9eaa9b387a9c41a2265e0d420b7d0e6 | diff --git a/GPy/testing/kernel_tests.py b/GPy/testing/kernel_tests.py
index <HASH>..<HASH> 100644
--- a/GPy/testing/kernel_tests.py
+++ b/GPy/testing/kernel_tests.py
@@ -258,20 +258,20 @@ class KernelGradientTestsContinuous(unittest.TestCase):
# self.N, self.D = 100, 1
# self.X = np.random.randn(self... | Added test for independent kern | SheffieldML_GPy | train |
811dcaaaeb9f460afcdd2e11649bcfba0d317bca | diff --git a/lib/rg.js b/lib/rg.js
index <HASH>..<HASH> 100644
--- a/lib/rg.js
+++ b/lib/rg.js
@@ -19,12 +19,26 @@
}
let uid = 0
rg.uid = () => uid++
- rg.xhr = function(method, src, onload) {
- const req = new XMLHttpRequest()
- req.onload = function() {
- if (rg.isFunction(onload)) onload(req.res... | Update rg.xhr in furtherance of closing issue #<I>
OK, so full disclosure: I did this in coffeescript and ran it through the transpiler at coffeescript.org. But it works for me so far. | RiotGear_rg | train |
e362270da0fc3f2de8b20958f4d6f168da497449 | diff --git a/src/context/LineContext.js b/src/context/LineContext.js
index <HASH>..<HASH> 100644
--- a/src/context/LineContext.js
+++ b/src/context/LineContext.js
@@ -203,7 +203,7 @@ class LineContext extends Context implements PlatformContext {
* This feature is only available for LINE@ Approved accounts or offici... | fix getAllMemberIds type (#<I>) | Yoctol_bottender | train |
2fe96f42224cebd2a0e1933c655c7b98ee466383 | diff --git a/tasks/jsinspect.js b/tasks/jsinspect.js
index <HASH>..<HASH> 100644
--- a/tasks/jsinspect.js
+++ b/tasks/jsinspect.js
@@ -30,6 +30,11 @@ module.exports = function(grunt) {
identifiers: options.identifiers
});
+ if (!Reporter.hasOwnProperty(options.reporter) || typeof Reporter[options.repor... | Proper error message when configured report is invalid | stefanjudis_grunt-jsinspect | train |
e409ade7c2ee12cb84c2ce46a1e31d40f6c68c96 | diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -140,7 +140,7 @@ def collectstatic():
def create_local_settings():
- with cd(SETTINGS_PATH), settings(user=env.superuser):
+ with cd(SETTINGS_PATH):
env_local_settings = 'local_settings-{}.py'.forma... | Update fabfile for centos | colab_colab | train |
38e8b5709dab3fef5f3858ee2514f3ea705de0d3 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -127,6 +127,17 @@ $product = Product::find(10);
$product->reindex();
```
+## Concurrency Control
+
+Elasticsearch assumes that no document conflict will arise during indexing and as such, it doesn't provide automatic c... | Add indexWithVersion method for concurrency control | fadion_Bouncy | train |
d44cc2ba14c2dd6d9478129ef5927f866cd81194 | diff --git a/spec/combine/results_combiner_spec.rb b/spec/combine/results_combiner_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/combine/results_combiner_spec.rb
+++ b/spec/combine/results_combiner_spec.rb
@@ -4,7 +4,13 @@ require "helper"
describe SimpleCov::Combine::ResultsCombiner do
describe "with two faked ... | Fix another leak
Branch coverage needs to be enabled for this test to properly run. | colszowka_simplecov | train |
276ba00f709b01e8a8a93cac37a65e4d30c50be4 | diff --git a/lib/client.js b/lib/client.js
index <HASH>..<HASH> 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -54,12 +54,12 @@ class Client extends ClientBase {
autoDestroy: true,
read: resume,
destroy (err, callback) {
+ resume()
+
if (!err && !this._readabl... | fix: destroy if not readable | mcollina_undici | train |
1b0f8f8ec96aadfb7fd106677f3b5b0be24cec85 | diff --git a/src/adafruit_blinka/microcontroller/esp8266/pin.py b/src/adafruit_blinka/microcontroller/esp8266/pin.py
index <HASH>..<HASH> 100755
--- a/src/adafruit_blinka/microcontroller/esp8266/pin.py
+++ b/src/adafruit_blinka/microcontroller/esp8266/pin.py
@@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT
"""ESP8266 p... | Fix cyclic import and Pin class type | adafruit_Adafruit_Blinka | train |
43daa69bcb739f193ad4c0b1ad096b181c0d3759 | diff --git a/spec/origin/selectable_spec.rb b/spec/origin/selectable_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/origin/selectable_spec.rb
+++ b/spec/origin/selectable_spec.rb
@@ -4218,5 +4218,21 @@ describe Origin::Selectable do
end
end
end
+
+ context "when using the strategies via #where" ... | Adding extra test around merging strategies | mongoid_origin | train |
4a3b3fafe7ea8fe228f8caf5f71b20e2fc6a104e | diff --git a/lib/resque/failure/hoptoad.rb b/lib/resque/failure/hoptoad.rb
index <HASH>..<HASH> 100644
--- a/lib/resque/failure/hoptoad.rb
+++ b/lib/resque/failure/hoptoad.rb
@@ -96,7 +96,7 @@ module Resque
end
end
x.tag!("server-environment") do
- x.tag!("environment-name"... | Don't depend on RAILS_ENV in hoptoad failure backend
Checks if RAILS_ENV is defined? and if so, uses that.
Otherwise, tries to use ENV['RACK_ENV'] and if that
isn't available, falls back to 'development'.
Extracts this into it's own method so that subclasses
can overwrite the method to use, say ENV['MERB_ENV'] | resque_resque | train |
40a5a0dea6dab9a8fc3f5f2dddada4d32223229f | diff --git a/thinc/tests/layers/test_pytorch_wrapper.py b/thinc/tests/layers/test_pytorch_wrapper.py
index <HASH>..<HASH> 100644
--- a/thinc/tests/layers/test_pytorch_wrapper.py
+++ b/thinc/tests/layers/test_pytorch_wrapper.py
@@ -4,6 +4,7 @@ from thinc.api import chain, get_current_ops, Relu
from thinc.backends impor... | Fix a unit test in the PyTorch wrapper (#<I>)
* Fix a unit test in the PyTorch wrapper
This test checked whether the allocator was set to the PyTorch allocator
when the PyTorch shim is used. However, this is not the case when
PyTorch is installed, but CuPy isn't, so the test would fail. Since this
test relies on... | explosion_thinc | train |
e3414292105069318bd44f685eb3d73857aa1897 | diff --git a/pymc3/gp/cov.py b/pymc3/gp/cov.py
index <HASH>..<HASH> 100644
--- a/pymc3/gp/cov.py
+++ b/pymc3/gp/cov.py
@@ -294,19 +294,19 @@ class Gibbs(Covariance):
Parameters
----------
- warp_func : callable
+ lengthscale_func : callable
Theano function of X and additional optional argumen... | some cleanup to gibbs cov, fixed test, made similar to WarpedInput | pymc-devs_pymc | train |
f66ab7ea6900b1b590a15ca456cbbe1446547609 | diff --git a/platform/bb/rhodes/src/com/rho/net/NetworkAccess.java b/platform/bb/rhodes/src/com/rho/net/NetworkAccess.java
index <HASH>..<HASH> 100644
--- a/platform/bb/rhodes/src/com/rho/net/NetworkAccess.java
+++ b/platform/bb/rhodes/src/com/rho/net/NetworkAccess.java
@@ -154,11 +154,27 @@ public class NetworkAccess ... | connect without postfix if connect with postfix failed. | rhomobile_rhodes | train |
3d3fd39caa8f938a44fffc1c39bde8f0170e8f18 | diff --git a/actionpack/lib/action_view/renderer/template_renderer.rb b/actionpack/lib/action_view/renderer/template_renderer.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_view/renderer/template_renderer.rb
+++ b/actionpack/lib/action_view/renderer/template_renderer.rb
@@ -29,8 +29,11 @@ module ActionView
... | Fix gratuitous use of ternary operator | rails_rails | train |
442edd1566a891c490de465a8df6e3b026ba662c | diff --git a/tests/unit/test__surface_helpers.py b/tests/unit/test__surface_helpers.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test__surface_helpers.py
+++ b/tests/unit/test__surface_helpers.py
@@ -2603,8 +2603,8 @@ class TestIntersectionClassification(unittest.TestCase):
self.assertEqual(set(python_membe... | Fixing cover (moving uncovered enum branch from PY2 to PY3). | dhermes_bezier | train |
d9a886b726a86fd1876c8a592e7f674fb63e44b1 | diff --git a/segno/scripts/cmd.py b/segno/scripts/cmd.py
index <HASH>..<HASH> 100644
--- a/segno/scripts/cmd.py
+++ b/segno/scripts/cmd.py
@@ -21,21 +21,25 @@ import segno
from segno import writers
import sys
+
# file extension to supported keywords mapping
_EXT_TO_KW_MAPPING = {}
for ext, func in writers._VAL... | Make Py3 happy, docs | heuer_segno | train |
c1361eca60cb149af951a89ce87b0f3e28a4d6d4 | diff --git a/aws/resource_aws_codestarnotifications_notification_rule.go b/aws/resource_aws_codestarnotifications_notification_rule.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_codestarnotifications_notification_rule.go
+++ b/aws/resource_aws_codestarnotifications_notification_rule.go
@@ -15,6 +15,7 @@ import ... | codestarnotifications: Create verify package | terraform-providers_terraform-provider-aws | train |
d4d9833224795b274a2f12f89d3af75faa1b33f4 | diff --git a/dev/test/cypress/integration/web-extend.spec.js b/dev/test/cypress/integration/web-extend.spec.js
index <HASH>..<HASH> 100644
--- a/dev/test/cypress/integration/web-extend.spec.js
+++ b/dev/test/cypress/integration/web-extend.spec.js
@@ -32,7 +32,10 @@ describe('Web extend scripts', function() {
});... | feat(cypress): logout after each test in web-extend cases CDPIP-OPS | emartech_magento2-extension | train |
d4fb998394a389548e91d5f61af3ab77dd03472a | diff --git a/lib/i18n/backend/chain.rb b/lib/i18n/backend/chain.rb
index <HASH>..<HASH> 100644
--- a/lib/i18n/backend/chain.rb
+++ b/lib/i18n/backend/chain.rb
@@ -17,7 +17,7 @@ module I18n
class Chain
module Implementation
include Base
-
+
attr_accessor :backends
def ini... | :scissors: | ruby-i18n_i18n | train |
63030ca2f2630b46acfbb27916f80b93a75b1c68 | diff --git a/httpretty/__init__.py b/httpretty/__init__.py
index <HASH>..<HASH> 100644
--- a/httpretty/__init__.py
+++ b/httpretty/__init__.py
@@ -310,9 +310,7 @@ class fakesock(object):
self._true_sendall(data)
return
- entry = matcher.get_next_entry()
- if ent... | Allow multiple methods for the same URI | gabrielfalcao_HTTPretty | train |
6e0c427e9c7f62b1ad0dd0c4a3b5cae24147b859 | diff --git a/languagetool-core/src/main/java/org/languagetool/Language.java b/languagetool-core/src/main/java/org/languagetool/Language.java
index <HASH>..<HASH> 100644
--- a/languagetool-core/src/main/java/org/languagetool/Language.java
+++ b/languagetool-core/src/main/java/org/languagetool/Language.java
@@ -842,7 +84... | escape replacements in toAdvancedTypography | languagetool-org_languagetool | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.