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
c003e6113ae063660fe52f095abc35d55d3dce52
diff --git a/lib/api-client/resources/history.js b/lib/api-client/resources/history.js index <HASH>..<HASH> 100644 --- a/lib/api-client/resources/history.js +++ b/lib/api-client/resources/history.js @@ -107,6 +107,9 @@ History.userOperation = function(params, done) { * ...
chore(history): document pagination params of processInstance method related to CAM-<I>
camunda_camunda-bpm-sdk-js
train
js
bc19c0d09cd04e1862c7a8f3bb7bcaf289270df3
diff --git a/activemodel/test/cases/conversion_test.rb b/activemodel/test/cases/conversion_test.rb index <HASH>..<HASH> 100644 --- a/activemodel/test/cases/conversion_test.rb +++ b/activemodel/test/cases/conversion_test.rb @@ -29,4 +29,8 @@ class ConversionTest < ActiveModel::TestCase assert_equal "helicopters/hel...
test for ActiveModel::Conversion#to_partial_path and namespaced models
rails_rails
train
rb,rb
f999596ec2e42d2fdb8df9b9ecc42f8f3c21edae
diff --git a/source/org/jasig/portal/tools/checks/SpringBeanCheck.java b/source/org/jasig/portal/tools/checks/SpringBeanCheck.java index <HASH>..<HASH> 100644 --- a/source/org/jasig/portal/tools/checks/SpringBeanCheck.java +++ b/source/org/jasig/portal/tools/checks/SpringBeanCheck.java @@ -14,12 +14,14 @@ import org.sp...
UP-<I> declared @since uPortal <I> renamed non-static Log to reflect that it is not static (log rather than LOG) descreased scope of Log instance to protected. git-svn-id: <URL>
Jasig_uPortal
train
java
baeebeb736b088f8f673304448d6de90e3ea1531
diff --git a/pdfwatermarker/utils/path.py b/pdfwatermarker/utils/path.py index <HASH>..<HASH> 100644 --- a/pdfwatermarker/utils/path.py +++ b/pdfwatermarker/utils/path.py @@ -24,7 +24,20 @@ def set_destination(source, suffix): # Concatenate new filename dst_path = src_file_name + '_' + suffix + src_file_ext...
Added if statement and number incrementer to check if filename is unique.
mrstephenneal_pdfconduit
train
py
3af56360bd3bc4ddb9c0147b932dd7f74edcc07d
diff --git a/lib/jazzy/doc_builder.rb b/lib/jazzy/doc_builder.rb index <HASH>..<HASH> 100644 --- a/lib/jazzy/doc_builder.rb +++ b/lib/jazzy/doc_builder.rb @@ -128,11 +128,20 @@ module Jazzy DocsetBuilder.new(output_dir, source_module).build! - puts "jam out ♪♫ to your fresh new docs in `#{output_dir}`" ...
Show output path relative to working dir when appropriate
realm_jazzy
train
rb
0cffc7bfb5ebeb618c0f5a95cf30663489bd7f82
diff --git a/client/extjs/src/panel/AbstractListUi.js b/client/extjs/src/panel/AbstractListUi.js index <HASH>..<HASH> 100644 --- a/client/extjs/src/panel/AbstractListUi.js +++ b/client/extjs/src/panel/AbstractListUi.js @@ -342,8 +342,6 @@ MShop.panel.AbstractListUi = Ext.extend(Ext.Panel, { getRecord: function( actio...
Removing one else if.
Arcavias_arcavias-core
train
js
b84d0c4167226fcc693f3953916cea8d47ac7538
diff --git a/src/cli/commands/name/resolve.js b/src/cli/commands/name/resolve.js index <HASH>..<HASH> 100644 --- a/src/cli/commands/name/resolve.js +++ b/src/cli/commands/name/resolve.js @@ -17,7 +17,7 @@ module.exports = { recursive: { type: 'boolean', alias: 'r', - describe: 'Resolve until the...
docs: change recursive IPNS resolve default value (#<I>) Value was updated but docs were not.
ipfs_js-ipfs
train
js
6499d92416c91fd54a3a97b07b252ace86e8d484
diff --git a/lib/addressable/uri.rb b/lib/addressable/uri.rb index <HASH>..<HASH> 100644 --- a/lib/addressable/uri.rb +++ b/lib/addressable/uri.rb @@ -284,7 +284,7 @@ module Addressable uri.path.tr!("\\", SLASH) if File.exist?(uri.path) && File.stat(uri.path).directory? - uri.pat...
Prefer `#chomp!` to remove trailing character
sporkmonger_addressable
train
rb
d1b45bee9d5b0ecaf9cb299f0507f776e8dc68d6
diff --git a/lib/kamerling/task.rb b/lib/kamerling/task.rb index <HASH>..<HASH> 100644 --- a/lib/kamerling/task.rb +++ b/lib/kamerling/task.rb @@ -1,7 +1,2 @@ module Kamerling class Task < UUIDObject :input, :project, done: false - def self.from_h hash, repos = Repos - hash.merge! project: repos[Project][hash[:pro...
Task.from_h: no need to custom-deserialise
chastell_kamerling
train
rb,rb
14184dea1a06d4a1de8d1106f182887e208b739f
diff --git a/example/simple-chat/app.js b/example/simple-chat/app.js index <HASH>..<HASH> 100644 --- a/example/simple-chat/app.js +++ b/example/simple-chat/app.js @@ -4,7 +4,8 @@ var sio , chat , counter = 1 , express = require('express') - , app = express.createServer(); + , http = require('http') + , app ...
updated example to work with latest version of express
DanielBaulig_chat.io
train
js
7a0f86a885e4a06a7ebb286d92da0b14747008ba
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,6 @@ 'use strict'; +/** @class BEMQuery */ import './utils'; import './html'; import './state';
[ci skip] Updated docs.
BEMQuery_bemquery-async-dom
train
js
aefbde2a7133ed6bc534484b338937a6c1533aa0
diff --git a/yangson/schema.py b/yangson/schema.py index <HASH>..<HASH> 100644 --- a/yangson/schema.py +++ b/yangson/schema.py @@ -18,7 +18,7 @@ class SchemaNode: self.name = None # type: YangIdentifier self.ns = None # type: YangIdentifier self.parent = None # type: "InternalNode" - s...
Allow for multiple "must" statements.
CZ-NIC_yangson
train
py
ea456ec2a6fe977e69efab52edfc4574772f5988
diff --git a/lib/tugboat/middleware/create_droplet.rb b/lib/tugboat/middleware/create_droplet.rb index <HASH>..<HASH> 100644 --- a/lib/tugboat/middleware/create_droplet.rb +++ b/lib/tugboat/middleware/create_droplet.rb @@ -47,10 +47,11 @@ module Tugboat droplet_backups_enabled = env["create_droplet_backups_ena...
Fix to allow setting an array of keys in config Allows setting an array of keys in your config: ``` ssh_key: ['<I>','<I>'] ```
petems_tugboat
train
rb
cb271b407260f5c1d06564129dcb334b0151e116
diff --git a/src/main/java/reactor/ipc/netty/http/client/HttpClientOperations.java b/src/main/java/reactor/ipc/netty/http/client/HttpClientOperations.java index <HASH>..<HASH> 100644 --- a/src/main/java/reactor/ipc/netty/http/client/HttpClientOperations.java +++ b/src/main/java/reactor/ipc/netty/http/client/HttpClientO...
Do not invoke ByteBuf.retain as the bytes are copied to the new buffer
reactor_reactor-netty
train
java
664ed3902c517c1bef96478791769bfb2c1495d5
diff --git a/calendar-bundle/contao/config/config.php b/calendar-bundle/contao/config/config.php index <HASH>..<HASH> 100644 --- a/calendar-bundle/contao/config/config.php +++ b/calendar-bundle/contao/config/config.php @@ -68,4 +68,11 @@ $GLOBALS['TL_CRON']['daily'][] = array('Calendar', 'generateFeeds'); */ $GLOBAL...
[Calendar] Added FAQ permissions in the back end (see #<I>)
contao_contao
train
php
4ddac6193f457dae9faead0ebf349b79e021e484
diff --git a/concrete/controllers/single_page/dashboard/users/groups/bulk_user_assignment.php b/concrete/controllers/single_page/dashboard/users/groups/bulk_user_assignment.php index <HASH>..<HASH> 100644 --- a/concrete/controllers/single_page/dashboard/users/groups/bulk_user_assignment.php +++ b/concrete/controllers/s...
bulk_user_assignment: CSV file instead of CSV alone
concrete5_concrete5
train
php
b0236456bbee57c5867a5a78da9b462a2bb6a70c
diff --git a/src/Plugin.php b/src/Plugin.php index <HASH>..<HASH> 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -152,17 +152,16 @@ class Plugin extends AbstractPlugin implements LoopAwareInterface } /** - * Indicates that the plugin monitors MOTD (message of the day) events, - * which it does ...
Modified Plugin to obtain queues on USER instead of MOTD events
phergie_phergie-irc-plugin-react-feedticker
train
php
b8a2e9a47112de46c937c4a799586459172b1b2d
diff --git a/bugwarrior/db.py b/bugwarrior/db.py index <HASH>..<HASH> 100644 --- a/bugwarrior/db.py +++ b/bugwarrior/db.py @@ -385,7 +385,9 @@ def synchronize(issue_generator, conf, main_section, dry_run=False): send_notification(issue, 'Created', conf) try: - tw.task_add(**issue) + ...
Mark new and updated tasks as completed if end date
ralphbean_bugwarrior
train
py
11ae35d94f17760f3c27f51b64e858aca33752f7
diff --git a/certbot/tests/test_fake_marathon.py b/certbot/tests/test_fake_marathon.py index <HASH>..<HASH> 100644 --- a/certbot/tests/test_fake_marathon.py +++ b/certbot/tests/test_fake_marathon.py @@ -2,20 +2,20 @@ import json import treq +from testtools.matchers import Equals + from twisted.internet.defer impo...
Fake Marathon tests: reorder imports
praekeltfoundation_marathon-acme
train
py
482b1a180a3957d446b128dcb925a0abcd4ad6b5
diff --git a/examples/animated-three-basic-cube.js b/examples/animated-three-basic-cube.js index <HASH>..<HASH> 100644 --- a/examples/animated-three-basic-cube.js +++ b/examples/animated-three-basic-cube.js @@ -35,7 +35,7 @@ const sketch = ({ context }) => { camera.lookAt(new THREE.Vector3()); // Setup camera c...
fixes threejs examples that use orbit controls
mattdesl_canvas-sketch
train
js,js
6a9f3db92330c83240f49cff50a6fdce9f2e270a
diff --git a/Minimal-J/src/main/java/org/minimalj/application/MjApplication.java b/Minimal-J/src/main/java/org/minimalj/application/MjApplication.java index <HASH>..<HASH> 100644 --- a/Minimal-J/src/main/java/org/minimalj/application/MjApplication.java +++ b/Minimal-J/src/main/java/org/minimalj/application/MjApplicatio...
MjApplication: Make default implementation for getSearchClasses so it doesn't need to be overridden for demo applications
BrunoEberhard_minimal-j
train
java
66abe3a04f5234ff699115feda7e3fadede9f246
diff --git a/keanu-project/src/main/java/io/improbable/keanu/plating/PlateBuilder.java b/keanu-project/src/main/java/io/improbable/keanu/plating/PlateBuilder.java index <HASH>..<HASH> 100644 --- a/keanu-project/src/main/java/io/improbable/keanu/plating/PlateBuilder.java +++ b/keanu-project/src/main/java/io/improbable/k...
remove unnecessary check for label with full namespace in Plate mapping
improbable-research_keanu
train
java
03d677492fddd6bbe313ba7beef63f87de0128a6
diff --git a/django_extensions/management/modelviz.py b/django_extensions/management/modelviz.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/modelviz.py +++ b/django_extensions/management/modelviz.py @@ -159,13 +159,13 @@ def generate_dot(app_labels, **kwargs): # find primary key and p...
Allow a model not to have a primary key. Fixes #<I>
django-extensions_django-extensions
train
py
e3556eeb20bd425fd3ae946ceb32ad4b98243b38
diff --git a/src/mui/detail/TabbedShowLayout.js b/src/mui/detail/TabbedShowLayout.js index <HASH>..<HASH> 100644 --- a/src/mui/detail/TabbedShowLayout.js +++ b/src/mui/detail/TabbedShowLayout.js @@ -1,4 +1,5 @@ -import React, { Component, PropTypes } from 'react'; +import React, { Component } from 'react'; +import Prop...
Fix warning in TabbedShowLayout
marmelab_react-admin
train
js
9dbb05ef63d7dd0f85e5a805484256de1d3b4fe4
diff --git a/test/ubiq/Array_Test.php b/test/ubiq/Array_Test.php index <HASH>..<HASH> 100644 --- a/test/ubiq/Array_Test.php +++ b/test/ubiq/Array_Test.php @@ -4,7 +4,7 @@ namespace Test\Ubiq; require_once( dirname( dirname( __DIR__ ) ) . '/vendor/autoload.php' ); -echo 'Ubiq ' . \Pixel418\Ubiq::VERSION . ' '; +ech...
Add the Ubiq version in the test output
Elephant418_Ubiq
train
php
286fbf371c0b0c7f3a4ac3c61361c274f9f77603
diff --git a/cxx-squid/src/main/java/org/sonar/cxx/CxxLanguage.java b/cxx-squid/src/main/java/org/sonar/cxx/CxxLanguage.java index <HASH>..<HASH> 100644 --- a/cxx-squid/src/main/java/org/sonar/cxx/CxxLanguage.java +++ b/cxx-squid/src/main/java/org/sonar/cxx/CxxLanguage.java @@ -42,7 +42,7 @@ public class CxxLanguage ex...
rename CxxLanguage.NAME to CXX - "C++ (Community)" => "CXX" - in Issues / Rules there is the language name in brackets before the rule; old name was too long
SonarOpenCommunity_sonar-cxx
train
java
6908b21d885a7b7567fd34bd5f3dc6a9300c5638
diff --git a/docroot/modules/custom/ymca_blog_listing/src/Controller/YMCANewsEventsPageController.php b/docroot/modules/custom/ymca_blog_listing/src/Controller/YMCANewsEventsPageController.php index <HASH>..<HASH> 100644 --- a/docroot/modules/custom/ymca_blog_listing/src/Controller/YMCANewsEventsPageController.php +++ ...
[YMCA-<I>] Show 'not found' for news&events pages of not camps/locations
ymcatwincities_openy
train
php
dd75bdb069e3ee9ef0fa6773ad955c462867b76e
diff --git a/sprockets/sprockets.go b/sprockets/sprockets.go index <HASH>..<HASH> 100644 --- a/sprockets/sprockets.go +++ b/sprockets/sprockets.go @@ -12,6 +12,7 @@ package sprockets import ( "html/template" + "net/http" ) type AssetPipeline interface { @@ -23,6 +24,15 @@ type ViewHelper struct { AssetPipeli...
Support serving assets directly from the asset pipeline
99designs_goodies
train
go
798885950d98de32ff611cdf00c855cd5d0a2880
diff --git a/uvicorn/workers.py b/uvicorn/workers.py index <HASH>..<HASH> 100644 --- a/uvicorn/workers.py +++ b/uvicorn/workers.py @@ -20,10 +20,12 @@ class UvicornWorker(Worker): logger = logging.getLogger("uvicorn.error") logger.handlers = self.log.error_log.handlers logger.setLevel(self.lo...
Don't propagate logs in Gunicorn worker (#<I>)
encode_uvicorn
train
py
9e959b0d84f7f4b88ae12aa97c28b757687a7bc4
diff --git a/src/Illuminate/Translation/FileLoader.php b/src/Illuminate/Translation/FileLoader.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Translation/FileLoader.php +++ b/src/Illuminate/Translation/FileLoader.php @@ -135,10 +135,13 @@ class FileLoader implements Loader { return collect(array_mer...
additional check for loaded language file using json format * as the json file may contain invalid json this helps to ignore such files * just merges the language array when it's valid for the rest of the files * produced a php exception before, as the second parameter for array_merge was null due to invalid json in fi...
laravel_framework
train
php
e53012972915a2a02da5607b3c77c32959b1da8d
diff --git a/lib/Fakturoid.php b/lib/Fakturoid.php index <HASH>..<HASH> 100644 --- a/lib/Fakturoid.php +++ b/lib/Fakturoid.php @@ -143,17 +143,17 @@ class Fakturoid { /* Event */ public function get_events($options = NULL) { - return $this->get('/events.json') . $this->convert_options($options, array('subj...
Fix URL construction in some methods. Closes #6.
fakturoid_fakturoid-php
train
php
cad4c74e98e2da7a8458a173da61fcc7382891a2
diff --git a/lib/stripe/handlers/customer.subscription.deleted.js b/lib/stripe/handlers/customer.subscription.deleted.js index <HASH>..<HASH> 100644 --- a/lib/stripe/handlers/customer.subscription.deleted.js +++ b/lib/stripe/handlers/customer.subscription.deleted.js @@ -1,6 +1,7 @@ 'use strict'; var models = require(...
Split the removal of pro from session and db into separate functions Both now use promises keeping flow control simple and less buggy
jsbin_jsbin
train
js
ac50c2fdfa2ff66a4b337b11f43ffa0b44683536
diff --git a/distutils/tests/test_register.py b/distutils/tests/test_register.py index <HASH>..<HASH> 100644 --- a/distutils/tests/test_register.py +++ b/distutils/tests/test_register.py @@ -287,7 +287,7 @@ class TestRegister(BasePyPIRCCommandTestCase): del register_module.input @unittest.skipUnless...
Replace addCleanup with monkeypatch.
pypa_setuptools
train
py
d9c753e7dab9d23976ab705923c3a4e633ee71d8
diff --git a/src/Plinth/Main.php b/src/Plinth/Main.php index <HASH>..<HASH> 100644 --- a/src/Plinth/Main.php +++ b/src/Plinth/Main.php @@ -536,6 +536,10 @@ class Main { $this->getUserService()->logout(); + //Strip the logout parameter & redirect to the original des...
A logout now redirects to the requested path but without the logout GET
Warsaalk_Plinth
train
php
2df13affb8fb4e5497f76a5312f15218902edb45
diff --git a/src/benchsuite/core/model/benchmark.py b/src/benchsuite/core/model/benchmark.py index <HASH>..<HASH> 100644 --- a/src/benchsuite/core/model/benchmark.py +++ b/src/benchsuite/core/model/benchmark.py @@ -28,7 +28,7 @@ from benchsuite.core.model.exception import ControllerConfigurationException class Bench...
testing the integration with readthedocs
benchmarking-suite_benchsuite-core
train
py
79b96a89c54e68dd055d7bc6df26622c064be3a8
diff --git a/src/main/java/io/github/lukehutch/fastclasspathscanner/FastClasspathScanner.java b/src/main/java/io/github/lukehutch/fastclasspathscanner/FastClasspathScanner.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/github/lukehutch/fastclasspathscanner/FastClasspathScanner.java +++ b/src/main/java/io/githu...
Optimization: don't call toLowerCase if extension matches and is already lowercase
classgraph_classgraph
train
java
3acbe663af7dfbca05d598c8e3a7c12a2c54d336
diff --git a/lib/datalib.php b/lib/datalib.php index <HASH>..<HASH> 100644 --- a/lib/datalib.php +++ b/lib/datalib.php @@ -1039,11 +1039,20 @@ function fix_course_sortorder() { HAVING cc.coursecount <> COUNT(c.id)"; if ($updatecounts = $DB->get_records_sql($sql)) { + // categories with more c...
MDL-<I>, fix_course_sortorder should check MAX_COURSE_CATEGORIES limit, and print debugging message when the number of courses in a category reach the limit
moodle_moodle
train
php
a9a992525c56d1886792e2568ec4a3880ad4c6ee
diff --git a/spec/licensee/content_helper_spec.rb b/spec/licensee/content_helper_spec.rb index <HASH>..<HASH> 100644 --- a/spec/licensee/content_helper_spec.rb +++ b/spec/licensee/content_helper_spec.rb @@ -70,6 +70,10 @@ RSpec.describe Licensee::ContentHelper do expect(mit.similarity(mit)).to be(100.0) end +...
failing test for non-license content helpers erring out on similarity
licensee_licensee
train
rb
4aa4b18b66e002b8da7ae3537aef3cc2cade6185
diff --git a/eli5/sklearn/transform.py b/eli5/sklearn/transform.py index <HASH>..<HASH> 100644 --- a/eli5/sklearn/transform.py +++ b/eli5/sklearn/transform.py @@ -18,6 +18,7 @@ from eli5.sklearn.utils import get_feature_names as _get_feature_names # Feature selection: +@transform_feature_names.register(SelectorMix...
Use decorator syntax for SelectorMixin
TeamHG-Memex_eli5
train
py
b3123271124c5338554a408cb61ca7a52b153107
diff --git a/src/js/pannellum.js b/src/js/pannellum.js index <HASH>..<HASH> 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -2472,12 +2472,23 @@ this.getConfig = function() { * @memberof Viewer * @instance * @param {Object} hs - The configuration for the hot spot + * @param {string} [sceneId] - Adds...
Extend API `addHotSpot` function such that hot spots can be added to other scenes besides the current scene.
mpetroff_pannellum
train
js
c435c82003fbdb6f421a0612abbf70ce5aea5013
diff --git a/src/Gerrie/Gerrie.php b/src/Gerrie/Gerrie.php index <HASH>..<HASH> 100644 --- a/src/Gerrie/Gerrie.php +++ b/src/Gerrie/Gerrie.php @@ -435,7 +435,7 @@ class Gerrie throw new \Exception('No projects found on "' . $host . '"!', 1363894633); } - $projectTransformer = TransformerF...
Fixed typo in method name "isDebugFunctionalityEnables"
andygrunwald_Gerrie
train
php
5d49d39a7ee395234d6c06ee210705c26fad8b1d
diff --git a/web/concrete/startup/jobs.php b/web/concrete/startup/jobs.php index <HASH>..<HASH> 100644 --- a/web/concrete/startup/jobs.php +++ b/web/concrete/startup/jobs.php @@ -32,14 +32,12 @@ if(ENABLE_JOB_SCHEDULING) { } if(strlen($url)) { - echo $url; exit; $ch = curl_init($url); curl_setopt($ch...
Remove `exit` statement from startup/job Remove `exit` statement from startup/job Former-commit-id: b<I>c<I>bf8c<I>e<I>d6e2e<I>bdeb<I>
concrete5_concrete5
train
php
9cf4a25e7a1ed7f1818ec9676bcdd044f6f6a5c7
diff --git a/Tests/IntegrationTest.php b/Tests/IntegrationTest.php index <HASH>..<HASH> 100644 --- a/Tests/IntegrationTest.php +++ b/Tests/IntegrationTest.php @@ -14,7 +14,7 @@ namespace Geocoder\Provider\MaxMindBinary\Tests; use Geocoder\IntegrationTest\ProviderIntegrationTest; use Geocoder\Provider\MaxMindBinary\...
Expect a PSR-<I> client instead of a PHP-HTTP client (#<I>) * Expect a PSR-<I> client instead of a PHP-HTTP client * Update integration tests
geocoder-php_maxmind-binary-provider
train
php
389156d6ba1ebac95f690fa96ddc910fbc645c06
diff --git a/ugly/Poisson.php b/ugly/Poisson.php index <HASH>..<HASH> 100644 --- a/ugly/Poisson.php +++ b/ugly/Poisson.php @@ -8,7 +8,7 @@ * * use gburtini\Distributions\Poisson; * - * $poisson = new Poissin($lambda>0); + * $poisson = new Poisson($lambda>0); * $poisson->pdf($x) = [0,1] * $poisson->cdf($x) = [...
Adding credit to Frank Wikström for his work here.
gburtini_Probability-Distributions-for-PHP
train
php
ccd74afa6d24b370269c96bd55a2b982eda2cdc1
diff --git a/winrm/protocol.py b/winrm/protocol.py index <HASH>..<HASH> 100644 --- a/winrm/protocol.py +++ b/winrm/protocol.py @@ -402,7 +402,7 @@ class Protocol(object): See #open_shell @param string command_id: The command id on the remote machine. See #run_command - @param string ...
Change send std input function doc by a single word.
diyan_pywinrm
train
py
ffa104e5bf9cb2f14cf4abbb34bb6deab311cd30
diff --git a/lib/cached_resource/caching.rb b/lib/cached_resource/caching.rb index <HASH>..<HASH> 100644 --- a/lib/cached_resource/caching.rb +++ b/lib/cached_resource/caching.rb @@ -82,7 +82,11 @@ module CachedResource def cache_read(key) key = cache_key(Array(key)) unless key.is_a? String obj...
Refactor persistence-maintaining code
mhgbrown_cached_resource
train
rb
9c9a7d51a20eb74a9067f0d27f89d73d6a421ad6
diff --git a/test/shared/syncer.test.js b/test/shared/syncer.test.js index <HASH>..<HASH> 100644 --- a/test/shared/syncer.test.js +++ b/test/shared/syncer.test.js @@ -86,7 +86,7 @@ describe('syncer', function() { backboneSync.should.have.been.calledOnce; // Don't need to verify the options because the...
Oops, forgot to remove one argument in the test.
rendrjs_rendr
train
js
5d6f362bf1a1134a0199b3dd4faf0efdda9187ee
diff --git a/webpack.common.js b/webpack.common.js index <HASH>..<HASH> 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -47,17 +47,7 @@ module.exports = { library: ['NextcloudVue', '[name]'], umdNamedDefine: true }, - optimization: { - splitChunks: { - cacheGroups: { - vendor: { - te...
Remove splitChunks as it breaks the full package
nextcloud_nextcloud-vue
train
js
8aa3f15d576650f30e20804367a60bf069f90445
diff --git a/tej/submission.py b/tej/submission.py index <HASH>..<HASH> 100644 --- a/tej/submission.py +++ b/tej/submission.py @@ -269,17 +269,22 @@ class RemoteQueue(object): cmd, " (stdout)" if get_output else "") chan.exec_command('/bin/sh -c %s' % shell_escape(cmd)) ...
Fixes _call() dropping output after exit status If exit_status_ready() is True, we might still have some stdout or stderr messages in the queue.
VisTrails_tej
train
py
205eab97bf9c63602d3d0148f7dc356861be8f03
diff --git a/lib/delfos/neo4j/batch/execution.rb b/lib/delfos/neo4j/batch/execution.rb index <HASH>..<HASH> 100644 --- a/lib/delfos/neo4j/batch/execution.rb +++ b/lib/delfos/neo4j/batch/execution.rb @@ -59,6 +59,13 @@ module Delfos queries.length end + def retry_count + @retry_coun...
refactor retry_count on batch/execution.rb
ruby-analysis_delfos
train
rb
defcd6074e525fffcc4509342fb2aada8dc6ba14
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -9,13 +9,12 @@ require 'rspec' require 'counter_culture' CI_TEST_RUN = (ENV['TRAVIS'] && 'TRAVIS') || (ENV['CIRCLECI'] && 'CIRCLE') || ENV["CI"] && 'CI' -SUPPRESS_MIGRATION_MESSA...
Hide migration messages unless env var set. Make CI and local parallel, but give an easy way to reveal if needed
magnusvk_counter_culture
train
rb
588eeb1d4244e764bde69cec39a99883c72249ed
diff --git a/test/www/js/thali_main.js b/test/www/js/thali_main.js index <HASH>..<HASH> 100644 --- a/test/www/js/thali_main.js +++ b/test/www/js/thali_main.js @@ -28,6 +28,12 @@ // (function () { + var doExit = function () { + // This is to inform the CI system the process exits. + console.log('****TEST_LOGG...
Inform CI if we need to exit the app
thaliproject_Thali_CordovaPlugin
train
js
638df9d47b95f73e7ebf7682127fa0fb0d363659
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -59,6 +59,7 @@ setup( include_package_data=True, platforms='any', test_suite='sandman.test.test_sandman', + zip_safe=False, classifiers = [ 'Programming Language :: Python', 'Developmen...
Set sandman as not zip_safe since it expects templates to be in specific location. Closes #<I>
jeffknupp_sandman
train
py
58af14a839f48b82bb2fcccde9075917742aa3f0
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,9 +13,14 @@ if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() -with open('README.rst') as f: - long_description = f.read() +def open_file(filename): + """Open and read t...
Adds change log to long description.
tsroten_dragonmapper
train
py
d08eeb39468740085f1488e7e031e8122dba0124
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -30,3 +30,15 @@ gulp.task("watch", function() { }) gulp.task("default", ["scripts", "watch"]) + +var buildBranch = require("buildbranch") +gulp.task("publish", function(cb) { + buildBranch({folder: "src"} + ,...
Add publish task (for gh-pages)
MoOx_parallaxify
train
js
680a4ee037b00c39187fff65335aa919a10c5259
diff --git a/releaf-i18n_database/app/controllers/releaf/i18n_database/translations_controller.rb b/releaf-i18n_database/app/controllers/releaf/i18n_database/translations_controller.rb index <HASH>..<HASH> 100644 --- a/releaf-i18n_database/app/controllers/releaf/i18n_database/translations_controller.rb +++ b/releaf-i18...
Remove unused `searchable_fields` method from translation controller
cubesystems_releaf
train
rb
19960099587f3373c6770610b88cd91852887d9a
diff --git a/src/helpers/Manifest.php b/src/helpers/Manifest.php index <HASH>..<HASH> 100644 --- a/src/helpers/Manifest.php +++ b/src/helpers/Manifest.php @@ -217,9 +217,6 @@ EOT; { // Get the module entry $module = self::getModuleEntry($config, $moduleName, $type, $soft); - // Determine w...
Revert a PR that caused Twigpack to no longer gracefully fall back on locally built assets if the `webpack-dev-server` is not running
nystudio107_craft-twigpack
train
php
0436b57f83db95fe04c36a9e6e0e223636cc7de7
diff --git a/ocrd/ocrd/task_sequence.py b/ocrd/ocrd/task_sequence.py index <HASH>..<HASH> 100644 --- a/ocrd/ocrd/task_sequence.py +++ b/ocrd/ocrd/task_sequence.py @@ -41,7 +41,7 @@ class ProcessorTask(): def validate(self): if not which(self.executable): raise Exception("Executable not found ...
subprocess.run with text response in python <= <I>
OCR-D_core
train
py
167f3fae368d4c27b250e086ef20a67994fc16a3
diff --git a/mod/forum/lib.php b/mod/forum/lib.php index <HASH>..<HASH> 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -995,7 +995,6 @@ function forum_search_posts($searchterms, $courseid, $page=0, $recordsperpage=50 $onlyvisibletable = ", {$CFG->prefix}course_modules cm"; if ($groupid) { ...
Removing commented line from previous commit. (SE)
moodle_moodle
train
php
cfd3ecffedf0f2b6be18a66657706adeec236cad
diff --git a/mardao-core/src/main/java/net/sf/mardao/core/dao/DaoImpl.java b/mardao-core/src/main/java/net/sf/mardao/core/dao/DaoImpl.java index <HASH>..<HASH> 100644 --- a/mardao-core/src/main/java/net/sf/mardao/core/dao/DaoImpl.java +++ b/mardao-core/src/main/java/net/sf/mardao/core/dao/DaoImpl.java @@ -780,8 +780,18...
#6 cached future value is not Entity but T
sosandstrom_mardao
train
java
6d0d5c8bbd2904387e99fb5cc84cc1a3e35dcdf1
diff --git a/src/Chronos/Scaffolding/app/Models/Setting.php b/src/Chronos/Scaffolding/app/Models/Setting.php index <HASH>..<HASH> 100644 --- a/src/Chronos/Scaffolding/app/Models/Setting.php +++ b/src/Chronos/Scaffolding/app/Models/Setting.php @@ -16,6 +16,13 @@ class Setting extends Model ]; /** + * The...
Added .gitignore & removed primary key from settings model
c4studio_chronos
train
php
ffbc56cab3f1af7b1476b9815f7eadf6af0330d3
diff --git a/natsort/natsort.py b/natsort/natsort.py index <HASH>..<HASH> 100644 --- a/natsort/natsort.py +++ b/natsort/natsort.py @@ -712,4 +712,4 @@ def natcmp(x, y, alg=0, **kwargs): -1 """ key = natsort_keygen(alg=alg, **kwargs) - return cmp(key(x), key(y)) + return (key(x) > key(y)) - (key...
Used the official workaround for cmp in Python3
SethMMorton_natsort
train
py
1d325fc7097347c5e5030032654980fba67779bf
diff --git a/services/OauthService.php b/services/OauthService.php index <HASH>..<HASH> 100644 --- a/services/OauthService.php +++ b/services/OauthService.php @@ -244,6 +244,27 @@ class OauthService extends BaseApplicationComponent { return Oauth_ProviderInfosModel::populateModel($record); ...
OauthService::getProviderInfos() now tries to use clientId/clientSecret from config files when no record is found
dukt_oauth
train
php
c5024298fcc58b20dd77212c0cb7446789beed6c
diff --git a/src/java/com/threerings/parlor/turn/server/TurnGameManagerDelegate.java b/src/java/com/threerings/parlor/turn/server/TurnGameManagerDelegate.java index <HASH>..<HASH> 100644 --- a/src/java/com/threerings/parlor/turn/server/TurnGameManagerDelegate.java +++ b/src/java/com/threerings/parlor/turn/server/TurnGa...
Fixme was fixed implicitly a while back; just cleaning up comments. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
java
2f42e3b3e7046a891f0fef6f92ebafbd46c4f0dc
diff --git a/v2/server.go b/v2/server.go index <HASH>..<HASH> 100644 --- a/v2/server.go +++ b/v2/server.go @@ -227,18 +227,22 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { // Extract the result to error if needed. var errResult error - if !errValue[0].IsNil() { - errResult = errValue[0]...
Pass the correct status code to AfterFunc We're passing a <I> even when we respond <I> to the client.
gorilla_rpc
train
go
d72aefd6594421806ccd8d1c8dc054fe570ab56f
diff --git a/rpc_string_parser.php b/rpc_string_parser.php index <HASH>..<HASH> 100644 --- a/rpc_string_parser.php +++ b/rpc_string_parser.php @@ -34,7 +34,23 @@ class rpc_string_parser private function GetAllCallVariations($callee) { $lazy = $this->FormCallable($callee); - $callee[] = ["Reserve", []]; + ...
Improve greedy rpc object resolving
phoxy_phoxy
train
php
fe8a65ca00a1729fc7920a705c6114273947c5cc
diff --git a/tests/test_scheduler.py b/tests/test_scheduler.py index <HASH>..<HASH> 100644 --- a/tests/test_scheduler.py +++ b/tests/test_scheduler.py @@ -234,7 +234,7 @@ class TestScheduler(unittest.TestCase): 'url': 'url' }) time.sleep(0.1) - self.assertEqual(self.rpc.size(), 0) ...
fix test as task_queue contain processing tasks now
binux_pyspider
train
py
870dd4ea7699134c12c2ae18e3bd122e8cde4dbf
diff --git a/test/test_motor_client.py b/test/test_motor_client.py index <HASH>..<HASH> 100644 --- a/test/test_motor_client.py +++ b/test/test_motor_client.py @@ -165,7 +165,7 @@ class MotorClientTest(MotorTest): self.assertEqual(cx.max_pool_size, 100) cx.close() - @gen_test + @gen_test(timeou...
Longer timeout for test_high_concurrency.
mongodb_motor
train
py
e01080f1667f8f3f52088bbcda18e9f741f5791c
diff --git a/backend/scrapers/classes/differentCollegeUrls.js b/backend/scrapers/classes/differentCollegeUrls.js index <HASH>..<HASH> 100644 --- a/backend/scrapers/classes/differentCollegeUrls.js +++ b/backend/scrapers/classes/differentCollegeUrls.js @@ -92,7 +92,7 @@ 'https://infobear.bridgew.edu/BANP/bwckschd.p_d...
"Fixed bucknell url"
ryanhugh_searchneu
train
js
3c3826ab8b6630f968282ee4dbab3e61f6d2e7ed
diff --git a/cli/log.go b/cli/log.go index <HASH>..<HASH> 100644 --- a/cli/log.go +++ b/cli/log.go @@ -21,7 +21,7 @@ usage: flynn log [-f] [-j <id>] [-n <lines>] [-r] [-s] [-t <type>] Stream log for an app. Options: - -f, --follow stream new lines after printing log buffer + -f, --follow ...
cli: Update log usage --follow doesn't print the backlog, --lines can be used to do so
flynn_flynn
train
go
0cc74f7bcf12a2a9a6382f94459a29ef1b35c8cd
diff --git a/src/org/zoodb/api/impl/ZooPC.java b/src/org/zoodb/api/impl/ZooPC.java index <HASH>..<HASH> 100644 --- a/src/org/zoodb/api/impl/ZooPC.java +++ b/src/org/zoodb/api/impl/ZooPC.java @@ -24,6 +24,7 @@ import javax.jdo.ObjectState; import javax.jdo.listener.ClearCallback; import org.zoodb.api.ZooInstanceEven...
Fixed wrong call to zooActivateRead() on generic objects
tzaeschke_zoodb
train
java
b19876d98300f0e1d8cbb990b5bf7ffedc03e74b
diff --git a/buildbot/status/web/logs.py b/buildbot/status/web/logs.py index <HASH>..<HASH> 100644 --- a/buildbot/status/web/logs.py +++ b/buildbot/status/web/logs.py @@ -65,7 +65,7 @@ class TextLog(Resource): if not self.asText: # jinja only works with unicode, or pure ascii, so assume ut...
Try and treat log files as UTF-8 encoded, but fallback to replacing unknown characters with placeholders.
buildbot_buildbot
train
py
a8e84cb47f4aea1aacc6231ed791770e6dc07bfb
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,13 @@ module.exports = { included: function(app, parentAddon) { var target = (parentAddon || app); + // necessary for nested usage + // parent addon should call `this._super.included.apply(this, argumen...
Actually fix nested usage Also add a tip for consumers
knownasilya_ember-palette
train
js
5950656de3340f0c2c2df597202d76001da0306e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ class PyTest(test.test): def finalize_options(self): test.test.finalize_options(self) - self.test_args = ['-x', "tests"] + self.test_args = ['-x', "tests/mobly"] self.test_...
Fix pytest warning when run via setup.py test (#<I>)
google_mobly
train
py
427b51d8239c586fea76507f0fe79010d3974110
diff --git a/salt/utils/network.py b/salt/utils/network.py index <HASH>..<HASH> 100644 --- a/salt/utils/network.py +++ b/salt/utils/network.py @@ -35,6 +35,14 @@ from salt.ext.six.moves import range # pylint: disable=import-error,redefined-b from salt.utils.decorators.jinja import jinja_filter from salt.utils.versio...
Get a chance for the import error to buble up
saltstack_salt
train
py
3ae7eca3928d5dd9d0c93e61ceedc38f60573eb5
diff --git a/spec/unit/indirector/ldap.rb b/spec/unit/indirector/ldap.rb index <HASH>..<HASH> 100755 --- a/spec/unit/indirector/ldap.rb +++ b/spec/unit/indirector/ldap.rb @@ -113,15 +113,25 @@ describe Puppet::Indirector::Ldap do describe "when connecting to ldap" do confine "LDAP is not available" => Pup...
Fixing an ldap connectivity test
puppetlabs_puppet
train
rb
ca4ae92b28efb96b16c87e7fe5b1516489d472dc
diff --git a/spyder/utils/encoding.py b/spyder/utils/encoding.py index <HASH>..<HASH> 100644 --- a/spyder/utils/encoding.py +++ b/spyder/utils/encoding.py @@ -231,8 +231,12 @@ def write(text, filename, encoding='utf-8', mode='wb', overwrite=True): Return (eventually new) encoding """ text, encoding = e...
Encoding: Handle append operations (write function)
spyder-ide_spyder
train
py
4d5de8a5defd464652e4c5273895271f06773ff3
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -90,7 +90,7 @@ function getKarmaFiles(files, mappings) { .values() .flatten() .value(), - exclude: _.result(_.findWhere(karmaFiles, { type: 'ignore' }), 'files') + exclude: _.result(_...
Karma: when there are no ignored files, set the exclude config property to empty erray
fvanwijk_testRunnerConfig
train
js
cdaa21c5225df78f3f5f34ffc3b1ac8e7e686e6b
diff --git a/area4/util/__init__.py b/area4/util/__init__.py index <HASH>..<HASH> 100644 --- a/area4/util/__init__.py +++ b/area4/util/__init__.py @@ -14,7 +14,4 @@ def check(internal_name): :return: If __name__ is '__main__' (boolean) :rtype: bool """ - if internal_name == "__main__": - return...
Fixed an issue from CodeFactor
area4lib_area4
train
py,py
23e6f65156256b45fe55c1508ae7e20303831a03
diff --git a/patroni/postgresql.py b/patroni/postgresql.py index <HASH>..<HASH> 100644 --- a/patroni/postgresql.py +++ b/patroni/postgresql.py @@ -804,8 +804,8 @@ class Postgresql(object): self._replace_pg_hba() self.resolve_connection_addresses() - opts = {p: self._server_parameters[p] for p...
Don't wal_keep_segments as command line argument to postgres (#<I>) It make it not possible to change it without restart. Fixes <URL>
zalando_patroni
train
py
390b197d51e562a5d63088601db98e441c227ca8
diff --git a/src/Picqer/Financials/Exact/SalesEntry.php b/src/Picqer/Financials/Exact/SalesEntry.php index <HASH>..<HASH> 100644 --- a/src/Picqer/Financials/Exact/SalesEntry.php +++ b/src/Picqer/Financials/Exact/SalesEntry.php @@ -22,6 +22,7 @@ * @property String $Description Description. Can be different for header ...
Missing doc PaymentReference was missing
picqer_exact-php-client
train
php
2df09cced72a91e6f38e9f8585576d05f4c3af4c
diff --git a/paramz/optimization/optimization.py b/paramz/optimization/optimization.py index <HASH>..<HASH> 100644 --- a/paramz/optimization/optimization.py +++ b/paramz/optimization/optimization.py @@ -64,7 +64,7 @@ class Optimizer(object): return diagnostics def __getstate__(self): - return {} ...
return the optimization object in dict form with Optimize.__getstate__()
sods_paramz
train
py
f8d587156798a694e5cfbf3afbed7d0beb2a8706
diff --git a/handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java b/handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java index <HASH>..<HASH> 100644 --- a/handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java +++ b/handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java @@ -368,10 +3...
Don't depend on implementation details of SSLEngine in SniHandlerTest (#<I>) Motivation: In SniHandlerTest we depended on implementation details of the SSLEngine. We should better not doing this Modifications: Just release all outbound data Result: Dont depend on implementation details
netty_netty
train
java
c7ff3627e44775d6128050eee7b486eadf8a8496
diff --git a/src/Database/Schema/Schema.php b/src/Database/Schema/Schema.php index <HASH>..<HASH> 100644 --- a/src/Database/Schema/Schema.php +++ b/src/Database/Schema/Schema.php @@ -60,10 +60,14 @@ class Schema extends \DreamFactory\Core\Database\Schema\Schema /** * @inheritdoc */ - public function...
change base create and update table methods to allow for native settings
dreamfactorysoftware_df-mongodb
train
php
30936a3c772acc1c92448ea759671a709b0ace8b
diff --git a/includes/class-freemius.php b/includes/class-freemius.php index <HASH>..<HASH> 100755 --- a/includes/class-freemius.php +++ b/includes/class-freemius.php @@ -5530,7 +5530,7 @@ * * @param bool $is_enabled */ - private function update_extensions_tracking_flag( $is_enab...
Allow developers to override the extension tracking flag as they wish.
Freemius_wordpress-sdk
train
php
766e1aa42fe50a29c42c952dbb15f1dc8bf248ac
diff --git a/components/cdn.js b/components/cdn.js index <HASH>..<HASH> 100644 --- a/components/cdn.js +++ b/components/cdn.js @@ -96,9 +96,9 @@ SteamUser.prototype.getDepotDecryptionKey = function(appID, depotID, callback) { var key = body.depot_encryption_key.toBuffer(); var file = Buffer.concat([new Buffer(4...
Call callback only after writing to disk to avoid broken writes
DoctorMcKay_node-steam-user
train
js
8276492a5c28be9a75df02de20510bbfc9a06e45
diff --git a/warehouse/legacy/api/pypi.py b/warehouse/legacy/api/pypi.py index <HASH>..<HASH> 100644 --- a/warehouse/legacy/api/pypi.py +++ b/warehouse/legacy/api/pypi.py @@ -35,7 +35,6 @@ from warehouse.packaging.interfaces import IFileStorage from warehouse.packaging.models import ( Project, Release, Dependency...
Disable the upload view until we finish it
pypa_warehouse
train
py
bc5315a8fb82830a1966550e00a318da1c43f592
diff --git a/spec/netsuite/records/basic_record_spec.rb b/spec/netsuite/records/basic_record_spec.rb index <HASH>..<HASH> 100644 --- a/spec/netsuite/records/basic_record_spec.rb +++ b/spec/netsuite/records/basic_record_spec.rb @@ -34,6 +34,7 @@ describe 'basic records' do NetSuite::Records::ContactRole, N...
Adds NetSuite::Records::GiftCertRedemption to the basic_record_list in the basic_record_spec.
NetSweet_netsuite
train
rb
5648411db284d9f5b6d9827e1ae72a4cbe1b8cb0
diff --git a/ui/src/shared/components/DatabaseDropdown.js b/ui/src/shared/components/DatabaseDropdown.js index <HASH>..<HASH> 100644 --- a/ui/src/shared/components/DatabaseDropdown.js +++ b/ui/src/shared/components/DatabaseDropdown.js @@ -43,12 +43,18 @@ class DatabaseDropdown extends Component { const proxy = sou...
Remove system databases from "Write Data" dropdown Users should not write to _internal, or generally any other database preceeded with an '_', as we take that to mean a system-internal database of some kind. This filters the list of databases to remove those with names preceeded by a '_' character. Also 'SHOW DATABAS...
influxdata_influxdb
train
js
3cd0543178e745e823ef941803d9c6c8354f6a70
diff --git a/ruby_event_store/lib/ruby_event_store/projection.rb b/ruby_event_store/lib/ruby_event_store/projection.rb index <HASH>..<HASH> 100644 --- a/ruby_event_store/lib/ruby_event_store/projection.rb +++ b/ruby_event_store/lib/ruby_event_store/projection.rb @@ -27,7 +27,7 @@ module RubyEventStore def when(e...
Kill mutation. There's a reader on handlers and is used in other methods as well.
RailsEventStore_rails_event_store
train
rb
b099f0309f4a0881a8007946dbaeb0c565e06caa
diff --git a/pkg/cmd/grafana-cli/commands/install_command.go b/pkg/cmd/grafana-cli/commands/install_command.go index <HASH>..<HASH> 100644 --- a/pkg/cmd/grafana-cli/commands/install_command.go +++ b/pkg/cmd/grafana-cli/commands/install_command.go @@ -94,7 +94,7 @@ func InstallPlugin(pluginName, version string, c Comman...
cli: download latest dependency by default
grafana_grafana
train
go
d049284120bd132fb98db24ba9511a1cffe30c27
diff --git a/builder/amazon/common/step_run_spot_instance.go b/builder/amazon/common/step_run_spot_instance.go index <HASH>..<HASH> 100644 --- a/builder/amazon/common/step_run_spot_instance.go +++ b/builder/amazon/common/step_run_spot_instance.go @@ -295,7 +295,6 @@ func (s *StepRunSpotInstance) Run(ctx context.Context...
Update builder/amazon/common/step_run_spot_instance.go remove unused code that might induce errors
hashicorp_packer
train
go
4ff5f431bd43db6aa7d30605e77477151b24144e
diff --git a/pybasex/basex_client.py b/pybasex/basex_client.py index <HASH>..<HASH> 100644 --- a/pybasex/basex_client.py +++ b/pybasex/basex_client.py @@ -100,7 +100,7 @@ class BaseXClient(object): return response def _check_response_tag(self, response_xml): - if response_xml.tag != '{http://base...
fixed compatibility with BaseX <I>
lucalianas_pyBaseX
train
py
d9f7ea0d79902e4fc6f1b823f7704e68b215438a
diff --git a/js/demo/demo.js b/js/demo/demo.js index <HASH>..<HASH> 100644 --- a/js/demo/demo.js +++ b/js/demo/demo.js @@ -132,7 +132,8 @@ $(function () { canvas: true, pixelRatio: window.devicePixelRatio, downsamplingRatio: 0.5, - orientation: true + orientation: true, + meta: true ...
Enable meta option for the demo. For browsers supporting automatic image orientation, setting `orientation:true` does not enable `meta:true` anymore.
blueimp_JavaScript-Load-Image
train
js
461c951fc94c83bcc65694160525a27506941a08
diff --git a/lib/scrape.js b/lib/scrape.js index <HASH>..<HASH> 100644 --- a/lib/scrape.js +++ b/lib/scrape.js @@ -129,11 +129,18 @@ var handleHtml = function(html, definition, url, cb) { // extract element var selector = element.selector; - var attribute = element.attribute || 'text'; + ...
add ability to process html and text with special attributes
ContentMine_quickscrape
train
js
671b77f64b1cc8190f987e71a670ecf1dcf29579
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup(name='pysrt', keywords = "SubRip srt subtitle", url = "http://github.com/byroot/pysrt", classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5...
let say that pysrt is now stable
byroot_pysrt
train
py
47f50bbe3e90235aebb5344ec61d8c6cde83aa3c
diff --git a/pdf/utils/receipt.py b/pdf/utils/receipt.py index <HASH>..<HASH> 100644 --- a/pdf/utils/receipt.py +++ b/pdf/utils/receipt.py @@ -1,6 +1,6 @@ import os from datetime import datetime -import PySimpleGUI as sg +from sys import modules class Receipt: @@ -9,13 +9,9 @@ class Receipt: self.use = ...
Modified library imports to only use PySimpleGUI if already installed
mrstephenneal_pdfconduit
train
py
395e962a18b618183b395e9d8f764e72abb2fab1
diff --git a/slacker/__init__.py b/slacker/__init__.py index <HASH>..<HASH> 100644 --- a/slacker/__init__.py +++ b/slacker/__init__.py @@ -264,13 +264,15 @@ class IM(BaseAPI): def list(self): return self.get('im.list') - def history(self, channel, latest=None, oldest=None, count=None): + def histo...
"inclusive" argument for im.history API.
os_slacker
train
py
bf926a44867e1cbffa1864aba7f0d66170094739
diff --git a/test/compatibility.js b/test/compatibility.js index <HASH>..<HASH> 100644 --- a/test/compatibility.js +++ b/test/compatibility.js @@ -240,6 +240,38 @@ describe("compatibility", function () { }); + describe("Object", function () { + + it("allows creating objects with a given prototype", f...
Test case for Object methods (WIP)
ArnaudBuchholz_gpf-js
train
js
fada7fc0dbaeaadd2a5610e33d5fcffecec5a2ac
diff --git a/spec/microspec/assert.rb b/spec/microspec/assert.rb index <HASH>..<HASH> 100644 --- a/spec/microspec/assert.rb +++ b/spec/microspec/assert.rb @@ -31,3 +31,7 @@ end spec do asserts(true).truthy? end + +spec do + asserts(false).falsey? +end
Pass if falsey predicate is true
Erol_microspec
train
rb