hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
6af5734a87f4ee8dd5f30848cb5be76b9996f0d0 | diff --git a/tests/frontend/org/voltdb/TestAdhocCreateTable.java b/tests/frontend/org/voltdb/TestAdhocCreateTable.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/TestAdhocCreateTable.java
+++ b/tests/frontend/org/voltdb/TestAdhocCreateTable.java
@@ -119,4 +119,47 @@ public class TestAdhocCreateTable ex... | ENG-<I>: Test creation of a partitioned table. | VoltDB_voltdb | train |
f044685e6e11316104b29ff91a9dd689fa5c6925 | diff --git a/app/view_objects/carnival/thead_renderer.rb b/app/view_objects/carnival/thead_renderer.rb
index <HASH>..<HASH> 100644
--- a/app/view_objects/carnival/thead_renderer.rb
+++ b/app/view_objects/carnival/thead_renderer.rb
@@ -1,52 +1,45 @@
module Carnival
class TheadRenderer
-
- def initialize fields, s... | Refactor thead_renderer | Vizir_carnival | train |
10c8fff32fb392b319cce341321d7a24023d4728 | diff --git a/go/cmd/galera-autofix/main.go b/go/cmd/galera-autofix/main.go
index <HASH>..<HASH> 100644
--- a/go/cmd/galera-autofix/main.go
+++ b/go/cmd/galera-autofix/main.go
@@ -13,15 +13,15 @@ import (
"github.com/inverse-inc/packetfence/go/sharedutils"
)
-const (
- startWait = time.Duration(5... | allow to read galera-autofix settings from the env | inverse-inc_packetfence | train |
7a1f8c21d7e10b45b38b1704fbcdf2fc87850449 | diff --git a/Helper/Cart.php b/Helper/Cart.php
index <HASH>..<HASH> 100644
--- a/Helper/Cart.php
+++ b/Helper/Cart.php
@@ -2202,6 +2202,16 @@ class Cart extends AbstractHelper
/////////////////////////////////////////////////////////////////////////////////
if (($amount = abs($address->getDiscountAmou... | Collect total if discount did not found (#<I>) | BoltApp_bolt-magento2 | train |
2394dc5dd7fae68b2320ad5b0bdaa60d9189cb4b | diff --git a/python/sdss_access/path/path.py b/python/sdss_access/path/path.py
index <HASH>..<HASH> 100644
--- a/python/sdss_access/path/path.py
+++ b/python/sdss_access/path/path.py
@@ -2,7 +2,10 @@ from __future__ import division, print_function
import os
import re
+from glob import glob
from os.path import join... | added new methods in Path to deal with local files using full, with options for url: see exists, expand, any, one, random | sdss_sdss_access | train |
941b5ddc1b4363115994a84bfe76f6e657fb858a | diff --git a/thunder/images/readers.py b/thunder/images/readers.py
index <HASH>..<HASH> 100644
--- a/thunder/images/readers.py
+++ b/thunder/images/readers.py
@@ -1,4 +1,5 @@
import itertools
+import warnings
from io import BytesIO
from numpy import frombuffer, prod, random, asarray, expand_dims
@@ -283,8 +284,8 @... | Added a warning instead of error if nplanes doesn't divide the number of pages in a tif file | thunder-project_thunder | train |
901cf8024b5b663a96dbec92a2309fc6e3f7cebf | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -6,31 +6,10 @@
'use strict';
exports.func =
-function func(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = undefined;
- }
-
- if (!callback) {
- return... | Make modulename.func async
I don't think the complexity of supporting callback functions is
warranted anymore. Promises are preferable for most use cases and async
functions are supported on all current versions of Node.js. Simplify
the func example by making it async and removing the callback code. | kevinoid_travis-status | train |
5492a356a0c9f7ed8bc62b750d54cb8652574f6e | diff --git a/ontrack-extension-jenkins/src/test/java/net/nemerosa/ontrack/extension/jenkins/model/JenkinsJobPropertyTypeTest.java b/ontrack-extension-jenkins/src/test/java/net/nemerosa/ontrack/extension/jenkins/model/JenkinsJobPropertyTypeTest.java
index <HASH>..<HASH> 100644
--- a/ontrack-extension-jenkins/src/test/ja... | #<I> Trimming the Jenkins job URL - fixing tests | nemerosa_ontrack | train |
aabf097e88757fd9b04665890a6676d4b317baa9 | diff --git a/spec/couchrest/core/design_spec.rb b/spec/couchrest/core/design_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/couchrest/core/design_spec.rb
+++ b/spec/couchrest/core/design_spec.rb
@@ -14,7 +14,7 @@ describe CouchRest::Design do
describe "with an unsaved view" do
before(:each) do
@des = Cou... | Tidying up spec, remove unnecessary assignments to local variable | couchrest_couchrest | train |
4202f5d5d1ede003b0591e22ddd7c7760bd7537a | diff --git a/openpnm/core/Base.py b/openpnm/core/Base.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Base.py
+++ b/openpnm/core/Base.py
@@ -265,7 +265,7 @@ class Base(dict):
keys = self.keys(mode='all', deep=True)
vals.update({k: self.interleave_data(k) for k in keys
... | tweaked __getitem__ to only update missing model if object has models attr | PMEAL_OpenPNM | train |
531af074eb38f23e80368e360a7b432a0a59fcdb | diff --git a/src/com/jayantkrish/jklol/ccg/CcgCategory.java b/src/com/jayantkrish/jklol/ccg/CcgCategory.java
index <HASH>..<HASH> 100644
--- a/src/com/jayantkrish/jklol/ccg/CcgCategory.java
+++ b/src/com/jayantkrish/jklol/ccg/CcgCategory.java
@@ -1,6 +1,7 @@
package com.jayantkrish.jklol.ccg;
import java.io.Seriali... | escapes, better error checking, integration | jayantk_jklol | train |
9cf393ac27728287927d2c1400e046a8c16679e7 | diff --git a/sos/plugins/pcp.py b/sos/plugins/pcp.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/pcp.py
+++ b/sos/plugins/pcp.py
@@ -89,6 +89,7 @@ class Pcp(Plugin, RedHatPlugin, DebianPlugin):
var_conf_dir = os.path.join(self.pcp_var_dir, 'config')
self.add_copy_spec([
self.pcp_sysconf... | [pcp] collect /etc/pcp.conf
The file /etc/pcp.conf is added to list of lists that will be collected. | sosreport_sos | train |
1da582fb884a2f09a13a62ed87cb6084785e47ed | diff --git a/lib/console-reporter.js b/lib/console-reporter.js
index <HASH>..<HASH> 100644
--- a/lib/console-reporter.js
+++ b/lib/console-reporter.js
@@ -10,6 +10,7 @@ const moment = require('moment');
const chalk = require('chalk');
const Table = require('cli-table3');
const util = require('./util');
+const SSMS =... | fix(console-reporter): make classic report format work again | artilleryio_artillery | train |
84f1b3ff24e8b5ef66a0df0f2528f859c7c11ba3 | diff --git a/CHANGES.rst b/CHANGES.rst
index <HASH>..<HASH> 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,5 +1,10 @@
Changelog
=========
+v0.2.5 (2014-11-02)
+-------------------
+- Be slightly more verbose on API authentication, premium status, number of channels found
+- Fixed bug where stations were shown in ch... | Disabled stations not recognized correctly, most configuration settings are now optional | nilicule_mopidy-audioaddict | train |
94b8852f550ee400c4dde97d7ecf1bd2f4764af7 | diff --git a/linux/att/att.go b/linux/att/att.go
index <HASH>..<HASH> 100644
--- a/linux/att/att.go
+++ b/linux/att/att.go
@@ -13,3 +13,18 @@ var (
// [Vol 3, Part F, 3.3.3]
ErrSeqProtoTimeout = errors.New("req timeout")
)
+
+var rspOfReq = map[byte]byte{
+ ExchangeMTURequestCode: ExchangeMTUResponseCode,
+ Fi... | linux: consolidate client connection handling.
Even we're establising master connection (as a central),
we might still get a ATT request from the remote peripheral.
In this case, handle it properly b returning an non-suuport
response and continue waiting the response to our request. | currantlabs_ble | train |
14468afef0b6ad16bb92a95ab6322cfbf6707ffc | diff --git a/app/controllers/fullcalendar_engine/events_controller.rb b/app/controllers/fullcalendar_engine/events_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/fullcalendar_engine/events_controller.rb
+++ b/app/controllers/fullcalendar_engine/events_controller.rb
@@ -23,10 +23,15 @@ module Fullcalend... | Fix Query for the fetching of the events on calendar | vinsol_fullcalendar-rails-engine | train |
9f76b9a2d5bcb21b1cff717e9096fe53d93cfcd5 | diff --git a/OAuth/ResourceOwner/AbstractResourceOwner.php b/OAuth/ResourceOwner/AbstractResourceOwner.php
index <HASH>..<HASH> 100644
--- a/OAuth/ResourceOwner/AbstractResourceOwner.php
+++ b/OAuth/ResourceOwner/AbstractResourceOwner.php
@@ -210,17 +210,17 @@ abstract class AbstractResourceOwner implements ResourceOwn... | Fix issue sending empty content as POST instead of GET
Fixes #<I>.
Alternative to: #<I>, #<I> | hwi_HWIOAuthBundle | train |
d159ba629824622ed1f6388b334f1a0e7b8c3cf5 | diff --git a/Kwc/List/Carousel/Carousel.js b/Kwc/List/Carousel/Carousel.js
index <HASH>..<HASH> 100644
--- a/Kwc/List/Carousel/Carousel.js
+++ b/Kwc/List/Carousel/Carousel.js
@@ -43,6 +43,8 @@ Kwc.List.Carousel.Carousel = Ext.extend(Kwf.EyeCandy.List.Plugins.Abstract, {
this.list.setActiveChangeLocked(true);
... | call onContentReady when move to next/previous in list carousel
is necessary for responsive images | koala-framework_koala-framework | train |
7c7a0008dc19694a96617ef196a4b0f52f181b22 | diff --git a/src/Shell/AssetCompressShell.php b/src/Shell/AssetCompressShell.php
index <HASH>..<HASH> 100644
--- a/src/Shell/AssetCompressShell.php
+++ b/src/Shell/AssetCompressShell.php
@@ -178,7 +178,7 @@ class AssetCompressShell extends Shell
{
$parser = parent::getOptionParser();
- return $pa... | Fix deprecation in shell. | markstory_asset_compress | train |
ff1263e1e37e374b5dfbbc03e36f294c85886b40 | diff --git a/testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/jms/SendToQueueFromWithinTransactionTest.java b/testsuite/integration/smoke/src/test/java/org/jboss/as/test/smoke/jms/SendToQueueFromWithinTransactionTest.java
index <HASH>..<HASH> 100644
--- a/testsuite/integration/smoke/src/test/java/org/j... | [WFLY-<I>] Ignore JMS client tests with a SecurityManager
Ignore JMS tests that fails when a security manager is installed.
Artemis <I> introduced a regressions as it is missing a priviledged
block when a closing a JMS connection on the client side.
JIRA: <URL> | wildfly_wildfly | train |
f9e1b1d7c0da14fe62a7bd13b068b6ad43ea2dba | diff --git a/pyinfra/api/connectors/sshuserclient/client.py b/pyinfra/api/connectors/sshuserclient/client.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/connectors/sshuserclient/client.py
+++ b/pyinfra/api/connectors/sshuserclient/client.py
@@ -3,7 +3,7 @@ This file as originally part of the "sshuserclient" pypi pack... | Fix tests when no SSH config present. | Fizzadar_pyinfra | train |
895a4085bb203d66da064fe8ae652a6b88f7e247 | diff --git a/examples/file/writer.go b/examples/file/writer.go
index <HASH>..<HASH> 100644
--- a/examples/file/writer.go
+++ b/examples/file/writer.go
@@ -57,8 +57,7 @@ func main() {
defer fh.Close()
fw, err := goavro.NewWriter(
goavro.BlockSize(2),
- // goavro.Compression(goavro.CompressionDeflate),
- // goav... | writer example does not have snappy reference | linkedin_goavro | train |
ce491ccfb03db731940cef77664ad6946fc4be13 | diff --git a/jupyterthemes/stylefx.py b/jupyterthemes/stylefx.py
index <HASH>..<HASH> 100644
--- a/jupyterthemes/stylefx.py
+++ b/jupyterthemes/stylefx.py
@@ -73,7 +73,7 @@ def remove_temp_file():
def install_precompiled_theme(theme):
# for Python 3.5, install selected theme from precompiled defaults
compile... | fix a typo in install_precompiled_theme | dunovank_jupyter-themes | train |
53f263ab730b15be0d30b52ec1e2afac52b29e81 | diff --git a/src/main/errors.js b/src/main/errors.js
index <HASH>..<HASH> 100644
--- a/src/main/errors.js
+++ b/src/main/errors.js
@@ -100,3 +100,9 @@ export class IncorrectSizeError extends ExtendableError {
super(message)
}
}
+
+export class S3Error extends ExtendableError {
+ constructor(message) {
+ su... | errors: throw an instance of S3Error in case of errors from server | minio_minio-js | train |
a36e2de18e8cd98f179a7d8288d912d9c553b139 | diff --git a/pyemma/thermo/api.py b/pyemma/thermo/api.py
index <HASH>..<HASH> 100644
--- a/pyemma/thermo/api.py
+++ b/pyemma/thermo/api.py
@@ -694,7 +694,7 @@ def tram(
callback=callback, init=init, init_maxiter=init_maxiter, init_maxerr=init_maxerr,
equilibrium=equilibrium, overcounti... | fix pg for multiple lags | markovmodel_PyEMMA | train |
33295b84963c4b262eac4ea1a13f103d1cb902bc | diff --git a/src/java/voldemort/client/protocol/admin/BaseStreamingClient.java b/src/java/voldemort/client/protocol/admin/BaseStreamingClient.java
index <HASH>..<HASH> 100644
--- a/src/java/voldemort/client/protocol/admin/BaseStreamingClient.java
+++ b/src/java/voldemort/client/protocol/admin/BaseStreamingClient.java
@... | Fixing NPE in BaseStreamingClient.java related to Faust streaming | voldemort_voldemort | train |
cc21f11655d80f75ecbeab20ea097bc51744829a | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -40,7 +40,11 @@ function listRender(choices, pointer) {
*/
function Prompt(...args) {
Base.apply(this, args);
- this.opt = args[0],
+ this.opt = {
+ ...args[0],
+ suffix: '',
+ prefix: chalk.green('?')
+ },
... | Fix for undefined prefix/suffix on question title. | adam-golab_inquirer-select-line | train |
c528c799ff944feaed7c9027f63307cf3d3891a0 | diff --git a/acorn/src/locutil.js b/acorn/src/locutil.js
index <HASH>..<HASH> 100644
--- a/acorn/src/locutil.js
+++ b/acorn/src/locutil.js
@@ -1,4 +1,4 @@
-import {lineBreakG} from "./whitespace.js"
+import {nextLineBreak} from "./whitespace.js"
// These are used when `options.locations` is on, for the
// `startLoc... | Use a manual loop to scan for line ends
FIX: Use a loop to find line breaks, because the existing regexp search
would overrun the end of the searched range and waste a lot of time
in minified code.
Closes <URL> | acornjs_acorn | train |
e5e90a471fabce5ba4c0cc4894f71bd572614741 | diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/TypeCache.java b/byte-buddy-dep/src/main/java/net/bytebuddy/TypeCache.java
index <HASH>..<HASH> 100644
--- a/byte-buddy-dep/src/main/java/net/bytebuddy/TypeCache.java
+++ b/byte-buddy-dep/src/main/java/net/bytebuddy/TypeCache.java
@@ -1,5 +1,6 @@
package net.byte... | Added hints to checkstyle. | raphw_byte-buddy | train |
e0bbe12d648ebc9576a9dac2a7127264bdd11117 | diff --git a/stream-core/src/main/java/io/getstream/client/config/ClientConfiguration.java b/stream-core/src/main/java/io/getstream/client/config/ClientConfiguration.java
index <HASH>..<HASH> 100644
--- a/stream-core/src/main/java/io/getstream/client/config/ClientConfiguration.java
+++ b/stream-core/src/main/java/io/ge... | Changed default connection timeout to a higher value (<I>ms) | GetStream_stream-java | train |
337bac74768faab2276cbaa678907e4eeb19ad1d | diff --git a/lib/retester/cloud_retester.py b/lib/retester/cloud_retester.py
index <HASH>..<HASH> 100644
--- a/lib/retester/cloud_retester.py
+++ b/lib/retester/cloud_retester.py
@@ -500,6 +500,7 @@ def copy_per_test_data_to_testing_node(node, test_reference):
def start_test_on_node(node, test_command, test_timeout ... | Import global variable into function scope before use.
Closes #<I>. | rethinkdb_rethinkdb | train |
83793ba4597125f168d687e530b8b4347480ed03 | diff --git a/lib/velocity-animate-shim.js b/lib/velocity-animate-shim.js
index <HASH>..<HASH> 100644
--- a/lib/velocity-animate-shim.js
+++ b/lib/velocity-animate-shim.js
@@ -3,7 +3,13 @@
// that they'll render, rather than doing something clever like
// statically rendering the end state of any provided animations.
... | use the existing instance of Velocity instead of requiring a new one
without this, velocity-react was always requiring a new instance of velocity-animate, so require('velocity-animate/velocity-ui') was attaching to the wrong instance. This finds an existing instance the correct way (the same way velocity.ui.js does it... | google-fabric_velocity-react | train |
ca66a1721a35f3d9f4d36bae0c4a5c55eb1bc404 | diff --git a/src/Graviton/RestBundle/Listener/ValidationRequestListener.php b/src/Graviton/RestBundle/Listener/ValidationRequestListener.php
index <HASH>..<HASH> 100644
--- a/src/Graviton/RestBundle/Listener/ValidationRequestListener.php
+++ b/src/Graviton/RestBundle/Listener/ValidationRequestListener.php
@@ -83,6 +83,... | Check for id mismatches in PUT payloads the lame way | libgraviton_graviton | train |
6d11fd7ac64c6dcf5247c8a83bf7bc9320104297 | diff --git a/ghost/admin/lib/koenig-editor/addon/services/koenig-drag-drop-handler.js b/ghost/admin/lib/koenig-editor/addon/services/koenig-drag-drop-handler.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/lib/koenig-editor/addon/services/koenig-drag-drop-handler.js
+++ b/ghost/admin/lib/koenig-editor/addon/services/k... | Fixed `koenigDragDropHandler._resetDrag` throwing errors
no issue
- guard around `_elementsWithHoverRemoved` is necessary because it won't always be set | TryGhost_Ghost | train |
507876f4a7fb87005b88bf0db6bdd7d2f8ebed66 | diff --git a/src/playbacks/hls/hls.js b/src/playbacks/hls/hls.js
index <HASH>..<HASH> 100644
--- a/src/playbacks/hls/hls.js
+++ b/src/playbacks/hls/hls.js
@@ -306,7 +306,7 @@ class HLS extends UIPlugin {
}
HLS.canPlay = function(resource) {
- return !!resource.match(/(.*).m3u8/)
+ return !!resource.match(/^http(.... | hls: match sources that starts with http and ends with m3u8 | clappr_clappr | train |
1a71d06783e0aed3ac1707326f4d1a7a21f04b0b | diff --git a/aeron-mediadriver/src/main/java/uk/co/real_logic/aeron/mediadriver/MediaConductor.java b/aeron-mediadriver/src/main/java/uk/co/real_logic/aeron/mediadriver/MediaConductor.java
index <HASH>..<HASH> 100644
--- a/aeron-mediadriver/src/main/java/uk/co/real_logic/aeron/mediadriver/MediaConductor.java
+++ b/aero... | fix bug in buffer unmapping order, re-enable releases for publications | real-logic_aeron | train |
5bd34009164dd9cf357e8a3a0d09028a7e718daa | diff --git a/src/vivarium/framework/event.py b/src/vivarium/framework/event.py
index <HASH>..<HASH> 100644
--- a/src/vivarium/framework/event.py
+++ b/src/vivarium/framework/event.py
@@ -77,6 +77,12 @@ class Event(NamedTuple):
"""
return Event(new_index, self.user_data, self.time, self.step_size)
+ ... | add back __repr__ and __eq__ to Event | ihmeuw_vivarium | train |
92bd58e70419969a06be4e746ec42eff059bd67f | diff --git a/src/edu/jhu/hltcoe/gridsearch/dmv/ViterbiEmDmvProjector.java b/src/edu/jhu/hltcoe/gridsearch/dmv/ViterbiEmDmvProjector.java
index <HASH>..<HASH> 100644
--- a/src/edu/jhu/hltcoe/gridsearch/dmv/ViterbiEmDmvProjector.java
+++ b/src/edu/jhu/hltcoe/gridsearch/dmv/ViterbiEmDmvProjector.java
@@ -11,6 +11,7 @@ imp... | Projecting with NORMALIZE and EUCLIDEAN
git-svn-id: svn+ssh://external.hltcoe.jhu.edu/home/hltcoe/mgormley/public/repos/dep_parse_filtered/trunk@<I> <I>f-cb4b-<I>-8b<I>-c<I>bcb<I> | mgormley_pacaya | train |
319b472958d0603103b08437ea970fcac6e17213 | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -382,7 +382,7 @@ function require_login($courseid=0) {
if (isset($USER->realuser)) { // Make sure the REAL person can also access this course
if (!isteacher($... | Fix for bug <I> ... just for robustness in the URLs | moodle_moodle | train |
1c6928343f809850a242d0059e7294fc826a9408 | diff --git a/src/Zephyrus/Utilities/Pager.php b/src/Zephyrus/Utilities/Pager.php
index <HASH>..<HASH> 100644
--- a/src/Zephyrus/Utilities/Pager.php
+++ b/src/Zephyrus/Utilities/Pager.php
@@ -33,27 +33,32 @@ class Pager
private $maxEntities;
/**
- * @var
+ * @var string
*/
private $urlPara... | Added offset for postgres and more tight page validation | dadajuice_zephyrus | train |
2da81f627626848f950411f2574392ba9dc0f019 | diff --git a/pyte/compiler.py b/pyte/compiler.py
index <HASH>..<HASH> 100644
--- a/pyte/compiler.py
+++ b/pyte/compiler.py
@@ -1,6 +1,8 @@
"""
Compiles python bytecode using `types.FunctionType`.
"""
+from pyte.superclasses import _PyteOp
+from pyte.exc import CompileError
import types
DEFAULT_STACKSIZE = 10
@@ ... | Add support for _PyteOp to compiler | Fuyukai_Pyte | train |
bb245d78a7f6c3d03cb53dff4c7ff749bb4b43cb | diff --git a/ncclient/manager.py b/ncclient/manager.py
index <HASH>..<HASH> 100644
--- a/ncclient/manager.py
+++ b/ncclient/manager.py
@@ -145,10 +145,13 @@ def connect_ioproc(*args, **kwds):
def connect(*args, **kwds):
if "host" in kwds:
host = kwds["host"]
- if host != 'localhost':
- ... | with localhost configured in ssh config, it was always pointing to junos specific code | ncclient_ncclient | train |
ba450c42f138f06855071de1f25f36f233eb33d0 | diff --git a/lib/arjdbc/jdbc/adapter.rb b/lib/arjdbc/jdbc/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc/jdbc/adapter.rb
+++ b/lib/arjdbc/jdbc/adapter.rb
@@ -580,11 +580,6 @@ module ActiveRecord
end
# @override
- def primary_key(table)
- primary_keys(table).first
- end
-
- ... | Removed primary key logic that prevents ActiveRecord primary key logic from executing | jruby_activerecord-jdbc-adapter | train |
420f44eaaf105954c44b7e60dfe05c08c38a50c6 | diff --git a/bakery_cli/utils.py b/bakery_cli/utils.py
index <HASH>..<HASH> 100644
--- a/bakery_cli/utils.py
+++ b/bakery_cli/utils.py
@@ -14,7 +14,10 @@
# limitations under the License.
#
# See AUTHORS.txt for the list of Authors and LICENSE.txt for the License.
-import lxml.etree
+from __future__ import print_func... | Use defusedxml, related to issue #<I> | googlefonts_fontbakery | train |
9d7d810b599c198a4b088981bba2f9e525501535 | diff --git a/concrete/themes/elemental/blocks/accordion/view.php b/concrete/themes/elemental/blocks/accordion/view.php
index <HASH>..<HASH> 100644
--- a/concrete/themes/elemental/blocks/accordion/view.php
+++ b/concrete/themes/elemental/blocks/accordion/view.php
@@ -1,7 +1,8 @@
<?php defined('C5_EXECUTE') or die('Acce... | carry over collapsed class fix for accordions in the elemental theme | concrete5_concrete5 | train |
884104a1d8937f184275a6ed0bfea66e366ed1ed | diff --git a/src/crate/client/sqlalchemy/compiler.py b/src/crate/client/sqlalchemy/compiler.py
index <HASH>..<HASH> 100644
--- a/src/crate/client/sqlalchemy/compiler.py
+++ b/src/crate/client/sqlalchemy/compiler.py
@@ -196,18 +196,16 @@ class CrateCompiler(compiler.SQLCompiler):
if not crud_params and \
... | flake8: corrected multi-line indentation | crate_crate-python | train |
3a22512dd081feebac73d4af11470ea41321cf82 | diff --git a/src/serialize/dom.js b/src/serialize/dom.js
index <HASH>..<HASH> 100644
--- a/src/serialize/dom.js
+++ b/src/serialize/dom.js
@@ -1,10 +1,8 @@
import {Text, BlockQuote, OrderedList, BulletList, ListItem,
- HorizontalRule, Paragraph, Heading, CodeBlock, Image, HardBreak} from "../model"
+ Hor... | Attach style serializing information for dom and markdown to style types | ProseMirror_prosemirror-markdown | train |
729c5db28d812e8580e49f2f31719ad84b0e3034 | diff --git a/flusher.go b/flusher.go
index <HASH>..<HASH> 100644
--- a/flusher.go
+++ b/flusher.go
@@ -384,8 +384,8 @@ func (s *Server) flushTraces(ctx context.Context) {
key, ok := keyI.(string)
if !ok {
log.WithFields(logrus.Fields{
- "key": key,
- "type": reflect.TypeOf(key),
+ "key": keyI,
+ ... | Replace internal mutex in Lightstep sink with sync.Map (#<I>) | stripe_veneur | train |
adff53fda03b44e830af875096c6aa6995e0d7a8 | diff --git a/config/mocha.js b/config/mocha.js
index <HASH>..<HASH> 100644
--- a/config/mocha.js
+++ b/config/mocha.js
@@ -6,6 +6,7 @@ module.exports = {
},
plugins: ['mocha'],
rules: {
+ '@coorpacademy/coorpacademy/use-expect': 'error',
'mocha/handle-done-callback': 'error',
'mocha/max-top-level-... | Add use-expect to mocha config | CoorpAcademy_eslint-plugin-coorpacademy | train |
b94be29501885b393ed8b6a0fff3f4b4843b0968 | diff --git a/mlogversion/mlogversion.py b/mlogversion/mlogversion.py
index <HASH>..<HASH> 100755
--- a/mlogversion/mlogversion.py
+++ b/mlogversion/mlogversion.py
@@ -25,7 +25,9 @@ if __name__ == '__main__':
else:
logfile = sys.stdin
- re_version = re.compile(r'db version v(\d\.\d\.\d), pdfile versio... | added mongoS explicit version detection, nicer output for explicit version detection. | rueckstiess_mtools | train |
ee25d12fb3a2c0c536c1b5ea323e3551397532d9 | diff --git a/src/Ui/Renderer/ActivityMapRenderer.php b/src/Ui/Renderer/ActivityMapRenderer.php
index <HASH>..<HASH> 100644
--- a/src/Ui/Renderer/ActivityMapRenderer.php
+++ b/src/Ui/Renderer/ActivityMapRenderer.php
@@ -9,7 +9,7 @@ use Honeybee\Ui\Activity\ActivityMap;
class ActivityMapRenderer extends Renderer
{
- ... | Change ActivityMap translation domain
- following convention on the view_scope value:
the first 3 parts = vendor.package.resource_type
refs #<I> | honeybee_honeybee | train |
2d350d70fbce6b0545866d2242855f7b7b5b4589 | diff --git a/upload/admin/model/sale/voucher.php b/upload/admin/model/sale/voucher.php
index <HASH>..<HASH> 100644
--- a/upload/admin/model/sale/voucher.php
+++ b/upload/admin/model/sale/voucher.php
@@ -140,7 +140,7 @@ class ModelSaleVoucher extends Model {
$data['title'] = sprintf($this->language->get('text_sub... | Update voucher.php
Sending a voucher per Email leads to an error like: ```PHP Notice: Undefined index: in {server}\system\library\cart\currency.php on line <I>``` and lines <I>,<I> and <I>.
This because the voucher is not created from an order.
Now it takes the currency value from config. | opencart_opencart | train |
3fec0b6eae3943a9a18ad5a173a71ffbe65adc70 | diff --git a/core/src/main/java/org/jsmart/zerocode/core/utils/TokenUtils.java b/core/src/main/java/org/jsmart/zerocode/core/utils/TokenUtils.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/jsmart/zerocode/core/utils/TokenUtils.java
+++ b/core/src/main/java/org/jsmart/zerocode/core/utils/TokenUtils.java
@... | ISSUE-<I> # minor refactoring | authorjapps_zerocode | train |
157b49f071a04722119f4d38f2408a58da967bf2 | diff --git a/tests/feature_extraction/test_extraction.py b/tests/feature_extraction/test_extraction.py
index <HASH>..<HASH> 100644
--- a/tests/feature_extraction/test_extraction.py
+++ b/tests/feature_extraction/test_extraction.py
@@ -175,12 +175,18 @@ class ExtractionTestCase(DataTestCase):
features_per_kind ... | Readded the calculation in a serial mode for profiling which was lost during the API changes | blue-yonder_tsfresh | train |
aa72c19a8ff70e33481a8bad0f82876bea97b8c5 | diff --git a/src/Database/Query.php b/src/Database/Query.php
index <HASH>..<HASH> 100644
--- a/src/Database/Query.php
+++ b/src/Database/Query.php
@@ -1016,9 +1016,14 @@ class Query implements ExpressionInterface, IteratorAggregate {
* Pages should start at 1.
*
* @param int $num The page number you want.
+ * @pa... | Add limit parameter to page()
Being able to set the limit and offset with the page() method
makes it a bit easier to use as the operation is less order dependent.
Refs #<I> | cakephp_cakephp | train |
140a99cdd7b4356107ea4e1818b0f7aba5cec72f | diff --git a/src/Common/Misc/SizeHelper/index.js b/src/Common/Misc/SizeHelper/index.js
index <HASH>..<HASH> 100644
--- a/src/Common/Misc/SizeHelper/index.js
+++ b/src/Common/Misc/SizeHelper/index.js
@@ -14,6 +14,7 @@ const sizeProperties = [
];
const windowListener = debounce(invalidateSize, 250);
+let observer = n... | fix(SizeHelper): Add missing global observer variable
Also fix unsubscription call. | Kitware_paraviewweb | train |
ba3b7ea9cc3d066da14d3859b0c2902b53a068aa | diff --git a/mpldatacursor/datacursor.py b/mpldatacursor/datacursor.py
index <HASH>..<HASH> 100644
--- a/mpldatacursor/datacursor.py
+++ b/mpldatacursor/datacursor.py
@@ -498,7 +498,7 @@ class DataCursor(object):
artist."""
for artist in self.artists:
artist.pick(event)
- if any(se... | Fix for issue #<I>: Draggable datacursors were being hidden on-click | joferkington_mpldatacursor | train |
5c48971eecbbd0d7a3a9df1eeed00899c0dc265b | diff --git a/FAL/lib/fal/ftp.php b/FAL/lib/fal/ftp.php
index <HASH>..<HASH> 100644
--- a/FAL/lib/fal/ftp.php
+++ b/FAL/lib/fal/ftp.php
@@ -1,5 +1,21 @@
<?php
+/**
+ FTP filesystem adapter
+
+ The contents of this file are subject to the terms of the GNU General
+ Public License Version 3.0. You may not use ... | optimize ftp file extension and basename recognition | ikkez_f3-schema-builder | train |
d592b476112eb1f2e9ab3e3eb427388e01a8081d | diff --git a/src/MultiRepoPlugin.php b/src/MultiRepoPlugin.php
index <HASH>..<HASH> 100644
--- a/src/MultiRepoPlugin.php
+++ b/src/MultiRepoPlugin.php
@@ -16,17 +16,22 @@ class MultiRepoPlugin implements PluginInterface
/**
* Plug-in activation
*
- * @param Composer $composer
+ * @param Compose... | Implemented #4: Add resetting repository type
- Added setting type from 'multi-repo-type' option. | andkirby_multi-repo-composer | train |
e0100765e15c028200dfacab66b62d069d619d14 | diff --git a/spec/unit/resource_spec.rb b/spec/unit/resource_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/resource_spec.rb
+++ b/spec/unit/resource_spec.rb
@@ -231,29 +231,33 @@ module ActiveAdmin
end
describe '#find_resource' do
- let(:resource) { namespace.register(Post) }
let(:post) { ... | Better organization of `find_resource` specs | activeadmin_activeadmin | train |
049e55ae5cc5768da5ff768a02724a7849c675e3 | diff --git a/src/de/mrapp/android/preference/activity/PreferenceActivity.java b/src/de/mrapp/android/preference/activity/PreferenceActivity.java
index <HASH>..<HASH> 100644
--- a/src/de/mrapp/android/preference/activity/PreferenceActivity.java
+++ b/src/de/mrapp/android/preference/activity/PreferenceActivity.java
@@ -1... | The bread crumb view is now only shown if the activities toolbar is not shown. | michael-rapp_AndroidPreferenceActivity | train |
e0b4021f3e96ccd52a0a957ef4010c9d70ba0b60 | diff --git a/samples/demos/src/com/actionbarsherlock/sample/demos/app/ActionBarCustomNavigation.java b/samples/demos/src/com/actionbarsherlock/sample/demos/app/ActionBarCustomNavigation.java
index <HASH>..<HASH> 100644
--- a/samples/demos/src/com/actionbarsherlock/sample/demos/app/ActionBarCustomNavigation.java
+++ b/s... | Make sure we show the custom navigation. | JakeWharton_ActionBarSherlock | train |
b1719a9d191eae3803b36c5464ebe72d57ae4fad | diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -1939,7 +1939,7 @@ class ConnectionTests(TestCase, _LoopbackMixin):
"""
ctx = Context(TLSv1_METHOD)
conn = Connection(ctx, None)
- ... | Replace assertIs with assertTrue,
because assertIs is not supported in Python <I> | pyca_pyopenssl | train |
627ae8edc1aa905c5e3e6fbc5f795096efe6c33d | diff --git a/holoviews/operation/stats.py b/holoviews/operation/stats.py
index <HASH>..<HASH> 100644
--- a/holoviews/operation/stats.py
+++ b/holoviews/operation/stats.py
@@ -100,7 +100,7 @@ class univariate_kde(Operation):
elif bin_range[0] == bin_range[1]:
bin_range = (bin_range[0]-0.5, bin_rang... | Allow empty Distribution and Bivariate elements (#<I>) | pyviz_holoviews | train |
71539f85726e6e8d0285cf8ceceb8da676504541 | diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/agenda/AbstractOperation.java b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/agenda/AbstractOperation.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/agenda/AbstractOperati... | Fix unit tests with process instance end checks | Activiti_Activiti | train |
bd483c75e50b05fe3655d930b64cfbaffa1fa454 | diff --git a/session.go b/session.go
index <HASH>..<HASH> 100644
--- a/session.go
+++ b/session.go
@@ -603,9 +603,6 @@ func (s *session) handlePacketImpl(p *receivedPacket) error {
p.rcvTime = time.Now()
}
- s.receivedFirstPacket = true
- s.lastNetworkActivityTime = p.rcvTime
- s.keepAlivePingSent = false
hdr ... | don't save anything about a packet before authenticating it | lucas-clemente_quic-go | train |
7fdce0798116ed9e8ffea0f15d05e474b6b41d87 | diff --git a/src/pages/DataObjectPageController.php b/src/pages/DataObjectPageController.php
index <HASH>..<HASH> 100644
--- a/src/pages/DataObjectPageController.php
+++ b/src/pages/DataObjectPageController.php
@@ -24,7 +24,7 @@
* SOFTWARE.
*/
-use HudhaifaS\DOM\FrontendImageField;
+use HudhaifaS\Fields\Front... | - Upgrading to SS4 & BS4
* Fixed minor bug | hudhaifas_silverstripe-dataobject-manager | train |
c13f5c1b52b6139db6f2da1281bddbdb0eae83df | diff --git a/src/main/java/org/deephacks/tools4j/cli/AnnotationProcessor.java b/src/main/java/org/deephacks/tools4j/cli/AnnotationProcessor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/deephacks/tools4j/cli/AnnotationProcessor.java
+++ b/src/main/java/org/deephacks/tools4j/cli/AnnotationProcessor.java
@@ -4... | minor adjustments to tight-up api | deephacks_tools4j-cli | train |
39cf097e9bdd60488893b98794b8ec2c554d121e | diff --git a/Test/Unit/ComponentHooks8Test.php b/Test/Unit/ComponentHooks8Test.php
index <HASH>..<HASH> 100644
--- a/Test/Unit/ComponentHooks8Test.php
+++ b/Test/Unit/ComponentHooks8Test.php
@@ -7,6 +7,19 @@ namespace DrupalCodeBuilder\Test\Unit;
*/
class ComponentHooks8Test extends TestBaseComponentGeneration {
+... | Added workaround for comment too long in Drupal core hook docs. | drupal-code-builder_drupal-code-builder | train |
843085d65ccbaf52a1cc5fb11345f0f46c9ce460 | diff --git a/src/com/opencms/workplace/CmsAdminProjectNew.java b/src/com/opencms/workplace/CmsAdminProjectNew.java
index <HASH>..<HASH> 100644
--- a/src/com/opencms/workplace/CmsAdminProjectNew.java
+++ b/src/com/opencms/workplace/CmsAdminProjectNew.java
@@ -2,8 +2,8 @@ package com.opencms.workplace;
/*
* File :... | bugfix: folder_tree shows now the tree from the online-project | alkacon_opencms-core | train |
034cdab633af8b46bc8166f9fc2f54609d3ba519 | diff --git a/src/test/java/org/cactoos/collection/CollectionOfTest.java b/src/test/java/org/cactoos/collection/CollectionOfTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/cactoos/collection/CollectionOfTest.java
+++ b/src/test/java/org/cactoos/collection/CollectionOfTest.java
@@ -31,6 +31,7 @@ import org.... | (#<I>) Added some tests for CollectionOf until removed | yegor256_cactoos | train |
73229998498134feaf78af758c3541e84fd163c8 | diff --git a/src/SixtyNine/DataTypes/QuadTree.php b/src/SixtyNine/DataTypes/QuadTree.php
index <HASH>..<HASH> 100644
--- a/src/SixtyNine/DataTypes/QuadTree.php
+++ b/src/SixtyNine/DataTypes/QuadTree.php
@@ -6,6 +6,11 @@ use Doctrine\Common\Collections\ArrayCollection;
class QuadTree
{
+ const Q_TOP_LEFT = 0;
+ ... | Simplify code of QuadTree | sixty-nine_php-data-types | train |
59d2992e2fb918b6c846c522c046fb501ebae546 | diff --git a/eZ/Publish/Core/Repository/Tests/Service/ContentTypeBase.php b/eZ/Publish/Core/Repository/Tests/Service/ContentTypeBase.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/Repository/Tests/Service/ContentTypeBase.php
+++ b/eZ/Publish/Core/Repository/Tests/Service/ContentTypeBase.php
@@ -2053,7 +2053,7 @@... | Fix asserting content type draft id | ezsystems_ezpublish-kernel | train |
1956c98410c804eb675d9d93427bdf87b2d1b81d | diff --git a/lib/blower/host.rb b/lib/blower/host.rb
index <HASH>..<HASH> 100644
--- a/lib/blower/host.rb
+++ b/lib/blower/host.rb
@@ -53,18 +53,6 @@ module Blower
end
end
- def capture (command)
- result = ""
- status = execute(*command) do |kind, data|
- if kind == :stderr
- ... | Remove another Host method now in Context | nbaum_blower | train |
024ea7616e2f388c253618b126dade3dbf93dc83 | diff --git a/test/test_util.py b/test/test_util.py
index <HASH>..<HASH> 100644
--- a/test/test_util.py
+++ b/test/test_util.py
@@ -2,7 +2,7 @@ import os
import tempfile
import ipaddress
from mock import patch
-from unittest import skip
+from unittest import skip as _skip
from os.path import exists
from twisted.t... | Use a different name to avoid triggering trial's skip logic | meejah_txtorcon | train |
f605b04d67ef6939a8afcdbd3d13a8b16cb8ff0d | diff --git a/lib/sorcery/controller/submodules/external.rb b/lib/sorcery/controller/submodules/external.rb
index <HASH>..<HASH> 100644
--- a/lib/sorcery/controller/submodules/external.rb
+++ b/lib/sorcery/controller/submodules/external.rb
@@ -45,7 +45,7 @@ module Sorcery
@provider = Config.send(provider)
... | Explicitly coerce the provider's uid to string
GitHub, for example, returns a numeric id in the user data JSON blob, which is parsed as an Integer, which conflicts with the uid column's string type. Or at least it does in PostgreSQL; MySQL is probably coercing it silently. | Sorcery_sorcery | train |
a0e44b5459e4bc1f87f0561b40fad1423f91aa9a | diff --git a/lib/sequence.php b/lib/sequence.php
index <HASH>..<HASH> 100644
--- a/lib/sequence.php
+++ b/lib/sequence.php
@@ -360,6 +360,14 @@ class PharenHashMap implements Countable, ArrayAccess, Iterator{
return "{".implode(", ", $pairs)."}";
}
+ public function __invoke($key, $default=Null){
+ ... | Implement calling hashmaps as functions.
It can take two arguments, one is the required key, and the other is an optional value to return if the key is not found. | Scriptor_pharen | train |
86a0220f42281346e88572189fce9db532d60608 | diff --git a/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/OCoordinatedExecutorMessageHandler.java b/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/OCoordinatedExecutorMessageHandler.java
index <HASH>..<HASH> 100644
--- a/distributed-v2/src/main/java/com/orientec... | add validation for execute only messages that are received from the node is expected to be leader | orientechnologies_orientdb | train |
0d2b703a6a89282b8a98a947f9ff3c0cee353750 | diff --git a/cluster/scheduler.go b/cluster/scheduler.go
index <HASH>..<HASH> 100644
--- a/cluster/scheduler.go
+++ b/cluster/scheduler.go
@@ -7,7 +7,6 @@ package cluster
import (
"errors"
"github.com/fsouza/go-dockerclient"
- "sync"
"sync/atomic"
)
@@ -30,13 +29,10 @@ type node struct {
type roundRobin st... | cluster/scheduler: remove unused rwmutex from roundRobin | tsuru_docker-cluster | train |
507f8b7c2539af90faeef1f508e9c1e29c65cba4 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -155,31 +155,6 @@ class AudioPlayer extends React.Component {
}
}
- componentWillUnmount () {
- // remove event listeners bound outside the scope of our component
- window.removeEventListener('... | React component lifecycle methods moved into sensible order. | benwiley4000_cassette | train |
33f5fb300b5c267616c5d3533723a3e572b439b8 | diff --git a/test/node.js b/test/node.js
index <HASH>..<HASH> 100644
--- a/test/node.js
+++ b/test/node.js
@@ -210,18 +210,22 @@ describe('valid Connection', () => {
listener.listen(ma, () => {
const conn = ws.dial(ma)
- conn.on('end', () => {
+ conn.on('end', onEnd)
+
+ function onEnd () {... | fix(style): reduce nested callbacks | libp2p_js-libp2p-websockets | train |
451564c3b53ba6629090bbd92e99fa39fa9f503c | diff --git a/build/d3-voronoi-treemap.js b/build/d3-voronoi-treemap.js
index <HASH>..<HASH> 100644
--- a/build/d3-voronoi-treemap.js
+++ b/build/d3-voronoi-treemap.js
@@ -28,8 +28,7 @@
//end: internals
//begin: algorithm conf.
- var shouldComputeVoronoiAfterReposition = true,
- handleOverweightedV... | algorithm now always recompute the weightedVoronoi after 'adaptPlacements'
This makes 'adaptWeights' more accurate, but at the cost of computing 2 weightedVoronois at each iteration (instead of 1) | Kcnarf_d3-voronoi-map | train |
cecccf11562f173eb504ac8b7600397d1d3deeb7 | diff --git a/activerecord/lib/active_record/relation/calculations.rb b/activerecord/lib/active_record/relation/calculations.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/relation/calculations.rb
+++ b/activerecord/lib/active_record/relation/calculations.rb
@@ -277,7 +277,7 @@ module ActiveRecord
... | we should always cast the value based on the column | rails_rails | train |
fc79b951ce96b96a2ff78afbe82c5b16b06ef1ae | diff --git a/abydos/phonetic/_beider_morse_data.py b/abydos/phonetic/_beider_morse_data.py
index <HASH>..<HASH> 100644
--- a/abydos/phonetic/_beider_morse_data.py
+++ b/abydos/phonetic/_beider_morse_data.py
@@ -6048,7 +6048,7 @@ _ASH_RULES_SPANISH = (
('u', '', '', 'u'),
)
-BMDATA = {}
+BMDATA = {} # type: ign... | fixing some mypy warnings
In the case of BMDATA, I'm punting for now. | chrislit_abydos | train |
cdc5524fc98407f870b00f8cdd1ee44e985c9515 | diff --git a/android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationHelper.java b/android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationHelper.java
index <HASH>..<HASH> 100644
--- a/android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushN... | Move default branch, day, to end of switch statement | zo0r_react-native-push-notification | train |
28cc523b1c45043b104c68af67f6331fa2ad3c3e | diff --git a/tests/UI/specs/SitesManager_spec.js b/tests/UI/specs/SitesManager_spec.js
index <HASH>..<HASH> 100644
--- a/tests/UI/specs/SitesManager_spec.js
+++ b/tests/UI/specs/SitesManager_spec.js
@@ -31,7 +31,7 @@ describe("SitesManager", function () {
function searchForText(page, textToAppendToSearchField)
... | update the screenshot test to click on the search image after the UI was changed | matomo-org_matomo | train |
11a9929c8f1ec90367e75edb9f41ebf63e0aa7fc | diff --git a/tests/Uuid/UuidTest.php b/tests/Uuid/UuidTest.php
index <HASH>..<HASH> 100644
--- a/tests/Uuid/UuidTest.php
+++ b/tests/Uuid/UuidTest.php
@@ -30,7 +30,7 @@ class UuidTest extends TestCase
{
$uuidNs = uuid_create();
- $this->assertFalse(uuid_generate_md5('not a uuid', 'foo'));
+ ... | [uuid] silence warnings in tests | symfony_polyfill | train |
b23003b4a604b876f30ad425536273b3da7b91ca | diff --git a/lib/macho/load_commands.rb b/lib/macho/load_commands.rb
index <HASH>..<HASH> 100644
--- a/lib/macho/load_commands.rb
+++ b/lib/macho/load_commands.rb
@@ -204,25 +204,25 @@ module MachO
# pretend that strings stored in LCs are immediately available without
# explicit operations on the raw Mach-O d... | LCStr: Refactor and simplify
- Drop constructor argument `raw_data` as it is redundant and the data
can be obtained from the load command via `lc.view.raw_data` (and
adapt related load commands accordingly).
- Use intermediate variables to shorten overly long line.
- Avoid storing constructor arguments in instance... | Homebrew_ruby-macho | train |
b83bb48ec02288ffd77d07ffc95d5e8e2dd048b5 | diff --git a/src/lib/Supra/Controller/Pages/Request/HistoryPageRequestView.php b/src/lib/Supra/Controller/Pages/Request/HistoryPageRequestView.php
index <HASH>..<HASH> 100644
--- a/src/lib/Supra/Controller/Pages/Request/HistoryPageRequestView.php
+++ b/src/lib/Supra/Controller/Pages/Request/HistoryPageRequestView.php
@... | History restore action fix | not all references for blockProperties were removed at restore
git-svn-id: <URL> | sitesupra_sitesupra | train |
b625519185c56daa9ad687205d586ab95617bed8 | diff --git a/smoothing.py b/smoothing.py
index <HASH>..<HASH> 100644
--- a/smoothing.py
+++ b/smoothing.py
@@ -311,8 +311,8 @@ def choynowski(e, b, n, threshold=None):
>>> e = np.array([30, 25, 25, 15, 33, 21, 30, 20])
>>> b = np.array([100, 100, 110, 90, 100, 90, 110, 90])
>>> n = 2
- >>> choynowski(... | forgot to run doc tests before commit... should work now | pysal_esda | train |
8b47d3f4be847233a50fcc75a1902207497a203d | diff --git a/tests/dummy/app/controllers/index.js b/tests/dummy/app/controllers/index.js
index <HASH>..<HASH> 100644
--- a/tests/dummy/app/controllers/index.js
+++ b/tests/dummy/app/controllers/index.js
@@ -1,9 +1,15 @@
import Ember from 'ember';
export default Ember.Controller.extend({
+
actions: {
content... | Add simple draggable example to dummy app | 12StarsMedia_ember-ui-sortable | train |
5b00aa960ebd55366f1893f1967c7201b329f2ef | diff --git a/lib/cli.js b/lib/cli.js
index <HASH>..<HASH> 100755
--- a/lib/cli.js
+++ b/lib/cli.js
@@ -50,7 +50,11 @@ function setup () {
// if there are plugins configured to be loaded load them
if (config && Array.isArray(config.plugins) && isDirectory(NODE_MODULES_DIRECTORY)) {
config.plugins.forEach(func... | fix(northbrook): fix resolving of local plugins
When giving a relative path for a plugin it should be resolved correctly. | northbrookjs_northbrook | train |
55f36a4377ba928c06fb5f97e7423ac7d9ce6161 | diff --git a/lib/active_rest_client/proxy_base.rb b/lib/active_rest_client/proxy_base.rb
index <HASH>..<HASH> 100644
--- a/lib/active_rest_client/proxy_base.rb
+++ b/lib/active_rest_client/proxy_base.rb
@@ -69,8 +69,9 @@ module ActiveRestClient
def translate(result, options = {})
result.headers["content... | Close #<I> - Error when using a proxy and caching
An empty response body such as one that might be the result of a <I>
response shouldn't cause an exception, it shouldn't be parsed as JSON at
all. | whichdigital_active-rest-client | train |
213561718239e0fa2dd8a164ef598d16fbaa5437 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -5,5 +5,10 @@ exports = module.exports = function (input) {
throw new Error('invalid input for mailchimpify');
}
- return input.replace(/data-mc-edit/g, 'mc:edit');
+ return input
+ .replace(/data-mc-edit/g, 'mc... | Add support for other proprietary Mailchimp attrs
See this doc for reference:
<URL> | Roilan_mailchimpify | train |
edab845cdb4fe98ed659a95eab24f9889f552735 | diff --git a/test/Integration/Writer/UrlSetWriterTest.php b/test/Integration/Writer/UrlSetWriterTest.php
index <HASH>..<HASH> 100644
--- a/test/Integration/Writer/UrlSetWriterTest.php
+++ b/test/Integration/Writer/UrlSetWriterTest.php
@@ -137,6 +137,7 @@ XML;
;
$url = $url
+ ->withPriorit... | Enhancement: Assert that priority is formatted, not 2 | refinery29_sitemap | train |
0beed5b59d9934ad95c821d247556bc30bc8c254 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -75,9 +75,6 @@ gulp.task('copy', function() {
gulp.src(['node_modules/jquery/dist/jquery.js', 'node_modules/jquery/dist/jquery.min.js'])
.pipe(gulp.dest('vendor/jquery'))
- gulp.src(['node_modules/popper... | remove popper from gulpfile | BlackrockDigital_startbootstrap-freelancer | train |
af0857a7ec52c611c7f09c134dc5143d367191c2 | diff --git a/src/com/google/javascript/rhino/jstype/JSType.java b/src/com/google/javascript/rhino/jstype/JSType.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/rhino/jstype/JSType.java
+++ b/src/com/google/javascript/rhino/jstype/JSType.java
@@ -1056,6 +1056,7 @@ public abstract class JSType implements... | Make JSType#getLeastSupertype symmetric, by calling filterNoResolvedType on the argument type as well. This helps prevent an infinite loop in an upcoming CL with changes to how unresolved types work.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
a99cd7dd911156eb382d311b2b13be6710c4e416 | diff --git a/lib/db_charmer/sharding/stub_connection.rb b/lib/db_charmer/sharding/stub_connection.rb
index <HASH>..<HASH> 100644
--- a/lib/db_charmer/sharding/stub_connection.rb
+++ b/lib/db_charmer/sharding/stub_connection.rb
@@ -38,7 +38,9 @@ module DbCharmer
end
def respond_to?(method_name, include_a... | Avoid recursive respond_to? calls in stub collection proxy | kovyrin_db-charmer | train |
0cadfa0886bd63256387b1126a76ca90f823a8c8 | diff --git a/src/test/java/org/jdbdt/DBCfg.java b/src/test/java/org/jdbdt/DBCfg.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/jdbdt/DBCfg.java
+++ b/src/test/java/org/jdbdt/DBCfg.java
@@ -14,6 +14,7 @@ public class DBCfg {
private String url = HSQLDBSuite.MEM_DB_URL;
private String driver = HSQLDBS... | Got rid of system property scheme to signal support for Date. | JDBDT_jdbdt | train |
5e975dbd3f718024e8ce28b5529ad59a0e8ea1e4 | diff --git a/lib/settlement/null-settlement.js b/lib/settlement/null-settlement.js
index <HASH>..<HASH> 100644
--- a/lib/settlement/null-settlement.js
+++ b/lib/settlement/null-settlement.js
@@ -220,8 +220,7 @@ class NullSettlement {
if (currentStatus === 'Disqualified')
inv... | Update replay constrain of checking null settlement replay | hubiinetwork_nahmii-sdk | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.