hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
dc8aabeed0fdc618dec3b246099a09b02c6006a6 | diff --git a/packages/postcss-convert-values/CHANGELOG.md b/packages/postcss-convert-values/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/packages/postcss-convert-values/CHANGELOG.md
+++ b/packages/postcss-convert-values/CHANGELOG.md
@@ -1,3 +1,8 @@
+# 2.3.4
+
+* Does not convert `height:0%` to `height:0` (and the sam... | Don't convert height:0% to height:0. | cssnano_cssnano | train |
eff3f6c90428ddd2d988c9b686d92488c6430b77 | diff --git a/reflect.go b/reflect.go
index <HASH>..<HASH> 100644
--- a/reflect.go
+++ b/reflect.go
@@ -267,6 +267,9 @@ func (r *Reflector) reflectStructFields(st *Type, definitions Definitions, t ref
if t.Kind() == reflect.Ptr {
t = t.Elem()
}
+ if t.Kind() != reflect.Struct {
+ return
+ }
for i := 0; i < t.N... | fix: ignore anonymous fields if not of type struct | alecthomas_jsonschema | train |
e964b9fb182351f55c815536e922a6c16e682b7e | diff --git a/lib/redfish/tasks/domain.rb b/lib/redfish/tasks/domain.rb
index <HASH>..<HASH> 100644
--- a/lib/redfish/tasks/domain.rb
+++ b/lib/redfish/tasks/domain.rb
@@ -180,6 +180,13 @@ module Redfish
# This line is probably not needed outside tests...
create_dir("#{context.domain_directory}/config"... | Create tmp and prefs directories as part of domain and use them in the domain | realityforge_redfish | train |
75cbc99c55a4e5d66c98bb7374edac83b61e80be | diff --git a/webwhatsapi/__init__.py b/webwhatsapi/__init__.py
index <HASH>..<HASH> 100755
--- a/webwhatsapi/__init__.py
+++ b/webwhatsapi/__init__.py
@@ -264,7 +264,7 @@ class WhatsAPIDriver(object):
# instead we use this (temporary) solution:
# return 'class="app _3dqpi two"' in self.driver.page_s... | Fix wapi.js injection (#<I>)
* Updated is_logged_in function
This function now support login verification even if WAPI.js wasn't injected
* Fix wapi.js injection
wapi.js can only be injected after user logged in | mukulhase_WebWhatsapp-Wrapper | train |
ad6227fea620f0265207d011d626a5d5eff2a03a | diff --git a/test/lib/types/library/LibraryFormatter.js b/test/lib/types/library/LibraryFormatter.js
index <HASH>..<HASH> 100644
--- a/test/lib/types/library/LibraryFormatter.js
+++ b/test/lib/types/library/LibraryFormatter.js
@@ -166,6 +166,69 @@ test("validate: test invalid encoding", async (t) => {
`test. Must be... | [INTERNAL] LibraryFormatter: Add test for library containing non-ASCII characters | SAP_ui5-builder | train |
1e7913204c940f50256906bfb74d22a692b71088 | diff --git a/tweetpony/api.py b/tweetpony/api.py
index <HASH>..<HASH> 100644
--- a/tweetpony/api.py
+++ b/tweetpony/api.py
@@ -240,7 +240,7 @@ class API(object):
except ValueError:
pass
elif type(value) in [str, unicode]:
- value = open(value, 'r')
+ value = open(value, 'rb')
del _params[... | update_status_with_media call change
Change 'r' to 'rb' mode to ensure filename/pathtofilename parameter (string) passed as media[] argument works
u'' or None instead of None or u'' will fix missing parameter status issue in case of empty tweet and valid photo file(passed as filename/pathtofilename mentioned above) | Mezgrman_TweetPony | train |
9ba66f1b84200242519fc5f25fc5175809ddba4f | diff --git a/xds/internal/xdsclient/authority.go b/xds/internal/xdsclient/authority.go
index <HASH>..<HASH> 100644
--- a/xds/internal/xdsclient/authority.go
+++ b/xds/internal/xdsclient/authority.go
@@ -54,7 +54,9 @@ func (c *clientImpl) findAuthority(n *xdsresource.Name) (_ *authority, unref fun
if !ok {
return... | xdsclient: use top-level server list if authority specific list is empty (#<I>) | grpc_grpc-go | train |
dbab46d5f8228f8dd56bbca2e63405e818c598f9 | diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb
index <HASH>..<HASH> 100644
--- a/lib/oxidized/input/ssh.rb
+++ b/lib/oxidized/input/ssh.rb
@@ -42,7 +42,7 @@ module Oxidized
unless @exec
shell_open @ssh
begin
- @username ? shell_login : expect(@node.prompt)
+ ... | support terminal and ssh auth for same model
Some boxes like prokurwa may authenticate via SSH (proper), or may have
no auth on SSH and use terminal auth (improper)
Even if SSH is configured for terminal auth, in this change we attempt
to detect prompt, so that we won't expect terminal auth, even when
requested, if i... | ytti_oxidized | train |
97f3b7b22ce6f1626ca08f464f5152f557c2783f | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -19,10 +19,10 @@ The driver uses Cassandra's binary protocol which was introduced in Cassandra ve
## Using it
```javascript
-// Creating a new connection pool to multiple hosts.
+//Creating a new connection pool to mul... | client.streamRows: added endCallback | jorgebay_node-cassandra-cql | train |
b13d5e421e81be59aebbd7ecdb8af3b4c3b79c63 | diff --git a/lib/reports_kit/reports/data/utils.rb b/lib/reports_kit/reports/data/utils.rb
index <HASH>..<HASH> 100644
--- a/lib/reports_kit/reports/data/utils.rb
+++ b/lib/reports_kit/reports/data/utils.rb
@@ -73,11 +73,7 @@ module ReportsKit
keys = keys.sort
last_key = (dimension.last_key || key... | Time dimension series should end at the end of the filter | tombenner_reports_kit | train |
10c6a3b4e4230ed7dea76f3af20e3ebcd7075a36 | diff --git a/microsoft-azure-api/src/test/java/com/microsoft/windowsazure/services/media/JobIntegrationTest.java b/microsoft-azure-api/src/test/java/com/microsoft/windowsazure/services/media/JobIntegrationTest.java
index <HASH>..<HASH> 100644
--- a/microsoft-azure-api/src/test/java/com/microsoft/windowsazure/services/m... | disable failed unit tests tracked in issue <I>. | Azure_azure-sdk-for-java | train |
a42ba297c7050e946aa2b68042e217929bfcfced | diff --git a/topologies/server.js b/topologies/server.js
index <HASH>..<HASH> 100644
--- a/topologies/server.js
+++ b/topologies/server.js
@@ -354,7 +354,7 @@ Server.prototype.connect = function(options) {
// Do not allow connect to be called on anything that's not disconnected
if(self.s.pool && !self.s.pool.is... | Minor fix to report the correct state on error | mongodb_node-mongodb-native | train |
77af1a53791060187df001db06deb212eb6fd80e | diff --git a/app/controllers/cms/resources_controller.rb b/app/controllers/cms/resources_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/cms/resources_controller.rb
+++ b/app/controllers/cms/resources_controller.rb
@@ -71,7 +71,7 @@ module Cms
end
def resource_model
- controller_n... | Change resource_model method for resource controller to include namespaces | droptheplot_adminable | train |
33c69cf9d48046587235099536e6f3cb386a3418 | diff --git a/muffin_redis.py b/muffin_redis.py
index <HASH>..<HASH> 100644
--- a/muffin_redis.py
+++ b/muffin_redis.py
@@ -247,31 +247,33 @@ class Subscription():
# so leave all work to him
return (yield from self._queue.get())
- self._plugin._receiving = self
- while True:
- ... | Fixed pubsub hang after forced connection closing | klen_muffin-redis | train |
4f6ff6042c968f2e9a285e49ca442438d6e039bd | diff --git a/simulator/src/main/java/com/hazelcast/simulator/coordinator/remoting/AgentsClient.java b/simulator/src/main/java/com/hazelcast/simulator/coordinator/remoting/AgentsClient.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/coordinator/remoting/AgentsClient.java
+++ b/simu... | Fixed "ignored exceptional return value" issue from SonarQube. | hazelcast_hazelcast-simulator | train |
135ee360fd2570a91ac86126656b146e694b7cf6 | diff --git a/src/walker/abstract_speech_generator.js b/src/walker/abstract_speech_generator.js
index <HASH>..<HASH> 100644
--- a/src/walker/abstract_speech_generator.js
+++ b/src/walker/abstract_speech_generator.js
@@ -23,25 +23,23 @@
goog.provide('sre.AbstractSpeechGenerator');
goog.require('sre.AuditoryDescriptio... | Rejigged the class structure for speech generators again. | zorkow_speech-rule-engine | train |
5c3142ec98ff3e7f22daf694f3f466dd77f91a13 | diff --git a/jquery.floatThead.js b/jquery.floatThead.js
index <HASH>..<HASH> 100644
--- a/jquery.floatThead.js
+++ b/jquery.floatThead.js
@@ -2,7 +2,7 @@
* jQuery.floatThead
* Copyright (c) 2012 Misha Koryak - https://github.com/mkoryak/floatThead
* Licensed under the MIT license: http://www.opensource.org/licen... | resolved issues when table had 0 rows in body. removed bad assumptions | mkoryak_floatThead | train |
544a9797214b99628207b1918cc4295411a7cb6e | diff --git a/annotationengine/api.py b/annotationengine/api.py
index <HASH>..<HASH> 100644
--- a/annotationengine/api.py
+++ b/annotationengine/api.py
@@ -90,7 +90,7 @@ class Table(Resource):
}
table_name = table_name.lower()
schema_type = data.get("schema_type")
- ... | fix(ref_annotation): enforce spaces as underscores | seung-lab_AnnotationEngine | train |
2abf7e381be566dfbd13bd9cbad416c82107eb3f | diff --git a/synergy/supervisor/synergy_supervisor.py b/synergy/supervisor/synergy_supervisor.py
index <HASH>..<HASH> 100644
--- a/synergy/supervisor/synergy_supervisor.py
+++ b/synergy/supervisor/synergy_supervisor.py
@@ -1,7 +1,7 @@
__author__ = 'Bohdan Mushkevych'
from threading import Lock
-from subprocess impo... | Addressing issue with PIPE buffer overflow in the containerized deployments | mushkevych_scheduler | train |
a00ffb7cf71c66fdecc67578331361a67cc0d0f0 | diff --git a/apptentive/src/com/apptentive/android/sdk/module/messagecenter/view/MessageCenterActivityContent.java b/apptentive/src/com/apptentive/android/sdk/module/messagecenter/view/MessageCenterActivityContent.java
index <HASH>..<HASH> 100644
--- a/apptentive/src/com/apptentive/android/sdk/module/messagecenter/view... | Fix Composing not being shown after Who Card is dismissed from contextual message | apptentive_apptentive-android | train |
4f8358f97c1b951ad89dd558b7de027fa3fd3f22 | diff --git a/go/vt/srvtopo/keyspace_filtering_server_test.go b/go/vt/srvtopo/keyspace_filtering_server_test.go
index <HASH>..<HASH> 100644
--- a/go/vt/srvtopo/keyspace_filtering_server_test.go
+++ b/go/vt/srvtopo/keyspace_filtering_server_test.go
@@ -79,6 +79,10 @@ func TestFilteringServerReturnsUnderlyingServer(t *tes... | Add another check in the e2e test to be sure writes fail with FilteringServer | vitessio_vitess | train |
2abc314a5501f800ca383beccf5d0d182c82f4d4 | diff --git a/src/client.js b/src/client.js
index <HASH>..<HASH> 100644
--- a/src/client.js
+++ b/src/client.js
@@ -46,23 +46,23 @@ Client.prototype = {
this._request('nearest', this._formatLocs([latLng]), callback);
},
- match: function(latLngs, timestamps, callback) {
- if (timestamps) {
- if (time... | Make interface really compatible with node-osrm | Project-OSRM_osrm.js | train |
63b49ed63b8f2e60d93cc92c3717ae0bed0a8337 | diff --git a/src/react/get-changed-params.js b/src/react/get-changed-params.js
index <HASH>..<HASH> 100644
--- a/src/react/get-changed-params.js
+++ b/src/react/get-changed-params.js
@@ -1,9 +1,12 @@
import { paramsList } from './params-list';
-function getChangedParams(swiperParams, oldParams, childrenLength, oldCh... | React: watch for children changes
Ref #<I> | nolimits4web_swiper | train |
451d22d0cc99e2a7fe065088b6787654767c5146 | diff --git a/lib/yard/config.rb b/lib/yard/config.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/config.rb
+++ b/lib/yard/config.rb
@@ -45,7 +45,41 @@ module YARD
# loaded with safe mode on, because plugins are properly namespaced with
# a 'yard-' prefix, must be installed as a gem, and therefore cannot be
# to... | YARD Configuration Documentation
Included example of using the YARD::Config from the point-of-view of plugin
designer. | lsegal_yard | train |
b77ff061898f98e0cf50d1af1ab7ef6a520213c7 | diff --git a/Minimal-J/src/main/java/org/minimalj/backend/db/AbstractTable.java b/Minimal-J/src/main/java/org/minimalj/backend/db/AbstractTable.java
index <HASH>..<HASH> 100644
--- a/Minimal-J/src/main/java/org/minimalj/backend/db/AbstractTable.java
+++ b/Minimal-J/src/main/java/org/minimalj/backend/db/AbstractTable.ja... | Persistence: With use of the constant Statement.NO_GENERATED_KEYS the
implemention can be shorter | BrunoEberhard_minimal-j | train |
2b65ac5e6e72a513a07eae8fa5e33215457b19ba | diff --git a/provision/kubernetes/deploy_test.go b/provision/kubernetes/deploy_test.go
index <HASH>..<HASH> 100644
--- a/provision/kubernetes/deploy_test.go
+++ b/provision/kubernetes/deploy_test.go
@@ -3148,7 +3148,7 @@ func (s *S) TestCreatePodContainers(c *check.C) {
runAsUser := int64(1000)
c.Assert(containers[... | Upgrade deploy agent to <I> | tsuru_tsuru | train |
c924c4f6639c5f19cacb6e4f394c1e3db60a9ec8 | diff --git a/Rakefile b/Rakefile
index <HASH>..<HASH> 100644
--- a/Rakefile
+++ b/Rakefile
@@ -80,7 +80,7 @@ desc 'Run various benchmarks'
task :benchmark do
require 'benchmark'
require 'tempfile'
- require 'ole/file_system'
+ require 'ole/storage'
# should probably add some read benchmarks too
def write_ben... | Updates to suppress warnings on <I>.
- Guard defining File#size (same definition now exists).
- Remove recursive requires, and tweak requires in tests to use
top level requires only.
git-svn-id: <URL> | aquasync_ruby-ole | train |
ac77e8aafea522582ebb1038b5a16a304d93695b | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## v2.1.0
+
+- Add `Sapience::ErrorHandler:Sentry#capture`
+- Add `Sapience::ErrorHandler:Sentry#capture!`
+
## v2.0.5
- Add "flush" as an instance method in logger.
diff --git a/lib/sapience/... | Add capture and capture! methods for error handler | reevoo_sapience-rb | train |
1c91c4213fd1e22123d0dd3b3f6de11fac838e21 | diff --git a/Swat/SwatActions.php b/Swat/SwatActions.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatActions.php
+++ b/Swat/SwatActions.php
@@ -40,7 +40,7 @@ class SwatActions extends SwatControl implements SwatUIParent {
*/
public $auto_reset = true;
- private $actionfly;
+ private $action_flydown;
private $ap... | Tidy this file
- wrap lines at <I> chars
- rename $actionfly to $action_flydown
svn commit r<I> | silverorange_swat | train |
fc47f8c27cc5d1c913ecee59dc995083a2d7d955 | diff --git a/spec/controllers/system_group_events_controller_spec.rb b/spec/controllers/system_group_events_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/system_group_events_controller_spec.rb
+++ b/spec/controllers/system_group_events_controller_spec.rb
@@ -65,7 +65,7 @@ describe SystemGroupEve... | <I> - fix spec test on system group events | Katello_katello | train |
e06bf2ed5b9d06ee2fdc5c73bcdf3fb4e7cc6073 | diff --git a/src/de/lmu/ifi/dbs/pca/LinearCorrelationPCA.java b/src/de/lmu/ifi/dbs/pca/LinearCorrelationPCA.java
index <HASH>..<HASH> 100644
--- a/src/de/lmu/ifi/dbs/pca/LinearCorrelationPCA.java
+++ b/src/de/lmu/ifi/dbs/pca/LinearCorrelationPCA.java
@@ -29,24 +29,8 @@ public class LinearCorrelationPCA extends Abstract... | new method covarianceMatrix | elki-project_elki | train |
44e6a506b9b49150b2343022549131a513e9263a | diff --git a/staging/src/k8s.io/legacy-cloud-providers/azure/azure_managedDiskController.go b/staging/src/k8s.io/legacy-cloud-providers/azure/azure_managedDiskController.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/legacy-cloud-providers/azure/azure_managedDiskController.go
+++ b/staging/src/k8s.io/legacy-cl... | fix: check disk status before disk azure disk | kubernetes_kubernetes | train |
226757a73cdbbf07ab20312c62ab6767971232cd | diff --git a/lib/ronin/database.rb b/lib/ronin/database.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/database.rb
+++ b/lib/ronin/database.rb
@@ -20,11 +20,9 @@
require 'ronin/database/database'
-module Ronin
- Database.upgrade do
- require 'ronin/author'
- require 'ronin/license'
- require 'ronin/arch'... | Don't require files within the Ronin namespace. | ronin-ruby_ronin | train |
73ab708d30be6a324832db9b6ff78e3406fd3771 | diff --git a/src/main/java/org/robolectric/res/AndroidResourcePathFinder.java b/src/main/java/org/robolectric/res/AndroidResourcePathFinder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/robolectric/res/AndroidResourcePathFinder.java
+++ b/src/main/java/org/robolectric/res/AndroidResourcePathFinder.java
@@ -3... | Point users to the website when their tests can't find Android. | robolectric_robolectric | train |
a4e3544c889cd3145f37ab837adb70ad1ce04ac9 | diff --git a/tests/specs/get-state.js b/tests/specs/get-state.js
index <HASH>..<HASH> 100644
--- a/tests/specs/get-state.js
+++ b/tests/specs/get-state.js
@@ -19,10 +19,22 @@ test('getState preserves "account" property', function (t) {
t.is(state.account.id, 'id1', 'account id is preserved')
})
+test('getState wi... | test: adapt for `options.url` and `options.PouchDB` | hoodiehq_hoodie-client | train |
1c82d9316a986642a0d4c26227ea902636b8bf29 | diff --git a/libact/query_strategies/__init__.py b/libact/query_strategies/__init__.py
index <HASH>..<HASH> 100644
--- a/libact/query_strategies/__init__.py
+++ b/libact/query_strategies/__init__.py
@@ -1,9 +1,14 @@
"""
Concrete query strategy classes.
"""
+import logging
+logger = logging.getLogger(__name__)
fro... | hintsvm: not importing if library not found | ntucllab_libact | train |
46c49ea0b92f4b479cd260d19bbdc8c9ae47bf76 | diff --git a/lib/dm-core/collection.rb b/lib/dm-core/collection.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/collection.rb
+++ b/lib/dm-core/collection.rb
@@ -1101,7 +1101,7 @@ module DataMapper
if resource.saved?
@identity_map[resource.key] = resource
@orphans.delete(resource)
- else
... | Do not set the default attributes when the resource is frozen | datamapper_dm-core | train |
96b1f801d0a0a55fe38451f8374174908592e096 | diff --git a/zappa/core.py b/zappa/core.py
index <HASH>..<HASH> 100644
--- a/zappa/core.py
+++ b/zappa/core.py
@@ -2136,6 +2136,7 @@ class Zappa(object):
'"detail": <detail>, ' \
'"version": <version>,' \
'... | added the id field. Now mirrors the event sample in
<URL> | Miserlou_Zappa | train |
0662a9f40a19932741e41c608454f120dc44d2b7 | diff --git a/src/watoki/deli/router/DynamicRouter.php b/src/watoki/deli/router/DynamicRouter.php
index <HASH>..<HASH> 100644
--- a/src/watoki/deli/router/DynamicRouter.php
+++ b/src/watoki/deli/router/DynamicRouter.php
@@ -63,7 +63,7 @@ class DynamicRouter implements Router {
}
}
- $nextC... | Fixed: Routers didn't copy old context | watoki_deli | train |
eb4bf651e58987ab0196ddfd58e286ce10fef702 | diff --git a/tsdb/engine.go b/tsdb/engine.go
index <HASH>..<HASH> 100644
--- a/tsdb/engine.go
+++ b/tsdb/engine.go
@@ -208,8 +208,8 @@ type CompactionPlannerCreator func(cfg Config) interface{}
// be sure to observe every file that is added or removed even in the presence of process death.
type FileStoreObserver inte... | tsdb: add shard number to the observer
an observer may want to know what shard the file is part of. this
way, they don't have to rely on brittle file path parsing. | influxdata_influxdb | train |
57a59962e68eaeadf1f37601d3af1880e0104357 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -6,24 +6,47 @@ Python library for the [NeverBounce API v3](https://neverbounce.com/) — a real
[Sign up](https://app.neverbounce.com/register) to get an [API username and key](https://app.neverbounce.com/settings/api) an... | Fixed the invalid content type handling.
Added docs for bulk verification. | martinkosir_neverbounce-python | train |
3fbf298f5e21c8bd90b157c8b39552a2973a2d72 | diff --git a/lib/que/web/sql.rb b/lib/que/web/sql.rb
index <HASH>..<HASH> 100644
--- a/lib/que/web/sql.rb
+++ b/lib/que/web/sql.rb
@@ -53,6 +53,7 @@ Que::Web::SQL = {
) locks ON (que_jobs.id=locks.job_id)
WHERE
job_class LIKE ($1)
+ OR que_jobs.args #>> '{0, job_class}' ILIKE ($1)
SQL
failin... | Allow search by activejob class name (#<I>) | statianzo_que-web | train |
15c2bba4cd42705907964dc4f3dac276226c87e2 | diff --git a/lib/xcodeproj/workspace.rb b/lib/xcodeproj/workspace.rb
index <HASH>..<HASH> 100644
--- a/lib/xcodeproj/workspace.rb
+++ b/lib/xcodeproj/workspace.rb
@@ -71,7 +71,8 @@ module Xcodeproj
# @return [void]
#
def <<(projpath)
- @file_references << projpath
+ project_file_reference = Xco... | Fixes adding a project to a workspace
Method “<<“ was missing a conversion from string path to FileReference | CocoaPods_Xcodeproj | train |
206af39bb3b888eccadd66c71ec8d36c066bd5b9 | diff --git a/socialregistration/contrib/twitter/client.py b/socialregistration/contrib/twitter/client.py
index <HASH>..<HASH> 100644
--- a/socialregistration/contrib/twitter/client.py
+++ b/socialregistration/contrib/twitter/client.py
@@ -13,6 +13,8 @@ class Twitter(OAuth):
access_token_url = 'https://api.twitter.... | use twitter's api to obtain user info | flashingpumpkin_django-socialregistration | train |
085567231657efb3292bab88895692d2781d20eb | diff --git a/lib/autoprefixer-rails/sprockets.rb b/lib/autoprefixer-rails/sprockets.rb
index <HASH>..<HASH> 100644
--- a/lib/autoprefixer-rails/sprockets.rb
+++ b/lib/autoprefixer-rails/sprockets.rb
@@ -57,7 +57,7 @@ module AutoprefixerRails
end
# Sprockets 2 API new and render
- def render(_, _)
+ de... | Workaround for Sorbet rbi generation (#<I>)
Please note we don't guarantee any support for sorbet. | ai_autoprefixer-rails | train |
9eac1ab8192ab7aca7ee99f5302402c012f3b4fd | diff --git a/server-coreless/src/test/java/org/openqa/selenium/server/mock/MockPIFrameTest.java b/server-coreless/src/test/java/org/openqa/selenium/server/mock/MockPIFrameTest.java
index <HASH>..<HASH> 100644
--- a/server-coreless/src/test/java/org/openqa/selenium/server/mock/MockPIFrameTest.java
+++ b/server-coreless/... | Oops, last minute cleanup let a typo slip in
r<I> | SeleniumHQ_selenium | train |
3d8c99c255711bd1934d013144e6fa1b2f940fcb | diff --git a/lifxlan/device.py b/lifxlan/device.py
index <HASH>..<HASH> 100644
--- a/lifxlan/device.py
+++ b/lifxlan/device.py
@@ -94,6 +94,9 @@ class Device(object):
def get_port(self):
return self.port
+ def get_ip_addr(self):
+ return self.ip_addr
+
def get_label(self):
try:
... | added get_ip_addr() to Device API | mclarkk_lifxlan | train |
59e447c9e19c3daf359d68c49d7aa64c590f3589 | diff --git a/slave/buildslave/runprocess.py b/slave/buildslave/runprocess.py
index <HASH>..<HASH> 100644
--- a/slave/buildslave/runprocess.py
+++ b/slave/buildslave/runprocess.py
@@ -355,7 +355,7 @@ class RunProcess:
self.environ = newenv
else: # not environ
self.environ = os.environ... | Fix slave hanging caused by sending unicode as initialStdin for shell command | buildbot_buildbot | train |
3861da278c6d73081749003ef5c6e41fa16c5e89 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -20,7 +20,8 @@ var MEMBERSHIPS = 'j' // j for joined memberships..? :3
var MESSAGES = 'm'
var TOPICS = 't'
var USERS = 'u'
-var MODERATION = 'x'
+var MODERATION_AUTH = 'x'
+var MODERATION_INFO = 'y'
module.exports = Caba... | listModerationBy function and secondary index | cabal-club_cabal-core | train |
1a6d30c1eaa1b9ef1287ec54d63e4bb340a9ec6c | diff --git a/sisu-inject/guice-bean/guice-bean-reflect/src/main/java/org/sonatype/guice/bean/reflect/URLClassSpace.java b/sisu-inject/guice-bean/guice-bean-reflect/src/main/java/org/sonatype/guice/bean/reflect/URLClassSpace.java
index <HASH>..<HASH> 100644
--- a/sisu-inject/guice-bean/guice-bean-reflect/src/main/java/o... | Avoid potentially blocking call to URL.equals() | sonatype_sisu | train |
94f26e01228a94819edfbb8c079de615272588ec | diff --git a/src/Ddeboer/Imap/Message/Headers.php b/src/Ddeboer/Imap/Message/Headers.php
index <HASH>..<HASH> 100644
--- a/src/Ddeboer/Imap/Message/Headers.php
+++ b/src/Ddeboer/Imap/Message/Headers.php
@@ -32,7 +32,11 @@ class Headers
if (isset($this->array['from'])) {
$from = current($this->ar... | Don't presuppose 'personal' is present | ddeboer_imap | train |
c0e2349a144e7b76834e68daf272194c4b1b81ec | diff --git a/mapi/providers.py b/mapi/providers.py
index <HASH>..<HASH> 100644
--- a/mapi/providers.py
+++ b/mapi/providers.py
@@ -315,8 +315,8 @@ class TVDb(Provider):
yield result
elif series and date:
if not match(
- r'(19|20)\d{2}(-(?:0[1-9]|1[012])(-(?:[012... | Truncates long episode titles
... For certain variety or talk show series like the Daily show, Saturday Night Live, etc., the episode title will be crazily long with all the segments and acts in the title; this will truncate it to the featured guest name | jkwill87_mapi | train |
d122a9c24b698acf1190f61ce5653d0c04741539 | diff --git a/internal/action/setup.go b/internal/action/setup.go
index <HASH>..<HASH> 100644
--- a/internal/action/setup.go
+++ b/internal/action/setup.go
@@ -10,6 +10,7 @@ import (
"github.com/gopasspw/gopass/internal/backend"
"github.com/gopasspw/gopass/internal/backend/crypto/age"
"github.com/gopasspw/gopass/i... | Fix identity detection when using gpg (#<I>)
Fixes #<I>
RELEASE_NOTES=[BUGFIX] Fix gpg identity detection | gopasspw_gopass | train |
7a6d7d30aeb2bd4c679c563a896120e23eb4a356 | diff --git a/auto_ml/utils_model_training.py b/auto_ml/utils_model_training.py
index <HASH>..<HASH> 100644
--- a/auto_ml/utils_model_training.py
+++ b/auto_ml/utils_model_training.py
@@ -1,7 +1,7 @@
from collections import Iterable
import os
-from keras.callbacks import EarlyStopping
+from keras.callbacks import Ea... | adds early stopping for nans, and thoughts on more accurate model checkpointing that will let us bail early | ClimbsRocks_auto_ml | train |
656b37760ad3594d9929ffb82ee710b96046b55d | diff --git a/lib/millstone.js b/lib/millstone.js
index <HASH>..<HASH> 100644
--- a/lib/millstone.js
+++ b/lib/millstone.js
@@ -10,8 +10,7 @@ var _ = require('underscore'),
get = require('get'),
zipfile = require('zipfile'),
Step = require('step'),
- utils = require('./util.js'),
- sqlite3 = require... | mapnik upstream now supports 1) detecting spatialite type geometries and detecting the primary key (key_field), so drop the brittle code in millstone that did lookahead inspection | tilemill-project_millstone | train |
723bfb0eac3a70cca0673b79d9d151a9a85b5921 | diff --git a/contractcourt/channel_arbitrator.go b/contractcourt/channel_arbitrator.go
index <HASH>..<HASH> 100644
--- a/contractcourt/channel_arbitrator.go
+++ b/contractcourt/channel_arbitrator.go
@@ -215,7 +215,7 @@ func NewChannelArbitrator(cfg ChannelArbitratorConfig,
// Start starts all the goroutines that the C... | contractcourt: channel arbitrators now exit on co-op close of the channel | lightningnetwork_lnd | train |
7f46d1b022f45731e3fe28097389c38d948b38b9 | diff --git a/lib/Redmine/Api/Version.php b/lib/Redmine/Api/Version.php
index <HASH>..<HASH> 100644
--- a/lib/Redmine/Api/Version.php
+++ b/lib/Redmine/Api/Version.php
@@ -27,7 +27,7 @@ class Version extends AbstractApi
}
/**
- * Returns an array of projects with name/id pairs (or id/name if $reserse is ... | Updates phpdoc (typos due du copypasting from categories). | kbsali_php-redmine-api | train |
e560823be200b2e4f573bcc3da417876b443f488 | diff --git a/CHANGELOG b/CHANGELOG
index <HASH>..<HASH> 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -23,6 +23,7 @@
* Paymentez: Add new gateway [bpollack] #2685
* PayU Latam: Provide a mechanism to override the amount in verify [dtykocki] #2688
* Mercado Pago: Support X-Device-Session-ID Header [bpollack] #2689
+* Mer... | Mercado Pago: add arbitrary additional_info parameters
Remote:
<I> tests, <I> assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
<I>% passed
Unit:
<I> tests, <I> assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
<I>% passed
Closes #<I> | activemerchant_active_merchant | train |
2fe85a338028162b80b7a7f7436397457a10fa70 | diff --git a/jwt/algorithms.py b/jwt/algorithms.py
index <HASH>..<HASH> 100644
--- a/jwt/algorithms.py
+++ b/jwt/algorithms.py
@@ -1,7 +1,7 @@
import hashlib
import hmac
-from .compat import constant_time_compare, string_types, text_type
+from .compat import binary_type, constant_time_compare, is_string_type
from ... | Fix a bug where a PEM private key as bytes raises a TypeError | jpadilla_pyjwt | train |
901180475e90eb189f20ed0d8d008d2c40601bae | diff --git a/js/lib/cli.js b/js/lib/cli.js
index <HASH>..<HASH> 100755
--- a/js/lib/cli.js
+++ b/js/lib/cli.js
@@ -131,7 +131,7 @@ var interpret = exports.interpret = function(argv, slice) {
cleanOptions(cc.env('jsbeautify_'), knownOpts),
parsed.config,
cc.find('.jsbeautifyrc'),
- cc.f... | Update cli.js
HOME environment variable usually not defined in windows. | beautify-web_js-beautify | train |
1a06be62d933b5409c6418e4480987391da36dda | diff --git a/src/test/java/org/influxdb/InfluxDBTest.java b/src/test/java/org/influxdb/InfluxDBTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/influxdb/InfluxDBTest.java
+++ b/src/test/java/org/influxdb/InfluxDBTest.java
@@ -166,7 +166,7 @@ public class InfluxDBTest {
String dbName = "write_unittest_" ... | Update InfluxDBTest.java
refer to my last change (I described the change but forgot to add it to the code..) | influxdata_influxdb-java | train |
d48f7aa70324310403f7114bad0299f9d91af9a5 | diff --git a/packages/openneuro-server/graphql/resolvers/snapshots.js b/packages/openneuro-server/graphql/resolvers/snapshots.js
index <HASH>..<HASH> 100644
--- a/packages/openneuro-server/graphql/resolvers/snapshots.js
+++ b/packages/openneuro-server/graphql/resolvers/snapshots.js
@@ -24,6 +24,19 @@ export const snaps... | Filter out private datasets from participant count query. | OpenNeuroOrg_openneuro | train |
311b03f8daf33217696df2c1c959454497e6bc96 | diff --git a/lib/attached/processor/audio.rb b/lib/attached/processor/audio.rb
index <HASH>..<HASH> 100644
--- a/lib/attached/processor/audio.rb
+++ b/lib/attached/processor/audio.rb
@@ -1,15 +1,16 @@
require 'attached/processor/base'
+require 'attached/processor/error'
module Attached
module Processor
clas... | added better exception handling and fixed some audio processor errors | ksylvest_attached | train |
2977fea865688c2d2ba4a07087b676ffbb8efc98 | diff --git a/bogo/valid_vietnamese.py b/bogo/valid_vietnamese.py
index <HASH>..<HASH> 100644
--- a/bogo/valid_vietnamese.py
+++ b/bogo/valid_vietnamese.py
@@ -77,6 +77,14 @@ def is_valid_combination(components):
for i in range(len(comps)):
comps[i] = utils.change_case(comps[i], 1)
+ # Allow 'đ' t... | Allow 'đ' to appear in abbreviations like 'đm', 'đc', 'kgcđ', etc. | BoGoEngine_bogo-python | train |
6983c901163424d4695f39879386031f88088f53 | diff --git a/scss/__init__.py b/scss/__init__.py
index <HASH>..<HASH> 100644
--- a/scss/__init__.py
+++ b/scss/__init__.py
@@ -52,7 +52,6 @@ import os.path
import re
import sys
import textwrap
-import time
from scss import config
from scss.cssdefs import (
@@ -64,7 +63,7 @@ from scss.cssdefs import (
_zero_... | Print timing and profiler moved to the util module | Kronuz_pyScss | train |
4994043c10f2293387e46105e00098fc81da4a56 | diff --git a/apiserver/common/networkingcommon/networkconfigapi.go b/apiserver/common/networkingcommon/networkconfigapi.go
index <HASH>..<HASH> 100644
--- a/apiserver/common/networkingcommon/networkconfigapi.go
+++ b/apiserver/common/networkingcommon/networkconfigapi.go
@@ -53,7 +53,12 @@ func (api *NetworkConfigAPI) g... | BUG <I>: Gracefully handle NetworkInterfaces() returning NotSupported | juju_juju | train |
79c8088e9b50617ace13aa5769d529a4b0b350e7 | diff --git a/lib/user_notifier/models/base.rb b/lib/user_notifier/models/base.rb
index <HASH>..<HASH> 100644
--- a/lib/user_notifier/models/base.rb
+++ b/lib/user_notifier/models/base.rb
@@ -23,7 +23,7 @@ class UserNotifier::Base < ActiveRecord::Base
end
def deliver!
- UserNotifier::EmailWorker.perform_async... | deliver method should use deliver_at or time.now to deliver a notification
now all notifications should send via peform_at instead peform_async | diogob_user_notifier | train |
051ec02226c65fd10a11cb624fa24577fab9d062 | diff --git a/src/DayPickerInput.js b/src/DayPickerInput.js
index <HASH>..<HASH> 100644
--- a/src/DayPickerInput.js
+++ b/src/DayPickerInput.js
@@ -108,6 +108,7 @@ export default class DayPickerInput extends React.Component {
component: PropTypes.any,
overlayComponent: PropTypes.any,
+ style: PropTypes.ob... | Add style prop to DayPickerInput (#<I>)
* Add style prop to DayPickerInput
* Update style prop propType | gpbl_react-day-picker | train |
9b11c5a06398255d50cc10f403ec5062decee6b9 | diff --git a/lib/dm-core/property.rb b/lib/dm-core/property.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/property.rb
+++ b/lib/dm-core/property.rb
@@ -369,22 +369,52 @@ module DataMapper
unique?
end
- # Returns equality of properties. Properties are
- # comparable only if their models are equal ... | Added specs for Query#to_hash
* Fixed Propert#eql? and Property#== to properly compare two Property
objects
* Added #hash method to Property, Query::Direction, Query::Operator,
Query::Path to make it so when they are used in a Hash, they can
be matched up with similar objects and tested for equality/equivalence | datamapper_dm-core | train |
dbcee563557ff3138a586a3b324c3bad6adcfda5 | diff --git a/lib/ruby-progressbar/progressbar.rb b/lib/ruby-progressbar/progressbar.rb
index <HASH>..<HASH> 100644
--- a/lib/ruby-progressbar/progressbar.rb
+++ b/lib/ruby-progressbar/progressbar.rb
@@ -215,9 +215,9 @@ class ProgressBar
end
def set (count)
- if count < 0 || count > @total
- raise "inval... | Dont raise an exception when progress bar is out of range | wvanbergen_request-log-analyzer | train |
8475d37c2aa1f721bbd4501978becb6986056043 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,6 +32,7 @@ setup(
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
+ "Framework :: Django :: 4.1",
"License :: OSI Approved :: BSD License",
... | support Django <I> | grantmcconnaughey_django-avatar | train |
ccadc72762154a3e2dc3400209aa07914fdc6204 | diff --git a/examples/basic/src/index.js b/examples/basic/src/index.js
index <HASH>..<HASH> 100644
--- a/examples/basic/src/index.js
+++ b/examples/basic/src/index.js
@@ -33,7 +33,6 @@ const router = install({
const { component, outlet } = config
delete config.component
delete config.outlet
- console.... | Fixes context and navigation problems inside hooks. | mobx-little-router_mobx-little-router | train |
e309706362511ad9e947c5e0e5191e2810a6f8be | diff --git a/lol_scraper/match_downloader.py b/lol_scraper/match_downloader.py
index <HASH>..<HASH> 100644
--- a/lol_scraper/match_downloader.py
+++ b/lol_scraper/match_downloader.py
@@ -191,7 +191,11 @@ def download_matches(match_downloaded_callback, end_of_time_slice_callback, conf
sleep(10)
... | Added log to suggest which match could have caused the exception | MakersF_LoLScraper | train |
cbb62f9713b7cd65e99c5c791bc2c1befa4c4bbc | diff --git a/admin/controllers/Groups.php b/admin/controllers/Groups.php
index <HASH>..<HASH> 100644
--- a/admin/controllers/Groups.php
+++ b/admin/controllers/Groups.php
@@ -13,6 +13,7 @@
namespace Nails\Admin\Auth;
use Nails\Admin\Controller\DefaultController;
+use Nails\Common\Exception\ValidationException;
use... | Brings admin/Groups in line with changes to Defaultcontroller | nails_module-auth | train |
a49a29587c1350af3ed69ac6264a24c4aa5859e6 | diff --git a/spec/router_spec.rb b/spec/router_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/router_spec.rb
+++ b/spec/router_spec.rb
@@ -59,7 +59,7 @@ module Jimson
namespace 'foo', RouterBarHandler.new
end
- router.jimson_methods.should == ['hi', 'foo.bye']
+ router.jimson_methods... | fix minor spec issue for ruby <I> | chriskite_jimson | train |
029c0a3ee9ed4723c203915b75f08d9fa40f38f4 | diff --git a/src/js/remote.js b/src/js/remote.js
index <HASH>..<HASH> 100644
--- a/src/js/remote.js
+++ b/src/js/remote.js
@@ -698,11 +698,11 @@ Remote.prototype.request_transaction_entry = function (hash) {
.tx_hash(hash);
};
-Remote.prototype.request_ripple_lines_get = function (accountID, index) {
+Remote.pr... | add account_offers and refactor | ChainSQL_chainsql-lib | train |
3d2b2eb460a5bf3b25e72a3454889b130b38388d | diff --git a/src/main/java/org/camunda/bpm/engine/test/needle/supplier/CamundaInstancesSupplier.java b/src/main/java/org/camunda/bpm/engine/test/needle/supplier/CamundaInstancesSupplier.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/camunda/bpm/engine/test/needle/supplier/CamundaInstancesSupplier.java
+++ b/s... | add functionality: needle now injects processEngineConfiguration | camunda_camunda-bpm-needle | train |
b8e2147da60016080c175fbea580adaee8acdeb5 | diff --git a/gwpy/timeseries/timeseries.py b/gwpy/timeseries/timeseries.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/timeseries.py
+++ b/gwpy/timeseries/timeseries.py
@@ -1390,7 +1390,7 @@ class TimeSeries(TimeSeriesBase):
>>> import numpy
>>> from gwpy.timeseries import TimeSeries
- ... | Typo in previous commit: np should be numpy | gwpy_gwpy | train |
b886049a8fa4c84d5c53222bdc24118c433593a1 | diff --git a/src/Dispatcher.php b/src/Dispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Dispatcher.php
+++ b/src/Dispatcher.php
@@ -108,6 +108,8 @@ class Dispatcher
* @param \SlaxWeb\Router\Reponse $response Response object
* @param mixed $unknown Any further parameter is sent to Route action
* @re... | refactor obtain Route object logic
The logic is now more aggregated, and easier to extend. | SlaxWeb_Router | train |
116442d040a95d92575a912a599359ac65fd4901 | diff --git a/demo/src/screens/componentScreens/InputsScreen.js b/demo/src/screens/componentScreens/InputsScreen.js
index <HASH>..<HASH> 100644
--- a/demo/src/screens/componentScreens/InputsScreen.js
+++ b/demo/src/screens/componentScreens/InputsScreen.js
@@ -4,6 +4,17 @@ import {Assets, Constants, Button, Colors, Text,... | add transformer to TextInput allowing to apply all kind of transformations on the text input value | wix_react-native-ui-lib | train |
a909703bcde00f976a360b2a6947de254b731bfd | diff --git a/src/test/java/org/cactoos/io/TeeOutputTest.java b/src/test/java/org/cactoos/io/TeeOutputTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/cactoos/io/TeeOutputTest.java
+++ b/src/test/java/org/cactoos/io/TeeOutputTest.java
@@ -41,26 +41,15 @@ import org.junit.Test;
*/
public final class TeeOu... | #<I> removed shared content across tests | yegor256_cactoos | train |
c595bdd88a5030d6f595c79479bb7f208c81fcc1 | diff --git a/test/require/empty.js b/test/require/empty.js
index <HASH>..<HASH> 100644
--- a/test/require/empty.js
+++ b/test/require/empty.js
@@ -1 +1,4 @@
-// Nothing
+// Nothing particular
+"use strict";
+
+gpf.context().test.empty = true; | Updates a flag to ensure loading and execution (#<I>) | ArnaudBuchholz_gpf-js | train |
1f0726b53cfc9d3e198d987fd2ff425bd7a9f399 | diff --git a/pgv_to_wt.php b/pgv_to_wt.php
index <HASH>..<HASH> 100644
--- a/pgv_to_wt.php
+++ b/pgv_to_wt.php
@@ -117,19 +117,9 @@ if ($error || empty($PGV_PATH)) {
if ($error) {
echo '<p class="bad">', $error, '</p>';
}
- echo
- '<form action="', WT_SCRIPT_NAME, '" method="post">',
- '<p>', i18n::translate('... | PGV wizard - search for possible existing PGV installations (slightly better layout) | fisharebest_webtrees | train |
91f9fd38fd0aa968d79124ce5eae432987a6308f | diff --git a/tests/unit/modules/test_dockermod.py b/tests/unit/modules/test_dockermod.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_dockermod.py
+++ b/tests/unit/modules/test_dockermod.py
@@ -45,11 +45,8 @@ class DockerTestCase(TestCase, LoaderModuleMockMixin):
def setup_loader_modules(self):
... | Fix loader whitelists in unit tests
This resolves failed lazydict lookups in the tests due to improperly-set
whitelists. | saltstack_salt | train |
5f16783d3d52e8f200e5876134a5a80ae2da0da3 | diff --git a/screengrab/lib/screengrab/runner.rb b/screengrab/lib/screengrab/runner.rb
index <HASH>..<HASH> 100644
--- a/screengrab/lib/screengrab/runner.rb
+++ b/screengrab/lib/screengrab/runner.rb
@@ -187,16 +187,14 @@ module Screengrab
def uninstall_apks(device_serial, app_package_name, tests_package_name)
... | Fix screengrab to doesn’t exit if the app could not be uninstalled (#<I>) | fastlane_fastlane | train |
42de6fc05b94d043f2c0dd483cd3fb8e2a7f5b13 | diff --git a/lib/carto/external.js b/lib/carto/external.js
index <HASH>..<HASH> 100644
--- a/lib/carto/external.js
+++ b/lib/carto/external.js
@@ -167,7 +167,9 @@ External.mkdirp = function mkdirP(p, mode, f) {
External.types = [
//for datafile: function(d, c) - d is an External object, c is a function taking (er... | Treat non-extension paths as directories. | mapbox_carto | train |
841f4f73cf92f9a44ae272dc3408b20ef9ee0795 | diff --git a/breacharbiter_test.go b/breacharbiter_test.go
index <HASH>..<HASH> 100644
--- a/breacharbiter_test.go
+++ b/breacharbiter_test.go
@@ -219,6 +219,12 @@ var (
0x4f, 0x2f, 0x6f, 0x25, 0x88, 0xa3, 0xef, 0xb9,
0x6a, 0x49, 0x18, 0x83, 0x31, 0x98, 0x47, 0x53,
},
+ chainHash: [chainhash.HashSize]by... | breacharbiter: update tests to add chainHash to retributionInfo in test data | lightningnetwork_lnd | train |
6ce9a94932c8cb8e2740bec961c7e2751052e3ab | diff --git a/src/js/captions.js b/src/js/captions.js
index <HASH>..<HASH> 100644
--- a/src/js/captions.js
+++ b/src/js/captions.js
@@ -128,6 +128,7 @@ const captions = {
}
},
+ // Used internally for toggleCaptions()
toggle(input) {
// If there's no full support
if (!this.suppo... | Move internal event listeners for captions with direct handling in the captions object | sampotts_plyr | train |
024980306b3c299c79123cbda2ba538b7b52e974 | diff --git a/lib/progress.rb b/lib/progress.rb
index <HASH>..<HASH> 100644
--- a/lib/progress.rb
+++ b/lib/progress.rb
@@ -229,6 +229,14 @@ class Progress
!@next_time_to_print || @next_time_to_print <= Time.now
end
+ def eta(current)
+ @eta.left(current)
+ end
+
+ def elapsed
+ @eta.ela... | extracted eta and elapsed, stubbed them in specs | toy_progress | train |
5b4cc88b05d657e01aa7ffe960473ba8c88babc4 | diff --git a/jlib-core/src/main/java/org/jlib/core/language/ExceptionMessageUtility.java b/jlib-core/src/main/java/org/jlib/core/language/ExceptionMessageUtility.java
index <HASH>..<HASH> 100644
--- a/jlib-core/src/main/java/org/jlib/core/language/ExceptionMessageUtility.java
+++ b/jlib-core/src/main/java/org/jlib/core... | ParametrizedMessage factory method created | jlib-framework_jlib-operator | train |
23c27780fd30b45a10c8a49d345b564a99ac3acf | diff --git a/gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/TransactionTest.java b/gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/TransactionTest.java
index <HASH>..<HASH> 100644
--- a/gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/TransactionTest.java
+++ b/gremlin-test/src/main/jav... | Add another transaction consistency test for multiple threads. | apache_tinkerpop | train |
b615efa2d4c779c667ca991840561d28becafc48 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@
from setuptools import setup, find_packages
-from launch_control import get_version
+from dashboard_app import get_version
setup( | Use dashboard_app for version information for setup.py | zyga_json-schema-validator | train |
622554c86710b4b5db0364d3dd94bf2842a57866 | diff --git a/lib/predictor/base.rb b/lib/predictor/base.rb
index <HASH>..<HASH> 100644
--- a/lib/predictor/base.rb
+++ b/lib/predictor/base.rb
@@ -267,6 +267,10 @@ module Predictor::Base
return self
end
+ def add_item(item)
+ Predictor.redis.sadd(redis_key(:all_items), item)
+ end
+
def delete_item!(i... | Add a helper method to add an item to the 'all_items' set | Pathgather_predictor | train |
f702155edee11ce8f74b7334e44d55865ccc7fd2 | diff --git a/src/main/java/hex/gbm/SharedTreeModelBuilder.java b/src/main/java/hex/gbm/SharedTreeModelBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hex/gbm/SharedTreeModelBuilder.java
+++ b/src/main/java/hex/gbm/SharedTreeModelBuilder.java
@@ -415,13 +415,17 @@ public abstract class SharedTreeModelBuilde... | Fix for HEX-<I> - NPE in Score.report()
Report wasn't properly handle a situation when we have
zero trees. | h2oai_h2o-2 | train |
3dbdcf3c9d15f584ceb3c9ff6319ecaba20a319f | diff --git a/django_dowser/views.py b/django_dowser/views.py
index <HASH>..<HASH> 100644
--- a/django_dowser/views.py
+++ b/django_dowser/views.py
@@ -125,6 +125,11 @@ def trace_one(typename, objid):
rows = ["<h3>The object you requested is no longer "
"of the correct type.</h3... | trace view: show repr of obj itself | munhitsu_django-dowser | train |
90d382de32da0b7e85b3fcdf029a3202a547a0d1 | diff --git a/lib/kimurai/capybara_ext/driver/base.rb b/lib/kimurai/capybara_ext/driver/base.rb
index <HASH>..<HASH> 100644
--- a/lib/kimurai/capybara_ext/driver/base.rb
+++ b/lib/kimurai/capybara_ext/driver/base.rb
@@ -1,3 +1,59 @@
+require 'pathname'
+
class Capybara::Driver::Base
attr_accessor :visited
+
+ def c... | Add current_memory feature to Capybara drivers | vifreefly_kimuraframework | train |
44ad4454716a56b05be2dc8251af0f931e637dcd | diff --git a/client/html/tests/Client/Html/Basket/Mini/Main/DefaultTest.php b/client/html/tests/Client/Html/Basket/Mini/Main/DefaultTest.php
index <HASH>..<HASH> 100644
--- a/client/html/tests/Client/Html/Basket/Mini/Main/DefaultTest.php
+++ b/client/html/tests/Client/Html/Basket/Mini/Main/DefaultTest.php
@@ -93,7 +93,... | Fixes test for small basket output after fixing the calculated value | Arcavias_arcavias-core | train |
bb54697b1b3304590061c5a9722989deda4f18fb | diff --git a/lib/filelib.php b/lib/filelib.php
index <HASH>..<HASH> 100644
--- a/lib/filelib.php
+++ b/lib/filelib.php
@@ -1203,11 +1203,11 @@ function mimeinfo($element, $filename) {
} else {
$filename = 'unknown';
}
- $filename .= '-32.png';
- ... | "MDL-<I>, fixed icons" | moodle_moodle | train |
df35d6793c93e77c6e7b21a3b7c3e41dc494f1a2 | diff --git a/charmhelpers/contrib/openstack/templating.py b/charmhelpers/contrib/openstack/templating.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/openstack/templating.py
+++ b/charmhelpers/contrib/openstack/templating.py
@@ -229,7 +229,14 @@ class OSConfigRenderer(object):
# using a munged fu... | Better logging when template is not found. | juju_charm-helpers | train |
fa4329659759eadeef83b7c70b6dc64a07654c76 | diff --git a/lib/access_control_config.py b/lib/access_control_config.py
index <HASH>..<HASH> 100644
--- a/lib/access_control_config.py
+++ b/lib/access_control_config.py
@@ -191,7 +191,8 @@ DEF_ACTIONS = (
('viewholdings', 'view holdings', 'collection', 'yes'),
('viewstatistics', 'view ... | BibUpload: new batchuploader facility
* Added web interface for cataloguers to upload metadata
files.
* Added web interface for cataloguers to upload documents.
* Added web interface upload history for metadata files
and documents.
* Added robot web interface to upload marc files.
* Added batchuploader daemon ... | inveniosoftware_invenio-access | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.