hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
167f872ee4c8fb19417bec12927f4cc58352d000 | diff --git a/test/test_isatab.py b/test/test_isatab.py
index <HASH>..<HASH> 100644
--- a/test/test_isatab.py
+++ b/test/test_isatab.py
@@ -26,10 +26,10 @@ class IsatabTest(unittest.TestCase):
assert len(study.assays) == 3
assert study.assays[0].metadata["Study Assay File Name"] == "a_metabolome.txt"
... | Clean up unit tests to match current access | ISA-tools_biopy-isatab | train |
ae342592c8e807495e55a388e86b6bce47cfda9c | diff --git a/mod/wiki/ewiki/ewiki.php b/mod/wiki/ewiki/ewiki.php
index <HASH>..<HASH> 100644
--- a/mod/wiki/ewiki/ewiki.php
+++ b/mod/wiki/ewiki/ewiki.php
@@ -594,6 +594,7 @@ function ewiki_page($id=false) {
$pf($o, $id, $data, $action);
}
}
+
(EWIKI_ESCAPE_AT) && ($o = str_replace("@", "@... | Fixed filtering of wiki output to only apply to wiki text pages and not action pages. | moodle_moodle | train |
9aa732e5f487adcd862f2c7747f56cfe56479cc5 | diff --git a/lib/multiarray.rb b/lib/multiarray.rb
index <HASH>..<HASH> 100644
--- a/lib/multiarray.rb
+++ b/lib/multiarray.rb
@@ -416,6 +416,10 @@ end
class Numeric
+ def conj
+ self
+ end
+
def r
self
end
diff --git a/lib/multiarray/gccvalue.rb b/lib/multiarray/gccvalue.rb
index <HASH>..<HASH> 10... | Implemented element-wise complex conjugate | wedesoft_multiarray | train |
e34f8df04a1fc77aee9ff2e3bb1689bd1f8c9146 | diff --git a/tasks/html.js b/tasks/html.js
index <HASH>..<HASH> 100644
--- a/tasks/html.js
+++ b/tasks/html.js
@@ -23,7 +23,9 @@ exports.processAll = function () {
logger.start('Processing HTML')
processDir(false)
- sitemap.generateSiteMap(path.join(config.html.dest, config.html.sitemap))
+ if (config.html.si... | Disabling sitemap generation when sitemp is not provided | kunruch_mmpilot | train |
6be0d322a7b1916467ed2ff69ec77955aca963d1 | diff --git a/rb/build_dist.rb b/rb/build_dist.rb
index <HASH>..<HASH> 100755
--- a/rb/build_dist.rb
+++ b/rb/build_dist.rb
@@ -1,17 +1,13 @@
#!/usr/bin/env ruby
require "fileutils"
+require "digest/md5"
if File.read("lib/rscons/version.rb") =~ /VERSION = "(.+)"/
VERSION = $1
else
raise "Could not determin... | store expanded .rscons script next to rscons script - close #<I> | holtrop_rscons | train |
dfffc6abee4d8161374ea018b29d88c3b2527d09 | diff --git a/command/encoding/json.go b/command/encoding/json.go
index <HASH>..<HASH> 100644
--- a/command/encoding/json.go
+++ b/command/encoding/json.go
@@ -88,15 +88,28 @@ func NewValuesFromQueryValues(dest [][]interface{}, v []*command.Values) error {
return nil
}
-// XXX MUST Support pretty!
+// JSONMarshal s... | Command pretty JSON encoding support | rqlite_rqlite | train |
ccc60b593b6857c92c1f64141bac67f312452e3a | diff --git a/common/ext/class.ExtensionsManager.php b/common/ext/class.ExtensionsManager.php
index <HASH>..<HASH> 100755
--- a/common/ext/class.ExtensionsManager.php
+++ b/common/ext/class.ExtensionsManager.php
@@ -313,21 +313,19 @@ class common_ext_ExtensionsManager extends ConfigurableService
*/
public sta... | reduce complecity of getAvailablePackagesStatic | oat-sa_generis | train |
a7532204ce1a7f6d8c098551a28faefaa622ca37 | diff --git a/lib/turn/command.rb b/lib/turn/command.rb
index <HASH>..<HASH> 100644
--- a/lib/turn/command.rb
+++ b/lib/turn/command.rb
@@ -181,7 +181,7 @@ module Turn
@outmode = :dotted
end
- opts.on('--pretty', '-T', "new pretty output mode") do
+ opts.on('--pretty', '-R', '-T', "ne... | Transition pretty format cli option to -R from -T. | turn-project_turn | train |
87e55236a973703535f630497fa99939835254f5 | diff --git a/src/Config/Config.php b/src/Config/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config/Config.php
+++ b/src/Config/Config.php
@@ -188,7 +188,7 @@ class Config extends ArrayObject implements ConfigInterface {
*/
private static function search( $array, $key, $default = null ) {
- if ( \strripos( ... | Added test for key of type int and string | ItalyStrap_config | train |
b797b7c0f9e2081df08aa99cacb49d86939c6a78 | diff --git a/src/map/state.js b/src/map/state.js
index <HASH>..<HASH> 100644
--- a/src/map/state.js
+++ b/src/map/state.js
@@ -1,5 +1,5 @@
import assign from 'object-assign';
-
+const defaultKey = 'root';
/*
* A small helper module to handle States within react-look
*/
@@ -7,35 +7,42 @@ export default {
/*
*... | added 'root' as State API's default key, this closes #<I> | rofrischmann_react-look | train |
df74c1ecdc1c71dfa89d23aa61edc3e14d23dc0d | diff --git a/tests/system/Database/BaseQueryTest.php b/tests/system/Database/BaseQueryTest.php
index <HASH>..<HASH> 100644
--- a/tests/system/Database/BaseQueryTest.php
+++ b/tests/system/Database/BaseQueryTest.php
@@ -294,6 +294,20 @@ final class BaseQueryTest extends CIUnitTestCase
$this->assertSame($expecte... | Add unit test to ensure named binds don't get replaced in binded values
Using str_replace() instead of strtr() in Database\Query->matchNamedBinds() would make this test fail.
For this test to be effective, the overlapping marker (here :foobar:) has to be after the replaced string (here :content:) in the binds array. | codeigniter4_CodeIgniter4 | train |
7c72f1332deb35baeee9c9b1cb6ad5554393be74 | diff --git a/src/ossos-pipeline/ossos_webdev/ossos.field_obs/ossos/field_obs/queries.py b/src/ossos-pipeline/ossos_webdev/ossos.field_obs/ossos/field_obs/queries.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/ossos_webdev/ossos.field_obs/ossos/field_obs/queries.py
+++ b/src/ossos-pipeline/ossos_webdev/ossos.fi... | Now correctly obtains triplet on nights with multiple images. Night's best triplet is that with the best value of worst IQ within the triplet where the overall triplet spans at least <I> min and images within the triplet are separated by at least <I> min. | OSSOS_MOP | train |
0ff14a1a0d51be1773c9597d959a7c92fd3d1d36 | diff --git a/resources/lang/da-DK/cachet.php b/resources/lang/da-DK/cachet.php
index <HASH>..<HASH> 100644
--- a/resources/lang/da-DK/cachet.php
+++ b/resources/lang/da-DK/cachet.php
@@ -53,7 +53,7 @@ return [
// Service Status
'service' => [
- 'good' => '[0,1]System operational|[2,*]All systems are... | New translations cachet.php (Danish) | CachetHQ_Cachet | train |
6970c49ddb4f76d7bdd778de729c87f1ef2bc457 | diff --git a/aeron-client/src/main/java/io/aeron/Image.java b/aeron-client/src/main/java/io/aeron/Image.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/main/java/io/aeron/Image.java
+++ b/aeron-client/src/main/java/io/aeron/Image.java
@@ -46,6 +46,7 @@ import static java.nio.ByteOrder.LITTLE_ENDIAN;
public cla... | [Java] Add joining position to Image. | real-logic_aeron | train |
8f45606b43592945bc37f24f94e4ac35547d114e | diff --git a/src/com/xtremelabs/robolectric/shadows/TestHttpResponse.java b/src/com/xtremelabs/robolectric/shadows/TestHttpResponse.java
index <HASH>..<HASH> 100644
--- a/src/com/xtremelabs/robolectric/shadows/TestHttpResponse.java
+++ b/src/com/xtremelabs/robolectric/shadows/TestHttpResponse.java
@@ -3,9 +3,9 @@ packa... | remove occurrences of StringBufferInputStream | robolectric_robolectric | train |
5301015c3c1bd751a4457331695839aed3b0a157 | diff --git a/scripts/documentation/generate.js b/scripts/documentation/generate.js
index <HASH>..<HASH> 100644
--- a/scripts/documentation/generate.js
+++ b/scripts/documentation/generate.js
@@ -1,5 +1,6 @@
const fs = require("fs");
-const git = require("simple-git/promise")();
+// const git = require("simple-git/prom... | Explore the ability to expand all members and methods in the doc | djipco_webmidi | train |
b5b769695fb9b24ef0bb7a0ccbb2290184a9785f | diff --git a/rubygem/lib/zeus/m.rb b/rubygem/lib/zeus/m.rb
index <HASH>..<HASH> 100644
--- a/rubygem/lib/zeus/m.rb
+++ b/rubygem/lib/zeus/m.rb
@@ -219,7 +219,7 @@ module Zeus
abort_with_no_test_found_by_line_number if @tests_to_run.empty?
# assemble the regexp to run these tests,
- test... | Fix issue with test names not escaping special characters
When running a test that has a name with any special characters in it
(namely ? and other symbols important for regular expressions), the test
runner fails to match because the symbols aren't escaped. | burke_zeus | train |
01643e03e7848b2ec3a3a74c578ca06ce771ffd2 | diff --git a/lib/octopress-ink/plugin.rb b/lib/octopress-ink/plugin.rb
index <HASH>..<HASH> 100644
--- a/lib/octopress-ink/plugin.rb
+++ b/lib/octopress-ink/plugin.rb
@@ -13,7 +13,7 @@ module Octopress
:layouts, :includes, :images, :fonts, :files, :pages, :docs
def initialize
- DEFA... | Switched to method. Yeah, it's safer in the long run. | octopress_ink | train |
9f9a752d0bf84b8b344fa3d6e7f5490fd9807d8f | diff --git a/src/view/ViewCommandHandlers.js b/src/view/ViewCommandHandlers.js
index <HASH>..<HASH> 100644
--- a/src/view/ViewCommandHandlers.js
+++ b/src/view/ViewCommandHandlers.js
@@ -62,7 +62,7 @@ define(function (require, exports, module) {
/**
* @const
* @private
- * The proportion between th... | Line height to font size ratio comment updated | adobe_brackets | train |
2a97f0d521107677f3a26b0de0b14d3cef9d5c21 | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -56,8 +56,10 @@ class Client
public function send(Message $message)
{
- if($this->getAndroidClient()) $this->sendAndroid($message);
- if($this->getIOSClient()) $this->sendIOS($message);
+ $resp... | return android/ios response for "send" function | albaraam_php-gcm-apns | train |
d409b8e376e3ccb5e4cf1eddb280decd3824c78a | diff --git a/alerta/app/management/views.py b/alerta/app/management/views.py
index <HASH>..<HASH> 100644
--- a/alerta/app/management/views.py
+++ b/alerta/app/management/views.py
@@ -106,7 +106,7 @@ def health_check():
delta = datetime.datetime.utcnow() - heartbeat.receive_time
threshold = flo... | Update views.py
add heartbeat's origin to timeout error | alerta_alerta | train |
d10740f2e21a91f41db375ade8eb35b1e76b8eff | diff --git a/lib/Model.js b/lib/Model.js
index <HASH>..<HASH> 100644
--- a/lib/Model.js
+++ b/lib/Model.js
@@ -424,14 +424,6 @@ Model.update = function(NewModel, key, update, options, next) {
return deferred.promise.nodeify(next);
}
- // update the 'updatedAt' timestamp if requested
- if (schema.timestamps)... | Remove the way I fixed Issue <I> | dynamoosejs_dynamoose | train |
b9793568e22f89650d4e7ce1236658cbcbf06483 | diff --git a/tldap/manager.py b/tldap/manager.py
index <HASH>..<HASH> 100644
--- a/tldap/manager.py
+++ b/tldap/manager.py
@@ -633,10 +633,14 @@ def _create_ad_primary_group_link_manager(superclass, linked_has_foreign_key, fo
assert isinstance(linked_value, list)
this_value = ldap.dn... | In AD, group *must* exist as secondary group before making it a primary group. | Karaage-Cluster_python-tldap | train |
2d9b8bbfadafaaabe83249723e612ec5992f44ce | diff --git a/src/main/java/org/eobjects/datacleaner/windows/RegexPatternDialog.java b/src/main/java/org/eobjects/datacleaner/windows/RegexPatternDialog.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/eobjects/datacleaner/windows/RegexPatternDialog.java
+++ b/src/main/java/org/eobjects/datacleaner/windows/Regex... | Fixed bug to disable Save button when pattern does not compile. | datacleaner_DataCleaner | train |
ea3f226a7bc4f8bfa9762174b1fd60734887e7c7 | diff --git a/dev/com.ibm.ws.jaxrs.2.0.client_fat/test-applications/jaxrsclientssl/src/com/ibm/ws/jaxrs20/client/JAXRSClientSSL/client/ClientTestServlet.java b/dev/com.ibm.ws.jaxrs.2.0.client_fat/test-applications/jaxrsclientssl/src/com/ibm/ws/jaxrs20/client/JAXRSClientSSL/client/ClientTestServlet.java
index <HASH>..<HA... | Issue<I>-FixImportIssue | OpenLiberty_open-liberty | train |
a9c2abcda39b49710664976ce3f1441223015aa9 | diff --git a/src/main/java/graphql/schema/DataFetchingFieldSelectionSetImpl.java b/src/main/java/graphql/schema/DataFetchingFieldSelectionSetImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/graphql/schema/DataFetchingFieldSelectionSetImpl.java
+++ b/src/main/java/graphql/schema/DataFetchingFieldSelectionSetImp... | Platform agnostic field selection separator | graphql-java_graphql-java | train |
f847a7390fe3683c0723280de18c169715017ccc | diff --git a/src/Bugsnag.js b/src/Bugsnag.js
index <HASH>..<HASH> 100644
--- a/src/Bugsnag.js
+++ b/src/Bugsnag.js
@@ -287,8 +287,8 @@ const typedMap = function(map) {
const value = map[key];
- // Checks for both `null` and `undefined`.
- if (value == undefined) {
+ // Checks for `null`, NaN, and `und... | Stringify NaN before sending breadcrumbs over the bridge
Fixes #<I> | bugsnag_bugsnag-react-native | train |
5a979b3dd653f8a6cd5f2b9551e2b07f19cd9f89 | diff --git a/integration/basic_test.go b/integration/basic_test.go
index <HASH>..<HASH> 100644
--- a/integration/basic_test.go
+++ b/integration/basic_test.go
@@ -38,7 +38,7 @@ func (s *SimpleSuite) TestSimpleDefaultConfig(c *check.C) {
err := cmd.Start()
c.Assert(err, checker.IsNil)
- time.Sleep(100 * time.Milli... | Changed sleep to <I>ms in tests | containous_traefik | train |
e2c678930cd241af36ecca4f542af0b1fb34de24 | diff --git a/src/wormhole/cli/cmd_receive.py b/src/wormhole/cli/cmd_receive.py
index <HASH>..<HASH> 100644
--- a/src/wormhole/cli/cmd_receive.py
+++ b/src/wormhole/cli/cmd_receive.py
@@ -369,8 +369,8 @@ class Receiver:
def _ask_permission(self):
with self.args.timing.add("permission", waiting="user") as t... | Closes #<I> Changed default choice from No to Yes for wormhole receive | warner_magic-wormhole | train |
1e8a53b67856ad795f40b417df1af609c3336da1 | diff --git a/lib/dicom/DObject.rb b/lib/dicom/DObject.rb
index <HASH>..<HASH> 100644
--- a/lib/dicom/DObject.rb
+++ b/lib/dicom/DObject.rb
@@ -33,7 +33,7 @@ module DICOM
# Class for interacting with the DICOM object.
class DObject < SuperItem
- attr_reader :errors, :modality, :parent, :read_success, :segm... | Removed the old remove_private method from DObject and implemented a new method remove_sequences. | dicom_ruby-dicom | train |
e1e40053a5db83da3ba80fca087dda144bf97ba4 | diff --git a/src/OAuth2/Storage/JWTBearerInterface.php b/src/OAuth2/Storage/JWTBearerInterface.php
index <HASH>..<HASH> 100644
--- a/src/OAuth2/Storage/JWTBearerInterface.php
+++ b/src/OAuth2/Storage/JWTBearerInterface.php
@@ -5,7 +5,7 @@
*
* @author David Rochwerger <catch.dave@gmail.com>
*/
-interface OAuth2_St... | JWTBearer storage interface does not need to extend the ClientInterface. | bshaffer_oauth2-server-php | train |
ccb2e9a2dfaf1d0995f87764cccd46ae2f8d771c | diff --git a/packet_unpacker.go b/packet_unpacker.go
index <HASH>..<HASH> 100644
--- a/packet_unpacker.go
+++ b/packet_unpacker.go
@@ -2,7 +2,6 @@ package quic
import (
"bytes"
- "errors"
"fmt"
"github.com/lucas-clemente/quic-go/internal/protocol"
@@ -64,8 +63,6 @@ func (u *packetUnpacker) Unpack(headerBinar... | remove check for CONGESTION_FEEDBACK in the packet unpacker
CONGESTION_FEEDBACK was reserved for future use in gQUIC, but has never
actually been implemented. It won't make it to IETF QUIC, so we don't
need to check for it. Note that we'd still reject a CONGESTION_FEEDBACK
frame, since we're rejecting any unknown fram... | lucas-clemente_quic-go | train |
91b764447291084d46839645b2f12a31f3997716 | diff --git a/src/test/java/com/github/maven_nar/test/TestLinkerVersion.java b/src/test/java/com/github/maven_nar/test/TestLinkerVersion.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/github/maven_nar/test/TestLinkerVersion.java
+++ b/src/test/java/com/github/maven_nar/test/TestLinkerVersion.java
@@ -53,6 +53,... | Skip MSVC-specific test when vsvars<I>.bat has not run yet
You need to run vsvars<I>.bat from the correct directory before you can
use Microsoft Visual Studio's command-line tools. A tell-tale is that
the 'DevEnvDir' environment variable is set after said batch file ran.
Before that, there is little point in testing t... | maven-nar_nar-maven-plugin | train |
4e62a143228a9944640507a43ab3404ea1f1b4e4 | diff --git a/src/utilities/__tests__/extendSchema.js b/src/utilities/__tests__/extendSchema.js
index <HASH>..<HASH> 100644
--- a/src/utilities/__tests__/extendSchema.js
+++ b/src/utilities/__tests__/extendSchema.js
@@ -130,7 +130,7 @@ describe('extendSchema', () => {
`);
const originalPrint = printSchema(test... | Test schema instead of function 2
Looks like there were plenty of these typos. I was in a rush to catch the train and didn't see them all. | graphql_graphql-js | train |
91783012514b9ee70c07e4a4ec9a3909d8ba7c90 | diff --git a/buildpg/asyncpg.py b/buildpg/asyncpg.py
index <HASH>..<HASH> 100644
--- a/buildpg/asyncpg.py
+++ b/buildpg/asyncpg.py
@@ -1,3 +1,4 @@
+import sys
from textwrap import indent
from asyncpg import * # noqa
@@ -19,8 +20,8 @@ class _BuildPgMixin:
super().__init__(*args, **kwargs)
@staticmet... | added formatted argument to _format_sql | samuelcolvin_buildpg | train |
1b3266158e0e12ebb5583517c79777943b8a1220 | diff --git a/lib/ztk/background.rb b/lib/ztk/background.rb
index <HASH>..<HASH> 100644
--- a/lib/ztk/background.rb
+++ b/lib/ztk/background.rb
@@ -144,6 +144,14 @@ module ZTK
nil
end
+ def alive?
+ (Process.getpgid(@pid).is_a?(Integer) rescue false)
+ end
+
+ def dead?
+ !alive?
+ en... | added alive? and dead? methods to background | zpatten_ztk | train |
35e3d5f7e6a2cb95bb4318798cd4a1c5a4cc880d | diff --git a/lib/sfn/monkey_patch/stack.rb b/lib/sfn/monkey_patch/stack.rb
index <HASH>..<HASH> 100644
--- a/lib/sfn/monkey_patch/stack.rb
+++ b/lib/sfn/monkey_patch/stack.rb
@@ -187,6 +187,19 @@ module Sfn
end
end
+ # Return all stacks contained within this stack
+ #
+ # @return [Array... | Add helper method to extract all stacks within stack | sparkleformation_sfn | train |
fa86c8eb74b58170d93503dfd8b56788259258b5 | diff --git a/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/AbstractBenchmark.java b/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/AbstractBenchmark.java
index <HASH>..<HASH> 100644
--- a/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/AbstractBenchmark.java
+++ b/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/... | benchmarks: daemonize threads to reduce the number of stacktraces | grpc_grpc-java | train |
556da5e8b478da1330660c610722ad02e4e8f102 | diff --git a/tests/unit/Authentication/LoginProviderRestAuthenticationProviderTest.php b/tests/unit/Authentication/LoginProviderRestAuthenticationProviderTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/Authentication/LoginProviderRestAuthenticationProviderTest.php
+++ b/tests/unit/Authentication/LoginProviderRest... | Added unit test for expired login request | RhubarbPHP_Module.RestApi | train |
066d50df92f160b50bf0dc5f09a48adc7dc1e4d6 | diff --git a/src/AbstractConfig.php b/src/AbstractConfig.php
index <HASH>..<HASH> 100644
--- a/src/AbstractConfig.php
+++ b/src/AbstractConfig.php
@@ -1,6 +1,7 @@
<?php
namespace GMO\Common;
+use GMO\Common\Collections\ArrayCollection;
use GMO\Common\Exception\ConfigException;
/**
@@ -15,6 +16,27 @@ use GMO\Com... | Added AbstractConfig::getList and tests | gmo_common | train |
f4c8b81fbe2ef29321be5178f50377979bcf0ea7 | diff --git a/climlab/radiation/rrtm/_rrtmg_sw/setup.py b/climlab/radiation/rrtm/_rrtmg_sw/setup.py
index <HASH>..<HASH> 100644
--- a/climlab/radiation/rrtm/_rrtmg_sw/setup.py
+++ b/climlab/radiation/rrtm/_rrtmg_sw/setup.py
@@ -12,7 +12,7 @@ def configuration(parent_package='', top_path=None):
# set some fortran co... | Set optimization flag to -O0, huge speedup in build time. | brian-rose_climlab | train |
18e22c88baeb3a66f1feda6b4bbd86e9c5de0a9f | diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py
index <HASH>..<HASH> 100644
--- a/astrobase/lcproc.py
+++ b/astrobase/lcproc.py
@@ -738,11 +738,6 @@ def make_lclist(basedir,
elif os.path.exists(field_wcsfrom):
- hdulist = pyfits.open(field_wcsfrom)
- img, hdr = hdul... | lcproc: some more fixes for external WCS for finderchart | waqasbhatti_astrobase | train |
eb67b563c1a47657aa852f28248ad01c752bef48 | diff --git a/tests/test_actionAngle.py b/tests/test_actionAngle.py
index <HASH>..<HASH> 100644
--- a/tests/test_actionAngle.py
+++ b/tests/test_actionAngle.py
@@ -86,6 +86,50 @@ def test_actionAngleIsochrone_linear_angles():
-8.,-8.,-8.)
return None
+#Test that the angles... | Add tests of actionAngleIsochrone angles for non-inclined (z=0) and almost non-inclined orbits (failed previous to the next commit) | jobovy_galpy | train |
996b9ef2f91a9217dc7e9019ce2ea0f5fe1e7b97 | diff --git a/src/migrations/events-state.js b/src/migrations/events-state.js
index <HASH>..<HASH> 100644
--- a/src/migrations/events-state.js
+++ b/src/migrations/events-state.js
@@ -44,7 +44,7 @@ const migrations = [
const newSchema = {
...schema,
version: 2,
- ... | fix(migrations): swap conditional for default value | zachowj_node-red-contrib-home-assistant-websocket | train |
f8f79a6a6a695911d1defdf0eff44853d332a56a | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -31,7 +31,7 @@ module.exports = function(grunt) {
jasmine: {
dist: {
options: {
- specs: 'tests/*Spec.js',
+ specs: 'tests/*Spec.js'
},
src: minDistPath
}
@@ -41,14 +41,9 @@ mo... | Remove manual indenting (grunt-umd does this already) | gregjacobs_Autolinker.js | train |
343294111b098cfe27684bd40ddfc7e05e9d62d3 | diff --git a/src/Contracts/Mixed/YAware.php b/src/Contracts/Mixed/YAware.php
index <HASH>..<HASH> 100644
--- a/src/Contracts/Mixed/YAware.php
+++ b/src/Contracts/Mixed/YAware.php
@@ -1,4 +1,6 @@
-<?php namespace Aedart\Model\Contracts\Mixed;
+<?php
+
+namespace Aedart\Model\Contracts\Mixed;
/**
* <h1>Y Aware</h1>
... | Adapt y aware-of component
Manually adapted | aedart_model | train |
768f2d6c8376e14d19cb57ec823bf39dede6698c | diff --git a/tests/unit/test_agenda.py b/tests/unit/test_agenda.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_agenda.py
+++ b/tests/unit/test_agenda.py
@@ -1,5 +1,6 @@
import pytest
+
from hypothesis import given
from hypothesis import strategies as st
@@ -20,7 +21,7 @@ def test_Agenda_exists():
def ... | New test, retracting a fact does not activate its agenda | buguroo_pyknow | train |
25a4b7ceb00df65b6e03aea0abe6ef0943dbde52 | diff --git a/src/exchanges/binance.js b/src/exchanges/binance.js
index <HASH>..<HASH> 100644
--- a/src/exchanges/binance.js
+++ b/src/exchanges/binance.js
@@ -132,8 +132,8 @@ const privateMethods = {
let data = {
symbol: pair,
side: side.toUpperCase(),
- type: type || 'LIMIT'
- timeInForce:... | fix typo. (#<I>)
* Avoid 'not enough balance' issue.
By changing type from 'limit' to 'exchange limit'.
Ref: <URL> | passabilities_crypto-exchange | train |
c9eea00571b9ed039ef7a5697fe0e83edcdd52eb | diff --git a/tests/shortcuts.py b/tests/shortcuts.py
index <HASH>..<HASH> 100644
--- a/tests/shortcuts.py
+++ b/tests/shortcuts.py
@@ -582,7 +582,7 @@ class ReconnectMySQLDatabase(ReconnectMixin, MySQLDatabase):
# The first (0th) query fails, as do all queries after the 2nd (1st).
if self._query_count... | Fix failure in mysql tests related to exception args change. | coleifer_peewee | train |
5d26c8f00a11e40660be7516a13512ed522863ed | diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/collection_proxy.rb
+++ b/activerecord/lib/active_record/associations/collection_proxy.rb
@@ -81,7 ... | Fix issue with private kernel methods and collection associations. Closes #<I>
Change CollectionProxy#method_missing to use scoped.public_send, to
avoid a problem described in issue #<I> when trying to use class
methods with names like "open", that clash with private kernel methods.
Also changed the dynamic matcher in... | rails_rails | train |
ec528bf99e6c843e04fd7aca2dff73a1758fb2da | diff --git a/app/helpers/alchemy/elements_helper.rb b/app/helpers/alchemy/elements_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/alchemy/elements_helper.rb
+++ b/app/helpers/alchemy/elements_helper.rb
@@ -25,7 +25,7 @@ module Alchemy
# === Render elements from global page:
#
# <footer>
- #... | Remove passing page name string to elements finder
This behavior has been deprecated and is not supported anymore. | AlchemyCMS_alchemy_cms | train |
0766fb89b9ef9a6f20a0434deb80a72c9b441e05 | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/SchedulerBase.java b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/SchedulerBase.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/SchedulerBase.java
+++ b/flink-runtime/src/m... | [hotfix] Remove SchedulerBase.checkpointRecoveryFactory | apache_flink | train |
adf6dc4d2c59c040a61fce88b8d1f3a87c3acc47 | diff --git a/src/listeners.js b/src/listeners.js
index <HASH>..<HASH> 100644
--- a/src/listeners.js
+++ b/src/listeners.js
@@ -298,6 +298,7 @@ export default class ListenerGenerator
* Removes all attached event listeners.
*/
detach() {
+ this.vm.$validator.detach(this.fieldName, getScope(this.el... | clean up field errors when detaching and unbinding the directive | baianat_vee-validate | train |
654df86b7b022085785a64c431c45d8450d5e987 | diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -68,9 +68,9 @@
<%= f.text_field :version %>
<% end %>
-* Refactor ActionDispatch::ShowExceptions. Controller is responsible for choosing to sh... | Show detailed exceptions no longer returns true if the request is local in production. | rails_rails | train |
c1275f299b863752e84735570fbd3b73aa16d858 | diff --git a/lib/install/template.rb b/lib/install/template.rb
index <HASH>..<HASH> 100644
--- a/lib/install/template.rb
+++ b/lib/install/template.rb
@@ -17,14 +17,10 @@ say "Installing binstubs"
run "bundle binstubs webpacker"
say "Adding configurations"
-environment <<CONFIG, env: :development
- # Verifies that... | Use inject_into_file to support rails <I> | rails_webpacker | train |
0ae211d94c65d4c3322563e469aace28a8916ab1 | diff --git a/opal/browser/screen.rb b/opal/browser/screen.rb
index <HASH>..<HASH> 100644
--- a/opal/browser/screen.rb
+++ b/opal/browser/screen.rb
@@ -5,7 +5,7 @@ class Screen
include DOM::Event::Target
target {|value|
- Screen.new(value) if `window.Screen && #{value} instanceof Screen`
+ Screen.new(value... | screen: fix require and event target creation | opal_opal-browser | train |
def426d344114780a412900f6441f8ac9912dfcf | diff --git a/lib/locales/plurals.rb b/lib/locales/plurals.rb
index <HASH>..<HASH> 100644
--- a/lib/locales/plurals.rb
+++ b/lib/locales/plurals.rb
@@ -2,20 +2,13 @@ module NumbersAndWords
module Locales
module Plurals
- RU = lambda do |count|
- case count
- when Integer
- case
- ... | Broken pluralization in gem russian. | kslazarev_numbers_and_words | train |
28f84fb7afa957da0aa5e81b2e3f7330ff65a390 | diff --git a/GChartWrapper/GChart.py b/GChartWrapper/GChart.py
index <HASH>..<HASH> 100644
--- a/GChartWrapper/GChart.py
+++ b/GChartWrapper/GChart.py
@@ -534,10 +534,10 @@ class GChart(dict):
assert fname != None, 'You must specify a filename to save to'
if not fname.endswith('.png'):
fn... | now works a bit better for py3k | appknox_google-chartwrapper | train |
a986f5ff89188ec7c66038a6c1314a598301d789 | diff --git a/test/dist/tests.bundle.js b/test/dist/tests.bundle.js
index <HASH>..<HASH> 100644
--- a/test/dist/tests.bundle.js
+++ b/test/dist/tests.bundle.js
@@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
-/******/ if(installedModules[moduleId... | fixed webpack conf for tests bundle | sylvainpolletvillard_ObjectModel | train |
15385aff3c3f4d0a87d2e163a5531ead0035b2b1 | diff --git a/packages/g-base/tests/unit/event-spec.js b/packages/g-base/tests/unit/event-spec.js
index <HASH>..<HASH> 100644
--- a/packages/g-base/tests/unit/event-spec.js
+++ b/packages/g-base/tests/unit/event-spec.js
@@ -1,6 +1,5 @@
const expect = require('chai').expect;
import GraphEvent from '../../src/event/grap... | fix(g-base): Remove unused EventController importion. | antvis_g | train |
068b9ed1538a755a44dd36eb0bfd9f01c3150c13 | diff --git a/lib/adhearsion/translator/asterisk.rb b/lib/adhearsion/translator/asterisk.rb
index <HASH>..<HASH> 100644
--- a/lib/adhearsion/translator/asterisk.rb
+++ b/lib/adhearsion/translator/asterisk.rb
@@ -41,7 +41,7 @@ module Adhearsion
@event_filter ? !!@event_filter[event] : true
end
- ev... | typo - missing self for an intent to call method | adhearsion_adhearsion | train |
dfb55cda6b456f5ee7fd8cee5db642a8e2f73de0 | diff --git a/graphene_django/tests/test_query.py b/graphene_django/tests/test_query.py
index <HASH>..<HASH> 100644
--- a/graphene_django/tests/test_query.py
+++ b/graphene_django/tests/test_query.py
@@ -281,3 +281,87 @@ def test_should_query_connectionfields():
}]
}
}
+
+def test_should_query... | Adds test for nested node filtering. | graphql-python_graphene-django | train |
719221372ffbd1be66ef65c4ad40c2604662c44f | diff --git a/core/Config.php b/core/Config.php
index <HASH>..<HASH> 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -332,6 +332,12 @@ class Config extends Singleton
return is_readable($this->pathLocal);
}
+ public function deleteLocalConfig()
+ {
+ $configLocal = $this->getLocalPath()... | Refs #<I> Delete the config file when it is found, during installation, to prevent unexpected bugs | matomo-org_matomo | train |
c6179821460777df69fee0c7bba2c72fa344234b | diff --git a/vsphere/resource_vsphere_vmfs_datastore.go b/vsphere/resource_vsphere_vmfs_datastore.go
index <HASH>..<HASH> 100644
--- a/vsphere/resource_vsphere_vmfs_datastore.go
+++ b/vsphere/resource_vsphere_vmfs_datastore.go
@@ -3,7 +3,6 @@ package vsphere
import (
"context"
"fmt"
- "regexp"
"time"
"github... | r/vmfs_datastore: Fix some error strings, refine retry waiter
Some error string cleanup, and also an update to the delete retry
waiter so that it handles the actual ResourceInUse error instead of
doing a string match. | terraform-providers_terraform-provider-vsphere | train |
3d012d26a0d5d7bb7e7d77d4beff8e59aacde98f | diff --git a/src/main/java/de/jfachwert/pruefung/Mod11Verfahren.java b/src/main/java/de/jfachwert/pruefung/Mod11Verfahren.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/jfachwert/pruefung/Mod11Verfahren.java
+++ b/src/main/java/de/jfachwert/pruefung/Mod11Verfahren.java
@@ -78,7 +78,9 @@ public class Mod11Verfa... | testValidateWithException() added as test case | oboehm_jfachwert | train |
523930d0d40b6493140803e8a08f859b6c805776 | diff --git a/lib/util/binary-diff.js b/lib/util/binary-diff.js
index <HASH>..<HASH> 100644
--- a/lib/util/binary-diff.js
+++ b/lib/util/binary-diff.js
@@ -8,7 +8,8 @@ const Table = require('cli-table');
exports.isBinary = (existingFilePath, newFileContents) => {
const existingHeader = readChunk.sync(existingFileP... | Don't die on diffing file deletions (again) (#<I>)
Makes `null` content (file deletion):
1. not identify as binary (so default diff style is nicer)
2. not break binary diff if it is
Addresses regression(?) of #<I> | yeoman_environment | train |
5eaafd849876e0291ded8947205a74ca23824104 | diff --git a/services-api/src/main/java/io/scalecube/services/codec/ServiceMessageCodec.java b/services-api/src/main/java/io/scalecube/services/codec/ServiceMessageCodec.java
index <HASH>..<HASH> 100644
--- a/services-api/src/main/java/io/scalecube/services/codec/ServiceMessageCodec.java
+++ b/services-api/src/main/jav... | Set more cleaner code around releasing buffer in ServiceMessageCodec | scalecube_scalecube-services | train |
c89d05b92a37b03a195bdf37cb478c68c8efb1f2 | diff --git a/tests/sensors/test_joint_rotation_sensor.py b/tests/sensors/test_joint_rotation_sensor.py
index <HASH>..<HASH> 100644
--- a/tests/sensors/test_joint_rotation_sensor.py
+++ b/tests/sensors/test_joint_rotation_sensor.py
@@ -62,6 +62,7 @@ def test_joint_rotation_sensor(joint_agent_type):
with holodeck.... | Skip buggy joint in test_joint_rotation
Since the purpose of this test is to validate that the functionality
works at all, skipping a couple buggy joints is fine. | BYU-PCCL_holodeck | train |
5858a9035cb61f832105b8b59512ae40f8ff1935 | diff --git a/lib/pkgr/cli.rb b/lib/pkgr/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/pkgr/cli.rb
+++ b/lib/pkgr/cli.rb
@@ -32,7 +32,7 @@ module Pkgr
method_option :target,
:type => :string,
:default => "deb",
- :desc => "Target package to build (only 'deb' supported for now)"
+ :desc => "Ta... | Update message for targets in CLI. | crohr_pkgr | train |
dcdf3f09cb9ec2a401695c5b31dca4bb9ae242fc | diff --git a/bigtable-client-core-parent/bigtable-client-core/src/test/java/com/google/cloud/bigtable/grpc/io/ChannelPoolPerf.java b/bigtable-client-core-parent/bigtable-client-core/src/test/java/com/google/cloud/bigtable/grpc/io/ChannelPoolPerf.java
index <HASH>..<HASH> 100644
--- a/bigtable-client-core-parent/bigtabl... | report <I>th and <I>th percentile in perf test (#<I>) | googleapis_cloud-bigtable-client | train |
5bd26cd12f30b154fb157e81fd2ea0cba09abc92 | diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/InstallCommand.php
+++ b/src/Console/InstallCommand.php
@@ -11,7 +11,7 @@ class InstallCommand extends Command
*
* @var string
*/
- protected $signature = 'passport:install {--... | Private Key Length
Add private key length as argument to the CLI command | laravel_passport | train |
40ae0d531843942cba8bc6f2a4487f21b35d55d2 | diff --git a/app/models/kuhsaft/page_type.rb b/app/models/kuhsaft/page_type.rb
index <HASH>..<HASH> 100644
--- a/app/models/kuhsaft/page_type.rb
+++ b/app/models/kuhsaft/page_type.rb
@@ -2,7 +2,7 @@ module Kuhsaft
class PageType
REDIRECT = 'redirect'
NAVIGATION = 'navigation'
- CONTENT = ''
+ CONTENT... | update CONTENT constant from empty string to content | brandleadership_kuhsaft | train |
0e6f307410c25e12d8de9b099cce167fc53d27d5 | diff --git a/picasso/src/main/java/com/squareup/picasso/LruCache.java b/picasso/src/main/java/com/squareup/picasso/LruCache.java
index <HASH>..<HASH> 100644
--- a/picasso/src/main/java/com/squareup/picasso/LruCache.java
+++ b/picasso/src/main/java/com/squareup/picasso/LruCache.java
@@ -35,7 +35,7 @@ public final class ... | Remove unnecessary cast.
The byte count of a Bitmap is always an integer. | square_picasso | train |
0315926c08fc58c79e2b1a06956e4db1fa003076 | diff --git a/src/python/pants/engine/fs_test.py b/src/python/pants/engine/fs_test.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/engine/fs_test.py
+++ b/src/python/pants/engine/fs_test.py
@@ -1012,18 +1012,12 @@ def test_invalidated_after_new_child(rule_runner: RuleRunner) -> None:
def test_digest_repr() -> N... | Fix fs_test style from #<I>
I accidentally merged without pushing the changes requested by Eric in review. | pantsbuild_pants | train |
97a37f37914910f5413297e2743b8029b1773365 | diff --git a/web/concrete/src/Page/Type/Composer/Control/Type/BlockType.php b/web/concrete/src/Page/Type/Composer/Control/Type/BlockType.php
index <HASH>..<HASH> 100644
--- a/web/concrete/src/Page/Type/Composer/Control/Type/BlockType.php
+++ b/web/concrete/src/Page/Type/Composer/Control/Type/BlockType.php
@@ -18,7 +18,... | Look for block composer.php in packages folder
Former-commit-id: 9d4c<I>a<I>e<I>d1d<I>a<I>c<I>ccac3b<I>d9 | concrete5_concrete5 | train |
601fe28e7a01ac871c9f6b2f3ae1f27f7f457e48 | diff --git a/tests/src/test/java/io/jooby/WebClient.java b/tests/src/test/java/io/jooby/WebClient.java
index <HASH>..<HASH> 100644
--- a/tests/src/test/java/io/jooby/WebClient.java
+++ b/tests/src/test/java/io/jooby/WebClient.java
@@ -58,7 +58,7 @@ public class WebClient implements AutoCloseable {
public String ... | Websocket Test: wait until message becomes available | jooby-project_jooby | train |
dc7722432f410562c26230ecaa8e0be2669503ef | diff --git a/src/tools/bubblechart/bubblechart-component.js b/src/tools/bubblechart/bubblechart-component.js
index <HASH>..<HASH> 100644
--- a/src/tools/bubblechart/bubblechart-component.js
+++ b/src/tools/bubblechart/bubblechart-component.js
@@ -1364,7 +1364,6 @@
});
});
- console.log(curr);
... | Remove console.log on bubble chart component | vizabi_vizabi | train |
33afe8593ac8b4bafb387efc3a1dd06e037b6533 | diff --git a/src/js/utilities.js b/src/js/utilities.js
index <HASH>..<HASH> 100644
--- a/src/js/utilities.js
+++ b/src/js/utilities.js
@@ -49,8 +49,8 @@
function getImageSize(image, callback) {
var newImage;
- // Modern browsers
- if (image.naturalWidth) {
+ // Modern browsers (ignore Safari, #120 & ... | Avoid to use natualWdith/Height properties in Safari
Related issues: #<I> and #<I> | fengyuanchen_cropper | train |
a55f5bf0e2783868c7d80a72088b1d717fd09047 | diff --git a/src/Atlas.php b/src/Atlas.php
index <HASH>..<HASH> 100644
--- a/src/Atlas.php
+++ b/src/Atlas.php
@@ -20,7 +20,6 @@ use Atlas\Pdo\ConnectionLocator;
use Atlas\Table\TableLocator;
use Atlas\Orm\Transaction\AutoCommit;
use Atlas\Orm\Transaction\Transaction;
-use Exception;
class Atlas
{
@@ -33,12 +32,... | no need for Exception hint, and only check Transaction subclass | atlasphp_Atlas.Orm | train |
467b8359946a30130b2ae403064eabba4f4d5177 | diff --git a/lib/confluence.js b/lib/confluence.js
index <HASH>..<HASH> 100644
--- a/lib/confluence.js
+++ b/lib/confluence.js
@@ -112,7 +112,14 @@ Confluence.prototype.getContentById = function(id, callback){
};
Confluence.prototype.getCustomContentById = function(options, callback) {
- callback();
+ var exp... | Implementation of getCustomContentById, tests passing | johnpduane_confluence-api | train |
8d9522a6c240130b90d0ed834aa1f93969134a16 | diff --git a/tests/test_weakref.py b/tests/test_weakref.py
index <HASH>..<HASH> 100644
--- a/tests/test_weakref.py
+++ b/tests/test_weakref.py
@@ -9,13 +9,18 @@ class WeakrefTest(unittest2.TestCase):
handle_types = ('Check', 'Idle', 'Pipe', 'Prepare', 'TCP', 'Timer', 'UDP')
def test_weakref(self):
- ... | Adapted weakref test | saghul_pyuv | train |
3aa17bf712ecee3dce30752d7766942262cab2f5 | diff --git a/examples/memory_datasource/simple.js b/examples/memory_datasource/simple.js
index <HASH>..<HASH> 100755
--- a/examples/memory_datasource/simple.js
+++ b/examples/memory_datasource/simple.js
@@ -1,5 +1,6 @@
#!/usr/bin/env node
+var fs = require('fs');
var mapnik = require('mapnik');
var path = require(... | test rendering a grid from a memory datasource | mapnik_node-mapnik | train |
ae4226d2d2443193316381b6ef4f24a34edb7b8b | diff --git a/tests/PointerArrayAccessTest.php b/tests/PointerArrayAccessTest.php
index <HASH>..<HASH> 100644
--- a/tests/PointerArrayAccessTest.php
+++ b/tests/PointerArrayAccessTest.php
@@ -13,13 +13,13 @@ class PointerArrayAccessTest extends \PHPUnit_Framework_TestCase
public function testGetPathValue()
{
... | Added some more tests for unnattainable values | gamringer_JSONPatch | train |
c7eb85766c24cc2ffa92bda31b53a15230535758 | diff --git a/go/libkb/constants.go b/go/libkb/constants.go
index <HASH>..<HASH> 100644
--- a/go/libkb/constants.go
+++ b/go/libkb/constants.go
@@ -61,13 +61,14 @@ var MerkleTestKIDs = []string{
const (
KeybaseKIDV1 = 1 // Uses SHA-256
KeybaseSignatureV1 = 1
-
- SigExpireIn = 24 * 60 * 60 * 365 * 10 // ... | Move all expirations (except auth) to <I> years. Also cleanup the
constant so its clearer | keybase_client | train |
15dbbd93b4cb7fe6d81611adbb28be1a2faac1bd | diff --git a/publ/category.py b/publ/category.py
index <HASH>..<HASH> 100644
--- a/publ/category.py
+++ b/publ/category.py
@@ -55,8 +55,8 @@ class Category:
@cached_property
def parent(self):
""" Get the parent category """
- if path:
- return Category(os.path.dirname(path))
+ ... | Fix pylint issue and also how-was-this-working issue | PlaidWeb_Publ | train |
a12abb56efebb3439986c0a02115fec51bd681e0 | diff --git a/src/main/java/org/jfrog/hudson/ArtifactoryRedeployPublisher.java b/src/main/java/org/jfrog/hudson/ArtifactoryRedeployPublisher.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jfrog/hudson/ArtifactoryRedeployPublisher.java
+++ b/src/main/java/org/jfrog/hudson/ArtifactoryRedeployPublisher.java
@@ -4... | HAP-<I> - Custom staging configuration is delaying the job page loading | jenkinsci_artifactory-plugin | train |
a33394439f3d03b9a827cf809bd0bbebc46870c1 | diff --git a/openquake/hazardlib/gsim/projects/acme_2019.py b/openquake/hazardlib/gsim/projects/acme_2019.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/gsim/projects/acme_2019.py
+++ b/openquake/hazardlib/gsim/projects/acme_2019.py
@@ -269,6 +269,8 @@ class AlAtikSigmaModel(GMPE):
except AttributeEr... | always using cappingp=1 for B<I> | gem_oq-engine | train |
5611f571f2a8c1bf56a4dcf745f71688f2049119 | diff --git a/lib/ohm.rb b/lib/ohm.rb
index <HASH>..<HASH> 100644
--- a/lib/ohm.rb
+++ b/lib/ohm.rb
@@ -95,11 +95,9 @@ module Ohm
attr :key
attr :model
- def initialize(key, model, db = nil)
+ def initialize(key, model)
@key = key
@model = model.unwrap
- @db = db || @mo... | Remove unneeded reference to a Redis object. | soveran_ohm | train |
0259b2b11e306c3c2548424cebd36af1ce16f5f8 | diff --git a/lang/fr/moodle.php b/lang/fr/moodle.php
index <HASH>..<HASH> 100644
--- a/lang/fr/moodle.php
+++ b/lang/fr/moodle.php
@@ -662,6 +662,7 @@ $string['maximumupload'] = 'Taille maximale des fichiers d
$string['maxsize'] = 'Taille maximale : $a';
$string['min'] = 'min';
$string['mins'] = 'mins';
+$string['mi... | String added: 'minutes' | moodle_moodle | train |
3e0a197099d734befdf8b0c8ca2a942cbaba0480 | diff --git a/scanner/src/main/java/com/buschmais/jqassistant/core/scanner/impl/ScannerImpl.java b/scanner/src/main/java/com/buschmais/jqassistant/core/scanner/impl/ScannerImpl.java
index <HASH>..<HASH> 100644
--- a/scanner/src/main/java/com/buschmais/jqassistant/core/scanner/impl/ScannerImpl.java
+++ b/scanner/src/main... | #<I> fixed broken tests after refactoring of plugin dependencies | buschmais_jqa-core-framework | train |
bab663f21c834ba5a70a8cc7622540dad226ce0e | diff --git a/tests/unit/modules/test_gpg.py b/tests/unit/modules/test_gpg.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_gpg.py
+++ b/tests/unit/modules/test_gpg.py
@@ -11,7 +11,7 @@ import shutil
import datetime
import time
-# Import Salt Testing libs
+# Import Salt Testing Libs
from tests.support.h... | Mark test that needs to run as root | saltstack_salt | train |
d23c0d6d318ec80b7c074ce961e5fb3e5032ce32 | diff --git a/catalog/services_state.go b/catalog/services_state.go
index <HASH>..<HASH> 100644
--- a/catalog/services_state.go
+++ b/catalog/services_state.go
@@ -409,7 +409,12 @@ func (state *ServicesState) TrackLocalListeners(fn func() []Listener, looper dir
if !ok {
log.Infof("Adding listener %s because i... | Handle UrlListeners as a special case | newrelic_sidecar | train |
4423bd9689318088f5fae5cdcb42211ab3afd92f | diff --git a/tests/integration/test_db.py b/tests/integration/test_db.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_db.py
+++ b/tests/integration/test_db.py
@@ -15,12 +15,9 @@ def test_can_get_and_set_value(shell_db):
def test_raise_key_error_when_no_key_exists(shell_db):
- try:
+ with pytest.r... | Use pytest.raises
Much cleaner | awslabs_aws-shell | train |
19bbaa42b98ff287f64ef1b2a0cff019401c573f | diff --git a/src/Http/Controllers/Cms/CreatePostController.php b/src/Http/Controllers/Cms/CreatePostController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/Cms/CreatePostController.php
+++ b/src/Http/Controllers/Cms/CreatePostController.php
@@ -58,9 +58,6 @@ class CreatePostController extends CmsControlle... | fixed removeunrequredmetas to the save meta object to clean up and fix a issue when saving a main table value | nickkuijpers_laravel-custom-post-manager | train |
abade39d9afa9e50739e29a91716a9ca5c78258e | diff --git a/invoice.go b/invoice.go
index <HASH>..<HASH> 100644
--- a/invoice.go
+++ b/invoice.go
@@ -70,7 +70,7 @@ type InvoiceParams struct {
SubscriptionProrate *bool `form:"subscription_prorate"`
SubscriptionProrationDate *int64 `form:"subs... | SubscriptionTaxPercent should be a float<I>, not int<I> -> same as any other TaxPercent field | stripe_stripe-go | train |
0bb00cef4464522f28b96be38a7a82f41ddfce0c | diff --git a/calendar-bundle/src/Resources/contao/config/autoload.php b/calendar-bundle/src/Resources/contao/config/autoload.php
index <HASH>..<HASH> 100644
--- a/calendar-bundle/src/Resources/contao/config/autoload.php
+++ b/calendar-bundle/src/Resources/contao/config/autoload.php
@@ -27,9 +27,9 @@ ClassLoader::addCla... | [Calendar] Support unlimited nesting levels in the autoload creator | contao_contao | train |
c299c31dcb547abba4ae8f3b5bb91c3d720b493c | diff --git a/tests/integration/routes/session/delete-session-test.js b/tests/integration/routes/session/delete-session-test.js
index <HASH>..<HASH> 100644
--- a/tests/integration/routes/session/delete-session-test.js
+++ b/tests/integration/routes/session/delete-session-test.js
@@ -44,13 +44,14 @@ test('DELETE /session... | test: DELETE /session: <I> should be <I>
Issue #<I> | hoodiehq_hoodie-account-server | train |
24a416c131d94ca40f5a24ee752940269c12b434 | diff --git a/src/components/Calendar/index.js b/src/components/Calendar/index.js
index <HASH>..<HASH> 100644
--- a/src/components/Calendar/index.js
+++ b/src/components/Calendar/index.js
@@ -497,10 +497,8 @@ class Calendar extends PureComponent {
isVertical ? this.styles.monthsVertical : this.styles.mont... | Update src/components/Calendar/index.js | Adphorus_react-date-range | train |
fd996bb1d858138fd0faa263d77016aafb21f34b | diff --git a/examples/cra-ts-kitchen-sink/.storybook/webpack.config.js b/examples/cra-ts-kitchen-sink/.storybook/webpack.config.js
index <HASH>..<HASH> 100644
--- a/examples/cra-ts-kitchen-sink/.storybook/webpack.config.js
+++ b/examples/cra-ts-kitchen-sink/.storybook/webpack.config.js
@@ -1,11 +1,9 @@
const path = re... | Update webpack for <I> | storybooks_storybook | train |
0962a3134c5e639e6cf6cf3dcef05bb77b34ef13 | diff --git a/packages/origin.js/src/index.js b/packages/origin.js/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/origin.js/src/index.js
+++ b/packages/origin.js/src/index.js
@@ -28,8 +28,7 @@ var resources = {
// and all contracts will follow it
for(var resourceName in resources){
resources[resourceName... | No need for that ugly .resources in there! | OriginProtocol_origin-js | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.