hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
91d84c7db6e7a32d16282ec8fff036b16b73018a | diff --git a/ruskit/cluster.py b/ruskit/cluster.py
index <HASH>..<HASH> 100644
--- a/ruskit/cluster.py
+++ b/ruskit/cluster.py
@@ -280,8 +280,11 @@ class Cluster(object):
return len(slots) == CLUSTER_HASH_SLOTS and self.consistent()
def wait(self):
+ start = time.time()
while not self.co... | Log time spent in waiting cluster to become consistent | eleme_ruskit | train |
8b491266b1488ad2ae1fe22fbf5eda3fb9946c21 | diff --git a/lib/genericObject.js b/lib/genericObject.js
index <HASH>..<HASH> 100644
--- a/lib/genericObject.js
+++ b/lib/genericObject.js
@@ -2,6 +2,11 @@ function GenericObject(connection, handle) {
this.connection = connection;
this.handle = handle;
}
+GenericObject.prototype.exportData = function(FileTyp... | GenericObject has been updated for <I>
New methods has been added. | mindspank_qsocks | train |
7788af127ce0dd3f34efcf671b9b43fd0c95a8fb | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -48,7 +48,7 @@ export class DefaultLoader extends Loader {
if(System.polyfilled){
define('view', [], {
- load: function (name, req, onload, config) {
+ 'load': function (name, req, o... | fix(loader): plugin api fetch causes problems with safari | aurelia_loader-default | train |
c90412836d20cfa3636b75ea0fc8f3992aaa785e | diff --git a/OpenPNM/Physics/models/multiphase.py b/OpenPNM/Physics/models/multiphase.py
index <HASH>..<HASH> 100644
--- a/OpenPNM/Physics/models/multiphase.py
+++ b/OpenPNM/Physics/models/multiphase.py
@@ -66,7 +66,7 @@ def conduit_conductance(physics, phase, network, throat_conductance,
open_conduits = -closed_c... | Removing white space for pep8
No comment! | PMEAL_OpenPNM | train |
d6d17c08c4ec498eb7efd3c1b2d8039cc3eb3fd9 | diff --git a/requery-processor/src/main/java/io/requery/processor/AndroidObservableExtension.java b/requery-processor/src/main/java/io/requery/processor/AndroidObservableExtension.java
index <HASH>..<HASH> 100644
--- a/requery-processor/src/main/java/io/requery/processor/AndroidObservableExtension.java
+++ b/requery-pr... | Android work around for module package look up issue | requery_requery | train |
be5f5270ec642be3e17e7b739dc4c3e06464fff4 | diff --git a/lib/sinatra.rb b/lib/sinatra.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra.rb
+++ b/lib/sinatra.rb
@@ -149,7 +149,7 @@ module Sinatra
@param_keys = []
@options = options
regex = @path.to_s.gsub(PARAM) do
- @param_keys << $1.intern
+ @param_keys << $1
"(#{URI_C... | bringing back the string.
Symbols are not garbage collected and I don't want to use the large (but cool) HashWithIndifferentAccess. I could use OpenStruct ala camping but that seems unnecessary.
Long live the string. | sinatra_sinatra | train |
85b421b37dae71cd38972f8e82c43febcdd08668 | diff --git a/src/yanwen.js b/src/yanwen.js
index <HASH>..<HASH> 100644
--- a/src/yanwen.js
+++ b/src/yanwen.js
@@ -60,8 +60,6 @@ yanwen.getInfo = function (id, callback, _try = 0) {
}
function createYanwenEntity(id, html) {
- let skipLines = 2
-
let $ = parser.load(html)
let trs = $('table tbody tr')
... | minor yawned fixes | hdnpt_geartrack | train |
b52356b2b32ec1948eb2197a041e917b782d1cb5 | diff --git a/d3-funnel.js b/d3-funnel.js
index <HASH>..<HASH> 100644
--- a/d3-funnel.js
+++ b/d3-funnel.js
@@ -1,6 +1,6 @@
(function(global) {
- /* global d3 */
+ /* global d3, $ */
/* jshint bitwise: false */
"use strict";
@@ -105,12 +105,12 @@
for (var i = 0; i < sectionPaths.length; i++) {
// Set t... | Fixed several JSHint validation issues. | jakezatecky_d3-funnel | train |
73eb68c516a291e2f8a816abab20b67999eb851b | diff --git a/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java b/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java
+++ b/src/java/org/apache/cassandra/locator/SimpleSeedProvider.java
@@ -17,6 +17,7 @@... | Prevent SSP from erroring out when the yaml is yanked from it.
Patch by brandonwilliams, reviewed by Richard Low for CASSANDRA-<I> | Stratio_stratio-cassandra | train |
b4b2eeb7c5782a638d80acce369e920d671134f3 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setup(
author='Tim Heap',
author_email='heap.tim@gmail.com',
url='https://bitbucket.org/ionata/django-bleach',
- packages=['django_bleach'],
+ packages=find_packages(),
install_requires... | Use `find_packages()` instead of naming packages
The `templatetags/` files were missed because they were not named. Using
`find_packages()` will ensure this does not happen again. | marksweb_django-bleach | train |
75fb49b7df8f7eb9fc066b5cdb29fa038c536e50 | diff --git a/arquillian-container-liferay/src/main/java/org/arquillian/container/liferay/remote/wait/LiferayWaitForServiceObserver.java b/arquillian-container-liferay/src/main/java/org/arquillian/container/liferay/remote/wait/LiferayWaitForServiceObserver.java
index <HASH>..<HASH> 100644
--- a/arquillian-container-life... | [arquillian/arquillian-extension-liferay#<I>] Throw concrete exceptions | arquillian_arquillian-extension-liferay | train |
7cc540c76d25c9f925d7522e7011f6bb691f3e88 | diff --git a/lib/rgitflow/tasks/task_helpers.rb b/lib/rgitflow/tasks/task_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/rgitflow/tasks/task_helpers.rb
+++ b/lib/rgitflow/tasks/task_helpers.rb
@@ -68,6 +68,7 @@ module RGitFlow
end
@git.branch(branch).create
+ @git.branch(branch).check... | checking out created feature branch when it's created | Nunnery_rgitflow | train |
387924c825ee00d5bd96ff2f39a3d5edd1dc720c | diff --git a/source/core/Credentials.php b/source/core/Credentials.php
index <HASH>..<HASH> 100644
--- a/source/core/Credentials.php
+++ b/source/core/Credentials.php
@@ -89,8 +89,8 @@ final class Credentials {
/* only consider parameter init if all provided */
if (isset(self::$credentials_opts['path'])) ... | Fixes wrong variable reference in Credentials.php
When attempting to check if the provided path contains the string "credentials.json" it was incorrectly comparing against $credentials_opts instead of self::$credentials_opts | Bandwidth_php-bandwidth | train |
6a950609d2b34941437ddb97edb85c7d82517392 | diff --git a/lib/watir-webdriver/window_switching.rb b/lib/watir-webdriver/window_switching.rb
index <HASH>..<HASH> 100644
--- a/lib/watir-webdriver/window_switching.rb
+++ b/lib/watir-webdriver/window_switching.rb
@@ -3,7 +3,7 @@ module Watir
def windows(*args)
all = @driver.window_handles.map { |id| Win... | Don't switch if this is the current window. | watir_watir | train |
d23e65fbeb95ef60030a35c9a3aae233d8b9648b | diff --git a/library/src/com/actionbarsherlock/internal/widget/ActionBarView.java b/library/src/com/actionbarsherlock/internal/widget/ActionBarView.java
index <HASH>..<HASH> 100644
--- a/library/src/com/actionbarsherlock/internal/widget/ActionBarView.java
+++ b/library/src/com/actionbarsherlock/internal/widget/ActionBa... | Using `//UNUSED` comments instead of removing the unused code | JakeWharton_ActionBarSherlock | train |
3dc7ede53fc41c47a61e60e275227f336f0bfe32 | diff --git a/spec/lib/onebox/layout_spec.rb b/spec/lib/onebox/layout_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/onebox/layout_spec.rb
+++ b/spec/lib/onebox/layout_spec.rb
@@ -3,7 +3,36 @@ require "spec_helper"
describe Onebox::Layout do
let(:cache) { Moneta.new(:Memory, expires: true, serializer: :json) }
... | start writing spec for .template_path [#<I>] | discourse_onebox | train |
94dbc743415c832639508b08ccfac03fc9be6a8a | diff --git a/core/src/main/java/com/github/gumtreediff/actions/EditScriptGenerator.java b/core/src/main/java/com/github/gumtreediff/actions/EditScriptGenerator.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/github/gumtreediff/actions/EditScriptGenerator.java
+++ b/core/src/main/java/com/github/gumtreedif... | doc-feat: documented editscriptgenerator. | GumTreeDiff_gumtree | train |
a0c74b5cc6e101ee1c36cc23b7d358baa13af174 | diff --git a/app/controllers/auto_complete_search.rb b/app/controllers/auto_complete_search.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/auto_complete_search.rb
+++ b/app/controllers/auto_complete_search.rb
@@ -28,7 +28,11 @@ module AutoCompleteSearch
if !params[:filter].nil? and eval(controller_name.sin... | search - fix system save and notices search
This commit contains a couple of small fixes to enable saving of favorites
for systems and search queries for notices page. | Katello_katello | train |
06f96f4b6e28e447127a314d72f1b5d22f1e93b6 | diff --git a/internal/handshake/crypto_setup_tls.go b/internal/handshake/crypto_setup_tls.go
index <HASH>..<HASH> 100644
--- a/internal/handshake/crypto_setup_tls.go
+++ b/internal/handshake/crypto_setup_tls.go
@@ -65,6 +65,8 @@ type cryptoSetupTLS struct {
messageErrChan chan error
// handshakeComplete is closed w... | wait until the Handshake() go routine returned before returning Close() | lucas-clemente_quic-go | train |
c45096e1b3297c5c596e56846e845a05b44ef900 | diff --git a/openstack_dashboard/dashboards/project/database_backups/tables.py b/openstack_dashboard/dashboards/project/database_backups/tables.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/project/database_backups/tables.py
+++ b/openstack_dashboard/dashboards/project/database_backups/tables.py
@... | Add create and update times for trove components
Currently trove doesn't show created and updated
timestamps on databases and backups - this is
inconsistent with other dashboard components such
as compute and images
Add created and updated timestamps to details
page of databases and backups.
Backups was already displ... | openstack_horizon | train |
374ddfa943d383620e189b21512a860f28cadedb | diff --git a/go-selinux/selinux_linux.go b/go-selinux/selinux_linux.go
index <HASH>..<HASH> 100644
--- a/go-selinux/selinux_linux.go
+++ b/go-selinux/selinux_linux.go
@@ -41,11 +41,11 @@ const (
)
type selinuxState struct {
- enabledSet bool
- enabled bool
- selinuxfsSet bool
- selinuxfs string
- mcsList ... | getSELinuxfs: simplify using sync.Once
There's no functional change, but rather code simplification,
as `sync.Once` seem to be ideal for such scenarios. | opencontainers_selinux | train |
39d6cfeea82e0c6400b52b5da5ca388d10b18ed9 | diff --git a/src/main/java/com/pinterest/secor/common/FileRegistry.java b/src/main/java/com/pinterest/secor/common/FileRegistry.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/pinterest/secor/common/FileRegistry.java
+++ b/src/main/java/com/pinterest/secor/common/FileRegistry.java
@@ -103,6 +103,11 @@ public c... | Cleanup the local secor files on process exit.
Sometimes secor generates large chunks of local files when process died, although we have a cleanup script, but it only cleans up the files older than <I> hours. Sometimes we gather lots of local files before <I> hour cleanup file and this can cause filesystem full.
Use... | pinterest_secor | train |
1fc603042e1df81c34139c5a46473b11fd356fa8 | diff --git a/test/fuel_surcharge/chronopost_test.rb b/test/fuel_surcharge/chronopost_test.rb
index <HASH>..<HASH> 100644
--- a/test/fuel_surcharge/chronopost_test.rb
+++ b/test/fuel_surcharge/chronopost_test.rb
@@ -38,24 +38,30 @@ module FuelSurcharge
end
end
+ FRENCH_MONTHS = %w[janvier février mars a... | Fix and unify time_period tests | levups_fuel_surcharge | train |
5f703fbd287a751adb5333839d387a62705d1efc | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
## Unreleased
+### Bug Fixes
+
+* Fix pundit policy retrieving for static pages when the pundit namespace is :active_admin. [#5777] by [@kwent]
+
## 2.1.0 [☰](https://github.com/activeadmin/... | Fix pundit policy retrieving on an edge case (#<I>)
When retrieving the policy for an `ActiveAdmin::Page`, and the pundit
namespace is `:active_admin`, we need an extra check so that the right
policy is properly picked up. | activeadmin_activeadmin | train |
b20819c97ac8dbbda10dc46715033bca9a13f15d | diff --git a/billing/tests/eway_tests.py b/billing/tests/eway_tests.py
index <HASH>..<HASH> 100644
--- a/billing/tests/eway_tests.py
+++ b/billing/tests/eway_tests.py
@@ -65,15 +65,23 @@ class EWayGatewayTestCase(TestCase):
self.assertEquals(self.credit_card.card_type, Visa)
def testPurchase(self):
- ... | eway - fix purchase test, add failure test case
use <I> for success, <I> for failure according to
<URL>) | agiliq_merchant | train |
50a811720ff180d939b4a7ae83c3b65a8186514a | diff --git a/ReactNativeClient/lib/components/global-style.js b/ReactNativeClient/lib/components/global-style.js
index <HASH>..<HASH> 100644
--- a/ReactNativeClient/lib/components/global-style.js
+++ b/ReactNativeClient/lib/components/global-style.js
@@ -140,7 +140,7 @@ function themeStyle(theme) {
output.raisedHigh... | Mobile: Fixes #<I>: Fixed colour of background in OLED dark theme (#<I>) | laurent22_joplin | train |
b5fd176120ba85ef88c8d9d1b21e722975cbac63 | diff --git a/views/js/controller/creator/creator.js b/views/js/controller/creator/creator.js
index <HASH>..<HASH> 100644
--- a/views/js/controller/creator/creator.js
+++ b/views/js/controller/creator/creator.js
@@ -73,11 +73,11 @@ define([
providerLoaderFactory()
.addList({
- previwers: {
+ ... | Update views/js/controller/creator/creator.js | oat-sa_extension-tao-testqti | train |
5a9062afa5473d648f6aedbfcfd643ec5b26ed40 | diff --git a/qa/integration-tests-webapps/src/test/java/org/camunda/bpm/rest/test/RestIT.java b/qa/integration-tests-webapps/src/test/java/org/camunda/bpm/rest/test/RestIT.java
index <HASH>..<HASH> 100644
--- a/qa/integration-tests-webapps/src/test/java/org/camunda/bpm/rest/test/RestIT.java
+++ b/qa/integration-tests-w... | fix(qa): remove error-prone deployment by http client
- the deployment seems to be error-prone for glassfish
which leads to other problems during our CI
related to #CAM-<I> | camunda_camunda-bpm-platform | train |
03cd644ac85c4c60e81a85b7a2882839e309c99a | diff --git a/agrona/src/main/java/org/agrona/concurrent/CountedErrorHandler.java b/agrona/src/main/java/org/agrona/concurrent/CountedErrorHandler.java
index <HASH>..<HASH> 100644
--- a/agrona/src/main/java/org/agrona/concurrent/CountedErrorHandler.java
+++ b/agrona/src/main/java/org/agrona/concurrent/CountedErrorHandle... | [Java] Add the ability to query if CountedErrorHandler has been closed. | real-logic_agrona | train |
4e0875bccb6c3c6867174e7824ed5b246a2eae58 | diff --git a/test/test_examples.py b/test/test_examples.py
index <HASH>..<HASH> 100644
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -11,7 +11,8 @@ from glob import glob
# tests to exclude
excludes = ['authorization_v1.py', 'message_resonance_v1_beta.py', 'concept_expansion_v1.py',
- 'relati... | commenting out alchemy tests since key limits are often reached | watson-developer-cloud_python-sdk | train |
b03fd637f8629d401a7397677bfaa160249041b8 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -95,7 +95,6 @@ module.exports = function(messenger, opts) {
var announceTimer = 0;
function announceOnReconnect() {
- connected = true;
signaller.announce();
}
@@ -105,6 +104,7 @@ module.exports = function... | Set connected = true in the most reliable place | rtc-io_rtc-signaller | train |
fd758c015f28b1304944806d71b109000078c7fa | diff --git a/devserver.js b/devserver.js
index <HASH>..<HASH> 100644
--- a/devserver.js
+++ b/devserver.js
@@ -51,16 +51,18 @@ var devSetup = function (cb) {
});
};
-var defaultHeaderValue = "default-src 'self'; img-src 'self' data:; font-src 'self'; " +
+const defaultHeaderValue = "default-src 'self'; img-src 's... | devserver: readd/fix csp header
The CSP headers were not set, as directly interacting with express
in `webpack-dev-server` to set the headers does not work.
PR: #<I>
PR-URL: <URL> | apache_couchdb-fauxton | train |
7aef76769783b53a905a8c936634c857b040c4dc | diff --git a/lib/core/src/server/utils/load-custom-babel-config.js b/lib/core/src/server/utils/load-custom-babel-config.js
index <HASH>..<HASH> 100644
--- a/lib/core/src/server/utils/load-custom-babel-config.js
+++ b/lib/core/src/server/utils/load-custom-babel-config.js
@@ -41,7 +41,7 @@ function loadFromPath(babelConf... | Fix JSON babel config error reporting | storybooks_storybook | train |
565f205d16c746a7344a0239f22af73b3e449bbd | diff --git a/commands/configure_topic.js b/commands/configure_topic.js
index <HASH>..<HASH> 100644
--- a/commands/configure_topic.js
+++ b/commands/configure_topic.js
@@ -65,7 +65,7 @@ module.exports = {
Examples:
$ heroku kafka:configure page-visits --retention-time 86400000
- $ heroku kafka:configure H... | standardize help text everywhere
- always say 'kafka', not 'Kafka' or 'Heroku kafka' or 'the kafka cluster'
- all commands that take a CLUSTER argument have that in the examples
- all commands that take a CLUSTER argument just include
HEROKU_KAFKA_BROWN_URL instead of using the haiku names. | heroku_heroku-kafka-jsplugin | train |
84ef28789038e38189a715a9fbb7e3d2eaea875c | diff --git a/sprd/model/ShippingType.js b/sprd/model/ShippingType.js
index <HASH>..<HASH> 100644
--- a/sprd/model/ShippingType.js
+++ b/sprd/model/ShippingType.js
@@ -21,14 +21,14 @@ define(['sprd/data/SprdModel', 'sprd/entity/ShippingCountry', 'sprd/entity/Shipp
/***
* this method is necessary, beca... | refactored method for getting shipping country | spreadshirt_rAppid.js-sprd | train |
1bc1561b3f89fd6ab917e2330eca177f71562351 | diff --git a/ph-commons/src/main/java/com/helger/commons/collection/impl/CommonsArrayList.java b/ph-commons/src/main/java/com/helger/commons/collection/impl/CommonsArrayList.java
index <HASH>..<HASH> 100644
--- a/ph-commons/src/main/java/com/helger/commons/collection/impl/CommonsArrayList.java
+++ b/ph-commons/src/main... | Added note that no logger may be used in these classes | phax_ph-commons | train |
c7619596557694253d1aa5bbbb29ba94ff52f9f9 | diff --git a/pyemu/utils/gw_utils.py b/pyemu/utils/gw_utils.py
index <HASH>..<HASH> 100644
--- a/pyemu/utils/gw_utils.py
+++ b/pyemu/utils/gw_utils.py
@@ -9,7 +9,7 @@ def pilot_points_to_tpl(pp_file,tpl_file=None,name_prefix=None):
tpl_file = pp_file+".tpl"
pp_df = pd.read_csv(pp_file,delim_whitespace=T... | few more tweaks to pp to tpl | jtwhite79_pyemu | train |
66c4e39c999ba6ae1d7a0eefbd47cf149cfe8fa1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -116,14 +116,13 @@ function watch (globString, options, renderer, initialDone) {
loader.on('change', debouncedBuild)
- // perform the initial load/render
- glob(globString, function(err, filenames) {
- if (... | return a function that can trigger a build, rather than assuming that an initial build should be done | ocadotechnology_quantumjs | train |
96ac3e3268571911b287599c3e83a5fc77631587 | diff --git a/spec/hook_handler/hook_handler_hook_spec.rb b/spec/hook_handler/hook_handler_hook_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/hook_handler/hook_handler_hook_spec.rb
+++ b/spec/hook_handler/hook_handler_hook_spec.rb
@@ -3,8 +3,9 @@ require "evalhook"
describe EvalHook::HookHandler, "hook handler hooks... | fixed name of test class in first hooking test | tario_evalhook | train |
b09a27c022e5794351eb2880302d9ad13bc3b1a4 | diff --git a/flow/table_test.go b/flow/table_test.go
index <HASH>..<HASH> 100644
--- a/flow/table_test.go
+++ b/flow/table_test.go
@@ -224,20 +224,12 @@ func TestFlowTable_GetFlow(t *testing.T) {
}
}
-func isJSON(s string) bool {
- var js map[string]interface{}
- return json.Unmarshal([]byte(s), &js) == nil
-}
-
... | [tests] FlowTable remove unused isJSON()
Not revelant as there are a JSON schema checker. | skydive-project_skydive | train |
cf333e82a626008400c4db784dda27c5d9d21e5d | diff --git a/cmd/oauth_test.go b/cmd/oauth_test.go
index <HASH>..<HASH> 100644
--- a/cmd/oauth_test.go
+++ b/cmd/oauth_test.go
@@ -14,3 +14,12 @@ func (s *S) TestClientID(c *gocheck.C) {
c.Assert(err, gocheck.IsNil)
c.Assert("someid", gocheck.Equals, clientID())
}
+
+func (s *S) TestPort(c *gocheck.C) {
+ err := o... | cmd/oauth: added test to port. | tsuru_tsuru | train |
c1ff2379a91747aba7b950e4677d60f3dcd64122 | diff --git a/bosh_cli/spec/spec_helper.rb b/bosh_cli/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/bosh_cli/spec/spec_helper.rb
+++ b/bosh_cli/spec/spec_helper.rb
@@ -4,6 +4,7 @@ require 'rspec/its'
require 'webmock'
require 'timecop'
require 'cli'
+require 'fakefs/spec_helpers'
Dir.glob(File.expand_path(... | Backfill specs for `bosh target` and `bosh -n target` | cloudfoundry_bosh | train |
51fd26489ecafb1328e10b428276287f35acaf07 | diff --git a/librosa/display.py b/librosa/display.py
index <HASH>..<HASH> 100644
--- a/librosa/display.py
+++ b/librosa/display.py
@@ -338,7 +338,7 @@ def __envelope(x, hop):
def waveplot(y, sr=22050, max_points=5e4, x_axis='time', offset=0.0, max_sr=1000,
- **kwargs):
+ time_fmt=None, **kw... | added time_fmt to waveplot | librosa_librosa | train |
0f6f3a667a5eb22f00d4551f9846cf7821d45cc2 | diff --git a/tests/test_asymetric.py b/tests/test_asymetric.py
index <HASH>..<HASH> 100644
--- a/tests/test_asymetric.py
+++ b/tests/test_asymetric.py
@@ -80,12 +80,17 @@ class TestUtil(unittest.TestCase):
plainText = "A test string"
mech = PyKCS11.RSAOAEPMechanism(PyKCS11.CKM_SHA_1, PyKCS11.CKG_MGF... | test_asymetric: RSA OAEP is not supported by SoftHSM1 | LudovicRousseau_PyKCS11 | train |
41ac4d24772dfe2c80e7c27fab45807f0a648101 | diff --git a/modules/upkeep.php b/modules/upkeep.php
index <HASH>..<HASH> 100644
--- a/modules/upkeep.php
+++ b/modules/upkeep.php
@@ -22,7 +22,7 @@ if ( ! class_exists('Upkeep') ) {
if ( getenv('WP_ENV') === 'production' ) {
seravo_add_postbox(
'site-status',
- __('Site Status', 'se... | Rename "Site Status" postbox (Closes: #<I>) | Seravo_seravo-plugin | train |
33ee41090e4d8802ce9c96a2cf837abbac761e55 | diff --git a/pkg/api/serialization_test.go b/pkg/api/serialization_test.go
index <HASH>..<HASH> 100644
--- a/pkg/api/serialization_test.go
+++ b/pkg/api/serialization_test.go
@@ -91,7 +91,6 @@ func fuzzerFor(t *testing.T, version string, src rand.Source) *fuzz.Fuzzer {
j.Template = &api.PodTemplateSpec{}
}
... | Add NodeSelector to the PodTemplate in v1beta1 and v1beta2 | kubernetes_kubernetes | train |
3c423f900edd74a460e7056b5fa347503312e3d7 | diff --git a/packages/react-admin/src/mui/input/AutocompleteInput.js b/packages/react-admin/src/mui/input/AutocompleteInput.js
index <HASH>..<HASH> 100644
--- a/packages/react-admin/src/mui/input/AutocompleteInput.js
+++ b/packages/react-admin/src/mui/input/AutocompleteInput.js
@@ -122,12 +122,12 @@ export class Autoco... | Removed dirty checking on arrival of choices | marmelab_react-admin | train |
d162f97d014239d0116882954d9b9670c3991135 | diff --git a/lib/trello.rb b/lib/trello.rb
index <HASH>..<HASH> 100644
--- a/lib/trello.rb
+++ b/lib/trello.rb
@@ -51,8 +51,8 @@ module Trello
# Raise this when we hit a Trello error.
class Error < StandardError; end
- # This specific error is thrown when your access token has expired. Catch it, and start the ... | throws an InvalidAccessToken exception when no token is present as well | jeremytregunna_ruby-trello | train |
a3756a814fc630d787f8e498b8b8e78ce7adc0ed | diff --git a/js/kucoin.js b/js/kucoin.js
index <HASH>..<HASH> 100644
--- a/js/kucoin.js
+++ b/js/kucoin.js
@@ -185,6 +185,7 @@ module.exports = class kucoin extends Exchange {
'contracts/{symbol}',
'ticker',
'level2/snapshot',
+ ... | Fixed fetchOrderBook timestamp issue | ccxt_ccxt | train |
2ebf8744c31c34eb819395da1c13f134a1008a4a | diff --git a/src/confluent_kafka/avro/__init__.py b/src/confluent_kafka/avro/__init__.py
index <HASH>..<HASH> 100644
--- a/src/confluent_kafka/avro/__init__.py
+++ b/src/confluent_kafka/avro/__init__.py
@@ -44,7 +44,7 @@ class AvroProducer(Producer):
"""
def __init__(self, config, default_key_schema=None,
-... | Added logging parameter for Avro(Consumer|Producer).
The patch introduces **kwargs and just passes them to the underlying
super calls.
Tests are included.
Closes: #<I> | confluentinc_confluent-kafka-python | train |
76717c3a6c3bd4af303e934453df1dc18cf5d027 | diff --git a/libstempo/toasim.py b/libstempo/toasim.py
index <HASH>..<HASH> 100644
--- a/libstempo/toasim.py
+++ b/libstempo/toasim.py
@@ -537,8 +537,16 @@ def add_ecc_cgw(psr, gwtheta, gwphi, mc, dist, F, inc, psi, gamma0,
omhat = N.array([-singwtheta*cosgwphi, -singwtheta*singwphi, -cosgwtheta])
# pul... | some minor edits to eccentricity injection code | vallis_libstempo | train |
22073e33760fdf628d5a742ce7e71cd3b670053d | diff --git a/app/config/core.php b/app/config/core.php
index <HASH>..<HASH> 100644
--- a/app/config/core.php
+++ b/app/config/core.php
@@ -200,7 +200,7 @@
/**
* A random numeric string (digits only) used to encrypt/decrypt strings.
*/
- Configure::write('Security.cipher_seed', '76859309657453542496749683645');
+ C... | Renaming Configure var 'Security.cipher_seed' to 'Security.cipherSeed'. Also added a srand() call at end of Security::cipher function to reset seed. Closes #<I> , #<I> , #<I> | cakephp_cakephp | train |
dbe8c7f5c1ed29ed5a8d5cdd65d0a32874b148de | diff --git a/nexusdialog/src/main/java/com/github/dkharrat/nexusdialog/FormController.java b/nexusdialog/src/main/java/com/github/dkharrat/nexusdialog/FormController.java
index <HASH>..<HASH> 100644
--- a/nexusdialog/src/main/java/com/github/dkharrat/nexusdialog/FormController.java
+++ b/nexusdialog/src/main/java/com/g... | doc: add documentation on new classes and methods | dkharrat_NexusDialog | train |
692897b7d5575d81232cb5c1bf21adfb2e7983a1 | diff --git a/src/phonetics/daitch-mokotoff.js b/src/phonetics/daitch-mokotoff.js
index <HASH>..<HASH> 100644
--- a/src/phonetics/daitch-mokotoff.js
+++ b/src/phonetics/daitch-mokotoff.js
@@ -7,14 +7,17 @@
* [Reference]:
* https://en.wikipedia.org/wiki/Daitch%E2%80%93Mokotoff_Soundex
*/
+import deburr from 'lodash... | Cleaning up daitch-mokotoff | Yomguithereal_talisman | train |
b13733dbd15436cbc4401f89d402d7bb5735c3ef | diff --git a/src/main/java/org/perfidix/element/BenchmarkElement.java b/src/main/java/org/perfidix/element/BenchmarkElement.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/perfidix/element/BenchmarkElement.java
+++ b/src/main/java/org/perfidix/element/BenchmarkElement.java
@@ -451,6 +451,35 @@ public final cla... | added #runs in BenchmarkElement-class | sebastiangraf_perfidix | train |
a2774014b6d23a0440edf8b669f378a48d71d715 | diff --git a/driver-core/src/main/com/mongodb/operation/ListDatabasesOperation.java b/driver-core/src/main/com/mongodb/operation/ListDatabasesOperation.java
index <HASH>..<HASH> 100644
--- a/driver-core/src/main/com/mongodb/operation/ListDatabasesOperation.java
+++ b/driver-core/src/main/com/mongodb/operation/ListDatab... | JAVA-<I>: Release AsyncConnectionSource in ListDatabasesOperation | mongodb_mongo-java-driver | train |
1e29d6216610afc5da27c981b75b3bdc74a5d2b6 | diff --git a/trunk/JLanguageTool/website/www/usage/index.php b/trunk/JLanguageTool/website/www/usage/index.php
index <HASH>..<HASH> 100644
--- a/trunk/JLanguageTool/website/www/usage/index.php
+++ b/trunk/JLanguageTool/website/www/usage/index.php
@@ -2,7 +2,7 @@
$page = "usage";
$title = "LanguageTool";
$title2 = "U... | remove outdated information about standalone-libs.zip | languagetool-org_languagetool | train |
5b5a31e49e0826856beac570b1b0a7d8469eddd9 | diff --git a/client/lib/post-normalizer/rule-content-make-images-safe.js b/client/lib/post-normalizer/rule-content-make-images-safe.js
index <HASH>..<HASH> 100644
--- a/client/lib/post-normalizer/rule-content-make-images-safe.js
+++ b/client/lib/post-normalizer/rule-content-make-images-safe.js
@@ -60,7 +60,7 @@ functio... | Reader: Stop resizing images in content (#<I>)
This was a misguided attempt to get bigger images for features, from a long time ago.
Sadly, it breaks things that use photon or the wp image api to make images a specific size.
We'll revisit this later if necessary. | Automattic_wp-calypso | train |
38f3583e25f92a29b860993c72fb7c5b1121b636 | diff --git a/skosprovider/skos.py b/skosprovider/skos.py
index <HASH>..<HASH> 100644
--- a/skosprovider/skos.py
+++ b/skosprovider/skos.py
@@ -124,7 +124,12 @@ class Note:
def __init__(self, note, type="note", language="und", markup=None):
self.note = note
self.type = type
- self.language ... | Note is more strict in handling languages. | koenedaele_skosprovider | train |
97236cfe60a8b4cffac3dd7a0462442771597de9 | diff --git a/lib/couchbase/view_row.rb b/lib/couchbase/view_row.rb
index <HASH>..<HASH> 100644
--- a/lib/couchbase/view_row.rb
+++ b/lib/couchbase/view_row.rb
@@ -26,12 +26,20 @@ module Couchbase
module Java::ComCouchbaseClientProtocolViews::ViewRow
def doc
- {
- 'meta' => {
- 'id' =>... | Ensure we don't fetch docs from views when asked not to | mje113_couchbase-jruby-client | train |
9556a028ce816938f82ae1f8276a10d89c5daae1 | diff --git a/server/kiwi.js b/server/kiwi.js
index <HASH>..<HASH> 100755
--- a/server/kiwi.js
+++ b/server/kiwi.js
@@ -5,6 +5,7 @@ var fs = require('fs'),
config = require('./configuration.js'),
modules = require('./modules.js'),
Identd = require('./identd.js'),
+ Proxy = ... | Proxy server type in config file | prawnsalad_KiwiIRC | train |
45dd6474d2b281031f2f5765f04b515df14266b0 | diff --git a/src/main/java/de/thetaphi/forbiddenapis/gradle/GradleTask.java b/src/main/java/de/thetaphi/forbiddenapis/gradle/GradleTask.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/thetaphi/forbiddenapis/gradle/GradleTask.java
+++ b/src/main/java/de/thetaphi/forbiddenapis/gradle/GradleTask.java
@@ -143,18 +1... | Remove targetVersion property. Gradle does not allow to set it on compileJava tasks, so we also don't allow it. | policeman-tools_forbidden-apis | train |
fc067f51acf2ed7af325eb0726d9fcef746e410b | diff --git a/pgmpy/factors/discrete/CPD.py b/pgmpy/factors/discrete/CPD.py
index <HASH>..<HASH> 100644
--- a/pgmpy/factors/discrete/CPD.py
+++ b/pgmpy/factors/discrete/CPD.py
@@ -258,7 +258,7 @@ class TabularCPD(DiscreteFactor):
self.get_values(),
evidence,
evidence_card,
- ... | Fix for Tabular CPD copy() function (#<I>)
Fixes copy method of TabularCPD:
1. TabularCPD.copy didn't use to make a copy of state_names which results in a change in the copied cpd's state names if there's any change in original.
2. Adds tests for the same. | pgmpy_pgmpy | train |
2568ffb391149d8457d75594d6ad3fff878e7d39 | diff --git a/lib/requester/requester.js b/lib/requester/requester.js
index <HASH>..<HASH> 100644
--- a/lib/requester/requester.js
+++ b/lib/requester/requester.js
@@ -295,7 +295,12 @@ _.assign(Requester.prototype, /** @lends Requester.prototype */ {
onStart = function (response) {
var resp... | Add support for async cookie jar | postmanlabs_postman-runtime | train |
52ebd35785e681488b63bd1d8b66bd1fa8218597 | diff --git a/application/Espo/Services/Record.php b/application/Espo/Services/Record.php
index <HASH>..<HASH> 100644
--- a/application/Espo/Services/Record.php
+++ b/application/Espo/Services/Record.php
@@ -280,6 +280,18 @@ class Record extends \Espo\Core\Services\Base
}
}
+ protected function loadLi... | supporting link multiple field on the list view | espocrm_espocrm | train |
44204cf037a0080a5ea62630e0749d520dc77cb8 | diff --git a/rails_generators/cucumber/templates/env.rb b/rails_generators/cucumber/templates/env.rb
index <HASH>..<HASH> 100644
--- a/rails_generators/cucumber/templates/env.rb
+++ b/rails_generators/cucumber/templates/env.rb
@@ -1,7 +1,17 @@
# IMPORTANT: This file was generated by Cucumber <%= Cucumber::VERSION %>
+... | Explain to people that they don't have to do massive edits to env.rb | cucumber_cucumber-ruby | train |
bf9755863e19d71ef315d64de8ae918a81367e5b | diff --git a/bundles.py b/bundles.py
index <HASH>..<HASH> 100644
--- a/bundles.py
+++ b/bundles.py
@@ -92,6 +92,7 @@ jquery = Bundle(
"jquery.treeview": "latest", # orphan, to be replaced by jqTree
"json2": "latest", # orphan
"hogan": "~3",
+ "MathJax": "~2.4", # orphan
"sw... | global: MathJax into bundles | inveniosoftware_invenio-base | train |
f84e96880e12365e801964861744e73eb085920e | diff --git a/abstract.js b/abstract.js
index <HASH>..<HASH> 100644
--- a/abstract.js
+++ b/abstract.js
@@ -491,10 +491,10 @@ ee(Object.defineProperties(PersistenceDriver.prototype, assign({
return result;
});
}),
- searchIndex: d(function (keyPath, callback) {
- return this._searchIndex(ensureString(keyPath),... | Rename searchIndex to searchComputed | medikoo_dbjs-persistence | train |
58c8a334ad466fe53051e22c5edf9e26debb7b7c | diff --git a/pdclient/dispenser_client.go b/pdclient/dispenser_client.go
index <HASH>..<HASH> 100644
--- a/pdclient/dispenser_client.go
+++ b/pdclient/dispenser_client.go
@@ -1,9 +1,52 @@
package pdclient
+import (
+ "bytes"
+ "fmt"
+ "io"
+ "net/http"
+ "time"
+)
+
//NewClient - constructor for a new dispenser cli... | [#<I>] postlease can now create a request | pivotal-pez_pezdispenser | train |
c2bd13d448e5d7cc828ace26c9323b331f967a25 | diff --git a/lib/eu_central_bank.rb b/lib/eu_central_bank.rb
index <HASH>..<HASH> 100644
--- a/lib/eu_central_bank.rb
+++ b/lib/eu_central_bank.rb
@@ -145,7 +145,8 @@ class EuCentralBank < Money::Bank::VariableExchange
data.each do |key, rate|
from, to = key.split(SERIALIZER_SEPARATOR)
to, date... | Ensure exported rates can be re-imported back (#<I>) | RubyMoney_eu_central_bank | train |
d176cfab34de3499329e4ab20b1a6237a030a56f | diff --git a/src/pluggy/hooks.py b/src/pluggy/hooks.py
index <HASH>..<HASH> 100644
--- a/src/pluggy/hooks.py
+++ b/src/pluggy/hooks.py
@@ -187,6 +187,7 @@ class _HookCaller:
self._wrappers = []
self._nonwrappers = []
self._hookexec = hook_execute
+ self._call_history = None
se... | Initialize HookCaller._call_history to None instead of using hasattr
hasattr is slow, can't be typed properly, and makes the code harder to
understand. | pytest-dev_pluggy | train |
0aa81704f565cfd6a9fcba529b196c679dfd9623 | diff --git a/packages/components/bolt-nav-indicator/index.js b/packages/components/bolt-nav-indicator/index.js
index <HASH>..<HASH> 100644
--- a/packages/components/bolt-nav-indicator/index.js
+++ b/packages/components/bolt-nav-indicator/index.js
@@ -1,5 +1,7 @@
import { polyfillLoader } from '@bolt/core-v3.x/polyfill... | chore: port over dynamic import cleanup from epic/academy branch | bolt-design-system_bolt | train |
fecb888e52cda7ffbc1b293687d5dc466f4aafbf | diff --git a/simulator/src/main/java/com/hazelcast/simulator/protocol/connector/AbstractServerConnector.java b/simulator/src/main/java/com/hazelcast/simulator/protocol/connector/AbstractServerConnector.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/protocol/connector/AbstractServ... | Added missing method to ServerConnector | hazelcast_hazelcast-simulator | train |
9e81845dba6f893695d6c6af9544dc8cbbaa8ac4 | diff --git a/ipuz/structures/clue.py b/ipuz/structures/clue.py
index <HASH>..<HASH> 100644
--- a/ipuz/structures/clue.py
+++ b/ipuz/structures/clue.py
@@ -5,6 +5,14 @@ from .enumeration import validate_enumeration
def validate_clue(field_data):
+ def validate_list_of_cluenum(value):
+ if type(value) is n... | Refactoring to reduce amount of code needed | svisser_ipuz | train |
412a3036f541fb3d87e7fdabec5ddf76343ef518 | diff --git a/bin/stimela b/bin/stimela
index <HASH>..<HASH> 100755
--- a/bin/stimela
+++ b/bin/stimela
@@ -20,4 +20,9 @@ if not os.path.exists(stimela.LOG_CONTAINERS):
if not os.path.exists(stimela.LOG_PROCESS):
with open(stimela.LOG_PROCESS, "w") as std:
pass
+
+if not os.path.exists(stimela.LOG_CABS):
... | label cabs for each USER | SpheMakh_Stimela | train |
b242c33f118bd2a400214e51af15eac1819b4bcf | diff --git a/Model/Menu/Import/SampleFile.php b/Model/Menu/Import/SampleFile.php
index <HASH>..<HASH> 100644
--- a/Model/Menu/Import/SampleFile.php
+++ b/Model/Menu/Import/SampleFile.php
@@ -75,7 +75,7 @@ class SampleFile
public function getFileDownloadContent()
{
$data = $this->getSampleData();
- ... | [<I>] Update sample file model file download content method | SnowdogApps_magento2-menu | train |
9dee2cf13417c70db1694c0ddf4dfcceae8f6d9a | diff --git a/src/org/opencms/search/CmsSearchManager.java b/src/org/opencms/search/CmsSearchManager.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/search/CmsSearchManager.java
+++ b/src/org/opencms/search/CmsSearchManager.java
@@ -1742,8 +1742,6 @@ public class CmsSearchManager implements I_CmsScheduledJob, I_C... | Fixed index lock problem during installation.
Due to the forced unlocking, indexing during the installation of OpenCms
caused problems. | alkacon_opencms-core | train |
c72402a5172445eb40968714d55e09eabacd9eb4 | diff --git a/app/controllers/wafflemix/pages_controller.rb b/app/controllers/wafflemix/pages_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/wafflemix/pages_controller.rb
+++ b/app/controllers/wafflemix/pages_controller.rb
@@ -13,7 +13,7 @@ module Wafflemix
def show
if params[:id]
- ... | Find by id if exists. | jrissler_wafflemix | train |
168e86ff71801d79928bf52da282291e3f6495a5 | diff --git a/tests/test_packages.py b/tests/test_packages.py
index <HASH>..<HASH> 100644
--- a/tests/test_packages.py
+++ b/tests/test_packages.py
@@ -38,25 +38,19 @@ class TestPackage(TestCase):
self.assertEqual(repr(Package.parse('foo-1')),
"Package.parse('foo-1.0.0')")
- def t... | removed Package().__cmp__, added __eq__ and __lt__
More python 3 friendly, same result | pmuller_versions | train |
b4b93a57c99a8deb87cc5028a6b3b29f9e5dd0a9 | diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php
index <HASH>..<HASH> 100644
--- a/includes/functions/functions_print_lists.php
+++ b/includes/functions/functions_print_lists.php
@@ -1378,7 +1378,7 @@ function print_changes_list($change_ids, $sort, $show_parents=f... | I<I>N: add order-indicators to messages with multiple place-holders | fisharebest_webtrees | train |
273d9ce89de8c52afba015c40530040688f1f829 | diff --git a/lib/ios-deploy.js b/lib/ios-deploy.js
index <HASH>..<HASH> 100644
--- a/lib/ios-deploy.js
+++ b/lib/ios-deploy.js
@@ -46,9 +46,11 @@ class IOSDeploy {
}
async isAppInstalled (bundleid) {
- let isInstalled = [`--exists`, `--id`, this.udid, `--bundle_id`, bundleid];
+ let installStatusArgs = [`... | show ios deploy command and the stdout (#<I>)
* show ios deploy command and the stdout
* fix comments | appium_appium-xcuitest-driver | train |
6cb72234eb2a336b683ec4f36fe129dcde86c025 | diff --git a/morphia/src/main/java/com/google/code/morphia/DatastoreImpl.java b/morphia/src/main/java/com/google/code/morphia/DatastoreImpl.java
index <HASH>..<HASH> 100644
--- a/morphia/src/main/java/com/google/code/morphia/DatastoreImpl.java
+++ b/morphia/src/main/java/com/google/code/morphia/DatastoreImpl.java
@@ -2... | Added sparse index support (for <I>+) | MorphiaOrg_morphia | train |
67df72abdef7374c37c7ccd4e8b48ca253692eb6 | diff --git a/test/test_dnsbl-client.rb b/test/test_dnsbl-client.rb
index <HASH>..<HASH> 100755
--- a/test/test_dnsbl-client.rb
+++ b/test/test_dnsbl-client.rb
@@ -44,7 +44,8 @@ class TestDNSBLClient < Minitest::Test
def test_interpret_project_honeypot_results
apikey = ENV.fetch 'PHPAPIKEY', nil
- skip 'Pro... | skip Project Honeypot test without key - next try | chrislee35_dnsbl-client | train |
b913a65ddda34f6b07681064853a1e0fc33a9f00 | diff --git a/tensorlayer/layers/core.py b/tensorlayer/layers/core.py
index <HASH>..<HASH> 100644
--- a/tensorlayer/layers/core.py
+++ b/tensorlayer/layers/core.py
@@ -189,6 +189,7 @@ class Layer(object):
# self._outputs_shape = self.outputs.get_shape().as_list()
self._built = True
+ ... | is_train as an attribute of base layer and remove is_train as argument for forward function | tensorlayer_tensorlayer | train |
31b3a65a0d0c2958c02d0695e56cef5a95ba2cb0 | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -111,11 +111,9 @@ Parser.prototype = {
var type = this.peek.type;
switch (type) {
case 'variable':
- return this.variable;
case 'property':
- return this.property;
... | Refactored Parser#statement | stylus_stylus | train |
6da9174d3eed078b4facd8dcf71f7a6064c8d418 | diff --git a/utils/utils.go b/utils/utils.go
index <HASH>..<HASH> 100644
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -132,20 +132,20 @@ func CopyFile(src, dst string) (err error) {
return
}
}
- if err = os.Link(src, dst); err == nil {
- return
- }
- err = copyFileContents(src, dst)
+ // if err = os.Link(src,... | force copy files to target for user root and keep mod of source | blablacar_dgr | train |
ab6ba8aa1c761787d9dba7d47b931da39f7b37c2 | diff --git a/src/controls/trackpad-controls.js b/src/controls/trackpad-controls.js
index <HASH>..<HASH> 100644
--- a/src/controls/trackpad-controls.js
+++ b/src/controls/trackpad-controls.js
@@ -60,6 +60,7 @@ module.exports = AFRAME.registerComponent('trackpad-controls', {
},
onTouchStart: function (e) {
+ t... | Re-add canRecordAxis var
Without it, it appears that the axismove handler is a little too
sensitive, and after any type of movement, the rig is getting pulled to
the right. | donmccurdy_aframe-extras | train |
725ea4ec44d6e1e982655c3da1e3b72f9b8d1545 | diff --git a/candidate.js b/candidate.js
index <HASH>..<HASH> 100644
--- a/candidate.js
+++ b/candidate.js
@@ -56,7 +56,7 @@ var partValidation = [
**/
module.exports = function(data) {
var errors = [];
- var candidate = data && data.candidate;
+ var candidate = data && (data.candidate || data);
var prefixMat... | Allow just the candidate line to be the subject of the test | rtc-io_rtc-validator | train |
0d8add8737bc07981b56947856ef607fc914cfab | diff --git a/build/rollup.js b/build/rollup.js
index <HASH>..<HASH> 100644
--- a/build/rollup.js
+++ b/build/rollup.js
@@ -169,36 +169,31 @@ function bundleOptions (format, package, env = 'development') {
options.output.globals = (id) => {
if (id === 'vue') return 'Vue'
- // if (ol[id] != null)... | Rollback to previous UMD build strategy
Including stuff from OpenLayers into UMD produces more problems than
convenience.
#<I> | ghettovoice_vuelayers | train |
a21d5fe54b5cdb77abfd17e32fa3546229a3b202 | diff --git a/dataloader.py b/dataloader.py
index <HASH>..<HASH> 100644
--- a/dataloader.py
+++ b/dataloader.py
@@ -71,6 +71,8 @@ class DataLoader:
label_value[label_map[label]] = 1.0
label_values.append(label_value)
+ self._check_data_not_empty(images)
+
return np.array(image... | Updated tests for loading data from directory | thoughtworksarts_EmoPy | train |
9edc9556b0e14aa1d44072b3f9ecd7a3ef6fb8ab | diff --git a/models/User.php b/models/User.php
index <HASH>..<HASH> 100644
--- a/models/User.php
+++ b/models/User.php
@@ -75,9 +75,18 @@ class User extends UserBase
*/
public function attemptActivation($code)
{
- $result = parent::attemptActivation($code);
- if ($result === false) {
- ... | Fix reactiving of soft-deleted users
The deactivate user action soft-deletes users in the DB. This allows the `attemptActivation()` method to restore users who were deactivated this way.
Fixes #<I>. | rainlab_user-plugin | train |
e1387e97348a69273ab5b06192176b824c50c820 | diff --git a/tests/FluentDOM/XMLWriterTest.php b/tests/FluentDOM/XMLWriterTest.php
index <HASH>..<HASH> 100644
--- a/tests/FluentDOM/XMLWriterTest.php
+++ b/tests/FluentDOM/XMLWriterTest.php
@@ -5,6 +5,9 @@ namespace FluentDOM {
class XMLWriterTest extends TestCase {
+ /**
+ * @covers \FluentDOM\XMLWriter... | Tested FluentDOM\XmlWriter | ThomasWeinert_FluentDOM | train |
68b6aa2055b795208aafcae526929e60e13beac2 | diff --git a/molgenis-omx-biobankconnect/src/main/resources/js/ontology-tree-view.js b/molgenis-omx-biobankconnect/src/main/resources/js/ontology-tree-view.js
index <HASH>..<HASH> 100644
--- a/molgenis-omx-biobankconnect/src/main/resources/js/ontology-tree-view.js
+++ b/molgenis-omx-biobankconnect/src/main/resources/js... | added error handling and sort the nodes alphabitically | molgenis_molgenis | train |
a2b1a71e01676640434e0f0b7fc5f3ab1b9a8bde | diff --git a/salt/proxy/philips_hue.py b/salt/proxy/philips_hue.py
index <HASH>..<HASH> 100644
--- a/salt/proxy/philips_hue.py
+++ b/salt/proxy/philips_hue.py
@@ -119,7 +119,12 @@ def _set(lamp_id, state, method="state"):
:return:
'''
url = "{0}/lights/{1}".format(CONFIG['url'], lamp_id) + (method and "/... | Fix crash if the controller is down | saltstack_salt | train |
493e53e0cb348857e3bbd61eda783c4a691f3fe1 | diff --git a/gruntfile.js b/gruntfile.js
index <HASH>..<HASH> 100644
--- a/gruntfile.js
+++ b/gruntfile.js
@@ -85,7 +85,7 @@ function prepareGrunt(grunt) {
// grunt watch:mochaTest
mochaTest: {
files: allFiles,
- tasks: ['mochaTest:test'],
+ ... | changing "grunt watch" to run coverage | RackHD_on-core | train |
dcc0642fbe0099fba90ef68c45c82cda56a87dbe | diff --git a/src/TricksterServiceProvider.php b/src/TricksterServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/TricksterServiceProvider.php
+++ b/src/TricksterServiceProvider.php
@@ -3,12 +3,6 @@
namespace Secrethash\Trickster;
use Illuminate\Support\ServiceProvider;
-
-use Symfony\Component\Finder\Finder;... | fix(core): publish config | secrethash_trickster | train |
b513c08e71a0b88c430d7f06d1757dad702ba2ca | diff --git a/libkbfs/block_tree.go b/libkbfs/block_tree.go
index <HASH>..<HASH> 100644
--- a/libkbfs/block_tree.go
+++ b/libkbfs/block_tree.go
@@ -6,6 +6,7 @@ package libkbfs
import (
"context"
+ "fmt"
"github.com/keybase/client/go/logger"
"github.com/keybase/client/go/protocol/keybase1"
@@ -609,6 +610,45 @@... | block_tree: useful string method to print levels of tree
Issue: KBFS-<I> | keybase_client | train |
fc08c7a530e20ecfc056a273f084063cf805ee70 | diff --git a/joomla/application/categories.php b/joomla/application/categories.php
index <HASH>..<HASH> 100644
--- a/joomla/application/categories.php
+++ b/joomla/application/categories.php
@@ -551,10 +551,9 @@ class JCategoryNode extends JObject
*/
function getMetadata()
{
- if(!($this->metadata instanceof JP... | # Fix bug in JCategories causing failed system test
# Fix minor language issue for consistency
# Misc. fixes to system tests
--HG--
extra : convert_revision : svn%3A6f6e1ebd-4c2b-<I>-<I>f-f<I>bde<I>bce9/development/trunk/libraries%<I> | joomla_joomla-framework | train |
9eb5cc4d460dc4184930c513066718c0c7db41fe | diff --git a/src/Charcoal/Admin/Widget/FormWidget.php b/src/Charcoal/Admin/Widget/FormWidget.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Admin/Widget/FormWidget.php
+++ b/src/Charcoal/Admin/Widget/FormWidget.php
@@ -288,8 +288,7 @@ class FormWidget extends AdminWidget implements
}
if (is_arra... | Remove unnecessary ident set on newly created property | locomotivemtl_charcoal-admin | train |
4bd6b5c526f327954034fda0f665a6e791a12a76 | diff --git a/scheduler/ecs/ecs.go b/scheduler/ecs/ecs.go
index <HASH>..<HASH> 100644
--- a/scheduler/ecs/ecs.go
+++ b/scheduler/ecs/ecs.go
@@ -397,6 +397,8 @@ func (m *Scheduler) updateCreateService(ctx context.Context, app *scheduler.App,
return m.createService(ctx, app, p)
}
+// loadBalancer creates (or updates)... | Add docs to loadBalancer method. | remind101_empire | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.