hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
ee4fe189ce5f8c10a987be06398b1fe1941db833 | diff --git a/lib/emit.js b/lib/emit.js
index <HASH>..<HASH> 100644
--- a/lib/emit.js
+++ b/lib/emit.js
@@ -905,8 +905,14 @@ Ep.explodeExpression = function(expr, ignoreResult) {
case "YieldExpression":
var after = loc();
var arg = expr.argument && self.explodeExpression(expr.argument);
- self.emitAssign... | Support delegate yield* syntax.
Very happy with the extent to which this logic takes place in the runtime
rather than in the generated code. | facebook_regenerator | train |
468b87d2b562f1f609525fe8673349fb3fe235ea | diff --git a/packages/components/bolt-device-viewer/src/device-viewer.standalone.js b/packages/components/bolt-device-viewer/src/device-viewer.standalone.js
index <HASH>..<HASH> 100644
--- a/packages/components/bolt-device-viewer/src/device-viewer.standalone.js
+++ b/packages/components/bolt-device-viewer/src/device-vi... | Fix Device Viewer Trailing Comma (#<I>) | bolt-design-system_bolt | train |
3c7738a1cda5eb0273979fab206d78cf5033a2f1 | diff --git a/spatialist/raster.py b/spatialist/raster.py
index <HASH>..<HASH> 100644
--- a/spatialist/raster.py
+++ b/spatialist/raster.py
@@ -29,6 +29,17 @@ os.environ['GDAL_PAM_PROXY_DIR'] = tempfile.gettempdir()
gdal.UseExceptions()
+# this parameter can be set to increase the pixel tolerance when subsetting
+#... | [raster.subset_tolerance] new global variable
by setting this, a certain sub-pixel shift can be tolerated for
subsetting raster images | johntruckenbrodt_spatialist | train |
706459922a19f4f8554e30963b42fde48c3001cf | diff --git a/lib/network.js b/lib/network.js
index <HASH>..<HASH> 100644
--- a/lib/network.js
+++ b/lib/network.js
@@ -25,7 +25,7 @@ function Network () {
}
// Avoid race condition in Android & iOS
- setTimeout(function () {
+ document.addEventListener('deviceready', function () {
// Set init... | Use deviceready vs. timeout | mozilla_webmaker-android | train |
503d3c5d52aae0093b3679a71c30829e2756b863 | diff --git a/pyannotate_runtime/collect_types.py b/pyannotate_runtime/collect_types.py
index <HASH>..<HASH> 100644
--- a/pyannotate_runtime/collect_types.py
+++ b/pyannotate_runtime/collect_types.py
@@ -832,7 +832,7 @@ def _trace_dispatch(frame, event, arg):
# No pending call event -- ignore this event. We... | Turn a .remove() into a .discard() to avoid race conditions (#<I>)
(It is apparently possible for multiple threads to reach the same point.) | dropbox_pyannotate | train |
7667755402b671ab8a9342124f4bd31d263afa49 | diff --git a/slap/api.py b/slap/api.py
index <HASH>..<HASH> 100644
--- a/slap/api.py
+++ b/slap/api.py
@@ -32,16 +32,22 @@ class Api:
def _request(self, request_method, url, params):
response = request_method(url, params=params, verify=self._verify_certs)
+ return self.parse_response(response)
... | Refactors response parsing and adds tests | lobsteropteryx_slap | train |
30c22e3ae9e0f6397386da26a4b5527d1343c860 | diff --git a/generator/java.babelg.py b/generator/java.babelg.py
index <HASH>..<HASH> 100644
--- a/generator/java.babelg.py
+++ b/generator/java.babelg.py
@@ -236,6 +236,15 @@ def get_ancestors(data_type):
_cmdline_parser = argparse.ArgumentParser(prog='java-generator')
_cmdline_parser.add_argument('--package', type=... | generator: New helper functions: field_type, field_name, type_and_name.
Simplifies the generator in a few places. Is useful for upcoming
changes as well. | dropbox_dropbox-sdk-java | train |
6380a89a093b680296f62821dadd692092afdd8a | diff --git a/sacred/arg_parser.py b/sacred/arg_parser.py
index <HASH>..<HASH> 100644
--- a/sacred/arg_parser.py
+++ b/sacred/arg_parser.py
@@ -2,6 +2,7 @@
# coding=utf-8
from __future__ import division, print_function, unicode_literals
import ast
+from collections import OrderedDict
import re
import textwrap
impo... | added commands of ingredients to Usage. fixes #<I> | IDSIA_sacred | train |
b4f75b2fa5af58a4caf1a37a99d90030ef9785fd | diff --git a/src/Illuminate/Auth/Guard.php b/src/Illuminate/Auth/Guard.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Auth/Guard.php
+++ b/src/Illuminate/Auth/Guard.php
@@ -156,8 +156,13 @@ class Guard implements GuardContract {
if (is_null($user) && ! is_null($recaller))
{
$user = $this->getUserByRecal... | Create new session when user authenticates via remember me cookie | laravel_framework | train |
fd78ea72bacd1fec46a6fbc774015a792208a77f | diff --git a/js/Resource/ResourceManager.js b/js/Resource/ResourceManager.js
index <HASH>..<HASH> 100644
--- a/js/Resource/ResourceManager.js
+++ b/js/Resource/ResourceManager.js
@@ -10,6 +10,10 @@ function newObject(Obj) {
return new (Obj.bind.apply(Obj, arguments))();
}
+// little shim for browsers not suppor... | FIXED: error if timeout was reached (ES6 promise doesn't support state())
IMPROVED: now using createBitmap() to draw on canvas if available | AthenaJS_athenajs | train |
b28b8cf1ee7b537ab83fc0508213c3a4c4556950 | diff --git a/src/foremast/elb/add_listeners.py b/src/foremast/elb/add_listeners.py
index <HASH>..<HASH> 100644
--- a/src/foremast/elb/add_listeners.py
+++ b/src/foremast/elb/add_listeners.py
@@ -6,11 +6,43 @@ from pprint import pformat
LOG = logging.getLogger(__name__)
+def format_listeners(elb_settings=None):
+ ... | refactor: Separate out Listener reading logic
See also: PSOBAT-<I> | foremast_foremast | train |
3d9965a7a9a5c7c25fd7eb2d678e9df55cb4cb67 | diff --git a/microcosm_logging/factories.py b/microcosm_logging/factories.py
index <HASH>..<HASH> 100644
--- a/microcosm_logging/factories.py
+++ b/microcosm_logging/factories.py
@@ -10,6 +10,7 @@ from microcosm.api import defaults
@defaults(
default_format="{asctime} - {name} - [{levelname}] - {message}",
+ ... | Expose log level and logger name in json logs.
Right now json logs from microcosm logging are hard to use because they
are missing level name or logger name. Both make searching log results
easier. The former allows you to filter for errors or exceptions. The
latter allows you to filter to logs from a specific logger,... | globality-corp_microcosm-logging | train |
cccea333a977742dc697ba0fd47e5610b5ef0679 | diff --git a/lib/sequelize-slugify.js b/lib/sequelize-slugify.js
index <HASH>..<HASH> 100644
--- a/lib/sequelize-slugify.js
+++ b/lib/sequelize-slugify.js
@@ -32,7 +32,10 @@ SequelizeSlugify.prototype.slugifyModel = function(Model, slugOptions) {
var slugValue = instance.slug;
// if we dont have a s... | Adding ability to prevent overwriting current slug | jarrodconnolly_sequelize-slugify | train |
5d36f4bfedf7029576201e329e097bad672b343d | diff --git a/lib/octopress-ink/tags/feeds_tag.rb b/lib/octopress-ink/tags/feeds_tag.rb
index <HASH>..<HASH> 100644
--- a/lib/octopress-ink/tags/feeds_tag.rb
+++ b/lib/octopress-ink/tags/feeds_tag.rb
@@ -11,7 +11,7 @@ module Octopress
end
def tag(url, title)
- "<link href='#{url.sub('index.x... | Feed tags now include site.baseurl | octopress_ink | train |
05301d2b6115edfbd8f8d10cec7f891016511a80 | diff --git a/hazelcast/src/main/java/com/hazelcast/map/impl/query/QueryOperation.java b/hazelcast/src/main/java/com/hazelcast/map/impl/query/QueryOperation.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/map/impl/query/QueryOperation.java
+++ b/hazelcast/src/main/java/com/hazelcast/map/impl... | Unnecessary serialization/deserialization of name field | hazelcast_hazelcast | train |
06e49139868762c07711cd09d21cae4b833dca38 | diff --git a/AttributeId.php b/AttributeId.php
index <HASH>..<HASH> 100644
--- a/AttributeId.php
+++ b/AttributeId.php
@@ -4,11 +4,12 @@ declare(strict_types=1);
namespace MsgPhp\Eav;
-use MsgPhp\Domain\DomainId;
+use MsgPhp\Domain\DomainIdTrait;
/**
* @author Roland Franssen <franssen.roland@gmail.com>
*/
... | Nuke abstract DomainId in favor of a trait (#<I>) | msgphp_eav | train |
f3fd125075c949fce2972eacb22ed18f82e6099b | diff --git a/lib/versionaire/version.rb b/lib/versionaire/version.rb
index <HASH>..<HASH> 100644
--- a/lib/versionaire/version.rb
+++ b/lib/versionaire/version.rb
@@ -53,7 +53,6 @@ module Versionaire
def to_s = to_a.join(self.class.delimiter)
alias_method :to_str, :to_s
- alias_method :values, :to_a
... | Removed version values alias
This is unnecessary and can be safely removed since the array is
implicitly provided by the Struct already. | bkuhlmann_versionaire | train |
36f20a4b2e3ad959c14fc71346c46b505516713c | diff --git a/simple_db_migrate/mysql.py b/simple_db_migrate/mysql.py
index <HASH>..<HASH> 100755
--- a/simple_db_migrate/mysql.py
+++ b/simple_db_migrate/mysql.py
@@ -56,14 +56,27 @@ class MySQL(object):
return execution_log
- def __change_db_version(self, version, migration_file_name, sql_up, sql_down,... | change method __change_db_version to not use __execute method on save migration to the version table | guilhermechapiewski_simple-db-migrate | train |
93ea86e60b7fd50b1c2f7d9cfe059625327a0bdf | diff --git a/lib/binary_parser.js b/lib/binary_parser.js
index <HASH>..<HASH> 100644
--- a/lib/binary_parser.js
+++ b/lib/binary_parser.js
@@ -204,7 +204,7 @@ Context.prototype.pushCode = function(code) {
this.code += code + '\n';
};
-Parser.prototype.compile = function() {
+Parser.prototype.getCode = function(... | Added method `getCode` | keichi_binary-parser | train |
061b15d26b1b1705753c73943265776e980425ef | diff --git a/openid/server/server.py b/openid/server/server.py
index <HASH>..<HASH> 100644
--- a/openid/server/server.py
+++ b/openid/server/server.py
@@ -394,6 +394,8 @@ class CheckIDRequest(OpenIDRequest):
if not TrustRoot.parse(self.return_to):
raise MalformedReturnURL(None, self.return_to)
+... | [project @ server.server.CheckIDRequest: move trust root checking from .answer to constructor. Fixes #<I>.]
I first thought that checking to see if the return_to is within the
trust_root is premature here, a logic-not-decoding thing. But it was
argued that this is really part of data validation. A request with
an i... | necaris_python3-openid | train |
79884d570ed931099b68635a06868267d20748c5 | diff --git a/tinylog-jboss/src/main/java/org/tinylog/adapter/jboss/JBossLoggingProvider.java b/tinylog-jboss/src/main/java/org/tinylog/adapter/jboss/JBossLoggingProvider.java
index <HASH>..<HASH> 100644
--- a/tinylog-jboss/src/main/java/org/tinylog/adapter/jboss/JBossLoggingProvider.java
+++ b/tinylog-jboss/src/main/ja... | Fix stack trace depth of caller in JBoss Logging adapter | pmwmedia_tinylog | train |
5331e20572e574bacd9f180c208574c862919750 | diff --git a/spec/stack_master/template_compilers/sparkle_formation_spec.rb b/spec/stack_master/template_compilers/sparkle_formation_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/stack_master/template_compilers/sparkle_formation_spec.rb
+++ b/spec/stack_master/template_compilers/sparkle_formation_spec.rb
@@ -6,12 +6,1... | Mocked JSON.pretty_generate and fixed up some failing tests | envato_stack_master | train |
8d9a0ae64b567a7f58a83c025d98b7d8e00ed8d5 | diff --git a/mod/forum/post.php b/mod/forum/post.php
index <HASH>..<HASH> 100644
--- a/mod/forum/post.php
+++ b/mod/forum/post.php
@@ -13,7 +13,7 @@
$name = optional_param('name','',PARAM_CLEAN);
$confirm = optional_param('confirm',0,PARAM_INT);
-
+
if (isguest()) {
$wwwroot = $CFG->ww... | Fix for MDL-<I>. Patch by David Mudrak. | moodle_moodle | train |
69956ed456ea4bcd0dd96f7ea2bcd439422d932f | diff --git a/src/Sulu/Bundle/ContactBundle/Controller/ContactController.php b/src/Sulu/Bundle/ContactBundle/Controller/ContactController.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/ContactBundle/Controller/ContactController.php
+++ b/src/Sulu/Bundle/ContactBundle/Controller/ContactController.php
@@ -504,13 +5... | fix error when creating male contact (#<I>) | sulu_sulu | train |
a27064c705c9b4be448e5aab855ac13195971efd | diff --git a/dca/tl_module.php b/dca/tl_module.php
index <HASH>..<HASH> 100644
--- a/dca/tl_module.php
+++ b/dca/tl_module.php
@@ -33,6 +33,7 @@ $GLOBALS['TL_DCA']['tl_module']['fields']['news_filterCategories'] = array
'label' => &$GLOBALS['TL_LANG']['tl_module']['news_filterCategories'],
'exclud... | Added the backend CSS classes to make it look good | codefog_contao-news_categories | train |
35e88cd6d90d1be3116870ffb8e5e12faadbb79b | diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Move the forcing of clear text encoding to the `ActiveRecord::Encryption::Encryptor`.
+
+ Fixes #42699.
+
+ *J Smith*
+
* `partial_... | Move forced encoding on deterministic encryption to the default encryptor | rails_rails | train |
b775072cafd3c633eb8288787817c40946bba837 | diff --git a/pyqode/core/modes/backspace.py b/pyqode/core/modes/backspace.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/modes/backspace.py
+++ b/pyqode/core/modes/backspace.py
@@ -30,9 +30,9 @@ class SmartBackSpaceMode(Mode):
break
cursor.setPosition(pos - 1)
cursor... | SmartBackspace: call parent implementation if there is no spaces to eat | pyQode_pyqode.core | train |
9de5fb6c71567c2d1db337993d8b3b730814e2f9 | diff --git a/benchexec/tools/metaval.py b/benchexec/tools/metaval.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/metaval.py
+++ b/benchexec/tools/metaval.py
@@ -49,20 +49,6 @@ class Tool(benchexec.tools.template.BaseTool2):
def name(self):
return "metaval"
- @contextlib.contextmanager
- def ... | Implement some feedback from the metaval PR review | sosy-lab_benchexec | train |
0a4a84ba49ce69b18b62a2dd6b0f7b34e64aeafc | diff --git a/packages/ember-views/lib/views/core_view.js b/packages/ember-views/lib/views/core_view.js
index <HASH>..<HASH> 100644
--- a/packages/ember-views/lib/views/core_view.js
+++ b/packages/ember-views/lib/views/core_view.js
@@ -11,7 +11,7 @@ import { cloneStates, states } from './states';
/**
`Ember.CoreView... | [DOC release] Fix typo in the description of CoreView | emberjs_ember.js | train |
3a2712bcb5416ff4debeacdb2908a42c0a435a1d | diff --git a/lib/moneta/adapters/mongodb.rb b/lib/moneta/adapters/mongodb.rb
index <HASH>..<HASH> 100644
--- a/lib/moneta/adapters/mongodb.rb
+++ b/lib/moneta/adapters/mongodb.rb
@@ -4,6 +4,7 @@ rescue LoadError
puts "You need the mongo gem to use the MongoDB moneta store"
exit
end
+require 'uri'
module Monet... | get db from uri string | moneta-rb_moneta | train |
ab62ecf393b92d1e644f82c4711b6618b7c572a5 | diff --git a/daemon/logger/journald/read.go b/daemon/logger/journald/read.go
index <HASH>..<HASH> 100644
--- a/daemon/logger/journald/read.go
+++ b/daemon/logger/journald/read.go
@@ -303,14 +303,21 @@ func (s *journald) readLogs(logWatcher *logger.LogWatcher, config logger.ReadCon
}
cursor = s.drainJournal(logWatch... | Open the journald following descriptor earlier
Following a journal log almost always requires a descriptor to be
allocated. In cases where we're running out of descriptors, this means
we might get stuck while attempting to start following the journal, at a
point where it's too late to report it to the client and clea... | containers_storage | train |
a9d00c1310609779ab98c0bab2db3242bb2e6502 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -30,18 +30,18 @@ def find_version(*parts):
return str(version_match.group(1))
raise RuntimeError("Unable to find version string.")
+install_requires=[
+ 'django-crispy-forms>=1.1.1',
+]
if sys.version_inf... | setup: install django-contrib-comments by default
This provides a nice out-of-the-box experience that Just Works (TM) | django-fluent_django-fluent-comments | train |
cf70623569b69071e439fd273ab1c8f1b30e3a0e | diff --git a/core/src/main/java/org/trimou/engine/DefaultMustacheEngine.java b/core/src/main/java/org/trimou/engine/DefaultMustacheEngine.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/trimou/engine/DefaultMustacheEngine.java
+++ b/core/src/main/java/org/trimou/engine/DefaultMustacheEngine.java
@@ -82,6 ... | Fix broken precompilation of all templates (#<I>) | trimou_trimou | train |
0accadb96de18d6d0c287129172ddb30307b3370 | diff --git a/test/extended/util/test.go b/test/extended/util/test.go
index <HASH>..<HASH> 100644
--- a/test/extended/util/test.go
+++ b/test/extended/util/test.go
@@ -398,6 +398,9 @@ var (
`\[Feature:Volumes\]`, // storage team to investigate it post-rebase
`\[Driver: csi-hostpath`, // storage team to invest... | Disable BlockVolume tests that need kubelet <I> | openshift_origin | train |
fe9535b9c2ba443bae7631f0f1425e6d81365c3a | diff --git a/lib/temping.rb b/lib/temping.rb
index <HASH>..<HASH> 100644
--- a/lib/temping.rb
+++ b/lib/temping.rb
@@ -1,16 +1,18 @@
-require 'active_record'
+require "active_record"
module Temping
+ VERSION = "2.0.0"
+
def self.included(base)
unless ActiveRecord::Base.connected?
- ActiveRecord::Base.c... | Ditch database-specific tests. That's ActiveRecord's problem. | jpignata_temping | train |
eb94bdac092976e0c626e342e9de78b48daf46a3 | diff --git a/src/Product/ProductListing.php b/src/Product/ProductListing.php
index <HASH>..<HASH> 100644
--- a/src/Product/ProductListing.php
+++ b/src/Product/ProductListing.php
@@ -85,12 +85,6 @@ class ProductListing
*/
public function getAttributeValueByCode($code)
{
- if (!$this->hasAttribute... | Issue #<I>: Remove superfluous validation | lizards-and-pumpkins_catalog | train |
5460c69351552cee6380948c3235b3b761897ee7 | diff --git a/src/PHPolyglot.php b/src/PHPolyglot.php
index <HASH>..<HASH> 100644
--- a/src/PHPolyglot.php
+++ b/src/PHPolyglot.php
@@ -87,6 +87,24 @@ class PHPolyglot
}
/**
+ * Checks that language codes are valid and also transforms them
+ *
+ * @param array $languages
+ *
+ * @throws I... | Updates:
- added method to sanitize language codes. | GinoPane_PHPolyglot | train |
2a29494864ba22e91f178c58d66af7cb91521aef | diff --git a/pylas/__init__.py b/pylas/__init__.py
index <HASH>..<HASH> 100644
--- a/pylas/__init__.py
+++ b/pylas/__init__.py
@@ -1,3 +1,5 @@
+__version__ = "0.1.4"
+
from . import errors
from .lib import convert, create_from_header
from .lib import create_las as create
diff --git a/setup.py b/setup.py
index <HASH>... | move version in pylas's top level __init__ | tmontaigu_pylas | train |
f4d201f61d74411e8561db4e3e0f7365c7386198 | diff --git a/pysat/utils/testing.py b/pysat/utils/testing.py
index <HASH>..<HASH> 100644
--- a/pysat/utils/testing.py
+++ b/pysat/utils/testing.py
@@ -189,7 +189,7 @@ def eval_bad_input(func, error, err_msg, input_args=None, input_kwargs=None):
except error as err:
# Evaluate the error message
as... | STY: updated comment
Updated comment to make sure the start and end of messages are clear. | rstoneback_pysat | train |
1f4985ac37075b14b3edb1e801a411db4272a0a6 | diff --git a/spec/acceptance/relaton_fetch_spec.rb b/spec/acceptance/relaton_fetch_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/acceptance/relaton_fetch_spec.rb
+++ b/spec/acceptance/relaton_fetch_spec.rb
@@ -1,3 +1,5 @@
+require 'open3'
+
RSpec.describe "Relaton Fetch" do
describe "relaton fetch" do
it "cal... | #<I> Move to %x and Open3.capture3 from rspec's command | metanorma_relaton-cli | train |
95d97aa0deecd65a64d9058d6df822ac5532ed4e | diff --git a/lib/beaker-pe/version.rb b/lib/beaker-pe/version.rb
index <HASH>..<HASH> 100644
--- a/lib/beaker-pe/version.rb
+++ b/lib/beaker-pe/version.rb
@@ -3,7 +3,7 @@ module Beaker
module PE
module Version
- STRING = '2.11.7'
+ STRING = '2.11.8'
end
end | (GEM) update beaker-pe version to <I> | puppetlabs_beaker-pe | train |
8db1138081a5b777bc219f2c0c91d5a3ff04ef9a | diff --git a/lib/express/view.js b/lib/express/view.js
index <HASH>..<HASH> 100644
--- a/lib/express/view.js
+++ b/lib/express/view.js
@@ -132,6 +132,8 @@ exports.watcher = function(interval){
* Render `view` partial with the given `options`.
*
* Options:
+ * - `object` Single object with name derived from the ... | Added support for "as" for non-collection partials. Closes #<I> | expressjs_express | train |
4e6a9ec41230b166d29d18202fd9fce04a617fa8 | diff --git a/javascript/UserForm.js b/javascript/UserForm.js
index <HASH>..<HASH> 100644
--- a/javascript/UserForm.js
+++ b/javascript/UserForm.js
@@ -5,71 +5,57 @@
*/
(function($) {
$(document).ready(function() {
-
- /**
- * Update the Field sortable
- */
- set_sortable();
-
/**
* Update the sortab... | BUGFIX: fixed sortable fields (again) not working on initial page load or when accessing a page directly. BUGFIX: fixed typo of livequery to live. | silverstripe_silverstripe-userforms | train |
f80ebd8bcb4cdaa2ad3a624cf8b4b7b7e9eca1af | diff --git a/src/test/java/integration/ConfirmTest.java b/src/test/java/integration/ConfirmTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/integration/ConfirmTest.java
+++ b/src/test/java/integration/ConfirmTest.java
@@ -22,7 +22,7 @@ public class ConfirmTest extends IntegrationTest {
@Before
public v... | disable ConfirmTest in Chrome
it's flaky as hell | selenide_selenide | train |
0557248fbd983ab5f86707b3d71fc62a05d028a4 | diff --git a/jax/lax/lax.py b/jax/lax/lax.py
index <HASH>..<HASH> 100644
--- a/jax/lax/lax.py
+++ b/jax/lax/lax.py
@@ -5173,8 +5173,13 @@ def _abstractify(x):
return raise_to_shaped(core.get_aval(x))
+
def _check_user_dtype_supported(dtype, fun_name=None):
- if dtype is not None and onp.dtype(dtype) != dtypes.... | Check for unsupported dtypes and issue a helpful error. (#<I>) | tensorflow_probability | train |
df7d86fd9899176f6bab805bec7be2205f77dbc9 | diff --git a/imagemounter/volume.py b/imagemounter/volume.py
index <HASH>..<HASH> 100644
--- a/imagemounter/volume.py
+++ b/imagemounter/volume.py
@@ -385,7 +385,8 @@ class Volume(object):
elif self.fstype == 'ntfs':
# NTFS
- cmd = ['mount', raw_path, self.mountpoint, '-t'... | Add show_sys_files to NTFS mount | ralphje_imagemounter | train |
e7e19a5b3597daf3c83a19bcf763e1fbb723fd6e | diff --git a/cloudinary-http43/src/test/java/com/cloudinary/test/UploaderTest.java b/cloudinary-http43/src/test/java/com/cloudinary/test/UploaderTest.java
index <HASH>..<HASH> 100644
--- a/cloudinary-http43/src/test/java/com/cloudinary/test/UploaderTest.java
+++ b/cloudinary-http43/src/test/java/com/cloudinary/test/Upl... | Mark more timeout tests for exclusion | cloudinary_cloudinary_java | train |
1ae9ec0b04544637c3613480236bd6b3d3f5b8cd | diff --git a/src/main/java/io/minio/client/Client.java b/src/main/java/io/minio/client/Client.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/minio/client/Client.java
+++ b/src/main/java/io/minio/client/Client.java
@@ -738,31 +738,38 @@ public class Client {
*/
public void makeBucket(String bucket, A... | Makebucket should not set erroneous XML on put for us-east-1 and milkyway. | minio_minio-java | train |
f040cb02b3515a4d73c102f03a7fb8ef2b304a26 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -65,7 +65,7 @@ function transform(str) {
continue;
}
if (/^require = fn/.test(line)) {
- break;
+ continue;
}
var match = re.exec(line); | change `break` to `continue` to ensure continued processing. | doowb_unlazy-loader | train |
b079ad6b3ee7e0aa3f9e616b99907a0b0252eca1 | diff --git a/rio_client/base.py b/rio_client/base.py
index <HASH>..<HASH> 100644
--- a/rio_client/base.py
+++ b/rio_client/base.py
@@ -11,10 +11,10 @@ from .transports.requests import RequestsTransport
class Client(object):
"""Rio Client."""
- def __init__(self, dsn=None):
+ def __init__(self, dsn=None, *... | allow more args for client. | soasme_rio-client | train |
49c86fb5cc02935785ece979398be5b85491037e | diff --git a/src/Command/SiteStatusCommand.php b/src/Command/SiteStatusCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/SiteStatusCommand.php
+++ b/src/Command/SiteStatusCommand.php
@@ -91,7 +91,9 @@ class SiteStatusCommand extends ContainerAwareCommand
$systemData = [];
foreach ($requireme... | [site:satatus] Fix command
* Use render method to get string.
* Add try catch block to:
* Settings::getHashSalt()
* config_get_config_directory() | hechoendrupal_drupal-console | train |
dee129f0de168b366d7eaf9be632928637415d41 | diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -82,7 +82,9 @@ def as_quat_array(a):
return quaternion(a[0], a[1], a[2], a[3])
# view only works if the last axis is contiguous
- if a.strides[-1] != a.itemsize:
+ # if a.strides[-1] != a.item... | Fix bug in converting non-contiguous arrays | moble_quaternion | train |
b09bf6249eca7139d803ae23f3180b023f05d517 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@ CHANGELOG
unreleased
----------
- Improve logic for enabling Apple Pay to only trigger with HTTPS (#328 thanks @maxsz)
+- Fix error for saved ApplePay payment method being displayed with incorre... | Uses lastTwo property of paymentMethod.details for ApplePay saved payment methods instead of paymentInstrumentName
closes #<I>
closes #<I> | braintree_braintree-web-drop-in | train |
a7b84f4dcef3a484cabbbbc310979b26d66976d0 | diff --git a/lib/mongify/database/column.rb b/lib/mongify/database/column.rb
index <HASH>..<HASH> 100644
--- a/lib/mongify/database/column.rb
+++ b/lib/mongify/database/column.rb
@@ -237,18 +237,18 @@ module Mongify
when :integer then value.to_i
when :float then value.to_f
when :d... | Fixed type casting
In ActiveRecord type casting has changed, so we needed to tweak the code. | anlek_mongify | train |
36676ba24db064103d688cd5d99bd25b8c71f762 | diff --git a/src/main/java/org/cactoos/text/TextOf.java b/src/main/java/org/cactoos/text/TextOf.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cactoos/text/TextOf.java
+++ b/src/main/java/org/cactoos/text/TextOf.java
@@ -317,6 +317,12 @@ public final class TextOf extends TextEnvelope {
* Ctor.
*
... | Add a todo for Iterable and Iterator ctors of TextOf #<I> | yegor256_cactoos | train |
14924747f778cc6a42b3f5c24646677162a6dc74 | diff --git a/test/unit/remotestorage-suite.js b/test/unit/remotestorage-suite.js
index <HASH>..<HASH> 100644
--- a/test/unit/remotestorage-suite.js
+++ b/test/unit/remotestorage-suite.js
@@ -16,10 +16,11 @@ define([], function() {
function fakeRequest(path) {
var promise = promising();
console.log('GET CAL... | Please the JSHint gods | remotestorage_remotestorage.js | train |
7aa164c738ec2d6bac518980dc21d3966508c8a8 | diff --git a/ext/games_dice/probabilities.c b/ext/games_dice/probabilities.c
index <HASH>..<HASH> 100644
--- a/ext/games_dice/probabilities.c
+++ b/ext/games_dice/probabilities.c
@@ -744,6 +744,8 @@ VALUE probabilities_for_fair_die( VALUE self, VALUE sides ) {
}
VALUE probabilities_from_h( VALUE self, VALUE hash ) ... | Test from_h, and ensure both variants raise a TypeError if param is not a Hash | neilslater_games_dice | train |
d52cfa8751b90bff949d7753a4998c67a5975f8f | diff --git a/scruffy/config.py b/scruffy/config.py
index <HASH>..<HASH> 100644
--- a/scruffy/config.py
+++ b/scruffy/config.py
@@ -4,12 +4,14 @@ Config
Classes for loading and accessing configuration data.
"""
+from __future__ import unicode_literals
import copy
import os
import ast
import yaml
import re
+fr... | change type() check to more robust isinstance() | snare_scruffy | train |
d5e920773ca0558d154a559e6df996ad0527b616 | diff --git a/app/models/thredded/topic.rb b/app/models/thredded/topic.rb
index <HASH>..<HASH> 100644
--- a/app/models/thredded/topic.rb
+++ b/app/models/thredded/topic.rb
@@ -6,6 +6,11 @@ module Thredded
scope :for_messageboard, -> messageboard { where(messageboard_id: messageboard.id) }
+ scope :stuck, -> ... | Convert topic.rb Relation class methods to scopes
Idiomatic Rails | thredded_thredded | train |
ba84313d50b390a3e6e351a1d14d7048da54e926 | diff --git a/src/Camera.js b/src/Camera.js
index <HASH>..<HASH> 100644
--- a/src/Camera.js
+++ b/src/Camera.js
@@ -1,9 +1,11 @@
import THREE from 'three';
export default class Camera {
threeCamera = null;
+ container = null;
// TODO add more camera options
constructor(options, container) {
+ this.conta... | Attempt to add window resize callback | grant_iso.js | train |
f9a38a847ea88b479322bf785d4a9fbd6ae300c5 | diff --git a/src/lib/partials-yaml.js b/src/lib/partials-yaml.js
index <HASH>..<HASH> 100644
--- a/src/lib/partials-yaml.js
+++ b/src/lib/partials-yaml.js
@@ -377,6 +377,7 @@ function getPartial(kvp, options) {
return result;
}
+ if (result.key === null || result.key === "") delete result.key;
return resu... | Fixed Issue with Keyless Partial References | lynx-json_lynx-docs | train |
abb638bb6e668b857c9596169dfd73f86221fb52 | diff --git a/src/Ixudra/Core/Http/Requests/BaseRequest.php b/src/Ixudra/Core/Http/Requests/BaseRequest.php
index <HASH>..<HASH> 100755
--- a/src/Ixudra/Core/Http/Requests/BaseRequest.php
+++ b/src/Ixudra/Core/Http/Requests/BaseRequest.php
@@ -10,9 +10,18 @@ abstract class BaseRequest extends FormRequest {
retu... | Improved BaseRequest to handle files | ixudra_core | train |
a6bdef9bed05e766d0c81da25918fe55d6c6e1a4 | diff --git a/filter.go b/filter.go
index <HASH>..<HASH> 100644
--- a/filter.go
+++ b/filter.go
@@ -8,15 +8,14 @@ type Filter struct {
*js.Object
Read interface{} `js:"read"`
Write interface{} `js:"write"`
- // Read func(vm *ViewModel, args []*js.Object) *js.Object `js:"read"`
- // Write func(vm *ViewModel, args... | using interface{} in Filter to utilize GopherJS type convertion automatically | oskca_gopherjs-vue | train |
e733babf48b270defe3500dc0ff0a3f0835c3032 | diff --git a/src/main/java/junitparams/internal/InvokeParameterisedMethod.java b/src/main/java/junitparams/internal/InvokeParameterisedMethod.java
index <HASH>..<HASH> 100644
--- a/src/main/java/junitparams/internal/InvokeParameterisedMethod.java
+++ b/src/main/java/junitparams/internal/InvokeParameterisedMethod.java
@... | - implemented issue #<I> ( Regression: NPE on null arrays in the parameters)
- empty wrapper object arrays won't break all tests anymore
- added test method to avoid such "all-tests-breaking" scenarios in future | Pragmatists_JUnitParams | train |
23eaa785da505b3d381235c5d455853cda4b3454 | diff --git a/version.go b/version.go
index <HASH>..<HASH> 100644
--- a/version.go
+++ b/version.go
@@ -2,4 +2,4 @@ package pivot
const ApplicationName = `pivot`
const ApplicationSummary = `an extensible database abstraction service`
-const ApplicationVersion = `3.1.13`
+const ApplicationVersion = `3.2.0` | Ensuring DB-attached models are migrated in the order they are attached | ghetzel_pivot | train |
f4051ef6b47c49acee7f999b7fd3a7e734848bd7 | diff --git a/lib/mongoid/persistable/settable.rb b/lib/mongoid/persistable/settable.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/persistable/settable.rb
+++ b/lib/mongoid/persistable/settable.rb
@@ -27,7 +27,9 @@ module Mongoid
field = field_and_value_hash.keys.first.to_s
if fields[field... | [#<I>] Considering nested hashes | mongodb_mongoid | train |
dec6c1581552305b499d9bd477cd52506987f9de | diff --git a/Controller/LogController.php b/Controller/LogController.php
index <HASH>..<HASH> 100644
--- a/Controller/LogController.php
+++ b/Controller/LogController.php
@@ -128,7 +128,7 @@ class LogController extends Controller
*/
private function getLogEntryRepository()
{
- return $this->getDo... | Use constants with "getRepository()" methods. | DarvinStudio_DarvinAdminBundle | train |
82d78b5c0fd392dd9fd23b6c2a74f56f0c4a586b | diff --git a/crossbuild.py b/crossbuild.py
index <HASH>..<HASH> 100755
--- a/crossbuild.py
+++ b/crossbuild.py
@@ -75,6 +75,7 @@ def go_build(package, goroot, gopath, goarch, goos,
env['GOPATH'] = gopath
env['GOARCH'] = goarch
env['GOOS'] = goos
+ env['CGO_ENABLED'] = '0'
command = ['go', 'instal... | Set CGO_ENABLED=0 for OSX x<I> resolution. use py2/3 compatible octals. | juju_juju | train |
7700253bd01a2a3b264461b044e25740a738548c | diff --git a/securesystemslib/gpg/functions.py b/securesystemslib/gpg/functions.py
index <HASH>..<HASH> 100644
--- a/securesystemslib/gpg/functions.py
+++ b/securesystemslib/gpg/functions.py
@@ -47,7 +47,8 @@ def gpg_sign_object(content, keyid=None, homedir=None):
Path to the gpg keyring. If not passed the... | DOC:gpg:functions: update exception docstrings
The gpg_sign_object did not mention two possible exceptions to raise
when trying to sign an object. Mention those two exceptions and the
reasons as to why they may be raised in the docstrings. | secure-systems-lab_securesystemslib | train |
76b09f2cf0148ceac6166ccc54dafe0de5f0c7a9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -9,11 +9,10 @@ var logSymbols = require('log-symbols');
var isNumber, isString;
(function (toS) {
- toS = toS.call.bind(toS);
var _ = function (ref) {
- ref = toS(ref);
+ ref = toS.call(ref);
return function... | Nammed functions for better stacktraces. | JsCommunity_exec-promise | train |
eff5178476db5a6326312b5c4f6026d86c1546e5 | diff --git a/lib/helpers.js b/lib/helpers.js
index <HASH>..<HASH> 100644
--- a/lib/helpers.js
+++ b/lib/helpers.js
@@ -1,4 +1,6 @@
-var exec = require('child_process').exec
+var exec = require('child_process').exec,
+ _ = require('lodash')
+
module.exports.asyncIterate = function(array, callback, done) {
... | Fix “checkRunning” to return right container’s running status | mnylen_pig | train |
4721f30aa4be9655b07b74248d6aa79f9499785c | diff --git a/gwtbootstrap3/src/main/java/org/gwtbootstrap3/client/ui/Navbar.java b/gwtbootstrap3/src/main/java/org/gwtbootstrap3/client/ui/Navbar.java
index <HASH>..<HASH> 100644
--- a/gwtbootstrap3/src/main/java/org/gwtbootstrap3/client/ui/Navbar.java
+++ b/gwtbootstrap3/src/main/java/org/gwtbootstrap3/client/ui/Navba... | Added role="form" attribute to Forms | gwtbootstrap3_gwtbootstrap3 | train |
6d912fc8785d2e06d2d7347e2c07ac97ffb5bd40 | diff --git a/examples/simple.js b/examples/simple.js
index <HASH>..<HASH> 100644
--- a/examples/simple.js
+++ b/examples/simple.js
@@ -1,5 +1,6 @@
-var spawnCommand = require('../');
- child = spawnCommand('echo "Hello spawn" | base64');
+var spawnCommand = require('../'),
+ command = (process.platform === 'win32... | windows compatible command
win compatible simple echo command without base<I> as it doesn't exists on windows by default | mmalecki_spawn-command | train |
d16e8f62db08411d7e1ec96abb6dbba7f8e91262 | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -158,8 +158,8 @@ var minAccuracy = 0.75;
// = 1 - max(1, df) / rf
var freqRatioMax = 1 - minAccuracy;
-// Request cache size of 50MB (~5000 bytes/image).
-var requestCache = new LruCache(0); // 10000
+// Request ... | Re-enable server cache
The hope is that having only one server (HTTP, instead of HTTP + HTTPS) would be
enough to relieve the server of the stress it experiences memory-wise.
While there was a crash a week with two servers, there was only one crash in a
month since the switch, and the server was immediately restarted... | badges_shields | train |
bbb4376aa2ddfaa68374109cf3cf69971a4ddce8 | diff --git a/src/Helpers/module.php b/src/Helpers/module.php
index <HASH>..<HASH> 100644
--- a/src/Helpers/module.php
+++ b/src/Helpers/module.php
@@ -1,42 +1,47 @@
<?php
-/**
- * Return the path to the given module file.
- *
- * @param string $module
- * @param string $file
- * @return string
- */
-function mod... | Wrap module_ helpers in function_exists conditionals | caffeinated_modules | train |
2d9a7711e1b0cdb7caf96f7efb53a0954a800897 | diff --git a/src/sap.m/src/sap/m/SplitContainer.js b/src/sap.m/src/sap/m/SplitContainer.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/SplitContainer.js
+++ b/src/sap.m/src/sap/m/SplitContainer.js
@@ -632,7 +632,8 @@ sap.ui.define(['jquery.sap.global', './library', 'sap/ui/core/Control', 'sap/ui/
}
va... | [FIX] sap.m.SplitContainer: Deatil view is showing now correctly
Change-Id: I4e3f<I>a<I>aea<I>a7a<I>b3eff<I>dca4e6ad2a
BCP: <I> | SAP_openui5 | train |
9c457e4324acd8f1c46a687dcb0e36c5687484b2 | diff --git a/cluster_test.go b/cluster_test.go
index <HASH>..<HASH> 100644
--- a/cluster_test.go
+++ b/cluster_test.go
@@ -65,7 +65,7 @@ func TestServersOption(t *testing.T) {
opts.Servers = testServers
_, err = opts.Connect()
if err == nil || err != ErrNoServers {
- t.Fatal("Did not receive proper error: %v", e... | Cleaned up connect, clean up connections in tests | nats-io_go-nats | train |
24759e667b6b4117b7a79db4539920f0d6f83e65 | diff --git a/packages/xod-func-tools/src/errors.js b/packages/xod-func-tools/src/errors.js
index <HASH>..<HASH> 100644
--- a/packages/xod-func-tools/src/errors.js
+++ b/packages/xod-func-tools/src/errors.js
@@ -3,16 +3,21 @@ import { Either } from 'ramda-fantasy';
import { def } from './types';
import { foldMaybe, fo... | feat(xod-func-tools): add `createErrors` and `then` functions | xodio_xod | train |
f572f40ac7450a7f83f9bf4ea12619c2b45deb3e | diff --git a/lib/core/engine/command/javaScript.js b/lib/core/engine/command/javaScript.js
index <HASH>..<HASH> 100644
--- a/lib/core/engine/command/javaScript.js
+++ b/lib/core/engine/command/javaScript.js
@@ -42,7 +42,7 @@ class JavaScript {
}
/**
- * Run privileged JavaScript.
+ * Run synchronous privile... | Add async privileged API | sitespeedio_browsertime | train |
642960514562eda9ebec9508a1d6fb8671e5c8e3 | diff --git a/js/FuzzySearch.js b/js/FuzzySearch.js
index <HASH>..<HASH> 100644
--- a/js/FuzzySearch.js
+++ b/js/FuzzySearch.js
@@ -16,7 +16,9 @@ var FuzzySearch = prime({
options: {
'caseSensitive': false,
- 'termPath': ''
+ 'termPath': '',
+ 'returnEmptyArray': false,
+ 'min... | [ENH] minimum score can now be set | unlooped_FuzzySearchJS | train |
ec133eaa3d830fd2529021b8d6d48c9f41aad6df | diff --git a/lib/engine/cylinder.js b/lib/engine/cylinder.js
index <HASH>..<HASH> 100644
--- a/lib/engine/cylinder.js
+++ b/lib/engine/cylinder.js
@@ -42,10 +42,9 @@ cylinder.make = function(config){
new_cylinder.listening_socket.on("message", function(data){
var parsed_data = JSON.parse(data.toString());
... | Integrated TaskResponseSender for context validation | rehanift_engine.js | train |
595052b9a4919f2232f7c0f84369e423580fcf97 | diff --git a/lib/google_visualization.rb b/lib/google_visualization.rb
index <HASH>..<HASH> 100644
--- a/lib/google_visualization.rb
+++ b/lib/google_visualization.rb
@@ -138,7 +138,7 @@ module GoogleVisualization
def escape(s)
if s
- s.gsub(/'/, "\\'")
+ s.gsub(/(?<!\\)'/, "\\'")
end
end | Escape only if not already escaped | jeremyolliver_gvis | train |
481b88df34dd24ebc2cc04d6390006c8b9c56861 | diff --git a/spambl.py b/spambl.py
index <HASH>..<HASH> 100644
--- a/spambl.py
+++ b/spambl.py
@@ -324,12 +324,18 @@ class HostCollection(object):
May be used as a local whitelist or blacklist.
'''
- def __init__(self, hosts=()):
+ def __init__(self, identifier, classification, hosts=()):
... | Add lookup method to HostCollection class
This method is being added so that all the classes representing
different types of blacklists implement similar interfaces. | piotr-rusin_spam-lists | train |
5f3f2f3baef1369b167a897ad0709f63e9769430 | diff --git a/tests/unit/modules/ddns_test.py b/tests/unit/modules/ddns_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/ddns_test.py
+++ b/tests/unit/modules/ddns_test.py
@@ -29,6 +29,9 @@ ddns.__grains__ = {}
ddns.__salt__ = {}
+@skipif(True, 'mocking dnspython without depending on it being installed'... | fix ddns tests
These tests will only work if dnspython is installed. Mocking away
dnspython is a great amount of work, so we'll just disable these tests
for now. | saltstack_salt | train |
c631a5e6b362ade6f4410dd69bfa85a0a854b82f | diff --git a/dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/metagen/MetatypeGenerator.java b/dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/metagen/MetatypeGenerator.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/metagen/MetatypeGenerator.java
+++ b/dev/com.ibm.ws.jca.uti... | Moved the setting of RA name because it was being accessed before being set and cause name to be null. Added testcase for reserved ra name to suite and added config to drive test. | OpenLiberty_open-liberty | train |
5e59e1b2532531c6cf60eaffcf33f47c3bb37ee7 | diff --git a/src/Sylius/Bundle/InstallerBundle/Command/SetupCommand.php b/src/Sylius/Bundle/InstallerBundle/Command/SetupCommand.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/InstallerBundle/Command/SetupCommand.php
+++ b/src/Sylius/Bundle/InstallerBundle/Command/SetupCommand.php
@@ -11,6 +11,8 @@
namespac... | Updated Setup command to create channels | Sylius_Sylius | train |
731ce5b6f429bfff12a143df2aac3e7b5a078e4b | diff --git a/MAVProxy/modules/mavproxy_map/__init__.py b/MAVProxy/modules/mavproxy_map/__init__.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_map/__init__.py
+++ b/MAVProxy/modules/mavproxy_map/__init__.py
@@ -70,7 +70,7 @@ class MapModule(mp_module.MPModule):
'''show map position click inform... | map: label as WGS<I> | ArduPilot_MAVProxy | train |
f70462a4f5ef34c42b70caa7951bb5a08312c2e6 | diff --git a/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/RxHttp.java b/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/RxHttp.java
index <HASH>..<HASH> 100644
--- a/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/RxHttp.java
+++ b/spectator-nflx-plugin/src/main/java/com/... | helper for sending an arbitrary request object | Netflix_spectator | train |
389a56b5cc9a7a0c3acd8a1f601049e71c855f02 | diff --git a/examples/basic/example5.rb b/examples/basic/example5.rb
index <HASH>..<HASH> 100644
--- a/examples/basic/example5.rb
+++ b/examples/basic/example5.rb
@@ -28,13 +28,11 @@ end
')
# run privileged code in the sandbox, if not, the methods defined in the sandbox are invisible from outside
-s.run do
- x = X.... | fixed example of define a class inside the sandbox and use it from outside | tario_shikashi | train |
5432dc936c8367f8dd3426cc41f4f6de37b11411 | diff --git a/src/Projection/PdoEventStoreProjector.php b/src/Projection/PdoEventStoreProjector.php
index <HASH>..<HASH> 100644
--- a/src/Projection/PdoEventStoreProjector.php
+++ b/src/Projection/PdoEventStoreProjector.php
@@ -160,6 +160,10 @@ final class PdoEventStoreProjector implements Projector
int $sleep,... | Minor code-formating & adjustmnets to follow same style than InMemory projections | prooph_pdo-event-store | train |
00dd640449284c7b3af2c65f64a3c02db78c77f9 | diff --git a/c7n/resolver.py b/c7n/resolver.py
index <HASH>..<HASH> 100644
--- a/c7n/resolver.py
+++ b/c7n/resolver.py
@@ -15,13 +15,14 @@ from __future__ import absolute_import, division, print_function, unicode_litera
import csv
import io
+import jmespath
import json
import os.path
from six import text_type
f... | uriresolver - add variable interpolation for account_id and region (#<I>) | cloud-custodian_cloud-custodian | train |
f19fade6e5a5cc8ad68be468db1d44a2915a0034 | diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -100,12 +100,15 @@ class _LoopbackMixin:
client = Connection(Context(TLSv1_METHOD), client)
client.set_connect_state()
- for i in range... | Ensure the handshake really completes before returning from _loopback | pyca_pyopenssl | train |
2fc6e350d888145c12207e9dc3bf0cd9565a2bd4 | diff --git a/will/listen.py b/will/listen.py
index <HASH>..<HASH> 100644
--- a/will/listen.py
+++ b/will/listen.py
@@ -11,6 +11,7 @@ class WillXMPPClientMixin(ClientXMPP):
ClientXMPP.__init__(self, settings.WILL_USERNAME, settings.WILL_PASSWORD)
self.rooms = []
self.available_rooms = {}
+ ... | Cleans up session start handler. Not ideal, but works. | skoczen_will | train |
1ee7c06d2dd633fd15a7470f4ef3ecaf6b4d38a4 | diff --git a/lib/ronin/ui/output/output.rb b/lib/ronin/ui/output/output.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/ui/output/output.rb
+++ b/lib/ronin/ui/output/output.rb
@@ -42,6 +42,15 @@ module Ronin
end
#
+ # @return [true, false] Specifies whether silent output is enabled.
+ #
+ ... | Added Output.silent= and Output.silent?. | ronin-ruby_ronin | train |
93f85f8113631d100e9bc846a912f8619390ac09 | diff --git a/command.go b/command.go
index <HASH>..<HASH> 100644
--- a/command.go
+++ b/command.go
@@ -50,6 +50,12 @@ func (c *Command) AddEnvs(envs ...string) *Command {
return c
}
+// AddCommitter appends given committer to the command.
+func (c *Command) AddCommitter(committer *Signature) *Command {
+ c.AddEnvs... | repo_tag: able to create annotated tag (#<I>) | gogs_git-module | train |
71d1e01f6421166915ed0b7a51f2f5f4912e13cc | diff --git a/lib/jitsu/commands/install.js b/lib/jitsu/commands/install.js
index <HASH>..<HASH> 100644
--- a/lib/jitsu/commands/install.js
+++ b/lib/jitsu/commands/install.js
@@ -38,7 +38,7 @@ var install = module.exports = function (starterName, callback) {
if (err) {
return cb(err);
}
- wi... | [minor] Updates to jitsu install copy | nodejitsu_jitsu | train |
1e3fe305b982cc696f63b849948d959a8c68d90a | diff --git a/floyd/cli/experiment.py b/floyd/cli/experiment.py
index <HASH>..<HASH> 100644
--- a/floyd/cli/experiment.py
+++ b/floyd/cli/experiment.py
@@ -24,6 +24,16 @@ from floyd.model.experiment_config import ExperimentConfig
from floyd.log import logger as floyd_logger
from floyd.cli.utils import read_yaml_config... | Exit on follow by inspecting the current log line (#<I>)
* Exit on follow by inspecting the current log line
* Move list creation, simplify substring matching condition
* Move list as a constant. Check status inline.
* Fix typo | floydhub_floyd-cli | train |
6dfbb1b5f65955d295ec0579713777c2b73e562f | diff --git a/src/js/plugin/girderBrowser.js b/src/js/plugin/girderBrowser.js
index <HASH>..<HASH> 100644
--- a/src/js/plugin/girderBrowser.js
+++ b/src/js/plugin/girderBrowser.js
@@ -15,6 +15,7 @@
label,
api,
selectItem,
+ selectFolder,
selectSearchResult,
... | Added "select folder" callback | Kitware_tangelo | train |
3fcfde467a6eded373b3184c0f2b76286f79cd82 | diff --git a/meshio/gmsh/_gmsh22.py b/meshio/gmsh/_gmsh22.py
index <HASH>..<HASH> 100644
--- a/meshio/gmsh/_gmsh22.py
+++ b/meshio/gmsh/_gmsh22.py
@@ -71,12 +71,12 @@ def read_buffer(f, is_ascii, data_size):
cell_data = cell_data_from_raw(cells, cell_data_raw)
# merge cell_tags into cell_data
- for name,... | small fix in gmsh<I> tag reads | nschloe_meshio | train |
b415cdbe1d22a3519f581bcb07be07b98a992864 | diff --git a/public/js/knockout/custom-bindings.js b/public/js/knockout/custom-bindings.js
index <HASH>..<HASH> 100644
--- a/public/js/knockout/custom-bindings.js
+++ b/public/js/knockout/custom-bindings.js
@@ -642,6 +642,26 @@
}
};
+ /**
+ * The enumText binding converts a value and an options array to a ... | Added "editable" check and "Label (value)" style appearance for ENUM field | FrozenNode_Laravel-Administrator | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.