hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
76b7f07be66e739842f1de6ab46771a3df107ca6 | diff --git a/src/plotypus/lightcurve.py b/src/plotypus/lightcurve.py
index <HASH>..<HASH> 100644
--- a/src/plotypus/lightcurve.py
+++ b/src/plotypus/lightcurve.py
@@ -68,6 +68,8 @@ def get_lightcurve(data, period=None,
while True:
# Find the period of the inliers
signal = get_signal(data)
+ ... | Return none if samples are fewer than folds | astroswego_plotypus | train |
24bc84d168405664d45ca24e523a8b6350f138b3 | diff --git a/lib/ethel/source.rb b/lib/ethel/source.rb
index <HASH>..<HASH> 100644
--- a/lib/ethel/source.rb
+++ b/lib/ethel/source.rb
@@ -1,5 +1,22 @@
module Ethel
class Source
+ include Enumerable
+
+ def schema
+ raise NotImplementedError
+ end
+
+ def each
+ raise NotImplementedError
+ ... | Include Enumerable in Source, add #field_names and #all | coupler_ethel | train |
a3c54d50b3c4a5163537b274565d6d6450d200ea | diff --git a/framework/src/main/java/com/jetdrone/vertx/yoke/middleware/BasicAuth.java b/framework/src/main/java/com/jetdrone/vertx/yoke/middleware/BasicAuth.java
index <HASH>..<HASH> 100644
--- a/framework/src/main/java/com/jetdrone/vertx/yoke/middleware/BasicAuth.java
+++ b/framework/src/main/java/com/jetdrone/vertx/... | Suppress ArrayIndexOutOfBoundsException to allow retry login
Browser will not response after click log in button leaving both username and password blank. | pmlopes_yoke | train |
20452bd3409c2a996ed89c6df67fe4d780a700af | diff --git a/src/kg/apc/jmeter/perfmon/AgentConnector.java b/src/kg/apc/jmeter/perfmon/AgentConnector.java
index <HASH>..<HASH> 100644
--- a/src/kg/apc/jmeter/perfmon/AgentConnector.java
+++ b/src/kg/apc/jmeter/perfmon/AgentConnector.java
@@ -79,7 +79,7 @@ public class AgentConnector
private String getData(String d... | Fix issue 7 - some perfom charts do not detect connection lost | undera_jmeter-plugins | train |
b7455bc353c68d2224ba8cefb319c53de4b54d74 | diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py
index <HASH>..<HASH> 100644
--- a/ryu/ofproto/ofproto_v1_4_parser.py
+++ b/ryu/ofproto/ofproto_v1_4_parser.py
@@ -2324,6 +2324,24 @@ class OFPActionSetQueue(OFPAction):
offset, self.type, self.len, self.queue_id)... | Add OF<I> DecMplsTtl action support | osrg_ryu | train |
2b99d069b22557cf87f3caacfb50251e3cf6c2ee | diff --git a/src/Composer/Repository/PathRepository.php b/src/Composer/Repository/PathRepository.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Repository/PathRepository.php
+++ b/src/Composer/Repository/PathRepository.php
@@ -198,7 +198,6 @@ class PathRepository extends ArrayRepository implements ConfigurableRepos... | Remove dev-master=>dev-main alias from #<I> as it does not work/is missing when reloading from lock file and extracting dev deps, refs #<I> | composer_composer | train |
72f035d466b1d952f43fd97d3986730207dc4475 | diff --git a/src/commands/ExecutableController.php b/src/commands/ExecutableController.php
index <HASH>..<HASH> 100644
--- a/src/commands/ExecutableController.php
+++ b/src/commands/ExecutableController.php
@@ -14,29 +14,41 @@ class ExecutableController extends \yii\console\Controller
{
private $_dirs = [];
... | luya exec command controller changed behavior to retrieve files from
folders. | luyadev_luya | train |
8c63be330e9949b53c1f2a6f90d0dfa9de7e30d3 | diff --git a/batch/extension-jberet/src/main/java/org/wildfly/extension/batch/jberet/BatchSubsystemDefinition.java b/batch/extension-jberet/src/main/java/org/wildfly/extension/batch/jberet/BatchSubsystemDefinition.java
index <HASH>..<HASH> 100644
--- a/batch/extension-jberet/src/main/java/org/wildfly/extension/batch/jb... | [WFLY-<I>] Get the service from registry instead of just the controller. | wildfly_wildfly | train |
9859d8353d5c3eff6abdc726f97bd05cbf91ccfb | diff --git a/src/Way/Generators/Commands/GeneratorCommand.php b/src/Way/Generators/Commands/GeneratorCommand.php
index <HASH>..<HASH> 100644
--- a/src/Way/Generators/Commands/GeneratorCommand.php
+++ b/src/Way/Generators/Commands/GeneratorCommand.php
@@ -3,6 +3,7 @@
use Illuminate\Console\Command;
use Way\Generators\... | Users can set default target directory paths through config | JeffreyWay_Laravel-4-Generators | train |
97fed1985c7307398957e78443d574f3f361d2d2 | diff --git a/aeron-driver/src/main/java/io/aeron/driver/DriverConductor.java b/aeron-driver/src/main/java/io/aeron/driver/DriverConductor.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/DriverConductor.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/DriverConductor.java
@@ -71,7 ... | [Java] Tidy up tracking of time in driver conductor. | real-logic_aeron | train |
7517839dae5267355b5596726d1105acd15d6c1a | diff --git a/Sockets/Datagram.php b/Sockets/Datagram.php
index <HASH>..<HASH> 100644
--- a/Sockets/Datagram.php
+++ b/Sockets/Datagram.php
@@ -60,6 +60,48 @@ class Datagram extends EventEmitter
}
/**
+ * connect this client datagram socket to the given remote address
+ *
+ * Please note that unl... | Add connect() and bind() methods | clue_php-socket-react | train |
0c47740d858cb04c7165bce411584c3b05d155b6 | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -34,6 +34,17 @@ class ActiveSupport::TestCase
end
end
+require "action_controller"
+require "action_controller/test_case"
+class ActionController::TestCase
+ Routes = Action... | Hacky way to mount routes for engine controller tests | rails_rails | train |
e12c8bf5882665c7c4214b919c2ddd7742eded1e | diff --git a/gmgo.go b/gmgo.go
index <HASH>..<HASH> 100644
--- a/gmgo.go
+++ b/gmgo.go
@@ -234,11 +234,11 @@ func (s *DbSession) ReadFile(id, prefix string, file *File) error {
if err != nil {
return err
}
- n := file.ByteLength
+ n := f.Size()
if n == 0 {
n = 8192
}
- b := make([]byte, file.ByteLength)
+... | use primary preferred mode for master mgo session and fixes from jackluo<I> | narup_gmgo | train |
48f707242002522dbd2a96e026c33843cf7ba4e3 | diff --git a/src/com/opencms/file/CmsExport.java b/src/com/opencms/file/CmsExport.java
index <HASH>..<HASH> 100644
--- a/src/com/opencms/file/CmsExport.java
+++ b/src/com/opencms/file/CmsExport.java
@@ -1,7 +1,7 @@
/*
* File : $Source: /alkacon/cvs/opencms/src/com/opencms/file/Attic/CmsExport.java,v $
-* Date : $... | Some minor changes to prevent out-of-memory problems | alkacon_opencms-core | train |
850682b0b57ff7ba924bac871ae7e4f5406933b0 | diff --git a/shimmie.go b/shimmie.go
index <HASH>..<HASH> 100644
--- a/shimmie.go
+++ b/shimmie.go
@@ -1,6 +1,33 @@
package shimmie
-import "time"
+import (
+ "strings"
+ "time"
+)
+
+type Shimmie struct {
+ Store Store
+}
+
+func New(s Store) *Shimmie {
+ return &Shimmie{Store: s}
+}
+
+// Store describes all the o... | Add Shimmie.New and Common | kusubooru_shimmie | train |
3b0035fa86941258ad7d101cf12dfca583171d1d | diff --git a/examples/multigpu_advtrain/model.py b/examples/multigpu_advtrain/model.py
index <HASH>..<HASH> 100644
--- a/examples/multigpu_advtrain/model.py
+++ b/examples/multigpu_advtrain/model.py
@@ -124,8 +124,9 @@ class LayernGPU(Layer):
self.set_input_shape(self.input_shape)
keys_after =... | prevent overriding training and bn_training attributes by removing them from layer's params dictionary. | tensorflow_cleverhans | train |
b9ee9cf572deaa9d69c820b1846c8914871b24b3 | diff --git a/docs/App/ScrollSpy.js b/docs/App/ScrollSpy.js
index <HASH>..<HASH> 100644
--- a/docs/App/ScrollSpy.js
+++ b/docs/App/ScrollSpy.js
@@ -23,7 +23,8 @@ function getStyle(el, prop, numeric = true) {
function isInView(el) {
let rect = el.getBoundingClientRect();
- const topOffset = getStyle(el, 'padding-t... | take margin-top also in account while highting nav item on page | JedWatson_react-select | train |
1ceacdb521ab68bc653cf48a36b4d89f72a1b648 | diff --git a/lib/sevendigital/management/track_manager.rb b/lib/sevendigital/management/track_manager.rb
index <HASH>..<HASH> 100644
--- a/lib/sevendigital/management/track_manager.rb
+++ b/lib/sevendigital/management/track_manager.rb
@@ -18,7 +18,7 @@ module Sevendigital
def build_preview_url(id, options={})
... | fixed track build_preview_url | filip-d_7digital | train |
57940a1bdd688ef3de34015563838a85fe8a2d26 | diff --git a/modules/saml2/lib/Auth/Source/SP.php b/modules/saml2/lib/Auth/Source/SP.php
index <HASH>..<HASH> 100644
--- a/modules/saml2/lib/Auth/Source/SP.php
+++ b/modules/saml2/lib/Auth/Source/SP.php
@@ -19,6 +19,11 @@ class sspmod_saml2_Auth_Source_SP extends SimpleSAML_Auth_Source {
*/
const STAGE_SENT = 'sam... | modules/saml2: Add support for logout. | simplesamlphp_saml2 | train |
7592d6a84c0d54af1f9fad8bded821f77710f2b4 | diff --git a/test/integration/long_test.py b/test/integration/long_test.py
index <HASH>..<HASH> 100755
--- a/test/integration/long_test.py
+++ b/test/integration/long_test.py
@@ -3,7 +3,7 @@ import os
from test_common import *
def test_function(opts, port):
stress_client = opts['stress']
- os.system(stress_cl... | A few changes to the long test. | rethinkdb_rethinkdb | train |
f35ca0faf0bcc4ba6f09dbc11e90ceae02405ca8 | diff --git a/activerecord/lib/active_record/tasks/database_tasks.rb b/activerecord/lib/active_record/tasks/database_tasks.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/tasks/database_tasks.rb
+++ b/activerecord/lib/active_record/tasks/database_tasks.rb
@@ -537,7 +537,7 @@ module ActiveRecord
... | Give precedence to the DatabaseTasks registered last | rails_rails | train |
06317a505424d9d4b59b1d8c23aae738006e4f2d | diff --git a/Net/OpenID/OIDUtil.php b/Net/OpenID/OIDUtil.php
index <HASH>..<HASH> 100644
--- a/Net/OpenID/OIDUtil.php
+++ b/Net/OpenID/OIDUtil.php
@@ -16,7 +16,8 @@
/**
* Prints the specified message using trigger_error(E_USER_NOTICE).
*/
-function Net_OpenID_log($message, $unused_level = 0) {
+function Net_OpenID... | [project @ Fixed brace style] | openid_php-openid | train |
b990295e5692373a21b25b8e36734555857115af | diff --git a/src/SAI/DrupalReleases/Console/Command/SearchCommand.php b/src/SAI/DrupalReleases/Console/Command/SearchCommand.php
index <HASH>..<HASH> 100644
--- a/src/SAI/DrupalReleases/Console/Command/SearchCommand.php
+++ b/src/SAI/DrupalReleases/Console/Command/SearchCommand.php
@@ -49,14 +49,14 @@ class SearchComma... | [Console/Command/SearchCommand] Updated text | siwinski_drupal-releases | train |
a59c05d200eb3d2919dd0ea1d4f7d8545701ec81 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -757,7 +757,8 @@ class Encore {
* ```
* WebpackConfig.autoProvideVariables({
* $: 'jquery',
- * jQuery: 'jquery'
+ * jQuery: 'jquery',
+ * 'window.jQuery': 'jquery'
* });
... | Fix the documentation about autoProvidejQuery
The implementation actually defines 3 provided variables, not only 2. | symfony_webpack-encore | train |
bfc3b26b4f8b23800d1cc73183c16e3b932928e0 | diff --git a/lib/node_modules/@stdlib/math/base/dist/arcsine/stdev/lib/stdev.js b/lib/node_modules/@stdlib/math/base/dist/arcsine/stdev/lib/stdev.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/math/base/dist/arcsine/stdev/lib/stdev.js
+++ b/lib/node_modules/@stdlib/math/base/dist/arcsine/stdev/lib/stdev.... | Remove new lines in if-statement | stdlib-js_stdlib | train |
86cc30a91b0812d3d5d6e0ed0d9901b5c6478d40 | diff --git a/alerta/snmptrap/handler.py b/alerta/snmptrap/handler.py
index <HASH>..<HASH> 100644
--- a/alerta/snmptrap/handler.py
+++ b/alerta/snmptrap/handler.py
@@ -10,7 +10,7 @@ from alerta.common.heartbeat import Heartbeat
from alerta.common import severity_code
from alerta.common.api import ApiClient
-Version ... | alerts can be transformed into heartbeats | alerta_alerta | train |
cc7eeee98cc26dfe31755753174488b93a15aef1 | diff --git a/bundle/Spec/CirclicalUser/Controller/Plugin/AuthenticationPluginSpec.php b/bundle/Spec/CirclicalUser/Controller/Plugin/AuthenticationPluginSpec.php
index <HASH>..<HASH> 100644
--- a/bundle/Spec/CirclicalUser/Controller/Plugin/AuthenticationPluginSpec.php
+++ b/bundle/Spec/CirclicalUser/Controller/Plugin/Au... | Adding requireIdentity method to helper, to reduce on
if( !$user ){ throw ... }
style exceptions in actions. | Saeven_zf3-circlical-user | train |
324a5c7f490284c9c20a55bb52bf84f6a6e1b14c | diff --git a/test/unit/exception_handling/honeybadger_callbacks_test.rb b/test/unit/exception_handling/honeybadger_callbacks_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/exception_handling/honeybadger_callbacks_test.rb
+++ b/test/unit/exception_handling/honeybadger_callbacks_test.rb
@@ -14,6 +14,37 @@ module Exc... | TECH-<I>: Give test classes unique names to improve readability | Invoca_exception_handling | train |
f9a9499a62e6701736301a36dd90dd4329b25a8d | diff --git a/mod/quiz/attempt.php b/mod/quiz/attempt.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/attempt.php
+++ b/mod/quiz/attempt.php
@@ -146,6 +146,12 @@
/// Print the quiz page
+ if (isguest()) {
+ print_heading(get_string("guestsno", "quiz"));
+ print_footer($course);
+ exit;
+ }... | Guests can no longer see or attempt quizzes | moodle_moodle | train |
f42552037d485859e03e5bc11b831d0fb7b4416a | diff --git a/tensorboardX/graph.py b/tensorboardX/graph.py
index <HASH>..<HASH> 100644
--- a/tensorboardX/graph.py
+++ b/tensorboardX/graph.py
@@ -34,14 +34,28 @@ def parse(graph):
if any(i.uniqueName() not in scope.keys() for i in n.inputs()): # 0.3.1 workaround
continue
inputs = [repla... | tensorshape for graph visualization | lanpa_tensorboardX | train |
df77a3aa97271a13d6c804a9ac42e29a578012cc | diff --git a/package.json b/package.json
index <HASH>..<HASH> 100644
--- a/package.json
+++ b/package.json
@@ -38,6 +38,7 @@
"ember-cli-deploy-git": "1.0.0",
"ember-cli-htmlbars-inline-precompile": "0.3.5",
"ember-cli-inject-live-reload": "^1.3.0",
+ "ember-cli-jshint": "^1.0.5",
"ember-cli-qunit... | re-introduce jshint tests | ember-animation_liquid-fire | train |
25f6fa69e40ae5813b7550eef15dc03acb402cf0 | diff --git a/fedmsg_meta_fedora_infrastructure/tests/__init__.py b/fedmsg_meta_fedora_infrastructure/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/fedmsg_meta_fedora_infrastructure/tests/__init__.py
+++ b/fedmsg_meta_fedora_infrastructure/tests/__init__.py
@@ -890,33 +890,7 @@ class TestMediaWikiUpload(Base):
... | Remove a bunch of the wiki upload messages.
These have been giving us 'invalid signature' across the board *forever*
and I finally tracked it down. It has to do with how php incorrectly
sorts this inner dict -- at least, in a way different than Python does.
By removing it all together (except for the one attribute th... | fedora-infra_fedmsg_meta_fedora_infrastructure | train |
0d661196d59a1a47f82e106bc896f6a11da2c877 | diff --git a/lib/luban/cli/base/core.rb b/lib/luban/cli/base/core.rb
index <HASH>..<HASH> 100644
--- a/lib/luban/cli/base/core.rb
+++ b/lib/luban/cli/base/core.rb
@@ -81,12 +81,8 @@ module Luban
def setup_default_action
method = @action_method
- if has_commands?
- action :dispatch_comm... | Dispatch command under the right class context | lubanrb_cli | train |
3b6cf2dc8f22b5d86d41fab4bf1da0daab5487a1 | diff --git a/presto-main/src/main/java/com/facebook/presto/sql/planner/PlanFragment.java b/presto-main/src/main/java/com/facebook/presto/sql/planner/PlanFragment.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/sql/planner/PlanFragment.java
+++ b/presto-main/src/main/java/com/faceboo... | Include both sources in IndexNode sources list
getSources() is meant to return all subplans of a given node as it's
used for various plan-walking activities. | prestodb_presto | train |
0ef86d694551f378b386a1d360e81fbce863bc88 | diff --git a/ELiDE/ELiDE/dialog.py b/ELiDE/ELiDE/dialog.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/dialog.py
+++ b/ELiDE/ELiDE/dialog.py
@@ -71,7 +71,14 @@ class DialogMenu(Box):
class Dialog(BoxLayout):
- """MessageBox with a DialogMenu beneath it"""
+ """MessageBox with a DialogMenu beneath it.
+
+ ... | Make Dialog's docstring more informative | LogicalDash_LiSE | train |
c5887d6b9d2aab8789fe53cd707bd1f14336b65f | diff --git a/clashroyale/client.py b/clashroyale/client.py
index <HASH>..<HASH> 100644
--- a/clashroyale/client.py
+++ b/clashroyale/client.py
@@ -31,9 +31,10 @@ fromts = datetime.fromtimestamp
import aiohttp
import requests
-from .models import Player, Clan, PlayerInfo, ClanInfo, Constants, Tournament, rlist
+from... | Added auth stats endpoint and filter params | cgrok_clashroyale | train |
50ffb35ae70e4c773184f2252ed74048cfc5f4be | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -20,7 +20,7 @@ module.exports = function(el) {
var candidate, candidateIndex;
for (var i = 0, l = candidates.length; i < l; i++) {
candidate = candidates[i];
- candidateIndex = candidate.tabIndex;
+ candidateI... | Add a fallback to using tabIndex as SVGs do not have this implemented in Edge and Internet Explorer. | davidtheclark_tabbable | train |
16df4e787026f049569c7f98f30d0d714c241556 | diff --git a/pyinfra/__main__.py b/pyinfra/__main__.py
index <HASH>..<HASH> 100644
--- a/pyinfra/__main__.py
+++ b/pyinfra/__main__.py
@@ -11,7 +11,7 @@ Usage:
pyinfra -i INVENTORY DEPLOY [-v -vv options]
pyinfra -i INVENTORY --run OP ARGS [-v -vv options]
pyinfra -i INVENTORY --run COMMAND [-v -vv optio... | Flip back to `-vv` on facts to print output, consistent with deploy. | Fizzadar_pyinfra | train |
90ecb5481a9cdfe22b893b668ac2e1f4bb093f57 | diff --git a/lib/extension.command.js b/lib/extension.command.js
index <HASH>..<HASH> 100644
--- a/lib/extension.command.js
+++ b/lib/extension.command.js
@@ -118,16 +118,21 @@ module.exports = function (Aquifer) {
extensions[extensionName] = extension.load(function (err) {
if (err) {
Aquifer.conso... | Properly error out of the extension loading process. | aquifer_aquifer | train |
a7b987fdf4265aef981ec5c6e59bbd71a4cbe236 | diff --git a/symphony/lib/toolkit/class.xmlelement.php b/symphony/lib/toolkit/class.xmlelement.php
index <HASH>..<HASH> 100755
--- a/symphony/lib/toolkit/class.xmlelement.php
+++ b/symphony/lib/toolkit/class.xmlelement.php
@@ -12,7 +12,6 @@
class XMLElement {
static protected $document;
static protected $reflec... | Removed method 2 from setValue. | symphonycms_symphony-2 | train |
3934d55d2cc89071e39ace12107ebdcaccb6ee89 | diff --git a/layers/executer.js b/layers/executer.js
index <HASH>..<HASH> 100644
--- a/layers/executer.js
+++ b/layers/executer.js
@@ -4,22 +4,25 @@ var assert = require( 'assert' )
function Executer() {
this.handle = function(req, res) {
- var command = ''
- , argv = []
- , child;
-
+ ... | master using req.exec | mucbuc_micro-box | train |
3c21dc1499db1d6c4d725d942dcd6e1a705af3c3 | diff --git a/src/Composer/Package/BasePackage.php b/src/Composer/Package/BasePackage.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Package/BasePackage.php
+++ b/src/Composer/Package/BasePackage.php
@@ -114,11 +114,9 @@ abstract class BasePackage implements PackageInterface
return $this->id;
}
- ... | Moved setter before getter and added @inheritDoc | mothership-ec_composer | train |
defe95c9646ecd589dba1009ca526141babb5cfc | diff --git a/war/src/main/webapp/scripts/prototype.js b/war/src/main/webapp/scripts/prototype.js
index <HASH>..<HASH> 100644
--- a/war/src/main/webapp/scripts/prototype.js
+++ b/war/src/main/webapp/scripts/prototype.js
@@ -1183,7 +1183,7 @@ Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
evalResponse: fu... | Maybe prototype.js guys have something very profound in their mind, but I don't see it.
This error is hidden during normal execution, but in the unit test where we report caught exceptions, this breaks some tests.
git-svn-id: <URL> | jenkinsci_jenkins | train |
2e7f1f1f28f7d3ea9e878b42a24483dff38d75ba | diff --git a/src/Functors/Monads/Reader.php b/src/Functors/Monads/Reader.php
index <HASH>..<HASH> 100644
--- a/src/Functors/Monads/Reader.php
+++ b/src/Functors/Monads/Reader.php
@@ -47,25 +47,11 @@ class Reader
*/
public function ap(Reader $app) : Reader
{
- return $this->withReader(function ($v... | Modified ap method; Removed withReader method | ace411_bingo-functional | train |
067b7f034aa329ac75259c3655e5c7fa9e943c2c | diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -521,19 +521,44 @@ def apply_master_config(overrides=None, defaults=None):
return opts
-def client_config(path, env_var='SALT_CLIENT_CONFIG'):
+def client_config(path, env_var='SALT_CLIENT_CONF... | `client_config` should also support receiving it's own defaults. | saltstack_salt | train |
0f145c4e6d03fcc6cb707d83c0fd626542908dbf | diff --git a/ev3dev/brickpi.py b/ev3dev/brickpi.py
index <HASH>..<HASH> 100644
--- a/ev3dev/brickpi.py
+++ b/ev3dev/brickpi.py
@@ -29,10 +29,10 @@ An assortment of classes modeling specific features of the BrickPi.
from .core import *
-OUTPUT_A = 'ttyAMA0:outA'
-OUTPUT_B = 'ttyAMA0:outB'
-OUTPUT_C = 'ttyAMA0:outC'... | Fix names of outputs for BrickPi. | ev3dev_ev3dev-lang-python | train |
5a1a37d8afadcd205071093ae9f5639420724545 | diff --git a/ext_emconf.php b/ext_emconf.php
index <HASH>..<HASH> 100644
--- a/ext_emconf.php
+++ b/ext_emconf.php
@@ -1,10 +1,10 @@
<?php
$EM_CONF[$_EXTKEY] = array(
'title' => 'Mask',
- 'description' => 'Create your own content elements and page templates. Easy to use, even without programming skills becaus... | Updated contact data in ext_emconf | Gernott_mask | train |
c204cba3b3bbbb4e8b1e9eaeff88c081dcb9a56c | diff --git a/app/lib/katello/util/cdn_var_substitutor.rb b/app/lib/katello/util/cdn_var_substitutor.rb
index <HASH>..<HASH> 100644
--- a/app/lib/katello/util/cdn_var_substitutor.rb
+++ b/app/lib/katello/util/cdn_var_substitutor.rb
@@ -102,9 +102,9 @@ module Katello
else
unless any_valid_metadata_fil... | Fixes #<I> - Improve the error message with failed repo lookups | Katello_katello | train |
cc7e37dfcdef9b0b855c3b77f3b6440ea5ae715c | diff --git a/pip_faster.py b/pip_faster.py
index <HASH>..<HASH> 100644
--- a/pip_faster.py
+++ b/pip_faster.py
@@ -388,7 +388,10 @@ class FasterInstallCommand(InstallCommand):
reqnames(previously_installed) -
reqnames(required) -
reqnames(successfully_installed) -
- req... | Don't uninstall pkg-resources (debian invention) | Yelp_venv-update | train |
264c4c8b42ee49deb6e75087a50b0b1e8adfe657 | diff --git a/packages/moleculer-db-adapter-sequelize/src/index.js b/packages/moleculer-db-adapter-sequelize/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/moleculer-db-adapter-sequelize/src/index.js
+++ b/packages/moleculer-db-adapter-sequelize/src/index.js
@@ -60,6 +60,9 @@ class SequelizeDbAdapter {
ret... | added noSync to SqlAdapter | moleculerjs_moleculer-db | train |
17821f2b002c3b8eaf9b7006d8d91607110b23b2 | diff --git a/terraform/terraform_test.go b/terraform/terraform_test.go
index <HASH>..<HASH> 100644
--- a/terraform/terraform_test.go
+++ b/terraform/terraform_test.go
@@ -159,6 +159,9 @@ const testTerraformApplyDestroyStr = `
const testTerraformApplyErrorStr = `
aws_instance.bar:
ID = bar
+
+ Dependencies:
+ a... | terraform: fixing more test cases | hashicorp_terraform | train |
789dd4eff1806f2c4dc216a8ac4ea10c4c06afc6 | diff --git a/src/features/line-series-labels.js b/src/features/line-series-labels.js
index <HASH>..<HASH> 100644
--- a/src/features/line-series-labels.js
+++ b/src/features/line-series-labels.js
@@ -46,6 +46,7 @@
return d.key;
},
+ // Fixme: This should be renamed to something more expressi... | additional work on the line series labels. | heavysixer_d4 | train |
2ed7199fc7c5ba2ad114836faa975e60f993d9fa | diff --git a/src/ManagerFactory.php b/src/ManagerFactory.php
index <HASH>..<HASH> 100644
--- a/src/ManagerFactory.php
+++ b/src/ManagerFactory.php
@@ -46,7 +46,7 @@ final class ManagerFactory
private $resolver;
private $identityMatchTranslator;
private $additionalIdentityMatchTranslator;
- private $ty... | register types at initiakization (disable it at runtime) | Innmind_neo4j-onm | train |
1d3ad810893247959bdcbd0cb9b478907e3a5ac0 | diff --git a/Tests/Functional/StepProviders/CsvConfigurableStepsProviderTest.php b/Tests/Functional/StepProviders/CsvConfigurableStepsProviderTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Functional/StepProviders/CsvConfigurableStepsProviderTest.php
+++ b/Tests/Functional/StepProviders/CsvConfigurableStepsProviderTe... | Tidy the counts to assert counts | smartboxgroup_integration-framework-bundle | train |
56368d86c6871d1acca7c027cddbc898f8bf4bf6 | diff --git a/components/Account.php b/components/Account.php
index <HASH>..<HASH> 100644
--- a/components/Account.php
+++ b/components/Account.php
@@ -270,7 +270,7 @@ class Account extends ComponentBase
$user = Auth::authenticate($credentials, $this->useRememberLogin());
if ($user->isBanned())... | Add Lang::get to banned user exception text | rainlab_user-plugin | train |
dc22bacb9e06079b5e95c8e12376e59c79406faf | diff --git a/src/WrapperArray.js b/src/WrapperArray.js
index <HASH>..<HASH> 100644
--- a/src/WrapperArray.js
+++ b/src/WrapperArray.js
@@ -35,6 +35,14 @@ export default class WrapperArray {
return this.wrappers.every(wrapper => wrapper.hasStyle(style, value))
}
+ findAll (): void {
+ if (this.wrappers.len... | [New] Add findAll to WrapperArray | vuejs_vue-test-utils | train |
6fff3a97197e198e5c34b0adc3f8782eaead4374 | diff --git a/packages/strickland/src/props.js b/packages/strickland/src/props.js
index <HASH>..<HASH> 100644
--- a/packages/strickland/src/props.js
+++ b/packages/strickland/src/props.js
@@ -14,24 +14,14 @@ export default function props(propRules, validatorProps) {
const propNames = Object.keys(validator... | refactor: more preparation for async props | jeffhandley_strickland | train |
21d42d068066b92e91da83676b571451975a0f72 | diff --git a/src/main/java/com/wix/mysql/MysqldProcess.java b/src/main/java/com/wix/mysql/MysqldProcess.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/wix/mysql/MysqldProcess.java
+++ b/src/main/java/com/wix/mysql/MysqldProcess.java
@@ -52,9 +52,7 @@ class MysqldProcess extends AbstractProcess<MysqldConfig, M... | Improved error logging for appveyor debugging | wix_wix-embedded-mysql | train |
83208ffcd5c8b42b911d13a09db57a4de2244d22 | diff --git a/hamster/graphics.py b/hamster/graphics.py
index <HASH>..<HASH> 100644
--- a/hamster/graphics.py
+++ b/hamster/graphics.py
@@ -2,7 +2,11 @@ import time, datetime as dt
import gtk, gobject
import pango, cairo
-import colorsys
+
+class Colors(object):
+ aluminium = [(238, 238, 236), (211, 215, 207), (1... | added Color constant class, and set_color convenience function
removed the colorsys wrappers | projecthamster_hamster | train |
90544f95e57141632cc9e33666641e47fd3abf7a | diff --git a/editor/editor.py b/editor/editor.py
index <HASH>..<HASH> 100644
--- a/editor/editor.py
+++ b/editor/editor.py
@@ -428,7 +428,8 @@ class Editor(App):
widget.attributes['ondragover'] = "event.preventDefault();"
widget.attributes['ondrop'] = """event.preventDefault();return false;"""
... | BugFix for editor_app. When you reload a project, VBox and HBox layouts now works. | dddomodossola_remi | train |
62ac3d5e58188af513a9bf862b6bad60f9989354 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100755
--- a/README.md
+++ b/README.md
@@ -65,6 +65,7 @@ Only `url` and `cssString` are required - all other options are optional.
| renderWaitTime | `integer` | `100` | ms; wait time after page load before critical css extraction starts |
| blockJSRequests | `b... | maxElementsToCheckPerSelector option, can be used to improve performance
in cases where pages have lots of repeated (non critical) DOM nodes, for example in a very long table | pocketjoso_penthouse | train |
85642b85f0d94dc707c181270698dee0e5b981ae | diff --git a/src/GoogleTagManagerServiceProvider.php b/src/GoogleTagManagerServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/GoogleTagManagerServiceProvider.php
+++ b/src/GoogleTagManagerServiceProvider.php
@@ -35,7 +35,7 @@ class GoogleTagManagerServiceProvider extends ServiceProvider
{
$this->me... | Change instance to bind in service provider
This fixes a bug introduced in pull request #<I> | spatie_laravel-googletagmanager | train |
a9941baaec264169e381de499f98b42c3d4d5ad1 | diff --git a/lhc/io/bed_/set_.py b/lhc/io/bed_/set_.py
index <HASH>..<HASH> 100644
--- a/lhc/io/bed_/set_.py
+++ b/lhc/io/bed_/set_.py
@@ -13,4 +13,4 @@ class BedSet(object):
def fetch(self, chr, start, stop=None):
if stop is None:
stop = start + 1
- return [self.data[v] for k, v in se... | fixed usage of new md-collection | childsish_sofia | train |
4acae7b40aa35f876206f3ea7b31e5305c003da7 | diff --git a/lib/specjour/dispatcher.rb b/lib/specjour/dispatcher.rb
index <HASH>..<HASH> 100644
--- a/lib/specjour/dispatcher.rb
+++ b/lib/specjour/dispatcher.rb
@@ -40,12 +40,16 @@ module Specjour
end
def fetch_manager(uri)
- manager = DRbObject.new_with_uri(uri.to_s)
- if !managers.include?(man... | Don't work with slow managers
When a manager hangs, the remaining bonjour replies never get through.
Then the timeout is reached, the slow manager is thrown out and we can
continue processing other managers | sandro_specjour | train |
564fb5d33092ca00d618727c0cba814ea02e59d7 | diff --git a/modules/backend/lang/fr/lang.php b/modules/backend/lang/fr/lang.php
index <HASH>..<HASH> 100644
--- a/modules/backend/lang/fr/lang.php
+++ b/modules/backend/lang/fr/lang.php
@@ -250,30 +250,30 @@ return [
'invalid_action_single' => 'Cette action ne peut être effectuée sur une relation unitaire.',
... | Changed french relation translation to something more gender neutral. | octobercms_october | train |
ab8c0cf201425b7409db6e593a2e3f56286850a1 | diff --git a/codespell_lib/tests/test_dictionary.py b/codespell_lib/tests/test_dictionary.py
index <HASH>..<HASH> 100644
--- a/codespell_lib/tests/test_dictionary.py
+++ b/codespell_lib/tests/test_dictionary.py
@@ -83,7 +83,8 @@ def _check_aspell(phrase, msg, in_aspell, fname):
return # stop normal checking a... | Test: log dictionaries that were tested | codespell-project_codespell | train |
a4aa03f744ec315108c4d9ee4d965a1ee92cd3c0 | diff --git a/src/svg-renderer.js b/src/svg-renderer.js
index <HASH>..<HASH> 100644
--- a/src/svg-renderer.js
+++ b/src/svg-renderer.js
@@ -34,7 +34,7 @@ class SvgRenderer {
* @param {Function} [onFinish] Optional callback for when drawing finished.
*/
fromString (svgString, scale, onFinish) {
- ... | Expose toString and loadString | LLK_scratch-svg-renderer | train |
4930276c63e6029f7007a24e5455a835121dd328 | diff --git a/test/connection_test.rb b/test/connection_test.rb
index <HASH>..<HASH> 100644
--- a/test/connection_test.rb
+++ b/test/connection_test.rb
@@ -3,101 +3,101 @@ require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
class ConnectionTest < Faraday::TestCase
describe "#initialize" do
it ... | using TestConnection in ConnectionTest is unnecessary | lostisland_faraday | train |
ff44842235dca9fdcc35fc33049998c67ebb89cf | diff --git a/.storybook/config.js b/.storybook/config.js
index <HASH>..<HASH> 100644
--- a/.storybook/config.js
+++ b/.storybook/config.js
@@ -9,5 +9,8 @@ configure(function () {
)))
.add('with state 2', withState({ value: '' }, (store) => (
<input {...store.state} type="text" onChange={({ target: { value } ... | Clear state panel for non-state stories | dump247_storybook-state | train |
1168f87b2ac8e789327cc1bdfacd966152806a35 | diff --git a/lib/mxit_rails/version.rb b/lib/mxit_rails/version.rb
index <HASH>..<HASH> 100644
--- a/lib/mxit_rails/version.rb
+++ b/lib/mxit_rails/version.rb
@@ -1,3 +1,3 @@
module MxitRails
- VERSION = "0.4.1"
+ VERSION = "0.4.2"
end | Bumped version to <I> | linsen_mxit-rails | train |
2001f3cff90f18e8dbc9e70879e82110f712f960 | diff --git a/flurs/data/entity.py b/flurs/data/entity.py
index <HASH>..<HASH> 100644
--- a/flurs/data/entity.py
+++ b/flurs/data/entity.py
@@ -1,18 +1,44 @@
import numpy as np
-class User:
+class Base:
def __init__(self, index, feature=np.array([0.])):
self.index = index
self.feature = fea... | Add encode() method to convert into feature vectors | takuti_flurs | train |
06e927df640a18b561d37a22b184e205b969fed7 | diff --git a/lib/write_xlsx/workbook.rb b/lib/write_xlsx/workbook.rb
index <HASH>..<HASH> 100644
--- a/lib/write_xlsx/workbook.rb
+++ b/lib/write_xlsx/workbook.rb
@@ -245,31 +245,29 @@ module Writexlsx
write_xml_declaration
# Write the root workbook element.
- write_workbook
+ write_workbook d... | Workbook#write_workbook : use tag_elements block. | cxn03651_write_xlsx | train |
3eed3272d7fc79040b6eb3b8586be0d8875d8203 | diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index <HASH>..<HASH> 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fixed that validations didn't respecting custom setting for too_short, too_long messages #1437 [Marcel Molina]
+
* Fixed that clear_association_... | Fixed that validations didn't respecting custom setting for too_short, too_long messages #<I> [Marcel Molina]
git-svn-id: <URL> | rails_rails | train |
20db92a800369d1857aa0aa3303b7abf242ee59e | diff --git a/test/airbrussh/formatter_test.rb b/test/airbrussh/formatter_test.rb
index <HASH>..<HASH> 100644
--- a/test/airbrussh/formatter_test.rb
+++ b/test/airbrussh/formatter_test.rb
@@ -198,15 +198,16 @@ class Airbrussh::FormatterTest < Minitest::Test
end
on_local do
- test("[ -f ~ ]")
+ test... | Use a platform-agnostic command to test debug.
A command like `[ -f ~ ]` doesn't work on Windows, so use a more basic `echo`. | mattbrictson_airbrussh | train |
33a4c2e13b0b2bd81113ec38ba17222e4d571ee1 | diff --git a/builder/amazon/common/run_config.go b/builder/amazon/common/run_config.go
index <HASH>..<HASH> 100644
--- a/builder/amazon/common/run_config.go
+++ b/builder/amazon/common/run_config.go
@@ -66,7 +66,7 @@ func (c *RunConfig) Prepare(ctx *interpolate.Context) []error {
}
if c.WindowsPasswordTimeout == ... | Change EC2 WindowsPasswordTimeout to <I> minutes
<I> minutes is often exceeded when using a custom source AMI
which has been sysprepped. | hashicorp_packer | train |
f611fa2b12c557d1da9d1bad0a097331bc862ade | diff --git a/Handler/ContainerBasedHandlerLocator.php b/Handler/ContainerBasedHandlerLocator.php
index <HASH>..<HASH> 100644
--- a/Handler/ContainerBasedHandlerLocator.php
+++ b/Handler/ContainerBasedHandlerLocator.php
@@ -26,6 +26,10 @@ class ContainerBasedHandlerLocator implements HandlerLocator
*/
public ... | Trying to create a handler locator with no mappings should throw an
exception. | thephpleague_tactician-bundle | train |
e9442d858afd47fee6e0cdfe3acb8bbd7f78181f | diff --git a/onecodex/auth.py b/onecodex/auth.py
index <HASH>..<HASH> 100644
--- a/onecodex/auth.py
+++ b/onecodex/auth.py
@@ -5,6 +5,7 @@ import errno
from functools import wraps
import json
import logging
+import filelock
import os
import sys
@@ -52,52 +53,57 @@ def _login(server, creds_file=None, api_key=None... | Fixes race condition when running multiple instances of the CLI (#<I>)
It was possible to hit a race condition where multiple instances of the CLI would try to simultaneously read/write the `~/.onecodex` file. This PR adds a lock file to get around this race condition. | onecodex_onecodex | train |
32435a6968e9f7214af8cc3e4fe734553bb67b6c | diff --git a/group/externallib.php b/group/externallib.php
index <HASH>..<HASH> 100644
--- a/group/externallib.php
+++ b/group/externallib.php
@@ -53,7 +53,7 @@ class core_group_external extends external_api {
'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course uniqu... | MDL-<I> Web service: create_groups should not require enrolmentkey | moodle_moodle | train |
04fd4194b5f9334b0cb3766bc1d2f93b173ccf75 | diff --git a/src/Symfony/Bundle/DoctrineMongoDBBundle/DependencyInjection/DoctrineMongoDBExtension.php b/src/Symfony/Bundle/DoctrineMongoDBBundle/DependencyInjection/DoctrineMongoDBExtension.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/DoctrineMongoDBBundle/DependencyInjection/DoctrineMongoDBExtension.php
+... | [DoctrineMongoDBBundle] fixed typo, updated extension test to reflection validation addon | symfony_symfony | train |
20b12cae4b2f5dc36f20a9cda36b18a899c5c59e | diff --git a/openquake/export/core.py b/openquake/export/core.py
index <HASH>..<HASH> 100644
--- a/openquake/export/core.py
+++ b/openquake/export/core.py
@@ -17,6 +17,21 @@
from openquake.db import models
+def _export_fn_map():
+ """Creates a mapping from output type to export function.
+
+ :rtype: `dict`
+... | Basic export framework API is implemented. No specific export functions are yet written, though.
Next, I need to write the command line interface portion.
Former-commit-id: a<I>f9aaba<I>a1e<I>f<I>b<I>ed<I>f1bcd<I> | gem_oq-engine | train |
487bee034af7195ea7e53a170394dde5a3b7cebe | diff --git a/lib/api/plugin.js b/lib/api/plugin.js
index <HASH>..<HASH> 100644
--- a/lib/api/plugin.js
+++ b/lib/api/plugin.js
@@ -17,20 +17,21 @@ module.exports = co(function * (name, opts, func) {
// assign `opts` against defaults
opts = Object.assign({every: 1, files: 1}, opts);
+ const self = this;
// updat... | wrap plugin api to allow yielded internals | lukeed_taskr | train |
9abae6aeb8a924a90900ef166a66b4c70793e291 | diff --git a/DrdPlus/Exceptionalities/ExceptionalityFactory.php b/DrdPlus/Exceptionalities/ExceptionalityFactory.php
index <HASH>..<HASH> 100644
--- a/DrdPlus/Exceptionalities/ExceptionalityFactory.php
+++ b/DrdPlus/Exceptionalities/ExceptionalityFactory.php
@@ -6,7 +6,7 @@ use DrdPlus\Exceptionalities\Choices\PlayerDe... | Necessary modifications due to incompatible library changes | drdplusinfo_drdplus-properties-by-fate | train |
2998a16fbe3683ee16d8b236ddd870dbd9b39c48 | diff --git a/omxplayer/player.py b/omxplayer/player.py
index <HASH>..<HASH> 100644
--- a/omxplayer/player.py
+++ b/omxplayer/player.py
@@ -382,7 +382,7 @@ class OMXPlayer(object):
def is_playing(self):
"""
Returns:
- None:
+ bool: Whether the player is playing
"""
... | Minor change to description for is_playing() to reflect correct return type | willprice_python-omxplayer-wrapper | train |
e829ec685834a8d9a44413ebab357128c0929944 | diff --git a/src/main/java/no/finn/unleash/metric/MetricsBucket.java b/src/main/java/no/finn/unleash/metric/MetricsBucket.java
index <HASH>..<HASH> 100644
--- a/src/main/java/no/finn/unleash/metric/MetricsBucket.java
+++ b/src/main/java/no/finn/unleash/metric/MetricsBucket.java
@@ -4,11 +4,12 @@ import java.time.LocalD... | fix: Thread safety regarding metrics
Fixed a couple of issues regarding metrics when
`MetricsBucket.registerCount` is called concurrently | Unleash_unleash-client-java | train |
77ccd056487a4ad5d58bef50fa10c1ac1a080888 | diff --git a/nlppln/utils.py b/nlppln/utils.py
index <HASH>..<HASH> 100644
--- a/nlppln/utils.py
+++ b/nlppln/utils.py
@@ -24,7 +24,22 @@ def create_dirs(fname):
if not os.path.exists(fname):
os.makedirs(fname)
-def out_file_name(out_dir, fname, ext):
+
+def out_file_name(out_dir, fname, ext=None):
+ ... | Update function to optionally keep original extension
The out_file_name function was extended with the option to not change
the extension of the returned file name. | nlppln_nlppln | train |
8cfed499bbf918f346f214c95db3315c1ba70e93 | diff --git a/spec/ohai/plugins/groovy_spec.rb b/spec/ohai/plugins/groovy_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ohai/plugins/groovy_spec.rb
+++ b/spec/ohai/plugins/groovy_spec.rb
@@ -17,7 +17,7 @@
#
-require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
+require File.expand_path(File.joi... | use fully expanded path to spec_helper
Ruby <I>dev seems to dislike the relative paths when running specs
under rake | chef_ohai | train |
b2a1ce2af3f4d9f2e2cadad37a9612020d545f07 | diff --git a/lib/aduki.rb b/lib/aduki.rb
index <HASH>..<HASH> 100644
--- a/lib/aduki.rb
+++ b/lib/aduki.rb
@@ -13,8 +13,16 @@ module Aduki
obj.each_with_index do |av, ix|
to_aduki av, collector, "#{key}[#{ix}]", "."
end
- else
+ when String, Numeric, Symbol
collector[key] = obj
+ ... | to_aduki: now completely reverses #apply_attributes | conanite_aduki | train |
f2f04a8202533d9d1b1591983517ae5ddaaca153 | diff --git a/chorus/src/test/junit/org/chorusbdd/chorus/handlers/util/PolledAssertionTest.java b/chorus/src/test/junit/org/chorusbdd/chorus/handlers/util/PolledAssertionTest.java
index <HASH>..<HASH> 100644
--- a/chorus/src/test/junit/org/chorusbdd/chorus/handlers/util/PolledAssertionTest.java
+++ b/chorus/src/test/jun... | new tests for PolledAssertion | Chorus-bdd_Chorus | train |
492d058270d60bcb1aa7d4e0c965e4401afa7f92 | diff --git a/lib/arel/visitors/db2.rb b/lib/arel/visitors/db2.rb
index <HASH>..<HASH> 100644
--- a/lib/arel/visitors/db2.rb
+++ b/lib/arel/visitors/db2.rb
@@ -4,29 +4,23 @@ module Arel
module Visitors
class DB2 < Arel::Visitors::ToSql
- if ArJdbc::AR42
+ if VERSION > '6.0'
+ # @override
... | use arel version instead of AR version | jruby_activerecord-jdbc-adapter | train |
4fd361274d7c191949688b189698b57127c4fc6d | diff --git a/lib/zertico/controller.rb b/lib/zertico/controller.rb
index <HASH>..<HASH> 100644
--- a/lib/zertico/controller.rb
+++ b/lib/zertico/controller.rb
@@ -33,13 +33,13 @@ module Zertico
end
def create
- permitted_params = "::#{self.class.name.chomp('Controller').concat('PermittedParams')}".cons... | Fixed bug when not working with Strong Parameters | zertico_zertico | train |
903e14373e5b257c0d0698735a18ba8d765211b1 | diff --git a/src/plotypus_scripts/plotypus.py b/src/plotypus_scripts/plotypus.py
index <HASH>..<HASH> 100644
--- a/src/plotypus_scripts/plotypus.py
+++ b/src/plotypus_scripts/plotypus.py
@@ -209,7 +209,7 @@ def _print_star(results, max_degree, fmt):
end='\t')
print('\t'.join(map(formatter, coefficients_... | Added extra needed trailing zero in output table. | astroswego_plotypus | train |
2ef59b8feff4517c5ba58aa1e3f1de2f0d6f4159 | diff --git a/gwpy/io/tests/test_mp.py b/gwpy/io/tests/test_mp.py
index <HASH>..<HASH> 100644
--- a/gwpy/io/tests/test_mp.py
+++ b/gwpy/io/tests/test_mp.py
@@ -19,14 +19,12 @@
"""Unit tests for :mod:`gwpy.io.mp`
"""
-from tempfile import NamedTemporaryFile
-
import pytest
from astropy import __version__ as astro... | gwpy.io: reworked tests for windows again
we can't use a proper temporaryfile, since windows doesn't let us open it twice, so we need to use a temporaryfilename and then manually open and write the temporary content into it | gwpy_gwpy | train |
0e322a8c9d4508073582308bf9c729dec14fd0b5 | diff --git a/ibis/impala/client.py b/ibis/impala/client.py
index <HASH>..<HASH> 100644
--- a/ibis/impala/client.py
+++ b/ibis/impala/client.py
@@ -16,6 +16,7 @@ from posixpath import join as pjoin
import re
import six
import threading
+import time
import weakref
import hdfs
@@ -54,6 +55,12 @@ class ImpalaDatabas... | ENH: attempt to cancel synchronous queries on KeyboardInterrupt. Close #<I> | ibis-project_ibis | train |
449c97df2907f141b5ff8ff865131d2054e5a02f | diff --git a/mbus/https_dispatcher_test.go b/mbus/https_dispatcher_test.go
index <HASH>..<HASH> 100644
--- a/mbus/https_dispatcher_test.go
+++ b/mbus/https_dispatcher_test.go
@@ -101,19 +101,15 @@ var _ = Describe("HTTPSDispatcher", func() {
}
}()
- Eventually(func() int {
+ Eventually(func() *http.Response ... | Fix flaky test
- There was a nil pointer dereference on response when request to
dispatcher failed. The panic caused the AfterEach to run and led to
a data race.
<URL> | cloudfoundry_bosh-agent | train |
690786b7526f7c0dbb8f085a683b451daee28bb5 | diff --git a/sufia-models/app/models/concerns/sufia/generic_file/audit.rb b/sufia-models/app/models/concerns/sufia/generic_file/audit.rb
index <HASH>..<HASH> 100644
--- a/sufia-models/app/models/concerns/sufia/generic_file/audit.rb
+++ b/sufia-models/app/models/concerns/sufia/generic_file/audit.rb
@@ -8,7 +8,7 @@ modul... | Refactoring Audit so it uses the file already loaded in memory instead of reloading the file many times to get at the audit log records in active record | samvera_hyrax | train |
83162766662e19f3367d8d30da41e1c07c39c5b9 | diff --git a/tests/HttpServerTest.php b/tests/HttpServerTest.php
index <HASH>..<HASH> 100644
--- a/tests/HttpServerTest.php
+++ b/tests/HttpServerTest.php
@@ -404,7 +404,9 @@ final class HttpServerTest extends TestCase
public function testConstructServerWithMemoryLimitDoesLimitConcurrency()
{
$old = ... | Skip memory tests when lowering memory limit does not work | reactphp_http | train |
6d4ce1e22a15bd99af5783481700f98247bd3d21 | diff --git a/gumble/channels.go b/gumble/channels.go
index <HASH>..<HASH> 100644
--- a/gumble/channels.go
+++ b/gumble/channels.go
@@ -2,9 +2,9 @@ package gumble
type Channels map[uint]*Channel
-// Create adds a new channel with the given id to the collection. If a channel
+// create adds a new channel with the gi... | change Users, Channels .Create, .Delete to private | layeh_gumble | train |
5aa6279e903734ebaa3240ad2fe2a05fda7dfbe1 | diff --git a/lib/client.js b/lib/client.js
index <HASH>..<HASH> 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -87,7 +87,8 @@ function buildClient(options, callback) {
on: function on(eventName, fn) {
client.rpc.emitter.on(eventName, fn);
},
- onMessage: onMessag... | updating test to work with callback on send. | eXigentCoder_krpc-node | train |
a8df1d9dfe66ec831bbff6f8d194494c866e2c4b | diff --git a/pygerrit/events.py b/pygerrit/events.py
index <HASH>..<HASH> 100644
--- a/pygerrit/events.py
+++ b/pygerrit/events.py
@@ -72,10 +72,10 @@ class GerritEventFactory(object):
logging.debug("Failed to load json data: %s: [%s]", str(err), data)
json_data = json.loads(ErrorEvent.error_j... | Bump pep8 to <I>
And fix a couple of newly discovered warnings.
Change-Id: I<I>d<I>ed<I>f2e<I>f<I>a2aa0b<I>d<I>e<I> | sonyxperiadev_pygerrit | train |
b8eec7671fa46c046855bd40d1c26fa90afd5efd | diff --git a/orcid/constants.py b/orcid/constants.py
index <HASH>..<HASH> 100644
--- a/orcid/constants.py
+++ b/orcid/constants.py
@@ -1 +1,2 @@
ORCID_PUBLIC_BASE_URL = 'http://pub.orcid.org/'
+ORCID_SANDBOX_BASE_URL = 'http://pub.orcid.org/'
diff --git a/orcid/rest.py b/orcid/rest.py
index <HASH>..<HASH> 100644
--- a... | Added proper keyword parsing to `Author`. | scholrly_orcid-python | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.