hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
5a44ae2e52c6d80e38fb5415d580145d1da1ba22 | diff --git a/src/utils/transform.js b/src/utils/transform.js
index <HASH>..<HASH> 100644
--- a/src/utils/transform.js
+++ b/src/utils/transform.js
@@ -89,6 +89,10 @@ export const getRSQuery = (componentId, props, execute = true) => {
if (!isSearchComponent(props.componentType) && !props.dataField) {
return null;... | feat: inject endpoint prop from ReactiveBase in every component | appbaseio_reactivecore | train |
0422888cdecaff4420690e78296c8e29ca457a11 | diff --git a/examples/basic.rb b/examples/basic.rb
index <HASH>..<HASH> 100644
--- a/examples/basic.rb
+++ b/examples/basic.rb
@@ -20,7 +20,14 @@ options = {
user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko) Version/7.0 Safari/537.71',
# Use 5 threads
workers: 5,
... | example on how to use overflow management | taganaka_polipus | train |
4ee93bc68891a37890c56cbc6c6a26d89bd3b137 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -102,20 +102,22 @@ var Queue = require('./lib/queue')
// counter.push({ id: 'jim', count: 2 });
// counter.push({ id: 'bob', count: 1 });
-var q = new Queue(function (b, cb) {
- console.log("Pushed %s.", b.join(', '));
- cb(... | Added better batch test. Works pretty well. | diamondio_better-queue | train |
249ed1e859ca433dd8b739aaed1e3f3c2bd0c118 | diff --git a/pkg/k8s/cnpstatus.go b/pkg/k8s/cnpstatus.go
index <HASH>..<HASH> 100644
--- a/pkg/k8s/cnpstatus.go
+++ b/pkg/k8s/cnpstatus.go
@@ -271,6 +271,11 @@ func (c *CNPStatusEventHandler) runStatusHandler(cnpKey string, cnp *types.SlimC
return
}
nodeStatusMap[ev.node] = *ev.CiliumNetworkPolicyNodeSt... | pkg/k8s: don't deadlock in for loop
As the `limit` channel is set to nil if there are no elements in the
`nodeStatusMap`, once new events were received by the
`nodeStatusUpdater.updateChan` the for loop would never exit as there
was a missing checker for `limit` to see if it was nil. | cilium_cilium | train |
6258029a0a800fef1e390a1a4bb888843ad17cf1 | diff --git a/middleware/webhooks.js b/middleware/webhooks.js
index <HASH>..<HASH> 100644
--- a/middleware/webhooks.js
+++ b/middleware/webhooks.js
@@ -8,8 +8,8 @@ module.exports = function createWithWebhook({ secret, shopStore }) {
const shopDomain = request.get('X-Shopify-Shop-Domain');
const generated_has... | Use correct secret and don't assume bodyParser.json | Shopify_shopify-express | train |
fbdcaeb9fc31b57ea2148467de1baf5d5ed39c3f | diff --git a/fastlane/lib/fastlane/runner.rb b/fastlane/lib/fastlane/runner.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/runner.rb
+++ b/fastlane/lib/fastlane/runner.rb
@@ -319,14 +319,23 @@ module Fastlane
end
def set_before_all(platform, block)
+ unless before_all_blocks[platform].nil?
... | Warn user when before_all, after_all or error block overwrite each other (#<I>)
We don't want to fail, as people probably abuse the system somehow and overwrite those blocks. To not introduce a breaking change, but still help users detect this if they did that by mistake, let's show an error message for those cases. | fastlane_fastlane | train |
4158928bad08a878ae8fbbb31075505eea59f91f | diff --git a/master/buildbot/steps/transfer.py b/master/buildbot/steps/transfer.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/steps/transfer.py
+++ b/master/buildbot/steps/transfer.py
@@ -436,7 +436,7 @@ class MultipleFileUpload(_TransferBuildStep):
return self.runUploadCommand(cmd, fileWriter)
d... | Added methods uploadDone and allUploadsDone | buildbot_buildbot | train |
7c9786d52dccf6fe0337718ee7ab16219b313058 | diff --git a/pysat/_meta.py b/pysat/_meta.py
index <HASH>..<HASH> 100644
--- a/pysat/_meta.py
+++ b/pysat/_meta.py
@@ -198,7 +198,7 @@ class Meta(object):
elif self._units_label not in value.keys():
# case of 'units' provided doesn't match up with _units_label
# make it ma... | Makes 'units' and 'long_name' case preserving and insensitive. | rstoneback_pysat | train |
8eb183ac0dd9cc6da08a1617a10e053138183c90 | diff --git a/src/Exceptions/PlatformExceptionHandler.php b/src/Exceptions/PlatformExceptionHandler.php
index <HASH>..<HASH> 100644
--- a/src/Exceptions/PlatformExceptionHandler.php
+++ b/src/Exceptions/PlatformExceptionHandler.php
@@ -9,6 +9,13 @@ use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class... | Do not log nor report Validation Exception | superv_platform | train |
b7a7006c176f90333ea403ee429b3912fad520da | diff --git a/niworkflows/utils/images.py b/niworkflows/utils/images.py
index <HASH>..<HASH> 100644
--- a/niworkflows/utils/images.py
+++ b/niworkflows/utils/images.py
@@ -118,7 +118,7 @@ def dseg_label(in_seg, label, newpath=None):
if newpath is None:
newpath = Path()
- newpath = Path()
+ newpath ... | Update niworkflows/utils/images.py | poldracklab_niworkflows | train |
6a52439e9470ba126813f0a5b5135708bbcec6b4 | diff --git a/lib/substation/chain/dsl.rb b/lib/substation/chain/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/substation/chain/dsl.rb
+++ b/lib/substation/chain/dsl.rb
@@ -56,7 +56,7 @@ module Substation
#
# @api private
def compile_dsl_module
- @registry.each { |(name, builder)| defi... | Avoid unneeded block param destructuring | snusnu_substation | train |
7978c1924e0f59552c0f15383961ca983ad1d3d6 | diff --git a/cli/integration_tests.go b/cli/integration_tests.go
index <HASH>..<HASH> 100644
--- a/cli/integration_tests.go
+++ b/cli/integration_tests.go
@@ -34,19 +34,19 @@ func runAllIntegrationTests(settings delugeclient.Settings) error {
os.Exit(3)
}
defer deluge.Close()
- printServerResponse(c)
+ printServ... | Annotate debug output with method name | gdm85_go-libdeluge | train |
9f174a2a41d4eb80607cf65f03a3c8299c342edc | diff --git a/src/Provider/PDOServiceProvider.php b/src/Provider/PDOServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Provider/PDOServiceProvider.php
+++ b/src/Provider/PDOServiceProvider.php
@@ -64,6 +64,10 @@ class PDOServiceProvider implements ServiceProviderInterface
});
}
+ /**
+ * @p... | add phpdocs and ignore code coverage for empty boot method | csanquer_PdoServiceProvider | train |
463fc03197ec0ccfaba151c245df6b68793a9ff6 | diff --git a/porespy/network_extraction/__getnet__.py b/porespy/network_extraction/__getnet__.py
index <HASH>..<HASH> 100644
--- a/porespy/network_extraction/__getnet__.py
+++ b/porespy/network_extraction/__getnet__.py
@@ -62,8 +62,9 @@ def extract_pore_network(im, dt=None, voxel_size=1):
p_label = sp.zeros((Np, )... | getnet modification for marching cube algorithm area addition | PMEAL_porespy | train |
3c3659628422807305e8be429939ca0977114ca7 | diff --git a/src/Symfony/Component/Routing/Generator/UrlGenerator.php b/src/Symfony/Component/Routing/Generator/UrlGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Routing/Generator/UrlGenerator.php
+++ b/src/Symfony/Component/Routing/Generator/UrlGenerator.php
@@ -263,8 +263,15 @@ class UrlGenerat... | [Routing] Fixed route generation with fragment defined as defaults | symfony_symfony | train |
baf1e6e5383de7aa642f4016d6cb86c3d3dab540 | diff --git a/ocrd/cli/zip.py b/ocrd/cli/zip.py
index <HASH>..<HASH> 100644
--- a/ocrd/cli/zip.py
+++ b/ocrd/cli/zip.py
@@ -30,9 +30,10 @@ def zip_cli():
@click.option('-D', '--manifestation-depth', help="Ocrd-Manifestation-Depth", type=click.Choice(['full', 'partial']), default='partial')
@click.option('-m', '--mets'... | ocrd-zip: option to leave bag unzipped | OCR-D_core | train |
63c1f8ccbf90c8fceade5155cb58288435a257a0 | diff --git a/tests/pytests/functional/states/test_zookeeper.py b/tests/pytests/functional/states/test_zookeeper.py
index <HASH>..<HASH> 100644
--- a/tests/pytests/functional/states/test_zookeeper.py
+++ b/tests/pytests/functional/states/test_zookeeper.py
@@ -59,7 +59,7 @@ def minion_config_overrides(zookeeper_port):
d... | Use the zookeeper image from GHCR | saltstack_salt | train |
8ad8831121b105efdd39b11953ae47f129822054 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -152,6 +152,16 @@ influxdb = InfluxDB::Client.new
influxdb.get_database_user_list(database)
```
+List a database user:
+
+``` ruby
+require 'influxdb'
+
+influxdb = InfluxDB::Client.new
+
+influxdb.get_database_user_in... | Add a method for listing a database user's info | influxdata_influxdb-ruby | train |
1c15e457641402d77aa66b8614c02fa08acbf165 | diff --git a/issue_test.go b/issue_test.go
index <HASH>..<HASH> 100644
--- a/issue_test.go
+++ b/issue_test.go
@@ -96,12 +96,12 @@ func TestIssueService_Update(t *testing.T) {
},
}
issue, _, err := testClient.Issue.Update(i)
- if err != nil {
- t.Errorf("Error given: %s", err)
- }
if issue == nil {
t.Error... | Puts test back how it was... | andygrunwald_go-jira | train |
e83eb2a4b0be0fa2701b220f6127a135574c4967 | diff --git a/lib/perobs/FuzzyStringMatcher.rb b/lib/perobs/FuzzyStringMatcher.rb
index <HASH>..<HASH> 100644
--- a/lib/perobs/FuzzyStringMatcher.rb
+++ b/lib/perobs/FuzzyStringMatcher.rb
@@ -109,22 +109,12 @@ module PEROBS
matches = {}
- # This will be the best possible score for a perfect match.
- ... | Improvements of the fuzzy matching algorithm. | scrapper_perobs | train |
bf5399a64930da272a7b37e8e154f4782d7c161c | diff --git a/biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/SimpleMMcifConsumer.java b/biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/SimpleMMcifConsumer.java
index <HASH>..<HASH> 100644
--- a/biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/SimpleMMcifConsum... | Fixing npe introduced in last commit | biojava_biojava | train |
eef1d34e95f6a4183f29a659c35dedbf6feda1b3 | diff --git a/testing/integration_test.go b/testing/integration_test.go
index <HASH>..<HASH> 100644
--- a/testing/integration_test.go
+++ b/testing/integration_test.go
@@ -50,33 +50,40 @@ const startupTemplate = `
# to stop accounting the VM for billing and cores quota.
trap "sleep 300 && poweroff" EXIT
+retry() {
+... | chore: retry flaky steps in e2e test (#<I>) | googleapis_cloud-profiler-nodejs | train |
6cfaff4781e3aab919da4db04b364a3d5503e2eb | diff --git a/model/consoleState.js b/model/consoleState.js
index <HASH>..<HASH> 100644
--- a/model/consoleState.js
+++ b/model/consoleState.js
@@ -56,18 +56,17 @@ exports.ConsoleState = BaseModel.extend({
// Build an object representing the whole configuration of the server. Useful to spew for documentation.
... | don't modify the permissions when cleaning them | stimulant_ampm | train |
d4b5809f3102a86ee1fdfb09d137ce596ebd37b8 | diff --git a/src/Service/ConfigProvider.php b/src/Service/ConfigProvider.php
index <HASH>..<HASH> 100644
--- a/src/Service/ConfigProvider.php
+++ b/src/Service/ConfigProvider.php
@@ -28,13 +28,13 @@ class ConfigProvider implements \Pimple\ServiceProviderInterface
*/
public function register(App $app)
{
... | fix coding style of closures to comply with PSR2 | SlaxWeb_Bootstrap | train |
4787bb51134054bf172ef5f54831dd052c8fc228 | diff --git a/src/com/google/javascript/jscomp/CodeGenerator.java b/src/com/google/javascript/jscomp/CodeGenerator.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/CodeGenerator.java
+++ b/src/com/google/javascript/jscomp/CodeGenerator.java
@@ -1496,8 +1496,7 @@ class CodeGenerator {
// Objec... | Quote keyword keys in object literals when quoting keywords properties.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
6617c140c37fe1d7b99e1efb8721568ca0dc20ce | diff --git a/src/Routing/Route/Route.php b/src/Routing/Route/Route.php
index <HASH>..<HASH> 100644
--- a/src/Routing/Route/Route.php
+++ b/src/Routing/Route/Route.php
@@ -199,9 +199,13 @@ class Route
$parsed = preg_replace('#/\\\\\*$#', '(?:/(?P<_args_>.*))?', $parsed);
$this->_greedy = true;
... | Add multibytePattern option to Route.
Having an option to enable multibyte pattern support lets people opt-in
to more powerful but slower pattern matching. This also reduces the
chance that this new feature/option could cause issues as it is an
opt-in feature.
Refs #<I> | cakephp_cakephp | train |
942f00c97ba01f86c14544374501c81e3f2bea53 | diff --git a/lib/cuke_sniffer/feature.rb b/lib/cuke_sniffer/feature.rb
index <HASH>..<HASH> 100644
--- a/lib/cuke_sniffer/feature.rb
+++ b/lib/cuke_sniffer/feature.rb
@@ -56,7 +56,7 @@ module CukeSniffer
def split_feature(file_name, feature_lines)
index = 0
- until feature_lines[index].match /Feature... | fixed issue #<I> where an exception was thrown when parsing a feature file that never had a Feature: line | r-cochran_cuke_sniffer | train |
156dcb8ccaa9b1d3e932eb1f36523abfd74b3ae4 | diff --git a/rules/manager.go b/rules/manager.go
index <HASH>..<HASH> 100644
--- a/rules/manager.go
+++ b/rules/manager.go
@@ -743,6 +743,33 @@ func (g *Group) RestoreForState(ts time.Time) {
}
+// Equals return if two groups are the same
+func (g *Group) Equals(ng *Group) bool {
+ if g.name != ng.name {
+ return... | avoid stopping rule groups if new rule groups are as same as old rule… (#<I>)
* avoid stopping rule groups if new rule groups are as same as old rule groups | prometheus_prometheus | train |
bc00490b92e8ceb1b0915b2ff41ac47dbc2c6dc2 | diff --git a/services/meta/client.go b/services/meta/client.go
index <HASH>..<HASH> 100644
--- a/services/meta/client.go
+++ b/services/meta/client.go
@@ -145,10 +145,9 @@ func (c *Client) ClusterID() uint64 {
// Database returns info for the requested database.
func (c *Client) Database(name string) *DatabaseInfo {
... | Don't clone the cached meta store
The cacheData is read-only and does not need to be cloned. Cloning
it for read operations can be expensive with lots of shards/database/RPs/etc. | influxdata_influxdb | train |
ed32e7107f84a7be95c92f31de38b7d77e5da1ac | diff --git a/test/standalone/test_rpc_proxy.py b/test/standalone/test_rpc_proxy.py
index <HASH>..<HASH> 100644
--- a/test/standalone/test_rpc_proxy.py
+++ b/test/standalone/test_rpc_proxy.py
@@ -223,15 +223,18 @@ def test_multiple_calls_to_result(container_factory, rabbit_config):
res.result()
+@skip_if_no... | use toxiproxy to genuinely disconnect instead of mocking | nameko_nameko | train |
2131d03db5a3f4753c50eadfd01c9ff547885a1a | diff --git a/test/integration/service.get_by_id.spec.js b/test/integration/service.get_by_id.spec.js
index <HASH>..<HASH> 100644
--- a/test/integration/service.get_by_id.spec.js
+++ b/test/integration/service.get_by_id.spec.js
@@ -107,7 +107,7 @@ describe('Service', () => {
'color',
'createdAt... | refactor: add missing arrow function | CodeTanzania_majifix-service | train |
ac655968cf324d1ccb7628f92c5facc9430f177e | diff --git a/src/test/java/org/junit/internal/builders/AnnotatedBuilderTest.java b/src/test/java/org/junit/internal/builders/AnnotatedBuilderTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/junit/internal/builders/AnnotatedBuilderTest.java
+++ b/src/test/java/org/junit/internal/builders/AnnotatedBuilderTes... | Add/prevent adding missing type wildcard to Class | junit-team_junit4 | train |
e3f74c32e211c5561e3d12e08027cffe1d71bfd6 | diff --git a/db/doc.go b/db/doc.go
index <HASH>..<HASH> 100644
--- a/db/doc.go
+++ b/db/doc.go
@@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// Package db defines the common Data Broker types, and it is the parent
-// package for Data Bro... | ODPM-<I> update db/doc.go since PutDel has been moved away + FIX golint | ligato_cn-infra | train |
6e694791fbf1e25a79ce61d6317492ca7590898d | diff --git a/tests/unit/modules/virtualenv_test.py b/tests/unit/modules/virtualenv_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/virtualenv_test.py
+++ b/tests/unit/modules/virtualenv_test.py
@@ -26,7 +26,6 @@ from salt.modules import virtualenv_mod
from salt.exceptions import CommandExecutionError
v... | Allow tests to be properly skipped if `mock` is not installed. | saltstack_salt | train |
4e42341c55b0099c29578be3f8e197ac25fe0c97 | diff --git a/src/sap.m/src/sap/m/library.js b/src/sap.m/src/sap/m/library.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/library.js
+++ b/src/sap.m/src/sap/m/library.js
@@ -2524,7 +2524,9 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/Device',
return new sap.m.Input(mConfig);
},
createImage: functio... | [FIX] TableHelper: avoid density aware images in mobile scenario
The property "densityAware" on sap.m.Image modifies the src of the image. This needs to be avoided in case of the Table control since the images are not density aware. Otherwise the images like sort and filter on the Table column will not be found.
Chan... | SAP_openui5 | train |
64d28e2d898e92ea8010742181fb3b3093313200 | diff --git a/resources/views/layouts/columns.blade.php b/resources/views/layouts/columns.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/layouts/columns.blade.php
+++ b/resources/views/layouts/columns.blade.php
@@ -1,7 +1,7 @@
<div class="hbox hbox-auto-xs">
@foreach($manyForms as $key => $column)
... | Add more space between columns (#<I>) | orchidsoftware_platform | train |
b9e4fb417ac12a46813062c17ff87d756c37a5a3 | diff --git a/jgiven-tests/src/test/java/com/tngtech/jgiven/report/html5/Html5AppStage.java b/jgiven-tests/src/test/java/com/tngtech/jgiven/report/html5/Html5AppStage.java
index <HASH>..<HASH> 100644
--- a/jgiven-tests/src/test/java/com/tngtech/jgiven/report/html5/Html5AppStage.java
+++ b/jgiven-tests/src/test/java/com/... | Reformat code in findTagWithName | TNG_JGiven | train |
0f3d56cbf7a85c60d3a307fc698d7392c8271cab | diff --git a/tests/integration/cqlengine/query/test_named.py b/tests/integration/cqlengine/query/test_named.py
index <HASH>..<HASH> 100644
--- a/tests/integration/cqlengine/query/test_named.py
+++ b/tests/integration/cqlengine/query/test_named.py
@@ -12,15 +12,19 @@
# See the License for the specific language governin... | Added tests for PYTHON-<I>. NamedTable tests with materialized views. | datastax_python-driver | train |
af90bcd7abf5ffb1c37dd0cc257118d3f52be0e8 | diff --git a/generators/server/templates/src/main/java/package/config/_DefaultProfileUtil.java b/generators/server/templates/src/main/java/package/config/_DefaultProfileUtil.java
index <HASH>..<HASH> 100644
--- a/generators/server/templates/src/main/java/package/config/_DefaultProfileUtil.java
+++ b/generators/server/t... | enchance: (config) add method to get active profiles | jhipster_generator-jhipster | train |
0f309de7c5020cd19fb1c1762c2b8ffc8c513544 | diff --git a/javalang/ast.py b/javalang/ast.py
index <HASH>..<HASH> 100644
--- a/javalang/ast.py
+++ b/javalang/ast.py
@@ -1,4 +1,4 @@
-import pickle as pickle
+import pickle
import six | Simply import pickle as there is no need to import pickle as pickle. | c2nes_javalang | train |
477633811acbe8c74eb0d66a82d9dd025a4e1e42 | diff --git a/pipenv/cli.py b/pipenv/cli.py
index <HASH>..<HASH> 100644
--- a/pipenv/cli.py
+++ b/pipenv/cli.py
@@ -1006,12 +1006,13 @@ def do_init(
):
"""Executes the init functionality."""
- if not project.virtualenv_exists:
- try:
- do_create_virtualenv()
- except KeyboardInterrupt... | don't run this if --system is provided | pypa_pipenv | train |
a3c76e9468bda3633052021520e438b80f837c1b | diff --git a/src/android/java/io/jxcore/node/ConnectionHelper.java b/src/android/java/io/jxcore/node/ConnectionHelper.java
index <HASH>..<HASH> 100644
--- a/src/android/java/io/jxcore/node/ConnectionHelper.java
+++ b/src/android/java/io/jxcore/node/ConnectionHelper.java
@@ -30,7 +30,7 @@ public class ConnectionHelper
... | Fixed unit tests (<I> % pass rate seen with Nexus 6 devices) and updated the specs: Changed null to 0, since returning nulls as port numbers is trickier and iOS already respects 0 as valid results. | thaliproject_Thali_CordovaPlugin | train |
a604234c4515b20cac99f55de7b430842cd04095 | diff --git a/src/main/java/org/ucmtwine/proxy/ServiceProxy.java b/src/main/java/org/ucmtwine/proxy/ServiceProxy.java
index <HASH>..<HASH> 100755
--- a/src/main/java/org/ucmtwine/proxy/ServiceProxy.java
+++ b/src/main/java/org/ucmtwine/proxy/ServiceProxy.java
@@ -34,11 +34,11 @@ public class ServiceProxy extends Service... | Updated Service proxy to pass through an exception more clearly | tstirrat_ucm-twine | train |
e164213bd15ae049371bcb9492bfa72c41070a4c | diff --git a/core/v2.go b/core/v2.go
index <HASH>..<HASH> 100644
--- a/core/v2.go
+++ b/core/v2.go
@@ -782,7 +782,7 @@ func (core *Core) v2API() *route.Router {
}
var raw map[string]interface{}
- if err = json.Unmarshal([]byte(agent.Metadata), &raw); err != nil {
+ if err := json.Unmarshal([]byte(agent.Metada... | Clean up some poor Go programming lang practices | starkandwayne_shield | train |
055762286132d545cbc064dce645562c0d51532f | diff --git a/src/Illuminate/Mail/Mailer.php b/src/Illuminate/Mail/Mailer.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Mail/Mailer.php
+++ b/src/Illuminate/Mail/Mailer.php
@@ -331,7 +331,7 @@ class Mailer implements MailerContract, MailQueueContract
if (isset($plain)) {
$method = isset($vie... | use single space if plain email is empty | laravel_framework | train |
7d04b83b1c73fcab857793d839ac774f09540126 | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -97,17 +97,13 @@ def classical_split_filter(srcs, srcfilter, gsims, params, monitor):
if not sources:
... | Refined subtasks in tiling [skip CI] | gem_oq-engine | train |
8fc5e5630e6273b1df6a51bc6b79b7253a7902e1 | diff --git a/log/level/doc.go b/log/level/doc.go
index <HASH>..<HASH> 100644
--- a/log/level/doc.go
+++ b/log/level/doc.go
@@ -1,6 +1,6 @@
-// Package level implements leveled logging on top of package log. To use the
-// level package, create a logger as per normal in your func main, and wrap it
-// with level.NewFilt... | Rename "package log" to "log package" to fix godoc link handling. (#<I>)
Fixes #<I>. | go-kit_kit | train |
3deef5345dc0b0bf4015d7caae08c94639880946 | diff --git a/pkg/minikube/notify/notify.go b/pkg/minikube/notify/notify.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/notify/notify.go
+++ b/pkg/minikube/notify/notify.go
@@ -118,7 +118,7 @@ func getLatestVersionFromURL(url string) (semver.Version, error) {
func GetAllVersionsFromURL(url string) (Releases, error... | fix logging calls (#<I>) | kubernetes_minikube | train |
2d7108fcd82e185622171f0a2a6e31c93093eb70 | diff --git a/dropwizard-core/src/main/java/com/yammer/dropwizard/cli/ConfiguredCommand.java b/dropwizard-core/src/main/java/com/yammer/dropwizard/cli/ConfiguredCommand.java
index <HASH>..<HASH> 100644
--- a/dropwizard-core/src/main/java/com/yammer/dropwizard/cli/ConfiguredCommand.java
+++ b/dropwizard-core/src/main/jav... | Make the configuration file optional.
This adds support for when the default configuration is perfectly fine,
and no setting needs to be modified. | dropwizard_dropwizard | train |
a65bd0a0d3a3d607bb12161df7c2b72be59f269d | diff --git a/src/Qiniu/Processing/Operation.php b/src/Qiniu/Processing/Operation.php
index <HASH>..<HASH> 100644
--- a/src/Qiniu/Processing/Operation.php
+++ b/src/Qiniu/Processing/Operation.php
@@ -44,13 +44,13 @@ final class Operation
return array($resp->body, null);
}
- public function buildUrl($k... | Change buildUrl to support https
Add an argument to buildUrl to make it support https | qiniu_php-sdk | train |
da848448c82e45add77f6fb6c85fed891dc94a2b | diff --git a/squad/core/migrations/0070_create_suite_test_and_metric_metadata.py b/squad/core/migrations/0070_create_suite_test_and_metric_metadata.py
index <HASH>..<HASH> 100644
--- a/squad/core/migrations/0070_create_suite_test_and_metric_metadata.py
+++ b/squad/core/migrations/0070_create_suite_test_and_metric_metad... | core: reorganize migration code | Linaro_squad | train |
83ecdfb746d588e144051aada7f5916bd96262ac | diff --git a/vex/__main__.py b/vex/__main__.py
index <HASH>..<HASH> 100755
--- a/vex/__main__.py
+++ b/vex/__main__.py
@@ -26,6 +26,8 @@ class Bot(object):
self._adapters = []
self._adapters.append(Shell(self))
+ self._listeners = []
+
# Read config
#self._logger.debug("Tryi... | add in some simple logic to parse messages | benhoff_vexbot | train |
e016a66d4cdadd553754d61024fa9fc0afe0097e | diff --git a/Branch-SDK/src/io/branch/referral/Branch.java b/Branch-SDK/src/io/branch/referral/Branch.java
index <HASH>..<HASH> 100644
--- a/Branch-SDK/src/io/branch/referral/Branch.java
+++ b/Branch-SDK/src/io/branch/referral/Branch.java
@@ -428,7 +428,8 @@ public class Branch implements BranchViewHandler.IBranchViewE... | Enabling delayed intents for all sdk versions
Since delayed intents handling seem more reliable and not causing any
integration issues adding this to all supported SDK versions.
This will make single route for all `StartSession` process .
This will fix the issue of Strong match url not being kicked from pre M
device | BranchMetrics_android-branch-deep-linking | train |
70df8a6e749e34c71da416769f01c3361efefa60 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -34,6 +34,17 @@ test('run array of promises sequentially', function (t) {
})
})
+test('run array consisting of only one promise', function (t) {
+ t.plan(1)
+
+ return promiseWaterfall([
+ addOne
+ ])
+ .then(functi... | add test for array consisting of one promise | notjrbauer_promise.waterfall | train |
6ee8e40b8c6a28b5363d5b2a3e3e2be0d97bd391 | diff --git a/Bundle/CoreBundle/Resources/public/js/edit/widget.js b/Bundle/CoreBundle/Resources/public/js/edit/widget.js
index <HASH>..<HASH> 100644
--- a/Bundle/CoreBundle/Resources/public/js/edit/widget.js
+++ b/Bundle/CoreBundle/Resources/public/js/edit/widget.js
@@ -81,7 +81,9 @@ $vic(document).on('click', '.vic-wi... | When we submit just a widget, the response is not an array in js | Victoire_victoire | train |
7d144ee74e5117cc13e546a0b423598787de242b | diff --git a/grpclib/server.py b/grpclib/server.py
index <HASH>..<HASH> 100644
--- a/grpclib/server.py
+++ b/grpclib/server.py
@@ -215,18 +215,29 @@ class Stream(StreamIterator):
async def request_handler(mapping, _stream, headers, release_stream):
try:
headers_map = dict(headers)
+
h2_method = ... | Improved invalid requests handling on the server-side | vmagamedov_grpclib | train |
e92059929c01dc6cf4d6743cc4ad33f9afb77164 | diff --git a/mediafile.py b/mediafile.py
index <HASH>..<HASH> 100644
--- a/mediafile.py
+++ b/mediafile.py
@@ -148,9 +148,12 @@ def mutagen_call(action, filename, func, *args, **kwargs):
def loadfile(method=True, writable=False, create=False):
- """Adds error handling to `mutagen._util.loadfile` decorator.
- ... | Expand/clarify some docstrings | beetbox_mediafile | train |
78800e40a9aaaedfb65d2a8799bd6df35ed9512f | diff --git a/ca/django_ca/utils.py b/ca/django_ca/utils.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/utils.py
+++ b/ca/django_ca/utils.py
@@ -257,8 +257,6 @@ def get_subjectAltName(names, cn=None):
"""
values = []
names = sorted(set(names))
- if cn is not None and cn not in names:
- names.... | fix duplicate SAN when cn is also passed as name with DNS: prefix | mathiasertl_django-ca | train |
9c6da9c73f3d36e9e552d61af213bd3ec0146628 | diff --git a/lib/sources/js-source.js b/lib/sources/js-source.js
index <HASH>..<HASH> 100644
--- a/lib/sources/js-source.js
+++ b/lib/sources/js-source.js
@@ -8,6 +8,22 @@ class JsSource extends ParsedSource {
return 'js'
}
+ _findToken(selector) {
+ if (selector.length === 0) {
+ return true
+ }
... | refactor(JsSource): move combination logic into subclass | patrickhulce_nukecss | train |
453a7a85d480d090720c2e194c70ef1ecd350a2c | diff --git a/webservice/lib.php b/webservice/lib.php
index <HASH>..<HASH> 100644
--- a/webservice/lib.php
+++ b/webservice/lib.php
@@ -261,23 +261,60 @@ echo "<xmp>".$code."</xmp>";
$params = array();
$params_desc = array();
- foreach ($function->parameters_desc->keys as $name=>$unused) ... | MDL-<I> added needed function description | moodle_moodle | train |
2be8b9c39002c222cae4b8b98ab554f59310b348 | diff --git a/vm/eval.go b/vm/eval.go
index <HASH>..<HASH> 100644
--- a/vm/eval.go
+++ b/vm/eval.go
@@ -102,9 +102,6 @@ func Eval(r io.Reader, program []Instruction, target Assignable) (err error) {
break
}
break
- case Init:
- frame.Target.Init(inst.Field)
- break
case Enter:
depth += 1
sta... | WIP going to try adding interfaces for assigning | actgardner_gogen-avro | train |
545fd8d9be67dd95678750d9e7e148642844cc3e | diff --git a/code/Taxonomy.php b/code/Taxonomy.php
index <HASH>..<HASH> 100644
--- a/code/Taxonomy.php
+++ b/code/Taxonomy.php
@@ -1,6 +1,6 @@
<?php
-class Taxonomy extends DataObject {
+class Taxonomy extends DataObject implements PermissionProvider {
public static $db = array(
'Name' => 'Varchar(255)'
);
@@... | Adding permissions to taxonomy and term | silverstripe_silverstripe-taxonomy | train |
deaa93a28154e1ef1555c7cefd2ec66e7c9c091a | diff --git a/tmpo.py b/tmpo.py
index <HASH>..<HASH> 100644
--- a/tmpo.py
+++ b/tmpo.py
@@ -251,6 +251,7 @@ class Session():
lastchild = self._lastchild(lvl, bid)
self.dbcur.execute(SQL_TMPO_CLEAN, (sid, rid, lvl - 4, lastchild))
self.dbcon.commit()
+ self._clean(sid, rid, lvl - 4, last... | [clean] clean up tmpo blocks recursively | flukso_tmpo-py | train |
ac9c715947430f9405a5b063be4345d814ab379b | diff --git a/activerecord/lib/active_record/relation/predicate_builder.rb b/activerecord/lib/active_record/relation/predicate_builder.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/relation/predicate_builder.rb
+++ b/activerecord/lib/active_record/relation/predicate_builder.rb
@@ -24,7 +24,9 @@ mod... | passing the quoted id to arel if the object has a quoted id | rails_rails | train |
0f6f8d15461b8057bd3125075b68d2fc961a4278 | diff --git a/icekit/models.py b/icekit/models.py
index <HASH>..<HASH> 100644
--- a/icekit/models.py
+++ b/icekit/models.py
@@ -56,7 +56,12 @@ class FluentFieldsMixin(models.Model):
Add ``layout``, ``contentitem_set`` and ``placeholder_set`` fields so we
can add modular content with ``django-fluent-contents``.... | Add dynamic `related_name` to `layout` field. | ic-labs_django-icekit | train |
1bb0556336ad9dd35f8952515e1725d4a2e7053b | diff --git a/test/example-types/results.js b/test/example-types/results.js
index <HASH>..<HASH> 100644
--- a/test/example-types/results.js
+++ b/test/example-types/results.js
@@ -102,6 +102,7 @@ describe('results', () => {
delete context.exclude
})
it('should highlight additionalFields if showOtherMatches is... | feature/<I> - unit tests for showOtherMatches | smartprocure_contexture-elasticsearch | train |
5ebdf253197c1e80b9927bddfa99f181b1d90bbf | diff --git a/test_docs.py b/test_docs.py
index <HASH>..<HASH> 100644
--- a/test_docs.py
+++ b/test_docs.py
@@ -1,5 +1,8 @@
import os
import sys
+
+from nose.tools import eq_
+
from mock import patch
from moban.main import main
@@ -76,6 +79,14 @@ this demonstrates jinja2's include statement
folder = "leve... | :books: document jinja plugin feature | moremoban_moban-handlebars | train |
47cdeef97491cd5ae1bcc7817fe6ab42516bbe6d | diff --git a/ncluster/aws_backend.py b/ncluster/aws_backend.py
index <HASH>..<HASH> 100644
--- a/ncluster/aws_backend.py
+++ b/ncluster/aws_backend.py
@@ -198,14 +198,14 @@ tmux a
return -1
self._log("tmux> %s", cmd)
- cmd_fn = f'{self.local_scratch}/{self.run_counter}.cmd'
+ cmd_fn = f'{self.remote... | log command lines in the same place as stdout/stderr/status | diux-dev_ncluster | train |
ab889528f12fd61afe2cbf835052b988abeaa6fc | diff --git a/keysmith/__main__.py b/keysmith/__main__.py
index <HASH>..<HASH> 100644
--- a/keysmith/__main__.py
+++ b/keysmith/__main__.py
@@ -3,6 +3,7 @@
import argparse
import math
import string
+import sys
import pkg_resources
@@ -58,8 +59,12 @@ def main(args=None):
'printable': string.printable,
... | Add some error-handling for OSError | dmtucker_keysmith | train |
ae3223e0a237dd2021c16704581345662562b84f | diff --git a/spinoff/util/logging/logging.py b/spinoff/util/logging/logging.py
index <HASH>..<HASH> 100644
--- a/spinoff/util/logging/logging.py
+++ b/spinoff/util/logging/logging.py
@@ -11,7 +11,6 @@ import types
import os
import multiprocessing
from collections import defaultdict
-from Queue import Queue, Empty
f... | Use just locking in logging, instead of the more complex lock+queue mechanism, which (obviously, in retrospective) broke calling frame inspection | eallik_spinoff | train |
568cddd72bf357ff51648b2ea4c5a002c56b16db | diff --git a/app/controllers/LonesomeInterfaceController.java b/app/controllers/LonesomeInterfaceController.java
index <HASH>..<HASH> 100644
--- a/app/controllers/LonesomeInterfaceController.java
+++ b/app/controllers/LonesomeInterfaceController.java
@@ -29,6 +29,9 @@ public class LonesomeInterfaceController extends Ba... | redirect to dashboard if no longer disconnected
fixes #<I> | Graylog2_graylog2-server | train |
ffddb3fef6768ad030884cd1584237da786f6d59 | diff --git a/log.go b/log.go
index <HASH>..<HASH> 100644
--- a/log.go
+++ b/log.go
@@ -322,6 +322,11 @@ func (l *logger) SetCallerSkipDiff(diff uint8) {
skipLevel += int(diff)
}
+// HasHandlers returns if any handlers have been registered.
+func (l *logger) HasHandlers() bool {
+ return len(l.channels) != 0
+}
+
... | Add ability to detect if any handlers are currently registered
- useful for libraries that may want to log when no log handlers registered by the application binary. This can happen when someone is using a different logging library than this one, but the library still needs to log. | go-playground_log | train |
a5ea0dcbc8b9343f6901654ad92de6ece156f954 | diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -4350,13 +4350,13 @@ def _sym_choice_str(sc):
if isinstance(sc, Symbol):
for select, cond in sc.selects:
- select_string = "select " + select.name
+ ... | Use expr_str() to print selected/implied symbols
This is redundant on its own, as only a single symbol can be
selected/implied, meaning just .name will work fine too. It means that
all symbols appearing in the __str__() representation of symbols and
choices are now printed via expr_str() though, which might come in ha... | ulfalizer_Kconfiglib | train |
2bf5df06b207a7aab7d58aaf733a05fb18385fd3 | diff --git a/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java b/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java
index <HASH>..<HASH> 100755
--- a/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java
+++ b/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java
@@ -145,6 +145,19 @@ public c... | don't report STB inside for loops, as too many FPs would occur | mebigfatguy_fb-contrib | train |
b2e81cf4352dea47f00b9b77cdef3ddf5e05ce61 | diff --git a/test/helper.rb b/test/helper.rb
index <HASH>..<HASH> 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,7 +1,7 @@
require "rubygems"
require "bundler/setup"
-require "mocha"
require "minitest/unit"
+require "mocha"
require "active_record"
require 'active_support/core_ext/time/conversions'
@@ -84... | Fixing the mocha load order so Travis builds work again. | norman_friendly_id | train |
44c564cd2cc240a8bc7a2af141c10ab231a5337e | diff --git a/sebastian/core/elements.py b/sebastian/core/elements.py
index <HASH>..<HASH> 100644
--- a/sebastian/core/elements.py
+++ b/sebastian/core/elements.py
@@ -144,7 +144,7 @@ class HSeq(SeqBase):
return x
def __eq__(self, other):
- return self.elements == other.elements
+ retur... | fixed HSeq.__eq__ | jtauber_sebastian | train |
070e146e5a46589414cd0de307b67c9ed149cbe6 | diff --git a/tests/schema/integrations/test_mysql.py b/tests/schema/integrations/test_mysql.py
index <HASH>..<HASH> 100644
--- a/tests/schema/integrations/test_mysql.py
+++ b/tests/schema/integrations/test_mysql.py
@@ -204,7 +204,7 @@ class DatabaseIntegrationConnectionResolver(object):
database = os.environ... | Fixes tests (hopefully) | sdispater_orator | train |
4bf15ce648be15c5efb8711385bca8157c75f0b2 | diff --git a/src/renderer/layer/CanvasRenderer.js b/src/renderer/layer/CanvasRenderer.js
index <HASH>..<HASH> 100644
--- a/src/renderer/layer/CanvasRenderer.js
+++ b/src/renderer/layer/CanvasRenderer.js
@@ -381,22 +381,20 @@ class CanvasRenderer extends Class {
}
completeRender() {
- if (this.getMap(... | update completeRender and add more comments | maptalks_maptalks.js | train |
b10be2ffd034d0c5bf69c4224dc2288400fe8ea6 | diff --git a/gobgp/cmd/common.go b/gobgp/cmd/common.go
index <HASH>..<HASH> 100644
--- a/gobgp/cmd/common.go
+++ b/gobgp/cmd/common.go
@@ -138,11 +138,11 @@ type Destination struct {
func ApiStruct2Destination(dst *gobgpapi.Destination) (*Destination, error) {
paths := make([]*Path, 0, len(dst.Paths))
for _, p := ... | cli: support showing routes which have multple NLRIs | osrg_gobgp | train |
0c43f19d2d4bf795fba4d9c710fb72a375952382 | diff --git a/jgiven-core/src/test/java/com/tngtech/jgiven/impl/ConfigTest.java b/jgiven-core/src/test/java/com/tngtech/jgiven/impl/ConfigTest.java
index <HASH>..<HASH> 100644
--- a/jgiven-core/src/test/java/com/tngtech/jgiven/impl/ConfigTest.java
+++ b/jgiven-core/src/test/java/com/tngtech/jgiven/impl/ConfigTest.java
@... | Fix global logging for test log handler
The test logger uses a non threadsafe static list to record log events that appear on any class to which it is attached.
A static field is not required for the purposes of this class, which is recording log events during a single run of a single test class. In fact it is detrim... | TNG_JGiven | train |
f0048d399cd7ddcd53c99ad57c8ab09d5ab108ec | diff --git a/micrometer-core/src/main/java/io/micrometer/core/instrument/docs/DocumentedMeter.java b/micrometer-core/src/main/java/io/micrometer/core/instrument/docs/DocumentedMeter.java
index <HASH>..<HASH> 100644
--- a/micrometer-core/src/main/java/io/micrometer/core/instrument/docs/DocumentedMeter.java
+++ b/microme... | Updated the DocumentedMeter with KeyName and KeyNames changes | micrometer-metrics_micrometer | train |
8e566cbebdec33d17afb625b77d27c9d00c4dc97 | diff --git a/lib/active_record/connection_adapters/sqlserver/schema_statements.rb b/lib/active_record/connection_adapters/sqlserver/schema_statements.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/connection_adapters/sqlserver/schema_statements.rb
+++ b/lib/active_record/connection_adapters/sqlserver/schema_sta... | [Rails3] Escape reserved words while removing indexes. | rails-sqlserver_activerecord-sqlserver-adapter | train |
3a58bd7f26bc35389c95ac38ec569e57bd8e9d05 | diff --git a/examples/sprites/main.go b/examples/sprites/main.go
index <HASH>..<HASH> 100644
--- a/examples/sprites/main.go
+++ b/examples/sprites/main.go
@@ -20,6 +20,7 @@ import (
"fmt"
_ "image/png"
"log"
+ "math"
"math/rand"
"github.com/hajimehoshi/ebiten"
@@ -29,6 +30,7 @@ import (
const (
screenWid... | examples/sprites: Rotate images (#<I>) | hajimehoshi_ebiten | train |
b0a5a0164dc5566f6032795b9ca3308013b5ed15 | diff --git a/tools/vcli/bw/common/common.go b/tools/vcli/bw/common/common.go
index <HASH>..<HASH> 100644
--- a/tools/vcli/bw/common/common.go
+++ b/tools/vcli/bw/common/common.go
@@ -24,6 +24,8 @@ import (
"strconv"
"strings"
+ "golang.org/x/net/context"
+
"github.com/google/badwolf/tools/vcli/bw/command"
)
... | Refactor bw main to allow easy injection of drivers. | google_badwolf | train |
7ae66c8c09a090ca306d6af6087a16bf701cae0a | diff --git a/package.json b/package.json
index <HASH>..<HASH> 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,11 @@
"scripts": {
"test": "xo && ava"
},
+ "files": [
+ "index.js",
+ "utils.js",
+ "rules"
+ ],
"repository": "jfmengels/eslint-plugin-import-order",
"keywords": [
"es... | Remove lodash.reverse, and reduce npm bundle size | jfmengels_eslint-plugin-import-order | train |
b2405692ed6e7f8c2d9c1fc81e6968572b0cb9b6 | diff --git a/admins/pageflow/entry.rb b/admins/pageflow/entry.rb
index <HASH>..<HASH> 100644
--- a/admins/pageflow/entry.rb
+++ b/admins/pageflow/entry.rb
@@ -179,7 +179,7 @@ module Pageflow
entry = Entry.find(params[:id])
authorize!(:snapshot, entry)
entry.snapshot(creator: current_user, type: 'us... | Redirect to active tab when moddifying revisions
REDMINE-<I> | codevise_pageflow | train |
b778cae91556f8efeff6726ba0658396d31fab91 | diff --git a/lib/ephemeral/base.rb b/lib/ephemeral/base.rb
index <HASH>..<HASH> 100644
--- a/lib/ephemeral/base.rb
+++ b/lib/ephemeral/base.rb
@@ -7,7 +7,7 @@ module Ephemeral
def self.included(base)
base.extend ClassMethods
- base.send(:attr_accessor, :collection)
+ base.send(:attr_accessor, :c... | Ability for a collector to have multiple collections. | CoralineAda_ephemeral | train |
1c24cbd8a784c6360c1c4893463eb4d27914d0fa | diff --git a/tsdb/mapper.go b/tsdb/mapper.go
index <HASH>..<HASH> 100644
--- a/tsdb/mapper.go
+++ b/tsdb/mapper.go
@@ -216,7 +216,7 @@ func (lm *LocalMapper) Open() error {
// No data exists for this key.
continue
}
- seriesTags := lm.shard.index.series[key].Tags
+ seriesTags := lm.shard.index.Ta... | Fix query engine not goroutine safe issue. | influxdata_influxdb | train |
8249786fae9cfc632d1a9e5e6910c8729c29fbce | diff --git a/lib/mongodb/connection/server.js b/lib/mongodb/connection/server.js
index <HASH>..<HASH> 100644
--- a/lib/mongodb/connection/server.js
+++ b/lib/mongodb/connection/server.js
@@ -237,7 +237,7 @@ Server.prototype.connect = function(dbInstance, options, callback) {
dbInstanceObject._removeH... | Fixes for authenication issue | mongodb_node-mongodb-native | train |
f2fa9b7c17f2f1a71f481287dfa6d0bb56bc955e | diff --git a/uploader-facet.js b/uploader-facet.js
index <HASH>..<HASH> 100644
--- a/uploader-facet.js
+++ b/uploader-facet.js
@@ -140,6 +140,7 @@ define(function (require){
FileInfo.prototype.destroy = function(){
fs.unlink(this.file.path);
}
+
FileInfo.prototype.moveAndResize = function (o... | add move and crop with imagemagick in uploader facet | deepjs_autobahn | train |
6caafbd64ee1d885023bfbe9c18f03fda1e8fdad | diff --git a/src/Papper/Internal/NamingHelper.php b/src/Papper/Internal/NamingHelper.php
index <HASH>..<HASH> 100644
--- a/src/Papper/Internal/NamingHelper.php
+++ b/src/Papper/Internal/NamingHelper.php
@@ -6,8 +6,16 @@ class NamingHelper
{
public static function possibleName($memberName, array $prefixes)
{
- $na... | Fixed flattening mapping via getters | idr0id_Papper | train |
7b89e1898faefabb4ec1472abb52e72f09384fb3 | diff --git a/admin/configvars.php b/admin/configvars.php
index <HASH>..<HASH> 100644
--- a/admin/configvars.php
+++ b/admin/configvars.php
@@ -578,7 +578,9 @@ class configvarrss extends configvar {
$stats['statsruntimestart'] = new configvar (get_string('configstatsruntimestart','admin'),
print_time_selecto... | Admin setting for stats: ranked courses get userthreshold | moodle_moodle | train |
d9183d2f4f5b46183c1ccaf1cb583c4b03d022e9 | diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/TaskManagerTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/TaskManagerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/TaskManagerTest.php
+++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/TaskManagerTest.php
@@ -2... | Add tests & Fix task manager tests | alchemy-fr_Phraseanet | train |
7773aff3f79aada097adf010d38d09bd27b79ae8 | diff --git a/examples/common/font.go b/examples/common/font.go
index <HASH>..<HASH> 100644
--- a/examples/common/font.go
+++ b/examples/common/font.go
@@ -19,7 +19,7 @@ package common
import (
"image"
"image/color"
- //"image/draw"
+ "image/draw"
"math"
"github.com/hajimehoshi/ebiten"
@@ -55,6 +55,32 @@ func... | examples/font: Reimplement DrawTextOnImage for examples/keybaord/keybaord | hajimehoshi_ebiten | train |
23f4657986197395d41409276159762245586649 | diff --git a/jquery.colorpicker.js b/jquery.colorpicker.js
index <HASH>..<HASH> 100644
--- a/jquery.colorpicker.js
+++ b/jquery.colorpicker.js
@@ -1655,13 +1655,12 @@
};
this.distance = function(color) {
- var space = 'lab';
- var getter = 'get'+space.toUpperCase();
+ var space = 'lab',
+ g... | Color.equals and Color.distance now take a Color as argument.
Color.distance uses LAB square euclidean method. | vanderlee_colorpicker | train |
c795e52d4eddca7c7124d9143a9a5045f36828b5 | diff --git a/py3s3/__init__.py b/py3s3/__init__.py
index <HASH>..<HASH> 100644
--- a/py3s3/__init__.py
+++ b/py3s3/__init__.py
@@ -1,3 +1,3 @@
__author__ = 'Paul Logston'
__email__ = 'code@logston.me'
-__version__ = '0.2.1'
+__version__ = '0.2.2'
diff --git a/py3s3/files.py b/py3s3/files.py
index <HASH>..<HASH> 10064... | Removed method from S3ContentFile | logston_py3s3 | train |
bd00267503d7fe0ce4105666f0fc3436aa864d20 | diff --git a/src/com/google/javascript/jscomp/CompilerOptions.java b/src/com/google/javascript/jscomp/CompilerOptions.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/CompilerOptions.java
+++ b/src/com/google/javascript/jscomp/CompilerOptions.java
@@ -36,6 +36,9 @@ import java.util.Set;
*/
pub... | Add manageClosureDependencies option back
R=johnlenz
DELTA=4 (4 added, 0 deleted, 0 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train |
004534c07910fd02a0f9f4241d284fd4445cd3c0 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -81,6 +81,18 @@ If you are developing a web application and would like to have the users upload
6. When the user comes back to the redirect_url, you will have an additional query param (to any you may have included) call... | added activate flag to image uploads and image upload docs | vimeo_vimeo.php | train |
3a335ec2d6f1dbdc97f7a5a7808a5daef18b8a8b | diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index <HASH>..<HASH> 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -1749,8 +1749,7 @@ class Auth_OpenID_AuthRequest {
$this->assoc = $assoc;
$this->endpoint =& $endpoint;
$this->return_to_args = array()... | [project @ Auth_OpenID_AuthRequest: simplify message construction] | openid_php-openid | train |
d8bc03546aa16eb4d577474dade31d2f62abcb73 | diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/engine.py
+++ b/openquake/engine/engine.py
@@ -23,6 +23,7 @@ import getpass
import itertools
import logging
import operator
+import tempfile
from contextlib import contextmanager
from datetime im... | Ignore the user-provided export_dir in the context of the engine server | gem_oq-engine | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.