hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
b3c6f13c2a306688544b97f3341f2d2f5585abae
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -28,12 +28,20 @@ def read_version(filename): f.read().decode('utf-8')).group(1))) +def get_long_description(): + try: + import pypandoc + long_description = pypando...
setup: do not depend on setuptools-markdown Despite the convenience of setuptools-markdown, it (or pypandoc) appears to be causing issues for some poeple. Instead, we just fall back on reading the README directly for long_description (which mostly matters for displaying on pypi). This should address #<I>
posborne_cmsis-svd
train
py
d3e521f5c83273d01a6d2065c8cb275db541db4f
diff --git a/validation.js b/validation.js index <HASH>..<HASH> 100644 --- a/validation.js +++ b/validation.js @@ -1828,7 +1828,11 @@ function initPrivatePaymentValidationState(conn, unit, message_index, payload, o var objPartialUnit = {unit: unit}; storage.readUnitAuthors(conn, unit, function(arrAuthors){ ...
add parent_units to partial unit in order to handle doublespends
byteball_ocore
train
js
9fe1b012a8a3b774e8171da28b7654ac2d4df759
diff --git a/sacred/observers/file_storage.py b/sacred/observers/file_storage.py index <HASH>..<HASH> 100644 --- a/sacred/observers/file_storage.py +++ b/sacred/observers/file_storage.py @@ -216,7 +216,8 @@ class FileStorageObserver(RunObserver): """ try: metrics_path = os.path.join(self....
Fix ResourceWarning: Unclosed file
IDSIA_sacred
train
py
663ff2cdc86d52b47994bd99608c1fed62d0cf0f
diff --git a/examples/save_private_keys.py b/examples/save_private_keys.py index <HASH>..<HASH> 100644 --- a/examples/save_private_keys.py +++ b/examples/save_private_keys.py @@ -35,7 +35,7 @@ signer = SigningKey(salt, password)\ # check public key if signer.pubkey != pubkey: print("Bad credentials !") - exit...
Exit with error code 1 in case of bad credentials
duniter_duniter-python-api
train
py
075d92f025e75441481ec90ea5edb5117ce6f1e4
diff --git a/area4/__init__.py b/area4/__init__.py index <HASH>..<HASH> 100644 --- a/area4/__init__.py +++ b/area4/__init__.py @@ -20,6 +20,7 @@ divider10 = str(",,,,,,,,,,,,,,,,,,,,,,,,") divider11 = str("////////////////////////") divider12 = str("||||||||||||||||||||||||") divider13 = str("~~~~~~~~~~~~~~~~~~~~~~~...
Added backslash dividers
area4lib_area4
train
py
db35a8eb219c2361ec3e7ba26a7c2320ee84fcec
diff --git a/test/html_output.js b/test/html_output.js index <HASH>..<HASH> 100644 --- a/test/html_output.js +++ b/test/html_output.js @@ -13,6 +13,6 @@ describe("HtmlOutput", function() { var r = new HtmlOutput(t.state); t.write("\x1b[31mHello\x1b[m World"); - expect(r.toString()).to.contain("<span style='col...
output/html: fix tests for new behavior
Gottox_terminal.js
train
js
ddea3e56d339861e1357687c4e84e9250f4b80bd
diff --git a/pygtkhelpers/test.py b/pygtkhelpers/test.py index <HASH>..<HASH> 100644 --- a/pygtkhelpers/test.py +++ b/pygtkhelpers/test.py @@ -3,7 +3,7 @@ class CheckCalled(object): def __init__(self, object, signal): self.called = None - def call(*k): - self.called = k + object...
enhance the CheckCalled test helper
sci-bots_pygtkhelpers
train
py
116a9349f1b4390924f149c0de90d3ba6aabdca5
diff --git a/tests/Service/ProducerManagerTest.php b/tests/Service/ProducerManagerTest.php index <HASH>..<HASH> 100644 --- a/tests/Service/ProducerManagerTest.php +++ b/tests/Service/ProducerManagerTest.php @@ -37,7 +37,7 @@ class ProducerManagerTest extends BeanstalkTestCase $producer = new DummyRepeatProduce...
Increase loop stop time in ProducerManagerTest
webgriffe_esb
train
php
a6d843e264157603e8f355e112e059f299cb282d
diff --git a/cookiecutter/prompt.py b/cookiecutter/prompt.py index <HASH>..<HASH> 100755 --- a/cookiecutter/prompt.py +++ b/cookiecutter/prompt.py @@ -26,6 +26,10 @@ def prompt_for_config(context, no_input=False): env = Environment() for key, raw in iteritems(context['cookiecutter']): + if key.starts...
Get private var feature from original PRs
audreyr_cookiecutter
train
py
1e993ec2bb414e620e0f3da02ad0ebae7275b403
diff --git a/framework/validators/CRequiredValidator.php b/framework/validators/CRequiredValidator.php index <HASH>..<HASH> 100644 --- a/framework/validators/CRequiredValidator.php +++ b/framework/validators/CRequiredValidator.php @@ -41,9 +41,9 @@ class CRequiredValidator extends CValidator */ public $strict=fals...
better doc for CRequiredValidator::$trim pr #<I>
yiisoft_yii
train
php
019f782d2ebcb0cc7b97ee17a6abe44179a14d39
diff --git a/code/model/UserDefinedForm.php b/code/model/UserDefinedForm.php index <HASH>..<HASH> 100755 --- a/code/model/UserDefinedForm.php +++ b/code/model/UserDefinedForm.php @@ -975,6 +975,10 @@ class UserDefinedForm_EmailRecipient extends DataObject { return $fields; } + public function canView($member = ...
Added "canView" permission to EmailRecipient. Fixes an issue with non-admin rights in SS3
silverstripe_silverstripe-userforms
train
php
b1b24249802dbe8359f091e4cc0ac3f093994259
diff --git a/Cake/Test/TestCase/Utility/CollectionTest.php b/Cake/Test/TestCase/Utility/CollectionTest.php index <HASH>..<HASH> 100644 --- a/Cake/Test/TestCase/Utility/CollectionTest.php +++ b/Cake/Test/TestCase/Utility/CollectionTest.php @@ -474,4 +474,27 @@ class CollectionTest extends TestCase { $this->assertCon...
Adding tests for the two new methods in Collection
cakephp_cakephp
train
php
36dbf2656fbf073afa842e076f8915afd95b71fc
diff --git a/src/Gambit/SubscriptionGambit.php b/src/Gambit/SubscriptionGambit.php index <HASH>..<HASH> 100644 --- a/src/Gambit/SubscriptionGambit.php +++ b/src/Gambit/SubscriptionGambit.php @@ -26,14 +26,12 @@ class SubscriptionGambit extends AbstractRegexGambit { $actor = $search->getActor(); - ...
Replaced whereExists/whereNotExists with whereIn/whereNotIn (#<I>)
flarum_subscriptions
train
php
cdab704a366e4c36e43e09882ff34169bd8a8390
diff --git a/plenum/server/plugin/stats_consumer/stats_publisher.py b/plenum/server/plugin/stats_consumer/stats_publisher.py index <HASH>..<HASH> 100644 --- a/plenum/server/plugin/stats_consumer/stats_publisher.py +++ b/plenum/server/plugin/stats_consumer/stats_publisher.py @@ -25,9 +25,11 @@ class StatsPublisher: ...
Fixed Bug: Monitor does not reconnect to tcp port
hyperledger_indy-plenum
train
py
b9032682e1d6cd92430d23796af56696fe2c95af
diff --git a/src/Execution/Strategy/AbstractExecutionStrategy.php b/src/Execution/Strategy/AbstractExecutionStrategy.php index <HASH>..<HASH> 100644 --- a/src/Execution/Strategy/AbstractExecutionStrategy.php +++ b/src/Execution/Strategy/AbstractExecutionStrategy.php @@ -243,8 +243,7 @@ abstract class AbstractExecutionS...
Use variable functions instead of call_user_func() Supposed to be faster
digiaonline_graphql-php
train
php
f6acee8feb5afd6486a4c09675b6645084f26f2c
diff --git a/mgmt/rest/rbody/task.go b/mgmt/rest/rbody/task.go index <HASH>..<HASH> 100644 --- a/mgmt/rest/rbody/task.go +++ b/mgmt/rest/rbody/task.go @@ -250,10 +250,11 @@ func (s *StreamedTaskEvent) ToJSON() string { } type StreamedMetric struct { - Namespace string `json:"namespace"` - Data interface{}...
rest: add tags to task watch events
intelsdi-x_snap
train
go,go
1c2ac54826493e3f4765833f627dd7560f9a5069
diff --git a/src/directives/formly-field.js b/src/directives/formly-field.js index <HASH>..<HASH> 100644 --- a/src/directives/formly-field.js +++ b/src/directives/formly-field.js @@ -69,7 +69,7 @@ function formlyField($http, $q, $compile, $templateCache, $interpolate, formlyCo setter(field, value); ...
perf(expressionProperties): 🌟 Don't fire digest for every runExpressions call Because we're using to assign the value, this will run in which means only one digest for all the that are running 😀 closes #<I>
formly-js_angular-formly
train
js
d468183eddb26b46d6f0da852f25d743f19913f6
diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/r4/JpaConformanceProviderR4.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/r4/JpaConformanceProviderR4.java index <HASH>..<HASH> 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/r4/JpaConform...
Validate theSearchParamRegistry is not null (#<I>)
jamesagnew_hapi-fhir
train
java
deabb7dd1953a27fa48532d5beb509829651e100
diff --git a/salt/states/user.py b/salt/states/user.py index <HASH>..<HASH> 100644 --- a/salt/states/user.py +++ b/salt/states/user.py @@ -70,7 +70,7 @@ def _changes(name, lusr['groups'].remove( __salt__['file.gid_to_group'](gid or lusr['gid']) ) - if name in lusr['groups']: + if na...
Refine default group checking We don't want to just ignore the default group -- we just don't want to try to remove it if it's in the user's group list and not in the state's group list
saltstack_salt
train
py
1c238f1f4242d94633ef47fb2422565eac26070c
diff --git a/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/endpoint/HelloWorldImpl.java b/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/endpoint/HelloWorldImpl.java index <HASH>..<HASH> 100644 --- a/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/end...
provide default constructor as required by JAXWS spec
jbossws_jbossws-cxf
train
java
c9bf2689c4c64eac2d7d9f469adf9173691df53d
diff --git a/lib/jekyll/airtable_fetcher.rb b/lib/jekyll/airtable_fetcher.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/airtable_fetcher.rb +++ b/lib/jekyll/airtable_fetcher.rb @@ -61,7 +61,7 @@ module Jekyll end end - write_attachments_data_file + write_attachments_data_file if @attachmen...
Change the convention for the slug to use dash instead of underscore
galliani_jekyll-airtable
train
rb
86f6023fb4c5a3d42471de516608f83ed8d863f4
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -60,8 +60,8 @@ export function createRoutine (prefix, enhancer = identity) { return enhancer(createAction(routine.FULFILL, payload, ...args)) } } - function call (payload, enhancer = identity) {...
Make routine call synonym of the trigger action - this change unifies the API
svagi_redux-routines
train
js,js
826caa74b4b80dcdefdb5906c99330efab22ec44
diff --git a/pyramid_authsanity/__init__.py b/pyramid_authsanity/__init__.py index <HASH>..<HASH> 100644 --- a/pyramid_authsanity/__init__.py +++ b/pyramid_authsanity/__init__.py @@ -1,12 +1,8 @@ import logging log = logging.getLogger(__name__) -import string -import hashlib - -from os import urandom - -from zope.i...
Instead of hexdigest from sha<I> use base<I> stripped
usingnamespace_pyramid_authsanity
train
py
4010246399935ee68794c070cf33a4dff7777570
diff --git a/lib/TdmConnection.js b/lib/TdmConnection.js index <HASH>..<HASH> 100644 --- a/lib/TdmConnection.js +++ b/lib/TdmConnection.js @@ -122,7 +122,7 @@ TdmConnection.prototype.usingTransaction = function * (isolationLevel, name, sco } else { - ctx = scope; + ctx = name; scope = isolationLevel; ...
whoops, use name var instead of scope for ctx
bretcope_tedium
train
js
f1f7d665749b9ff7afd382c86471cbf74fe34213
diff --git a/acceptance/lib/puppet/acceptance/temp_file_utils.rb b/acceptance/lib/puppet/acceptance/temp_file_utils.rb index <HASH>..<HASH> 100644 --- a/acceptance/lib/puppet/acceptance/temp_file_utils.rb +++ b/acceptance/lib/puppet/acceptance/temp_file_utils.rb @@ -13,7 +13,7 @@ module Puppet # * :owner (defaul...
(Maint) Allow creating a test file with default options Previously even an empty hash of options needed to be specified, this allows it to be left off to get the defaults.
puppetlabs_puppet
train
rb
bdd26561dea82fe76bb899044e7c89241eccad7c
diff --git a/angr/analyses/veritesting.py b/angr/analyses/veritesting.py index <HASH>..<HASH> 100644 --- a/angr/analyses/veritesting.py +++ b/angr/analyses/veritesting.py @@ -82,6 +82,7 @@ class CallTracingFilter(object): if jumpkind.startswith('Ijk_Sys'): call_target_state.scratch.jumpkind = jump...
step path in tracing filter before accessing next run
angr_angr
train
py
9343495fda70e58083cf9deb3aa2703d438daf0b
diff --git a/lib/rack/raw_upload.rb b/lib/rack/raw_upload.rb index <HASH>..<HASH> 100644 --- a/lib/rack/raw_upload.rb +++ b/lib/rack/raw_upload.rb @@ -25,7 +25,8 @@ module Rack def convert_and_pass_on(env) tempfile = Tempfile.new('raw-upload.') tempfile << env['rack.input'].read - tempfile.close...
Should not require to explicitly open the received tempfile
New-Bamboo_rack-raw-upload
train
rb,rb
c6c67ce609903765e0a4807b4cd556b6f895f75e
diff --git a/src/Mustache/Compiler.php b/src/Mustache/Compiler.php index <HASH>..<HASH> 100644 --- a/src/Mustache/Compiler.php +++ b/src/Mustache/Compiler.php @@ -106,7 +106,7 @@ class Mustache_Compiler $node[Mustache_Tokenizer::NAME], isset($node[Mustache_Tokenizer::IN...
referencing nodes by class constant rather than string literal
bobthecow_mustache.php
train
php
1fe4f480371e987abf7cacca5f81ed1dfe6fe536
diff --git a/content-page.php b/content-page.php index <HASH>..<HASH> 100644 --- a/content-page.php +++ b/content-page.php @@ -14,7 +14,7 @@ </header><!-- .entry-header --> - <?php echo get_the_post_thumbnail( $post_id, 'large' ); ?> + <?php echo get_the_post_thumbnail( $post, 'large' ); ?> <div c...
change from post_id to post
understrap_understrap
train
php,php
0aaacd0a63e2f420a6aa3f4beced11e215f378ba
diff --git a/controllers/controllerhelpers/playerHelpers.go b/controllers/controllerhelpers/playerHelpers.go index <HASH>..<HASH> 100644 --- a/controllers/controllerhelpers/playerHelpers.go +++ b/controllers/controllerhelpers/playerHelpers.go @@ -17,16 +17,11 @@ var BanTypeMap = map[string]models.PlayerBanType{ func...
Fix sending updates more than once on player joining lobby
TF2Stadium_Helen
train
go
761cb686b150fd901aa24612432faad66d822ba2
diff --git a/trading_calendars/exchange_calendar_tse.py b/trading_calendars/exchange_calendar_tse.py index <HASH>..<HASH> 100644 --- a/trading_calendars/exchange_calendar_tse.py +++ b/trading_calendars/exchange_calendar_tse.py @@ -71,7 +71,7 @@ class TSEExchangeCalendar(TradingCalendar): @property def tz(se...
MAINT: use Asia/Tokyo for tz for Tokyo Stock Exchange
quantopian_trading_calendars
train
py
808dd39ff736c1e4b3c7a8bae4294393260d62d9
diff --git a/test/oopsy.spec.js b/test/oopsy.spec.js index <HASH>..<HASH> 100644 --- a/test/oopsy.spec.js +++ b/test/oopsy.spec.js @@ -22,6 +22,7 @@ 'use strict' +var EventEmitter = require('events').EventEmitter var expect = require('chai').expect var Oopsy = require('../lib/oopsy') @@ -101,6 +102,23 @@ descr...
added test for semi-inheritance of existing classes
NotNinja_nevis
train
js
f79f6476ecde24d1ba2237b1af7e2acbb1981650
diff --git a/gandi/cli/core/utils/__init__.py b/gandi/cli/core/utils/__init__.py index <HASH>..<HASH> 100644 --- a/gandi/cli/core/utils/__init__.py +++ b/gandi/cli/core/utils/__init__.py @@ -110,7 +110,7 @@ def output_metric(gandi, metrics, key, justify=10): key_name = metric[key].pop() values = [poin...
Encode spark output to utf-8
Gandi_gandi.cli
train
py
642b335f0e267f35bcc333baf80368f3866211e3
diff --git a/packages/cbor/test/encoder.ava.js b/packages/cbor/test/encoder.ava.js index <HASH>..<HASH> 100644 --- a/packages/cbor/test/encoder.ava.js +++ b/packages/cbor/test/encoder.ava.js @@ -404,7 +404,7 @@ test('no bignumber', async t => { }) }) -test.only('Buffers', t => { +test('Buffers', t => { // sani...
Left a .only in the tests. Will try to add that to lint rules.
hildjj_node-cbor
train
js
e42c74e475355bdf647312460ded86f2c15ed629
diff --git a/threaded/__init__.py b/threaded/__init__.py index <HASH>..<HASH> 100644 --- a/threaded/__init__.py +++ b/threaded/__init__.py @@ -66,7 +66,7 @@ if GThreadPooled is not None: # pragma: no cover 'gthreadpooled' ) -__version__ = '1.0.0' +__version__ = '1.0.1' __author__ = "Alexey Stepanov" ...
Technical bump to <I> (#8) Minor changes, but useful for the end users: PEP<I>, example how to deal with Python<I> until new gevent, pyi
python-useful-helpers_threaded
train
py
492eb3d505310befc13d8da237dcb44e4d13462b
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ def readme(): setup( name='btlewrap', - version='0.0.4', + version='0.0.5-dev', description='wrapper around different bluetooth low energy backends', url='https://github.com/ChristianKueh...
incremented version number to <I>-dev
ChristianKuehnel_btlewrap
train
py
fb7cf0d5ca5d5025db8e4ba5f361e322f7ee0cf4
diff --git a/src/Local/LocalProject.php b/src/Local/LocalProject.php index <HASH>..<HASH> 100644 --- a/src/Local/LocalProject.php +++ b/src/Local/LocalProject.php @@ -17,7 +17,7 @@ class LocalProject */ protected function getProjectId($gitUrl) { - if (!preg_match('/^([a-z0-9]{12,})@git\.([a-z\-]+...
Fix Git domain check for regions without a subdomain
platformsh_platformsh-cli
train
php
fdec942a94873a21a21e2eeb83121186241b9c80
diff --git a/src/Repositories/RedisJobRepository.php b/src/Repositories/RedisJobRepository.php index <HASH>..<HASH> 100644 --- a/src/Repositories/RedisJobRepository.php +++ b/src/Repositories/RedisJobRepository.php @@ -151,7 +151,7 @@ class RedisJobRepository implements JobRepository } /** - * Get a chu...
Update RedisJobRepository.php Update docblock to match method name
laravel_horizon
train
php
fdb64f6f25a2f81483169504b155d5a4bd9b3fab
diff --git a/builder/vmware/common/step_shutdown_test.go b/builder/vmware/common/step_shutdown_test.go index <HASH>..<HASH> 100644 --- a/builder/vmware/common/step_shutdown_test.go +++ b/builder/vmware/common/step_shutdown_test.go @@ -127,7 +127,7 @@ func TestStepShutdown_locks(t *testing.T) { lockPath := filepath.Jo...
builder/vmware/common: fix missing format argument for Fatalf call in test Fixes the following vet report: builder/vmware/common/step_shutdown_test.go:<I>: missing argument for Fatalf("%s"): format reads arg 1, have only 0 args
hashicorp_packer
train
go
72fc8477fc10bcbb4848ad36cb29df49c945fdf3
diff --git a/client/me/concierge/shared/appointment-info.js b/client/me/concierge/shared/appointment-info.js index <HASH>..<HASH> 100644 --- a/client/me/concierge/shared/appointment-info.js +++ b/client/me/concierge/shared/appointment-info.js @@ -98,18 +98,22 @@ class AppointmentInfo extends Component { <> ...
Wrap strings in translate() (#<I>)
Automattic_wp-calypso
train
js
2810e423c9bcb777675814d9c0e1660c31d20c55
diff --git a/ambry/bundle/files.py b/ambry/bundle/files.py index <HASH>..<HASH> 100644 --- a/ambry/bundle/files.py +++ b/ambry/bundle/files.py @@ -603,8 +603,8 @@ class SchemaFile(RowBuildSourceFile): # Transpose trick to remove empty columns if rows: rows_before_transpose = len(rows) - ...
Code broken by 2to3 fixed. #<I>.
CivicSpleen_ambry
train
py
abf5b7f8f002f594c56aae46d89984f9d294c21c
diff --git a/lib/mongo/db.rb b/lib/mongo/db.rb index <HASH>..<HASH> 100644 --- a/lib/mongo/db.rb +++ b/lib/mongo/db.rb @@ -51,7 +51,7 @@ module XGen attr_reader :host, :port - # The database's socket. For internal use only. + # The database's socket. For internal (and Cursor) use only. ...
Comment. Removed unneeded require.
mongodb_mongo-ruby-driver
train
rb,rb
3fd7ae107387233ed82b5a38a9f8d52f0926fce8
diff --git a/generated.go b/generated.go index <HASH>..<HASH> 100644 --- a/generated.go +++ b/generated.go @@ -2,7 +2,7 @@ // // Update it by running: go generate // -// Generated at: 2015-12-04 12:04:59 +0000 +// Generated at: 2015-12-29 10:51:13 +0000 package emojilib @@ -230,7 +230,7 @@ var emojis = Emojis{ ...
Added colors keyword to the art emoji
peterhellberg_emojilib
train
go
762053436231cd105baf465f41ddb04a22442b1b
diff --git a/PyOpenGraph/PyOpenGraph.py b/PyOpenGraph/PyOpenGraph.py index <HASH>..<HASH> 100644 --- a/PyOpenGraph/PyOpenGraph.py +++ b/PyOpenGraph/PyOpenGraph.py @@ -22,7 +22,10 @@ import rdfadict -OPENGRAPH_NS = "http://opengraphprotocol.org/schema/" +OPENGRAPH_NAMESPACES = [ + "http://opengraphprotocol.org/sch...
added support for ogp namespace
minichiello_PyOpenGraph
train
py
15bff5a86e916ee250f800b7c67d79fed9d5757b
diff --git a/activesupport/lib/active_support/testing/performance/ruby/mri.rb b/activesupport/lib/active_support/testing/performance/ruby/mri.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/testing/performance/ruby/mri.rb +++ b/activesupport/lib/active_support/testing/performance/ruby/mri.rb @@ -8...
fix a bug where the GC wasn't being triggered at the start of the MRI benchmarks
rails_rails
train
rb
db43efdb2e809043f81d6758ce541ead91d06314
diff --git a/algorithms/dp/fib.py b/algorithms/dp/fib.py index <HASH>..<HASH> 100644 --- a/algorithms/dp/fib.py +++ b/algorithms/dp/fib.py @@ -1,3 +1,17 @@ +''' +In mathematics, the Fibonacci numbers, commonly denoted Fn, form a sequence, called the Fibonacci sequence, +such that each number is the sum of the two prec...
Added Fibonacci Description (#<I>) Added the basic description of Fibonacci Numbers and the main aim of the functions.
keon_algorithms
train
py
23a78b8585bdcecaa323f1dd1acdc548e28892fe
diff --git a/src/MessageSentReport.php b/src/MessageSentReport.php index <HASH>..<HASH> 100644 --- a/src/MessageSentReport.php +++ b/src/MessageSentReport.php @@ -166,10 +166,9 @@ class MessageSentReport implements \JsonSerializable } /** - * @return array|mixed + * @return array */ - #[\Re...
More precise typing on PHP <I> (#<I>) * Add #[\ReturnTypeWillChange] attribute for PHP <I> compatibility. * Update tab to space. * A different approach that works across all version.
web-push-libs_web-push-php
train
php
ddeabd76c4277c35d1e583d1a2034ba2c047d128
diff --git a/spacy/__init__.py b/spacy/__init__.py index <HASH>..<HASH> 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -25,7 +25,9 @@ def load(name, **overrides): path = util.match_best_version(target_name, target_version, path) if isinstance(overrides.get('vectors'), basestring): - vector...
Fix mistake loading GloVe vectors. GloVe vectors now loaded by default if present, as promised.
explosion_spaCy
train
py
90b9467a2324613dbd6d633a90e4bc21f7572a33
diff --git a/app/assets/javascripts/kmz_compressor/map_layer_manager.js b/app/assets/javascripts/kmz_compressor/map_layer_manager.js index <HASH>..<HASH> 100644 --- a/app/assets/javascripts/kmz_compressor/map_layer_manager.js +++ b/app/assets/javascripts/kmz_compressor/map_layer_manager.js @@ -288,7 +288,7 @@ window.Ma...
Don't add colon if there is no port.
culturecode_kmz_compressor
train
js,rb
c4ed1235ebfdcec54a7a2946c461410de60f61e2
diff --git a/src/featherlight.gallery.js b/src/featherlight.gallery.js index <HASH>..<HASH> 100644 --- a/src/featherlight.gallery.js +++ b/src/featherlight.gallery.js @@ -134,6 +134,7 @@ $inner = self.$instance.find('.' + self.namespace + '-inner'); index = ((index % len) + len) % len; /* pin index to [0, len[...
Gallery: add another loading class for when navigating between images (#<I>) * Gallery: use loading class for when navigating between images
noelboss_featherlight
train
js
ed382b469769db1e312cfa558f2335b13816424e
diff --git a/Collection.php b/Collection.php index <HASH>..<HASH> 100755 --- a/Collection.php +++ b/Collection.php @@ -86,7 +86,7 @@ class Collection implements ArrayAccess, Arrayable, Countable, IteratorAggregate } /** - * Diff the collection with the given items. + * Get the items in the collection t...
Clarify documentation of Collection diff method The documentation was previously not clear about whether diff computes the symmetric or asymmetric difference.
illuminate_support
train
php
1af848daa6dfe2ec34c83480ec9b7682dcb0a2e2
diff --git a/ash-java/src/main/java/org/eiichiro/ash/Shell.java b/ash-java/src/main/java/org/eiichiro/ash/Shell.java index <HASH>..<HASH> 100644 --- a/ash-java/src/main/java/org/eiichiro/ash/Shell.java +++ b/ash-java/src/main/java/org/eiichiro/ash/Shell.java @@ -200,6 +200,10 @@ public class Shell { repl.set(false);...
Add started() method to indicate if REPL is started
eiichiro_ash
train
java
b70f88e8333cbe79c503819ea71170b703d162f9
diff --git a/microraiden/microraiden/client/default_http_client.py b/microraiden/microraiden/client/default_http_client.py index <HASH>..<HASH> 100644 --- a/microraiden/microraiden/client/default_http_client.py +++ b/microraiden/microraiden/client/default_http_client.py @@ -125,3 +125,12 @@ class DefaultHTTPClient(HTTP...
client retry wait on server error
raiden-network_microraiden
train
py,py
014fb3e001b646662bdb87cd18b0b980d4d05500
diff --git a/pyqode/core/widgets/splittable_tab_widget.py b/pyqode/core/widgets/splittable_tab_widget.py index <HASH>..<HASH> 100644 --- a/pyqode/core/widgets/splittable_tab_widget.py +++ b/pyqode/core/widgets/splittable_tab_widget.py @@ -526,7 +526,7 @@ class SplittableTabWidget(QtWidgets.QSplitter): self...
TabWidget popup: fix potential runtime error Problem occur in a private project because qApp.activeWindow is not the editor window but a home window that get destroyed as soon as the editor window has been initialized :Oo
pyQode_pyqode.core
train
py
9ed29205c4cf98282ac048b1c4a6b48f468189ae
diff --git a/torment/decorators.py b/torment/decorators.py index <HASH>..<HASH> 100644 --- a/torment/decorators.py +++ b/torment/decorators.py @@ -42,9 +42,18 @@ def log(prefix = ''): def _(function): @functools.wraps(function, assigned = functools.WRAPPER_ASSIGNMENTS + ( '__file__', )) - def wra...
extract class from arguments in log decorator This should change logging statements from method(<class …>, …) to class.method(…). * fixes #5
racker_torment
train
py
4a14b7b84ce504020661a47d8fd10f01c365da53
diff --git a/src/Core/OAuth2Provider.php b/src/Core/OAuth2Provider.php index <HASH>..<HASH> 100644 --- a/src/Core/OAuth2Provider.php +++ b/src/Core/OAuth2Provider.php @@ -85,7 +85,7 @@ abstract class OAuth2Provider extends OAuthProvider implements OAuth2Interface{ * @throws \chillerlan\OAuth\Core\ProviderException ...
:octocat: decompress response
chillerlan_php-oauth-core
train
php
19ef7a6b3a31d2f6be8237ca93d6f72d5c61c075
diff --git a/examples/js/column-filter/text-filter-programmatically.js b/examples/js/column-filter/text-filter-programmatically.js index <HASH>..<HASH> 100644 --- a/examples/js/column-filter/text-filter-programmatically.js +++ b/examples/js/column-filter/text-filter-programmatically.js @@ -20,15 +20,21 @@ addProducts(5...
use handleFilterData also work for filtering
AllenFang_react-bootstrap-table
train
js
7e7ca922517c0b93822059c8fbe7f70314fe781b
diff --git a/lib/rdl.rb b/lib/rdl.rb index <HASH>..<HASH> 100644 --- a/lib/rdl.rb +++ b/lib/rdl.rb @@ -15,7 +15,7 @@ module RDL @str = s.to_s; @pred = p end def apply(v) - (check v) ? v : (raise "Value #{v} does not match contract #{self}") + (check v) ? v : (raise "Value #{v.inspect} does no...
Add homogenous variable arity support.
plum-umd_rdl
train
rb
4c2e6f9f0df8665cf0eddde3fd7b4219d39b3842
diff --git a/ella/newman/widgets.py b/ella/newman/widgets.py index <HASH>..<HASH> 100644 --- a/ella/newman/widgets.py +++ b/ella/newman/widgets.py @@ -359,10 +359,8 @@ class ListingCustomWidget(forms.SelectMultiple): cx['verbose_name_publish_from'] = Listing._meta.get_field('publish_from').verbose_name.__unico...
reverted accident overwrite when merging
ella_ella
train
py
9a8500412b8f3e1ceccfa158fc8fa3fd1c923905
diff --git a/agent/dns.go b/agent/dns.go index <HASH>..<HASH> 100644 --- a/agent/dns.go +++ b/agent/dns.go @@ -1143,6 +1143,7 @@ func (d *DNSServer) serviceNodeRecords(dc string, nodes structs.CheckServiceNode qType := req.Question[0].Qtype handled := make(map[string]struct{}) edns := req.IsEdns0() != nil + haveC...
Only allow 1 CNAME when querying for a service. This just makes sure that if multiple services are registered with unique service addresses that we don’t blast back multiple CNAMEs for the same service DNS name and keeps us within the DNS specs.
hashicorp_consul
train
go
7ce6fcb50774cdf32201eb7eafccd2ef65b25787
diff --git a/src/howler.core.js b/src/howler.core.js index <HASH>..<HASH> 100644 --- a/src/howler.core.js +++ b/src/howler.core.js @@ -555,6 +555,9 @@ if (typeof sprite === 'number') { id = sprite; sprite = null; + } else if ( typeof sprite === 'string' && self._state === 'loaded' && !self...
Does not attempt to play a sprite id if it does not exist.
goldfire_howler.js
train
js
9d701f166c904e14c7f7d6efba6326e3070ea4e6
diff --git a/src/shapes/rectangle.js b/src/shapes/rectangle.js index <HASH>..<HASH> 100644 --- a/src/shapes/rectangle.js +++ b/src/shapes/rectangle.js @@ -32,9 +32,10 @@ /** * allow expanding and contracting the rect with a vector<br> * while keeping its original size and shape<br> - ...
documentation : fixed the `rangeV` property definition (should have been private)
melonjs_melonJS
train
js
b3aee61ce8a3b247abe25032409c760165f343ec
diff --git a/cocaine/futures/chain.py b/cocaine/futures/chain.py index <HASH>..<HASH> 100644 --- a/cocaine/futures/chain.py +++ b/cocaine/futures/chain.py @@ -100,11 +100,11 @@ class FutureCallableMock(Future): class ConcurrentWorker(object): - def __init__(self, func, ioLoop=None, *args, **kwargs): + def __...
ConcurrentWorker argument processing fixed * if concurrent worker is created via decorator, function first argument can be mistakenly interpreted as `ioLoop`. Now it fixed
cocaine_cocaine-framework-python
train
py
ece2afd48b21ff87bc3418538f170acee4f27320
diff --git a/pykube/objects.py b/pykube/objects.py index <HASH>..<HASH> 100644 --- a/pykube/objects.py +++ b/pykube/objects.py @@ -4,7 +4,7 @@ import time import jsonpatch -from urllib import urlencode +from six.moves.urllib.parse import urlencode from .exceptions import ObjectDoesNotExist from .query import Obj...
Changes import of url lib to support newer python versions.
kelproject_pykube
train
py
c60e6abe8cbb5aa87ef28e3b7340ac4f5d044980
diff --git a/exporters/__init__.py b/exporters/__init__.py index <HASH>..<HASH> 100644 --- a/exporters/__init__.py +++ b/exporters/__init__.py @@ -158,6 +158,16 @@ class DarcsExporter(_Exporter): def __init__(self): self.check_install('Darcs', '2.2', [('darcs', '--version')]) + def generate(self, sou...
fast-export-from-darcs - working but chardet usage/packaging still to be sorted out
jelmer_python-fastimport
train
py
f4f274d10ca80cd1163fd12abbf630f0bd5f4fb9
diff --git a/course/category.php b/course/category.php index <HASH>..<HASH> 100644 --- a/course/category.php +++ b/course/category.php @@ -130,8 +130,7 @@ /// Editing functions - if ($adminediting) { - + if ($creatorediting) { /// Move a specified course to a new category if (!empty($moveto) ...
MDL-<I> Applied suggested fix
moodle_moodle
train
php
00bcbb3038581ad969078acc074e81d421eebb0e
diff --git a/lib/hub/args.rb b/lib/hub/args.rb index <HASH>..<HASH> 100644 --- a/lib/hub/args.rb +++ b/lib/hub/args.rb @@ -29,7 +29,7 @@ module Hub # Boolean indicating whether an `after` callback has been set. def after? - defined?(@after) + !!defined?(@after) end end end
forgot to add coercion to my index before commiting and pushing
github_hub
train
rb
3be3a059591bc8a81c877221e8b64a3981f88b46
diff --git a/LiSE/LiSE/character.py b/LiSE/LiSE/character.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/character.py +++ b/LiSE/LiSE/character.py @@ -154,6 +154,13 @@ class AbstractCharacter(MutableMapping): def add_edges_from(self, seq, **attrs): self.add_portals_from(seq, **attrs) + def remove_por...
Put remove_portals_from, remove_edges_from on AbstractCharacter
LogicalDash_LiSE
train
py
f0e516cc43ff8a003aed837cce0f1174d24ab409
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Changelog ========= +### 0.0.8 +- Removing log4r and use Rails.logger instead (fix for isssue #1) + ### 0.0.7 - If Rails.logger exists use it, if not switch to log4r. diff --git a/lib/plane...
Removing log4r and use Rails.logger instead (fix for isssue #1)
mariozaizar_planet_express
train
md,rb,rb
9736e029f335034fcdc090753b77a20bd47da6c1
diff --git a/lib/pdf/reader/encoding.rb b/lib/pdf/reader/encoding.rb index <HASH>..<HASH> 100644 --- a/lib/pdf/reader/encoding.rb +++ b/lib/pdf/reader/encoding.rb @@ -99,7 +99,11 @@ class PDF::Reader }.map { |c| glyphnames[c] || c }.map { |c| - c ? c : PDF::Reader::Encoding::UNKNOWN_CHAR ...
converting strings to utf8: any unrecognised glyph names should become the unknown UTF8 char
yob_pdf-reader
train
rb
ae81b468454d382a8af06c7d4f988b5f62aed928
diff --git a/tasks/loop-mocha.js b/tasks/loop-mocha.js index <HASH>..<HASH> 100644 --- a/tasks/loop-mocha.js +++ b/tasks/loop-mocha.js @@ -27,7 +27,8 @@ module.exports = function (grunt) { var options = this.options(), mochaDefaultOptions = grunt.config.get("loopmocha.options.mocha"), mochaOptions = ...
fixing issue that task level loop option didnt overwrite default loop option
grawk_grunt-loop-mocha
train
js
38ad1e16e54347f310a1bcd5520a7d01f125f8d5
diff --git a/spec/type/base/host_spec.rb b/spec/type/base/host_spec.rb index <HASH>..<HASH> 100644 --- a/spec/type/base/host_spec.rb +++ b/spec/type/base/host_spec.rb @@ -34,3 +34,14 @@ describe host('example.jp') do let(:stdout) { "1.2.3.4\r\n" } its(:ipaddress) { should eq '1.2.3.4' } end + +describe host('exa...
Adding spec tests for host's :ip{4,6}_address and selinux's with_policy
mizzy_serverspec
train
rb,rb
ff94e336346996f3e6febe6f99be8ab2ebc75715
diff --git a/confidence.py b/confidence.py index <HASH>..<HASH> 100644 --- a/confidence.py +++ b/confidence.py @@ -522,26 +522,16 @@ _LOADERS = { } -# ordered sequence of name templates to load, in increasing significance -LOAD_ORDER = ( - # system-wide locations - read_xdg_config_dirs, - '/etc/{name}.{ex...
Redefine default LOAD_ORDER as system, user, application, environment
HolmesNL_confidence
train
py
840147b14c264b9019fc473874931f8c1e090f93
diff --git a/src/Mouf/Html/Template/BootstrapTemplate.php b/src/Mouf/Html/Template/BootstrapTemplate.php index <HASH>..<HASH> 100644 --- a/src/Mouf/Html/Template/BootstrapTemplate.php +++ b/src/Mouf/Html/Template/BootstrapTemplate.php @@ -135,7 +135,9 @@ class BootstrapTemplate extends BaseTemplate // Let's re...
Fix usage CLI in toHtml
thecodingmachine_html.template.bootstrap
train
php
b0fd3ddc53b475da89fe3e7c07a8196fbf98adbc
diff --git a/src/main/java/org/jcodec/movtool/Util.java b/src/main/java/org/jcodec/movtool/Util.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/jcodec/movtool/Util.java +++ b/src/main/java/org/jcodec/movtool/Util.java @@ -68,7 +68,8 @@ public class Util { long leftDurMedia = trackByMv.multiply...
[movtool] Fixing splitting of empty edits When splitting an empty edit the second half received incorrect media time, essentially splitting empty edit should give 2 empty edits of smaller duration which wasn't the case.
jcodec_jcodec
train
java
a6b4964a5bcd41308719c3b37822023c96d785d8
diff --git a/test/it/account_it.js b/test/it/account_it.js index <HASH>..<HASH> 100644 --- a/test/it/account_it.js +++ b/test/it/account_it.js @@ -46,6 +46,20 @@ describe('Account', function() { assert(account instanceof Account); }); + it.only('should be retrievable by URI fragment', function(done) { + v...
Asserting that URI fragments work. Fixes #<I>.
stormpath_stormpath-sdk-node
train
js
4c16a731f35d82b9a11178f4cd6177db8151b974
diff --git a/sharding-core/src/main/java/org/apache/shardingsphere/core/parsing/parser/sql/AbstractSQLStatement.java b/sharding-core/src/main/java/org/apache/shardingsphere/core/parsing/parser/sql/AbstractSQLStatement.java index <HASH>..<HASH> 100644 --- a/sharding-core/src/main/java/org/apache/shardingsphere/core/pars...
rename to routeConditions
apache_incubator-shardingsphere
train
java
27f5ac9f0f6decfb34c7c6f80be9c6a6a7234dbc
diff --git a/shared/common-adapters/user-proofs.desktop.js b/shared/common-adapters/user-proofs.desktop.js index <HASH>..<HASH> 100644 --- a/shared/common-adapters/user-proofs.desktop.js +++ b/shared/common-adapters/user-proofs.desktop.js @@ -163,7 +163,6 @@ const styleProofNameLabelContainer = { const styleProofName ...
Size tracker proofs to fit available space
keybase_client
train
js,js
5ffa666df6496936d2d3a00022488e56bca05d59
diff --git a/src/Dmtx/Reader.php b/src/Dmtx/Reader.php index <HASH>..<HASH> 100644 --- a/src/Dmtx/Reader.php +++ b/src/Dmtx/Reader.php @@ -102,10 +102,6 @@ class Reader extends AbstractDmtx 'square-deviation' => 'integer', 'resolution' => 'integer', 'threshold' => 'integer', - ...
range can be a string for percents
krichprollsch_php-dmtx
train
php
15553ec46beb59f8df007606d666c65a0f5f1dab
diff --git a/packages/provider-test-tools/src/edition.js b/packages/provider-test-tools/src/edition.js index <HASH>..<HASH> 100644 --- a/packages/provider-test-tools/src/edition.js +++ b/packages/provider-test-tools/src/edition.js @@ -51,6 +51,7 @@ export default ({ variables = () => {} } = {}) => { return...
fix: Attempt to fix Edition Provider Test Tools (#<I>) * fix: Attempt to fix Edition Provider Test Tools
newsuk_times-components
train
js
210001a02aef6d4a0e409a4ea3fc19635c1adfd0
diff --git a/pecan/testing.py b/pecan/testing.py index <HASH>..<HASH> 100644 --- a/pecan/testing.py +++ b/pecan/testing.py @@ -1,3 +1,4 @@ +import os from pecan import load_app from webtest import TestApp @@ -33,3 +34,17 @@ def load_test_app(config=None, **kwargs): assert resp.status_int == 200 """ ...
create a testing utility to reset the global app configuration
pecan_pecan
train
py
13dd6d182f09da543ea82079bb2e5e7a3d73a91b
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -52,7 +52,7 @@ export default ({ d3 = window.d3, ...customConfiguration }) => { .classed('event-drop-chart', true); if (zoomConfig) { - svg.call(zoom(d3, root, config, xScale,...
Select the created SVG element, not all SVG elements This addresses the TODO left behind (selected all SVG elements on the page instead of the created one), which meant this did not play well when there are other SVG elements on the page.
marmelab_EventDrops
train
js,js
f8b72369d36f1260ff02199b1b098ed3c90fe85c
diff --git a/test/unit/TokenStoreTest.php b/test/unit/TokenStoreTest.php index <HASH>..<HASH> 100644 --- a/test/unit/TokenStoreTest.php +++ b/test/unit/TokenStoreTest.php @@ -101,18 +101,17 @@ HTML; $token = $tokenStore->generateNewToken(); $tokenStore->saveToken($token); - $post = new StdClass(); - $post->to...
Use StdClass toArray method in test
PhpGt_Csrf
train
php
185f8a144c3501ef287f5f1dacdb12d69c389cfd
diff --git a/rx-docker-client/src/test/java/com/shekhargulati/reactivex/docker/client/RxDockerClientTest.java b/rx-docker-client/src/test/java/com/shekhargulati/reactivex/docker/client/RxDockerClientTest.java index <HASH>..<HASH> 100644 --- a/rx-docker-client/src/test/java/com/shekhargulati/reactivex/docker/client/RxDo...
#<I> >> improved test case so that it also works on CircleCI
shekhargulati_rx-docker-client
train
java
0c1b0ab312fa4c291df59733e17fa5aa7cfc00c7
diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based.py +++ b/openquake/calculators/event_based.py @@ -23,7 +23,6 @@ import itertools import logging import collections import mock -import h5py import numpy fro...
Removed unused export [skip CI]
gem_oq-engine
train
py
ec025c20eec351fb5c4eb8d78476c6451ff8adf4
diff --git a/lib/ostiary/controller_helper.rb b/lib/ostiary/controller_helper.rb index <HASH>..<HASH> 100644 --- a/lib/ostiary/controller_helper.rb +++ b/lib/ostiary/controller_helper.rb @@ -16,6 +16,11 @@ module Ostiary @ostiary ||= Ostiary.new end + def required_application_role(role, actions =...
Renamed method to :ostiary_policy This better resembles what we’re actually adding. And the name helps you remember the name of the gem used.
nedap_ostiary
train
rb
f12ee16e5bedc485598ec4e76c3dc6c292f88584
diff --git a/integration/integration_suite_test.go b/integration/integration_suite_test.go index <HASH>..<HASH> 100644 --- a/integration/integration_suite_test.go +++ b/integration/integration_suite_test.go @@ -41,5 +41,5 @@ func TestIntegration(t *testing.T) { Expect(err).NotTo(HaveOccurred()) }) - RunSpecs(t, ...
Remove bosh-micro-cli from 'Integration Suite'
cloudfoundry_bosh-cli
train
go
5dda5d81286455794879b95e98ff25491e4adfd5
diff --git a/tests/Doctrine/Tests/TestInit.php b/tests/Doctrine/Tests/TestInit.php index <HASH>..<HASH> 100644 --- a/tests/Doctrine/Tests/TestInit.php +++ b/tests/Doctrine/Tests/TestInit.php @@ -8,11 +8,13 @@ error_reporting(E_ALL | E_STRICT); require_once 'PHPUnit/Framework.php'; require_once 'PHPUnit/TextUI/TestR...
[<I>] Refactored classloader architecture. Renamed ClassLoader => GlobalClassLoader. Introduced IsolatedClassLoader that is suitable for participating in autoload stacks. Added 2 example entity classes to the sandbox with 2 xml mappings and 2 yaml mappings. Simplified sandbox setup.
doctrine_event-manager
train
php
8e7d1a3ecb8652612d3d38d663ded67f306367c9
diff --git a/dss/api/files.py b/dss/api/files.py index <HASH>..<HASH> 100644 --- a/dss/api/files.py +++ b/dss/api/files.py @@ -80,7 +80,7 @@ def get(uuid: str, replica: str=None, version: str=None): response = make_response('', 200) headers = response.headers - headers['X-DSS-BUNDLE-UUID'] = uuid + ...
bundle UUID should be returned here instead of the file UUID.
HumanCellAtlas_cloud-blobstore
train
py
3c6b4e4598db572409673b6f6c713a8ff1ab905f
diff --git a/test/integration/test_seq_copy_int.py b/test/integration/test_seq_copy_int.py index <HASH>..<HASH> 100644 --- a/test/integration/test_seq_copy_int.py +++ b/test/integration/test_seq_copy_int.py @@ -80,7 +80,7 @@ ENCODER_DECODER_SETTINGS_TEMPLATE = [ "--beam-size 2 --beam-search-stop first", Tru...
Disable LHUC+SSRU integration test (#<I>)
awslabs_sockeye
train
py
feb3d7eca9ab78ad95f2b7b538f6866bc4a528b4
diff --git a/twitcher/tests/test_registry.py b/twitcher/tests/test_registry.py index <HASH>..<HASH> 100644 --- a/twitcher/tests/test_registry.py +++ b/twitcher/tests/test_registry.py @@ -1,7 +1,9 @@ +import pytest import unittest import mock from twitcher.registry import ServiceRegistry +from twitcher.registry imp...
test for parse_service_name added
bird-house_twitcher
train
py
2ca45accdcc90aab9c40adbe7680194bd7f98c5f
diff --git a/spec/business_period_spec.rb b/spec/business_period_spec.rb index <HASH>..<HASH> 100644 --- a/spec/business_period_spec.rb +++ b/spec/business_period_spec.rb @@ -37,4 +37,17 @@ RSpec.describe BusinessPeriod::Days do ] ) end + + it 'correctly calculates from saturday when ends on holiday' do...
lithuanian easter holidays spec (#7)
matass_business-period
train
rb,rb
075504229c5be3f25f455267cc673399c6507c79
diff --git a/lib/adhearsion/call.rb b/lib/adhearsion/call.rb index <HASH>..<HASH> 100644 --- a/lib/adhearsion/call.rb +++ b/lib/adhearsion/call.rb @@ -214,12 +214,8 @@ module Adhearsion def write_and_await_response(command, timeout = 60) commands << command write_command command - begin - ...
[CS] Clean up Call#write_and_await_response a little
adhearsion_adhearsion
train
rb
b3b6df8e92e5061b61c052090ead8cc4f6e3b5b7
diff --git a/lib/createContainer.js b/lib/createContainer.js index <HASH>..<HASH> 100644 --- a/lib/createContainer.js +++ b/lib/createContainer.js @@ -78,7 +78,7 @@ module.exports = function createContainer (options, __parentContainer) { // Partially applied to the loadModules function. const _loadModulesDeps =...
Fix require statement for webpack2 compatibility
jeffijoe_awilix
train
js
104a28d31a51e77b6e19d5e46a0cb0e053680632
diff --git a/tasks/lib/photoboxScript.js b/tasks/lib/photoboxScript.js index <HASH>..<HASH> 100644 --- a/tasks/lib/photoboxScript.js +++ b/tasks/lib/photoboxScript.js @@ -1,3 +1,11 @@ +/* + * grunt-photoBox + * https://github.com/stefan/grunt-photoBox + * + * Copyright (c) 2013 stefan judis + * Licensed under the MIT l...
added banner to phantom file
stefanjudis_grunt-photobox
train
js
0f76e6f6e73eef43fc4f1e859e12f40faf736aed
diff --git a/lib/redlander/model.rb b/lib/redlander/model.rb index <HASH>..<HASH> 100644 --- a/lib/redlander/model.rb +++ b/lib/redlander/model.rb @@ -113,10 +113,12 @@ module Redlander rdf_stream = Redland.librdf_model_as_stream(model.rdf_model) raise RedlandError, "Failed to convert model to a stream" i...
avoid freeing a non-allocated rdf_stream in Model#merge
cordawyn_redlander
train
rb
9f1feafc100d996a3965c5ef76ef0f9f3c02c1a6
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -18,7 +18,6 @@ var DTYPES = require( 'compute-array-dtype/lib/dtypes.js' ), * FUNCTION: cast( x, type ) * Casts an input array or array-like object to a specified type. * -* @private * @param {Object|Array|...
[FIX] remove @private in doc
dstructs_cast-arrays
train
js
2a6a2c762e06e4bf24c19cebefad16f48462b681
diff --git a/ActionProcessor.php b/ActionProcessor.php index <HASH>..<HASH> 100644 --- a/ActionProcessor.php +++ b/ActionProcessor.php @@ -21,6 +21,16 @@ class ActionProcessor extends ChainProcessor } /** + * Gets an action that is handled by the processor. + * + * @return string + */ + p...
BAP-<I>: Create filter factory
oroinc_OroChainProcessorComponent
train
php
c1755c8073660d2e48e118c3d630c96aeb927475
diff --git a/mama_cas/tests/views.py b/mama_cas/tests/views.py index <HASH>..<HASH> 100644 --- a/mama_cas/tests/views.py +++ b/mama_cas/tests/views.py @@ -88,8 +88,7 @@ class LogoutViewTests(TestCase): """ response = self.client.get(reverse('cas_logout')) - self.assertEqual(response.status_co...
Fix tests now that /logout redirects back to /login
jbittel_django-mama-cas
train
py
4a66f04d20a52d4f701957e0d7d892de8ed1b66a
diff --git a/lib/factory_inspector.rb b/lib/factory_inspector.rb index <HASH>..<HASH> 100644 --- a/lib/factory_inspector.rb +++ b/lib/factory_inspector.rb @@ -3,8 +3,8 @@ require "factory_inspector/report" module FactoryInspector - def FactoryInspector.new(output_filename) - FactoryInspector.new(output_filenam...
Fix silly recursion in module factory method
ExamTime_factory_inspector
train
rb