hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
b4b1ef52173955cfa717dc29bac4de263dfb2ae0 | diff --git a/js/myr.js b/js/myr.js
index <HASH>..<HASH> 100644
--- a/js/myr.js
+++ b/js/myr.js
@@ -170,6 +170,13 @@ let Myr = function(canvasElement) {
this._01 *= x;
this._11 *= y;
};
+
+ const setAttributesUv= (attributes, uvLeft, uvTop, uvRight, uvBottom) => {
+ attributes[0] = uvLe... | Created drawTransformed function for Surface | jobtalle_myr.js | train |
995745786190bcd76aef23869dea80f135c9c5f9 | diff --git a/nodeconductor/backup/admin.py b/nodeconductor/backup/admin.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/backup/admin.py
+++ b/nodeconductor/backup/admin.py
@@ -7,6 +7,8 @@ class BackupAdmin(admin.ModelAdmin):
readonly_fields = ('created_at', 'kept_until',)
list_filter = ('uuid', 'state', 'c... | Fix emitting of backup schedule deletion logs
- NC-<I>
- Skip emitting in case BackupSchedule is deleted on a cascade deletion
from Instance. | opennode_waldur-core | train |
6c59680634c69b2bce471f70a0e6abf921b19fa4 | diff --git a/src/php/wp-cli/wp-cli.php b/src/php/wp-cli/wp-cli.php
index <HASH>..<HASH> 100755
--- a/src/php/wp-cli/wp-cli.php
+++ b/src/php/wp-cli/wp-cli.php
@@ -79,6 +79,26 @@ if ( isset( $assoc_args['url'] ) ) {
$blog = trim( file_get_contents( WP_ROOT . 'wp-cli-blog' ) );
}
+// Try to find the blog parameter i... | Auto-discovery for the current blog, see #<I> | wp-cli_extension-command | train |
7345a115eeb568758ec51245f8cea0b5410e84ca | diff --git a/aioftp/server.py b/aioftp/server.py
index <HASH>..<HASH> 100644
--- a/aioftp/server.py
+++ b/aioftp/server.py
@@ -417,10 +417,6 @@ class Connection(collections.defaultdict):
self.pop(name)
- else:
-
- super().__delattr__(name)
-
class AvailableConnections:
""" | no super call, so we can delete attribute without checking for exist | aio-libs_aioftp | train |
0a57ee629dac6c9fcc6f2d7631af5372d60a2d50 | diff --git a/Python/Ruikowa/ObjectRegex/MetaInfo.py b/Python/Ruikowa/ObjectRegex/MetaInfo.py
index <HASH>..<HASH> 100644
--- a/Python/Ruikowa/ObjectRegex/MetaInfo.py
+++ b/Python/Ruikowa/ObjectRegex/MetaInfo.py
@@ -106,6 +106,7 @@ TRACE :
['['+(','.join([item.name for item in unit ]))+']'for unit in s... | add a new api `MetaInfo.max_fetched` to get max possible parsed words count, for making interactive tools. | thautwarm_EBNFParser | train |
77a9ded1d34c902cfb51bed4504c3e3fa48c939f | diff --git a/src/scs_core/data/datum.py b/src/scs_core/data/datum.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/data/datum.py
+++ b/src/scs_core/data/datum.py
@@ -78,6 +78,13 @@ class Datum(object):
return None if math.isnan(packed[0]) else packed[0]
+ @staticmethod
+ def decode_double(byte_value... | Added support for NDIR min / max offsets. | south-coast-science_scs_core | train |
b6df397ab56632f1827728e3531d278835ffca14 | diff --git a/src/edit/range.js b/src/edit/range.js
index <HASH>..<HASH> 100644
--- a/src/edit/range.js
+++ b/src/edit/range.js
@@ -15,14 +15,67 @@ export class MarkedRange {
eventMixin(MarkedRange)
+class RangeSorter {
+ constructor() {
+ this.sorted = []
+ }
+
+ find(at) {
+ let min = 0, max = this.sorte... | Keep sorted array of marked ranges, rather than re-sorting for every redraw | ProseMirror_prosemirror-markdown | train |
f6b301f885a175441515dd9f9ea338d7fbdfa1ba | diff --git a/presto-tests/src/test/java/com/facebook/presto/tests/TestDistributedSpilledQueries.java b/presto-tests/src/test/java/com/facebook/presto/tests/TestDistributedSpilledQueries.java
index <HASH>..<HASH> 100644
--- a/presto-tests/src/test/java/com/facebook/presto/tests/TestDistributedSpilledQueries.java
+++ b/p... | Remove unnecessary session property from spill test setup
spill_enabled is already set by config. Don't need session property
also. | prestodb_presto | train |
947297777cf8cffc8dbaeae8bd8b5fc64f5ff59d | diff --git a/parsers/ParseResult.js b/parsers/ParseResult.js
index <HASH>..<HASH> 100644
--- a/parsers/ParseResult.js
+++ b/parsers/ParseResult.js
@@ -67,7 +67,11 @@
timezoneOffset -= (this.timezoneOffset || new Date().getTimezoneOffset());
var dateMoment = moment(new Date(this.year,this.month,thi... | Move logic for handle date without time to DateResult | wanasit_chrono | train |
381132ff15f30744b6af2a05fea85e3d0ca1cb5b | diff --git a/internal/exec/stages/mount/mount.go b/internal/exec/stages/mount/mount.go
index <HASH>..<HASH> 100644
--- a/internal/exec/stages/mount/mount.go
+++ b/internal/exec/stages/mount/mount.go
@@ -111,6 +111,15 @@ func (s stage) mountFs(fs types.Filesystem) error {
return err
}
+ var firstMissing string
+ ... | mount: also relabel mount points
This is the final piece in the SELinux + Ignition saga: we need to make
sure that both the mount point we create (and any leadings we created
too), as well as the root of the filesystem we mount are labeled. | coreos_ignition | train |
146c244ebf600c763823ec36a67e0da7b9a3a2d8 | diff --git a/qiskit/visualization/text.py b/qiskit/visualization/text.py
index <HASH>..<HASH> 100644
--- a/qiskit/visualization/text.py
+++ b/qiskit/visualization/text.py
@@ -11,7 +11,6 @@ A module for drawing circuits in ascii art or some other text representation
from shutil import get_terminal_size
import sys
-i... | Support for sympy symbols in text drawer (#<I>)
* support to sympy in text drawer
* Fix lint
* unused import | Qiskit_qiskit-terra | train |
ce19db6bf97693bbd779c92b97b9ebefe849be69 | diff --git a/app/controllers/landable/api/page_audits_controller.rb b/app/controllers/landable/api/page_audits_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/landable/api/page_audits_controller.rb
+++ b/app/controllers/landable/api/page_audits_controller.rb
@@ -13,7 +13,7 @@ module Landable
... | AuditableType is simplified to page or template | enova_landable | train |
c8db0c90430defd9f8c916cd6a86d82a686318ed | diff --git a/src/animated-binding.js b/src/animated-binding.js
index <HASH>..<HASH> 100644
--- a/src/animated-binding.js
+++ b/src/animated-binding.js
@@ -81,9 +81,9 @@ Binding.extend(AnimatedBinding, {
_super.init.call(this);
if (this.animateExpression) {
- this.animateObserver = new this.Observer(thi... | Fix error with animatedBinding | chip-js_fragments-js | train |
ad19496b16482beb93099088c2a4b5b8637e99d5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ import sdist_upip
setup(name='picoweb',
- version='1.5.3',
+ version='1.5.4',
description="A very lightweight, memory-efficient async web framework \
for MicroPython/Pycopy and its uasyncio ... | setup.py: Release <I>. | pfalcon_picoweb | train |
ec4ecaf0a44c5665d86c6ef9b34ca3bef13e5094 | diff --git a/pyt/cfg.py b/pyt/cfg.py
index <HASH>..<HASH> 100644
--- a/pyt/cfg.py
+++ b/pyt/cfg.py
@@ -471,10 +471,10 @@ class CFG(ast.NodeVisitor):
# tildel returvaerdi til assignment
for n in function_nodes:
if n.ast_type == ast.Return().__class__.__name__:
- LHS = 'call_... | stringify, idify and forgot rename variable after refactoring | python-security_pyt | train |
49af592ccbd7f611f28858acd76aa82d11f6e621 | diff --git a/lib/ronin/installation.rb b/lib/ronin/installation.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/installation.rb
+++ b/lib/ronin/installation.rb
@@ -155,7 +155,7 @@ module Ronin
else
# if we cannot find an installed ronin gem, search the $LOAD_PATH
# for ronin gemspecs and load th... | Stop loading gemspecs once we've found ronin.gemspec.
* Any libraries loaded before 'ronin', are likely to be 'ronin-support'
or non-ronin libraries. | ronin-ruby_ronin | train |
0ff6e7a7cc67f9464a30535d0db3782077946fee | diff --git a/hamster/__init__.py b/hamster/__init__.py
index <HASH>..<HASH> 100644
--- a/hamster/__init__.py
+++ b/hamster/__init__.py
@@ -34,8 +34,7 @@ import defs
from dispatcher import Dispatcher
# Init i18n
-import __builtin__
-__builtin__._ = gettext.gettext
+gettext.install("hamster-applet", unicode = True)
... | actually actually fixing the problem this time.
svn path=/trunk/; revision=<I> | projecthamster_hamster | train |
590486fa72630f744ee5d2fbc1143995b48bd013 | diff --git a/build.py b/build.py
index <HASH>..<HASH> 100755
--- a/build.py
+++ b/build.py
@@ -1,16 +1,51 @@
#!/usr/bin/env python
from cStringIO import StringIO
+import glob
import gzip
import json
+import multiprocessing
import os
-import glob
import re
import shutil
import sys
from pake import Target
f... | Use pool thread for calling bin/check-example.js.
Saves <I>s out of <I>s on my machine, that is <I>%.
Fixes <URL> | openlayers_openlayers | train |
434341288851f31d2b0e75c657d892245c9c0674 | diff --git a/src/handlers/YamlHandler.php b/src/handlers/YamlHandler.php
index <HASH>..<HASH> 100644
--- a/src/handlers/YamlHandler.php
+++ b/src/handlers/YamlHandler.php
@@ -33,7 +33,7 @@ class YamlHandler extends TypeHandler
public function renderType($data)
{
/// XXX TODO fix getItems crutch
- ... | increased YAML dump depth to 5 <- 4 | hiqdev_hidev | train |
4b71514e72d2d820266dc894f4550f118fcc27b8 | diff --git a/src/util/helpers.js b/src/util/helpers.js
index <HASH>..<HASH> 100755
--- a/src/util/helpers.js
+++ b/src/util/helpers.js
@@ -22,6 +22,7 @@ export function createSimpleTransition (name) {
data.on = {
beforeEnter (el) {
el.style.transformOrigin = origin
+ el.style.webkitT... | fixed bug in transition factory for safari 8 | vuetifyjs_vuetify | train |
472f25ee0c727c955061c3c7605bcbe6486b2707 | diff --git a/ChangeLog b/ChangeLog
index <HASH>..<HASH> 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,11 @@ Release date: TBA
Closes #4638
+* Fix a false positive for ``unused-private-member`` when accessing a private variable
+ with ``self``
+
+ Closes #4644
+
What's New in Pylint 2.9.1?
===========... | [unused-private-member] Handle the case using self to access members
As seen in issue #<I> | PyCQA_pylint | train |
f35af274deae767bead4ae9b20dc1ceabe25150c | diff --git a/lib/Collection/QueryType/Handler/LatestProductsHandler.php b/lib/Collection/QueryType/Handler/LatestProductsHandler.php
index <HASH>..<HASH> 100644
--- a/lib/Collection/QueryType/Handler/LatestProductsHandler.php
+++ b/lib/Collection/QueryType/Handler/LatestProductsHandler.php
@@ -103,7 +103,7 @@ final cla... | Check for true with use_current_* params | netgen-layouts_layouts-sylius | train |
79945bca4cb3dfbf7323b7dced10b1140e175abf | diff --git a/src/pyctools/components/interp/resize.py b/src/pyctools/components/interp/resize.py
index <HASH>..<HASH> 100644
--- a/src/pyctools/components/interp/resize.py
+++ b/src/pyctools/components/interp/resize.py
@@ -1,6 +1,6 @@
# Pyctools - a picture processing algorithm development kit.
# http://github.com/... | Avoid trying to use None filter during shutdown | jim-easterbrook_pyctools | train |
2425e6e860932514c963844dfab6d24b023883bf | diff --git a/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js b/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/static/app/core/metadata/modal/modal.controller.js
+++ b/openstack_dashboard/static/app/core/metadata/modal/m... | Fix metadata removal
This fixes the case where known metadata types were not being removed
upon saving. When trying to apply name changes to the provided value,
the work was done out of order, causing the item to be taken out
of the 'removed' list.
Change-Id: I<I>ce<I>a<I>b4c<I>f3d6d1a<I>cf<I>e2f0c | openstack_horizon | train |
687c2260f0134b3400a04f81db79d73a1e39a448 | diff --git a/src/feat/test/dummy_process.py b/src/feat/test/dummy_process.py
index <HASH>..<HASH> 100755
--- a/src/feat/test/dummy_process.py
+++ b/src/feat/test/dummy_process.py
@@ -4,6 +4,8 @@ import os
import optparse
import signal
+sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..'))
+
from ... | Insert a python path in dummy process to make tests pass without feat in PYTHONPATH | f3at_feat | train |
970c0d630b6a8b7f7e4892e01da11d959c0c9200 | diff --git a/lib/runner.js b/lib/runner.js
index <HASH>..<HASH> 100644
--- a/lib/runner.js
+++ b/lib/runner.js
@@ -17,9 +17,9 @@
var ignoreConsole = system.args[7] === '--ignoreConsole' ? true : false;
var parserOptions = {
- excludeSelectors: system.args[4],
- enabledHosts: system.args[5],
- keepInlin... | Parse passed on JSON config data and actually pass it on to the parser in the browser at last | attila_critical-css | train |
e23fb9955df4657af4e6aace0c9b7316d5660da6 | diff --git a/lib/chef/knife/core/node_presenter.rb b/lib/chef/knife/core/node_presenter.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/core/node_presenter.rb
+++ b/lib/chef/knife/core/node_presenter.rb
@@ -95,7 +95,7 @@ class Chef
if data.is_a?(Chef::Node)
node = data
# special... | Make sure the ipv4 field is actually there
It's should be there, but we might as well | chef_chef | train |
2a56bba6a74e4bbde8b393798f92204f19e201e4 | diff --git a/conf.go b/conf.go
index <HASH>..<HASH> 100644
--- a/conf.go
+++ b/conf.go
@@ -295,6 +295,18 @@ func (c *ConfigFile) MustInt64(section, key string, defaultVal ...int64) int64 {
return value
}
+// GetSectionList returns the list of all sections
+// in the same order in the file.
+func (c *ConfigFile) Ge... | Add GetSectionList and GetKeyList | Unknwon_goconfig | train |
62a55e93e9da8e13dea2e18f5228182bb026bf9c | diff --git a/suds/bindings/binding.py b/suds/bindings/binding.py
index <HASH>..<HASH> 100644
--- a/suds/bindings/binding.py
+++ b/suds/bindings/binding.py
@@ -232,27 +232,6 @@ class Binding:
value.append(sobject)
return composite
- def get_fault(self, reply):
- """Extract fault inf... | Code cleanup - binding.get_fault() moved to SoapClient class.
This starts removing generic Fault parsing logic out of the binding classes
which should be concerned with method specific xml processing only. There is
still one Fault checking function left there but that one is planned to be
removed as soon as SoapClient... | suds-community_suds | train |
6e2403964ad2dd1f363f97312511859e44e2453d | diff --git a/build/gulpfile.hygiene.js b/build/gulpfile.hygiene.js
index <HASH>..<HASH> 100644
--- a/build/gulpfile.hygiene.js
+++ b/build/gulpfile.hygiene.js
@@ -152,9 +152,9 @@ var tslintFilter = [
'!src/vs/editor/standalone-languages/test/**'
];
-const lintReporter = function (output, file, options) {
+var lint... | make slashes consistent in the shown file path | Microsoft_vscode | train |
1f2fad5284ba86b8441a40dd0ec6c32d5247ef80 | diff --git a/tasks/lib/shopify.js b/tasks/lib/shopify.js
index <HASH>..<HASH> 100644
--- a/tasks/lib/shopify.js
+++ b/tasks/lib/shopify.js
@@ -98,7 +98,7 @@ module.exports = function(grunt) {
shopify._isWhitelistedPath = function(filepath) {
filepath = shopify._makePathRelative(filepath);
- retur... | Add support for new i<I>n `locales` directory. | wilr_grunt-shopify | train |
ee4f6a9c9e0c48e0e2890eab8d39c520dd32ef9e | diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index <HASH>..<HASH> 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -91,10 +91,17 @@ class SaveCommand(Command):
return
mail = envelope.construct_mail()
- account.store_draft_mail(mail)
- ... | flush after adding mails in Draft/SendCommand | pazz_alot | train |
01c53757549105c19fb63cc06c134c3ff5d10947 | diff --git a/php/WP_CLI/Dispatcher/CompositeCommand.php b/php/WP_CLI/Dispatcher/CompositeCommand.php
index <HASH>..<HASH> 100644
--- a/php/WP_CLI/Dispatcher/CompositeCommand.php
+++ b/php/WP_CLI/Dispatcher/CompositeCommand.php
@@ -25,7 +25,7 @@ class CompositeCommand extends AbstractCommandContainer implements Document... | create new command instance on each invocation. fixes #<I> | wp-cli_extension-command | train |
39220f5682ab84e1d474ecd6a4267379ae72d196 | diff --git a/Classes/TYPO3/Surf/Domain/Model/Deployment.php b/Classes/TYPO3/Surf/Domain/Model/Deployment.php
index <HASH>..<HASH> 100644
--- a/Classes/TYPO3/Surf/Domain/Model/Deployment.php
+++ b/Classes/TYPO3/Surf/Domain/Model/Deployment.php
@@ -109,7 +109,7 @@ class Deployment {
throw new \TYPO3\Surf\Exception('A... | [FEATURE] Use SimpleDeployment as default
The SimpleWorkflow should be used as default, so it don't need to be
instantiate and assigned manually in every deployment configuration.
Change-Id: I5b0ac<I>eec<I>d<I>d<I>e<I>a<I>a3b5 | TYPO3_Surf | train |
92f5e254bb4040801b875f3bfb001744bc0fe750 | diff --git a/lib/web2splash.js b/lib/web2splash.js
index <HASH>..<HASH> 100644
--- a/lib/web2splash.js
+++ b/lib/web2splash.js
@@ -30,16 +30,16 @@ exports.render = function(input, output, callback) {
return callback(new Error('missing output path argument.'));
}
- this._renderImages(input, output, ca... | Pass images into renderImages function. | mwbrooks_web2splash | train |
40c9c88d45713bd2daa0eb311f8f830a81cd6e40 | diff --git a/definitions/npm/react-test-renderer_v16.x.x/test_react-test-renderer-v16.x.x.js b/definitions/npm/react-test-renderer_v16.x.x/test_react-test-renderer-v16.x.x.js
index <HASH>..<HASH> 100644
--- a/definitions/npm/react-test-renderer_v16.x.x/test_react-test-renderer-v16.x.x.js
+++ b/definitions/npm/react-tes... | [react-test-renderer] Fix suppression (#<I>) | flow-typed_flow-typed | train |
2fe300cd7d38a96ff9631bcc441e39a30a683abd | diff --git a/client/lib/sites-list/list.js b/client/lib/sites-list/list.js
index <HASH>..<HASH> 100644
--- a/client/lib/sites-list/list.js
+++ b/client/lib/sites-list/list.js
@@ -529,7 +529,12 @@ SitesList.prototype.getSelectedOrAllJetpackCanManage = function() {
};
SitesList.prototype.getSelectedOrAllWithPlugins =... | Plugins: Added capabilities check for getSelected or all with plugins. | Automattic_wp-calypso | train |
483fd26e4476ef42a8d6b1498bdf11631006b775 | diff --git a/addon/components/freestyle-snippet.js b/addon/components/freestyle-snippet.js
index <HASH>..<HASH> 100644
--- a/addon/components/freestyle-snippet.js
+++ b/addon/components/freestyle-snippet.js
@@ -53,12 +53,13 @@ export default Ember.Component.extend({
},
language: computed('name', function() {
- ... | Fix snippet lanaguage detection | chrislopresto_ember-freestyle | train |
a9ac1a9a9eb3c613fe584921436822b03b936de3 | diff --git a/packages/@vue/babel-preset-app/index.js b/packages/@vue/babel-preset-app/index.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/babel-preset-app/index.js
+++ b/packages/@vue/babel-preset-app/index.js
@@ -17,7 +17,7 @@ module.exports = (context, options = {}) => {
const envOptions = {
modules: opt... | fix(babel preset): allow setting `useBuiltIns` to be `false`. (#<I>) | vuejs_vue-cli | train |
e9049ac8e33068fe970a0ed5864d87cf6e65c7dc | diff --git a/mod/forum/externallib.php b/mod/forum/externallib.php
index <HASH>..<HASH> 100644
--- a/mod/forum/externallib.php
+++ b/mod/forum/externallib.php
@@ -1319,7 +1319,7 @@ class mod_forum_external extends external_api {
$preferredformat = editors_get_preferred_format();
// If the post... | MDL-<I> mod_forum: Fixing forum inline reply filtering before saving | moodle_moodle | train |
a5775aae24e14df4b2a7b544b977bafd3507a276 | diff --git a/command/agent/http.go b/command/agent/http.go
index <HASH>..<HASH> 100644
--- a/command/agent/http.go
+++ b/command/agent/http.go
@@ -138,13 +138,13 @@ func (s *HTTPServer) wrap(handler func(resp http.ResponseWriter, req *http.Reque
}
prettyPrint := false
- if req.URL.Query().Get("pretty") == "tru... | modified so ?pretty=anything will work | hashicorp_consul | train |
e3ec312c1d55b3688e4ce115df7791a0478582d1 | diff --git a/tests/test_hypothesis_integration.py b/tests/test_hypothesis_integration.py
index <HASH>..<HASH> 100644
--- a/tests/test_hypothesis_integration.py
+++ b/tests/test_hypothesis_integration.py
@@ -10,8 +10,9 @@ from hypothesis import given, strategies as st
@pytest.fixture(scope="module")
def event_loop()... | Adjusted Hypothesis integration test to use the same event loop initialization as in the plugin.
The plugin code creates a new event loop from the current event loop policy, whereas the fixture in the Hypothesis test uses get_event_loop. In Python <I> the use of get_event_loop was deprecated and causes the Hypothesis ... | pytest-dev_pytest-asyncio | train |
dbe572412f9afe11a16cffdc704b9686d887baf6 | diff --git a/Kwf_js/Component/Preview.js b/Kwf_js/Component/Preview.js
index <HASH>..<HASH> 100644
--- a/Kwf_js/Component/Preview.js
+++ b/Kwf_js/Component/Preview.js
@@ -3,7 +3,14 @@ Kwf.Component.Preview = Ext.extend(Ext.Panel, {
autoScroll: true,
initComponent: function() {
this.previewMode = fals... | simplify code, use Ext.urlDecode instead of own code | koala-framework_koala-framework | train |
424ac4f11777080a7ec3d2e3451a54073b66b4e7 | diff --git a/core/src/test/java/org/springframework/security/acls/jdbc/BasicLookupStrategyTests.java b/core/src/test/java/org/springframework/security/acls/jdbc/BasicLookupStrategyTests.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/org/springframework/security/acls/jdbc/BasicLookupStrategyTests.java
+++ b/c... | Commented out tests which are breaking build. | spring-projects_spring-security | train |
37970feeb09d70180e4b67686518b89ba16526ac | diff --git a/maven/impl-projects/src/main/java/org/jboss/forge/addon/maven/projects/PlexusContainer.java b/maven/impl-projects/src/main/java/org/jboss/forge/addon/maven/projects/PlexusContainer.java
index <HASH>..<HASH> 100644
--- a/maven/impl-projects/src/main/java/org/jboss/forge/addon/maven/projects/PlexusContainer.... | JBIDE-<I>: Just in case. | forge_core | train |
b1d0285fd121672222023362e36fc42e51273b39 | diff --git a/examples/platformer/js/entities/enemies.js b/examples/platformer/js/entities/enemies.js
index <HASH>..<HASH> 100644
--- a/examples/platformer/js/entities/enemies.js
+++ b/examples/platformer/js/entities/enemies.js
@@ -27,8 +27,8 @@ game.PathEnemyEntity = me.Entity.extend({
this.endX = x + width ... | Update the platformer example to use the latest changes on gravity settings | melonjs_melonJS | train |
b71bf7f6410ba69d3843244b08612626d191c584 | diff --git a/examples/cubemap.js b/examples/cubemap.js
index <HASH>..<HASH> 100644
--- a/examples/cubemap.js
+++ b/examples/cubemap.js
@@ -11,7 +11,7 @@ const glsl = require('glslify')
const ctx = createContext()
const camera = createCamera({
- fov: Math.PI / 4,
+ fov: Math.PI / 2,
aspect: ctx.gl.canvas.widt... | Increase fov in cubemap example | pex-gl_pex-context | train |
8b0ff95a87685de8dd0c9af2487566ad682db81e | diff --git a/src/js/components/Notification.js b/src/js/components/Notification.js
index <HASH>..<HASH> 100644
--- a/src/js/components/Notification.js
+++ b/src/js/components/Notification.js
@@ -102,11 +102,12 @@ export default class Notification extends Component {
enter={{ animation: 'fade', duration: 1000 }... | Notification: fixed problem with floating footer. | grommet_grommet | train |
81611fa343b0292f4905bf0f8ef262b9891f38ad | diff --git a/src/plugins/Form.js b/src/plugins/Form.js
index <HASH>..<HASH> 100644
--- a/src/plugins/Form.js
+++ b/src/plugins/Form.js
@@ -17,14 +17,15 @@ module.exports = class Form extends Plugin {
target: null,
resultName: 'uppyResult',
getMetaFromForm: true,
- triggerUploadOnFileSelection:... | refactor addResultToForm | transloadit_uppy | train |
27bced5cb16bdd9f41bd6c4a8ad1665bb01e7708 | diff --git a/integration/shared/performance/services_command_performance_test.go b/integration/shared/performance/services_command_performance_test.go
index <HASH>..<HASH> 100644
--- a/integration/shared/performance/services_command_performance_test.go
+++ b/integration/shared/performance/services_command_performance_t... | Have performance test displaying more information
Displays number of samples as well as services instances used during the test.
[finishes #<I>] | cloudfoundry_cli | train |
576cfe7469f0854bc67e8c79599506e0a95a07ed | diff --git a/eZ/Publish/Core/FieldType/Page/Parts/Item.php b/eZ/Publish/Core/FieldType/Page/Parts/Item.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/FieldType/Page/Parts/Item.php
+++ b/eZ/Publish/Core/FieldType/Page/Parts/Item.php
@@ -9,6 +9,8 @@
namespace eZ\Publish\Core\FieldType\Page\Parts;
+use eZ\Publ... | EZP-<I> - Page\Parts\Item should not extend Base since it doesn't need PageService | ezsystems_ezpublish-kernel | train |
8f343e354317cc35f4be06de2fbbd3dc12b58003 | diff --git a/src/mixins/TextAreaSelectionMixin.js b/src/mixins/TextAreaSelectionMixin.js
index <HASH>..<HASH> 100644
--- a/src/mixins/TextAreaSelectionMixin.js
+++ b/src/mixins/TextAreaSelectionMixin.js
@@ -1,6 +1,9 @@
var MarkdownEditorActions = require('../actions/MarkdownEditorActions');
var Reflux = require('refl... | make it work in firefox - use a timer to detect if the click event is triggerred to shortly after a select, as the order of the event is reversed in firefox. | jrm2k6_react-markdown-editor | train |
e9ba91a490d038be4882dd4c47e5170c51707c67 | diff --git a/git/git.go b/git/git.go
index <HASH>..<HASH> 100644
--- a/git/git.go
+++ b/git/git.go
@@ -343,7 +343,7 @@ func EnsureBranchSynchronized(branch, remote string) (err error) {
// Merge. Use --ff-only, just to be sure.
// But we have already checked that this will be a fast-forward merge.
- _, err = Run(... | git: Add explicit branch name to merge --ff-only
The branch name was missing, so the command was failing in case the branch was
not set in git to track any remote branch.
Change-Id: <I>bbca<I>e
Story-Id: salsaflow/salsaflow#<I> | salsaflow_salsaflow | train |
0278b0b0b028535cee0f42a41a83cce6b8ac9d58 | diff --git a/imgkit/config.py b/imgkit/config.py
index <HASH>..<HASH> 100644
--- a/imgkit/config.py
+++ b/imgkit/config.py
@@ -9,6 +9,9 @@ class Config(object):
self.wkhtmltoimage = wkhtmltoimage
+ self.xvfb = subprocess.Popen(['which', 'xvfb-run'],
+ ... | Fixed bug where if server is running headless then wkhtml was not being able to render properly.
Credits: <URL> | jarrekk_imgkit | train |
db94508ae761a33491eb35ab0d0ee93cafc22af4 | diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go
index <HASH>..<HASH> 100644
--- a/pkg/features/kube_features.go
+++ b/pkg/features/kube_features.go
@@ -386,10 +386,16 @@ const (
//
// Allow TTL controller to clean up Pods and Jobs after they finish.
TTLAfterFinished utilfeature.Feature ... | Add feature for pod information in NodePublish | kubernetes_kubernetes | train |
2419d2bd245a51cff8653dc5e5fa384f347be9b9 | diff --git a/lib/turtle.io.js b/lib/turtle.io.js
index <HASH>..<HASH> 100644
--- a/lib/turtle.io.js
+++ b/lib/turtle.io.js
@@ -7,7 +7,7 @@
* @copyright 2013 Jason Mulligan
* @license BSD-3 <https://raw.github.com/avoidwork/turtle.io/master/LICENSE>
* @link http://turtle.io
- * @version 0.6.19
+ * @version 0.6.20
... | Removing an erroneous statement | avoidwork_turtle.io | train |
340061d8fe3a6d92ac5717fab3bf2995a4c1b717 | diff --git a/internal/service/grafana/workspace_api_key_test.go b/internal/service/grafana/workspace_api_key_test.go
index <HASH>..<HASH> 100644
--- a/internal/service/grafana/workspace_api_key_test.go
+++ b/internal/service/grafana/workspace_api_key_test.go
@@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-... | post fix test name with `Config` | terraform-providers_terraform-provider-aws | train |
5259f291000b434da14a9cc0921dddaa0732ee04 | diff --git a/jarallax/jarallax-video.js b/jarallax/jarallax-video.js
index <HASH>..<HASH> 100644
--- a/jarallax/jarallax-video.js
+++ b/jarallax/jarallax-video.js
@@ -572,23 +572,19 @@
// load Youtube API
if(_this.type === 'youtube' && !YoutubeAPIadded) {
YoutubeAPIadded = 1;
- ... | Updated jarallax-video to always use HTTPS | nk-o_jarallax | train |
99c7127b487015147f89782b63b0db8acec1c7dc | diff --git a/lib/deep_cover/config.rb b/lib/deep_cover/config.rb
index <HASH>..<HASH> 100644
--- a/lib/deep_cover/config.rb
+++ b/lib/deep_cover/config.rb
@@ -7,7 +7,8 @@ module DeepCover
allow_partial: false,
}
- def initialize(**options)
+ def initialize(notify = nil, **options)
+ @notify = n... | Add basic notification for config. Make Config#paths a reader too | deep-cover_deep-cover | train |
77a2fef379647fa25f66161228c0641607f04745 | diff --git a/DependencyInjection/ONGRApiExtension.php b/DependencyInjection/ONGRApiExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/ONGRApiExtension.php
+++ b/DependencyInjection/ONGRApiExtension.php
@@ -127,6 +127,7 @@ class ONGRApiExtension extends Extension
'manager' => $c... | Added attribute for each route if validator should allow extra fields | ongr-io_ApiBundle | train |
a004d83b4f9dcb0dcbea7546f98421ac25a2ff6e | diff --git a/core/src/main/java/jenkins/security/apitoken/ApiTokenPropertyConfiguration.java b/core/src/main/java/jenkins/security/apitoken/ApiTokenPropertyConfiguration.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jenkins/security/apitoken/ApiTokenPropertyConfiguration.java
+++ b/core/src/main/java/jenkin... | grammar: tense/whether-or-not/left/count-agreement | jenkinsci_jenkins | train |
7026ed3d23fae3c0a7169d8e203d5c1b007c5c3f | diff --git a/lib/guard/rspectacle.rb b/lib/guard/rspectacle.rb
index <HASH>..<HASH> 100644
--- a/lib/guard/rspectacle.rb
+++ b/lib/guard/rspectacle.rb
@@ -57,7 +57,7 @@ module Guard
# @raise [:task_has_failed] when run_on_change has failed
#
def run_all
- Runner.run(['spec'], options)
+ Runner.... | using RSpec provided runner. Support Fuubar, colors and the rest | netzpirat_guard-rspectacle | train |
39f448589d08a6c30fae8f133592383938eb0599 | diff --git a/command/connect/envoy/bootstrap_config.go b/command/connect/envoy/bootstrap_config.go
index <HASH>..<HASH> 100644
--- a/command/connect/envoy/bootstrap_config.go
+++ b/command/connect/envoy/bootstrap_config.go
@@ -280,6 +280,8 @@ func (c *BootstrapConfig) generateStatsSinkJSON(name string, typeName string,... | support env var expansion in envoy statsd urls
Fixes #<I> | hashicorp_consul | train |
0133f16f41a7ae488f038c1b8d84ccefb608b523 | diff --git a/lib/graphql/language/lexer.rb b/lib/graphql/language/lexer.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/language/lexer.rb
+++ b/lib/graphql/language/lexer.rb
@@ -1435,6 +1435,15 @@ prev_token: meta[:previous_token],
else
replace_escaped_characters_in_place(value)
+if !value.valid_encoding?
+meta[:t... | Fix another mishandling of unicode in the lexer | rmosolgo_graphql-ruby | train |
e8f96bc8ce67b2c60a75526f2620ee697f5e6baa | diff --git a/inc/class-styles.php b/inc/class-styles.php
index <HASH>..<HASH> 100644
--- a/inc/class-styles.php
+++ b/inc/class-styles.php
@@ -651,6 +651,11 @@ class Styles {
\Pressbooks\Redirect\location( $redirect_url . '&custom_styles_error=true' );
}
+ // Remove wp_filter_post_kses, this causes CSS esc... | Remove wp_filter_post_kses, this causes CSS escaping issues (#<I>)
Source: <URL> | pressbooks_pressbooks | train |
6ef79f849515eb63c753a30b04560fcd3336c52d | diff --git a/lib/pacto/rake_task.rb b/lib/pacto/rake_task.rb
index <HASH>..<HASH> 100644
--- a/lib/pacto/rake_task.rb
+++ b/lib/pacto/rake_task.rb
@@ -1,5 +1,4 @@
require 'pacto'
-require 'colored'
# FIXME: RakeTask is a huge class, refactor this please
# rubocop:disable ClassLength | This reverts commit <I>a<I>ce9d0abf4a1de<I>c<I>c<I>c<I>f2c<I>.
See #<I> | thoughtworks_pacto | train |
27074279862283bfdada96064168b28cecbd13b7 | diff --git a/src/PdfReader/DataStructure/Rectangle.php b/src/PdfReader/DataStructure/Rectangle.php
index <HASH>..<HASH> 100644
--- a/src/PdfReader/DataStructure/Rectangle.php
+++ b/src/PdfReader/DataStructure/Rectangle.php
@@ -51,7 +51,7 @@ class Rectangle
*/
public static function byPdfArray($array, PdfPars... | Fixed missing resolve() call of possible indirect object. | Setasign_FPDI | train |
58c8c13d95f1dda5c9c3d3f81d164dcc0efb0b76 | diff --git a/src/Rxnet/EventStore/EventStore.php b/src/Rxnet/EventStore/EventStore.php
index <HASH>..<HASH> 100644
--- a/src/Rxnet/EventStore/EventStore.php
+++ b/src/Rxnet/EventStore/EventStore.php
@@ -58,7 +58,7 @@ class EventStore
protected $writer;
/** @var Socket\Connection */
protected $stream;
- ... | :bug: Fix a bug in eventstore disconnect method | Rxnet_eventstore-client | train |
c2be1db69e86845c0a439902805fe9009dc24b74 | diff --git a/src/test/java/info/javaspec/spec/SpecTest.java b/src/test/java/info/javaspec/spec/SpecTest.java
index <HASH>..<HASH> 100755
--- a/src/test/java/info/javaspec/spec/SpecTest.java
+++ b/src/test/java/info/javaspec/spec/SpecTest.java
@@ -204,8 +204,6 @@ public class SpecTest {
public class givenACleanup... | Gearing up for making sure Cleanup runs | kkrull_javaspec | train |
0dd6214ba4de28f8690425e96426d8273543c786 | diff --git a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancedRetryPolicy.java b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancedRetryPolicy.java
index <HASH>..<HASH> 100644
--- a/spring-cloud-commons/src/main/java/org/springframew... | Add retryable status code check (#<I>)
* Added API
* Add method to check response code retry in the policy. | spring-cloud_spring-cloud-commons | train |
288af2f6559bbc28582a656b63b1ce9408083040 | diff --git a/app/controllers/devise_token_auth/sessions_controller.rb b/app/controllers/devise_token_auth/sessions_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/devise_token_auth/sessions_controller.rb
+++ b/app/controllers/devise_token_auth/sessions_controller.rb
@@ -38,9 +38,7 @@ module DeviseTokenA... | use token_validation_response method for sign_in response | lynndylanhurley_devise_token_auth | train |
27773c6e0c223e6c9395451d78eccbe9e9590549 | diff --git a/qualysapi/connector.py b/qualysapi/connector.py
index <HASH>..<HASH> 100644
--- a/qualysapi/connector.py
+++ b/qualysapi/connector.py
@@ -39,7 +39,7 @@ class QGConnector(api_actions.QGActions):
"""
- def __init__(self, auth, server="qualysapi.qualys.com", proxies=None, max_retries=3):
+ def ... | add JSON support for Asset Management & Tagging API
According to the source: <URL> | paragbaxi_qualysapi | train |
5dc72378b783e924c5bf079ca660388ec4ac9224 | diff --git a/activerecord/lib/active_record/associations/collection_association.rb b/activerecord/lib/active_record/associations/collection_association.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/collection_association.rb
+++ b/activerecord/lib/active_record/associations/collection_... | Fix `collection.create` to could be rolled back by `after_save`
In `_create_record`, explicit `transaction` block requires rollback
handling manually when `insert_record` is failed.
We need to handle it in `_create_record`, not in `insert_record`, since
our test cases expect a record added to target and returned even... | rails_rails | train |
29939529a80950ad2072dbe4f464d02211fdd26b | diff --git a/parse.go b/parse.go
index <HASH>..<HASH> 100644
--- a/parse.go
+++ b/parse.go
@@ -345,7 +345,6 @@ byteLoop:
func (p *parser) noneLoopByte(b0 byte) (bs []byte, b byte, willBreak bool, err error) {
b = b0
-byteLoop:
for {
switch {
case b == '\\': // escaped byte follows
@@ -361,24 +360,23 @@ byt... | parse: less need for labels | mvdan_sh | train |
82c71f66d2d8d558b5ce8d04952e5c11da3c9a22 | diff --git a/routes.php b/routes.php
index <HASH>..<HASH> 100644
--- a/routes.php
+++ b/routes.php
@@ -27,5 +27,5 @@ Route::get('(:bundle)/forum/(:num)', 'fluxbb::home@forum');
Route::get('(:bundle)/topic/(:num)', 'fluxbb::home@topic');
Route::get('(:bundle)/post/(:num)', 'fluxbb::home@post');
Route::get('(:bundle)'... | Do not use named route for user profile.
I am trying to avoid possible naming conflicts. | fluxbb_core | train |
cd11b201ec6a17c2e24e683eaec7a9f700110f63 | diff --git a/spec/property_spec.rb b/spec/property_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/property_spec.rb
+++ b/spec/property_spec.rb
@@ -201,15 +201,17 @@ describe "PropertyTest" do
end
context "a byte-typed property" do
- it "gets set with a correct type (#108)" do
- # Slightly advanced RSpec... | Test DBus.variant workaround for property setting | mvidner_ruby-dbus | train |
9a32f935b8780e1c105ba646f69f1e350014bdea | diff --git a/vendor/refinerycms/images/lib/images.rb b/vendor/refinerycms/images/lib/images.rb
index <HASH>..<HASH> 100644
--- a/vendor/refinerycms/images/lib/images.rb
+++ b/vendor/refinerycms/images/lib/images.rb
@@ -66,7 +66,7 @@ module Refinery
app.config.middleware.insert_after 'Rack::Lock', 'Dragonfly::M... | Only turn on verbose for middleware if we're running in development mode. | refinery_refinerycms | train |
7e51cb87624f11690432a6741a522c62a1d52a34 | diff --git a/lxd/images.go b/lxd/images.go
index <HASH>..<HASH> 100644
--- a/lxd/images.go
+++ b/lxd/images.go
@@ -3102,12 +3102,12 @@ func imageAliasPut(d *Daemon, r *http.Request) response.Response {
return response.BadRequest(fmt.Errorf("The target field is required"))
}
- imageId, _, err := d.cluster.GetImag... | lxd/images: Use imageID rather than imageId | lxc_lxd | train |
77708b33c724ac313fbb044a800572759c4b0335 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -132,7 +132,6 @@ add_index :the_resources, :password_changed_at
```ruby
create_table :old_passwords do |t|
t.string :encrypted_password, :null => false
- t.string :password_salt
t.string :password_archivable_type,... | PasswordArchivable: Removed obsolete :passoword_salt from OldPassword. | devise-security_devise-security | train |
9e207a69a09f3c96b53b651dbe7702b7c080939c | diff --git a/lib/event_sourcery/event.rb b/lib/event_sourcery/event.rb
index <HASH>..<HASH> 100644
--- a/lib/event_sourcery/event.rb
+++ b/lib/event_sourcery/event.rb
@@ -32,6 +32,10 @@ module EventSourcery
!id.nil?
end
+ def hash
+ [self.class, uuid].hash
+ end
+
def eql?(other)
in... | Implement Event#hash method
From the docs:
> This function must have the property that a.eql?(b) implies a.hash ==
> b.hash.
Now Event#hash satisfies this constraint. | envato_event_sourcery | train |
7cc32dcc464714f266a5781d366c06701a64b255 | diff --git a/library/Garp/Model/Behavior/HtmlFilterable.php b/library/Garp/Model/Behavior/HtmlFilterable.php
index <HASH>..<HASH> 100755
--- a/library/Garp/Model/Behavior/HtmlFilterable.php
+++ b/library/Garp/Model/Behavior/HtmlFilterable.php
@@ -66,7 +66,7 @@ class Garp_Model_Behavior_HtmlFilterable extends Garp_Model... | Allow class "video-embed" for videos | grrr-amsterdam_garp3 | train |
620394b9d4977bfb1e95c37ab7c991c846170ebf | diff --git a/dpark/schedule.py b/dpark/schedule.py
index <HASH>..<HASH> 100644
--- a/dpark/schedule.py
+++ b/dpark/schedule.py
@@ -107,7 +107,7 @@ class DAGScheduler(Scheduler):
def __init__(self):
self.completionEvents = Queue.Queue()
self.idToStage = weakref.WeakValueDictionary()
- self.... | bugfix: cache ShuffleStage | douban_dpark | train |
0023030e9779f0b3d7a1f5732f7aec896fc1d918 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -122,7 +122,7 @@ gulp.task('spec', ['lint'], function(callback) {
var errOrNull = null;
var coverage = istanbul.summarizeCoverage();
var incomplete = Object.keys(coverage).filter(fu... | Set coverage to a lower value so we can pass builds and continue to add more tests | Asana_node-asana | train |
18e008a8589044f7a263c56a55d7f71287f65b5c | diff --git a/allennlp/data/fields/label_field.py b/allennlp/data/fields/label_field.py
index <HASH>..<HASH> 100644
--- a/allennlp/data/fields/label_field.py
+++ b/allennlp/data/fields/label_field.py
@@ -78,4 +78,4 @@ class LabelField(Field[numpy.ndarray]):
@overrides
def empty_field(self):
- return L... | Fixes empty_field method of LabelField and adds a test (#<I>)
* fixed empty_field method of label_field and added a test
* Changed empty_field test for LabelField to test value of padding | allenai_allennlp | train |
78f055ddfca0eb1dd970c18c5c9d09073c6b31ef | diff --git a/noseprogressive/wrapping.py b/noseprogressive/wrapping.py
index <HASH>..<HASH> 100644
--- a/noseprogressive/wrapping.py
+++ b/noseprogressive/wrapping.py
@@ -50,7 +50,8 @@ def set_trace(*args, **kwargs):
"""
# There's no stream attr if capture plugin is enabled:
out = sys.stdout.stream if ha... | Py<I>: keyword argument between *args and **kwargs
Strangely this seems to break Python <I>, so I've inelegantly worked
around it. | erikrose_nose-progressive | train |
06ea72bbc10ed4fb342a7d7441e1fefbd7a7cabc | diff --git a/_base.gulpfile.js b/_base.gulpfile.js
index <HASH>..<HASH> 100644
--- a/_base.gulpfile.js
+++ b/_base.gulpfile.js
@@ -1,3 +1,4 @@
+var gulp = require('gulp');
var del = require('del');
var scsslint = require('gulp-scss-lint');
var react = require('gulp-react');
@@ -36,7 +37,7 @@ var webpackConfig = {
... | fixing path for the IndexRouter. | grommet_grommet | train |
0739d17f8e4045bec52f51bcba64415b7c4fabf6 | diff --git a/tests/server.py b/tests/server.py
index <HASH>..<HASH> 100644
--- a/tests/server.py
+++ b/tests/server.py
@@ -28,6 +28,7 @@ from urllib import unquote
from urlparse import parse_qs
import json
+import Queue
import sys
import traceback
@@ -178,6 +179,10 @@ def main(module, method, methods=["GET"]):
... | Handle Queue type in test server | ARMmbed_mbed-cloud-sdk-python | train |
4068968e126f64d7054284719ca96e94486084d0 | diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go
index <HASH>..<HASH> 100644
--- a/cmd/prometheus/main.go
+++ b/cmd/prometheus/main.go
@@ -19,6 +19,7 @@ import (
"crypto/md5"
"encoding/json"
"fmt"
+ "math"
"net"
"net/http"
_ "net/http/pprof" // Comment this line to disable pprof endpoint.
@@ -26... | Protect retention from overflowing (#<I>)
Also sanitise the max block duration to max a month. | prometheus_prometheus | train |
f3e876a9e67b087050468f688975a5ad2754034a | diff --git a/tests/test_coords.py b/tests/test_coords.py
index <HASH>..<HASH> 100644
--- a/tests/test_coords.py
+++ b/tests/test_coords.py
@@ -1,7 +1,7 @@
import unittest
import geojson
-from geojson.utils import coords, map_coords
+from geojson.utils import coords, map_coords, map_tuples
class CoordsTestCase(... | Test that map_geometries() retains feature ID | jazzband_python-geojson | train |
c827c049fe688f3ad2b705aa1adf8a72bbcec37c | diff --git a/internal/terraform/node_output.go b/internal/terraform/node_output.go
index <HASH>..<HASH> 100644
--- a/internal/terraform/node_output.go
+++ b/internal/terraform/node_output.go
@@ -237,8 +237,11 @@ func referencesForOutput(c *configs.Output) []*addrs.Reference {
refs := make([]*addrs.Reference, 0, l)
... | terraform: Precondition and postcondition blocks generate dependencies
If a resource or output value has a precondition or postcondition rule
then anything the condition depends on is a dependency of the object,
because the condition rules will be evaluated as part of visiting the
relevant graph node. | hashicorp_terraform | train |
a900fb64276fa43d10faec79963fc1f264dfab24 | diff --git a/src/Domain/Model/ValueObject/CollectionValueObject.php b/src/Domain/Model/ValueObject/CollectionValueObject.php
index <HASH>..<HASH> 100644
--- a/src/Domain/Model/ValueObject/CollectionValueObject.php
+++ b/src/Domain/Model/ValueObject/CollectionValueObject.php
@@ -62,6 +62,14 @@ class CollectionValueObjec... | sort function to CollectionValueObject added | PcComponentes_ddd | train |
ba8460b331ad50caf0340cac48a824c6910a4112 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -174,7 +174,7 @@ module.exports = function (grunt) {
}, {
browserName: 'chrome',
platform: 'OS X 10.10',
- versiono: '41.0'
+ version: '41.0'
}],
'windows... | Fix typo for the SauceLabs test on Chrome <I> on Mac | js-cookie_js-cookie | train |
74de50ea1e43b7437554bb6d2f6f4733bd2c3e8b | diff --git a/Gemfile.lock b/Gemfile.lock
index <HASH>..<HASH> 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- virtualfs (0.1.0)
+ virtualfs (0.1.2)
github_api (~> 0.8)
unicode (~> 0.4.4)
diff --git a/lib/virtualfs/github.rb b/lib/virtualfs/github.rb
inde... | Removed UTF-8 workaround, Github fixed it upstream. | evoL_virtualfs | train |
e70ce80eed3b986d5144ccdb6464311131fe6eab | diff --git a/example.php b/example.php
index <HASH>..<HASH> 100644
--- a/example.php
+++ b/example.php
@@ -138,7 +138,7 @@ $client->api('issue')->setIssueStatus($issueId, 'Resolved');
$client->api('issue')->addNoteToIssue($issueId, 'some comment');
$client->api('issue')->remove($issueId);
-// To upload a file + att... | Adding an example for creating issues with attachments in one step | kbsali_php-redmine-api | train |
f179e2d458e74391e7474ecddcad698ae8c291e0 | diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index <HASH>..<HASH> 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -38,6 +38,9 @@
<!-- Whitespace -->
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAro... | Apply ModifierOrder Checkstyle module (#<I>)
This commit also updates sources to comply with the rule. | micrometer-metrics_micrometer | train |
13d856009bde42df432fa93c1e4ab69ad96fc446 | diff --git a/lib/plugins/install/install.test.js b/lib/plugins/install/install.test.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/install/install.test.js
+++ b/lib/plugins/install/install.test.js
@@ -21,6 +21,7 @@ describe('Install', () => {
let defaultServicePath;
let newServicePath;
+ fse.mkdirsSync('tmp'... | adds creation of tmp folder that is used for storing generated files | serverless_serverless | train |
0d62d0f8341e65e832a8015bf2f4481370c570a9 | diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/editor.py
+++ b/spyderlib/widgets/editor.py
@@ -34,7 +34,7 @@ from spyderlib.utils.dochelpers import getsignaturefromtext
from spyderlib.utils import introspection
from spyderlib.utils.introspec... | Fixes to tab completion and retrigger calltip behavior | spyder-ide_spyder | train |
2562517f4ac59fd38a3bc55bd455aae3c63c7361 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -465,15 +465,14 @@ function getConverter() {
}
function convertTo3DZ(spectra) {
- //console.time('ConvertTo3DZ');
- var z = [];
var noise = 0;
var minZ = spectra[0].d... | initialize arrays in convertTo3DZ
~4% increased performance for 2D conversion | cheminfo-js_jcampconverter | train |
a1fc80caa2f2dd13b11848d6453be1e9144ec4f2 | diff --git a/pyaxo.py b/pyaxo.py
index <HASH>..<HASH> 100644
--- a/pyaxo.py
+++ b/pyaxo.py
@@ -528,22 +528,23 @@ class SqlitePersistence(object):
WHERE
my_identity = ? AND
to_identity = ?''', (name, other_name))
- for row in rows:
- ms... | Move operations that do not need the `Lock` out of `with` blocks
This releases the `Lock` earlier when the data that has already been
retrieved is being processed. | rxcomm_pyaxo | train |
a7c7ab848a6c2be41d410fd37080a28c74fa2aea | diff --git a/lib/metacrunch/db/reader.rb b/lib/metacrunch/db/reader.rb
index <HASH>..<HASH> 100644
--- a/lib/metacrunch/db/reader.rb
+++ b/lib/metacrunch/db/reader.rb
@@ -1,17 +1,20 @@
module Metacrunch
class Db::Reader
- def initialize(url, sql, options = {})
+ def initialize(url, dataset_proc, options = {... | Improved the reader to be fast on large datasets by using paged_each instead of each. | ubpb_metacrunch | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.