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
4cfa1c3db52efc6ba0e32980bf8ee3d592dfacd8
diff --git a/modules/core/src/lib/layer.js b/modules/core/src/lib/layer.js index <HASH>..<HASH> 100644 --- a/modules/core/src/lib/layer.js +++ b/modules/core/src/lib/layer.js @@ -803,22 +803,7 @@ ${flags.viewportChanged ? 'viewport' : ''}\ // TODO - is attribute manager needed? - Model should be enough. const...
Remove dependency on model redraw flags (#<I>)
uber_deck.gl
train
js
c7834c1acc6d5faa4928c4792e32311f5907bc57
diff --git a/py17track/package.py b/py17track/package.py index <HASH>..<HASH> 100644 --- a/py17track/package.py +++ b/py17track/package.py @@ -251,7 +251,7 @@ PACKAGE_TYPE_MAP = { } -@attr.s(cmp=False) # pylint: disable=too-few-public-methods +@attr.s(frozen=True) # pylint: disable=too-few-public-methods class ...
Fix a bug in how Packages are hashed (#5)
bachya_py17track
train
py
3796eab0e0f0efd98b87d6910b89a8c176924552
diff --git a/polyaxon/experiments/signals.py b/polyaxon/experiments/signals.py index <HASH>..<HASH> 100644 --- a/polyaxon/experiments/signals.py +++ b/polyaxon/experiments/signals.py @@ -44,7 +44,7 @@ def add_experiment_pre_save(sender, **kwargs): not instance.specification or not instance.specificati...
Experiment post save signal should check if experiment has a code ref
polyaxon_polyaxon
train
py
d9bfe1c2fe607f1b9feaf214425a9ccf43a88045
diff --git a/builtin/providers/digitalocean/resource_digitalocean_droplet.go b/builtin/providers/digitalocean/resource_digitalocean_droplet.go index <HASH>..<HASH> 100644 --- a/builtin/providers/digitalocean/resource_digitalocean_droplet.go +++ b/builtin/providers/digitalocean/resource_digitalocean_droplet.go @@ -287,1...
providers/digitalocean: only save private ip address if private
hashicorp_terraform
train
go
afbf2ee348dd57f3bee1f0abea8ffd7d798fb1b5
diff --git a/findbugs/test/OpenDatabase.java b/findbugs/test/OpenDatabase.java index <HASH>..<HASH> 100644 --- a/findbugs/test/OpenDatabase.java +++ b/findbugs/test/OpenDatabase.java @@ -8,6 +8,42 @@ public class OpenDatabase { public void openStatement(Connection conn) throws SQLException { Statement statement = ...
Added a method that should not be reported git-svn-id: <URL>
spotbugs_spotbugs
train
java
490094faa1946696a67958bae8c7487fad56e816
diff --git a/src/ShopifyApp/Services/ShopSession.php b/src/ShopifyApp/Services/ShopSession.php index <HASH>..<HASH> 100644 --- a/src/ShopifyApp/Services/ShopSession.php +++ b/src/ShopifyApp/Services/ShopSession.php @@ -61,7 +61,7 @@ class ShopSession * * @return self */ - public function __construc...
Fix to satisify older php versions
ohmybrew_laravel-shopify
train
php
d8f7a21b19f58aee059d11c2f5a3a1b4fcc192ac
diff --git a/test/test_sparkline.py b/test/test_sparkline.py index <HASH>..<HASH> 100644 --- a/test/test_sparkline.py +++ b/test/test_sparkline.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- """ -Run from the root folder with either 'python setup.py test' or +Run from the root folder with either 'python setup.py test'...
Fix a likely typo in test. Whitespace.
deeplook_sparklines
train
py
8b33f014f04625aa465226c36e76b7991853b68b
diff --git a/pyglibc/_signalfd.py b/pyglibc/_signalfd.py index <HASH>..<HASH> 100644 --- a/pyglibc/_signalfd.py +++ b/pyglibc/_signalfd.py @@ -122,6 +122,7 @@ class signalfd(object): """ return self._sfd < 0 + @property def signals(self): """ Get the set of monitored signal...
Make signalfd.signals writable This patch makes the signalfd.signals property writable. This is just syntactic sugar for the existing signalgf.update()
zyga_python-glibc
train
py
30d5c208ac3b472910f99a15673585abc040bcd7
diff --git a/werkzeug/test.py b/werkzeug/test.py index <HASH>..<HASH> 100644 --- a/werkzeug/test.py +++ b/werkzeug/test.py @@ -322,7 +322,6 @@ class EnvironBuilder(object): warn(DeprecationWarning('it\'s no longer possible to pass dicts ' 'as `data`. Use tuples or File...
Remove assignment of undefined name to unused name.
pallets_werkzeug
train
py
265d3163546c9d86da5cfb622f6b0a9e25f2dcfd
diff --git a/tests/test_encoding.py b/tests/test_encoding.py index <HASH>..<HASH> 100644 --- a/tests/test_encoding.py +++ b/tests/test_encoding.py @@ -19,7 +19,7 @@ class TSourceEncoding(TestCase): """ def _check_encoding(self, path): - with open(path, "rb") as h: + with open(path, "r") as h: ...
tests: fix file encoding test under Python3
quodlibet_mutagen
train
py
e061f2dec41671e89766b2939fd404a0f5f59546
diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/ClusterSession.java b/aeron-cluster/src/main/java/io/aeron/cluster/ClusterSession.java index <HASH>..<HASH> 100644 --- a/aeron-cluster/src/main/java/io/aeron/cluster/ClusterSession.java +++ b/aeron-cluster/src/main/java/io/aeron/cluster/ClusterSession.java @@ -7...
[Java]: null out principleData in consensus module after being appended to log.
real-logic_aeron
train
java,java
1cdbd0bb4892d758386d624148b1ae81c6471102
diff --git a/megaman/embedding/base.py b/megaman/embedding/base.py index <HASH>..<HASH> 100644 --- a/megaman/embedding/base.py +++ b/megaman/embedding/base.py @@ -7,10 +7,14 @@ import numpy as np from scipy.sparse import isspmatrix from sklearn.base import BaseEstimator, TransformerMixin -from sklearn.utils.validat...
BUG: make embeddings work with older sklearn versions
mmp2_megaman
train
py
e43071f4f5d437deccf5ce8a443b4c30e18fb027
diff --git a/tarbell/app.py b/tarbell/app.py index <HASH>..<HASH> 100644 --- a/tarbell/app.py +++ b/tarbell/app.py @@ -236,8 +236,6 @@ class TarbellSite: return hooks def call_hook(self, hook, *args, **kwargs): - if len(self.hooks[hook]): - puts("Executing {0} hooks".format(hook)) ...
add preview hook and remove ultimately annoying hook execution print statement, closes #<I>
tarbell-project_tarbell
train
py,py
a49a53960702858db652fbc846d308ad1c72bd6d
diff --git a/tests/test_config_parser.py b/tests/test_config_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_config_parser.py +++ b/tests/test_config_parser.py @@ -817,7 +817,7 @@ class TestConfigParser(object): x = ${x.y} """ ) - assert config.get("x.y") == {'y': 1} + ...
test_self_ref_substitution_dict_path_hide: assertion is wrong
chimpler_pyhocon
train
py
ea4f8f9e49eb47893b0860f2a450bc8d8b7ca847
diff --git a/admin/roles/define.php b/admin/roles/define.php index <HASH>..<HASH> 100644 --- a/admin/roles/define.php +++ b/admin/roles/define.php @@ -201,7 +201,7 @@ if (optional_param('savechanges', false, PARAM_BOOL) && confirm_sesskey() && $de $event = \core\event\role_capabilities_updated::create( ar...
MDL-<I> Roles : Logs store newly created role's id
moodle_moodle
train
php
80fb3bdeba9d355596e29240d66930851654d55c
diff --git a/core-bundle/contao/elements/ContentText.php b/core-bundle/contao/elements/ContentText.php index <HASH>..<HASH> 100644 --- a/core-bundle/contao/elements/ContentText.php +++ b/core-bundle/contao/elements/ContentText.php @@ -52,6 +52,13 @@ class ContentText extends \ContentElement $this->text = \String::t...
[Core] Add the static files URL to images added in the rich text editor
contao_contao
train
php,php
7c730c6587dbd9708e23c66a6f9c4767cf6c9824
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ setuptools.setup( description="A pure Python chess library with move generation and validation, Polyglot opening book probing, PGN reading and writing, Syzygy tablebase probing and UCI engine communication....
Add Gaviota as keyword
niklasf_python-chess
train
py
304e300021a74b4d32d8ca8a28e058e172c2375e
diff --git a/lib/perpetuity/postgres/table_name.rb b/lib/perpetuity/postgres/table_name.rb index <HASH>..<HASH> 100644 --- a/lib/perpetuity/postgres/table_name.rb +++ b/lib/perpetuity/postgres/table_name.rb @@ -1,8 +1,10 @@ module Perpetuity class Postgres + InvalidTableName = Class.new(StandardError) class...
Don't allow double quotes in table names
jgaskins_perpetuity-postgres
train
rb,rb
ab703f88e89ffdcf3c9260c24d2a5df70a00a137
diff --git a/src/Suki/Ohara.php b/src/Suki/Ohara.php index <HASH>..<HASH> 100644 --- a/src/Suki/Ohara.php +++ b/src/Suki/Ohara.php @@ -16,6 +16,11 @@ class Ohara protected $_text = array(); protected static $_registry = array(); protected $_request = array(); + public $sourceDir; + public $scriptUrl; + public $se...
Remove $smcFunc, lots of dulpicate stuff
MissAllSunday_Ohara
train
php
5c9a3bc36c51526d55caf784347a1ce2f02e1283
diff --git a/lib/rubaidh/google_analytics.rb b/lib/rubaidh/google_analytics.rb index <HASH>..<HASH> 100644 --- a/lib/rubaidh/google_analytics.rb +++ b/lib/rubaidh/google_analytics.rb @@ -33,7 +33,7 @@ module Rubaidh # :nodoc: # I can't see why you'd want to do this, but you can always change the # analytics...
* Fix the SSL analytics URL. Thanks to Alex Wayne for pointing it out. git-svn-id: <URL>
rubaidh_google_analytics
train
rb
bd9e6629538d53e09a4067f1905078801cfea9e2
diff --git a/mod/lesson/backup/moodle2/restore_lesson_stepslib.php b/mod/lesson/backup/moodle2/restore_lesson_stepslib.php index <HASH>..<HASH> 100644 --- a/mod/lesson/backup/moodle2/restore_lesson_stepslib.php +++ b/mod/lesson/backup/moodle2/restore_lesson_stepslib.php @@ -181,6 +181,17 @@ class restore_lesson_activit...
MDL-<I> lesson restore - add missing jumpto remapping. Credit goes to Mike Churchward
moodle_moodle
train
php
c25605a9028b374aed1578e5be5e001cffac2c3e
diff --git a/ui/api/src/main/java/org/jboss/forge/addon/ui/util/Selections.java b/ui/api/src/main/java/org/jboss/forge/addon/ui/util/Selections.java index <HASH>..<HASH> 100644 --- a/ui/api/src/main/java/org/jboss/forge/addon/ui/util/Selections.java +++ b/ui/api/src/main/java/org/jboss/forge/addon/ui/util/Selections.ja...
Selections should check if empty before calling Function
forge_core
train
java
b436e79c09467098712dbc4da4d260317a13620e
diff --git a/ptpython/ipython.py b/ptpython/ipython.py index <HASH>..<HASH> 100644 --- a/ptpython/ipython.py +++ b/ptpython/ipython.py @@ -282,4 +282,21 @@ def embed(**kwargs): kwargs["config"] = config shell = InteractiveShellEmbed.instance(**kwargs) initialize_extensions(shell, config["InteractiveS...
Feature: read ipython config files
prompt-toolkit_ptpython
train
py
923291a5e9ed03a181439a964a5e6d4be5a951a8
diff --git a/src/VCard.php b/src/VCard.php index <HASH>..<HASH> 100644 --- a/src/VCard.php +++ b/src/VCard.php @@ -560,7 +560,7 @@ class VCard { $browser = strtolower($_SERVER['HTTP_USER_AGENT']); - $matches = []; + $matches = array(); preg_match('/os (\d+)_(\d+)\s+/', $browser, $...
Replaced shorthand array declaration to preserve PHP<I> compatibility.
jeroendesloovere_vcard
train
php
bc7af35c32210f2d19fee9a37b8ad76aec68e839
diff --git a/nodeconductor/iaas/views.py b/nodeconductor/iaas/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/views.py +++ b/nodeconductor/iaas/views.py @@ -474,9 +474,9 @@ class InstanceViewSet(mixins.CreateModelMixin, if not instance.backend_id: raise Http404() - yesterday...
Rename variable (NC-<I>)
opennode_waldur-core
train
py
fac32fbf03a6a6d9f9fdc4fda477a950dea7c065
diff --git a/py/testdir_multi_jvm/test_putfile.py b/py/testdir_multi_jvm/test_putfile.py index <HASH>..<HASH> 100644 --- a/py/testdir_multi_jvm/test_putfile.py +++ b/py/testdir_multi_jvm/test_putfile.py @@ -42,7 +42,8 @@ class Basic(unittest.TestCase): resultSize = node.inspect(key)['value_size_bytes'] ...
got rid of the get_key tests
h2oai_h2o-2
train
py
73fb6349c98742bb404bd7ad97184d19f32a8366
diff --git a/activerecord/lib/active_record/validations/uniqueness.rb b/activerecord/lib/active_record/validations/uniqueness.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/validations/uniqueness.rb +++ b/activerecord/lib/active_record/validations/uniqueness.rb @@ -36,7 +36,10 @@ module ActiveRecor...
Avoid unnecessary hashes with error options
rails_rails
train
rb
578a0cdd896bc09ea1d2154277f13086c59297bc
diff --git a/jupytext/cell_metadata.py b/jupytext/cell_metadata.py index <HASH>..<HASH> 100644 --- a/jupytext/cell_metadata.py +++ b/jupytext/cell_metadata.py @@ -33,7 +33,7 @@ _IGNORE_CELL_METADATA = '-' + ','.join([ # Pre-jupytext metadata 'skipline', 'noskipline', # Jupytext metadata - 'lines_to_ne...
cell_marker is another jupytext cell metadata
mwouts_jupytext
train
py
021e535a7b2feabcc86e2586a24b1e45af866f06
diff --git a/karma.conf.js b/karma.conf.js index <HASH>..<HASH> 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -45,7 +45,8 @@ module.exports = function(config) { }, preprocessors: { - 'lib/*/*.js': 'coverage' + // Don't compute coverage over lib/debug/ + 'lib/!(debug)/*.js': 'coverage', ...
Do not compute coverage over debug code Code coverage stats for debug code does not matter and skews the report. Change-Id: Id<I>a<I>c<I>e8b<I>f6e<I>e<I>bcad<I>
google_shaka-player
train
js
9ddadb7a1d59d0cc8c4d0d0ff24d9e396cad6f75
diff --git a/src/Api.php b/src/Api.php index <HASH>..<HASH> 100644 --- a/src/Api.php +++ b/src/Api.php @@ -100,7 +100,7 @@ class Api throw new \RuntimeException('Failed to read file: ' . $filename); } - return $content; + return trim($content); } /**
Prevent new lines messing up tokens
platformsh_platformsh-cli
train
php
837fd41c42be8601af15e331088355e165a8e922
diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go index <HASH>..<HASH> 100644 --- a/pkg/features/kube_features.go +++ b/pkg/features/kube_features.go @@ -460,6 +460,7 @@ const ( // owner: @adisky // alpha: v1.14 + // beta: v1.18 // // Enables the OpenStack Cinder in-tree driver to Ope...
Flip CSIMigrationOpenStack flag to be beta and off by default
kubernetes_kubernetes
train
go
108b9fe2fac346aedc3af690d70083ad7b6125fc
diff --git a/src/Presenters/BackgroundTaskViewBridge.js b/src/Presenters/BackgroundTaskViewBridge.js index <HASH>..<HASH> 100644 --- a/src/Presenters/BackgroundTaskViewBridge.js +++ b/src/Presenters/BackgroundTaskViewBridge.js @@ -4,10 +4,10 @@ var bridge = function (presenterPath) { this.pollRate = 1000; ...
Renamed HtmlViewBridge to ViewBridge
RhubarbPHP_Scaffold.BackgroundTasks
train
js
e6069769151b91c91a107bd4d79ca3a941658518
diff --git a/cmd/helm/install.go b/cmd/helm/install.go index <HASH>..<HASH> 100644 --- a/cmd/helm/install.go +++ b/cmd/helm/install.go @@ -60,6 +60,7 @@ or $ helm install --set-string long_int=1234567890 myredis ./redis or + $ helm install --set-file my_script=dothings.sh myredis ./redis You can specify...
Add new line to fix code formatting in doc
helm_helm
train
go
d001c11ed879b3e5451c324a2e96ac9f864d4525
diff --git a/lib/jasmine-node/index.js b/lib/jasmine-node/index.js index <HASH>..<HASH> 100755 --- a/lib/jasmine-node/index.js +++ b/lib/jasmine-node/index.js @@ -9,12 +9,15 @@ try { var path = require('path'); var filename = __dirname + '/jasmine-2.0.0.rc1.js'; -global.window = { - setTimeout: setTimeout, - clea...
Allow custom window objects to be used. This allows using jasmine-node to do better testing against code that requires a DOM, such as can be provided by jsdom. Without this change, jasmine-node will always override any window object you set up prior to loading it.
mhevery_jasmine-node
train
js
318b5cfeb9ae30b2d0d6cffaf5761104ea3b97ab
diff --git a/lib/engine-addon.js b/lib/engine-addon.js index <HASH>..<HASH> 100644 --- a/lib/engine-addon.js +++ b/lib/engine-addon.js @@ -332,7 +332,7 @@ module.exports = { var host = findHostsHost.call(this); if (!host) { - return []; + return {}; } var hostIsEngine = !!h...
[BUGFIX release]: ancestorHostAddons return value Without this, you cannot build engines with who's names are built-in array methods such as "filter".
ember-engines_ember-engines
train
js
14f270f0964b2e3ba8924ca9c58416655be34405
diff --git a/dronekit/__init__.py b/dronekit/__init__.py index <HASH>..<HASH> 100644 --- a/dronekit/__init__.py +++ b/dronekit/__init__.py @@ -1161,7 +1161,8 @@ class Vehicle(HasObservers): self._armed = (m.base_mode & mavutil.mavlink.MAV_MODE_FLAG_SAFETY_ARMED) != 0 self.notify_attribute_list...
Validate existence of custom_mode before setting
dronekit_dronekit-python
train
py
8175f6eefb9c55a8906fc8bce2dd3b7c03de3e59
diff --git a/test/test_verbose_formatter.rb b/test/test_verbose_formatter.rb index <HASH>..<HASH> 100644 --- a/test/test_verbose_formatter.rb +++ b/test/test_verbose_formatter.rb @@ -12,11 +12,10 @@ class VerboseFormatterTest < Test::Unit::TestCase def test_message @error = assert_raise(NoMethodError){ 1.zeor? ...
Relax test requirements for DYM's verbose formatter
yuki24_did_you_mean
train
rb
99e2f3f12586294ef0be677b2f7bb78b82c0a9ae
diff --git a/src/views/transfer/index.php b/src/views/transfer/index.php index <HASH>..<HASH> 100644 --- a/src/views/transfer/index.php +++ b/src/views/transfer/index.php @@ -19,8 +19,8 @@ $this->registerCss(' } '); $this->registerJs(<<<JS - jQuery('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { - ...
Do not clean transfer form on tabs switching
hiqdev_hipanel-module-domain
train
php
42352557f9f5cf8af3db430f88bb335132a6ea9e
diff --git a/lib/services/local/users.go b/lib/services/local/users.go index <HASH>..<HASH> 100644 --- a/lib/services/local/users.go +++ b/lib/services/local/users.go @@ -455,10 +455,10 @@ func (s *IdentityService) GetU2fRegisterChallenge(token string) (u2fChallenge u2 // u2f.Registration cannot be json marshalled d...
fix struct field tags causing test failure
gravitational_teleport
train
go
aad3b651834d79ccd7fdc4e7a9437220da6e9503
diff --git a/src/lib/widget/default.js b/src/lib/widget/default.js index <HASH>..<HASH> 100644 --- a/src/lib/widget/default.js +++ b/src/lib/widget/default.js @@ -136,7 +136,7 @@ define(['../util', '../assets', '../i18n'], function(util, assets, i18n) { } }; elements.connectForm.userAddress.addEv...
also hide bubble on body click, when in 'typing' state
remotestorage_remotestorage.js
train
js
9fb9efe10e2b61156943b306bafba0a70beb5485
diff --git a/packages/eslint-config-cozy-app/index.js b/packages/eslint-config-cozy-app/index.js index <HASH>..<HASH> 100644 --- a/packages/eslint-config-cozy-app/index.js +++ b/packages/eslint-config-cozy-app/index.js @@ -20,6 +20,7 @@ module.exports = { 'prettier/prettier': ['error', { singleQuote: true, ...
chore: disable proptypes checking in eslint config :wrench:
CPatchane_create-cozy-app
train
js
49e2fbe5917c359f48b5e50062df01fb5554daf8
diff --git a/terminal/runereader.go b/terminal/runereader.go index <HASH>..<HASH> 100644 --- a/terminal/runereader.go +++ b/terminal/runereader.go @@ -41,14 +41,18 @@ func (rr *RuneReader) ReadLine(mask rune) ([]rune, error) { // we get the terminal width and height (if resized after this point the property might b...
Fix #<I> by not using ANSI DSR on every key press (#<I>) Instead of using the ANSI DSR escape code on every key press, only do it once at the beginning of reading input, and keep track of cursor location ourselves.
AlecAivazis_survey
train
go
c616b5da69f6314a7b651405a5bcf633cf1010bc
diff --git a/Input/InputDefinition.php b/Input/InputDefinition.php index <HASH>..<HASH> 100644 --- a/Input/InputDefinition.php +++ b/Input/InputDefinition.php @@ -21,17 +21,20 @@ class InputDefinition extends ConsoleInputDefinition public function getSynopsis() { $elements = array(); + $flags ...
Display flags at the end of synopsis
in2pire_in2pire-cli
train
php
6b55fe1a87852bd440b32b53b1abf683aacd17db
diff --git a/packages/jollof-data-arangodb/jollofDataArangoDB.js b/packages/jollof-data-arangodb/jollofDataArangoDB.js index <HASH>..<HASH> 100644 --- a/packages/jollof-data-arangodb/jollofDataArangoDB.js +++ b/packages/jollof-data-arangodb/jollofDataArangoDB.js @@ -63,8 +63,10 @@ class JollofDataArangoDB { ...
- added this.arangojs to arango dapter
iyobo_jollofjs
train
js
ad7cd5af82de99b018a335604614d8df7cac6da5
diff --git a/modules/orionode/server.js b/modules/orionode/server.js index <HASH>..<HASH> 100644 --- a/modules/orionode/server.js +++ b/modules/orionode/server.js @@ -31,8 +31,9 @@ function auth(pwd) { // Get the arguments, the workspace directory, and the password file (if configured), then launch the server var arg...
Bug <I> - server.js entry point should accept alternative path to conf file Change-Id: Ic6d3b0ecdd3a9f<I>fdbef<I>fb<I>d6b2fefd
eclipse_orion.client
train
js
e7d36ff9134065e2d9498d3875b1f1c7d2436cb4
diff --git a/src/main/java/org/gwtbootstrap3/extras/datetimepicker/client/ui/base/DateTimePickerBase.java b/src/main/java/org/gwtbootstrap3/extras/datetimepicker/client/ui/base/DateTimePickerBase.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/gwtbootstrap3/extras/datetimepicker/client/ui/base/DateTimePickerBa...
Changed default format to use <I> hour format The default format was using <I> hour format, while showMeredian is default of. This was confusing.
gwtbootstrap3_gwtbootstrap3-extras
train
java
542bdd6bb1ad4d5b51d0b75a1cce341f6b5bab52
diff --git a/unittest/Si_test.py b/unittest/Si_test.py index <HASH>..<HASH> 100755 --- a/unittest/Si_test.py +++ b/unittest/Si_test.py @@ -28,11 +28,11 @@ class TestDynaphopy(unittest.TestCase): def test_force_constants_self_consistency(self): trajectory = io.generate_test_trajectory(self.structure, super...
update silicon tests to increase trajectory length for MEM
abelcarreras_DynaPhoPy
train
py
7822c3d092c1aafddef7e385947ff26bd5888c3f
diff --git a/test/sql_test.rb b/test/sql_test.rb index <HASH>..<HASH> 100644 --- a/test/sql_test.rb +++ b/test/sql_test.rb @@ -139,11 +139,11 @@ class TestSql < Minitest::Test # https://gist.github.com/jprante/7099463 def test_where_range_array store [ - {name: "Product A", user_ids: [11, 23, 13, 16, 17...
Fixed issues with tests for <I>
ankane_searchkick
train
rb
15caf72b9f111639127409214df8456fbbb17a2a
diff --git a/src/Api/Abstract.js b/src/Api/Abstract.js index <HASH>..<HASH> 100644 --- a/src/Api/Abstract.js +++ b/src/Api/Abstract.js @@ -309,7 +309,7 @@ class ApiAbstract extends Abstract { }) .then(() => { timer.stop(); - var updated = _.defaultsDeep(validDat...
chg: Api/Abstract clone object before merging with original doc
alekzonder_maf
train
js
60b4b987b9b0ecfbe1ffada83a241d1e53e8d8ae
diff --git a/code/javascript/core/scripts/selenium-browserbot.js b/code/javascript/core/scripts/selenium-browserbot.js index <HASH>..<HASH> 100644 --- a/code/javascript/core/scripts/selenium-browserbot.js +++ b/code/javascript/core/scripts/selenium-browserbot.js @@ -180,17 +180,24 @@ BrowserBot.prototype._windowClosed ...
temporarily commented out LOG calls in _modifyWindow which lead to an infinite loop when run from s-rc r<I>
SeleniumHQ_selenium
train
js
ad1591af1ee03d35780550b6f3588e740f9089e9
diff --git a/src/client/transport/socketio.js b/src/client/transport/socketio.js index <HASH>..<HASH> 100644 --- a/src/client/transport/socketio.js +++ b/src/client/transport/socketio.js @@ -100,8 +100,8 @@ export class SocketIO { this.socket.on('sync', (gameID, state, log, gameMetadata) => { if (gameID == ...
call gameMetadataCallback() before dispatching (#<I>)
nicolodavis_boardgame.io
train
js
c72f7b745c3b2266b796f7e92c772a47fdf6919e
diff --git a/lib/task.js b/lib/task.js index <HASH>..<HASH> 100644 --- a/lib/task.js +++ b/lib/task.js @@ -270,7 +270,7 @@ function factory( } else if (item.tag === '_v') { depth = _.isNumber(depth) ? depth : 0; var type = _.get(context, item.n); - if(typeof...
Fixing hound to pass the tests
RackHD_on-tasks
train
js
303077fdb5cf03881d240c7c090f2d3f9b7a1ccd
diff --git a/version.php b/version.php index <HASH>..<HASH> 100644 --- a/version.php +++ b/version.php @@ -5,7 +5,7 @@ // database to determine whether upgrades should // be performed (see lib/db/*.php) -$version = 2002111401; // The current version is a date (YYYYMMDDXX) +$version = 2002111700; // The current ...
Updated version for those using CVS etc
moodle_moodle
train
php
6fe5b159b33a443a7b414e6bb9cd129898ab39f4
diff --git a/tests/test_61_makemeta.py b/tests/test_61_makemeta.py index <HASH>..<HASH> 100644 --- a/tests/test_61_makemeta.py +++ b/tests/test_61_makemeta.py @@ -265,3 +265,11 @@ def test_do_idp_sso_descriptor(): assert isinstance(res[1], mdui.UIInfo) elif isinstance(res[1], shibmd.Scope): asser...
Added some more subtest of different methods
IdentityPython_pysaml2
train
py
fd8136fa755a3c59e459e1168014f2bf2fca721a
diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_utils.py +++ b/src/transformers/modeling_utils.py @@ -1049,7 +1049,8 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin, PushToHubMix # Handle th...
improve rewrite state_dict missing _metadata (#<I>)
huggingface_pytorch-pretrained-BERT
train
py
0ecaad98cd761c9d2a2c0f3e547fdc3c171973c2
diff --git a/modules/Cockpit/Helper/Revisions.php b/modules/Cockpit/Helper/Revisions.php index <HASH>..<HASH> 100644 --- a/modules/Cockpit/Helper/Revisions.php +++ b/modules/Cockpit/Helper/Revisions.php @@ -15,7 +15,7 @@ class Revisions extends \Lime\Helper { return $this->storage->count("cockpit/revisions", [...
changed 'list' method in Revisions to avoid error in PHP >=<I>
agentejo_cockpit
train
php,php
9e79d34215737bb85a7150fd2339aebb1bed700d
diff --git a/packages/sw-precaching/src/lib/revisioned-cache-manager.js b/packages/sw-precaching/src/lib/revisioned-cache-manager.js index <HASH>..<HASH> 100644 --- a/packages/sw-precaching/src/lib/revisioned-cache-manager.js +++ b/packages/sw-precaching/src/lib/revisioned-cache-manager.js @@ -256,6 +256,7 @@ class Rev...
Explicitly set `redirect: follow` when precaching (#<I>)
GoogleChrome_workbox
train
js
a66e4f9e10c6ac9cea4dc1597cb44d01089b279a
diff --git a/services/github/github-forks.service.js b/services/github/github-forks.service.js index <HASH>..<HASH> 100644 --- a/services/github/github-forks.service.js +++ b/services/github/github-forks.service.js @@ -10,9 +10,7 @@ const { documentation, transformErrors } = require('./github-helpers') const schema = ...
change query for fork count (#<I>)
badges_shields
train
js
4a59efc2aadf50e91d5205f0a9d910564fc98ec7
diff --git a/lib/rdl/boot_rails.rb b/lib/rdl/boot_rails.rb index <HASH>..<HASH> 100644 --- a/lib/rdl/boot_rails.rb +++ b/lib/rdl/boot_rails.rb @@ -2,9 +2,14 @@ if Rails.env.development? || Rails.env.test? require 'rdl/boot' require 'types/core' - dir = Rails::VERSION::STRING.split('.')[0] + ".x" - require_rel...
Rescue LoadError in boot_rails.rb
plum-umd_rdl
train
rb
86ed32e765c826a208d421e023c8453c116457c7
diff --git a/lib/redlander/statement.rb b/lib/redlander/statement.rb index <HASH>..<HASH> 100644 --- a/lib/redlander/statement.rb +++ b/lib/redlander/statement.rb @@ -121,9 +121,9 @@ module Redlander when NilClass nil when Node - source.rdf_node + Redland.librdf_new_node_from_node(s...
copy librdf_node pointer on statement construction librdf_new_node_from_node will increase the reference count for the librdf_node to match the corresponding free of both librdf_node(s) and librdf_statement term(s). Incrementing and decrementing the reference count allows the raptor_term to be free'd only when nothin...
cordawyn_redlander
train
rb,rb
d431ea6dbabf99c22793be66e4123fda2c931046
diff --git a/lib/Predis/Protocol/Text/ComposableProtocolProcessor.php b/lib/Predis/Protocol/Text/ComposableProtocolProcessor.php index <HASH>..<HASH> 100644 --- a/lib/Predis/Protocol/Text/ComposableProtocolProcessor.php +++ b/lib/Predis/Protocol/Text/ComposableProtocolProcessor.php @@ -26,8 +26,8 @@ use Predis\Protocol...
Change visibility of some members. There's no actual need for these ones to be private.
imcj_predis
train
php,php
4b3adee5824b287e0490832bbec4fc544c8d5798
diff --git a/lib/query_string_search/matchers/match_attribute_value.rb b/lib/query_string_search/matchers/match_attribute_value.rb index <HASH>..<HASH> 100644 --- a/lib/query_string_search/matchers/match_attribute_value.rb +++ b/lib/query_string_search/matchers/match_attribute_value.rb @@ -1,7 +1,7 @@ class MatchAttri...
Convert MatchAttributeValue to use the operator
umn-asr_query_string_search
train
rb
d705b7bef4102c370fc6450413f7a18c3cd99afb
diff --git a/metpy/io/nexrad.py b/metpy/io/nexrad.py index <HASH>..<HASH> 100644 --- a/metpy/io/nexrad.py +++ b/metpy/io/nexrad.py @@ -380,7 +380,7 @@ class Level2File(object): #TODO: need to parse VCP descriptions in this data msg_fmt = NamedStruct(fields, '>', 'Msg18Fmt') - self...
Use unpack() rather than unpack_from(). We should be using all the data in the unpack, and using unpack() will check this.
Unidata_MetPy
train
py
826047fdc5f6c1af4d90122f54cecd042ce65f4d
diff --git a/listing-bundle/src/Resources/contao/config/autoload.php b/listing-bundle/src/Resources/contao/config/autoload.php index <HASH>..<HASH> 100644 --- a/listing-bundle/src/Resources/contao/config/autoload.php +++ b/listing-bundle/src/Resources/contao/config/autoload.php @@ -29,11 +29,21 @@ /** - * Register...
[Listing] Added a "merge extensions" script to convert Contao 2 extensions
contao_contao
train
php
36b1798807a0c80105899bd4bab06434865b9ad3
diff --git a/lib/Associations/Many.js b/lib/Associations/Many.js index <HASH>..<HASH> 100644 --- a/lib/Associations/Many.js +++ b/lib/Associations/Many.js @@ -125,6 +125,9 @@ function extendInstance(Model, Instance, Driver, association, opts, cb) { options.__merge.where[1][association.mergeId] = Instance[Model.id];...
Adds ability to pass an Array to hasMany.hasAccessor and also not passing any instance to hasAccessor and have it check for any associated item Example: ```js Person.hasPets([ ..., ... ], cb); // now it's possible Person.hasPets(cb); // check if there any associations at all ```
dresende_node-orm2
train
js
d9536961cc9f5868dd4c0a693ea73837efbf31b7
diff --git a/tools/vis2.py b/tools/vis2.py index <HASH>..<HASH> 100755 --- a/tools/vis2.py +++ b/tools/vis2.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/local/bin/python2.7 # This is a visualizer which pulls TPC-C benchmark results from the MySQL # databases and visualizes them. Four graphs will be generated, ...
ENG-<I>: Check current version of vis2.py into git/github (#<I>) Rectify the divergence of the checked in version of vis2.py and the version actually used by the performance-graphs Jenkins job (<URL>), i.e., on the 'ci' (.voltdb.lan) machine: /mnt/jenkins/jobs/performance-graphs/workspace/tools/vis2.py
VoltDB_voltdb
train
py
893827dd6357a83f6b67ccf604ef6076024a9e3e
diff --git a/src/core/jvm/insn/TableSwitchInstruction.js b/src/core/jvm/insn/TableSwitchInstruction.js index <HASH>..<HASH> 100644 --- a/src/core/jvm/insn/TableSwitchInstruction.js +++ b/src/core/jvm/insn/TableSwitchInstruction.js @@ -22,7 +22,7 @@ export default class TableSwitchInstruction extends PaddedInstruction {...
fix bug in TableSwitchInstruction wasn't properly referencing it's properties using `this`
kylestev_jvm.js
train
js
24eca428a62a30697664c7f194f2a2e3c7e801ed
diff --git a/system/src/Grav/Common/GPM/Response.php b/system/src/Grav/Common/GPM/Response.php index <HASH>..<HASH> 100644 --- a/system/src/Grav/Common/GPM/Response.php +++ b/system/src/Grav/Common/GPM/Response.php @@ -220,11 +220,12 @@ class Response if ($bytes_transferred > 0) { if ($notificat...
Force response % to be 0 - <I> only
getgrav_grav
train
php
0dfb1fea3c8c6cabc88519164939894a690b546e
diff --git a/dreamssh/config.py b/dreamssh/config.py index <HASH>..<HASH> 100644 --- a/dreamssh/config.py +++ b/dreamssh/config.py @@ -54,7 +54,6 @@ class Configurator(object): def __init__(self, main=None, ssh=None): self.main = main self.ssh = ssh - self.updateConfig() def buildDe...
Needed to move the call of updateConfig(). Subclasses need to be able to govern when updateConfig actually gets called, so it got moved out of the constructor.
oubiwann_carapace
train
py
3ce125c55056cec24d9df6ce428a0cb1597231a3
diff --git a/src/idle/idle.js b/src/idle/idle.js index <HASH>..<HASH> 100644 --- a/src/idle/idle.js +++ b/src/idle/idle.js @@ -195,8 +195,20 @@ angular.module('ngIdle.idle', ['ngIdle.keepalive', 'ngIdle.localStorage']) } }; - $document.find('body').on(options.interrupt, function() { - ...
webkit-fake-mousemove-fix Added a workaround for ignoring the fake mousemove events fired by Webkit browsers
HackedByChinese_ng-idle
train
js
11c910ec8c260bf3d71a969e9844da7c210d2d24
diff --git a/core/server/models/post.js b/core/server/models/post.js index <HASH>..<HASH> 100644 --- a/core/server/models/post.js +++ b/core/server/models/post.js @@ -343,14 +343,21 @@ Post = ghostBookshelf.Model.extend({ } if (this.hasChanged('html') || !this.get('plaintext')) { - this.s...
Avoided to store empty plaintext if html does not contain any text no issue
TryGhost_Ghost
train
js
39dd46149acaf26cfb5e888638414aaf6520258c
diff --git a/aredis/connection.py b/aredis/connection.py index <HASH>..<HASH> 100644 --- a/aredis/connection.py +++ b/aredis/connection.py @@ -220,6 +220,12 @@ class BaseConnection: def __repr__(self): return self.description.format(**self._description_args) + def __del__(self): + try: + ...
OPT: add __del__ to BaseConnection
NoneGG_aredis
train
py
88378aa1e5c8b80b9e5df81413a3112d5a2f250f
diff --git a/lib/jets/stack/main/extensions/lambda.rb b/lib/jets/stack/main/extensions/lambda.rb index <HASH>..<HASH> 100644 --- a/lib/jets/stack/main/extensions/lambda.rb +++ b/lib/jets/stack/main/extensions/lambda.rb @@ -38,7 +38,7 @@ module Jets::Stack::Main::Dsl } function_name = "#{Jets.config.proj...
fix s3 event function for long bucket names
tongueroo_jets
train
rb
79c788c0df1f7e3755187334fb08ddc73f9d4747
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ function matchTerm(pattern) { type = ARR; } - if (type) return {type: type, name: possible.substring(6)}; + if (type) return {type: type, name: possible.slice(6)}; } /**
chore: replace substring with slice (faster on v8)
dumberjs_ast-matcher
train
js
215bdf12f61b4e5ebc5e2b745a84f7c665491f90
diff --git a/doc/test_messages_documentation.py b/doc/test_messages_documentation.py index <HASH>..<HASH> 100644 --- a/doc/test_messages_documentation.py +++ b/doc/test_messages_documentation.py @@ -2,7 +2,7 @@ # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE # Copyright (c) https://github.com/PyCQA/p...
Add an assertion to check that the documentation structure is correct (#<I>)
PyCQA_pylint
train
py
2ddb2208c4276d2d895c05a631e3f2f1ed72e874
diff --git a/pyphi/config.py b/pyphi/config.py index <HASH>..<HASH> 100644 --- a/pyphi/config.py +++ b/pyphi/config.py @@ -62,7 +62,7 @@ These settings control the algorithms PyPhi uses. ``pyphi.distance.measures.register`` decorator; see :mod:`~pyphi.distance` for examples. A full list of currently installed mea...
Docs: Fix to use `|big_phi|` RST substitution
wmayner_pyphi
train
py
29f84846ebff0d5c5ea57bff1b44fcef570f3247
diff --git a/slug.go b/slug.go index <HASH>..<HASH> 100644 --- a/slug.go +++ b/slug.go @@ -9,6 +9,8 @@ import ( "regexp" "strings" + "bytes" + "github.com/rainycape/unidecode" ) @@ -89,15 +91,16 @@ func Substitute(s string, sub map[string]string) (buf string) { // SubstituteRune substitutes string chars w...
Use a buffer instead of naive concatenation in SubstituteRune
gosimple_slug
train
go
37a2637b02e1f7a325224e4f9b8d7cb343771833
diff --git a/src/SocialiteWasCalled.php b/src/SocialiteWasCalled.php index <HASH>..<HASH> 100644 --- a/src/SocialiteWasCalled.php +++ b/src/SocialiteWasCalled.php @@ -3,4 +3,19 @@ namespace AndyWendt\Socialite\Extender; class SocialiteWasCalled { + /** + * @param string $providerName 'meetup' + * @param ...
Added ability to extend socialite through event object
SocialiteProviders_Manager
train
php
a76e385be7f6cdfdf2ad9c5dca1954683eb95891
diff --git a/src/Module.php b/src/Module.php index <HASH>..<HASH> 100644 --- a/src/Module.php +++ b/src/Module.php @@ -36,6 +36,6 @@ class Module implements ConsoleUsageProviderInterface */ public function getConfig() { - return ModuleConfigLoader::load(__DIR__.'/config'); + return ModuleC...
Fix: Configuration is not loaded. * Path in Module.php was wrong.
yawik_Solr
train
php
824a689d659861ab92375b7b76202fa56438f4be
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ var PLUGIN_NAME = 'gulp-lodash-template'; module.exports = function (options) { options = options || {}; - var _escape = 'var _ = {};\n\ + var _escape = 'var _ = window._ || {};\n\ var escapeMap =...
Adding lodash variable if available The previous code was overriding the `_` variable of lodash.
JiangJie_gulp-lodash-template
train
js
6e1598c93bef02e9820ae1140923594964fae9f7
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ class FetchExternal(setuptools.command.install.install): setup(cmdclass={'install': FetchExternal}, name='python_moztelemetry', - version='0.3.2.4', + version='0.3.2.5', author='Robert...
Add support for revisions and startup histograms.
mozilla_python_moztelemetry
train
py
3c21d3ced8090989559aefa32cb7e9005c054403
diff --git a/worker/uniter/uniter_test.go b/worker/uniter/uniter_test.go index <HASH>..<HASH> 100644 --- a/worker/uniter/uniter_test.go +++ b/worker/uniter/uniter_test.go @@ -560,28 +560,6 @@ var steadyUpgradeTests = []uniterTest{ waitHooks{"upgrade-charm", "config-changed"}, verifyRunning{}, ), - ut( - // Thi...
Removed a failing test, which violates charm compatibility when upgrading
juju_juju
train
go
c9fec5ac2f7a60ad7e8b2c903b98f0d1ee9dcc73
diff --git a/meshio/_helpers.py b/meshio/_helpers.py index <HASH>..<HASH> 100644 --- a/meshio/_helpers.py +++ b/meshio/_helpers.py @@ -75,13 +75,21 @@ def write_points_cells( point_data=None, cell_data=None, field_data=None, + point_sets=None, + cell_sets=None, file_format=None, **kwargs,...
update write_points_cells() to accept point_sets and cell_sets data
nschloe_meshio
train
py
f8338ed3455309dc696a67043f7a83d28c2c3187
diff --git a/pymola/backends/casadi/model.py b/pymola/backends/casadi/model.py index <HASH>..<HASH> 100644 --- a/pymola/backends/casadi/model.py +++ b/pymola/backends/casadi/model.py @@ -438,14 +438,14 @@ class Model: start = sign * alias_state.start # The intersection of...
CasADi model, alias merging: Use CasADi fmin/fmax as some attributes may be symbolic.
pymoca_pymoca
train
py
476e88898821763b5641bdee85162452931892ae
diff --git a/KnpUOAuth2ClientBundle.php b/KnpUOAuth2ClientBundle.php index <HASH>..<HASH> 100644 --- a/KnpUOAuth2ClientBundle.php +++ b/KnpUOAuth2ClientBundle.php @@ -2,9 +2,22 @@ namespace KnpU\OAuth2ClientBundle; +use KnpU\OAuth2ClientBundle\DependencyInjection\KnpUOAuth2ClientExtension; use Symfony\Component\H...
Also overriding the method in the bundle to allow for the alias ... we should really change this...
knpuniversity_oauth2-client-bundle
train
php
c14a2d234faa05ba23e7bb8a14250a06daf4a3d8
diff --git a/scs_osio/device.py b/scs_osio/device.py index <HASH>..<HASH> 100755 --- a/scs_osio/device.py +++ b/scs_osio/device.py @@ -16,7 +16,7 @@ import sys from scs_core.data.json import JSONify from scs_core.osio.client.api_auth import APIAuth -from scs_core.osio.config.source import Source +from scs_core.osio...
Added particulates flag to host_project script.
south-coast-science_scs_osio
train
py
2ad68f741ce162608a91dc4926d1bc67fa5432f0
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -65,10 +65,11 @@ def main(): 'indra.sources.eidos', 'indra.sources.geneways', 'indra.sources.hume', 'indra.sources.index_cards', - 'indra.source...
Add TAS and LINCS drug source modules to setup
sorgerlab_indra
train
py
01807dbe8e0ddd77da9c5049acd2b12fee344d7c
diff --git a/languagetool-language-modules/nl/src/main/java/org/languagetool/language/Dutch.java b/languagetool-language-modules/nl/src/main/java/org/languagetool/language/Dutch.java index <HASH>..<HASH> 100644 --- a/languagetool-language-modules/nl/src/main/java/org/languagetool/language/Dutch.java +++ b/languagetool-...
[nl] decrease DE_ONVERWACHT priority, according to Ruud
languagetool-org_languagetool
train
java
6f3db22476d7dcf4d822d886f00cd77a345f5567
diff --git a/salt/modules/cmdmod.py b/salt/modules/cmdmod.py index <HASH>..<HASH> 100644 --- a/salt/modules/cmdmod.py +++ b/salt/modules/cmdmod.py @@ -364,7 +364,7 @@ def run_all(cmd, cwd=None, runas=None, shell=DEFAULT_SHELL, env=(), def retcode(cmd, cwd=None, runas=None, shell=DEFAULT_SHELL, env=(), - ...
Fix cmdmod.py daemon error introduced by <I>
saltstack_salt
train
py
0918c9eef3860bd54524147787cc68f02a52e522
diff --git a/opencv/cxcore.go b/opencv/cxcore.go index <HASH>..<HASH> 100644 --- a/opencv/cxcore.go +++ b/opencv/cxcore.go @@ -523,6 +523,10 @@ func Not(src, dst *IplImage) { /****************************************************************************************\ * Array Statistic...
Added 'Avg' function
go-opencv_go-opencv
train
go
e9af7a0ac9d56bad83f3a17b478cf99fbfa51f02
diff --git a/spectrum.js b/spectrum.js index <HASH>..<HASH> 100644 --- a/spectrum.js +++ b/spectrum.js @@ -516,7 +516,7 @@ var color = get(); if (isInput) { - boundElement.val(color.toString(currentPreferredFormat)); + boundElement.val(color.toString...
Trigger the original input "change" event
bgrins_spectrum
train
js
1e9b68164bce898bb5f8c816ee699d56b1c35a8e
diff --git a/flink-core/src/main/java/org/apache/flink/util/SplittableIterator.java b/flink-core/src/main/java/org/apache/flink/util/SplittableIterator.java index <HASH>..<HASH> 100644 --- a/flink-core/src/main/java/org/apache/flink/util/SplittableIterator.java +++ b/flink-core/src/main/java/org/apache/flink/util/Split...
[FLINK-<I>] Make abstract methods public in SplittableIterator
apache_flink
train
java
98bdf0dd3a1170c2500495298a3f2b4b1057a7f1
diff --git a/spec/model/has_description_spec.rb b/spec/model/has_description_spec.rb index <HASH>..<HASH> 100644 --- a/spec/model/has_description_spec.rb +++ b/spec/model/has_description_spec.rb @@ -8,6 +8,12 @@ describe Model::HasDescription do DescribedModel.auto_migrate! end + it "should define a descript...
Added specs for testing if HasName and HasDescription added a property.
ronin-ruby_ronin
train
rb,rb
8a8762dd4c6e23e4a57b800c48e16b3f54052586
diff --git a/src/karlskrone/jarvis/events/EventManager.java b/src/karlskrone/jarvis/events/EventManager.java index <HASH>..<HASH> 100644 --- a/src/karlskrone/jarvis/events/EventManager.java +++ b/src/karlskrone/jarvis/events/EventManager.java @@ -93,10 +93,7 @@ public class EventManager { return; ...
Changed EventManagerTest, EventManager and added DemoEvent The EventManagerTest should now be more self-explaining, and a DemoEvent class got created. The EventManager has now TODO's for missing features. The only purpose of this class is to explain how to use the EventManager Class
intellimate_Izou
train
java
cf713ef41b35a638e1d8e5281adae22c2ed24589
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/gui/AboutDialog.java b/findbugs/src/java/edu/umd/cs/findbugs/gui/AboutDialog.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/gui/AboutDialog.java +++ b/findbugs/src/java/edu/umd/cs/findbugs/gui/AboutDialog.java @@ -206,6 +206,8 @@ public cl...
support hyperlinks on mac. The leenux fellars are on their own :) git-svn-id: <URL>
spotbugs_spotbugs
train
java
611f03f08b219d85ea97ee7b1a75a6f921459c68
diff --git a/src/main/java/com/github/snowdream/android/util/concurrent/AsyncTask.java b/src/main/java/com/github/snowdream/android/util/concurrent/AsyncTask.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/snowdream/android/util/concurrent/AsyncTask.java +++ b/src/main/java/com/github/snowdream/android/...
[Update] AsyncTask
snowdream_android-multithread
train
java
62e2d07d2d887c8c6d346fcc54dfeed45d1a90d6
diff --git a/graphics/canvas.py b/graphics/canvas.py index <HASH>..<HASH> 100644 --- a/graphics/canvas.py +++ b/graphics/canvas.py @@ -78,8 +78,8 @@ class Canvas: pass if visible: - char = colors.colorStr(sprite.char((x, y)), - ...
Added detection in canvas for UnicodeEncodeError and fallback to `?`
olls_graphics
train
py
6c632f3314310c9ba9f0d7ec1f8056f1b8e45fc1
diff --git a/pgpy/pgp.py b/pgpy/pgp.py index <HASH>..<HASH> 100644 --- a/pgpy/pgp.py +++ b/pgpy/pgp.py @@ -179,9 +179,8 @@ class PGPBlock(FileLoader): # by using the generator 0x864CFB and an initialization of 0xB704CE. # The accumulation is done on the data before it is converted to # radix-...
finally figured out how to take this TODO off my list
SecurityInnovation_PGPy
train
py
831ea070f186683d4451fe60c1c449f72722d598
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -133,7 +133,6 @@ function decodeArgon2iStr (hash) { // var out = Buffer.allocUnsafe(32) // STR_HASHBYTES var isArgon2i = Buffer.compare(Argon2iStr_ALG_TAG, hash.slice(idx, idx += 8)) === 0 - console.log(isArgon2i) ...
Remove stray console.log (#7)
emilbayes_secure-password
train
js
e6a4d8f97d738bf8ea16c9f6907d2b54623aff5f
diff --git a/pghoard/basebackup.py b/pghoard/basebackup.py index <HASH>..<HASH> 100644 --- a/pghoard/basebackup.py +++ b/pghoard/basebackup.py @@ -370,6 +370,7 @@ class PGBaseBackup(Thread): } for oid, spcname in cursor.fetchall() } + db_conn.com...
local tar backup: don't keep a transaction open while backup is taking place
aiven_pghoard
train
py