hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
92ee7438d5b54f48122540174ef9204db654f7f7
diff --git a/src/TestUtils/CloudFunctionDeploymentTrait.php b/src/TestUtils/CloudFunctionDeploymentTrait.php index <HASH>..<HASH> 100644 --- a/src/TestUtils/CloudFunctionDeploymentTrait.php +++ b/src/TestUtils/CloudFunctionDeploymentTrait.php @@ -23,6 +23,7 @@ use Google\Cloud\TestUtils\GcloudWrapper\CloudFunction; us...
chore(functions): Fix missing use reference
GoogleCloudPlatform_php-tools
train
3cf6b1d847c1112434a468134c301b89eb5bc473
diff --git a/lib/label/add-label.js b/lib/label/add-label.js index <HASH>..<HASH> 100644 --- a/lib/label/add-label.js +++ b/lib/label/add-label.js @@ -31,7 +31,7 @@ function addLabel(root, node, location) { y = (-labelBBox.height / 2); } labelSvg.attr("transform", - "translate(" + (-labelBBo...
Fix positioning of 'text-anchor: middle' node labels.
smbolton_dagre-d3v4
train
d9b12055ebbd3f82b890f8df713ad7c0fe1309ba
diff --git a/src/Link.php b/src/Link.php index <HASH>..<HASH> 100644 --- a/src/Link.php +++ b/src/Link.php @@ -7,27 +7,30 @@ use Selene\Matisse\VisualComponent; class LinkAttributes extends VisualComponentAttributes { - public $label; - public $url; - public $disabled = false; - public $tooltip; - public $scri...
Added autohilight to link component.
electro-modules_matisse-components
train
b174f98e161e2fbbe85dc29f2f373179c17ae3ad
diff --git a/defaultschema.js b/defaultschema.js index <HASH>..<HASH> 100644 --- a/defaultschema.js +++ b/defaultschema.js @@ -83,12 +83,12 @@ export class HardBreak extends Inline { // ;; The default emphasis mark type. export class EmMark extends MarkType { - static get rank() { return 51 } + static get rank() ...
Overhaul algorithm that renders marks in Markdown So that it only 'mixes' opening and closing syntax when allowed. Issue #<I>
ProseMirror_prosemirror-model
train
9a127cd141c1bca9863cd4e9e1963cb6c0088923
diff --git a/test/e2e/logging.test.js b/test/e2e/logging.test.js index <HASH>..<HASH> 100644 --- a/test/e2e/logging.test.js +++ b/test/e2e/logging.test.js @@ -4,6 +4,7 @@ const path = require("path"); const fs = require("graceful-fs"); const webpack = require("webpack"); const Server = require("../../lib/Server"); +...
test: migrate logging test on `HTMLGeneratorPlugin` (#<I>)
webpack_webpack-dev-server
train
918cc24937497094b8a0eddf3a3d30f57b7e54aa
diff --git a/test/resources/metrics_test.js b/test/resources/metrics_test.js index <HASH>..<HASH> 100644 --- a/test/resources/metrics_test.js +++ b/test/resources/metrics_test.js @@ -22,9 +22,10 @@ describe('Metrics', function() { }); }); + // 1424377740 it('encodes time ranges', function() { ...
Supply alternate metric timestamp mock url Differences in UTC time between platforms cause tests to fail in CI.
delighted_delighted-node
train
04d64bba940d6e36fb4e09b8c79719f4722a663a
diff --git a/salt/modules/nilrt_ip.py b/salt/modules/nilrt_ip.py index <HASH>..<HASH> 100644 --- a/salt/modules/nilrt_ip.py +++ b/salt/modules/nilrt_ip.py @@ -12,9 +12,9 @@ import configparser import os # Import salt libs -import salt.utils.validate.net import salt.exceptions - +import salt.utils.files +import sal...
Update old utils paths with new paths
saltstack_salt
train
903997b37ee06fdfbf92c8f13559f3f1fe0e3416
diff --git a/packages/build/src/index.js b/packages/build/src/index.js index <HASH>..<HASH> 100644 --- a/packages/build/src/index.js +++ b/packages/build/src/index.js @@ -47,6 +47,8 @@ module.exports = ({ return require.resolve("./marko-compiler"); })(); + const isMarko5 = !markoCompiler.createBuilder; + ...
feat(build): marko 5 support
marko-js_cli
train
d8a192f181a426076d6252e45f28865c0de4e9e9
diff --git a/test/backup_test.go b/test/backup_test.go index <HASH>..<HASH> 100644 --- a/test/backup_test.go +++ b/test/backup_test.go @@ -819,3 +819,93 @@ func ensureRemoteBackup(ctx context.Context, b driver.ClientBackup, t *testing.T } return id } + +func TestBackupRestoreWithViews(t *testing.T) { + c := create...
Added test for views in backup. (#<I>)
arangodb_go-driver
train
b2da1cbcbf968e49f1fadf6c7d03b144c579e84d
diff --git a/lib/ostatus/atom.js b/lib/ostatus/atom.js index <HASH>..<HASH> 100644 --- a/lib/ostatus/atom.js +++ b/lib/ostatus/atom.js @@ -24,6 +24,7 @@ var Sys = require('sys'), Url = require('url'), + Util = require('util'), Http = require('./http.js'), Xml = require('o3-xml'); Path = require('path')...
Capture meta data such as title/subtitle/links etc. Entries are now in "items".
eschnou_node-ostatus
train
e9e30c0bd80b00264ece81e7a596c36084cd46d3
diff --git a/skyfield/sgp4lib.py b/skyfield/sgp4lib.py index <HASH>..<HASH> 100644 --- a/skyfield/sgp4lib.py +++ b/skyfield/sgp4lib.py @@ -192,7 +192,7 @@ class EarthSatellite(VectorFunction): R = _T(TEME.rotation_at(t)) r = mxv(R, r) v = mxv(R, v) - return r, v, r, error + retu...
Eliminate 3rd return value from all but one _at() This small simplification took quite a few tries to get right, but starts moving us along again toward #<I>.
skyfielders_python-skyfield
train
7a7435fd81aa155080ad5a78ca62ab6ae7461cdd
diff --git a/regions/io/core.py b/regions/io/core.py index <HASH>..<HASH> 100644 --- a/regions/io/core.py +++ b/regions/io/core.py @@ -12,11 +12,11 @@ from astropy.coordinates import BaseCoordinateFrame, Angle from astropy import log from .. import shapes -from ..core import PixCoord, SkyRegion +from ..core import ...
added to_ds9_meta and to_crtf_meta to make meta attributes compatible with their respective format
astropy_regions
train
8b8d78c44ee255e801a275513d27dcfc13ccaeb2
diff --git a/src/test/java/com/maxmind/geoip2/DatabaseReaderTest.java b/src/test/java/com/maxmind/geoip2/DatabaseReaderTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/maxmind/geoip2/DatabaseReaderTest.java +++ b/src/test/java/com/maxmind/geoip2/DatabaseReaderTest.java @@ -5,6 +5,8 @@ import com.maxmind.ge...
Add basic test for all the try methods
maxmind_GeoIP2-java
train
e79a428cf7070ba27ddf33baa5f1c464d3873dd1
diff --git a/lib/mascot/dat/peptides.rb b/lib/mascot/dat/peptides.rb index <HASH>..<HASH> 100644 --- a/lib/mascot/dat/peptides.rb +++ b/lib/mascot/dat/peptides.rb @@ -32,30 +32,30 @@ module Mascot class DAT::Peptides # A hash of the index positions for the peptide PSM matches. - # Keys are - attr_reader...
initial pass at parsing query results in peptides section. in progress and unstable
delagoya_mascot-dat
train
0a9ba3e280a7830da318676a0644ee0226fd7c68
diff --git a/src/Suite/index.js b/src/Suite/index.js index <HASH>..<HASH> 100644 --- a/src/Suite/index.js +++ b/src/Suite/index.js @@ -176,10 +176,10 @@ class Suite { * * @param {Function} callback * - * @return {void} + * @return {Object} Instance of japa hook */ beforeEach (callback) { - th...
feat(runner): return japa Hook instance (#<I>) to allow calling timeout function from spec files
adonisjs_adonis-vow
train
da37113307ee04f8fa3aac4740b87e5e5b577b69
diff --git a/src/Parser.php b/src/Parser.php index <HASH>..<HASH> 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -381,9 +381,6 @@ class Parser } } elseif ('\\' == $char) { $this->isValueEscaped = true; - } elseif ('%' == $char) { - $this->stateAfterCommentIsGone...
read properly the % char when inside a delimited value fix #6
renanbr_bibtex-parser
train
7664be99e23e5dadaa259e7f3418ff3651fd4f62
diff --git a/lib/active_hash/base.rb b/lib/active_hash/base.rb index <HASH>..<HASH> 100644 --- a/lib/active_hash/base.rb +++ b/lib/active_hash/base.rb @@ -308,6 +308,10 @@ module ActiveHash true end + def persisted? + self.class.all.map(&:id).include?(id) + end + def to_param id.to_...
add persisted? method to ActiveHash::Base
zilkey_active_hash
train
3557f6fc7511cd481042f95d617fc4a0501feeb7
diff --git a/visidata/data.py b/visidata/data.py index <HASH>..<HASH> 100644 --- a/visidata/data.py +++ b/visidata/data.py @@ -23,7 +23,7 @@ globalCommand('r', 'tmp=cursorVisibleColIndex; moveRegex(sheet, regex=input("row globalCommand('zc', 'sheet.cursorVisibleColIndex = int(input("move to column number: "))', 'move ...
[R] push sheet with random subset of rows (previously selected randomly)
saulpw_visidata
train
b61b223523997ec31fe79cffe8eb06fb3a563ae8
diff --git a/ninja-core/src/main/java/ninja/diagnostics/DiagnosticErrorRenderer.java b/ninja-core/src/main/java/ninja/diagnostics/DiagnosticErrorRenderer.java index <HASH>..<HASH> 100644 --- a/ninja-core/src/main/java/ninja/diagnostics/DiagnosticErrorRenderer.java +++ b/ninja-core/src/main/java/ninja/diagnostics/Diagno...
Added additional HTML escaping for name/value pairs
ninjaframework_ninja
train
a9c266b4869f0735abcb98a1833263fa6a87f2a1
diff --git a/indra/pysb_assembler.py b/indra/pysb_assembler.py index <HASH>..<HASH> 100644 --- a/indra/pysb_assembler.py +++ b/indra/pysb_assembler.py @@ -6,9 +6,6 @@ from pysb import (Model, Monomer, Parameter, Rule, Annotation, from pysb.core import SelfExporter import pysb.export -from bel import bel_api -from b...
Remove unnecessary imports from PySB assembler
sorgerlab_indra
train
6bb8ae9ca503a8c942c71d4907add298a92bc421
diff --git a/java/src/main/java/com/anaconda/skein/Model.java b/java/src/main/java/com/anaconda/skein/Model.java index <HASH>..<HASH> 100644 --- a/java/src/main/java/com/anaconda/skein/Model.java +++ b/java/src/main/java/com/anaconda/skein/Model.java @@ -18,10 +18,10 @@ public class Model { } } - private sta...
Allow 0 for instances in spec
jcrist_skein
train
a1ac175fdb840f0738a377b08885037683dfe903
diff --git a/src/Requisite/Rule/NamespaceDirectoryMapper.php b/src/Requisite/Rule/NamespaceDirectoryMapper.php index <HASH>..<HASH> 100644 --- a/src/Requisite/Rule/NamespaceDirectoryMapper.php +++ b/src/Requisite/Rule/NamespaceDirectoryMapper.php @@ -53,6 +53,10 @@ class NamespaceDirectoryMapper implements AutoLoadRule...
make sure, class names starts always with a backslash
dnaber-de_Requisite
train
2800de660c4bb7cf4b6072569755c19a98398af2
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ docs_requirements = [ "distributed>=2.0", ] -gis_requirements = ["clisops>=0.4.0"] +gis_requirements = ["clisops>0.4.0"] dev_requirements = [] with open("requirements_dev.txt") as dev:
Set clisops to version above <I> (due to commit <I>da<I>d<I>ff8b<I>eccec4e3d<I>ec0cb8a)
Ouranosinc_xclim
train
4267c9cb2300cc0792b25b5a8ef020454e8521c1
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -269,17 +269,17 @@ def accept_path(path, ref_path): >>> accept_path(['SM2'], ('SM2', 'a3b1')) False - >>> accept_path(['SM2', '...
Changed *->@ [skip hazardlib]
gem_oq-engine
train
25da38373af6f3b578001ea76c4a2f16451bd6d0
diff --git a/src/Monolog/Handler/SlackHandler.php b/src/Monolog/Handler/SlackHandler.php index <HASH>..<HASH> 100644 --- a/src/Monolog/Handler/SlackHandler.php +++ b/src/Monolog/Handler/SlackHandler.php @@ -144,6 +144,17 @@ class SlackHandler extends SocketHandler protected function write(array $record) { ...
Split off work into a new method to facilitate extension, fixes #<I>
Seldaek_monolog
train
734c5d73db0411f5ba3072658a8729992782ba0a
diff --git a/example/examples/CachedMap.js b/example/examples/CachedMap.js index <HASH>..<HASH> 100644 --- a/example/examples/CachedMap.js +++ b/example/examples/CachedMap.js @@ -66,8 +66,8 @@ class CachedMap extends React.Component { cacheEnabled={this.state.cache} zoomEnabled ...
kept double quote and removed curly braces
react-native-community_react-native-maps
train
23d61b4452c6bee401c66ef8d416e74804cd8d6c
diff --git a/src/Utility.php b/src/Utility.php index <HASH>..<HASH> 100644 --- a/src/Utility.php +++ b/src/Utility.php @@ -33,7 +33,7 @@ class Utility * @param mixed $string * @param string $encoding */ - public function __construct($string = '', $encoding = null) + public function __construct($...
added: method for setting the string encoding
myerscode_utilities-strings
train
f53eab9b8d4fbc76d4e7d057d835bc97ad23d999
diff --git a/src/cli-util.js b/src/cli-util.js index <HASH>..<HASH> 100644 --- a/src/cli-util.js +++ b/src/cli-util.js @@ -328,8 +328,21 @@ function formatFiles(argv) { function createUsage() { const options = constant.detailOptions; + const optionsWithOpposites = options.map(option => [ + option.description ...
Make cli-util.js a bit more readable
josephfrazier_prettier_d
train
fc02c2c1339702b2ed024a3664c5ac78ffde7356
diff --git a/src/Behat/Mink/Driver/ZombieDriver.php b/src/Behat/Mink/Driver/ZombieDriver.php index <HASH>..<HASH> 100644 --- a/src/Behat/Mink/Driver/ZombieDriver.php +++ b/src/Behat/Mink/Driver/ZombieDriver.php @@ -662,31 +662,15 @@ JS; * * @param string $event The name of the event * @param str...
fixed ZombieDriver to support latest zombie.js
minkphp_Mink
train
a8e34b2266c4880351a6bba0e51ecc2f33b59908
diff --git a/param/parameterized.py b/param/parameterized.py index <HASH>..<HASH> 100644 --- a/param/parameterized.py +++ b/param/parameterized.py @@ -297,6 +297,17 @@ def instance_descriptor(f): return _f +def get_method_owner(method): + """ + Gets the instance that owns the supplied method + """ + ...
Ensure that Parameterized remaps watchers on copy (#<I>)
pyviz_param
train
265c2dc073c883eac9a1c0605afe936c2e897ffd
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100755 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -2002,7 +2002,7 @@ def test_kel_thuzad(): game.end_turn() # ensure the effect is gone when Kel'Thuzad dies - game.player1.give(MOONFIRE).play(target=game.player1.field[1]) + game.p...
Fix Kel'Thuzad's test to play cards on the correct turn
jleclanche_fireplace
train
f207004570680afacd9e840dc03b8bbbf7dea1b6
diff --git a/ember_debug/adapters/firefox.js b/ember_debug/adapters/firefox.js index <HASH>..<HASH> 100644 --- a/ember_debug/adapters/firefox.js +++ b/ember_debug/adapters/firefox.js @@ -44,7 +44,7 @@ export default BasicAdapter.extend({ _listen() { - window.addEventListener('ember-debug-receive', function(ev...
Fix broken firefox version after ES6 refactor
emberjs_ember-inspector
train
64ce3be36b404d38fc4f8f1836c6d801916f1eaa
diff --git a/test/lib/smtpapi_header.test.js b/test/lib/smtpapi_header.test.js index <HASH>..<HASH> 100644 --- a/test/lib/smtpapi_header.test.js +++ b/test/lib/smtpapi_header.test.js @@ -133,5 +133,27 @@ describe('SmtpapiHeader', function() { assert(!_.isEmpty(JSON.parse(json).filters), 'should be empty'); ...
added a test to make sure toJson is not destructive
sendgrid_sendgrid-nodejs
train
6bba2de44cdf4326f527601090405a4203b10e4a
diff --git a/tests/src/test/java/alluxio/master/block/BlockMasterIntegrityIntegrationTest.java b/tests/src/test/java/alluxio/master/block/BlockMasterIntegrityIntegrationTest.java index <HASH>..<HASH> 100644 --- a/tests/src/test/java/alluxio/master/block/BlockMasterIntegrityIntegrationTest.java +++ b/tests/src/test/java...
Update Block Integrity Check Test. (#<I>)
Alluxio_alluxio
train
9035780ee980b8a795d33d4bd6375b10e486c58c
diff --git a/src/frontend/org/voltdb/RealVoltDB.java b/src/frontend/org/voltdb/RealVoltDB.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/RealVoltDB.java +++ b/src/frontend/org/voltdb/RealVoltDB.java @@ -49,12 +49,9 @@ import java.util.Map; import java.util.Random; import java.util.Set; import java.ut...
Populate the cluster metadata object before starting invocation buffer server.
VoltDB_voltdb
train
67aaada839759ddb5b3526badcbf3e6bd9f7c7a8
diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -63,7 +63,7 @@ module Jekyll self.tags = Hash.new { |hash, key| hash[key] = [] } if self.limit_posts < 0 - raise ArgumentError, "limit_posts must not be...
Clean up some copy in the limit_posts error handling.
jekyll_jekyll
train
44ed297c6ca69b722d6e0cf3bb81011299dfe7cd
diff --git a/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java b/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java index <HASH>..<HASH> 100644 --- a/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java +++ b/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java @@ -982,6 +982,7 @@ publi...
properly enrich some type annotations found later in completion queue
wmdietl_jsr308-langtools
train
40d787a40a4bb516d50ae89fbb81d656ce240237
diff --git a/examples/chap2/pinger.rb b/examples/chap2/pinger.rb index <HASH>..<HASH> 100644 --- a/examples/chap2/pinger.rb +++ b/examples/chap2/pinger.rb @@ -8,28 +8,27 @@ require 'rubygems' require 'bud' class Pinger < Bud - def initialize(ip, port) + def initialize(me, other, period) + @me = me + @other ...
Code cleanup for pinger/ponger examples.
bloom-lang_bud
train
37961e34f8817b7d8be4b8a34baf0b3a826489a5
diff --git a/src/Node/Block/ListItem.php b/src/Node/Block/ListItem.php index <HASH>..<HASH> 100644 --- a/src/Node/Block/ListItem.php +++ b/src/Node/Block/ListItem.php @@ -20,7 +20,9 @@ class ListItem extends Container $node = $this->children[$i]; if ($node instanceof Paragraph) { - ...
Add newline to terse list content.
fluxbb_commonmark
train
1ac2128075f0ab574f93020450e559d5aec1b564
diff --git a/mod/quiz/attempt.php b/mod/quiz/attempt.php index <HASH>..<HASH> 100644 --- a/mod/quiz/attempt.php +++ b/mod/quiz/attempt.php @@ -55,6 +55,7 @@ // Print the page header if (!empty($quiz->popup)) { + define('MESSAGE_WINDOW', true); // This prevents the message window coming up print...
No message popups during secure quizzes
moodle_moodle
train
cd928687c4a633b55e7cb4aa2241b59b4a308ea4
diff --git a/efilter/version.py b/efilter/version.py index <HASH>..<HASH> 100644 --- a/efilter/version.py +++ b/efilter/version.py @@ -28,39 +28,46 @@ commitish, being output of a hash function, doesn't. __author__ = "Adam Sindelar <adamsh@google.com>" -import datetime -from dateutil import parser -import pytz -im...
Workaround for pip ignoring setup_requires.
google_dotty
train
a34ef8dcb764bdfd4eee3bd022c1f2ee8abde474
diff --git a/src/artist.py b/src/artist.py index <HASH>..<HASH> 100644 --- a/src/artist.py +++ b/src/artist.py @@ -5,10 +5,33 @@ class Artist(Entity): """ wraps the artist entity type as described at http://developer.musicmetric.com/timeseries.html """ - def __init__(self, artistUUID): + summary_at...
now handles explict preseting of summary attrs via kw
musicmetric_mmpy
train
92c8ff06ecdcc269591a0041e0740fe1856f3fe2
diff --git a/lib/opbeat/configuration.rb b/lib/opbeat/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/opbeat/configuration.rb +++ b/lib/opbeat/configuration.rb @@ -69,7 +69,7 @@ module Opbeat def validate! %w{app_id secret_token organization_id}.each do |key| - raise Error.new("Configuration...
Error message: include word Opbeat
opbeat_opbeat-ruby
train
ba646c1aeafc7aa5ba9aca0319f8737599eae4cb
diff --git a/tools/setup/service_manager.js b/tools/setup/service_manager.js index <HASH>..<HASH> 100644 --- a/tools/setup/service_manager.js +++ b/tools/setup/service_manager.js @@ -201,7 +201,7 @@ ServiceManagerKlass.prototype = { fileManager.touch(chainFolder + '/' + sealerPassphraseFile, sealerPassword); ...
added txpool to list of rpc-api's
OpenSTFoundation_openst-platform
train
75a11ed22e4a2fba89054771a74f12458522d5c4
diff --git a/lib/Models/RegionMapping.js b/lib/Models/RegionMapping.js index <HASH>..<HASH> 100644 --- a/lib/Models/RegionMapping.js +++ b/lib/Models/RegionMapping.js @@ -565,14 +565,16 @@ function addDescriptionAndProperties(regionMapping, regionIndices, regionImagery if (defined(cRowObject)) { ...
Add properties from vector tile features to feature info
TerriaJS_terriajs
train
0d7e85bd4cab16e5d8b3b91fcb6c792dbf590c2f
diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py index <HASH>..<HASH> 100644 --- a/pyzotero/zotero.py +++ b/pyzotero/zotero.py @@ -674,30 +674,41 @@ class Zotero(object): data = req.text return self._json_processor(feedparser.parse(data)) - def register_upload(authdata): + ...
Refactor attachment method to make it more readable
urschrei_pyzotero
train
1d6cf1356d7122b84dbe5210e38bbe5e9d2d867e
diff --git a/models/classes/search/SearchQueryFactory.php b/models/classes/search/SearchQueryFactory.php index <HASH>..<HASH> 100644 --- a/models/classes/search/SearchQueryFactory.php +++ b/models/classes/search/SearchQueryFactory.php @@ -42,7 +42,7 @@ class SearchQueryFactory extends ConfigurableService ret...
In elastic search type should be a structure variable from request
oat-sa_tao-core
train
5eba62b47015092c091ee3ad3a170d3b430ba5cf
diff --git a/python/orca/src/bigdl/orca/ray/raycontext.py b/python/orca/src/bigdl/orca/ray/raycontext.py index <HASH>..<HASH> 100755 --- a/python/orca/src/bigdl/orca/ray/raycontext.py +++ b/python/orca/src/bigdl/orca/ray/raycontext.py @@ -123,6 +123,7 @@ class RayServiceFuncGenerator(object): def __init__(self, ...
attempt to fix ray memory (#<I>) * attempt to fix ray memory * exclude webui
intel-analytics_BigDL
train
6fc5e07ccd5027b090c17c59e0971ee32f559991
diff --git a/web/DraggingGestureHandler.js b/web/DraggingGestureHandler.js index <HASH>..<HASH> 100644 --- a/web/DraggingGestureHandler.js +++ b/web/DraggingGestureHandler.js @@ -1,19 +1,27 @@ import GestureHandler from './GestureHandler'; +import { PixelRatio } from 'react-native'; class DraggingGestureHandler ext...
Multiply velocity to match velocity on native devices (#<I>) Velocity based gestures on web don't seem to match native gestures. This will make the interactions a little bit closer.
kmagiera_react-native-gesture-handler
train
adb9ecd47cc1afb5d6bc93adee408f3360bbbd72
diff --git a/core/src/main/java/io/undertow/server/HttpParser.java b/core/src/main/java/io/undertow/server/HttpParser.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/io/undertow/server/HttpParser.java +++ b/core/src/main/java/io/undertow/server/HttpParser.java @@ -158,9 +158,16 @@ public abstract class HttpPa...
Parser changes to optimise the case where parsing suceeds on the first pass
undertow-io_undertow
train
bf0abf37273d5b4ba1120025d59a34376904ca74
diff --git a/lib/guard/dsl.rb b/lib/guard/dsl.rb index <HASH>..<HASH> 100644 --- a/lib/guard/dsl.rb +++ b/lib/guard/dsl.rb @@ -364,8 +364,6 @@ module Guard # @param [Hash] scopes the scope for the groups and plugins # def scope(scope = {}) - scope[:plugins] = Array(scope[:plugins] || scope[:plugin] ...
Configure scope on re-evaluation and prioritize CLI scope options
guard_guard
train
3ce42b00351405cd03d5d0c69eec4d1e9a4b151a
diff --git a/openid/consumer/stores.py b/openid/consumer/stores.py index <HASH>..<HASH> 100644 --- a/openid/consumer/stores.py +++ b/openid/consumer/stores.py @@ -3,12 +3,13 @@ import time class ConsumerAssociation(object): """This class represents a consumer's view of an association.""" - @classmethod ...
[project @ Remove decorator syntax for Python pre-<I> compatibility]
necaris_python3-openid
train
fd0a18911197885f844edc61de0f0ca30c8c9ac9
diff --git a/lib/cisco_node_utils/cmd_ref/feature.yaml b/lib/cisco_node_utils/cmd_ref/feature.yaml index <HASH>..<HASH> 100644 --- a/lib/cisco_node_utils/cmd_ref/feature.yaml +++ b/lib/cisco_node_utils/cmd_ref/feature.yaml @@ -1,6 +1,7 @@ # feature --- fabric: + _exclude: [/N3/] config_get: "show feature-set" ...
Refactor feature provider and fix for 9k
cisco_cisco-network-node-utils
train
e114e060285556e9927c78bbc96229b5beac4054
diff --git a/empire/pkg/awsutil/awsutil.go b/empire/pkg/awsutil/awsutil.go index <HASH>..<HASH> 100644 --- a/empire/pkg/awsutil/awsutil.go +++ b/empire/pkg/awsutil/awsutil.go @@ -4,6 +4,7 @@ import ( "encoding/json" "fmt" "io" + "io/ioutil" "net/http" "strings" ) @@ -17,7 +18,7 @@ type Request struct { func...
Allow awsutil.Handler to fallback to raw io unable to json parse
remind101_empire
train
8d8bf13986b3d32eff65ad1ac9c81f18fad95451
diff --git a/docs/pages/components/tag/api/tag.js b/docs/pages/components/tag/api/tag.js index <HASH>..<HASH> 100644 --- a/docs/pages/components/tag/api/tag.js +++ b/docs/pages/components/tag/api/tag.js @@ -24,7 +24,7 @@ export default [ }, { name: '<code>size</code>', - ...
[docs/tag/api] Fix typo (#<I>)
buefy_buefy
train
599b2dd2a912842093a813ae07f04ad3000aeb5b
diff --git a/commands/WirelessCommand/index.js b/commands/WirelessCommand/index.js index <HASH>..<HASH> 100644 --- a/commands/WirelessCommand/index.js +++ b/commands/WirelessCommand/index.js @@ -154,9 +154,9 @@ WirelessCommand.prototype.__networks = function networks(err, dat) { prompt([{ type: 'confirm', - ...
JK about the whole 'setup all the photons at once' thing...
particle-iot_particle-cli
train
f8663c90f3474a97175cd4ffcb35b190438df39b
diff --git a/tests/check_autoloadlibrary.py b/tests/check_autoloadlibrary.py index <HASH>..<HASH> 100755 --- a/tests/check_autoloadlibrary.py +++ b/tests/check_autoloadlibrary.py @@ -34,7 +34,7 @@ class AutoLoadLibrary(u.TestCase): broken_modules.append('%s: %s' % \ ...
ctest: Fix for autoloadlibrary ctest Update to fix a python indentation error.
intel-iot-devkit_upm
train
f9c57d2e87e7ea58270df03dc34264d182e448b1
diff --git a/src/GeoDataCollection.js b/src/GeoDataCollection.js index <HASH>..<HASH> 100644 --- a/src/GeoDataCollection.js +++ b/src/GeoDataCollection.js @@ -1577,8 +1577,26 @@ GeoDataCollection.prototype.addGeoJsonLayer = function(geojson, layer) { layer.style.polygon.fillcolor = layer.style.line.color; ...
Handle SA GeoJSON with mysterious extra envelope around it.
TerriaJS_terriajs
train
d7c182ef3bf906ba492cddf16e43ccd0fc83f71d
diff --git a/fluent_contents/templatetags/fluent_contents_tags.py b/fluent_contents/templatetags/fluent_contents_tags.py index <HASH>..<HASH> 100644 --- a/fluent_contents/templatetags/fluent_contents_tags.py +++ b/fluent_contents/templatetags/fluent_contents_tags.py @@ -305,8 +305,17 @@ def _get_placeholder_arg(arg_nam...
Optimize render_placeholder with manager, avoid parent query
django-fluent_django-fluent-contents
train
adda7130a28de90be54de13e200a64a35876d6b5
diff --git a/dist/pptxgen.js b/dist/pptxgen.js index <HASH>..<HASH> 100644 --- a/dist/pptxgen.js +++ b/dist/pptxgen.js @@ -3297,7 +3297,13 @@ var PptxGenJS = function(){ var strXml = ''; // Build cat axis tag - strXml += '<c:'+ (opts.catLabelFormatCode ? 'dateAx' : 'catAx') +'>'; + // NOTE: Scatter and Bubble...
Irregular Display of Cat Axis for Scatter and Bubble In case of Scatter and Bubble charts, the category axis also contains numbers just like value axis. Therefore, on putting values having more than 2 digits in cat axis, the display of category labels is being compromised. Therefore the charts should contain two Val a...
gitbrent_PptxGenJS
train
6bd66459f61ec5b33427027192bc6596aee5adfd
diff --git a/specter/expect.py b/specter/expect.py index <HASH>..<HASH> 100644 --- a/specter/expect.py +++ b/specter/expect.py @@ -63,7 +63,7 @@ class ExpectAssert(object): def be_none(self): self._compare(action_name=_('be'), expected=None, - condition=self.target == None) + ...
Switching to "is" instead of "=="
jmvrbanac_Specter
train
0558b9c44b35b22c21d37f68c01525b6cc6df990
diff --git a/api/operator.go b/api/operator.go index <HASH>..<HASH> 100644 --- a/api/operator.go +++ b/api/operator.go @@ -58,7 +58,7 @@ func (op *Operator) RaftRemovePeerByAddress(address raft.ServerAddress, q *Write r.setWriteOptions(q) // TODO (slackpad) Currently we made address a query parameter. Once - // I...
Fixes a stale comment.
hashicorp_consul
train
a467f878dd4e88f4487b3b7392d1244846407e96
diff --git a/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java b/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java index <HASH>..<HASH> 100755 --- a/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java +++ b/common-core-open/src/main/java/com/bbn/bue/common/fi...
add a convenience method that loads a two-column file as a map of Symbols to Symbols
BBN-E_bue-common-open
train
1632330df524f5be92ef80c6cac2dee113f9435d
diff --git a/src/Console/ChromeDriverCommand.php b/src/Console/ChromeDriverCommand.php index <HASH>..<HASH> 100644 --- a/src/Console/ChromeDriverCommand.php +++ b/src/Console/ChromeDriverCommand.php @@ -167,7 +167,7 @@ class ChromeDriverCommand extends Command { $home = $this->getUrl($this->homeUrl); - ...
Update regular expression base on website changes Some markup is updated on <URL>
laravel_dusk
train
210e6b2790a841b4b8a5e8de6649bea736d05200
diff --git a/simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java b/simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java index <HASH>..<HASH> 100644 --- a/simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java +++ b/simulator/src/main/java/c...
Fixed bug in static setup when EC2 identity files are not present.
hazelcast_hazelcast-simulator
train
40812cab9ef922177eafcb17187d4f1dfa8f3d9d
diff --git a/openid/extensions/sreg.py b/openid/extensions/sreg.py index <HASH>..<HASH> 100644 --- a/openid/extensions/sreg.py +++ b/openid/extensions/sreg.py @@ -51,6 +51,8 @@ __all__ = [ 'SRegResponse', 'data_fields', 'ns_uri', + 'ns_uri_1_0', + 'ns_uri_1_1', 'supportsSReg', ]
[project @ Add sreg <I> and <I> URI variables to __all__]
necaris_python3-openid
train
6cbe0e60966d77037e691a8e4de8a05e3a77edad
diff --git a/superset/connectors/druid/models.py b/superset/connectors/druid/models.py index <HASH>..<HASH> 100644 --- a/superset/connectors/druid/models.py +++ b/superset/connectors/druid/models.py @@ -1018,7 +1018,7 @@ class DruidDatasource(Model, BaseDatasource): del qry['dimensions'] qry['...
Fixed branching condition with dimension spec (#<I>)
apache_incubator-superset
train
ead1c32636a7e00cff75f6664deed497dfec5a55
diff --git a/mantrid/loadbalancer.py b/mantrid/loadbalancer.py index <HASH>..<HASH> 100644 --- a/mantrid/loadbalancer.py +++ b/mantrid/loadbalancer.py @@ -29,7 +29,7 @@ class Balancer(object): "spin": Spin, } - def __init__(self, listen_ports, management_port, state_file): + def __init__(self, lis...
Implement dropping to a non-root UID/GID after startup for security reasons
epio_mantrid
train
01eadd10f75118d01688d990dc6c2f7f27786819
diff --git a/hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/id/CompositeIdTest.java b/hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/id/CompositeIdTest.java index <HASH>..<HASH> 100644 --- a/hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/id/CompositeIdTest.java +++ b/hibernate-ogm-core/src/te...
OGM-<I> remove persisted object and check if they have been deleted
hibernate_hibernate-ogm
train
a8b29c41cf99f3fa28a60cd95a72dfb699cb6bfd
diff --git a/rejected/mcp.py b/rejected/mcp.py index <HASH>..<HASH> 100644 --- a/rejected/mcp.py +++ b/rejected/mcp.py @@ -20,8 +20,7 @@ LOGGER = logging.getLogger(__name__) class MasterControlProgram(common.State): """Master Control Program keeps track of and manages consumer processes.""" - _MIN_CONSUMERS ...
Change configuration names - Remove deprecated min/max for consumer qty - Minor method signature cleanup
gmr_rejected
train
b99c317a223a31274cdef5291cf1bd2a5fef69ee
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,7 @@ var noCaseSyntax = /NC/ , forbiddenSyntax = /F/ , goneSyntax = /G/ , typeSyntax = /T=([\w|\/]+,?)/ - , hostSyntax = /H=([\w|\d|\:|\.]),?/ + , hostSyntax = /H=([^,]+)/ , flagSyntax = /\[(.*)\]$/ ...
Fixed multiple flags support in host flag
tinganho_connect-modrewrite
train
767b1bad27cdaf42fd991e399a202dd57184cda4
diff --git a/src/wyil/io/WyilFileWriter.java b/src/wyil/io/WyilFileWriter.java index <HASH>..<HASH> 100644 --- a/src/wyil/io/WyilFileWriter.java +++ b/src/wyil/io/WyilFileWriter.java @@ -222,8 +222,12 @@ public class WyilFileWriter implements Transform { children[k+1] = addStringItem(field); k = k + 2; ...
Ok, well it compiles now.
Whiley_WhileyCompiler
train
633cc68220a96afe7d94b70b0565cf3313fef008
diff --git a/spambl.py b/spambl.py index <HASH>..<HASH> 100644 --- a/spambl.py +++ b/spambl.py @@ -2,6 +2,7 @@ # -*- coding: utf-8 -*- from sys import exc_info +from dns.resolver import query, NXDOMAIN class SpamBLError(Exception): ''' Base exception class for spambl module ''' @@ -87,6 +88,24 @@ class DNSB...
Add _query_for method to DNSBL class
piotr-rusin_spam-lists
train
544fd2cb75195281c5fa21e9cc83f166f730c097
diff --git a/tests/test_dict.py b/tests/test_dict.py index <HASH>..<HASH> 100644 --- a/tests/test_dict.py +++ b/tests/test_dict.py @@ -2,8 +2,8 @@ from collections.abc import Mapping, Sequence import pytest -from confidence.exceptions import ConfigurationError -from confidence.models import _NoDefault, Configurati...
Update imports in tests to prefer importing from main module
HolmesNL_confidence
train
0d69aca083f5d3e75ad3d47c2d94ea95be380400
diff --git a/tests/event-data/updateEvent.js b/tests/event-data/updateEvent.js index <HASH>..<HASH> 100644 --- a/tests/event-data/updateEvent.js +++ b/tests/event-data/updateEvent.js @@ -72,4 +72,45 @@ describe('updateEvent', function() { }); }); }); + + describe('when changing an event from timed to all-day',...
test for changing allDay with updateEvent
fullcalendar_fullcalendar
train
554d48e8331636b21c94cf89ba31f428123836e0
diff --git a/h2o-core/src/main/java/water/fvec/Chunk.java b/h2o-core/src/main/java/water/fvec/Chunk.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/main/java/water/fvec/Chunk.java +++ b/h2o-core/src/main/java/water/fvec/Chunk.java @@ -142,6 +142,11 @@ public abstract class Chunk extends Iced implements Cloneable { ...
chunk2elem public and create some public sets/accesses for rbind
h2oai_h2o-3
train
6976502eb2e3c484364651d8dd07810c8b155beb
diff --git a/masonite/auth/Auth.py b/masonite/auth/Auth.py index <HASH>..<HASH> 100644 --- a/masonite/auth/Auth.py +++ b/masonite/auth/Auth.py @@ -100,16 +100,16 @@ class Auth: self.request.delete_cookie('token') return self - def login_by_id(self, id): + def login_by_id(self, user_id): ...
Fix 🔨🔧 usage of built in id args
MasoniteFramework_masonite
train
38602b32d362758ee0edda854ae9d8a08a7347e2
diff --git a/src/React/Widgets/AnnotationEditorWidget/ManyScore/index.js b/src/React/Widgets/AnnotationEditorWidget/ManyScore/index.js index <HASH>..<HASH> 100644 --- a/src/React/Widgets/AnnotationEditorWidget/ManyScore/index.js +++ b/src/React/Widgets/AnnotationEditorWidget/ManyScore/index.js @@ -71,7 +71,7 @@ export ...
fix(AnnotationEditorWidget): Allow rationale to be opened Add prop to allow the rationale field to be open or closed. Default is still closed.
Kitware_paraviewweb
train
8c76693a247619450f3c7e44b61dc4e5b158d3df
diff --git a/boundary/api_call.py b/boundary/api_call.py index <HASH>..<HASH> 100644 --- a/boundary/api_call.py +++ b/boundary/api_call.py @@ -45,6 +45,7 @@ class ApiCall(object): self._api_host = "premium-api.boundary.com" self._email = None self._api_token = None + self._curl = False...
Add option to output commands action as a curl command
boundary_pulse-api-cli
train
d897956362fbb167715c8bf31b1489adc49654cc
diff --git a/src/Symfony/Component/Filesystem/Filesystem.php b/src/Symfony/Component/Filesystem/Filesystem.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Filesystem/Filesystem.php +++ b/src/Symfony/Component/Filesystem/Filesystem.php @@ -301,10 +301,15 @@ class Filesystem */ public function syml...
Ensure backend slashes for symlinks on Windows systems Resolves: #<I>
symfony_symfony
train
54d083e649b7904cf19a03f233e7d9634a6cf658
diff --git a/domain/src/test/java/org/jboss/as/model/base/ProfileIncludeElementTestBase.java b/domain/src/test/java/org/jboss/as/model/base/ProfileIncludeElementTestBase.java index <HASH>..<HASH> 100644 --- a/domain/src/test/java/org/jboss/as/model/base/ProfileIncludeElementTestBase.java +++ b/domain/src/test/java/org/...
Last fixes to get domain compiling
wildfly_wildfly
train
817695305e73173921a9d1f2a6ef49af61e1e0cb
diff --git a/dvc/stage.py b/dvc/stage.py index <HASH>..<HASH> 100644 --- a/dvc/stage.py +++ b/dvc/stage.py @@ -162,7 +162,7 @@ class Stage(object): outs = [x.dumpd(self.cwd) for x in self.outs] ret = {} - if self.cmd: + if self.cmd != None: ret[Stage.PARAM_CMD] = self.cmd ...
stage: write cmd only if it is not None
iterative_dvc
train
5b8b4691e44ef15026c15d49a64916132677e9d1
diff --git a/visidata/aggregators.py b/visidata/aggregators.py index <HASH>..<HASH> 100644 --- a/visidata/aggregators.py +++ b/visidata/aggregators.py @@ -47,7 +47,7 @@ def aggregator(name, func, *args, type=None): return None return e - aggregators[name] = _defaggr(name, type, _func)...
[aggregators] make aggregators value always a list
saulpw_visidata
train
d165d01922e08a9f671871bda5dcb5f614ef134a
diff --git a/src/map/tool/DrawTool.js b/src/map/tool/DrawTool.js index <HASH>..<HASH> 100644 --- a/src/map/tool/DrawTool.js +++ b/src/map/tool/DrawTool.js @@ -240,7 +240,7 @@ Z.DrawTool = Z.MapTool.extend(/** @lends maptalks.DrawTool.prototype */{ } //这一行代码取消注释后, 会造成dblclick无法响应, 可能是存在循环调用...
add geometry in mousemove event of drawtool
maptalks_maptalks.js
train
53bd3f3d0635c43d39d72e9d28e2be909635ef88
diff --git a/test/APITest.php b/test/APITest.php index <HASH>..<HASH> 100644 --- a/test/APITest.php +++ b/test/APITest.php @@ -5,6 +5,7 @@ */ require_once(dirname(__FILE__) . '/../lib/API.php'); +require_once(dirname(__FILE__) . '/../lib/Error.php'); require_once 'PHPUnit/Autoload.php'; class APITestCase exten...
Error class is included in PHPUnit test
sendwithus_sendwithus_php
train
58dc9bcd144a5a5d4afbad41f2454df77ad7023e
diff --git a/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java b/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java index <HASH>..<HASH> 100644 --- a/library/src/com/handmark/pulltorefresh/library/PullToRefreshAdapterViewBase.java +++ b/library/src/com/handma...
Add convenience passthrough for methods for setAdapter and setOnItemClickListener. Sick of getting GitHub issues for this.
chrisbanes_Android-PullToRefresh
train
87acb738412d1462ec7192b5fb33f6ffc4e84cd0
diff --git a/slither/slithir/convert.py b/slither/slithir/convert.py index <HASH>..<HASH> 100644 --- a/slither/slithir/convert.py +++ b/slither/slithir/convert.py @@ -511,10 +511,21 @@ def apply_ir_heuristics(irs, node): # irs = replace_calls(irs) irs = remove_unused(irs) + find_references_origin(irs) + ...
SlithIR: add points_to property to ReferenceVariable
crytic_slither
train
90538306e3aab016e2791aea6e6c4a0be4431e6f
diff --git a/lib/ostatus/atom.js b/lib/ostatus/atom.js index <HASH>..<HASH> 100644 --- a/lib/ostatus/atom.js +++ b/lib/ostatus/atom.js @@ -39,6 +39,7 @@ function render(updates, profile, callback) { var context = profile; context.updates = updates; context.host = host; + if (updates && updates.len...
Various fixes, too lazy to split my commit
eschnou_node-ostatus
train
0bcb6e0d8e5f618f6a3b7afb2794f83b4faa84ba
diff --git a/modeshape-jcr/src/test/java/org/modeshape/jcr/ConnectorChangesTest.java b/modeshape-jcr/src/test/java/org/modeshape/jcr/ConnectorChangesTest.java index <HASH>..<HASH> 100644 --- a/modeshape-jcr/src/test/java/org/modeshape/jcr/ConnectorChangesTest.java +++ b/modeshape-jcr/src/test/java/org/modeshape/jcr/Con...
MODE-<I> Added synchronized block around Thread.sleep
ModeShape_modeshape
train
21bd040473b8b05908cec822f5aae0d256539847
diff --git a/src/main/java/org/paumard/spliterators/RepeatingSpliterator.java b/src/main/java/org/paumard/spliterators/RepeatingSpliterator.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/paumard/spliterators/RepeatingSpliterator.java +++ b/src/main/java/org/paumard/spliterators/RepeatingSpliterator.java @@ -7...
Fixed the repeating operator in the case of a SORTED stream
JosePaumard_streams-utils
train
2e179ad71d1b9a2ef70e0d674d24b19859a99054
diff --git a/lib/strainer/runner.rb b/lib/strainer/runner.rb index <HASH>..<HASH> 100644 --- a/lib/strainer/runner.rb +++ b/lib/strainer/runner.rb @@ -10,6 +10,8 @@ module Strainer extend Equivalence equivalence :@cookbook_names, :@options + attr_reader :cookbooks + # Creates a Strainer runner ...
Load the Strainerfile for each cookbook on initialize instead of during the run
customink_strainer
train
cceb41e45ef92d7e65b5df19e3679282391e9aae
diff --git a/test/unit/autoNumeric.spec.js b/test/unit/autoNumeric.spec.js index <HASH>..<HASH> 100644 --- a/test/unit/autoNumeric.spec.js +++ b/test/unit/autoNumeric.spec.js @@ -36,11 +36,11 @@ import $ from '../../node_modules/jquery/dist/jquery'; import an from '../../src/autoNumeric'; // Default Jasmine test to...
Comment out the default Jasmine test in order to see a <I>% success without any skipped tests.
autoNumeric_autoNumeric
train
6bbee97832df068bbf642354c82fdd1dd505107b
diff --git a/web/concrete/blocks/image/controller.php b/web/concrete/blocks/image/controller.php index <HASH>..<HASH> 100644 --- a/web/concrete/blocks/image/controller.php +++ b/web/concrete/blocks/image/controller.php @@ -104,7 +104,7 @@ class Controller extends BlockController { function getLinkURL() { ...
removing htmlentities Former-commit-id: 3db<I>c<I>e<I>f8e1a5b<I>be3d9d3cdac<I>c
concrete5_concrete5
train
adb18663b63fb201c89ce62c88429b6eb9dff0c1
diff --git a/lib/mongoid/errors/invalid_options.rb b/lib/mongoid/errors/invalid_options.rb index <HASH>..<HASH> 100644 --- a/lib/mongoid/errors/invalid_options.rb +++ b/lib/mongoid/errors/invalid_options.rb @@ -19,7 +19,7 @@ module Mongoid #:nodoc super( translate( "invalid_options", - ...
made InvalidOptions exception readable
mongodb_mongoid
train
30bfac6bfe522cba42d2e8feb4e829ea0cbe2e39
diff --git a/lib/rack/utf8_sanitizer.rb b/lib/rack/utf8_sanitizer.rb index <HASH>..<HASH> 100644 --- a/lib/rack/utf8_sanitizer.rb +++ b/lib/rack/utf8_sanitizer.rb @@ -1,9 +1,12 @@ # encoding: ascii-8bit require 'uri' +require 'stringio' module Rack class UTF8Sanitizer + StringIO = ::StringIO + def ini...
Sanitize form posts; wrap rack.input in SanitizedRackInput
whitequark_rack-utf8_sanitizer
train
c6ad0b1bfdcdfe1615afef0733b3c34f1ebdc32d
diff --git a/src/Valkyrja/View/Engines/PHPEngine.php b/src/Valkyrja/View/Engines/PHPEngine.php index <HASH>..<HASH> 100644 --- a/src/Valkyrja/View/Engines/PHPEngine.php +++ b/src/Valkyrja/View/Engines/PHPEngine.php @@ -13,6 +13,7 @@ declare(strict_types=1); namespace Valkyrja\View\Engines; +use RuntimeException; ...
View: Fix bugs with partials and templates rendering.
valkyrjaio_valkyrja
train
720e45c047dbcf169f2b29696b65a7d4c557f8f3
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -81,7 +81,6 @@ describe("phantom html to pdf", function () { fs.unlinkSync(filePath); } catch (e) { } - ; } } ...
Adding empty endline to test file
pofider_phantom-html-to-pdf
train
bcf1e814624732bce4c876467cc0275891f26bc8
diff --git a/configs/webpack.config.js b/configs/webpack.config.js index <HASH>..<HASH> 100644 --- a/configs/webpack.config.js +++ b/configs/webpack.config.js @@ -40,16 +40,20 @@ const preprocessor = production => ({ }); const ifdef = config => (context, { addLoader }) => - addLoader({ - test: /\.tsx?/, -...
Fix webpack config for Node 6
cyclejs-community_one-fits-all
train
d66c22a1f1a7597d57cd85b0b511670189cca5b8
diff --git a/machina/apps/conversation/abstract_models.py b/machina/apps/conversation/abstract_models.py index <HASH>..<HASH> 100644 --- a/machina/apps/conversation/abstract_models.py +++ b/machina/apps/conversation/abstract_models.py @@ -4,6 +4,7 @@ from __future__ import unicode_literals # Third party imports +fr...
Clean and save processes updated for forum and topic
ellmetha_django-machina
train
5739ba4d16cc05df33dbeccdd777e6b30d7eb8b1
diff --git a/suite/suite.go b/suite/suite.go index <HASH>..<HASH> 100644 --- a/suite/suite.go +++ b/suite/suite.go @@ -1,9 +1,9 @@ package suite import ( - "testing" "reflect" "regexp" + "testing" ) // Suite is a basic testing suite with methods for storing and @@ -32,19 +32,33 @@ func Run(t *testing.T, sui...
Have testing.RunTests run the tests we find with their setup methods.
stretchr_testify
train