hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
545ce8fbe0ec73a0e91a5241bb8baabd50221d20
diff --git a/lib/Doctrine/Common/Inflector/Inflector.php b/lib/Doctrine/Common/Inflector/Inflector.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/Common/Inflector/Inflector.php +++ b/lib/Doctrine/Common/Inflector/Inflector.php @@ -201,16 +201,17 @@ class Inflector 'clothes', ), 'irreg...
singular of 'avalanches' is 'avalanche', not 'avalanch'
doctrine_inflector
train
php
28b7aa53557696ddfbdf3bff50daf0852b7d0fcd
diff --git a/events/sink.go b/events/sink.go index <HASH>..<HASH> 100644 --- a/events/sink.go +++ b/events/sink.go @@ -6,6 +6,7 @@ import ( "github.com/Sirupsen/logrus" "github.com/containerd/containerd/api/services/events/v1" + "github.com/containerd/containerd/log" "github.com/containerd/containerd/namespaces...
Use log package instead of logrus in eventSink.Write
containerd_containerd
train
go
12b49a9c639323b83c92b840b7ff4d4056cfb24d
diff --git a/osmnx/folium.py b/osmnx/folium.py index <HASH>..<HASH> 100644 --- a/osmnx/folium.py +++ b/osmnx/folium.py @@ -92,7 +92,7 @@ def plot_route_folium( """ # create gdf of the route edges in order node_pairs = zip(route[:-1], route[1:]) - uvk = ((u, v, min(G[u][v], key=lambda k: G[u][v][k]["le...
Fix late binding flake8-bugbear complains of "B<I> Function definition does not bind loop variable 'u'." This is not really a bug, because the lambda only lasts as long as a single iteration of the iterator. Fix the warning by passing the graph as a parameter to the key lambda, which avoids binding the loop var.
gboeing_osmnx
train
py
a41cd1e5ede79e1495a57b02299fc66ba6511603
diff --git a/greycat/src/main/java/greycat/utility/Base64.java b/greycat/src/main/java/greycat/utility/Base64.java index <HASH>..<HASH> 100644 --- a/greycat/src/main/java/greycat/utility/Base64.java +++ b/greycat/src/main/java/greycat/utility/Base64.java @@ -401,6 +401,9 @@ public class Base64 { * @param buffer ...
Protection of StringArray serialization when value is null
datathings_greycat
train
java
6980bb7080de7f8aa7a0e239b3f84a8339e8aabd
diff --git a/src/mixins/selection.js b/src/mixins/selection.js index <HASH>..<HASH> 100644 --- a/src/mixins/selection.js +++ b/src/mixins/selection.js @@ -1,7 +1,7 @@ // @flow /** - * CSS to style the selection psuedo-element. + * CSS to style the selection pseudo-element. * * @example * // Styles as object u...
docs(selection): Fix typo in selection comment (#<I>)
styled-components_polished
train
js
dd4544d004b2aa7638edf81fe56e5780ed2b23e9
diff --git a/restful.py b/restful.py index <HASH>..<HASH> 100644 --- a/restful.py +++ b/restful.py @@ -27,8 +27,6 @@ from werkzeug.utils import secure_filename from invenio.ext.restful import require_api_auth, error_codes, \ require_oauth_scopes, require_header -from invenio.modules.oauth2server.registry import...
oauth2server: access and refresh tokens encrytion * Uses encryption field for seamless encryption/decryption of the access and refresh tokens. (addresses #<I>)
inveniosoftware_invenio-deposit
train
py
b5983fb9ac0be1b249b0c31d5e889ab97a4fc746
diff --git a/.eslintrc.js b/.eslintrc.js index <HASH>..<HASH> 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -33,6 +33,7 @@ module.exports = { 'import/no-named-default': 'error', 'import/no-unresolved': ['error', {'commonjs': true}], 'import/order': ['error', {'groups': ['builtin', 'external', 'internal...
Add no-case-declarations rule
novemberborn_as-i-preach
train
js
a7e0db96682294a5dd573f424ee67c67bf647baf
diff --git a/src/playbacks/hls/hls.js b/src/playbacks/hls/hls.js index <HASH>..<HASH> 100644 --- a/src/playbacks/hls/hls.js +++ b/src/playbacks/hls/hls.js @@ -5,6 +5,7 @@ import HTML5VideoPlayback from 'playbacks/html5_video' import HLSJS from 'hls.js' import Events from 'base/events' +import Browser from 'component...
hls.js: avoid firefox and safari for now
clappr_clappr
train
js
972c55c43821d9f0886396d0633dd9b9920443fb
diff --git a/lib/ohai/system.rb b/lib/ohai/system.rb index <HASH>..<HASH> 100644 --- a/lib/ohai/system.rb +++ b/lib/ohai/system.rb @@ -215,6 +215,8 @@ module Ohai !Ohai.config[:plugin_path].include?(Ohai.config[:directory]) Ohai.config[:plugin_path] << Ohai.config[:directory] end + + Oha...
Add debug logging for the complete merged config
chef_ohai
train
rb
88492e253571dde77ec9dd18e33bc60a0d2391ce
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java index <HASH>..<HASH> 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java +++ b/gwtquery-core/src/test/java/com/googl...
Adding a test unit for issue<I>
ArcBees_gwtquery
train
java
46769349f068cab15731c238a509ac98604dcf79
diff --git a/MaterializedPathBehavior.php b/MaterializedPathBehavior.php index <HASH>..<HASH> 100644 --- a/MaterializedPathBehavior.php +++ b/MaterializedPathBehavior.php @@ -573,6 +573,9 @@ class MaterializedPathBehavior extends Behavior "n.[[{$this->sortAttribute}]]" => new Expression("{$tableName}....
When searching gap with moveTo() it is ignore current node.
paulzi_yii2-materialized-path
train
php
a81997ac3f2503ed1c57a44af6164c6d38569669
diff --git a/version/version.go b/version/version.go index <HASH>..<HASH> 100644 --- a/version/version.go +++ b/version/version.go @@ -24,7 +24,7 @@ import ( var ( // MinClusterVersion is the min cluster version this etcd binary is compatible with. MinClusterVersion = "3.0.0" - Version = "3.1.0-alpha.1+g...
version: bump up to <I>-rc<I>
etcd-io_etcd
train
go
738718954fa3af4152cfb02afc66cf2290fdbb82
diff --git a/lib/slop.rb b/lib/slop.rb index <HASH>..<HASH> 100644 --- a/lib/slop.rb +++ b/lib/slop.rb @@ -823,7 +823,7 @@ class Slop autocreate(flag, index, items) if @autocreate option, argument = extract_option(item, flag) - if @multiple_switches and item[/\A-[^-]/] and not option + if @mul...
ensure negative integers are not being parsed as options closes #<I>
leejarvis_slop
train
rb,rb
73cdb68308670ea6e9caede76738aa31adbcf8b7
diff --git a/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php b/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php +++ b/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php @@ -106,8 +106,9 @@ abstract ...
Get KERNEL_CLASS through $_ENV too
symfony_symfony
train
php
d76fb42f3fe3f767899aae76d66c3c05951477cd
diff --git a/java/server/src/org/openqa/grid/internal/TestSession.java b/java/server/src/org/openqa/grid/internal/TestSession.java index <HASH>..<HASH> 100644 --- a/java/server/src/org/openqa/grid/internal/TestSession.java +++ b/java/server/src/org/openqa/grid/internal/TestSession.java @@ -329,7 +329,10 @@ public class...
only append query string if it exists (avoid getting "?null" on all forwarded requests)
SeleniumHQ_selenium
train
java
245ec159fc49bd1979d68e5f0ee9c5506d2ef8b5
diff --git a/gcsio/src/main/java/com/google/cloud/hadoop/gcsio/GoogleCloudStorageGrpcWriteChannel.java b/gcsio/src/main/java/com/google/cloud/hadoop/gcsio/GoogleCloudStorageGrpcWriteChannel.java index <HASH>..<HASH> 100644 --- a/gcsio/src/main/java/com/google/cloud/hadoop/gcsio/GoogleCloudStorageGrpcWriteChannel.java +...
Retries for empty responses (#<I>)
GoogleCloudPlatform_bigdata-interop
train
java
b3c9f8da3cf75585aa20874d340048588be66b32
diff --git a/php/utils-wp.php b/php/utils-wp.php index <HASH>..<HASH> 100644 --- a/php/utils-wp.php +++ b/php/utils-wp.php @@ -152,7 +152,7 @@ function wp_get_cache_type() { } elseif ( isset( $wp_object_cache->mc ) ) { $is_memcache = true; foreach ( $wp_object_cache->mc as $bucket ) { - if ( ! is_a( $buck...
Adds support for PHP <I> Memcache extension
wp-cli_export-command
train
php
a59fe3b8e77cd6a349a35e2576c6cf32d867d4ed
diff --git a/lib/chef/resource/ohai.rb b/lib/chef/resource/ohai.rb index <HASH>..<HASH> 100644 --- a/lib/chef/resource/ohai.rb +++ b/lib/chef/resource/ohai.rb @@ -27,10 +27,6 @@ class Chef description "Use the ohai resource to reload the Ohai configuration on a node. This allows recipes that change system attr...
Remove the deprecated ohai_name property from the ohai resource This did nothing and we deprecated it already.
chef_chef
train
rb,rb
aacd0ca2fce90e2a47ebf32ca0ecf3f0ee42a738
diff --git a/src/astral.py b/src/astral.py index <HASH>..<HASH> 100644 --- a/src/astral.py +++ b/src/astral.py @@ -906,6 +906,9 @@ class CityDB(object): raise KeyError('Unrecognised city name - %s' % key) + def __iter__(self): + return self._groups.__iter__() + def __contains__(self, key): ...
Added an iterator for the CityDB groups
sffjunkie_astral
train
py
713a3d9b51d1f8aa5e002c24892e739b96041eff
diff --git a/Resources/public/js/badge/profile.js b/Resources/public/js/badge/profile.js index <HASH>..<HASH> 100644 --- a/Resources/public/js/badge/profile.js +++ b/Resources/public/js/badge/profile.js @@ -38,6 +38,9 @@ collectionContainer.after(deletingCollectionBadgeElement); deletingCollec...
Hide deleting zone for badge in collection when stop dragging
claroline_CoreBundle
train
js
3a673a74ef823a6fbe9e808ddf782db4ba00c137
diff --git a/lib/git/status_all.rb b/lib/git/status_all.rb index <HASH>..<HASH> 100644 --- a/lib/git/status_all.rb +++ b/lib/git/status_all.rb @@ -21,11 +21,17 @@ module Git opt :fetch, "perform fetch for each repository before getting status", :default => false end - dev_dir = ARGV.last || '.' - repo_pa...
show a nicer error message when the directory doesn't exist
reednj_git-status-all
train
rb
a80fa6ca953cb05fa2f0ac07c523f785674f9090
diff --git a/graphics/console.py b/graphics/console.py index <HASH>..<HASH> 100644 --- a/graphics/console.py +++ b/graphics/console.py @@ -9,7 +9,8 @@ class Size: def __init__(self): # Try each method, the first not to fail # is saved to be used in later requests. - for method in range(5...
Tidied console up a bit.
olls_graphics
train
py
09e2c89597afd31cb88f66c404cd7fc0b783238b
diff --git a/flag.go b/flag.go index <HASH>..<HASH> 100644 --- a/flag.go +++ b/flag.go @@ -350,9 +350,8 @@ func (f StringFlag) FormatValueHelp() string { s := f.Value if len(s) == 0 { return "" - } else { - return fmt.Sprintf("\"%s\"", s) } + return fmt.Sprintf("\"%s\"", s) } // Apply populates the flag g...
* Changed the way how to return the result. Because of strange ci failure
urfave_cli
train
go
a86d550a43dc3b2f7707786d111d9df7f1518efe
diff --git a/lib/canis/core/include/rhistory.rb b/lib/canis/core/include/rhistory.rb index <HASH>..<HASH> 100644 --- a/lib/canis/core/include/rhistory.rb +++ b/lib/canis/core/include/rhistory.rb @@ -9,7 +9,7 @@ # Author: jkepler http://github.com/mare-imbrium/canis/ # Date: 2011-11-27 - 18:10 # Li...
added cyan and white to history popup
mare-imbrium_canis
train
rb
4832ef377ca35bce14b8f598ce5be717ec3a8233
diff --git a/src/mg/PAMI/Message/IncomingMessage.php b/src/mg/PAMI/Message/IncomingMessage.php index <HASH>..<HASH> 100644 --- a/src/mg/PAMI/Message/IncomingMessage.php +++ b/src/mg/PAMI/Message/IncomingMessage.php @@ -49,9 +49,10 @@ abstract class IncomingMessage extends Message $lines = explode(Message::EOL,...
fixed bug when value of a key (on incoming message) contained a ':'
marcelog_PAMI
train
php
64c175acae470d0dd8c695a821835d23f0765194
diff --git a/src/utils/link/link-by-prompt.js b/src/utils/link/link-by-prompt.js index <HASH>..<HASH> 100644 --- a/src/utils/link/link-by-prompt.js +++ b/src/utils/link/link-by-prompt.js @@ -1,3 +1,4 @@ +const path = require('path') const inquirer = require('inquirer') const chalk = require('chalk') const isEmpty = ...
Fix log PATH to be cross-platform
netlify_cli
train
js
a3937942209ae69bfa5c28889739f1a145c34bf1
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,8 @@ from setuptools import ( extras_require = { 'tester': [ - "eth-tester[py-evm]==v0.6.0-beta.4", + # "eth-tester[py-evm]==v0.6.0-beta.4", + 'eth-tester[py-evm]@git+ssh://git@github.com/k...
Try out new py-evm requirements in eth-tester
ethereum_web3.py
train
py
e5bf31f0eaa4a345678b90731f581eb6649b499b
diff --git a/quark/tests/test_migrations.py b/quark/tests/test_migrations.py index <HASH>..<HASH> 100644 --- a/quark/tests/test_migrations.py +++ b/quark/tests/test_migrations.py @@ -7,7 +7,6 @@ from alembic import command as alembic_command from alembic import config as alembic_config import mock import netaddr -fr...
remove test_models_sync migration test Because these unit tests run against SQLite, it blocks us using the more advanced features of modern, more robust SQL data stores. Removing this test will prevent this limitation from blocking us.
openstack_quark
train
py
d7792fcf55872211fa6b7595287fb9e24696b7db
diff --git a/presto-spi/src/main/java/com/facebook/presto/spi/type/DateTimeEncoding.java b/presto-spi/src/main/java/com/facebook/presto/spi/type/DateTimeEncoding.java index <HASH>..<HASH> 100644 --- a/presto-spi/src/main/java/com/facebook/presto/spi/type/DateTimeEncoding.java +++ b/presto-spi/src/main/java/com/facebook...
Use named constant for time zone mask in DateTimeEncoding
prestodb_presto
train
java
73f0564bcef12ede34f344407fca098307c768df
diff --git a/salt/modules/linux_ip.py b/salt/modules/linux_ip.py index <HASH>..<HASH> 100644 --- a/salt/modules/linux_ip.py +++ b/salt/modules/linux_ip.py @@ -14,13 +14,14 @@ def __virtual__(): Confine this module to Non-RH/Deb Linux distros ''' if salt.utils.is_windows(): - return False + ...
modules.linux_ip: __virtual__ return err msg. Added message when return False if system is not supported or ip binary is not in the path.
saltstack_salt
train
py
2c5701a7651548d9b3aaf3864ebc2f65e3e58cb1
diff --git a/rocketbelt/base/rocketbelt.js b/rocketbelt/base/rocketbelt.js index <HASH>..<HASH> 100644 --- a/rocketbelt/base/rocketbelt.js +++ b/rocketbelt/base/rocketbelt.js @@ -21,4 +21,18 @@ document.addEventListener('DOMContentLoaded', fn); } }; + + window.rb.aria = { + 'current': 'aria-curre...
feat(a<I>y): Add aria key-value pairs so that a bunch of magic strings can be removed.
Pier1_rocketbelt
train
js
736ec7902e0543d10e75113d1aafc69cf3ac8123
diff --git a/library/src/main/java/com/vanniktech/emoji/EmojiPopup.java b/library/src/main/java/com/vanniktech/emoji/EmojiPopup.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/com/vanniktech/emoji/EmojiPopup.java +++ b/library/src/main/java/com/vanniktech/emoji/EmojiPopup.java @@ -171,6 +171,9 @@ public fi...
Dispatch Event manually when toggling EmojiPopup (#<I>)
vanniktech_Emoji
train
java
b6b8efd70de81ee258ae96686193f30d76e4878c
diff --git a/nodeshot/networking/services/models/choices.py b/nodeshot/networking/services/models/choices.py index <HASH>..<HASH> 100755 --- a/nodeshot/networking/services/models/choices.py +++ b/nodeshot/networking/services/models/choices.py @@ -13,19 +13,16 @@ SERVICE_STATUS = ( (3, _('not reachable')) ) -try...
nodeshot.networking.services: simplified settings #<I>
ninuxorg_nodeshot
train
py
bbcfe9b1de6ce699e7709d0bda628399991300a9
diff --git a/embark-ui/src/services/api.js b/embark-ui/src/services/api.js index <HASH>..<HASH> 100644 --- a/embark-ui/src/services/api.js +++ b/embark-ui/src/services/api.js @@ -241,7 +241,7 @@ export function webSocketProcess(credentials, processName) { } export function webSocketServices(credentials) { - return...
fix: all ws endpoint use new technique This is dues to those 2 endpoints being added as the same time of the new technique
embark-framework_embark
train
js
c7be1509d744f0001a6507f79b5c00119aedc03b
diff --git a/src/Shell/ImportShell.php b/src/Shell/ImportShell.php index <HASH>..<HASH> 100644 --- a/src/Shell/ImportShell.php +++ b/src/Shell/ImportShell.php @@ -567,6 +567,9 @@ class ImportShell extends Shell // remove virtual/non-existing fields $lookupFields = array_intersect($lookupFields...
Default to string types (task #<I>) Type mapping defaults to string for the lookup query. Mostly to avoid the query failing due invalid casting, from a string to an integer
QoboLtd_cakephp-csv-migrations
train
php
bec42ba60b5359180391dbfc54039b837467eaf6
diff --git a/gifi/feature.py b/gifi/feature.py index <HASH>..<HASH> 100644 --- a/gifi/feature.py +++ b/gifi/feature.py @@ -25,7 +25,7 @@ def _start(feature=None): base = 'master' if config.start_on_current_branch: - base = _current_feature_branch(repo) + base = git_utils.current_branch(repo) ...
bugfix: using current branch as base for feature start
kokosing_git-gifi
train
py
a68f465ea74d932ab00137fc6303ad5495355ecf
diff --git a/packages/build-tools/tasks/task-collections.js b/packages/build-tools/tasks/task-collections.js index <HASH>..<HASH> 100644 --- a/packages/build-tools/tasks/task-collections.js +++ b/packages/build-tools/tasks/task-collections.js @@ -271,8 +271,8 @@ async function start() { }); } await Pro...
fix: swap order of watch vs serve tasks
bolt-design-system_bolt
train
js
e7f5928f20b4dec444bf632521e6ffb0e2562aad
diff --git a/shared/chat/conversation-filter-input.js b/shared/chat/conversation-filter-input.js index <HASH>..<HASH> 100644 --- a/shared/chat/conversation-filter-input.js +++ b/shared/chat/conversation-filter-input.js @@ -155,11 +155,6 @@ class ConversationFilterInput extends React.PureComponent<Props, State> { ...
Don't try to show a loading line on the left side of the inbox on desktop (#<I>)
keybase_client
train
js
64bb5d4006966cf3f9af375667502df3b3cefa58
diff --git a/moco-runner/src/main/java/com/github/dreamhead/moco/parser/model/FileContainer.java b/moco-runner/src/main/java/com/github/dreamhead/moco/parser/model/FileContainer.java index <HASH>..<HASH> 100644 --- a/moco-runner/src/main/java/com/github/dreamhead/moco/parser/model/FileContainer.java +++ b/moco-runner/s...
ensure charset is assigned in file container
dreamhead_moco
train
java
d5e9484a7248a046cbacb6fd3ed7dfdf1d4263db
diff --git a/lib/feedback.js b/lib/feedback.js index <HASH>..<HASH> 100644 --- a/lib/feedback.js +++ b/lib/feedback.js @@ -260,7 +260,7 @@ Feedback.prototype.destroyConnection = function (err) { Feedback.prototype.resetConnection = function () { debug("Resetting connection"); - if (this.options.batchFeedback && th...
Fire the feedback event even if there is no feedback to let the consumer know that operation completed without feedback.
node-apn_node-apn
train
js
ad1d29656c39788d7b1da5687085360d21b2a176
diff --git a/samples/python_django/13.core-bot/bots/settings.py b/samples/python_django/13.core-bot/bots/settings.py index <HASH>..<HASH> 100644 --- a/samples/python_django/13.core-bot/bots/settings.py +++ b/samples/python_django/13.core-bot/bots/settings.py @@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(...
Change secret key so it's clearer that it needs to be changed (#<I>)
Microsoft_botbuilder-python
train
py
7056082b321c21fda2a5e5927fdf486f4843f81f
diff --git a/src/editors/string.js b/src/editors/string.js index <HASH>..<HASH> 100644 --- a/src/editors/string.js +++ b/src/editors/string.js @@ -16,9 +16,10 @@ JSONEditor.defaults.editors.string = JSONEditor.AbstractEditor.extend({ return; } - value = value || ''; - if(typeof value === "object...
Fix bug with the 0 not showing up in UI for integer fields. Fixes #<I>
jdorn_json-editor
train
js
080d2f5df6e68d29fadb2a7b30457c24e5b97b5f
diff --git a/styleguide/source/assets/js/modules/teaserListingGroup.js b/styleguide/source/assets/js/modules/teaserListingGroup.js index <HASH>..<HASH> 100644 --- a/styleguide/source/assets/js/modules/teaserListingGroup.js +++ b/styleguide/source/assets/js/modules/teaserListingGroup.js @@ -13,6 +13,11 @@ export default...
Update JS to hide toggle if # of items is less than totalShown.
massgov_mayflower
train
js
a76556f3eba001a141a75b0701d883fd0a896c97
diff --git a/plugins/providers/virtualbox/action/set_name.rb b/plugins/providers/virtualbox/action/set_name.rb index <HASH>..<HASH> 100644 --- a/plugins/providers/virtualbox/action/set_name.rb +++ b/plugins/providers/virtualbox/action/set_name.rb @@ -28,7 +28,7 @@ module VagrantPlugins @logger.info("Not se...
Fix missing translation error in set_name
hashicorp_vagrant
train
rb
f014c24d89f3d0589c42156fdde6b426e388709b
diff --git a/test/params.js b/test/params.js index <HASH>..<HASH> 100644 --- a/test/params.js +++ b/test/params.js @@ -53,7 +53,7 @@ ]); test.equal(result.StringParameter, "Test", "String parameter found"); - test.equal(result.BooleanParameter, True,...
Fixed stupid typo in test I should go to sleep
ArnaudBuchholz_gpf-js
train
js
dd33d16e36f9d61632ca196e7e08737ee4834411
diff --git a/lib/gem/release/context/git.rb b/lib/gem/release/context/git.rb index <HASH>..<HASH> 100644 --- a/lib/gem/release/context/git.rb +++ b/lib/gem/release/context/git.rb @@ -26,7 +26,7 @@ module Gem def user_login str = `git config --get github.user`.strip - str.empty? ? git_user...
call user_name method instead of git_user_name method which appears to be the gem creator's intent.
svenfuchs_gem-release
train
rb
e29ebbc199ecf1d2c9f5b7de9113f34e818ffe11
diff --git a/src/ajax.js b/src/ajax.js index <HASH>..<HASH> 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -190,13 +190,13 @@ jQuery.extend({ // 4) the catchall symbol "*" can be used // 5) execution will start with transport dataType and THEN continue down to "*" if needed prefilters: {}, - + // Transport...
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
jquery_jquery
train
js
870c1cd5bb81f1557291fa7553217e59f1c26f32
diff --git a/apptentive/src/com/apptentive/android/sdk/comm/ApptentiveClient.java b/apptentive/src/com/apptentive/android/sdk/comm/ApptentiveClient.java index <HASH>..<HASH> 100755 --- a/apptentive/src/com/apptentive/android/sdk/comm/ApptentiveClient.java +++ b/apptentive/src/com/apptentive/android/sdk/comm/ApptentiveC...
Move StringBuilder inside of null check so the method doesn't return an empty string when there is no error available.
apptentive_apptentive-android
train
java
530b541f680807828c3b2f9c88c41ce3f1b47672
diff --git a/isso/js/app/i18n/ru.js b/isso/js/app/i18n/ru.js index <HASH>..<HASH> 100644 --- a/isso/js/app/i18n/ru.js +++ b/isso/js/app/i18n/ru.js @@ -3,7 +3,7 @@ define({ "postbox-author": "Имя (необязательно)", "postbox-email": "Email (необязательно)", "postbox-website": "Сайт (необязательно)", - "p...
Correct translation for "preview" button
posativ_isso
train
js
95f203c1fa1252a4cf1c02befd7376050699fb1d
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index <HASH>..<HASH> 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -64,6 +64,6 @@ module ApplicationHelper end def i18n_api_scopes(api_key) - api_key.enabled_scopes.sum("") { |scope|...
Fix i<I>n_api_scopes to return ActiveSupport::SafeBuffer.new
rubygems_rubygems.org
train
rb,rb
45d6d44e443edc2d91cb6c85750c71f6b9d44a3e
diff --git a/packages/build-tools/create-webpack-config.js b/packages/build-tools/create-webpack-config.js index <HASH>..<HASH> 100644 --- a/packages/build-tools/create-webpack-config.js +++ b/packages/build-tools/create-webpack-config.js @@ -53,7 +53,7 @@ async function createWebpackConfig(buildConfig) { let themif...
test: re-testing travis build times when generating the full css vars fallback code
bolt-design-system_bolt
train
js
09f2670fdfb03d926001ab1e491921a850d0f7cb
diff --git a/lib/firebase.js b/lib/firebase.js index <HASH>..<HASH> 100644 --- a/lib/firebase.js +++ b/lib/firebase.js @@ -82,7 +82,13 @@ exports.deployRules = function(rules, options) { const method = 'PUT'; const body = typeof rules === 'string' ? rules : JSON.stringify({rules}, undefined, 2); - return...
chore: do not expose http request on http error HTTP error during firebase specs test would expose the full http request details, including the auth token. Instead a http error will reject with the HTTP status code and the response body.
goldibex_targaryen
train
js
dbaf3b10f1daa483a1db840c60ec95337c9a1f6e
diff --git a/src/Illuminate/Foundation/Testing/TestResponse.php b/src/Illuminate/Foundation/Testing/TestResponse.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Foundation/Testing/TestResponse.php +++ b/src/Illuminate/Foundation/Testing/TestResponse.php @@ -429,6 +429,32 @@ class TestResponse extends Response ...
add asssertion for session errors
laravel_framework
train
php
5d3ec865fe2f6c9f89e4915622fe3af394c56f10
diff --git a/src/require.js b/src/require.js index <HASH>..<HASH> 100644 --- a/src/require.js +++ b/src/require.js @@ -5,6 +5,7 @@ const _eval = require('./eval'); const requireLike = require('require-like'); const Resolver = require('./resolver'); const cache = require('./cache'); +const path = require('path'); ...
Add proper caching of json Json needed to wrapped in module style object.
Whitebolt_require-extra
train
js
a42dc55db7a0753a8f4ea4589aa6295f0b2762e1
diff --git a/ci/behat-tags.php b/ci/behat-tags.php index <HASH>..<HASH> 100644 --- a/ci/behat-tags.php +++ b/ci/behat-tags.php @@ -37,9 +37,6 @@ $skip_tags = array_merge( version_tags( 'less-than-php', PHP_VERSION, '>' ) ); -# Skip Github API tests by default because of rate limiting. See https://github.com/wp-cli...
Proxy Github API requests through `<URL>
wp-cli_export-command
train
php,php
7792decacfa10da58bde30cc2191f2819eaf8a46
diff --git a/core.js b/core.js index <HASH>..<HASH> 100644 --- a/core.js +++ b/core.js @@ -3677,7 +3677,7 @@ const _makeWindow = (options = {}, parent = null, top = null) => { return _parseDocumentAst(htmlAst, window[optionsSymbol], window, false); } }; - window.Buffer = Buffer; // XXX non-standard + /...
Remove window.Buffer exposure from toplevel to window context
exokitxr_exokit
train
js
b8d7cd9b75a6c71a0d12c016c59e93d16db6e39b
diff --git a/integration/ephemeral_disk_test.go b/integration/ephemeral_disk_test.go index <HASH>..<HASH> 100644 --- a/integration/ephemeral_disk_test.go +++ b/integration/ephemeral_disk_test.go @@ -162,9 +162,9 @@ var _ = Describe("EphemeralDisk", func() { partitionTable, err := testEnvironment.RunCommand("sudo ...
Relax disk size expectations in test [#<I>]
cloudfoundry_bosh-agent
train
go
1e67feca03b08bc2ac072336821a835eff8b719b
diff --git a/proso/release.py b/proso/release.py index <HASH>..<HASH> 100644 --- a/proso/release.py +++ b/proso/release.py @@ -1 +1 @@ -VERSION = '1.1.0-m2' +VERSION = '1.1.0-SNAPSHOT'
back to <I>-SNAPSHOT
adaptive-learning_proso-apps
train
py
99d00f88a8f27459beba825c15a16a14e4d2405e
diff --git a/lib/griddler/email.rb b/lib/griddler/email.rb index <HASH>..<HASH> 100644 --- a/lib/griddler/email.rb +++ b/lib/griddler/email.rb @@ -14,15 +14,10 @@ class Griddler::Email @subject = params[:subject] - if params[:charsets] - charsets = ActiveSupport::JSON.decode(params[:charsets]) - @...
Stylistic changes * Refactor body parsing into helper method * More whitespace
thoughtbot_griddler
train
rb
bde6fa8a368ef1613ab6681739cfaa5b2b69d32f
diff --git a/file/col.go b/file/col.go index <HASH>..<HASH> 100644 --- a/file/col.go +++ b/file/col.go @@ -15,7 +15,7 @@ const ( DOC_HEADER = 1 + 10 // byte(validity), uint64(document room) DOC_VALID = byte(1) DOC_INVALID = byte(0) - COL_FILE_REGION_SIZE = 1024 * 512 // 51...
change collection locking region size to <I> kb for better performance
HouzuoGuo_tiedot
train
go
66e3daee32dad87602808a34d72fead02d66fe04
diff --git a/lib/hmachine.rb b/lib/hmachine.rb index <HASH>..<HASH> 100644 --- a/lib/hmachine.rb +++ b/lib/hmachine.rb @@ -85,13 +85,9 @@ module HMachine # Parse the document, finding every instance of the desired element, and extract their contents def parse(document) if found_in?(document) - element_h...
Cleaning up the parse method to not overwrite values when a hash is returned
mwunsch_prism
train
rb
44e2d4461db99080934615c350571bafae48b747
diff --git a/plans/views.py b/plans/views.py index <HASH>..<HASH> 100644 --- a/plans/views.py +++ b/plans/views.py @@ -189,7 +189,10 @@ class CreateOrderView(LoginRequired, CreateView): country = get_country_code(self.request) else: country = country.code - tax_number = Billing...
fix taxation if BillingInfo.tax_number is None
django-getpaid_django-plans
train
py
5d3237f5da2fbc29445f0bd801bea2eb00464670
diff --git a/test/lib/cmd/test.test.js b/test/lib/cmd/test.test.js index <HASH>..<HASH> 100644 --- a/test/lib/cmd/test.test.js +++ b/test/lib/cmd/test.test.js @@ -161,7 +161,7 @@ describe('test/lib/cmd/test.test.js', () => { assert(stdout.match(/Error: this is an error/)); assert(stdout.match(/at ...
test: Node <I> has improved stack for promise (#<I>)
eggjs_egg-bin
train
js
771ff4c38497a72f5e739ceb19bcd7266292e16a
diff --git a/src/jquery.mobile-events.js b/src/jquery.mobile-events.js index <HASH>..<HASH> 100644 --- a/src/jquery.mobile-events.js +++ b/src/jquery.mobile-events.js @@ -144,7 +144,7 @@ var delta = now - lastTouch; window.clearTimeout(action); - if(delta < settings.doubletap_int && delta > 0 && (e.t...
Update src/jquery.mobile-events.js Fixed bug whereby "doubletap" was always triggered after the first doubletap.
benmajor_jQuery-Touch-Events
train
js
4e16d5c47735af5f9a8f8fd555cfc03a4801d10f
diff --git a/test/common.js b/test/common.js index <HASH>..<HASH> 100644 --- a/test/common.js +++ b/test/common.js @@ -30,6 +30,20 @@ common.get = function(req, path, payload, callback) { .end(common.wrapErrorHandler(callback)); } +common.getPng = function(req, path, payload, callback) { + var r = req + .get(res...
Added get image handler in common.js
FredrikNoren_ungit
train
js
94806044679ab28320cc32556ff6a6fa079e6248
diff --git a/ella/articles/models.py b/ella/articles/models.py index <HASH>..<HASH> 100644 --- a/ella/articles/models.py +++ b/ella/articles/models.py @@ -3,10 +3,11 @@ from django.utils.translation import ugettext_lazy as _ from ella.core.models import Publishable + class Article(Publishable): """ - ``Ar...
Fix pep8 on Articles models: E<I> too many blank lines
ella_ella
train
py
1acbdc318c11e95229b0ce9aa07ee473ffb4e4d7
diff --git a/lib/how_is/contributions.rb b/lib/how_is/contributions.rb index <HASH>..<HASH> 100644 --- a/lib/how_is/contributions.rb +++ b/lib/how_is/contributions.rb @@ -18,25 +18,24 @@ class Contributions @repo = repo end - # Returns a list of committers that have zero commits before the @date. + # Return...
Contributions: get commits by email
duckinator_inq
train
rb
9cc18af27514aa125ca03a58032dc1ee28ea7f4f
diff --git a/set.go b/set.go index <HASH>..<HASH> 100644 --- a/set.go +++ b/set.go @@ -78,19 +78,16 @@ func (s *Set) Size() int { return len(s.m) } -// Clear removes all items from the set +// Clear removes all items from the set. func (s *Set) Clear() { s.l.Lock() defer s.l.Unlock() s.m = make(map[interfac...
Change for a simple return and small cosmetic fixes.
fatih_set
train
go
9e11b6be1d4ed4408146fc78885b988f8c61dba8
diff --git a/Lib/fontmake/font_project.py b/Lib/fontmake/font_project.py index <HASH>..<HASH> 100644 --- a/Lib/fontmake/font_project.py +++ b/Lib/fontmake/font_project.py @@ -546,10 +546,10 @@ class FontProject(object): """Return path of font whose location is closest to target.""" dist = lambda a, ...
Fix "'dict_keys' object does not support indexing" in python 3 As reported by punchcutter: <URL>
googlefonts_fontmake
train
py
aad3e6e52260aca3fe80468c06e67d5cb3fe6d4f
diff --git a/xchange-stream-service-netty/src/main/java/info/bitrich/xchangestream/service/netty/NettyStreamingService.java b/xchange-stream-service-netty/src/main/java/info/bitrich/xchangestream/service/netty/NettyStreamingService.java index <HASH>..<HASH> 100644 --- a/xchange-stream-service-netty/src/main/java/info/b...
[Streaming] adding subscription to disconnects
knowm_XChange
train
java
97640c2a8b1cfd44e10b2bba005cf3ad96940d6f
diff --git a/src/LaratashServiceProvider.php b/src/LaratashServiceProvider.php index <HASH>..<HASH> 100755 --- a/src/LaratashServiceProvider.php +++ b/src/LaratashServiceProvider.php @@ -46,7 +46,13 @@ class LaratashServiceProvider extends ServiceProvider private function registerMustacheEngine() { ...
Added version check to switch between old and new classes
brightmachine_laratash
train
php
07e036d3a7456cb319d84d9d7f19cebf429e5b0a
diff --git a/jsontoxml.js b/jsontoxml.js index <HASH>..<HASH> 100644 --- a/jsontoxml.js +++ b/jsontoxml.js @@ -172,6 +172,7 @@ function esc(str){ return (''+str).replace(/&/g, '&amp;') .replace(/</g, '&lt;') .replace(/>/g, '&gt;') + .replace(/'/g, '&apos;) .replace(/"/g, '&quot;'); }
add single quote to the set of characters to escape
soldair_node-jsontoxml
train
js
187080cb2732a1b198556bcb216f31822ce0e508
diff --git a/lib/fluent/supervisor.rb b/lib/fluent/supervisor.rb index <HASH>..<HASH> 100644 --- a/lib/fluent/supervisor.rb +++ b/lib/fluent/supervisor.rb @@ -556,7 +556,7 @@ module Fluent end if dry_run - $log.info 'finsihed dry run mode' + $log.info 'finished dry run mode' exit ...
Log typo Thanks for the great project :)
fluent_fluentd
train
rb
dfbaac0401dd146194708e52043800ed9b573ac0
diff --git a/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php b/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php +++ b/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php @@ -32,7 +32,7 @@ class DefaultReposi...
#<I> - Fixed type-hint that is incompatible with most IDEs
doctrine_orm
train
php
33121b87fd1294f5e042e510bdf6e7ca215015d1
diff --git a/simulator/virtual_machine.go b/simulator/virtual_machine.go index <HASH>..<HASH> 100644 --- a/simulator/virtual_machine.go +++ b/simulator/virtual_machine.go @@ -1629,6 +1629,7 @@ func (vm *VirtualMachine) CloneVMTask(ctx *Context, req *types.CloneVM_Task) soa } if req.Spec.Config != nil { config...
vcsim: Honoring the instance uuid provided in spec by caller (#<I>)
vmware_govmomi
train
go
e72632427a905e1eb70693740c5885de89cedfbc
diff --git a/src/WebhookController.php b/src/WebhookController.php index <HASH>..<HASH> 100644 --- a/src/WebhookController.php +++ b/src/WebhookController.php @@ -44,7 +44,14 @@ class WebhookController extends Controller { // Check if the method exists if (method_exists($this, $method)) { - return $this->{$m...
tweak webhook controller payload to include the previous_attributes array data
cartalyst_stripe
train
php
98d6a63735df950128db2c8e2d714505618d2e63
diff --git a/src/Namshi/JOSE/JWS.php b/src/Namshi/JOSE/JWS.php index <HASH>..<HASH> 100755 --- a/src/Namshi/JOSE/JWS.php +++ b/src/Namshi/JOSE/JWS.php @@ -105,6 +105,7 @@ class JWS extends JWT $jws = new self($header['alg'], isset($header['typ']) ? $header['typ'] : null); ...
Explicitly set header in JWS::load When using the constructor, the header is ordered in its own order, not according to how the provided token may ahve be ordered. This then causes signature validation to fail because the header has been reordered from what the original token provided.
namshi_jose
train
php
9138fde6280f9786cc5aa8b7a113998e44a120d2
diff --git a/test/com/google/javascript/jscomp/VariableReferenceCheckTest.java b/test/com/google/javascript/jscomp/VariableReferenceCheckTest.java index <HASH>..<HASH> 100644 --- a/test/com/google/javascript/jscomp/VariableReferenceCheckTest.java +++ b/test/com/google/javascript/jscomp/VariableReferenceCheckTest.java @...
Add a test of an odd pattern that shows up in Angular. One of my upcoming CLs currently produces an error for this pattern, so having this test in place will make it easier to fix that CL. ------------- Created by MOE: <URL>
google_closure-compiler
train
java
499a19916ea39d6f670832450f1f04735efe2ce7
diff --git a/src/main/java/org/primefaces/component/api/UICalendar.java b/src/main/java/org/primefaces/component/api/UICalendar.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/primefaces/component/api/UICalendar.java +++ b/src/main/java/org/primefaces/component/api/UICalendar.java @@ -318,7 +318,7 @@ public ab...
Fix #<I>: Sonar suggestion (#<I>)
primefaces_primefaces
train
java
08130d888832bc3f00ce2ea0a4a385898031588c
diff --git a/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRLODGroup.java b/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRLODGroup.java index <HASH>..<HASH> 100644 --- a/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRLODGroup.java +++ b/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRLODGrou...
framework: fix lod calculation (#<I>)
Samsung_GearVRf
train
java
c6ecb6283896e59936e17d33b907e5a8466b1a5f
diff --git a/lib/instrumentation/index.js b/lib/instrumentation/index.js index <HASH>..<HASH> 100644 --- a/lib/instrumentation/index.js +++ b/lib/instrumentation/index.js @@ -79,21 +79,18 @@ Instrumentation.prototype.addPatch = function (name, handler) { return } - const ret = this._patches.add(name, handler...
fix: don't return anything from the module patch functions (#<I>)
elastic_apm-agent-nodejs
train
js
4cd9e326f0710f59f3665a6a2c75a85171095ef0
diff --git a/component-3-patt-F-marker.js b/component-3-patt-F-marker.js index <HASH>..<HASH> 100644 --- a/component-3-patt-F-marker.js +++ b/component-3-patt-F-marker.js @@ -24,13 +24,6 @@ _cs.marked = function (obj, name) { return (marker[name] === true); }; -/* marker trait: cross component */ -$cs.marker.c...
finally remove unused markers for 'cross' and 'generic'
rse_componentjs
train
js
e322b7cd5a355baaa2ec99765a1e5da808df4aa7
diff --git a/src/foundation/src/Providers/FoundationServiceProvider.php b/src/foundation/src/Providers/FoundationServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/foundation/src/Providers/FoundationServiceProvider.php +++ b/src/foundation/src/Providers/FoundationServiceProvider.php @@ -265,6 +265,16 @@ class Fo...
FIX: restored getting widgets routes
antaresproject_core
train
php
4f62a0d96fa10a5af399567e224716687ba3bb56
diff --git a/src/main/java/org/eclipse/mat/hprof/Pass2Parser.java b/src/main/java/org/eclipse/mat/hprof/Pass2Parser.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/eclipse/mat/hprof/Pass2Parser.java +++ b/src/main/java/org/eclipse/mat/hprof/Pass2Parser.java @@ -218,10 +218,10 @@ public class Pass2Parser extend...
WeakReference detection perfected!
square_haha
train
java
ff9458b7dbf5ccdb3ef34df70a18542d67c4bcce
diff --git a/schedules/index.js b/schedules/index.js index <HASH>..<HASH> 100644 --- a/schedules/index.js +++ b/schedules/index.js @@ -2,6 +2,9 @@ var CronJob = require('cron').CronJob; exports.startJobs = function(options) { + if (options.env && vulpejs.app.env !== options.env) { + return; + } if (options....
add support to schedule only in specific env
activethread_vulpejs
train
js
1d700dcf86c92144857ccd390cabd51feef4e087
diff --git a/src/Compiler.php b/src/Compiler.php index <HASH>..<HASH> 100644 --- a/src/Compiler.php +++ b/src/Compiler.php @@ -2938,16 +2938,16 @@ class Compiler */ public function get($name, $shouldThrow = true, Environment $env = null) { - $name = $this->normalizeName($name); + $normaliz...
fixes #<I> keep the un-normalized name for error reporting
leafo_scssphp
train
php
38be6b7564f2bd77a845d4cfb3b472c4a033b866
diff --git a/src/immutable/reducer.js b/src/immutable/reducer.js index <HASH>..<HASH> 100644 --- a/src/immutable/reducer.js +++ b/src/immutable/reducer.js @@ -1,6 +1,13 @@ // @flow import { List, Map, fromJS } from 'immutable'; +import { + LOCATION_CHANGED, + REPLACE_ROUTES, + DID_REPLACE_ROUTES, + isNavigation...
Add missing imports to immutable reducer
FormidableLabs_redux-little-router
train
js
bc0e89bab9cb85d284a72f9c51c0046a3d03a60f
diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/aptpkg.py +++ b/salt/modules/aptpkg.py @@ -1156,7 +1156,7 @@ def unhold(name=None, pkgs=None, sources=None, **kwargs): # pylint: disable=W06 salt '*' pkg.unhold <package name> pkgs - A...
Porting PR #<I> to <I>
saltstack_salt
train
py
88ca094eae45e629dbd0b062c82df0348c0b3226
diff --git a/tests/lib/screenshot-testing/support/page-renderer.js b/tests/lib/screenshot-testing/support/page-renderer.js index <HASH>..<HASH> 100644 --- a/tests/lib/screenshot-testing/support/page-renderer.js +++ b/tests/lib/screenshot-testing/support/page-renderer.js @@ -250,7 +250,11 @@ PageRenderer.prototype.captu...
Use jquery to get clip rect of screenshot to capture in screenshot tests instead of getBoundingClientRect.
matomo-org_matomo
train
js
200a8d9a0d69f342f7f1d292a4057c0c8adce71a
diff --git a/src/Number.php b/src/Number.php index <HASH>..<HASH> 100644 --- a/src/Number.php +++ b/src/Number.php @@ -223,7 +223,7 @@ trait Number private function zeroTest($value) { /* Special case. */ - return (($this->nullTest($value) === false) && ($this->math->comp($value, '0') === 0)); ...
Updated to check for array before comparing to 0
ionux_phactor
train
php
32162ccc7c510151fa2bf9bbfc1ff6329159dfa1
diff --git a/neo4jrestclient/client.py b/neo4jrestclient/client.py index <HASH>..<HASH> 100644 --- a/neo4jrestclient/client.py +++ b/neo4jrestclient/client.py @@ -1384,19 +1384,18 @@ class IndexesProxy(dict): "Error requesting indexes with GET %s" % ...
Fix #<I>. Support for creating spatial indexes
versae_neo4j-rest-client
train
py
320ba5397b34a40ff401ddb0d9abc35f92b861d4
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js +++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/editor....
Bug <I> - Can't permanently hide the zoom ruler (zoom ruler is off by default)
eclipse_orion.client
train
js
92138e4c3237da9991f3c48fe6d41055af754e2a
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/ImageBanner.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/ImageBanner.java index <HASH>..<HASH> 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/ImageBanner.java +++ b/s...
Polish "Mark thread as interrupted after catching InterruptedException" See gh-<I>
spring-projects_spring-boot
train
java
f929d68616145d3908ba87ddbd8ad093bc89064d
diff --git a/src/CoandaCMS/Coanda/Pages/PageTypeInterface.php b/src/CoandaCMS/Coanda/Pages/PageTypeInterface.php index <HASH>..<HASH> 100644 --- a/src/CoandaCMS/Coanda/Pages/PageTypeInterface.php +++ b/src/CoandaCMS/Coanda/Pages/PageTypeInterface.php @@ -10,6 +10,8 @@ interface PageTypeInterface { public functio...
Added an allowSubPages method to the page type interface, behaviour not implemented yet.
CoandaCMS_coanda-core
train
php
f103648f8ca180694ee564818db4ce37d5698666
diff --git a/src/Forms/FormField.php b/src/Forms/FormField.php index <HASH>..<HASH> 100644 --- a/src/Forms/FormField.php +++ b/src/Forms/FormField.php @@ -1326,13 +1326,14 @@ class FormField extends RequestHandler */ public function debug() { + $strValue = is_string($this->value) ? $this->value :...
value can be something else than a string if the value is not a string (an array for instance), sprintf will fail
silverstripe_silverstripe-framework
train
php
60f8be2ac61818ff6f5d660828b4aa99dcb75319
diff --git a/nosedjangotests/settings.py b/nosedjangotests/settings.py index <HASH>..<HASH> 100644 --- a/nosedjangotests/settings.py +++ b/nosedjangotests/settings.py @@ -1,3 +1,5 @@ +import django + DEBUG = True TEMPLATE_DEBUG = DEBUG @@ -56,6 +58,14 @@ INSTALLED_APPS = ( 'nosedjangotests.polls', ) +if dja...
refs #<I>: South all the things.
nosedjango_nosedjango
train
py
6923a532f569dcb4d8ffa949d8fa2092d74e851d
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -704,7 +704,7 @@ module ActiveReco...
"Neither relation may have a #limit, #offset, or #distinct set." is not true ff<I>b9e had removed that limitation for `or`. [ci skip]
rails_rails
train
rb
e3ab79a20c05217a1f84328aa2f419ab50df5d7a
diff --git a/src/Context/JsonRpcClientContext.php b/src/Context/JsonRpcClientContext.php index <HASH>..<HASH> 100644 --- a/src/Context/JsonRpcClientContext.php +++ b/src/Context/JsonRpcClientContext.php @@ -157,7 +157,32 @@ class JsonRpcClientContext implements JsonRpcClientAwareContext } /** + * Check ...
Add method for check response with scalar result
f1nder_BehatJsonRpcExtension
train
php
87eea7983d99977335dde961c65faa1822cea336
diff --git a/hep/model.py b/hep/model.py index <HASH>..<HASH> 100644 --- a/hep/model.py +++ b/hep/model.py @@ -22,8 +22,17 @@ """HEP model definition.""" +import types from dojson import Overdo -from dojson import utils + + +def custom_do(self, blob): + """Custom do function that allows extra post-processing."...
dojson: custom do function for hep records * Allows for record post-processing in order to modify the record after it has been generated by dojson.
inspirehep_inspire-dojson
train
py
f438874f2133247e8a2f4869b5df54b0168f0fa6
diff --git a/src/main/java/org/arp/javautil/datastore/BdbMap.java b/src/main/java/org/arp/javautil/datastore/BdbMap.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/arp/javautil/datastore/BdbMap.java +++ b/src/main/java/org/arp/javautil/datastore/BdbMap.java @@ -77,8 +77,7 @@ abstract class BdbMap<K, V> impleme...
removed unneeded temp variable in put()
eurekaclinical_javautil
train
java