hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
3ed8d9a6689cbb750975c4ad4696e02cb73b94fe | diff --git a/handlers/jobs.js b/handlers/jobs.js
index <HASH>..<HASH> 100644
--- a/handlers/jobs.js
+++ b/handlers/jobs.js
@@ -67,11 +67,6 @@ let handlers = {
* POST Job
*/
postJob(req, res, next) {
- if (!req.hasAccess) {
- let error = new Error('You do not have access to submit jobs... | Replaced redundant auth checks with an auth option | OpenNeuroOrg_openneuro | train |
8a87f04d45d6bb8112b06e5adc8d0e0364b6b010 | diff --git a/peony/__init__.py b/peony/__init__.py
index <HASH>..<HASH> 100644
--- a/peony/__init__.py
+++ b/peony/__init__.py
@@ -12,7 +12,7 @@ __author__ = "Florian Badie"
__author_email__ = "florianbadie@gmail.com"
__url__ = "https://github.com/odrling/peony-twitter"
-__version__ = "0.6.1"
+__version__ = "0.6.2"... | set an explicit timeout for every request | odrling_peony-twitter | train |
22d3087e6b75b11ba6dddb8ff381e80210b88ac6 | diff --git a/salt/utils/data.py b/salt/utils/data.py
index <HASH>..<HASH> 100644
--- a/salt/utils/data.py
+++ b/salt/utils/data.py
@@ -827,7 +827,21 @@ def traverse_dict_and_list(data, key, default=None, delimiter=DEFAULT_TARGET_DEL
else:
try:
ptr = ptr[each]
- except (... | Fix matching of integer keys in nested subdicts | saltstack_salt | train |
3a718ed172764759e18437cb96b6701758e38fad | diff --git a/kernel/private/classes/ezpcontentpublishingprocess.php b/kernel/private/classes/ezpcontentpublishingprocess.php
index <HASH>..<HASH> 100644
--- a/kernel/private/classes/ezpcontentpublishingprocess.php
+++ b/kernel/private/classes/ezpcontentpublishingprocess.php
@@ -189,8 +189,6 @@ class ezpContentPublishin... | Removed unnecessary fclose() on error output | ezsystems_ezpublish-legacy | train |
77114f0128076e8902991c8da728404b9385cbcf | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -723,7 +723,7 @@ function buildCode (location, code, laterCode, name) {
}
const schema = location.schema
- let required = schema.required
+ const required = schema.required || []
Object.keys(schema.properties ||... | refactor: spread root of object required properties (#<I>) | fastify_fast-json-stringify | train |
a33ecab76c0f816c78c2e0835bd5ab884125d195 | diff --git a/src/sb/Request.php b/src/sb/Request.php
index <HASH>..<HASH> 100644
--- a/src/sb/Request.php
+++ b/src/sb/Request.php
@@ -36,19 +36,31 @@ class Request
public $args = Array();
/**
- * The "get" based input arguments from the request e.g. ?dog=cat as an array of key value pairs
+ * The G... | added getData, getPut, getDelete methods | surebert_surebert-framework | train |
4e1b3bf078779b1f0201b5eecd7cd8dfb0ac2536 | diff --git a/lib/hieracles/node.rb b/lib/hieracles/node.rb
index <HASH>..<HASH> 100644
--- a/lib/hieracles/node.rb
+++ b/lib/hieracles/node.rb
@@ -69,9 +69,29 @@ module Hieracles
data = YAML.load_file(File.join(@config.basepath, f))
if data
s = to_shallow_hash(data)
+ s.each do |k,... | preparing major refactor on node.params | Gandi_hieracles | train |
1376ab0bdad14e2ae1ba27319cf1bcc018fd9cb0 | diff --git a/javascript/atoms/frame.js b/javascript/atoms/frame.js
index <HASH>..<HASH> 100644
--- a/javascript/atoms/frame.js
+++ b/javascript/atoms/frame.js
@@ -46,7 +46,8 @@ bot.frame.activeElement = function() {
* Returns a reference to the window object corresponding to the given element.
* Note that the eleme... | StuartKnightley: Make corrections to r<I> based on SimonStewart's comments
r<I> | SeleniumHQ_selenium | train |
6758a36b0400a3b231d39861611216f28af656d7 | diff --git a/tests/TestCase/Http/Cookie/CookieCollectionTest.php b/tests/TestCase/Http/Cookie/CookieCollectionTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/Http/Cookie/CookieCollectionTest.php
+++ b/tests/TestCase/Http/Cookie/CookieCollectionTest.php
@@ -18,6 +18,7 @@ use Cake\Http\Cookie\CookieCollection;
... | Fixing a test to pass on <I> | cakephp_cakephp | train |
5cbfc301e90b83f421c0d688faffdd895ef80fe8 | diff --git a/tests/Propel/Tests/Generator/Builder/Om/GeneratedPeerDoDeleteTest.php b/tests/Propel/Tests/Generator/Builder/Om/GeneratedPeerDoDeleteTest.php
index <HASH>..<HASH> 100644
--- a/tests/Propel/Tests/Generator/Builder/Om/GeneratedPeerDoDeleteTest.php
+++ b/tests/Propel/Tests/Generator/Builder/Om/GeneratedPeerDo... | [Generator] [Tests] Fixed GeneratedPeerDoDeleteTest | propelorm_Propel2 | train |
ecaf3b77ab5742dc3d7e8672f7eba6c6acee2e41 | diff --git a/plugins/saveOnSend.js b/plugins/saveOnSend.js
index <HASH>..<HASH> 100644
--- a/plugins/saveOnSend.js
+++ b/plugins/saveOnSend.js
@@ -31,10 +31,21 @@
});
Espruino.Core.Config.add("SAVE_STORAGE_FILE", {
section : "Communications",
- name : "File in Storage to send to",
+ name : "S... | Add option for what happens after send - do we load the file or not? | espruino_EspruinoTools | train |
662b4586856379f9baf19862721ad99a20e74d13 | diff --git a/flink-streaming-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/ShardConsumer.java b/flink-streaming-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/ShardConsumer.java
index <HASH>..<HASH> 1006... | [FLINK-<I>] Expose shard information in kinesis deserialization schema
This closes #<I> | apache_flink | train |
3444a159659bd743b8a75d3fd88bff3cee871c17 | diff --git a/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.js b/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.js
+++ b/bundles/org.eclipse.orion.client.git/web/git/plugins/gitPlugin.js
@... | Allow shell page to pass command registry to the page target | eclipse_orion.client | train |
7c3e6d4580de34dba8a81794a7e7cac148891dd9 | diff --git a/src/browser/browser-test-runner.js b/src/browser/browser-test-runner.js
index <HASH>..<HASH> 100644
--- a/src/browser/browser-test-runner.js
+++ b/src/browser/browser-test-runner.js
@@ -66,7 +66,19 @@ export function getBrowserSyncConfig(paths, files, options) {
export function runPhantom(url, singleRun... | Adding nicer log message for missing phantomjs-prebuilt | qlik-oss_after-work.js | train |
a669a35f72064426f8b73b0b51881ea0e7d7afa1 | diff --git a/app/Stats.php b/app/Stats.php
index <HASH>..<HASH> 100644
--- a/app/Stats.php
+++ b/app/Stats.php
@@ -3989,6 +3989,7 @@ class Stats
}
$max = 0;
foreach ($rows as $values) {
+ $values->age = (int) $values->age;
if ($max < $values->age) {... | #<I> - Fixed missing type cast (#<I>) | fisharebest_webtrees | train |
7db63bf5f1f84d8f1fd866ead0a37ba387888c6c | diff --git a/sportsref/decorators.py b/sportsref/decorators.py
index <HASH>..<HASH> 100644
--- a/sportsref/decorators.py
+++ b/sportsref/decorators.py
@@ -34,11 +34,13 @@ def switch_to_dir(dirPath):
return decorator
def _cacheValid_pfr(ct, mt, fn):
+ # TODO: this is not comprehensive, can be a problem
#... | simple time-based caching for now. cache functions are complicated | mdgoldberg_sportsref | train |
2eb89260d4d9db8ce836e4eaffe25eac73639e1e | diff --git a/src/frontend/org/voltdb/utils/CSVLoader.java b/src/frontend/org/voltdb/utils/CSVLoader.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/utils/CSVLoader.java
+++ b/src/frontend/org/voltdb/utils/CSVLoader.java
@@ -61,6 +61,7 @@ public class CSVLoader {
private static final AtomicLong inC... | fix the outCount bug, add totalCount, outCount for number of rows sent to DB, totalCount for number of rows read from the csv file | VoltDB_voltdb | train |
7e22b53bae9a429dbcd34beb6b4a3f6796f7688b | diff --git a/app/addons/documents/base.js b/app/addons/documents/base.js
index <HASH>..<HASH> 100644
--- a/app/addons/documents/base.js
+++ b/app/addons/documents/base.js
@@ -106,7 +106,7 @@ FauxtonAPI.registerUrls('bulk_docs', {
FauxtonAPI.registerUrls('revision-browser', {
app: function (id, doc) {
- return ... | Fix: rev browser fails with doc ID with special chars | apache_couchdb-fauxton | train |
3186f5f3f9da4ccc6bba4a4af32d987e6890057f | diff --git a/lib/rectify/presenter.rb b/lib/rectify/presenter.rb
index <HASH>..<HASH> 100644
--- a/lib/rectify/presenter.rb
+++ b/lib/rectify/presenter.rb
@@ -26,9 +26,7 @@ module Rectify
end
def view_context
- @view_context ||= begin
- controller && controller.view_context
- end
+ @vi... | Simplify Presenset#view_context
No need for checking for the presence of the controller since it will be instantiated if nil. | andypike_rectify | train |
494bb77394bc8294c82d039fc9b0765450689017 | diff --git a/bcbio/cwl/create.py b/bcbio/cwl/create.py
index <HASH>..<HASH> 100644
--- a/bcbio/cwl/create.py
+++ b/bcbio/cwl/create.py
@@ -35,6 +35,7 @@ def _cwl_workflow_template(inputs):
cur_inp.pop(attr, None)
ready_inputs.append(cur_inp)
return {"class": "Workflow",
+ "cwlVersi... | CWL: fixes for new checks in cwltool
- Ensure cwlVersion included in workflows
- Simplify run specification
- Place secondary files outside of inputBinding | bcbio_bcbio-nextgen | train |
cd2b94ded464056366d861317572a9d320833f4f | diff --git a/ppb/sprites.py b/ppb/sprites.py
index <HASH>..<HASH> 100644
--- a/ppb/sprites.py
+++ b/ppb/sprites.py
@@ -251,7 +251,7 @@ class BaseSprite(EventMixin):
return self.size / 2
def rotate(self, degrees: Number):
- self.facing.rotate(degrees)
+ self.facing = self.facing.rotate(degr... | sprites.py: Update Sprite.rotate() to actually do something.
It was assuming that Vector.rotate() did an in-place mutation, which
is not the case. | ppb_pursuedpybear | train |
97cb0308546cb59014f5357c627de16648a15b93 | diff --git a/watchtower/wtclient/backup_task.go b/watchtower/wtclient/backup_task.go
index <HASH>..<HASH> 100644
--- a/watchtower/wtclient/backup_task.go
+++ b/watchtower/wtclient/backup_task.go
@@ -1,6 +1,8 @@
package wtclient
import (
+ "fmt"
+
"github.com/btcsuite/btcd/blockchain"
"github.com/btcsuite/btcd/b... | wtclient: error on unknown witness type for backup task | lightningnetwork_lnd | train |
0e7ae0d2eecd239463e6ba13aecb57cb430f7a14 | diff --git a/codec.go b/codec.go
index <HASH>..<HASH> 100644
--- a/codec.go
+++ b/codec.go
@@ -166,16 +166,36 @@ func addressStringToBytes(p Protocol, s string) ([]byte, error) {
binary.BigEndian.PutUint16(b, uint16(i))
return b, nil
- case P_TOR:
- fields := strings.Split(s, ".onion")
- if len(fields) != 2 {... | Renamed tor to onion and added embedded port field | multiformats_go-multiaddr | train |
2c52a85d66d65f0e85b991839d7513b2e2cbc71b | diff --git a/service/s3/s3manager/download.go b/service/s3/s3manager/download.go
index <HASH>..<HASH> 100644
--- a/service/s3/s3manager/download.go
+++ b/service/s3/s3manager/download.go
@@ -240,7 +240,11 @@ func (d *downloader) getTotalBytes() int64 {
return d.totalBytes
}
-// getTotalBytes is a thread-safe sette... | service/s3/s3manager: Fix non-chunked download panic
Fixes a bug when the S3 object being download is not chunked and the
full contents are provided in the response. Content-Range header will
not be provided, and S3 Download manager needs to fallback to
Content-Length instead to get the total length of the object.
Fi... | aws_aws-sdk-go | train |
f2ec9a8eb928c4e3337f067da0c7cb773eee3ddf | diff --git a/remoting/src/main/java/org/jboss/as/remoting/ConnectorAdd.java b/remoting/src/main/java/org/jboss/as/remoting/ConnectorAdd.java
index <HASH>..<HASH> 100644
--- a/remoting/src/main/java/org/jboss/as/remoting/ConnectorAdd.java
+++ b/remoting/src/main/java/org/jboss/as/remoting/ConnectorAdd.java
@@ -37,6 +37,... | Added properties to sub model (fix for JBAS-<I>).
Modified parser to use correct operation for adding new resource.
was: <I>af<I>be7ccbceb1badabb6d<I>bf<I>eadf<I>f7 | wildfly_wildfly-core | train |
a96d65d3bace07ac64b0c2e27dc15d80b4ff0a85 | diff --git a/blocks_vertical/motion.js b/blocks_vertical/motion.js
index <HASH>..<HASH> 100644
--- a/blocks_vertical/motion.js
+++ b/blocks_vertical/motion.js
@@ -55,7 +55,7 @@ Blockly.Blocks['motion_turnright'] = {
*/
init: function() {
this.jsonInit({
- "message0": Blockly.Msg.MOTION_TURNLEFT,
+ ... | Update motion.js
Blockly.Msg.MOTION_TURNRIGHT&Blockly.Msg.MOTION_TURNLEFT was in the wrong place | LLK_scratch-blocks | train |
f5f94bb67dcf169593af80be70108075ef15ca76 | diff --git a/metaseq/array_helpers.py b/metaseq/array_helpers.py
index <HASH>..<HASH> 100644
--- a/metaseq/array_helpers.py
+++ b/metaseq/array_helpers.py
@@ -44,7 +44,7 @@ def _local_count(reader, feature, stranded=False):
def _local_coverage(reader, features, read_strand=None, fragment_size=None,
... | fixes to local coverage, to use new rebin | daler_metaseq | train |
1ec0068682660a72a6d69ce60e3caa8845407226 | diff --git a/industrial_test.py b/industrial_test.py
index <HASH>..<HASH> 100755
--- a/industrial_test.py
+++ b/industrial_test.py
@@ -221,6 +221,10 @@ class SteppedStageAttempt:
failures are typically handled by raising exceptions.
"""
+ @classmethod
+ def factory(cls, upgrade_sequence):
+ ret... | Implement factory method with list of upgrade paths. | juju_juju | train |
7cc81a1f454503ebc77438fa69a8813b03445193 | diff --git a/sublimedsl/keymap.py b/sublimedsl/keymap.py
index <HASH>..<HASH> 100644
--- a/sublimedsl/keymap.py
+++ b/sublimedsl/keymap.py
@@ -58,7 +58,7 @@ from collections import OrderedDict
from copy import deepcopy
from funcy import all_fn, any_fn, complement, iffy, isa, isnone, partial
from funcy import rcompos... | Define __eq__ on Binding and Context | jirutka_sublimedsl | train |
37c2e8a5df30314ceae9b6d621b3812cb39a63fe | diff --git a/docs/scripts/buildApi.js b/docs/scripts/buildApi.js
index <HASH>..<HASH> 100644
--- a/docs/scripts/buildApi.js
+++ b/docs/scripts/buildApi.js
@@ -1,6 +1,7 @@
/* eslint-disable no-console */
import { mkdir, readFileSync, writeFileSync } from 'fs';
+import { EOL } from 'os';
import path from 'path';
im... | [docs] Use found EOL in buildApi.js (#<I>) | mui-org_material-ui | train |
919db914e61cb0dbe6053abaaeb9c1cfed5874c5 | diff --git a/views/default/framework/interactions/comments.php b/views/default/framework/interactions/comments.php
index <HASH>..<HASH> 100644
--- a/views/default/framework/interactions/comments.php
+++ b/views/default/framework/interactions/comments.php
@@ -39,7 +39,16 @@ $offset = get_input($offset_key, null);
$coun... | fix(comments): deep linking no longer breaks sub-threads | hypeJunction_hypeInteractions | train |
1795d2586dcb6195b25e6ef563a15ee61c24e967 | diff --git a/pkg/model/components/etcd.go b/pkg/model/components/etcd.go
index <HASH>..<HASH> 100644
--- a/pkg/model/components/etcd.go
+++ b/pkg/model/components/etcd.go
@@ -40,6 +40,8 @@ const (
DefaultEtcd3Version_1_11 = "3.2.24"
DefaultEtcd3Version_1_13 = "3.2.24"
+
+ DefaultEtcd3Version_1_14 = "3.3.10"
)
... | Default etcd-version to <I> for >= <I>
This is the current recommended etcd version for <I> / <I> | kubernetes_kops | train |
4db7e763814836f6f61e3b638c5deb5c8c217568 | diff --git a/tests/MigrationTest.php b/tests/MigrationTest.php
index <HASH>..<HASH> 100644
--- a/tests/MigrationTest.php
+++ b/tests/MigrationTest.php
@@ -16,7 +16,10 @@ class MigrationTest extends \PHPUnit_Framework_TestCase
$dami = new Dami();
$container = $dami->getContainer();
- $connecti... | During execute tests set an environment to test | czogori_Dami | train |
2514e178b0be3e4f3dbdeeed2e0b6d780de011df | diff --git a/src/test/java/org/springframework/retry/support/RetryTemplateBuilderTest.java b/src/test/java/org/springframework/retry/support/RetryTemplateBuilderTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/springframework/retry/support/RetryTemplateBuilderTest.java
+++ b/src/test/java/org/springframewo... | Fix indents in the RetryTemplateBuilderTest | spring-projects_spring-retry | train |
4f59d897a1e1d5a6d952d650e13b50f6f6394afb | diff --git a/lib/volt/models/validators/phone_number_validator.rb b/lib/volt/models/validators/phone_number_validator.rb
index <HASH>..<HASH> 100644
--- a/lib/volt/models/validators/phone_number_validator.rb
+++ b/lib/volt/models/validators/phone_number_validator.rb
@@ -1,40 +1,19 @@
module Volt
class PhoneNumberVa... | Leverage format validator in the phone validator
- temporarily overrides .new to return a format validator
- this is a first step toward removing the class completely | voltrb_volt | train |
17634340a83afe0cab595e40fbc63f6ffa1d8915 | diff --git a/doc.go b/doc.go
index <HASH>..<HASH> 100644
--- a/doc.go
+++ b/doc.go
@@ -150,7 +150,7 @@
// application's responsibility to check the Origin header before calling
// Upgrade.
//
-// Compression
+// Compression EXPERIMENTAL
//
// Per message compression extensions (RFC 7692) are experimentally support... | Update compression documentation
Add "EXPERIMENTAL" to the compress section header. This change is intended to draw more attention to the status of the feature as stated in the first sentence of the section. This is not a change in the status. | gorilla_websocket | train |
868e6cb48fe903292b2c444ea1fcf43035d06bb7 | diff --git a/eulfedora/scripts/compare-checksums.py b/eulfedora/scripts/compare-checksums.py
index <HASH>..<HASH> 100755
--- a/eulfedora/scripts/compare-checksums.py
+++ b/eulfedora/scripts/compare-checksums.py
@@ -23,6 +23,7 @@ from eulfedora.server import Repository
from getpass import getpass
import logging
from ... | Added signal handler to gracefully quit the process before all pids are processed | emory-libraries_eulfedora | train |
f971375f0c7cb930f10357c2acf3c3650422c763 | diff --git a/dwave_networkx/algorithms/independent_set.py b/dwave_networkx/algorithms/independent_set.py
index <HASH>..<HASH> 100644
--- a/dwave_networkx/algorithms/independent_set.py
+++ b/dwave_networkx/algorithms/independent_set.py
@@ -64,7 +64,7 @@ def maximum_weighted_independent_set(G, weight=None, sampler=None, ... | Rename response function
Add response to end of function name to make it clearly internal | dwavesystems_dwave_networkx | train |
5a945d67b37120610880c3323224a4e86404ae1d | diff --git a/gpflow/mean_functions.py b/gpflow/mean_functions.py
index <HASH>..<HASH> 100644
--- a/gpflow/mean_functions.py
+++ b/gpflow/mean_functions.py
@@ -29,7 +29,7 @@ import numpy as np
import tensorflow as tf
from .base import Module, Parameter
-from .config import default_float
+from .config import default_... | Broadcasting constant and zero mean function (#<I>)
* Broadcasting constant and zero mean function
* Use rank instead of ndim | GPflow_GPflow | train |
f8ae9136efc6e12f936148a3c53412fec5680654 | diff --git a/lxd/instance_exec.go b/lxd/instance_exec.go
index <HASH>..<HASH> 100644
--- a/lxd/instance_exec.go
+++ b/lxd/instance_exec.go
@@ -411,9 +411,9 @@ func (s *execWs) Do(op *operations.Operation) error {
}
}
- exitCode, err := cmd.Wait()
- logger.Debug("Instance process stopped", log.Ctx{"exitCode": exi... | lxd/instance/exec: Use exitStatus rather than exitCode
This better matches the Linux terminology. | lxc_lxd | train |
6a528fbcb51b70d26c3bdd6fd18c671a81171fbf | diff --git a/tests/concurrent_test.py b/tests/concurrent_test.py
index <HASH>..<HASH> 100644
--- a/tests/concurrent_test.py
+++ b/tests/concurrent_test.py
@@ -7,8 +7,36 @@ class Incrementer(object):
''' Increment and return the provided value. '''
return x + 1
+ConcurrentIncrementer = concurrent_cla... | Improved test coverage for concurrent.py module. | marccarre_py_sak | train |
0fe753fcdd9f103a1dc045a8a95dee5ff9932ba2 | diff --git a/lib/how_is.rb b/lib/how_is.rb
index <HASH>..<HASH> 100644
--- a/lib/how_is.rb
+++ b/lib/how_is.rb
@@ -76,6 +76,51 @@ class HowIs
end
##
+ # Generates a series of report files based on a config Hash.
+ #
+ # @param config [Hash] A Hash specifying the formats, locations, etc
+ # of the reports ... | move from_config near more relevant things in lib/how_is.rb | duckinator_inq | train |
0696edf5963f91ebcab679e413bfddf0abd343b0 | diff --git a/lib/rails_db_info/version.rb b/lib/rails_db_info/version.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_db_info/version.rb
+++ b/lib/rails_db_info/version.rb
@@ -1,3 +1,3 @@
module RailsDbInfo
- VERSION = "0.1.2"
+ VERSION = "0.1.3"
end | Bumped version number to <I> | vlado_rails_db_info | train |
cd4e4b9ed804b9d7b87f66aef73fdedb2500dbb0 | diff --git a/src/mixins/mixin.element.js b/src/mixins/mixin.element.js
index <HASH>..<HASH> 100644
--- a/src/mixins/mixin.element.js
+++ b/src/mixins/mixin.element.js
@@ -17,9 +17,10 @@ export default {
},
getNearestForecastTime (datetime) {
+ const interval = this.element.interval || this.forecast.interv... | Added element update properties to override forecast ones | weacast_weacast-core | train |
57ec6d80311c7073f5a2ed71b01b245b1abb428c | diff --git a/src/javascripts/ng-admin/Crud/repository/Queries.js b/src/javascripts/ng-admin/Crud/repository/Queries.js
index <HASH>..<HASH> 100644
--- a/src/javascripts/ng-admin/Crud/repository/Queries.js
+++ b/src/javascripts/ng-admin/Crud/repository/Queries.js
@@ -15,7 +15,6 @@ define(function () {
this.Rest... | Allows to define endpoint for view & entity | marmelab_ng-admin | train |
c18a63859ac1db13d7ddceab65a740832cfe5d5c | diff --git a/lib/jobba/query.rb b/lib/jobba/query.rb
index <HASH>..<HASH> 100644
--- a/lib/jobba/query.rb
+++ b/lib/jobba/query.rb
@@ -15,7 +15,7 @@ class Jobba::Query
end
def count
- run_with_block(&COUNT_STATUSES)
+ _run(COUNT_STATUSES)
end
def empty?
@@ -39,7 +39,7 @@ class Jobba::Query
end
... | queries now run in one redis call\! | openstax_jobba | train |
afdfde712ad4489e58e757cc6bb02d8c755b8420 | diff --git a/ampersand-io-model.js b/ampersand-io-model.js
index <HASH>..<HASH> 100644
--- a/ampersand-io-model.js
+++ b/ampersand-io-model.js
@@ -30,58 +30,64 @@ var IOModel = State.extend({
// the model will be valid when the attributes, if any, are set.
if (attrs && !options.wait) {
if (!this.set(at... | refactored save, finished fetch | sinfo_ampersand-io-model | train |
5c806c44b1ad788bc98b5bd6ed1c7506c4138ec0 | diff --git a/QuickBooks/Driver/Sql.php b/QuickBooks/Driver/Sql.php
index <HASH>..<HASH> 100755
--- a/QuickBooks/Driver/Sql.php
+++ b/QuickBooks/Driver/Sql.php
@@ -676,7 +676,7 @@ abstract class QuickBooks_Driver_Sql extends QuickBooks_Driver
status = '" . QUICKBOOKS_USER_ENABLED . "',
touch_datetime = '" . da... | Missing arguments in enableUser and disableUser.
The _query method requires references to $errnum and $errmsg in addition to the sql. | consolibyte_quickbooks-php | train |
c636b7db0a764cd68bbfef6f7a38c48361e03af3 | diff --git a/lib/savon/model.rb b/lib/savon/model.rb
index <HASH>..<HASH> 100644
--- a/lib/savon/model.rb
+++ b/lib/savon/model.rb
@@ -31,7 +31,7 @@ module Savon
class_action_module.module_eval %{
def #{action.to_s.snakecase}(body = nil, &block)
response = client.request :wsdl, #{action.inspe... | don't memoize the config on the extended model
there were two configs for the model before this change.
the one memoized on the class, used only for the hooks and
the one cloned by the client.
this removes the per-class config. the client wrapped by the
model will inherit the global config at instantiation. | savonrb_savon | train |
43b71a858f8cb087769be23af0dba44ff5350d05 | diff --git a/grpc/rpclog/grpc.go b/grpc/rpclog/grpc.go
index <HASH>..<HASH> 100644
--- a/grpc/rpclog/grpc.go
+++ b/grpc/rpclog/grpc.go
@@ -94,7 +94,7 @@ func StreamClientInterceptor(log ttnlog.Interface) grpc.StreamClientInterceptor
log.Debug("rpc-client: stream starting")
stream, err = streamer(ctx, desc, cc, m... | Add error to "stream failed" log | TheThingsNetwork_go-utils | train |
3d6b4d499d32306505dd2610c6b982cc7cbba825 | diff --git a/src/main/java/com/github/pgasync/impl/conversion/ArrayConversions.java b/src/main/java/com/github/pgasync/impl/conversion/ArrayConversions.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/pgasync/impl/conversion/ArrayConversions.java
+++ b/src/main/java/com/github/pgasync/impl/conversion/Arr... | #9: Fix exception message for not supported primitive arrays. | alaisi_postgres-async-driver | train |
4eaf3259f47810551d842ba02de86a63b15c825b | diff --git a/src/nupic/encoders/date.py b/src/nupic/encoders/date.py
index <HASH>..<HASH> 100644
--- a/src/nupic/encoders/date.py
+++ b/src/nupic/encoders/date.py
@@ -63,13 +63,17 @@ class DateEncoder(Encoder):
forced (default True) : if True, skip checks for parameters' settings; see encoders/scalar.py for detail... | Added hourOfWeek encoder to DateEncoder | numenta_nupic | train |
a6bfdfa9697df25c1e59b3219f2dd96669ca9156 | diff --git a/src/Config/Env.php b/src/Config/Env.php
index <HASH>..<HASH> 100644
--- a/src/Config/Env.php
+++ b/src/Config/Env.php
@@ -3,7 +3,6 @@ declare( strict_types = 1 );
namespace Parsoid\Config;
-// use Closure;
use Composer\Semver\Comparator;
use Composer\Semver\Semver;
use DOMDocument;
@@ -16,7 +15,6 @... | Document pageWithOldid at entrypoint
Follow up to aacd1f3
Change-Id: Ia0c<I>fca<I>a<I>fd9b<I>bd<I>b<I>a<I> | wikimedia_parsoid | train |
db2a30289d9e357d9c164a98b8ebb701b875d23d | diff --git a/unyt/array.py b/unyt/array.py
index <HASH>..<HASH> 100644
--- a/unyt/array.py
+++ b/unyt/array.py
@@ -732,7 +732,6 @@ class unyt_array(np.ndarray):
>>> from unyt import cm, km
>>> length = [3000, 2000, 1000]*cm
>>> length.convert_to_units('m')
- unyt_array([30., 20., 10.],... | Make in-place conversion methods not return anything | yt-project_unyt | train |
613d848c5e0ca4b5d46300135526ae4071c4a8ed | diff --git a/app/code/community/Nexcessnet/Turpentine/Model/Observer/Esi.php b/app/code/community/Nexcessnet/Turpentine/Model/Observer/Esi.php
index <HASH>..<HASH> 100644
--- a/app/code/community/Nexcessnet/Turpentine/Model/Observer/Esi.php
+++ b/app/code/community/Nexcessnet/Turpentine/Model/Observer/Esi.php
@@ -167,1... | sort the esi data keys before serialization | nexcess_magento-turpentine | train |
894b59fa0bda1c57342dd69de54d24d9a8c06aa6 | diff --git a/lib/sshkit/backends/connection_pool.rb b/lib/sshkit/backends/connection_pool.rb
index <HASH>..<HASH> 100644
--- a/lib/sshkit/backends/connection_pool.rb
+++ b/lib/sshkit/backends/connection_pool.rb
@@ -78,10 +78,12 @@ class SSHKit::Backend::ConnectionPool
end
end
- private
+ protected
attr... | ruby doesn't like private attr_readers | capistrano_sshkit | train |
92215611df4a789f5c6617c56949f20a52837a76 | diff --git a/src/guake/guake_app.py b/src/guake/guake_app.py
index <HASH>..<HASH> 100644
--- a/src/guake/guake_app.py
+++ b/src/guake/guake_app.py
@@ -679,6 +679,22 @@ class Guake(SimpleGladeApp):
return dest_screen
+ def is_using_unity(self):
+ linux_distrib = platform.linux_distribution()
+ ... | Move unity detection to proper method Fix #<I> | Guake_guake | train |
92792e472cf5c5084bb43b9549772a37e3c61149 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -224,7 +224,7 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'Airflow.tex', u'Airflow Documentation',
- u'Maxime Beauchemin', 'manual'),
+ ... | [AIRFLOW-<I>] set docs author to 'Apache Airflow' | apache_airflow | train |
2faee102fad94e5d37727cd6bf433004fc9389aa | diff --git a/tests/test_expressions.py b/tests/test_expressions.py
index <HASH>..<HASH> 100644
--- a/tests/test_expressions.py
+++ b/tests/test_expressions.py
@@ -288,6 +288,7 @@ def test_divide_expression():
assert(output(s) == exp)
+@pytest.mark.xfail
def test_escaped_string():
"""
http://mapserve... | Temporarily fail escaped strings | geographika_mappyfile | train |
965ae1d5669e2468a2bfe910b6b5ca7446ef9f74 | diff --git a/src/Render/PlasticRender.php b/src/Render/PlasticRender.php
index <HASH>..<HASH> 100644
--- a/src/Render/PlasticRender.php
+++ b/src/Render/PlasticRender.php
@@ -25,7 +25,7 @@ class PlasticRender extends AbstractRender implements RenderInterface
*/
public function getSupportedFormats()
{
- ... | Alias svg as a Plastic Render | AltThree_Badger | train |
9a43dc3c16f4326f45789f5364e0e4ff6e575369 | diff --git a/endless_pagination/models.py b/endless_pagination/models.py
index <HASH>..<HASH> 100644
--- a/endless_pagination/models.py
+++ b/endless_pagination/models.py
@@ -4,6 +4,7 @@ from django.template import (
Context,
loader,
)
+from django.utils.encoding import iri_to_uri
from endless_pagination ... | Fix JavaScript pagination on path containing white spaces. | frankban_django-endless-pagination | train |
a0a28368d743538447f28ee8fa59251e4eb76276 | diff --git a/src/ErrorHandler.php b/src/ErrorHandler.php
index <HASH>..<HASH> 100644
--- a/src/ErrorHandler.php
+++ b/src/ErrorHandler.php
@@ -10,12 +10,12 @@
* @license https://opensource.org/licenses/MIT - The MIT License (MIT)
* @version 1.0.0
* @link https://github.com/Josantonius/PHP-ErrorHandler... | Error code changed in throws | Josantonius_PHP-ErrorHandler | train |
37c134bf0bd7d184c0000bbab4a47fd78de6cfaf | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,7 @@
* [#2691](https://github.com/bbatsov/rubocop/pull/2691): Do not register an offense in `Performance/TimesMap` for calling `map` or `collect` on a variable named `times`. ([@rrosenblum][])
* [#2... | [Fix #<I>] Ignore nested method definitions in Class.new/Module.new
Such method definitions syntactically appear nested, but are in fact
not, since `Class.new` is implemented using `class_eval` and thus the
nested definition defines a method on the new class, not the enclosing
one. In a similar way, `Module.new` is im... | rubocop-hq_rubocop | train |
387ed4a0a35dcf7f574ac8d02f9c9edaf1a9084f | diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/CustomAuthenticatorFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/CustomAuthenticatorFactory.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Fact... | Removed "services" prototype node from "custom_authenticator" | symfony_symfony | train |
06b6e1a7d6c46578f74b73103620606a2b464e52 | diff --git a/test/Krizalys/Onedrive/ClientTest.php b/test/Krizalys/Onedrive/ClientTest.php
index <HASH>..<HASH> 100644
--- a/test/Krizalys/Onedrive/ClientTest.php
+++ b/test/Krizalys/Onedrive/ClientTest.php
@@ -670,6 +670,36 @@ namespace Test\Krizalys\Onedrive
$actual = $arguments['value'];
$t... | Added test for Client::fetchCameraRoll() | krizalys_onedrive-php-sdk | train |
a8be5479c1c10212d9c9da8707b89a504e3979f0 | diff --git a/lib/helper/WebDriverIO.js b/lib/helper/WebDriverIO.js
index <HASH>..<HASH> 100644
--- a/lib/helper/WebDriverIO.js
+++ b/lib/helper/WebDriverIO.js
@@ -224,7 +224,7 @@ class WebDriverIO extends Helper {
_startBrowser() {
if (this.options.multiremote) {
- this.browser = webdriverio.multiremote(... | fix(webdriverio): missing init for multiremote (#<I>) | Codeception_CodeceptJS | train |
398babed52ec24e99b1316c746bf079ccbb9cca8 | diff --git a/explorer/schema.py b/explorer/schema.py
index <HASH>..<HASH> 100644
--- a/explorer/schema.py
+++ b/explorer/schema.py
@@ -34,20 +34,6 @@ def connection_schema_cache_key(connection_alias):
def schema_info(connection_alias):
- """
- Construct schema information via engine-specific queries of the t... | different patching for 2 vs 3 | groveco_django-sql-explorer | train |
a1c4b285c1553c70b316d2af4426813b213fd6bf | diff --git a/cloud_browser/cloud/rackspace.py b/cloud_browser/cloud/rackspace.py
index <HASH>..<HASH> 100644
--- a/cloud_browser/cloud/rackspace.py
+++ b/cloud_browser/cloud/rackspace.py
@@ -1,5 +1,5 @@
"""Rackspace cloud wrapper."""
-from datetime import datetime, timedelta
+from datetime import datetime
try:
... | Rackspace: Fix last_modified date string parsing as the results are different from get object and object infos. | ryan-roemer_django-cloud-browser | train |
cd6ae8f865c45ed24249b9276696c2d64d49b9dc | diff --git a/lib/callback.js b/lib/callback.js
index <HASH>..<HASH> 100644
--- a/lib/callback.js
+++ b/lib/callback.js
@@ -5,7 +5,6 @@
var ref = require('ref')
, CIF = require('./cif')
- , CallbackType = require('./callback_type')
, assert = require('assert')
, debug = require('debug')('ffi:Callback')
,... | callback: remove require to a file that doesn't exist | node-ffi-napi_node-ffi-napi | train |
e1beeb7217dd3a305d49852cc276032dfc53a9e9 | diff --git a/openstack_dashboard/dashboards/identity/projects/workflows.py b/openstack_dashboard/dashboards/identity/projects/workflows.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/identity/projects/workflows.py
+++ b/openstack_dashboard/dashboards/identity/projects/workflows.py
@@ -35,8 +35,7 @@... | don't need to 'import identity' as the same name 'identity'
Change-Id: Ib8c0a<I>f<I>c<I>a<I>e3cf<I>e<I>ab3e4ab<I> | openstack_horizon | train |
6597988c84516768b587c297f43eff6d7834c7a5 | diff --git a/src/main/config/secor.common.properties b/src/main/config/secor.common.properties
index <HASH>..<HASH> 100644
--- a/src/main/config/secor.common.properties
+++ b/src/main/config/secor.common.properties
@@ -291,3 +291,7 @@ secor.parser.timezone=UTC
# Transformer class that transform message accordingly. ... | #<I> Add parameter to control prefixing md5hash to the s3 path for better partitioning of data | pinterest_secor | train |
acb0971c51b83a43e5d7509afdedcc1eae423e27 | diff --git a/Classes/Form/FormTrait.php b/Classes/Form/FormTrait.php
index <HASH>..<HASH> 100644
--- a/Classes/Form/FormTrait.php
+++ b/Classes/Form/FormTrait.php
@@ -13,8 +13,6 @@
namespace Romm\Formz\Form;
-use Romm\Formz\Configuration\Form\Form;
-
/**
* This trait should be used by default to implement all t... | [TASK] Delete old code | romm_formz | train |
c1b30fa07aa00ec3ed6f757a4fe5ebba1d0a2361 | diff --git a/closure/goog/html/safehtml_test.js b/closure/goog/html/safehtml_test.js
index <HASH>..<HASH> 100644
--- a/closure/goog/html/safehtml_test.js
+++ b/closure/goog/html/safehtml_test.js
@@ -123,7 +123,7 @@ function testSafeHtmlCreate() {
assertSameHtml('<br>', br);
assertSameHtml('<span title=""">... | Quote property names in test.
(To enforce they are not minified.)
-------------
Created by MOE: <URL> | google_closure-library | train |
f24a6dd512590866b664d8d808f26f08c0779cb3 | diff --git a/test/legacy/main.js b/test/legacy/main.js
index <HASH>..<HASH> 100644
--- a/test/legacy/main.js
+++ b/test/legacy/main.js
@@ -86,3 +86,25 @@ testArbitrary(
}
)
);
+testArbitrary(
+ fc.letrec(function(tie) {
+ return {
+ tree: fc.oneof(tie('node'), tie('leaf'), tie('leaf')),
+ ... | Check letrec/memo are compatible with node <I> (#<I>) | dubzzz_fast-check | train |
d958dc3077fcbfaa4a6af8488b721ed1ad8a2dde | diff --git a/src/js/core/height-match.js b/src/js/core/height-match.js
index <HASH>..<HASH> 100644
--- a/src/js/core/height-match.js
+++ b/src/js/core/height-match.js
@@ -59,7 +59,7 @@ export default function (UIkit) {
},
- events: ['resize']
+ events: ['load', 'resize']
... | Fix height-match not working on initial page load
The uk-height-match attribute does not work on the initial page load, only when the browser window is resized. | uikit_uikit | train |
414900d40a61418d7e64a350748da433a9bd6a39 | diff --git a/pymatgen/io/xtb/outputs.py b/pymatgen/io/xtb/outputs.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/xtb/outputs.py
+++ b/pymatgen/io/xtb/outputs.py
@@ -153,7 +153,6 @@ class CRESTOutput(MSONable):
self.filename = output_filename
self.cmd_options = dict()
self.data = dict()
- ... | Added charge to parsing mol
Decorated output pmg mol with charge | materialsproject_pymatgen | train |
2f282a00ccdb36ddaa5e04a2a01c15bdc454a64c | diff --git a/pupa/settings.py b/pupa/settings.py
index <HASH>..<HASH> 100644
--- a/pupa/settings.py
+++ b/pupa/settings.py
@@ -7,7 +7,7 @@ import dj_database_url
DATABASE_URL = os.environ.get('DATABASE_URL', 'postgis://pupa:pupa@localhost/opencivicdata')
SECRET_KEY = 'non-secret'
INSTALLED_APPS = ('django.contrib.co... | typo in INSTALLED_APPS | opencivicdata_pupa | train |
d5b015794db8bd39aee5085ad6f4c946bfe08d91 | diff --git a/structr-ui/src/main/resources/structr/js/crud.js b/structr-ui/src/main/resources/structr/js/crud.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/crud.js
+++ b/structr-ui/src/main/resources/structr/js/crud.js
@@ -948,11 +948,11 @@ var _Crud = {
}
},
crudExport: function(... | Improvement: Use CSV servlet for CSV export instead of replicating the same functionality in javascript | structr_structr | train |
bd175891f1b6e97f3e6942d1ddc87ee4d00baedf | diff --git a/tests/test_command.py b/tests/test_command.py
index <HASH>..<HASH> 100644
--- a/tests/test_command.py
+++ b/tests/test_command.py
@@ -7,7 +7,7 @@ from pygount import command
class PygountCommandTest(unittest.TestCase):
- def test_can_show_version(self):
+ def test_can_show_help(self):
t... | Fixed shadowed test caused by duplicate method name. | roskakori_pygount | train |
c7d0a51a45db536da566b1370d795c9901280ee0 | diff --git a/lib/Account.php b/lib/Account.php
index <HASH>..<HASH> 100644
--- a/lib/Account.php
+++ b/lib/Account.php
@@ -53,6 +53,17 @@ class Account extends ApiResource
* @param array|null $params
* @param array|string|null $opts
*
+ * @return Account The deleted account.
+ */
+ public f... | Added the ability to delete an account | stripe_stripe-php | train |
3914ef3b0312c4bc79f1e3ad238feefebcd255a9 | diff --git a/examples/windows.rb b/examples/windows.rb
index <HASH>..<HASH> 100644
--- a/examples/windows.rb
+++ b/examples/windows.rb
@@ -72,6 +72,14 @@ routines do
end
+ upload_config do
+ remote do
+ disable_safe_mode
+ puts "Uploading rudy config"
+ file_upload '~/.rudy/config'
+ en... | Explicitly tell Rye what the machine OS is | solutious_rudy | train |
476e3292087a659a7176a67289873ee01e637477 | diff --git a/acts_as_revisable.gemspec b/acts_as_revisable.gemspec
index <HASH>..<HASH> 100644
--- a/acts_as_revisable.gemspec
+++ b/acts_as_revisable.gemspec
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--main", "README.rdoc"]
s.summary = "acts_as_revisable enables revision tracking, querying... | add reverting_to and reverting_from methods for easy access to the respective objects during callbacks | rich_acts_as_revisable | train |
d70c6859d783ffafeb4d554eda2f08c8fd9a011f | diff --git a/umap/umap_.py b/umap/umap_.py
index <HASH>..<HASH> 100644
--- a/umap/umap_.py
+++ b/umap/umap_.py
@@ -215,6 +215,36 @@ def nearest_neighbors(X, n_neighbors, metric, metric_kwds, angular,
@numba.njit(parallel=True)
def compute_membership_strengths(knn_indices, knn_dists, sigmas, rhos):
+ """Construct... | docstring for compute_membership_strength | lmcinnes_umap | train |
498cc1cdbe3c8e50326f0c6e07b979cb464b9490 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,55 +6,56 @@ import sys
from setuptools import setup
if sys.argv[-1] == 'publish':
- os.system('python setup.py sdist upload')
- sys.exit()
+ os.system('python setup.py sdist upload')
+ sys.exit()
PACKAGES = [... | Add nose to setup.py and update indentation | sky-shiny_smolder | train |
bf84e35eabd2ba1b579db1913f7cbcfee3cfb2c1 | diff --git a/spec/unit/settings_spec.rb b/spec/unit/settings_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/settings_spec.rb
+++ b/spec/unit/settings_spec.rb
@@ -569,6 +569,13 @@ describe Puppet::Settings do
@settings.preferred_run_mode.should == :user
end
+ it "interpolates a boolean false withou... | (maint) Add test for interpolation of setting having false value | puppetlabs_puppet | train |
824fe5485c1a06fe6b6a4afdec04b51ed3e7fa5e | diff --git a/src/Query/LaravelWriteQuery.php b/src/Query/LaravelWriteQuery.php
index <HASH>..<HASH> 100644
--- a/src/Query/LaravelWriteQuery.php
+++ b/src/Query/LaravelWriteQuery.php
@@ -60,8 +60,11 @@ class LaravelWriteQuery extends LaravelBaseQuery
protected function createUpdateDeleteProcessOutput(JsonResponse ... | Simplify write-output checking | Algo-Web_POData-Laravel | train |
8374d9b5b3efdfd1b825f3fd5e15235adf8ba214 | diff --git a/kie-remote/kie-remote-client/src/main/java/org/kie/services/client/api/command/AbstractRemoteCommandObject.java b/kie-remote/kie-remote-client/src/main/java/org/kie/services/client/api/command/AbstractRemoteCommandObject.java
index <HASH>..<HASH> 100644
--- a/kie-remote/kie-remote-client/src/main/java/org/... | JBPM-<I> - Make commands that contain a "process instance id" field implement the ProcessInstanceIdCommand interface | kiegroup_droolsjbpm-integration | train |
df806a2fb13756960ddcd1b106ef9dab1295d946 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@
</summary>
### Minor
+* Video: Added new `onSeek` callback prop to `Video` component (#209)
* Internal: Remove dead example code from docs (#211)
* Internal: Fix react router dependencies (... | New onSeek event for Video (#<I>)
* feat: add new onSeek prop for seeked event callback
* Changelog | pinterest_gestalt | train |
9a61cdf32c36782d0b2ddf925204ca793495f37f | diff --git a/lib/zendesk_apps_support/package.rb b/lib/zendesk_apps_support/package.rb
index <HASH>..<HASH> 100644
--- a/lib/zendesk_apps_support/package.rb
+++ b/lib/zendesk_apps_support/package.rb
@@ -194,6 +194,10 @@ module ZendeskAppsSupport
File.exist?(css_file) ? File.read(css_file) : ''
end
+ de... | file_path can't be private | zendesk_zendesk_apps_support | train |
81735039a92968601252c1e8458fb63fdbb4e9bf | diff --git a/salt/modules/genesis.py b/salt/modules/genesis.py
index <HASH>..<HASH> 100644
--- a/salt/modules/genesis.py
+++ b/salt/modules/genesis.py
@@ -32,8 +32,14 @@ def __virtual__():
return True
-def bootstrap(platform, root, img_format='dir', fs_format='ext2', arch=None,
- flavor=None, repo... | verticalize modules.genesis.bootstrap params since there are so many | saltstack_salt | train |
db86e5a1ce57e1fc8829e7e84313c19d9bd42c5c | diff --git a/addon/components/course-overview.js b/addon/components/course-overview.js
index <HASH>..<HASH> 100644
--- a/addon/components/course-overview.js
+++ b/addon/components/course-overview.js
@@ -19,7 +19,7 @@ export default class CourseOverview extends Component {
@BeforeDate('endDate', { granularity: 'day'}... | increases number of available course level options. | ilios_common | train |
f1490782cad9812a6d5e6762708707732220ac7d | diff --git a/ghost/admin/app/components/members/filter.js b/ghost/admin/app/components/members/filter.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/app/components/members/filter.js
+++ b/ghost/admin/app/components/members/filter.js
@@ -23,7 +23,7 @@ const FILTER_PROPERTIES = [
// {label: 'Tier', name: 'tier', g... | Changed "Start date" to "Paid start date" in members filter dropdown
no issue
- clearer name and matches table column header | TryGhost_Ghost | train |
80f7373f656de408ea570a8fcd6db0474a7bfc0e | diff --git a/classes/PodsData.php b/classes/PodsData.php
index <HASH>..<HASH> 100644
--- a/classes/PodsData.php
+++ b/classes/PodsData.php
@@ -1914,13 +1914,9 @@ class PodsData {
unset( $q[ 'compare' ] );
}
-
- foreach ( $q as $the_q ) {
- $new_q... | Simplification of $new_q value handling | pods-framework_pods | train |
0125e5828ff08cb4d33cded65788df23e44182bf | diff --git a/ethereum/testutils.py b/ethereum/testutils.py
index <HASH>..<HASH> 100644
--- a/ethereum/testutils.py
+++ b/ethereum/testutils.py
@@ -122,21 +122,12 @@ def run_vm_test(params, mode):
ext = pb.VMExt(blk, tx)
- def call_wrapper(msg):
+ def msg_wrapper(msg):
ext.set_balance(msg.sender,... | Removed value transfer in vm tests | ethereum_pyethereum | train |
a6b46115d0017be845fcf18a9fbdd8dffb3d7ce3 | diff --git a/src/main/com/mongodb/util/XSON.java b/src/main/com/mongodb/util/XSON.java
index <HASH>..<HASH> 100644
--- a/src/main/com/mongodb/util/XSON.java
+++ b/src/main/com/mongodb/util/XSON.java
@@ -60,7 +60,7 @@ public class XSON extends DefaultHandler {
put("array", ArrayHandler.class);
... | XSON : proper full string and null handling in xson | mongodb_mongo-java-driver | train |
3c7164846d05d703076c7e32cba2a163cd675111 | diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go
index <HASH>..<HASH> 100644
--- a/cmd/syncthing/gui.go
+++ b/cmd/syncthing/gui.go
@@ -615,8 +615,14 @@ func (s *apiService) getDBFile(w http.ResponseWriter, r *http.Request) {
qs := r.URL.Query()
folder := qs.Get("folder")
file := qs.Get("file")
- gf, _ := ... | Return "No such object in the index" when /rest/db/file gets called on something that doesn't exist
Better than the confusing result of getting a blank fileinfo that looks
valid apart from being all crap. | syncthing_syncthing | train |
524225c68caa59d71fa86fa738d80770fec90802 | diff --git a/test/test-validators.js b/test/test-validators.js
index <HASH>..<HASH> 100644
--- a/test/test-validators.js
+++ b/test/test-validators.js
@@ -94,7 +94,7 @@ exports.url = function (test) {
test.equals(err, 'Please enter a valid URL.');
validators.url(true)('form', {data: 'h... | Fixing improper handling of parallel test cases. | caolan_forms | train |
5784d86634541dd9d0029ab879415115018c942f | diff --git a/lib/tasks/cordova-raw.js b/lib/tasks/cordova-raw.js
index <HASH>..<HASH> 100644
--- a/lib/tasks/cordova-raw.js
+++ b/lib/tasks/cordova-raw.js
@@ -3,9 +3,13 @@
var Task = require('./-task');
var cordovaRun = require('../utils/cordova-run');
var cordovaProj = require('cordova-lib').cor... | feat(cordova-raw): pass cordova errors to user | isleofcode_ember-cordova | train |
bdf34dca8eebf8f51ba176573e6df98ff52f4096 | diff --git a/Doctrine/Cache/RedisCache.php b/Doctrine/Cache/RedisCache.php
index <HASH>..<HASH> 100644
--- a/Doctrine/Cache/RedisCache.php
+++ b/Doctrine/Cache/RedisCache.php
@@ -125,7 +125,7 @@ class RedisCache implements Cache
public function deleteAll()
{
$ids = $this->getIds();
-
+
... | Updated RedisCache for current doctrine/common master branch. | snc_SncRedisBundle | train |
9b7188fc1eef6acef9d56b434509416db209521d | diff --git a/src/Illuminate/View/View.php b/src/Illuminate/View/View.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/View/View.php
+++ b/src/Illuminate/View/View.php
@@ -96,6 +96,38 @@ class View implements ArrayAccess, Renderable {
return $contents;
}
+
+ /**
+ * Get the sections from the view.
+ *
+ *... | Added renderSections() method.
I found that is impossible to get template sections from a View object
so I made it possible. This is good expecially when AJAX comes into
play.
Since the property 'section' is updated once the View has been rendered,
the correct usage is that:
```php
$view = View::make('pages');
$secti... | laravel_framework | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.