hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
d5c45ff97d3b60b6b02d1e70c48aad7303571126 | diff --git a/pmagpy/ipmag.py b/pmagpy/ipmag.py
index <HASH>..<HASH> 100755
--- a/pmagpy/ipmag.py
+++ b/pmagpy/ipmag.py
@@ -2179,13 +2179,12 @@ def aniso_depthplot(ani_file='rmag_anisotropy.txt', meas_file='magic_measurement
plots = 0
# format files to use full path
- ani_file = os.path.join(dir_path, ani... | put resolve_file_name into aniso_depthplot | PmagPy_PmagPy | train |
43f9a68f80b8d9be03a397196d5ff865c0b91803 | diff --git a/xmantissa/test/test_tdb.py b/xmantissa/test/test_tdb.py
index <HASH>..<HASH> 100644
--- a/xmantissa/test/test_tdb.py
+++ b/xmantissa/test/test_tdb.py
@@ -53,8 +53,8 @@ class DeprecatedNamesTest(unittest.TestCase):
attrcol = tdb.AttributeColumn(X.number)
self.assertWarns(
... | Merge new-assert-warns-<I>
Author: exarkun
Reviewer: glyph
Fixes #<I>
Update the Epsilon hotfix for twisted.trial.unittest.TestCase.failUnlessWarns
to match the most recent version present in Twisted. | twisted_mantissa | train |
5a2dd17f182ba47c590b1d942ee854f40265ad0c | diff --git a/src/Kingsquare/parser/banking/mt940/engine/rabo.php b/src/Kingsquare/parser/banking/mt940/engine/rabo.php
index <HASH>..<HASH> 100644
--- a/src/Kingsquare/parser/banking/mt940/engine/rabo.php
+++ b/src/Kingsquare/parser/banking/mt940/engine/rabo.php
@@ -22,12 +22,12 @@ class Rabo extends Engine {
*/
p... | try sepa first (2)
This should have been part of #4 | fruitl00p_php-mt940 | train |
6921c08da424c33abb5f893a68d20e91625629b3 | diff --git a/src/Illuminate/Database/ConnectionFactory.php b/src/Illuminate/Database/ConnectionFactory.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/ConnectionFactory.php
+++ b/src/Illuminate/Database/ConnectionFactory.php
@@ -41,6 +41,10 @@ class ConnectionFactory extends IlluminateConnectionFactory
... | Fixed compatible with Connection::getResolver() | hhxsv5_laravel-s | train |
702b6fb53bbbbf797faeef654825e2b9d837b577 | diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go
index <HASH>..<HASH> 100644
--- a/cmd/helm/helm.go
+++ b/cmd/helm/helm.go
@@ -141,7 +141,7 @@ func setupConnection(c *cobra.Command, args []string) error {
return err
}
- tillerHost = fmt.Sprintf(":%d", tunnel.Local)
+ tillerHost = fmt.Sprintf("localhost:%d", ... | fix(helm): fix windows support with port forward connection in setupConnection
This fixes the port forward connection using helm on windows by assigning explicitely 'localhost' to 'TillerHost' in 'setupConnection'. Otherwise, the connection between the helm client with the Tiller server deployed on Kubernetes will not... | helm_helm | train |
6b980852450696da2a6bd6e7ac72d56f655beea4 | diff --git a/src/androidTest/java/com/couchbase/lite/replicator/MockBulkDocs.java b/src/androidTest/java/com/couchbase/lite/replicator/MockBulkDocs.java
index <HASH>..<HASH> 100644
--- a/src/androidTest/java/com/couchbase/lite/replicator/MockBulkDocs.java
+++ b/src/androidTest/java/com/couchbase/lite/replicator/MockBul... | disable this assertion until issue #<I> is fixed | couchbase_couchbase-lite-android | train |
e5eaf913e1ac4acc355c2306afaf0ae1e2c8200f | diff --git a/parler/models.py b/parler/models.py
index <HASH>..<HASH> 100644
--- a/parler/models.py
+++ b/parler/models.py
@@ -373,9 +373,12 @@ class TranslatableModel(models.Model):
def save_translations(self, *args, **kwargs):
+ # Copy cache, new objects (e.g. fallbacks) might be fetched if users over... | Fix dictionary changed size during iteration in save_translations()
This can occur if users override save_translation(),
and fetch fallback languages in such situation
(e.g. django-fluent-pages saving an translated page). | django-parler_django-parler | train |
a29637909dadc3fdc1b96ec5466bb94b353c080c | diff --git a/lib/marty/data_conversion.rb b/lib/marty/data_conversion.rb
index <HASH>..<HASH> 100644
--- a/lib/marty/data_conversion.rb
+++ b/lib/marty/data_conversion.rb
@@ -46,7 +46,7 @@ class Marty::DataConversion
Mcfly.is_infinity(v) ? 'infinity' : v.to_datetime
when :numrange, :int4range, :int8range
... | Added jsonb type to DataConversion.convert so it can be imported. | arman000_marty | train |
89b4cba038e8cf01af3a8180572f19b8e4afaa31 | diff --git a/src/Zip.php b/src/Zip.php
index <HASH>..<HASH> 100644
--- a/src/Zip.php
+++ b/src/Zip.php
@@ -504,18 +504,7 @@ class Zip extends Archive
$header['comment'] = '';
}
- if ($header['mdate'] && $header['mtime']) {
- $hour = ($header['mtime'] & 0xF800) >> 11;... | refactored time conversion into it's own method
thanks @furun | splitbrain_php-archive | train |
3f3292f5c346f6f9378e4e76733349f11cd78f03 | diff --git a/src/bosh-director/lib/bosh/director/dns/dns_records.rb b/src/bosh-director/lib/bosh/director/dns/dns_records.rb
index <HASH>..<HASH> 100644
--- a/src/bosh-director/lib/bosh/director/dns/dns_records.rb
+++ b/src/bosh-director/lib/bosh/director/dns/dns_records.rb
@@ -16,7 +16,7 @@ module Bosh::Director
... | Fix test now that agent writes dns records as raw json
[#<I>](<URL>) | cloudfoundry_bosh | train |
d3ab653eee511efcc35f1f39a825561f27999b01 | diff --git a/src/validator.js b/src/validator.js
index <HASH>..<HASH> 100644
--- a/src/validator.js
+++ b/src/validator.js
@@ -490,7 +490,7 @@ export default class Validator {
* @param {String} scope The name of the field scope.
*/
detach (name, scope) {
- const field = this._resolveField(name, scope);
+ ... | allow validator to detach field instances | baianat_vee-validate | train |
75a11e9c29a185296e6498cd630d8894cf641d93 | diff --git a/lib/Doctrine/ODM/MongoDB/SchemaManager.php b/lib/Doctrine/ODM/MongoDB/SchemaManager.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/MongoDB/SchemaManager.php
+++ b/lib/Doctrine/ODM/MongoDB/SchemaManager.php
@@ -516,32 +516,33 @@ class SchemaManager
}
/**
- * Ensure shard key for give... | ensureSharding creates an index for collections with documents | doctrine_mongodb-odm | train |
65e0233258c4f4aed11b02d4f3336f841ea35072 | diff --git a/src/Security/PermissionRole.php b/src/Security/PermissionRole.php
index <HASH>..<HASH> 100644
--- a/src/Security/PermissionRole.php
+++ b/src/Security/PermissionRole.php
@@ -31,11 +31,11 @@ class PermissionRole extends DataObject
];
private static $has_many = [
- "Codes" => "SilverStripe... | PATCH: using standard way to refer to classes Group and PermissionRoleCode | silverstripe_silverstripe-framework | train |
0e1c198eaa05e2a10593076b307e39568c3a9233 | diff --git a/tests/test_write_readback.py b/tests/test_write_readback.py
index <HASH>..<HASH> 100644
--- a/tests/test_write_readback.py
+++ b/tests/test_write_readback.py
@@ -245,11 +245,8 @@ class TestPythonMatlabFormat(object):
'float32', 'float64',
'complex64', 'complex128')
... | Fixed and simplified the tests added by the previous commit. | frejanordsiek_hdf5storage | train |
1cf6602bce74a8f8f046b8bd8334f5635424ac78 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
author = 'Helium'
author_email = 'hello@helium.com'
-packages = ['helium']
+packages = ['helium', 'helium.adapter']
requires = [
"future>=0.15",
"gevent>=1.1.2", | adding helium.adapter to packages(?) | helium_helium-python | train |
871409e060a2c28b237155d248a41efee31ff69d | diff --git a/src/main/java/com/threerings/presents/dobj/AttributeChangedEvent.java b/src/main/java/com/threerings/presents/dobj/AttributeChangedEvent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/threerings/presents/dobj/AttributeChangedEvent.java
+++ b/src/main/java/com/threerings/presents/dobj/AttributeCha... | The zero arg ctor must be public, and I'm making the other ctor public because
it's totally wacky to have the ctor you shouldn't use, be public, and the one
you should, not.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train |
54d3e7427f38c796aec39dee84979ce4a572e6fa | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,58 +1,72 @@
import os
import re
from setuptools import setup, find_packages
-from configparser import ConfigParser
from setuptools.command.test import test as TestCommand
-config = ConfigParser(default_section='metada... | remove flit from setup.py | aio-libs_aioftp | train |
0bcb6d7ce33f04a6a110219ab5a42d903b811bdb | diff --git a/src/urh/dev/native/AirSpy.py b/src/urh/dev/native/AirSpy.py
index <HASH>..<HASH> 100644
--- a/src/urh/dev/native/AirSpy.py
+++ b/src/urh/dev/native/AirSpy.py
@@ -4,65 +4,40 @@ import time
from urh.dev.native.Device import Device
from urh.dev.native.lib import airspy
from urh.util.Logger import logger
+f... | adapt airspy to new architecture | jopohl_urh | train |
fc05a65d6242df63ea8fa33c1add5f42b90661f0 | diff --git a/src/PDFLib.php b/src/PDFLib.php
index <HASH>..<HASH> 100644
--- a/src/PDFLib.php
+++ b/src/PDFLib.php
@@ -101,7 +101,7 @@ class PDFLib{
public function getNumberOfPages(){
if($this->number_of_pages == -1){
- $pages = $this->executeGS('-q -dNODISPLAY -c "("'.$this->pdf_path.'") (r... | Fix getNumberOfPages command
The issuing of multiple unescaped double quotes was breaking this command on linux. Wrapping with double quotes is not necessary even if the filename as spaces etc. | imalhasaranga_PDFLib | train |
b0434f0bd56089f34c09d7fa46baaa70c61b6a87 | diff --git a/hpOneView/common.py b/hpOneView/common.py
index <HASH>..<HASH> 100644
--- a/hpOneView/common.py
+++ b/hpOneView/common.py
@@ -64,6 +64,7 @@ uri = {
#------------------------------------
# Security
#------------------------------------
+ 'activeSessions': '/rest/active-user-sessions',
... | Implemented Security -> Active User Sessions | HewlettPackard_python-hpOneView | train |
156b2a95a42b81ff93e86501cdf9c736ee7ca828 | diff --git a/ph-oton-basic/src/main/java/com/helger/photon/basic/PhotonBasic.java b/ph-oton-basic/src/main/java/com/helger/photon/basic/PhotonBasic.java
index <HASH>..<HASH> 100644
--- a/ph-oton-basic/src/main/java/com/helger/photon/basic/PhotonBasic.java
+++ b/ph-oton-basic/src/main/java/com/helger/photon/basic/Photon... | Improved init/shutdown | phax_ph-oton | train |
b36db5b54abc3c9abc5635f0e2b3f8e1abc8acb5 | diff --git a/src/main/java/de/jfachwert/bank/Geldbetrag.java b/src/main/java/de/jfachwert/bank/Geldbetrag.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/jfachwert/bank/Geldbetrag.java
+++ b/src/main/java/de/jfachwert/bank/Geldbetrag.java
@@ -66,7 +66,7 @@ public class Geldbetrag implements MonetaryAmount, Fach... | Geldbetrag uses now Waehrung as attribute | oboehm_jfachwert | train |
541b753fe803ed9ecc2cae580e3f76e67fa32c3b | diff --git a/packages/xod-project/src/node.js b/packages/xod-project/src/node.js
index <HASH>..<HASH> 100644
--- a/packages/xod-project/src/node.js
+++ b/packages/xod-project/src/node.js
@@ -277,7 +277,7 @@ const getDataTypeRegExp = R.compose(
*/
export const getPinNodeDataType = R.compose(
R.map(R.toLower),
- U... | refactor(xod-project): rename maybeToEither into errOnNothing | xodio_xod | train |
cad21035e98cd565c4f1684e8594de9bf69344a3 | diff --git a/tests/test_dml.py b/tests/test_dml.py
index <HASH>..<HASH> 100644
--- a/tests/test_dml.py
+++ b/tests/test_dml.py
@@ -258,6 +258,62 @@ class TestBulkCopy(PostgresDmlFixture, unittest.TestCase):
self.assertEqual(self.records, result)
+class TestBulkCopyAllColumnPrimary(PostgresDmlFixture, unitt... | Add additional coverage for cases when upserting all primary key columns with copy from. | portfoliome_postpy | train |
b92608debcf16a11a82269b966e13ab6d0e66b7e | diff --git a/src/publisher.js b/src/publisher.js
index <HASH>..<HASH> 100644
--- a/src/publisher.js
+++ b/src/publisher.js
@@ -1,12 +1,10 @@
-const readDir = require( "recursive-readdir-synchronous" );
const fs = require( "fs" );
-const Leveler = require( "./leveler.js" );
/**
Create the hotpoint project make a ts... | Change contract. Now it only publish the tsconfig | BugBusterSWE_burstmake | train |
da6c96181de8280b096307a2696e7ec216c50f01 | diff --git a/jenkins/plugin/src/main/java/com/hp/octane/plugins/jenkins/notifications/EventDispatcher.java b/jenkins/plugin/src/main/java/com/hp/octane/plugins/jenkins/notifications/EventDispatcher.java
index <HASH>..<HASH> 100644
--- a/jenkins/plugin/src/main/java/com/hp/octane/plugins/jenkins/notifications/EventDispa... | added last error note to the event client status | hpsa_hpe-application-automation-tools-plugin | train |
a37c2544099f76993eca3ebbc417bb8f83f9be81 | diff --git a/test/test_wrapper.py b/test/test_wrapper.py
index <HASH>..<HASH> 100644
--- a/test/test_wrapper.py
+++ b/test/test_wrapper.py
@@ -2078,7 +2078,7 @@ def test_getfat():
def test_getfov():
spice.kclear()
- kernel = '{0}/getfov_test.ti'.format(cwd)
+ kernel = os.path.join(cwd, 'getfov_test.ti')
... | fixed additional .format calls I didn't notice earlier. | AndrewAnnex_SpiceyPy | train |
e806eb40799a9df2dc2c14163f6e2cf168debe68 | diff --git a/lib/gelf/logger.rb b/lib/gelf/logger.rb
index <HASH>..<HASH> 100644
--- a/lib/gelf/logger.rb
+++ b/lib/gelf/logger.rb
@@ -4,10 +4,6 @@ module GELF
attr_accessor :formatter
- # Does nothing.
- def close
- end
-
# Use it like Logger#add... or better not to use at all.
def add(leve... | Close UDP connection for sender
UDPSocket.open opens a file descriptor which needs to be closed. If
multiple loggers and/or notifiers are created, they will each keep a
file descriptor open, possibly leading to a "Too many open files" error.
Add a close method to the logger that actually closes the UDP file
descript... | graylog-labs_gelf-rb | train |
952ceafde9617638199d76890a015491681d5441 | diff --git a/src/map/handler/Map.ScrollWheelZoom.js b/src/map/handler/Map.ScrollWheelZoom.js
index <HASH>..<HASH> 100644
--- a/src/map/handler/Map.ScrollWheelZoom.js
+++ b/src/map/handler/Map.ScrollWheelZoom.js
@@ -36,7 +36,8 @@ class MapScrollWheelZoomHandler extends Handler {
_getSteps(level) {
const ... | set scroll steps maxtime to <I> | maptalks_maptalks.js | train |
55aa5baf01129c194557285bda5d50a9061337c2 | diff --git a/doc/id_number.md b/doc/id_number.md
index <HASH>..<HASH> 100644
--- a/doc/id_number.md
+++ b/doc/id_number.md
@@ -20,4 +20,7 @@ Faker::IDNumber.valid_south_african_id_number #=> "8105128870184"
# Generate an invalid South African ID Number
Faker::IDNumber.invalid_south_african_id_number #=> "1642972065... | Adding Faker::IDNumber.brazilian_citizen_number (#<I>) | stympy_faker | train |
678bf019c567c576efa19201744b6b4d7b6bd01c | diff --git a/lib/extract.js b/lib/extract.js
index <HASH>..<HASH> 100644
--- a/lib/extract.js
+++ b/lib/extract.js
@@ -13,7 +13,7 @@ var mkAttrRegex = function (startDelim, endDelim) {
start = '^';
}
- return new RegExp(start + '\\s*(\'|"|")(.*?)\\1\\s*\\|\\s*translate\\s*' + end, 'g');
+ ret... | Adjustment to the End Delimiter matching.
Added an OR condition to the End Delimiter check to be either "}}" or "|" so translations can have additional filters applied. | rubenv_angular-gettext-tools | train |
956d38b066ff38c354bbf0756d0fe2c214e3ff7e | diff --git a/modules/custom/openy_campaign/src/Entity/MemberCheckin.php b/modules/custom/openy_campaign/src/Entity/MemberCheckin.php
index <HASH>..<HASH> 100644
--- a/modules/custom/openy_campaign/src/Entity/MemberCheckin.php
+++ b/modules/custom/openy_campaign/src/Entity/MemberCheckin.php
@@ -111,28 +111,6 @@ class Me... | Fix an utilization activity saving for the visits. | ymcatwincities_openy | train |
6feb396a7baaada305c92ba3eb137f24c1170636 | diff --git a/src/View/Widget/FancyFileWidget.php b/src/View/Widget/FancyFileWidget.php
index <HASH>..<HASH> 100644
--- a/src/View/Widget/FancyFileWidget.php
+++ b/src/View/Widget/FancyFileWidget.php
@@ -134,7 +134,7 @@ class FancyFileWidget implements WidgetInterface {
}
$fakeInput = $this->_input->... | Enhance mangling of fieldname for fake input
Cover the case of Abc[xyz] style naming | Holt59_cakephp3-bootstrap-helpers | train |
123238d04258e2269c0e30c2d61d76a19d9d7fe8 | diff --git a/blocks/search_forums/block_search_forums.php b/blocks/search_forums/block_search_forums.php
index <HASH>..<HASH> 100644
--- a/blocks/search_forums/block_search_forums.php
+++ b/blocks/search_forums/block_search_forums.php
@@ -31,7 +31,7 @@ class block_search_forums extends block_base {
$this->cont... | Accessibility: /pix/a for accessibility and usability related images - fixed path. | moodle_moodle | train |
cb5f8b941f3d7699cc81d070fcd4339d5b3b8a63 | diff --git a/cyth/cyth_script.py b/cyth/cyth_script.py
index <HASH>..<HASH> 100755
--- a/cyth/cyth_script.py
+++ b/cyth/cyth_script.py
@@ -432,10 +432,10 @@ def get_benchmark(funcname, docstring, py_modname):
print("[bench.python] {funcname} time=%f seconds" % (time1))
print("[bench.cy... | Fixed sign-related oversight in benchmarks generated by cyth_script. | Erotemic_utool | train |
77ae066dcb3c263f9b1692d5c69e7fb11db838e5 | diff --git a/lib/polisher/core.rb b/lib/polisher/core.rb
index <HASH>..<HASH> 100644
--- a/lib/polisher/core.rb
+++ b/lib/polisher/core.rb
@@ -3,8 +3,6 @@
# Licensed under the MIT license
# Copyright (C) 2013-2014 Red Hat, Inc.
-require 'polisher/rpmspec'
-
class Object
def eigenclass
class << self
@@ -32,... | issue #<I> : parse upstream gem locally available
Fixes regression where :gem parameter to Polisher::Gem.parse
was no longer being handled.
Now if local gem is specified, metadata will be parsed / extracted
from it as w/ the other cases | ManageIQ_polisher | train |
6d47ca79ddb57676a30460b4a39e9e430a971a6a | diff --git a/src/postmark/core.py b/src/postmark/core.py
index <HASH>..<HASH> 100644
--- a/src/postmark/core.py
+++ b/src/postmark/core.py
@@ -10,6 +10,7 @@ __copyright__ = "(C) 2009-2010 David Martorana, Wildbit LLC, Python Software Fou
import sys
import urllib
import urllib2
+import httplib
try:
import jso... | All bounce API calls now working - still need to refactor and clean up code | themartorana_python-postmark | train |
df41a349f5a0883683be5ce1f543c5243caeb4b8 | diff --git a/tests/integration/long/test_ssl.py b/tests/integration/long/test_ssl.py
index <HASH>..<HASH> 100644
--- a/tests/integration/long/test_ssl.py
+++ b/tests/integration/long/test_ssl.py
@@ -12,29 +12,25 @@
# See the License for the specific language governing permissions and
# limitations under the License.
... | retry cluster connection in SSL test | datastax_python-driver | train |
cdc155777fb2faeb16e64ffd2677f5e2b3328d57 | diff --git a/lib/origami/version.rb b/lib/origami/version.rb
index <HASH>..<HASH> 100644
--- a/lib/origami/version.rb
+++ b/lib/origami/version.rb
@@ -19,5 +19,5 @@
=end
module Origami
- VERSION = "2.0.4"
+ VERSION = "2.1.0"
end | version: bumped to <I> | gdelugre_origami | train |
3e55c53f19ca142b613aee3a454f12051bb63835 | diff --git a/src/AuditResponse/AuditResponse.php b/src/AuditResponse/AuditResponse.php
index <HASH>..<HASH> 100644
--- a/src/AuditResponse/AuditResponse.php
+++ b/src/AuditResponse/AuditResponse.php
@@ -19,7 +19,7 @@ class AuditResponse implements ExportableInterface
import as importUnserialized;
}
- p... | Type cast policy object in AuditResponse. | drutiny_drutiny | train |
4780f7feb4935825ed88ca753c717eb2ed518988 | diff --git a/lib/scorm_engine/models/registration_runtime_interaction.rb b/lib/scorm_engine/models/registration_runtime_interaction.rb
index <HASH>..<HASH> 100644
--- a/lib/scorm_engine/models/registration_runtime_interaction.rb
+++ b/lib/scorm_engine/models/registration_runtime_interaction.rb
@@ -8,7 +8,7 @@ module Sc... | add latency and latency_in_seconds to run time interaction. fixes #<I> | instructure-bridge_scorm_engine | train |
b48b16b75d222a0a140713e84bcf81f88a2b4815 | diff --git a/tasks/lib/shopify.js b/tasks/lib/shopify.js
index <HASH>..<HASH> 100644
--- a/tasks/lib/shopify.js
+++ b/tasks/lib/shopify.js
@@ -202,7 +202,7 @@ module.exports = function(grunt) {
}
function onUpdate(err, resp) {
- if (typeof resp.errors !== "undefined") {
+ if (r... | added check for undefined response when attempting to upload file to non-whitelisted folder | wilr_grunt-shopify | train |
6b1689ee33301bf5b376c8a5e6cffca9701b0cab | diff --git a/src/main/java/com/cronutils/model/time/SingleExecutionTime.java b/src/main/java/com/cronutils/model/time/SingleExecutionTime.java
index <HASH>..<HASH> 100755
--- a/src/main/java/com/cronutils/model/time/SingleExecutionTime.java
+++ b/src/main/java/com/cronutils/model/time/SingleExecutionTime.java
@@ -598,6... | #<I>: ExecutionTime.isMatch() now works when year is specified. | jmrozanec_cron-utils | train |
14303cb25f94239f7288678bf4bdcf8d5568e517 | diff --git a/src/astral.py b/src/astral.py
index <HASH>..<HASH> 100644
--- a/src/astral.py
+++ b/src/astral.py
@@ -50,8 +50,8 @@ Dawn: 2009-04-22 05:12:56+01:00
"""
import datetime
-from math import cos, sin, tan, acos, asin, atan2, floor
-from math import radians, degrees
+from math import cos, sin, tan, acos, ... | Added code to calculate moon phases. | sffjunkie_astral | train |
f2a6353ac0ef7775fd9cf42c44c58c87536161fd | diff --git a/citrination_client/data/client.py b/citrination_client/data/client.py
index <HASH>..<HASH> 100644
--- a/citrination_client/data/client.py
+++ b/citrination_client/data/client.py
@@ -7,9 +7,10 @@ from pypif import pif
import json
import os
+import urllib2
+import shutil
import requests
-
class DataC... | Updating file save to use shutils | CitrineInformatics_python-citrination-client | train |
76b9e0a29167c83da136baa433f9340b97d8985c | diff --git a/lib/mongoid/scopable.rb b/lib/mongoid/scopable.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/scopable.rb
+++ b/lib/mongoid/scopable.rb
@@ -117,7 +117,7 @@ module Mongoid
# @since 3.0.0
def queryable
crit = Threaded.current_scope(self) || Criteria.new(self)
- crit.embedded =... | MONGOID-<I> Check if relation is cyclic as well as embedded before querying | mongodb_mongoid | train |
079844d042d4a44cbc858f8ae4cdc79c001dc631 | diff --git a/travis/encrypt.py b/travis/encrypt.py
index <HASH>..<HASH> 100644
--- a/travis/encrypt.py
+++ b/travis/encrypt.py
@@ -39,11 +39,12 @@ def encrypt_key(key: str, password: str) -> bytes:
@click.command()
-@click.argument('username')
-@click.argument('repository')
+@click.argument('username', help='Enter... | Added ability to encrypt env variables | mandeep_Travis-Encrypt | train |
6717188c0c6a6e3c6d0f9147f57196053612b241 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ setup(name = 'proptools',
description = 'Various useful property subtypes.',
url = 'https://github.org/nejucomo/proptools',
license = 'GPLv3',
- version = '0.1a0',
+ version = '0.1... | Change the version <I>a0 -> <I> in preparation for release. | nejucomo_proptools | train |
37c348ef2f94ef62b51b09381c41f9abccea85e6 | diff --git a/cmd/cmd.go b/cmd/cmd.go
index <HASH>..<HASH> 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -8,6 +8,7 @@ import (
"path/filepath"
"regexp"
"strconv"
+ "strings"
"github.com/deis/deisctl/client"
"github.com/deis/deisctl/config"
@@ -152,6 +153,13 @@ func Install(c client.Client, targets []string) er... | fix(cmd): append "@1" if none supplied to install | deis_deis | train |
c5d9799308fb4f2f6bfa5b1d25eda54771984b01 | diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/ast/TreeGen.java
+++ b/sources/scalac/ast/TreeGen.java
@@ -329,12 +329,18 @@ public class TreeGen implements Kinds, Modifiers {
/** Build and attribute new B, given constructor expressi... | - Added method New(pos,Tree)
- Added methods ClassDef with local symbol | scala_scala | train |
b4f510d83a6cd9ba5d3186765d1813252f501f79 | diff --git a/src/FormField/AutoComplete.php b/src/FormField/AutoComplete.php
index <HASH>..<HASH> 100644
--- a/src/FormField/AutoComplete.php
+++ b/src/FormField/AutoComplete.php
@@ -238,10 +238,19 @@ class AutoComplete extends Input
$this->js(true, $chain);
- if (isset($this->form->model) && $this-... | AutoComplete not initializing with proper text #<I> | atk4_ui | train |
f1a1ab458b9fbb16774db32d5ba3806d1eaa6b1d | diff --git a/src/jobTree/batchSystems/singleMachine.py b/src/jobTree/batchSystems/singleMachine.py
index <HASH>..<HASH> 100644
--- a/src/jobTree/batchSystems/singleMachine.py
+++ b/src/jobTree/batchSystems/singleMachine.py
@@ -28,7 +28,7 @@ import time
import math
from threading import Thread
from threading import S... | Fix: singleMachine's getUpdatedJob hangs | DataBiosphere_toil | train |
71343f2f627bccfe248cf07ab2a5fc8e08d338c2 | diff --git a/src/Server/Helper.php b/src/Server/Helper.php
index <HASH>..<HASH> 100644
--- a/src/Server/Helper.php
+++ b/src/Server/Helper.php
@@ -401,8 +401,17 @@ class Helper
private function doSendResponse($result, $exitWhenDone)
{
$httpStatus = $this->resolveHttpStatus($result);
- $body = ... | Server: Extracted method for emitting response | webonyx_graphql-php | train |
b1ab0852db973dec148a5bfe8f7251285534c846 | diff --git a/src/frontend/org/voltdb/sysprocs/saverestore/TableSaveFile.java b/src/frontend/org/voltdb/sysprocs/saverestore/TableSaveFile.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/sysprocs/saverestore/TableSaveFile.java
+++ b/src/frontend/org/voltdb/sysprocs/saverestore/TableSaveFile.java
@@ -753,7... | ENG-<I>: fix IO exception for closing Table Save File (#<I>) | VoltDB_voltdb | train |
b9e68978b6e22a76460bb6f1b219551e45a3b2ca | diff --git a/src/Kodeine/Acl/Traits/HasRole.php b/src/Kodeine/Acl/Traits/HasRole.php
index <HASH>..<HASH> 100644
--- a/src/Kodeine/Acl/Traits/HasRole.php
+++ b/src/Kodeine/Acl/Traits/HasRole.php
@@ -281,7 +281,7 @@ trait HasRoleImplementation
}
$laravel = app();
-if (version_compare($laravel::VERSION, '5.3', '<')) ... | Check that $laravel is an instance of the correct class
This fixes a problem that happens with PHP <I> when xdebug is enabled:
phpunit evaluates $laravel as an instance of
Illuminate\Container\Container instead of
\Illuminate\Foundation\Application so it doesn’t find the constant
VERSION nor the method version(), and ... | kodeine_laravel-acl | train |
1b78cbfc910b847a73ab9860a739207caa9fc518 | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -51,7 +51,7 @@ copyright = u'2010-2013, Coda Hale, Yammer Inc., 2014-2015 Dropwizard Team'
# The short X.Y version.
version = '0.8'
# The full version, including alpha/beta/rc tag... | Update docs version to <I>
(cherry picked from commit <I>c<I>) | dropwizard_dropwizard | train |
c6c37e07e192251dd18c2a5ad5744e2b91ac272d | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/DiscoverSourceDirectories.java b/findbugs/src/java/edu/umd/cs/findbugs/DiscoverSourceDirectories.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/DiscoverSourceDirectories.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/DiscoverSourceDirect... | Bugfix:
The search() method wasn't being called on the RecursiveFileSearch object.
bug found by Tim Meyer.
git-svn-id: <URL> | spotbugs_spotbugs | train |
1d317c822d08452749cc73a7c2006d6a48b10948 | diff --git a/src/frontend/org/voltdb/utils/SQLCommand.java b/src/frontend/org/voltdb/utils/SQLCommand.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/utils/SQLCommand.java
+++ b/src/frontend/org/voltdb/utils/SQLCommand.java
@@ -912,11 +912,25 @@ public class SQLCommand
{
try
{
- ... | Fix for ENG-<I>. | VoltDB_voltdb | train |
6403b495b79600b2cc558efe34afc0c21689c319 | diff --git a/lib/tdl/previous_version.rb b/lib/tdl/previous_version.rb
index <HASH>..<HASH> 100644
--- a/lib/tdl/previous_version.rb
+++ b/lib/tdl/previous_version.rb
@@ -1,4 +1,4 @@
module TDL
- PREVIOUS_VERSION = '0.20.4'
+ PREVIOUS_VERSION = '0.21.1'
# the current MAJOR.MINOR version is dynamically computed fr... | Update version [skip ci] | julianghionoiu_tdl-client-ruby | train |
8e19e70e70dbb065ba4ad7cc6383d6a9b5b54634 | diff --git a/lib/Grid.php b/lib/Grid.php
index <HASH>..<HASH> 100644
--- a/lib/Grid.php
+++ b/lib/Grid.php
@@ -478,7 +478,7 @@ class Grid extends CompleteLister {
if($t_row){
$t_col->del('content');
$t_col->set('content','<?$'.$name.'?>');
- $t_col->set('tdp... | Fix in <I> by camper wasn't compatible with 'fca' template. | atk4_atk4 | train |
50881767e5cefb2052982d7081f168c312463f66 | diff --git a/cloudant.js b/cloudant.js
index <HASH>..<HASH> 100644
--- a/cloudant.js
+++ b/cloudant.js
@@ -14,8 +14,9 @@ module.exports = Cloudant;
* and limitations under the License.
*/
-var Nano = require('nano');
-var debug = require('debug')('cloudant');
+var Nano = require('nano'),
+ debug = require('debug... | added test for authenticated HTTP connections - warning for now - enforcement later - fixes issue #2 | cloudant_nodejs-cloudant | train |
602e1155bc732780aaaf6594b5a4fc308470b4c2 | diff --git a/lib/gds_api/need_api.rb b/lib/gds_api/need_api.rb
index <HASH>..<HASH> 100644
--- a/lib/gds_api/need_api.rb
+++ b/lib/gds_api/need_api.rb
@@ -8,6 +8,13 @@ class GdsApi::NeedApi < GdsApi::Base
get_list!("#{endpoint}/needs#{query}")
end
+ def needs_by_id(*ids)
+ ids_string = ids.flatten.map(&:t... | Update Needs API with new needs_by_id method
The Needs API now supports requests for multiple need ids. This
updates the adaptor and adds a test helper to stub out such requests. | alphagov_gds-api-adapters | train |
0567641fbe4bdbea54b5de0bcc2c937dfb52e088 | diff --git a/src/core/modules/resize/resize.js b/src/core/modules/resize/resize.js
index <HASH>..<HASH> 100644
--- a/src/core/modules/resize/resize.js
+++ b/src/core/modules/resize/resize.js
@@ -3,6 +3,7 @@ import { getWindow } from 'ssr-window';
export default function Resize({ swiper, on, emit }) {
const window =... | fix(core): wrap resize observer callback in requestAnimationFrame (#<I>)
Fast browser window resize produces `Error: ResizeObserver loop limit
exceeded`. The error isn't visible in browser console, doesn't affect
functionality, but degrades performance of slider. Solution is taken
from <URL> | nolimits4web_swiper | train |
e64ceba993c9dfdc195431e03d5fa0599f55e3ec | diff --git a/neurom/version.py b/neurom/version.py
index <HASH>..<HASH> 100644
--- a/neurom/version.py
+++ b/neurom/version.py
@@ -27,4 +27,4 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
""" neurom version """
-VERSION = "0.0.3.dev0"
+VERSION = "0.0.3.dev1" | Increase dev version to test BBP deployment | BlueBrain_NeuroM | train |
181b8622e46b70253bf2b7adb3c1513d7ec11fb5 | diff --git a/sevenbridges/models/volume.py b/sevenbridges/models/volume.py
index <HASH>..<HASH> 100644
--- a/sevenbridges/models/volume.py
+++ b/sevenbridges/models/volume.py
@@ -38,7 +38,7 @@ class Volume(Resource):
name = StringField(read_only=False)
description = StringField(read_only=False)
access_mo... | changed read only status for volume service object | sbg_sevenbridges-python | train |
091e84b83f149e52e795296c84ba0bd882c6ffc8 | diff --git a/pkg/health/server/prober.go b/pkg/health/server/prober.go
index <HASH>..<HASH> 100644
--- a/pkg/health/server/prober.go
+++ b/pkg/health/server/prober.go
@@ -164,6 +164,16 @@ func resolveIP(n *healthNode, addr *ciliumModels.NodeAddressingElement, proto st
return node.Name, ra
}
+// RemoveIP removes al... | health: Fix up IP removal from health prober
The `prober.nodes` is actually a map of nodes sorted by peer IP as the
key, where the peer IP could be either the node's IP or the node's
health endpoint IP. Deletion from this should be done using each
individual node address, rather than only deleting the element that is
... | cilium_cilium | train |
8fbc7eededdacac71d7c7ee46a4599e56109ea53 | diff --git a/api/symboltable.py b/api/symboltable.py
index <HASH>..<HASH> 100644
--- a/api/symboltable.py
+++ b/api/symboltable.py
@@ -441,8 +441,9 @@ class SymbolTable(object):
# -------------------------------------------------------------------------
# Identifier Declaration (e.g DIM, FUNCTION, SUB, etc.)
... | Distinction between TYPE.auto and default type != TYPE.auto
when implicit type is used. | boriel_zxbasic | train |
4b521de03bac1f6cc97b1e392a3c90bd5a7469ad | diff --git a/js/luno.js b/js/luno.js
index <HASH>..<HASH> 100644
--- a/js/luno.js
+++ b/js/luno.js
@@ -148,10 +148,11 @@ module.exports = class luno extends Exchange {
const timestamp = this.safeInteger (order, 'creation_timestamp');
const status = (order['state'] === 'PENDING') ? 'open' : 'closed';
... | luno findMarket is deprecated | ccxt_ccxt | train |
a746b5f56e4da548d1afa73eac82e20a7d0489a2 | diff --git a/bqplot/nbextension/Bars.js b/bqplot/nbextension/Bars.js
index <HASH>..<HASH> 100644
--- a/bqplot/nbextension/Bars.js
+++ b/bqplot/nbextension/Bars.js
@@ -62,12 +62,11 @@ define(["widgets/js/manager", "d3", "./Mark", "./utils"], function(WidgetManager
},
set_positional_scales: function() {... | remove useless that/self definitions and uses | bloomberg_bqplot | train |
31463d7555fef352c0c5cc5da465d6c417020122 | diff --git a/src/main/java/com/couchbase/lite/support/MultipartDocumentReader.java b/src/main/java/com/couchbase/lite/support/MultipartDocumentReader.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/couchbase/lite/support/MultipartDocumentReader.java
+++ b/src/main/java/com/couchbase/lite/support/MultipartDocum... | issue number #<I>
Removed expensive log call | couchbase_couchbase-lite-java-core | train |
f189b02480b8e17e5287704c874d0d20dc360918 | diff --git a/lib/config-parser.js b/lib/config-parser.js
index <HASH>..<HASH> 100644
--- a/lib/config-parser.js
+++ b/lib/config-parser.js
@@ -65,7 +65,10 @@ function processNode(attrNode, context) {
'subFilters': parseSubFilters,
'resource': checkResourceName,
'primar... | request-resolver: implement defaultLimit, defaultOrder, maxLimit also on root level resource configuration | godmodelabs_flora | train |
0cb6b4630fb8e97140163c7d65b4bb178551b72f | diff --git a/admin/javascript/LeftAndMain.Preview.js b/admin/javascript/LeftAndMain.Preview.js
index <HASH>..<HASH> 100644
--- a/admin/javascript/LeftAndMain.Preview.js
+++ b/admin/javascript/LeftAndMain.Preview.js
@@ -68,8 +68,18 @@
* API
* Switch the preview to different state.
* stateName can be one o... | NEW Storing page preview states (fixes #<I>) | silverstripe_silverstripe-framework | train |
01c0cea93b95bd36ad1e2abf73ce29efd2ca2b1e | diff --git a/src/coverage/branch.js b/src/coverage/branch.js
index <HASH>..<HASH> 100644
--- a/src/coverage/branch.js
+++ b/src/coverage/branch.js
@@ -12,6 +12,42 @@ export class BranchCoverage {
constructor(options = {}) {
// TODO
}
+
+ /**
+ * Creates a new branch data from the specified JSON map.
+ *... | Added the skeleton of the coverage classes | cedx_lcov.js | train |
8f4b4968f162e34b027af071a27bf8e6082330e7 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -45,13 +45,20 @@ func init() {
}
}
+type socketType string
+
+const (
+ udpSocket socketType = "udp"
+ tcpSocket socketType = "tcp"
+)
+
// StatsdClient is a client library to send events to StatsD
type StatsdClient... | Optimize: Replacing string formatting with concatenation
- The metric line format of "%s%s:%s" can be constructed by simple
string concatenation which turns out to be significantly faster
and costs less memory than using string formatting. | quipo_statsd | train |
90f7ab27235c155e0e57639e298ad7ddcc1b5658 | diff --git a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/script/ScriptRecordReader.java b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/script/ScriptRecordReader.java
index <HASH>..<HASH> 100644
--- a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gre... | Precompile scripts during ScriptRecordReader initialization. | apache_tinkerpop | train |
0f5167981461853ef54a391a29244e09d9849ad1 | diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py
index <HASH>..<HASH> 100644
--- a/src/aks-preview/azext_aks_preview/custom.py
+++ b/src/aks-preview/azext_aks_preview/custom.py
@@ -129,6 +129,15 @@ from .addonconfiguration import update_addons, enable_addons, ensure... | {AKS} Fix nat gateway models import error (#<I>)
* import nat models in a traditional way
* update version | Azure_azure-cli-extensions | train |
d4be9675bfc3cccdfba57427e3058ab6e6457506 | diff --git a/src/scripts/slate/_a11y.js b/src/scripts/slate/_a11y.js
index <HASH>..<HASH> 100755
--- a/src/scripts/slate/_a11y.js
+++ b/src/scripts/slate/_a11y.js
@@ -71,9 +71,9 @@ slate.a11y = {
if (!options.$elementToFocus) {
options.$elementToFocus = options.$container;
- options.$container.attr('... | Make sure container is focusable to trap focus | Shopify_slate | train |
b590d25f08cc41c48542fa2133a877953b3543da | diff --git a/library/src/main/java/com/liulishuo/filedownloader/download/DownloadLaunchRunnable.java b/library/src/main/java/com/liulishuo/filedownloader/download/DownloadLaunchRunnable.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/liulishuo/filedownloader/download/DownloadLaunchRunnable.java
+++ b/l... | fix: fix raise 'offset < 0' exception when the breakpoint is larger than <I>G
Closes #<I> | lingochamp_FileDownloader | train |
69c23255544aec825f0c1f4894de1e1ce3734902 | diff --git a/src/main/java/hex/nn/NN.java b/src/main/java/hex/nn/NN.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hex/nn/NN.java
+++ b/src/main/java/hex/nn/NN.java
@@ -235,9 +235,8 @@ public class NN extends Job.ValidatedJob {
public void initModel() {
logStart();
NN.RNG.seed.set(seed);
- UKV.rem... | Fix memory leak in NN, as detected by Iris Junit test. | h2oai_h2o-2 | train |
4a1e5436ebb2dfe06138e0e8f1117bd5115c2e1f | diff --git a/code/DocumentationSearch.php b/code/DocumentationSearch.php
index <HASH>..<HASH> 100755
--- a/code/DocumentationSearch.php
+++ b/code/DocumentationSearch.php
@@ -198,7 +198,7 @@ class DocumentationSearch {
public function performSearch() {
try {
$index = Zend_Search_Lucene::open(self::get_index_l... | BUG Fixing search not working when no specific versions of docs | silverstripe_silverstripe-docsviewer | train |
98cee1459f731b53db03f30a09317357de2c73e8 | diff --git a/lib/reader/pandoc.js b/lib/reader/pandoc.js
index <HASH>..<HASH> 100644
--- a/lib/reader/pandoc.js
+++ b/lib/reader/pandoc.js
@@ -1,26 +1,45 @@
module.exports = function parse(str) {
var json = JSON.parse(str);
var pandocBlocks = json[1];
+ var blocks = convertBlocks(pandocBlocks, 0);
+ return ['t... | [pandoc] Extract blocks and inlines conversion functions. | sheremetyev_texts.js | train |
37b94ffc6b4cfd8ec904157ec751c5dab7b2ff25 | diff --git a/lib/vagrant/config/vm.rb b/lib/vagrant/config/vm.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/config/vm.rb
+++ b/lib/vagrant/config/vm.rb
@@ -16,7 +16,6 @@ module Vagrant
attr_reader :forwarded_ports
attr_reader :shared_folders
attr_reader :network_options
- attr_reader :hd_lo... | Get rid of unused ivar | hashicorp_vagrant | train |
282f4708ab21b45150fe5360513defef13fae6a5 | diff --git a/lib/Importer.js b/lib/Importer.js
index <HASH>..<HASH> 100644
--- a/lib/Importer.js
+++ b/lib/Importer.js
@@ -63,6 +63,7 @@ class Importer {
import(variableName) {
const jsModule = this.findOneJsModule(variableName);
if (!jsModule) {
+ this.message(`No JS module to import for variable \`$... | Move message about not finding module
I'm working to improve messaging. One goal I have is to move all
messaging into the import/fixImports/addImports/goto methods, and have
them display a single message to summarize the results. This commit
moves the message displayed when a variable can't be found. | Galooshi_import-js | train |
54b39069bfd75b3ba3f57cad2696bda8403cfa60 | diff --git a/httpcache4j-core/src/main/java/org/codehaus/httpcache4j/cache/FileManager.java b/httpcache4j-core/src/main/java/org/codehaus/httpcache4j/cache/FileManager.java
index <HASH>..<HASH> 100644
--- a/httpcache4j-core/src/main/java/org/codehaus/httpcache4j/cache/FileManager.java
+++ b/httpcache4j-core/src/main/ja... | - Removed a message about not able to delete files... We know about these files and they should not be deleted.
git-svn-id: file:///home/projects/httpcache4j/tmp/scm-svn-tmp/trunk@<I> aeef7db8-<I>a-<I>-b<I>-bac<I>ff<I>f6 | httpcache4j_httpcache4j | train |
8769223a4d811a2a3ff077858acfac1d0543d5cb | diff --git a/src/Controller/Plugin/MelisTemplatingPlugin.php b/src/Controller/Plugin/MelisTemplatingPlugin.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Plugin/MelisTemplatingPlugin.php
+++ b/src/Controller/Plugin/MelisTemplatingPlugin.php
@@ -106,9 +106,9 @@ abstract class MelisTemplatingPlugin extends Abstract... | updated for plugin resizing. and removed width for plugins in the BO | melisplatform_melis-engine | train |
0eb2f764227436e24612385a9e2eb85498e5c52e | diff --git a/internal/buffered/command.go b/internal/buffered/command.go
index <HASH>..<HASH> 100644
--- a/internal/buffered/command.go
+++ b/internal/buffered/command.go
@@ -23,24 +23,20 @@ var (
// delayedCommands represents a queue for image operations that are ordered before the game starts
// (BeginFrame). Bef... | internal/buffered: refactoring | hajimehoshi_ebiten | train |
b8f65c89348e374b55605dab39fe5506ddce940d | diff --git a/lib/webmock/rack_response.rb b/lib/webmock/rack_response.rb
index <HASH>..<HASH> 100644
--- a/lib/webmock/rack_response.rb
+++ b/lib/webmock/rack_response.rb
@@ -25,7 +25,7 @@ module WebMock
def build_rack_env(request)
uri = request.uri
- headers = request.headers || {}
+ headers = ... | Fix Rack response mutating request headers | bblimke_webmock | train |
5c396302a2c05b90ec480aebb4b91839d05dffb5 | diff --git a/src/widgets/PjaxAsset.php b/src/widgets/PjaxAsset.php
index <HASH>..<HASH> 100644
--- a/src/widgets/PjaxAsset.php
+++ b/src/widgets/PjaxAsset.php
@@ -23,5 +23,5 @@ namespace hipanel\widgets;
*/
class PjaxAsset extends \yii\widgets\PjaxAsset
{
- public $sourcePath = '@bower/hiqdev-pjax';
+ public ... | Changed dependency from jquery-pjax to yii2-pjax | hiqdev_hipanel-core | train |
eef7ae4b3b911f48585495f94f48ffc9addb6993 | diff --git a/Model/Feedbackstore.php b/Model/Feedbackstore.php
index <HASH>..<HASH> 100644
--- a/Model/Feedbackstore.php
+++ b/Model/Feedbackstore.php
@@ -273,6 +273,24 @@ class Feedbackstore extends AppModel {
$returnobject['result'] = true;
$returnobject['msg'] = __d('feedback_it','Thank you. Your feedback wa... | Issue deeplink added for GitHub, BitBucket, Mantis and filesystem methods. fixes #9 | dereuromark_cakephp-feedback | train |
3357c153a3247ae60e53d77d51bd6e743a67e2ee | diff --git a/src/angular/ngVueLinker.js b/src/angular/ngVueLinker.js
index <HASH>..<HASH> 100644
--- a/src/angular/ngVueLinker.js
+++ b/src/angular/ngVueLinker.js
@@ -3,7 +3,7 @@ import Vue from 'vue'
import getVueComponent from '../components/getVueComponent'
import getPropExprs from '../components/props/getExpressi... | refactor(evaluateValues): support separated props from attrs | ngVue_ngVue | train |
23fae0b451208b1597c996a83a7b5e868de3a3bd | diff --git a/bootstrap/src/main/java/org/kantega/reststop/bootstrap/WindowsServiceInstaller.java b/bootstrap/src/main/java/org/kantega/reststop/bootstrap/WindowsServiceInstaller.java
index <HASH>..<HASH> 100644
--- a/bootstrap/src/main/java/org/kantega/reststop/bootstrap/WindowsServiceInstaller.java
+++ b/bootstrap/src... | Add option to install bootstrap jar as Windows Service
Refactor after code review:
- Exit install if installation is done from a path with space(es)
or --jvmDllPath param is given a path with space(es). | kantega_reststop | train |
fc810b5c2a8703b98d3dc5761c5d387e060fac6e | diff --git a/src/java/com/samskivert/swing/Controller.java b/src/java/com/samskivert/swing/Controller.java
index <HASH>..<HASH> 100644
--- a/src/java/com/samskivert/swing/Controller.java
+++ b/src/java/com/samskivert/swing/Controller.java
@@ -199,19 +199,32 @@ public abstract class Controller
*/
public boole... | Refactored handleAction() to allow the method lookup magic to be used with
non-Swing toolkits.
git-svn-id: <URL> | samskivert_samskivert | train |
af828ba9a921fd77e737dae04c760ce6925e4c14 | diff --git a/lib/cluestr-provider/handlers/init.js b/lib/cluestr-provider/handlers/init.js
index <HASH>..<HASH> 100644
--- a/lib/cluestr-provider/handlers/init.js
+++ b/lib/cluestr-provider/handlers/init.js
@@ -73,14 +73,14 @@ exports.callback = function(connectAccountRetrievePreDatasIdentifier, connectAcc
r... | Finish provider init workflow before trading grant with anyfetch | AnyFetch_anyfetch-provider.js | train |
2ee1717cf52ddb373268bf6f4ab0a8894ce0a1d1 | diff --git a/src/com/google/javascript/jscomp/newtypes/FunctionType.java b/src/com/google/javascript/jscomp/newtypes/FunctionType.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/newtypes/FunctionType.java
+++ b/src/com/google/javascript/jscomp/newtypes/FunctionType.java
@@ -423,7 +423,11 @@ publ... | [NEW TYPE INFERENCE] Don't crash when specializing a loose function.
Specifically, when specializing a loose function with a
non-loose TOP_FUNCTION, make sure that the result is still loose.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
93a8b46683a45fb0ca08bd2a9f8684b2b7b617d6 | diff --git a/base/core/src/main/java/org/openscience/cdk/config/Elements.java b/base/core/src/main/java/org/openscience/cdk/config/Elements.java
index <HASH>..<HASH> 100644
--- a/base/core/src/main/java/org/openscience/cdk/config/Elements.java
+++ b/base/core/src/main/java/org/openscience/cdk/config/Elements.java
@@ -1... | Proposed element names for <I>. | cdk_cdk | train |
cb4703638f017abeb6445bdea64407cb2c69817c | diff --git a/channeldb/graph.go b/channeldb/graph.go
index <HASH>..<HASH> 100644
--- a/channeldb/graph.go
+++ b/channeldb/graph.go
@@ -232,6 +232,71 @@ func NewChannelGraph(db kvdb.Backend, rejectCacheSize, chanCacheSize int,
return g, nil
}
+// channelMapKey is the key structure used for storing channel edge poli... | channeldb: optimize ForEachChannel
In this commit, we modify the implementation of ForEachChannel to
utilize the new kvdb method ForAll. This greatly reduces the number of
round-trips to the database needed to iterate over all channels
in the graph. | lightningnetwork_lnd | train |
cb785c10473e271cddfa64ba14e38364a4e8e64d | diff --git a/claripy/operations.py b/claripy/operations.py
index <HASH>..<HASH> 100644
--- a/claripy/operations.py
+++ b/claripy/operations.py
@@ -97,6 +97,10 @@ def if_simplifier(cond, if_true, if_false):
return if_false.reduced
def concat_simplifier(*args):
+
+ if len(args) == 1:
+ return args[0... | Fix special case in concat where only one args is a list of one element | angr_claripy | train |
294d90fe8dcde195a443b7cf90d4b715c867dcaf | diff --git a/ara/cli/playbook.py b/ara/cli/playbook.py
index <HASH>..<HASH> 100644
--- a/ara/cli/playbook.py
+++ b/ara/cli/playbook.py
@@ -430,6 +430,12 @@ class PlaybookMetrics(Lister):
help=("List playbooks matching the provided name (full or partial)"),
)
parser.add_argument(
+ ... | cli: add missing controller arg to playbook metrics
This provides the ability to get playbook metrics for a specific
controller.
Change-Id: I<I>abfc1bf6ef5e0ceb<I>da4f9a<I>a<I>ab | ansible-community_ara | train |
42f20b2a6a3718e00ae3a8378f13db6582227ba0 | diff --git a/Core/Listener/Page/AddPageContentsListener.php b/Core/Listener/Page/AddPageContentsListener.php
index <HASH>..<HASH> 100644
--- a/Core/Listener/Page/AddPageContentsListener.php
+++ b/Core/Listener/Page/AddPageContentsListener.php
@@ -10,9 +10,9 @@
* file that was distributed with this source code.
*
... | transaction is started only when there are blocks to add | redkite-labs_RedKiteCmsBundle | train |
0f716020a3c6234366905fc43d89c66930a6ac95 | diff --git a/ceph_deploy/tests/test_mon.py b/ceph_deploy/tests/test_mon.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/tests/test_mon.py
+++ b/ceph_deploy/tests/test_mon.py
@@ -15,6 +15,7 @@ def make_fake_conn(receive_returns=None):
conn.return_value = conn
conn.execute = conn
conn.receive = Mock(retur... | fix the connection mock that extends the path | ceph_ceph-deploy | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.