hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
c3224f5351186ab835700072e10952ade622c079
diff --git a/src/CategoryFactory.js b/src/CategoryFactory.js index <HASH>..<HASH> 100644 --- a/src/CategoryFactory.js +++ b/src/CategoryFactory.js @@ -18,7 +18,6 @@ var Category = function(name, data, catInfo, fv, container) { category.data = data; category.viewerType = catInfo.visualization; category.fv...
Remove unused attribute tracksCreated.
ebi-uniprot_ProtVista
train
b5fc301bf8546be2428e439ad25d0e3dfd686c51
diff --git a/lib/pdf/reader/reference.rb b/lib/pdf/reader/reference.rb index <HASH>..<HASH> 100644 --- a/lib/pdf/reader/reference.rb +++ b/lib/pdf/reader/reference.rb @@ -46,11 +46,7 @@ class PDF::Reader def ==(obj) return false unless obj.kind_of?(PDF::Reader::Reference) - if obj.id == self.id && ob...
simplify PDF::Reader::Reference#== method
yob_pdf-reader
train
e6d3dc530c43d431fce1b06ffcfcaf623227fc1b
diff --git a/classes/PodsData.php b/classes/PodsData.php index <HASH>..<HASH> 100644 --- a/classes/PodsData.php +++ b/classes/PodsData.php @@ -1985,8 +1985,12 @@ class PodsData { $id = pods_absint( $row ); if ( ! is_numeric( $row ) || 0 === strpos( $row, '0' ) || $row != preg_replace( '/[^0-9]/', '', $row )...
*If row isnt a number, check if the id property is and use it before falling back to a slug on cases were an id/row is not passed at all
pods-framework_pods
train
64ced432c36da275c39bb846f187b0b7ea4d59f8
diff --git a/lib/review/book/base.rb b/lib/review/book/base.rb index <HASH>..<HASH> 100644 --- a/lib/review/book/base.rb +++ b/lib/review/book/base.rb @@ -161,6 +161,11 @@ module ReVIEW @config = param end + def load_config(filename) + new_conf = YAML.load_file(filename) + @config.m...
add ReVIEW::Book::Base.load_config(filename) to load config.yml by one method
kmuto_review
train
af66f5f93070639b5b4a2f42b627d7a323afed89
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ FEATURES: - `vagrant help <command>` now works. [GH-1578] + - Added `config.vm.box_download_insecure` to allor the box_url setting + to point to an https site that won't be validated. [GH...
box_download_insecure to not validate https of box_url [GH-<I>]
hashicorp_vagrant
train
a6d0bf9c24e595fb321bf07402a695fe29f53ea9
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -25,27 +25,21 @@ var GruntfileEditor = module.exports = function (gruntfileContent) { * Insert a configuration section inside the `Gruntfile.js` initConfig() block * @param {String} name - Key name of the configuration ...
Simplify the nested config code
SBoudrias_gruntfile-editor
train
1358f7252d75bda1a62a4f4ee5dae5c209db90f0
diff --git a/ampal/base_ampal.py b/ampal/base_ampal.py index <HASH>..<HASH> 100644 --- a/ampal/base_ampal.py +++ b/ampal/base_ampal.py @@ -177,19 +177,23 @@ class BaseAmpal(object): self.tags['assigned_ff'] = True return + def update_ff(self, ff, mol2=False, force_ff_assign=False): + aff =...
Added update_ff method that manages running assign_ff.
woolfson-group_isambard
train
0704602e5027128ab1e1b9bcfdcd058fdedd005f
diff --git a/instaloader/structures.py b/instaloader/structures.py index <HASH>..<HASH> 100644 --- a/instaloader/structures.py +++ b/instaloader/structures.py @@ -365,10 +365,16 @@ class Post: @property def caption(self) -> Optional[str]: """Caption.""" + def _normalize(string: Optional[str]) ...
Checks if caption is not None before normalization (#<I>)
instaloader_instaloader
train
9fdf5cde65cfa244488a269237ae975318c77982
diff --git a/code/Debug/Model/Block.php b/code/Debug/Model/Block.php index <HASH>..<HASH> 100644 --- a/code/Debug/Model/Block.php +++ b/code/Debug/Model/Block.php @@ -38,7 +38,6 @@ class Sheep_Debug_Model_Block $this->parentName = $block->getParentBlock() ? $block->getParentBlock()->getNameInLayout() : ''; ...
Initialize block template after block is rendered [#<I>] - this will address fatal error on Mage/Wishlist/Block/Customer/Wishlist/Item/Options.php
madalinoprea_magneto-debug
train
15ccf83ce8f36d0a4c2b55a36fb162d49b9be98f
diff --git a/gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GoogleHadoopFileSystem.java b/gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GoogleHadoopFileSystem.java index <HASH>..<HASH> 100644 --- a/gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GoogleHadoopFileSystem.java +++ b/gcs/src/main/java/com/google/cloud...
Minor readability refactoring #cleanup
GoogleCloudPlatform_bigdata-interop
train
acc08ae0528ecd5094a10c92d4b606622e4ecfb4
diff --git a/src/vis/vis.js b/src/vis/vis.js index <HASH>..<HASH> 100644 --- a/src/vis/vis.js +++ b/src/vis/vis.js @@ -426,7 +426,7 @@ var Vis = cdb.core.View.extend({ var infowindowFields = layerView.getInfowindowData(layer) var fields = infowindowFields.fields; // Send request - sql....
added alias to sql query
CartoDB_carto.js
train
5fa94672b3eae83e50d956c13b2e1eee92ecb7f1
diff --git a/token.go b/token.go index <HASH>..<HASH> 100644 --- a/token.go +++ b/token.go @@ -34,11 +34,15 @@ type Token interface { Wait() bool WaitTimeout(time.Duration) bool Error() error +} + +type TokenErrorSetter interface { setError(error) } type tokenCompletor interface { Token + TokenErrorSetter...
slight adjust to make Token interface mockable
eclipse_paho.mqtt.golang
train
e7a3db93c1b02e19b37b0825a27bd4c1672424cc
diff --git a/spec/project_spec.rb b/spec/project_spec.rb index <HASH>..<HASH> 100644 --- a/spec/project_spec.rb +++ b/spec/project_spec.rb @@ -2,8 +2,15 @@ require 'spec_helper' describe 'data/github_urls.yml' do + let(:yaml) { YAML.load_file(GemsComparator::GemInfo::GITHUB_URLS_PATH) } + it 'should sort by gem...
:sparkles: Add test case to check the repo name
sinsoku_gems_comparator
train
22ad2f63e8f8a1b7d37d5245f00eec75e2fb21ac
diff --git a/adaptor/elasticsearch/clients/v2/writer.go b/adaptor/elasticsearch/clients/v2/writer.go index <HASH>..<HASH> 100644 --- a/adaptor/elasticsearch/clients/v2/writer.go +++ b/adaptor/elasticsearch/clients/v2/writer.go @@ -122,6 +122,18 @@ func (w *Writer) postBulkProcessor(executionID int64, reqs []elastic.Bul...
Adaptor: elastic adaptor v2 and v5 add failed detail info (#<I>)
compose_transporter
train
59d1edec1c90b1a5ecf7bc5895ae24447b945542
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ This gem expects the tenant and sub-tenant values passed in the request header. You use it in your padrino/sinatra application, add the below lines to the config.ru - Multitenancy.initialize(:te...
Renaming initialize to init as it breaks in ruby
Flipkart_multitenancy
train
62fe566e68620fd691723079f1fcf98cead0f479
diff --git a/pkg/kubelet/cm/container_manager_linux.go b/pkg/kubelet/cm/container_manager_linux.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/cm/container_manager_linux.go +++ b/pkg/kubelet/cm/container_manager_linux.go @@ -300,6 +300,19 @@ func (cm *containerManagerImpl) SystemContainersLimit() api.ResourceList { ...
Kubelet will not move docker daemons running in containers.
kubernetes_kubernetes
train
ce78b676f60571ce9b39646b33164dff8c07112d
diff --git a/lib/rubocop/cop/lint/else_layout.rb b/lib/rubocop/cop/lint/else_layout.rb index <HASH>..<HASH> 100644 --- a/lib/rubocop/cop/lint/else_layout.rb +++ b/lib/rubocop/cop/lint/else_layout.rb @@ -29,24 +29,34 @@ module RuboCop def check(node) return unless node + return check_else(...
Reduce complexity in ElseLayout
rubocop-hq_rubocop
train
02f10ff2ca55d4054753998a74276ecec070e83e
diff --git a/lib/reader/read-sources.js b/lib/reader/read-sources.js index <HASH>..<HASH> 100644 --- a/lib/reader/read-sources.js +++ b/lib/reader/read-sources.js @@ -294,7 +294,7 @@ function inlineLocalStylesheet(uri, mediaQuery, metadata, inlinerContext) { if (inlinerContext.inlinedStylesheets.indexOf(absoluteUr...
Fix error: inline=['remote'] is failing when local file is missing despite the fact that local imports should not be inlined
jakubpawlowicz_clean-css
train
969e3250acb20a7f8033ae73eba6a20ca5ea680b
diff --git a/lib/fluent/plugin_helper/child_process.rb b/lib/fluent/plugin_helper/child_process.rb index <HASH>..<HASH> 100644 --- a/lib/fluent/plugin_helper/child_process.rb +++ b/lib/fluent/plugin_helper/child_process.rb @@ -122,6 +122,7 @@ module Fluent @_child_process_kill_timeout = CHILD_PROCESS_DEFAULT_K...
wait process exit at the end of #shutdown: after shutdown, all plugins expect no events emitted.
fluent_fluentd
train
2fc76406d154216c16e8475aeffe306e87a036b4
diff --git a/SpiceyPy/SpiceCommands.py b/SpiceyPy/SpiceCommands.py index <HASH>..<HASH> 100644 --- a/SpiceyPy/SpiceCommands.py +++ b/SpiceyPy/SpiceCommands.py @@ -217,11 +217,27 @@ def copyc(cell, copy): def cpos(string, chars, start): - pass + assert(isinstance(chars, list)) + assert(isinstance(string, s...
completed a function or two. possible restructuring coming
AndrewAnnex_SpiceyPy
train
ac803a49bead8bb3bcc225143a3dc638b2af6c2a
diff --git a/lib/rails_admin.rb b/lib/rails_admin.rb index <HASH>..<HASH> 100644 --- a/lib/rails_admin.rb +++ b/lib/rails_admin.rb @@ -89,10 +89,12 @@ module RailsAdmin # See the wiki[https://github.com/sferik/rails_admin/wiki] for more on authorization. # # @see RailsAdmin::DEFAULT_AUTHORIZE - def self.autho...
updates RailsAdmin.authorize_with to pass additional arguments through, when using an adapter.
sferik_rails_admin
train
02894e1e86f70b6fbb7a50b389b69ab00a7f0f9a
diff --git a/components/prism-core.js b/components/prism-core.js index <HASH>..<HASH> 100644 --- a/components/prism-core.js +++ b/components/prism-core.js @@ -125,16 +125,19 @@ var _ = _self.Prism = { }, // Traverse a language definition with Depth First Search - DFS: function(o, callback, type) { + DFS: func...
Prevent infinite recursion in DFS
PrismJS_prism
train
4d0e3fc070e7fa60a75f52760a842d643359c6ac
diff --git a/src/components/Button.js b/src/components/Button.js index <HASH>..<HASH> 100644 --- a/src/components/Button.js +++ b/src/components/Button.js @@ -34,8 +34,27 @@ class Button extends React.Component { return windowSize === 'medium' || windowSize === 'large'; }; + _hasVisibleChildren = () => { + ...
added _hasVisibleChildren Method
mxenabled_mx-react-components
train
687cff0f074c63b5a30f54220fb1b1ad71aa5e79
diff --git a/src/Ordering.js b/src/Ordering.js index <HASH>..<HASH> 100644 --- a/src/Ordering.js +++ b/src/Ordering.js @@ -7,7 +7,7 @@ var Ordering = sumType('Ordering', {'LT': [], 'EQ': [], 'GT': []}); // Implementation for Ord Ordering.compare = _curry(function(left, right) { - return Ordering.fromInt(Ordering...
Fixed bug in Ordering.compare
wardlem_lambdash
train
346689a73f2a089fef81c9ddb21868c29fd517a8
diff --git a/openquake/commonlib/logictree.py b/openquake/commonlib/logictree.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/logictree.py +++ b/openquake/commonlib/logictree.py @@ -76,7 +76,7 @@ class LtSourceModel(object): """ def __init__(self, names, weight, path, src_groups, num_gsim_paths, ...
Added a comment [skip CI]
gem_oq-engine
train
cf82e68c402943af08d48a890c7907059fd47515
diff --git a/html2text.go b/html2text.go index <HASH>..<HASH> 100644 --- a/html2text.go +++ b/html2text.go @@ -188,6 +188,12 @@ func (ctx *textifyTraverseContext) handleElement(node *html.Node) error { return ctx.emit("*" + str + "*") case atom.A: + linkText := "" + // For simple link element content with sing...
Usability hacks. * Don't show link href if it matches the link element content. * Don't add a space before text elements starting with '.'.
jaytaylor_html2text
train
7bfb6a7dd315f0eda3e5227f7d41e38f66f46549
diff --git a/src/event.js b/src/event.js index <HASH>..<HASH> 100644 --- a/src/event.js +++ b/src/event.js @@ -24,17 +24,6 @@ jQuery.event = { return; } - // TODO :: Use a try/catch until it's safe to pull this out (likely 1.6) - // Minor release fix for bug #8018 - try { - // For whatever reason, IE has ...
Removing un-needed frameElement check as discussed in #<I>. Fixes #<I>.
jquery_jquery
train
889e9aa05fe7b2ae29ddd228332ea47b0f0aabe3
diff --git a/test/unexpectedMitm.js b/test/unexpectedMitm.js index <HASH>..<HASH> 100644 --- a/test/unexpectedMitm.js +++ b/test/unexpectedMitm.js @@ -81,7 +81,7 @@ describe('unexpectedMitm', function () { if (err) { reject(err); } else { - resol...
Fix missing semicolon; that'll teach me about not running "npm test".
unexpectedjs_unexpected-mitm
train
9bb17f6ad79c762a5905810f60efade1e33d183f
diff --git a/jquery.fileupload-ui.js b/jquery.fileupload-ui.js index <HASH>..<HASH> 100644 --- a/jquery.fileupload-ui.js +++ b/jquery.fileupload-ui.js @@ -52,7 +52,7 @@ isDropZoneEnlarged; this.dropZone = container; - this.previewSelector = '.file_preview'; + this.previewSe...
Updated default previewSelector to '.file_upload_preview' for consistency.
blueimp_jQuery-File-Upload
train
b5e29fbfdfb77d1f5ce66bfa6114f52a67d22fa9
diff --git a/parker/consumemodel.py b/parker/consumemodel.py index <HASH>..<HASH> 100644 --- a/parker/consumemodel.py +++ b/parker/consumemodel.py @@ -79,8 +79,9 @@ class ConsumeModel(object): def load_from_config(self, config): """Load model from passed configuration.""" self.site = config.get("...
Add post processing to the data in consumemodel so we can use a reference to a key-value item.
nefarioustim_parker
train
2b54be179cd35471118d38dc2627ca936bffa4b0
diff --git a/src/LUDecomposition.php b/src/LUDecomposition.php index <HASH>..<HASH> 100644 --- a/src/LUDecomposition.php +++ b/src/LUDecomposition.php @@ -14,6 +14,8 @@ namespace mcordingley\LinearAlgebra; * * Code reference: * @reference: http://rosettacode.org/wiki/LU_decomposition + * + * @internal */ final...
Mark LUDecomp as an internal class.
mcordingley_LinearAlgebra
train
bc01feced61d493ad8a0e3cc3d5e4768e5d214be
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index <HASH>..<HASH> 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -199,7 +199,7 @@ class Cmd(cmd.Cmd): def __init__(self, completekey: str = 'tab', stdin=None, stdout=None, *, persistent_history_file: str = '', persistent_history_length: int = 1000, -...
Fix flake8 error and make type hinting consistent
python-cmd2_cmd2
train
1ec797c4b25362049d7c574767cd11bcb766d5f0
diff --git a/src/org/zaproxy/clientapi/core/ClientApi.java b/src/org/zaproxy/clientapi/core/ClientApi.java index <HASH>..<HASH> 100644 --- a/src/org/zaproxy/clientapi/core/ClientApi.java +++ b/src/org/zaproxy/clientapi/core/ClientApi.java @@ -28,11 +28,13 @@ import java.io.IOException; import java.io.InputStream; im...
Issue <I> - Java Client API doesn't encode query parameters when sending requests to ZAP API Changed to encode the query parameters (both names and values).
zaproxy_zaproxy
train
44db62f5072494a2cd733161e15ea072e7f7287d
diff --git a/src/main/java/net/sf/rubycollect4j/util/LinkedIdentityMap.java b/src/main/java/net/sf/rubycollect4j/util/LinkedIdentityMap.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/sf/rubycollect4j/util/LinkedIdentityMap.java +++ b/src/main/java/net/sf/rubycollect4j/util/LinkedIdentityMap.java @@ -25,13 +25...
Improve the code of LinkedIdentityMap
wnameless_rubycollect4j
train
eef4a143579ba9a9d3385d4202b33f552019760b
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -50,7 +50,7 @@ module.exports = function (uri) { } }) - // Convenience properties to match parse-torrent results + // Convenience properties for parity with `parse-torrent-file` var m if (result.xt && (m = re...
always make `announce` property an array, for parity with `parse-torrent-file`
webtorrent_magnet-uri
train
7499c4995d53d0df18e1d6b2912cbb73b88cdace
diff --git a/lib/jara/cli.rb b/lib/jara/cli.rb index <HASH>..<HASH> 100644 --- a/lib/jara/cli.rb +++ b/lib/jara/cli.rb @@ -6,32 +6,52 @@ require 'optparse' module Jara class Cli def initialize(argv) - parse_argv(argv) - options = {} - options[:archiver] = @archiver if @archiver - options[:b...
Change bin/jara to have two subcommands: release and build Instead of a --[no-]release flag. Also clean up the usage help and error reporting.
burtcorp_jara
train
f7683dffda185d9f5bb87e97d3f89cfda2dbf01c
diff --git a/jquery.cytoscapeweb.js b/jquery.cytoscapeweb.js index <HASH>..<HASH> 100644 --- a/jquery.cytoscapeweb.js +++ b/jquery.cytoscapeweb.js @@ -564,9 +564,14 @@ return structs.nodes[ this._private.data.target ]; }; - CyElement.prototype.firstNeighbors = function(){ + CyElement.prototype.neighbo...
add degree & revise neighbors neighbors has open option : open => don't include self, closed => include self
cytoscape_cytoscape.js
train
16266a54dc68f2630e1e596ce13a0924e03c2d72
diff --git a/Resources/views/Form/ewz_recaptcha_widget.html.php b/Resources/views/Form/ewz_recaptcha_widget.html.php index <HASH>..<HASH> 100644 --- a/Resources/views/Form/ewz_recaptcha_widget.html.php +++ b/Resources/views/Form/ewz_recaptcha_widget.html.php @@ -1,7 +1,7 @@ <?php if ($ewz_recaptcha_enabled): ?> <...
Added expired-callback support to PHP template
excelwebzone_EWZRecaptchaBundle
train
faca2c45d6af970b7c37ab54c1ce9aff1fb9ba06
diff --git a/moco-core/src/main/java/com/github/dreamhead/moco/handler/AbstractProxyResponseHandler.java b/moco-core/src/main/java/com/github/dreamhead/moco/handler/AbstractProxyResponseHandler.java index <HASH>..<HASH> 100644 --- a/moco-core/src/main/java/com/github/dreamhead/moco/handler/AbstractProxyResponseHandler....
applied optional to abstract proxy response handler
dreamhead_moco
train
deea8ca4c3d6cbe90827b9abb7833ca653d57206
diff --git a/soco/snapshot.py b/soco/snapshot.py index <HASH>..<HASH> 100644 --- a/soco/snapshot.py +++ b/soco/snapshot.py @@ -82,13 +82,13 @@ class Snapshot(object): Useful for determining whether playing an alert on a device will ungroup it. """ + # get if device coor...
Change to use SoCo method to determine coordinator
SoCo_SoCo
train
4abdd61b6358b2fcf847506d91aa4686bb555bda
diff --git a/src/scs_core/estate/mqtt_peer.py b/src/scs_core/estate/mqtt_peer.py index <HASH>..<HASH> 100644 --- a/src/scs_core/estate/mqtt_peer.py +++ b/src/scs_core/estate/mqtt_peer.py @@ -78,11 +78,21 @@ class MQTTPeer(JSONable): return self.__shared_secret + @shared_secret.setter + def shared_sec...
Upgraded mqtt_peers.py
south-coast-science_scs_core
train
999f02af51a5c980b902de3198d05cc9059b2130
diff --git a/src/DOM/createTree.js b/src/DOM/createTree.js index <HASH>..<HASH> 100644 --- a/src/DOM/createTree.js +++ b/src/DOM/createTree.js @@ -86,7 +86,7 @@ function createStaticTreeNode( node, parentNode, domNamespace ) { if ( tag ) { - const is = node.attrs && node.attrs.is || null; + const is = node.a...
make sure mathML updates till correct namespace as well
infernojs_inferno
train
7f4b86c8e677740474964cf8758588585c5805f6
diff --git a/src/Form/Field.php b/src/Form/Field.php index <HASH>..<HASH> 100644 --- a/src/Form/Field.php +++ b/src/Form/Field.php @@ -332,7 +332,6 @@ abstract class Field // Set the XML element object. $this->element = $element; - // Get some important attributes from the form field element. $class = (st...
Adding handling for placeholders in combo boxes for formbuilder (#<I>)
hubzero_framework
train
efa4e02c03899dcb71415f5700cb3d5b84d94504
diff --git a/tests/test_transport_http.py b/tests/test_transport_http.py index <HASH>..<HASH> 100644 --- a/tests/test_transport_http.py +++ b/tests/test_transport_http.py @@ -1,19 +1,18 @@ # -*- coding: utf-8 -*- -# This program is free software; you can redistribute it and/or modify -# it under the terms of the ...
test code cleanup Reordered test functions. Consistently using double instead of single quotes. Standardized long comment line wrapping.
suds-community_suds
train
afbc69763ba86891ba4e4e28de2c3e9e1f4e242f
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ * [#5976](https://github.com/rubocop-hq/rubocop/issues/5976): Remove Rails cops. ([@koic][]) * [#5976](https://github.com/rubocop-hq/rubocop/issues/5976): Remove `rubocop -R/--rails` option. ([@...
[Fix #<I>] Fix an error for `Lint/NumberConversion` Fixes #<I>. This PR fixes an error for `Lint/NumberConversion` when `#to_i` called on a variable on a hash. It was a regression by #<I>.
rubocop-hq_rubocop
train
6dd263408ee97310e5117ecfe175d181bc6dc20f
diff --git a/app/models/renalware/renal.rb b/app/models/renalware/renal.rb index <HASH>..<HASH> 100644 --- a/app/models/renalware/renal.rb +++ b/app/models/renalware/renal.rb @@ -4,7 +4,7 @@ require_dependency "renalware" module Renalware module Renal - AKI_ALERT_FILTERS = %w(today all).freeze + AKI_ALERT_F...
Add hotlist tab to aki alerts
airslie_renalware-core
train
46ac7b07d488c3a55b6c03c0d3bc94a62298eb43
diff --git a/my/tests/events_test.php b/my/tests/events_test.php index <HASH>..<HASH> 100644 --- a/my/tests/events_test.php +++ b/my/tests/events_test.php @@ -61,7 +61,7 @@ class dashboard_events_testcase extends advanced_testcase { $user = $this->user; // Trigger an event: dashboard viewed. ...
MDL-<I> events: Fix event context
moodle_moodle
train
d179ab4f42485f2348df8426a49ac66c3d061654
diff --git a/javascript/node/selenium-webdriver/lib/capabilities.js b/javascript/node/selenium-webdriver/lib/capabilities.js index <HASH>..<HASH> 100644 --- a/javascript/node/selenium-webdriver/lib/capabilities.js +++ b/javascript/node/selenium-webdriver/lib/capabilities.js @@ -330,24 +330,22 @@ class Capabilities { ...
capabilities.js - used unused variable in merge() (#<I>) - minor update - the code worked before because Capabilities and Map both happened to have a keys() function - added tests in capabilities_test.js Fixes #<I>
SeleniumHQ_selenium
train
5a098961137a7ac3296cf836dd02b238d57eeee4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,8 @@ setup( description = 'An extendable admin interface', packages=find_packages(), zip_safe=False, - install_requires=[ + install_requires=[], + tests_require = [ 'Django', ...
Move Django and South to test requirements
disqus_nexus
train
79a860fc2b5d5d6d0f2ec3530e2ef0af97899d54
diff --git a/lib/bitcoin_payments/client.rb b/lib/bitcoin_payments/client.rb index <HASH>..<HASH> 100644 --- a/lib/bitcoin_payments/client.rb +++ b/lib/bitcoin_payments/client.rb @@ -1,4 +1,6 @@ module BitcoinPayments + class ApiError < StandardError; end + module Client module_function @@ -20,7 +22,7 @@ mo...
test exception will be thrown for api errors
lihanli_bitcoin_active_record
train
fb5f1fe50ec47efeb220b3acf6163e03965821fe
diff --git a/test/schema_test.rb b/test/schema_test.rb index <HASH>..<HASH> 100644 --- a/test/schema_test.rb +++ b/test/schema_test.rb @@ -12,6 +12,8 @@ class SchemaTest < Minitest::Test assert_works "--from pgsync_test1 --to pgsync_test3 --schema-only --all-schemas" assert_equal all_tables, tables($conn3) ...
Make sure all_table doesn't break
ankane_pgsync
train
843ad2e56c88bc211d9f70a7be0ae6acfc534975
diff --git a/protempa-bp-commons/src/main/java/org/protempa/bp/commons/dsb/sqlgen/ResultCache.java b/protempa-bp-commons/src/main/java/org/protempa/bp/commons/dsb/sqlgen/ResultCache.java index <HASH>..<HASH> 100644 --- a/protempa-bp-commons/src/main/java/org/protempa/bp/commons/dsb/sqlgen/ResultCache.java +++ b/protemp...
Updated to use the transient keyword for the CachMap objects, to prevent a full cycle in the caching mechanism, caused by Location being an inner class.
eurekaclinical_protempa
train
357ae23fa4e13c0154575298a39b08627f1a97a8
diff --git a/src/Monolog/Handler/HandlerWrapper.php b/src/Monolog/Handler/HandlerWrapper.php index <HASH>..<HASH> 100644 --- a/src/Monolog/Handler/HandlerWrapper.php +++ b/src/Monolog/Handler/HandlerWrapper.php @@ -16,15 +16,17 @@ use Monolog\Formatter\FormatterInterface; /** * This simple wrapper class can be used ...
Tweak HandlerWrapper example in docblock, fixes #<I>
Seldaek_monolog
train
fd721bd876767d14c03160f46823bd6574b0ff85
diff --git a/odl/discr/discr_mappings.py b/odl/discr/discr_mappings.py index <HASH>..<HASH> 100644 --- a/odl/discr/discr_mappings.py +++ b/odl/discr/discr_mappings.py @@ -360,7 +360,6 @@ class NearestInterpolation(FunctionSetMapping): # TODO: Implement in-place evaluation def nearest(arg): ...
BUG: fix wrong order of arg in interpolator and improve structure
odlgroup_odl
train
7dc158540f4186e67908641ee24c3233c6e13926
diff --git a/src/test/java/au/com/southsky/jfreesane/SaneSessionTest.java b/src/test/java/au/com/southsky/jfreesane/SaneSessionTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/au/com/southsky/jfreesane/SaneSessionTest.java +++ b/src/test/java/au/com/southsky/jfreesane/SaneSessionTest.java @@ -183,7 +183,7 @@ p...
Fix use of deprecated Truth methods
sjamesr_jfreesane
train
f6a308d427de1bd263337be4a334f586962ce589
diff --git a/test/models/invitable_test.rb b/test/models/invitable_test.rb index <HASH>..<HASH> 100644 --- a/test/models/invitable_test.rb +++ b/test/models/invitable_test.rb @@ -1,6 +1,10 @@ require 'test_helper' require 'model_tests_helper' +class Validatable < User + devise :validatable, password_length: 10..20...
spec, should set initial password following devise password_length
scambra_devise_invitable
train
34b13fb39f4769a227b91e48996373a8f37bcc6f
diff --git a/lib/dk/task.rb b/lib/dk/task.rb index <HASH>..<HASH> 100644 --- a/lib/dk/task.rb +++ b/lib/dk/task.rb @@ -197,6 +197,10 @@ module Dk test_runner(task_class, args).task end + def ssh_cmd_str(task, *args) + task.instance_eval{ ssh_cmd_str(*args) } + end + e...
(hotfix) add `ssh_cmd_str` test helper This is designed to help test local cmds the run ssh cmd strings. This keeps the user from knowing the internals about how the `ssh_cmd_str` method works and allows them to just test their own logic and not the internals. This came up when testing a task that makes a ssh cmd str...
redding_dk
train
e3cd2359bc64e903bfb2b13108ff2b7cb6f8956b
diff --git a/dist/stream.min.js b/dist/stream.min.js index <HASH>..<HASH> 100644 --- a/dist/stream.min.js +++ b/dist/stream.min.js @@ -1,4 +1,4 @@ -var i=null; -("undefined"!==typeof define?define:function(j){stream=j()})(function(){function j(a,c,d){if(a===i)return a;var g=a.a,d=j(k(a),c,d);return c.call(a,g)?l(g,d):d...
Added index value to filter pred.
mattbierner_nu
train
53dbe8b32991518fd5f9068a3da1e0cada6b6fe9
diff --git a/database.go b/database.go index <HASH>..<HASH> 100644 --- a/database.go +++ b/database.go @@ -112,6 +112,17 @@ func addToIndex(name, value string, conn redis.Conn) error { return err } +// Like addToIndex, but uses Send to add the command to a queue +// instead of executing it immediately +func queueA...
Writes during the Save() call are all transactional.
albrow_zoom
train
88442622c5173224dfd91d0071a3bab08e63695a
diff --git a/lib/opentracing.rb b/lib/opentracing.rb index <HASH>..<HASH> 100644 --- a/lib/opentracing.rb +++ b/lib/opentracing.rb @@ -30,8 +30,8 @@ module OpenTracing class << self extend Forwardable - # Global tracer to be used when OpenTracing.start_span is called + # Global tracer to be used when Op...
Forward inject and extract calls to global tracer Currently only OpenTracing.start_span is forwarded. OpenTracing::Trace#inject and #extract are very similar. Forwarding these should make using OpenTracing library a bit more convenient.
opentracing_opentracing-ruby
train
0e57e67a71aeeed1eab3bfbd684f610091660389
diff --git a/lib/builder/builder.js b/lib/builder/builder.js index <HASH>..<HASH> 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -2,7 +2,6 @@ import { dirname } from 'path' import Module from 'module' import { Script } from 'vm' import { transformFileSync } from 'babel-core' -import { mkdirp, re...
[Core] Clean up unimplemented shatters
shirohana_dynapi
train
00fbaa20b49bc47d08fbe00ece48fa29d91ff52a
diff --git a/lib/focuslight/version.rb b/lib/focuslight/version.rb index <HASH>..<HASH> 100644 --- a/lib/focuslight/version.rb +++ b/lib/focuslight/version.rb @@ -1,3 +1,3 @@ module Focuslight - VERSION = "0.2.0" + VERSION = "0.2.1" end
Bump up version <I>
focuslight_focuslight
train
431880625a6af696dde9773baaad1850417fce02
diff --git a/src/flow.js b/src/flow.js index <HASH>..<HASH> 100644 --- a/src/flow.js +++ b/src/flow.js @@ -346,10 +346,6 @@ domNodes = [domNodes]; } - // We will create an <input> and overlay it on the domNode - // (crappy, but since HTML5 doesn't have a cross-browser.browse() method - ...
feat: assignBrowse without overlay input button also solves "no files chosen" hover effect
flowjs_flow.js
train
aac7268808e986da2669ed4c1ad010f611a85000
diff --git a/fedmsg/consumers/ircbot.py b/fedmsg/consumers/ircbot.py index <HASH>..<HASH> 100644 --- a/fedmsg/consumers/ircbot.py +++ b/fedmsg/consumers/ircbot.py @@ -26,7 +26,9 @@ log = logging.getLogger("moksha.hub") class FedMsngr(irc.IRCClient): - lineRate = None + # The 0.6 seconds here is empircally gu...
Break up messages cleanly for the ircbot. Fixes #<I>.
fedora-infra_fedmsg
train
aeaffbddb548a846faf2ea0954204e2d0132f1e8
diff --git a/testng/src/test/java/com/automation/remarks/testng/test/BaseTest.java b/testng/src/test/java/com/automation/remarks/testng/test/BaseTest.java index <HASH>..<HASH> 100644 --- a/testng/src/test/java/com/automation/remarks/testng/test/BaseTest.java +++ b/testng/src/test/java/com/automation/remarks/testng/test...
TestNgRemoteListener test added to check enabled feature
SergeyPirogov_video-recorder-java
train
47d2a366c96b2adff89fddb57a1092c90c136c5a
diff --git a/lib/motion-addressbook.rb b/lib/motion-addressbook.rb index <HASH>..<HASH> 100644 --- a/lib/motion-addressbook.rb +++ b/lib/motion-addressbook.rb @@ -1,5 +1,4 @@ require "motion-addressbook/version" -require "bubble-wrap/core" # RubyMotion bug RM-81 was fixed for 2.8; motion-addressbook if Gem::Versio...
Remove bubblewrap dependency from core file.
alexrothenberg_motion-addressbook
train
2cf69d710abaa8a4815af025c43e09f0760281a0
diff --git a/anyconfig/__init__.py b/anyconfig/__init__.py index <HASH>..<HASH> 100644 --- a/anyconfig/__init__.py +++ b/anyconfig/__init__.py @@ -108,7 +108,7 @@ the followings: """ from .api import single_load, multi_load, load, loads, dump, dumps, \ - list_types, find_parser, \ + list_types, find_parser, f...
added new api, api.find_load which is an alias of anyconfig.find_parser
ssato_python-anyconfig
train
a17ac8c5f800675a743576fc21b908214fcd6902
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -3,6 +3,7 @@ require('babel-jest/node_modules/babel-core').register(); var babel = require('babel-core'); var plugins = [ + require('./src/constant-folding-plugin'), require('./src/dce-plugin'), require('./src/simp...
add constant folding and add run time to benchmark
babel_minify
train
9afa6c75aae64a2458316ffb54f1ee2422fdaeb7
diff --git a/src/state.js b/src/state.js index <HASH>..<HASH> 100644 --- a/src/state.js +++ b/src/state.js @@ -7,7 +7,7 @@ import {getOptions} from "./options" export const plugins = {} function keywordRegexp(words) { - return new RegExp("^(" + words.replace(/ /g, "|") + ")$") + return new RegExp("^(?:" + words.r...
Make the keywords regexp a non-capturing one.
acornjs_acorn
train
7f3a363a8fc3aff80e644ee51636e9e1f1a25b74
diff --git a/examples/three.js b/examples/three.js index <HASH>..<HASH> 100644 --- a/examples/three.js +++ b/examples/three.js @@ -22665,7 +22665,7 @@ } - if ( onAnimationFrameCallback ) onAnimationFrameCallback( time ); + if ( onAnimationFrameCallback ) onAnimationFrameCallback( time, frame ); }
Hack three.js copy to pass through XRFrame in session.requestAnimationFrame callback
exokitxr_exokit
train
aca508db5f795ede6076e3d4e6b32a1bf7c7b46b
diff --git a/read.go b/read.go index <HASH>..<HASH> 100644 --- a/read.go +++ b/read.go @@ -16,6 +16,7 @@ package zoekt import ( "encoding/binary" + "fmt" "io" "log" ) @@ -31,6 +32,15 @@ func (r *reader) readTOC(toc *indexTOC) { var tocSection simpleSection tocSection.read(r) _, r.err = r.r.Seek(int64(to...
Check number of sections in index. This guards against version skew between reader and writer. Change-Id: I0a<I>b<I>f7a3fac<I>bd<I>c3d0fd<I>
google_zoekt
train
642de6f1682c93c0fdee4216b3e0617c2d71a7fc
diff --git a/tests/test_crypto.py b/tests/test_crypto.py index <HASH>..<HASH> 100644 --- a/tests/test_crypto.py +++ b/tests/test_crypto.py @@ -1664,6 +1664,7 @@ WpOdIpB8KksUTCzV591Nr1wd with pytest.raises(TypeError): cert.gmtime_adj_notAfter(None) + @flaky.flaky def test_gmtime_adj_notAf...
Mark this test as flaky (#<I>)
pyca_pyopenssl
train
2d077beddb47bd0e8be2976515537eb88c95cd95
diff --git a/molo/core/api/endpoints.py b/molo/core/api/endpoints.py index <HASH>..<HASH> 100644 --- a/molo/core/api/endpoints.py +++ b/molo/core/api/endpoints.py @@ -73,8 +73,16 @@ class MoloPagesEndpoint(PagesAPIEndpoint): # Enable filtering by navigation tags if model == ArticlePage and 'nav_tags...
Validate that nav_tag filter input is an int
praekeltfoundation_molo
train
087e614e1da0338631f5dab29b52cd964ed15cf3
diff --git a/lib/bertrpc/action.rb b/lib/bertrpc/action.rb index <HASH>..<HASH> 100644 --- a/lib/bertrpc/action.rb +++ b/lib/bertrpc/action.rb @@ -83,10 +83,17 @@ module BERTRPC sock.setsockopt Socket::SOL_SOCKET, Socket::SO_RCVTIMEO, optval sock.setsockopt Socket::SOL_SOCKET, Socket::SO_SNDTIMEO, opt...
have to catch EINPROGRESS and EISCONN
mojombo_bertrpc
train
62d500c2422cbc3b0a643a8286e0630ea4a331c4
diff --git a/foundations/nodes.py b/foundations/nodes.py index <HASH>..<HASH> 100644 --- a/foundations/nodes.py +++ b/foundations/nodes.py @@ -174,7 +174,7 @@ class AbstractNode(foundations.dataStructures.Structure): """Node id: Defines the next node instance identity number. ( Integer )""" __nodesInstances = wea...
Update docstrings in "foundations.nodes" module.
KelSolaar_Foundations
train
89dcd2ec37675710b5ef743da211c283ace56bb2
diff --git a/lib/mess/renderer.js b/lib/mess/renderer.js index <HASH>..<HASH> 100644 --- a/lib/mess/renderer.js +++ b/lib/mess/renderer.js @@ -237,6 +237,24 @@ mess.Renderer = function Renderer(env) { }); })); }; + + var findBackground = function...
Background color support. Fixes #8. Does not support expressions yet.
mapbox_carto
train
7dd931bfa2b149707fabfef8619dd98b4b5bc630
diff --git a/keyring/tests/backends/test_kwallet.py b/keyring/tests/backends/test_kwallet.py index <HASH>..<HASH> 100644 --- a/keyring/tests/backends/test_kwallet.py +++ b/keyring/tests/backends/test_kwallet.py @@ -1,3 +1,5 @@ +import os + from ..py30compat import unittest from keyring.backends import kwallet @@ -8...
skip KWallet tests when DISPLAY is not set QApplication() checks for DISPLAY in the environment and fails on stderr with "cannot connect to X server" if it is not found. Reported in issue #<I>
jaraco_keyring
train
36236fa6a10afba041184bcdcf62f4318087a2f0
diff --git a/src/test/java/org/jbpm/migration/xsl/Jpdl3ClaimFinanceProcessTest.java b/src/test/java/org/jbpm/migration/xsl/Jpdl3ClaimFinanceProcessTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/jbpm/migration/xsl/Jpdl3ClaimFinanceProcessTest.java +++ b/src/test/java/org/jbpm/migration/xsl/Jpdl3ClaimFinan...
Added Ignores to the unit tests customer examples containing invalid BPMN2 constructs that are not auto-fixable. Marked both with todo.
kiegroup_jbpmmigration
train
1774adc2ac207da0b70cbdba2a668abcd361ac19
diff --git a/src/Delivery/DynamicEntry.php b/src/Delivery/DynamicEntry.php index <HASH>..<HASH> 100644 --- a/src/Delivery/DynamicEntry.php +++ b/src/Delivery/DynamicEntry.php @@ -176,9 +176,9 @@ class DynamicEntry extends LocalizedResource implements EntryInterface $fields = new \stdClass; $contentTyp...
Simplify DynamicEntry::jsonSerialize a tiny bit.
contentful_contentful.php
train
e2d0a6710fb56e45715d19458ea6fce85e8401f4
diff --git a/lib/http/request_stream.rb b/lib/http/request_stream.rb index <HASH>..<HASH> 100644 --- a/lib/http/request_stream.rb +++ b/lib/http/request_stream.rb @@ -10,29 +10,28 @@ module Http # Stream the request to a socket def stream socket = @socket - request_header = @request_header ...
Replace all request_header with @request_header
httprb_http
train
bb9b13e8de66fb4aaa6778d74e99a0391fa792e3
diff --git a/lib/actiontimer/Timer.rb b/lib/actiontimer/Timer.rb index <HASH>..<HASH> 100644 --- a/lib/actiontimer/Timer.rb +++ b/lib/actiontimer/Timer.rb @@ -76,12 +76,13 @@ module ActionTimer to_sleep = get_min_sleep if((to_sleep.nil? || to_sleep > 0) && @new_actions....
don't use rounded sleep time
spox_actiontimer
train
8b891c5f0c4d82d1a3576eba990c21a4562cce54
diff --git a/lib/contracts/deploy.js b/lib/contracts/deploy.js index <HASH>..<HASH> 100644 --- a/lib/contracts/deploy.js +++ b/lib/contracts/deploy.js @@ -115,7 +115,7 @@ class Deploy { } let linkReference = '__' + filename + ":" + contractObj.className; let toReplace = linkReference + "_".re...
replace all instances of matched lib
embark-framework_embark
train
922992ce7670e862057f558e591512f906daeac1
diff --git a/internal/pipe/archive/archive.go b/internal/pipe/archive/archive.go index <HASH>..<HASH> 100644 --- a/internal/pipe/archive/archive.go +++ b/internal/pipe/archive/archive.go @@ -74,11 +74,6 @@ func (Pipe) Default(ctx *context.Context) error { archive.NameTemplate = defaultBinaryNameTemplate } }...
fix: archive ids (#<I>) * fix: archive ids
goreleaser_goreleaser
train
46620769346c5e16dc8dfbab21751cb020d23d9a
diff --git a/pkg/test/dockertest/docker.go b/pkg/test/dockertest/docker.go index <HASH>..<HASH> 100644 --- a/pkg/test/dockertest/docker.go +++ b/pkg/test/dockertest/docker.go @@ -189,12 +189,8 @@ func setupContainer(t *testing.T, image string, port int, timeout time.Duration, } const ( - mongoImage = "mpl7/mongo" -...
dockertest: use official mysql image Because orchardup/mysql is deprecated. I had to increase the timeout, because this image takes at least twice as long to start compared with the orchardup one. (tests went from ~5s to ~<I>s here). Change-Id: I<I>c<I>d<I>c<I>ce9d<I>aabf<I>b1de<I>e6ac<I>ff
perkeep_perkeep
train
1efde6747f67fad1ff5b3bd82602d92c958406f8
diff --git a/src/main/java/com/beimin/eveapi/model/shared/RefType.java b/src/main/java/com/beimin/eveapi/model/shared/RefType.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/beimin/eveapi/model/shared/RefType.java +++ b/src/main/java/com/beimin/eveapi/model/shared/RefType.java @@ -134,6 +134,7 @@ public enum R...
Updated RefType (Added REACTIONS)
ZyorTaelon_eveapi
train
6f8e23dc226db88b0b1eb74ff53cf977696717fe
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -69,7 +69,7 @@ function GlobalOffensive(steam) { self._isInCSGO = false; self._hadGCSession = self.haveGCSession; if(self.haveGCSession) { - self.emit('disconnectedFromGC', GlobalOffensive.GCGoodbyeReason.NO_SESSION...
Fixed references to GCGoodbyeReason instead of GCConnectionStatus
DoctorMcKay_node-globaloffensive
train
7f53976de786326816d6e1c237670ced5d36e15c
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ module.exports = function(Parser) { else if (branch.eat(tt.bracketR)) --count else branch.next() } while (count > 0) - } else branch.next() + } else branch.next...
Don't break escaped keywords as class method names
acornjs_acorn-class-fields
train
3737fc41e7195d69995c53027d490041c03646d1
diff --git a/src/utils.js b/src/utils.js index <HASH>..<HASH> 100644 --- a/src/utils.js +++ b/src/utils.js @@ -111,7 +111,14 @@ export function tryAppendQueryString(existingUrl, key, value) { // parse a query string object passed in bid params // bid params should be an object such as {key: "value", key1 : "value1"} ...
Roll back breaking change to utils.parseQueryStringParameters (#<I>) * Add AOL defaults for currency and creative ID until fix issued server-side * Satisfy linter single quotes * Roll back breaking change to utils.parseQueryStringParameters and add a better test to catch this in future * utils.parseQueryStrin...
prebid_Prebid.js
train
eb919506c1993b379b96dace26cd7c360a6eb99f
diff --git a/recast/src/main/java/org/recast4j/recast/RecastBuilder.java b/recast/src/main/java/org/recast4j/recast/RecastBuilder.java index <HASH>..<HASH> 100644 --- a/recast/src/main/java/org/recast4j/recast/RecastBuilder.java +++ b/recast/src/main/java/org/recast4j/recast/RecastBuilder.java @@ -310,7 +310,7 @@ publi...
Switch to Iterable<ConvexVolume> in InputGeomProvider
ppiastucki_recast4j
train
9806c621345a142387961f174964252ea1168447
diff --git a/src/check.js b/src/check.js index <HASH>..<HASH> 100644 --- a/src/check.js +++ b/src/check.js @@ -18,6 +18,38 @@ const lintedByEslintPrettier = { 'Eslint with prettier is used to lint the code (check for eslintConfig in package.json)' } +const mandatoryFieldsInManifest = { + fn: (info, assert) => ...
feat: check mandatory fields in the manifest
konnectors_konitor
train
ccd369cff64d8815039806c237c3443d043d2f93
diff --git a/src/geshi.php b/src/geshi.php index <HASH>..<HASH> 100644 --- a/src/geshi.php +++ b/src/geshi.php @@ -1649,15 +1649,11 @@ class GeSHi { $this->language_data['SYMBOL_DATA'][$symbols] = 0; if (isset($symbols[2])) { // multiple chars ...
chg: Reduced if nesting for build_parser_cache a bit
GeSHi_geshi-1.0
train
2a1baa6143b8e8a563871626dc12a880b298ead1
diff --git a/upload/catalog/controller/extension/payment/securetrading_ws.php b/upload/catalog/controller/extension/payment/securetrading_ws.php index <HASH>..<HASH> 100644 --- a/upload/catalog/controller/extension/payment/securetrading_ws.php +++ b/upload/catalog/controller/extension/payment/securetrading_ws.php @@ -8...
Secure Trading Fix Fix for problem appearing with value being passed to the format method in Currency class and the last zero being dropped when amount was passed into round function. Added new format method into the Secure Trading model. Replaced round functionality with number_format and result conforms with XML sp...
opencart_opencart
train
c5069b9026380d2b00ba4e497b632f4b611008ac
diff --git a/test/Unit/Component/News/NewsTest.php b/test/Unit/Component/News/NewsTest.php index <HASH>..<HASH> 100644 --- a/test/Unit/Component/News/NewsTest.php +++ b/test/Unit/Component/News/NewsTest.php @@ -92,14 +92,17 @@ class NewsTest extends \PHPUnit_Framework_TestCase $this->assertSame($title, $news->...
Enhancement: Assert that null values are rejected
refinery29_sitemap
train
52ea53fe8c5c10838370cec7391f8e873d51408e
diff --git a/lib/jekyll-toc.rb b/lib/jekyll-toc.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll-toc.rb +++ b/lib/jekyll-toc.rb @@ -6,30 +6,65 @@ module Jekyll module TableOfContentsFilter PUNCTUATION_REGEXP = RUBY_VERSION > "1.9" ? /[^\p{Word}\- ]/u : /[^\w\- ]/ - def toc(html) - page = @context.regis...
Refactor TOC parser In preparation for further tags and filters to reuse existing code.
toshimaru_jekyll-toc
train
c4266c6be0ab6608c8408b7702354bed246f631c
diff --git a/railties/test/application/test_test.rb b/railties/test/application/test_test.rb index <HASH>..<HASH> 100644 --- a/railties/test/application/test_test.rb +++ b/railties/test/application/test_test.rb @@ -101,7 +101,7 @@ module ApplicationTests end RUBY - output = run_test_file("unit/fa...
Removed options method argument from application tests in railties
rails_rails
train
f27319a72a4ccfbffc575b752e4d91136f23725e
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index <HASH>..<HASH> 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -162,7 +162,9 @@ module Rails ...
Add master key to `gitignore` on `rails new` We generate master key on `rails new`. Therefore, if do not add master key to `.gitginore` on `rails new`as well, there is a possibility that the master key will be committed accidentally.
rails_rails
train
9e2aeef1f7ea87384b0498ab6cab938f8a074245
diff --git a/src/Services/BaseService.php b/src/Services/BaseService.php index <HASH>..<HASH> 100644 --- a/src/Services/BaseService.php +++ b/src/Services/BaseService.php @@ -166,8 +166,11 @@ abstract class BaseService extends BaseRestService switch ($contentType) { case 'txt': + case...
Covering all variations of content-types
dreamfactorysoftware_df-cache
train
4b5731baf5a901134ddf76a51003375e8112f32f
diff --git a/lib/Doctrine/Node/NestedSet.php b/lib/Doctrine/Node/NestedSet.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/Node/NestedSet.php +++ b/lib/Doctrine/Node/NestedSet.php @@ -21,13 +21,14 @@ /** * Doctrine_Node_NestedSet * - * @package Doctrine - * @license http://www.opensource.org/lic...
Make Doctrine_Node_NestedSet::delete() work correctly with multiple roots.
doctrine_orm
train
6a3f0eb67a13b7c672c6217d8ed95d954563ebaa
diff --git a/larch.gemspec b/larch.gemspec index <HASH>..<HASH> 100644 --- a/larch.gemspec +++ b/larch.gemspec @@ -4,7 +4,7 @@ Gem::Specification.new do |s| s.name = 'larch' s.summary = 'Larch syncs messages from one IMAP server to another. Awesomely.' - s.version = "1.0.0.11" + s.version = "1.0.0.12" ...
Don't try to select or examine a mailbox with the \Noselect attribute
rgrove_larch
train
8863f0641cc3d10471641b7b0ba1abba91476c39
diff --git a/render.go b/render.go index <HASH>..<HASH> 100644 --- a/render.go +++ b/render.go @@ -34,7 +34,6 @@ import ( "net/http" "os" "path/filepath" - "strconv" ) const ( @@ -227,7 +226,6 @@ func (r *renderer) HTML(status int, name string, binding interface{}, htmlOpt .. // template rendered fine, wr...
-n [Migrated] JMS #<I>: Fix render issue with gzip - Basically Render.HTML was writing the content length, and the gzip response writer was getting confused about the length of the content. This should solve any issues with using Render.HTML and gzip together.
martini-contrib_render
train