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 |
|---|---|---|---|---|---|
dbea8258711bcdcc3ddf620c7e2e9783ea19f00a | diff --git a/src/Composer/Command/SelfUpdateCommand.php b/src/Composer/Command/SelfUpdateCommand.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Command/SelfUpdateCommand.php
+++ b/src/Composer/Command/SelfUpdateCommand.php
@@ -93,7 +93,9 @@ EOT
$cacheDir = $config->get('cache-dir');
$rollbackDir =... | Raise a warning if current user and owner of deploy dir doesn't match | composer_composer | train | php |
865281f1878ebf0db59e6670b05596dfd8c2be16 | diff --git a/addon/index.js b/addon/index.js
index <HASH>..<HASH> 100644
--- a/addon/index.js
+++ b/addon/index.js
@@ -1,5 +1,5 @@
import { makeArray } from '@ember/array';
-import { computed } from '@ember/object';
+import { computed, get } from '@ember/object';
import filterByQuery from 'ember-cli-filter-by-query/u... | Make get compatible with @glimmer/component | lazybensch_ember-cli-filter-by-query | train | js |
940c7c9a3c655d2a09b098e84b261393fd350baa | diff --git a/lib/models/user.js b/lib/models/user.js
index <HASH>..<HASH> 100644
--- a/lib/models/user.js
+++ b/lib/models/user.js
@@ -67,6 +67,13 @@ var UserSchema = new mongoose.Schema({
type: Boolean,
default: true
},
+ preferences: {
+ dnt: {
+ type: Boolean,
+ default: false,
+ requ... | add preferences to the user model, and a dnt preference | storj_service-storage-models | train | js,js |
f390c6c7669ba49f6fcc4928d6e36a053bcc4ba5 | diff --git a/src/test/java/com/simpligility/maven/plugins/android/sample/MorseflashSampleIT.java b/src/test/java/com/simpligility/maven/plugins/android/sample/MorseflashSampleIT.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/simpligility/maven/plugins/android/sample/MorseflashSampleIT.java
+++ b/src/test/java... | Use support_test profile in Morseflash test | simpligility_android-maven-plugin | train | java |
c33c97c30356222ad67e5cd1f65c19797b45d687 | diff --git a/lib/logidze/version.rb b/lib/logidze/version.rb
index <HASH>..<HASH> 100644
--- a/lib/logidze/version.rb
+++ b/lib/logidze/version.rb
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module Logidze
- VERSION = "0.8.0"
+ VERSION = "0.8.1"
end | Bump logidze to <I> | palkan_logidze | train | rb |
d2fe603fcf9220d7be55dd465aa1ceb30d0b0c99 | diff --git a/lib/metadata/util/win32/Win32Software.rb b/lib/metadata/util/win32/Win32Software.rb
index <HASH>..<HASH> 100644
--- a/lib/metadata/util/win32/Win32Software.rb
+++ b/lib/metadata/util/win32/Win32Software.rb
@@ -154,10 +154,27 @@ module MiqWin32
hotfix = {}
reg_node.each_element do |e|
... | #<I> Fix for RollupFix within patch strings on windows VMs
(transferred from ManageIQ/manageiq-gems-pending@5f7ff<I>c<I>f8c<I>c0e<I>dfa6a) | ManageIQ_manageiq-smartstate | train | rb |
b99f2ae1e9cf2ec1e29cba4cf9c3d0b7714841df | diff --git a/vex/make.py b/vex/make.py
index <HASH>..<HASH> 100644
--- a/vex/make.py
+++ b/vex/make.py
@@ -1,5 +1,6 @@
import os
import sys
+import distutils.spawn
from vex.run import run
from vex import exceptions
@@ -45,6 +46,10 @@ def handle_make(environ, options, make_path):
ve = 'virtualenv'
ar... | use distutils.spawn.find_executable to resolve --python arg on win
vex isn't even processing the argument, so virtualenv itself is failing
here. This is a terrible workaround for the failures of Windows and
virtualenv to resolve arguments for convenience of Windows users.
Windows users should probably be used to speci... | sashahart_vex | train | py |
eff3a1d1498af46eb5970a2aee1e0a0bcbf51267 | diff --git a/django_mako_plus/__init__.py b/django_mako_plus/__init__.py
index <HASH>..<HASH> 100644
--- a/django_mako_plus/__init__.py
+++ b/django_mako_plus/__init__.py
@@ -5,5 +5,5 @@
# The version of DMP - used by sdist to publish to PyPI
-__version__ = '2.3.4'
+__version__ = '2.3.5' | better message on @view_function with multiple decorators | doconix_django-mako-plus | train | py |
e9b970d116dd37cb7ac6812ebbda758d34de79db | diff --git a/coupons/models.py b/coupons/models.py
index <HASH>..<HASH> 100644
--- a/coupons/models.py
+++ b/coupons/models.py
@@ -100,6 +100,13 @@ class Coupon(models.Model):
redeemed_at__isnull=False
).count() >= self.user_limit
+ @property
+ def redeemed_at(self):
+ try:
+ ... | implement a legacy redeemed_at method | byteweaver_django-coupons | train | py |
316d62e0f3da61a4eaa4840751e1d7b9081ea40c | diff --git a/c4r/__init__.py b/c4r/__init__.py
index <HASH>..<HASH> 100644
--- a/c4r/__init__.py
+++ b/c4r/__init__.py
@@ -1,2 +1,3 @@
from c4r.__main__ import *
from c4r.api import *
+from c4r.events import * | allow to use c4r.events from app.py | cloud4rpi_cloud4rpi | train | py |
882886cc0fa3d040110be910ac684b78f0a82c94 | diff --git a/src/ShopifyApp/resources/database/migrations/2020_01_29_230905_create_shops_table.php b/src/ShopifyApp/resources/database/migrations/2020_01_29_230905_create_shops_table.php
index <HASH>..<HASH> 100644
--- a/src/ShopifyApp/resources/database/migrations/2020_01_29_230905_create_shops_table.php
+++ b/src/Sho... | Added dropForeign and removed call to drop unused columns (#<I>)
shopify_domain and shopify_token were no longer used and dropForeign was needed to run a database refresh | ohmybrew_laravel-shopify | train | php |
9bd6f337adf8008de6891e1de1fd8e24f2526e7c | diff --git a/src/main/java/org/primefaces/model/DefaultStreamedContent.java b/src/main/java/org/primefaces/model/DefaultStreamedContent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/primefaces/model/DefaultStreamedContent.java
+++ b/src/main/java/org/primefaces/model/DefaultStreamedContent.java
@@ -24,8 +24,... | allow serializable for DefaultStreamedContent and SessionScoped beans | primefaces_primefaces | train | java |
06d18f1fea5a4445f48a59604f212e72a706c393 | diff --git a/collection.js b/collection.js
index <HASH>..<HASH> 100644
--- a/collection.js
+++ b/collection.js
@@ -32,7 +32,9 @@ function each(collection, iterator, context) {
}
} else {
for (i in collection) {
- iterator.call(context, collection[i], i);
+ if (collection.hasOwnProperty(i)) {
+ ... | [fix] Added missing hasOwn check | bigpipe_bigpipe.js | train | js |
c42354bb66a2a69c7215c5f7e0217d23b6210b58 | diff --git a/websocket/_core.py b/websocket/_core.py
index <HASH>..<HASH> 100644
--- a/websocket/_core.py
+++ b/websocket/_core.py
@@ -34,6 +34,7 @@ from ._handshake import *
from ._http import *
from ._logging import *
from ._socket import *
+from ._ssl_compat import *
from ._utils import *
__all__ = ['WebSocke... | Fixed issue #<I> with ssl import | websocket-client_websocket-client | train | py |
7b5f182198d0dab8efbee2f73138de7c760527f0 | diff --git a/src/Illuminate/Foundation/Testing/MakesHttpRequests.php b/src/Illuminate/Foundation/Testing/MakesHttpRequests.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Testing/MakesHttpRequests.php
+++ b/src/Illuminate/Foundation/Testing/MakesHttpRequests.php
@@ -642,6 +642,20 @@ trait MakesHttpReque... | Convenience function for assertSessionHas that matches new "see" syntax. | laravel_framework | train | php |
ddb1d61b4440e34edf5e1e281862332d38e8ba78 | diff --git a/comments-bundle/contao/Comments.php b/comments-bundle/contao/Comments.php
index <HASH>..<HASH> 100644
--- a/comments-bundle/contao/Comments.php
+++ b/comments-bundle/contao/Comments.php
@@ -66,8 +66,6 @@ class Comments extends Frontend
// Initialize the pagination menu
$objPagination = new Pagina... | [Comments] Refactoring the new template system so it works without setFormat() | contao_contao | train | php |
c4d5c9d548d3a0abce125c7cb216a46439d0a3e6 | diff --git a/ruby/command-t/controller.rb b/ruby/command-t/controller.rb
index <HASH>..<HASH> 100644
--- a/ruby/command-t/controller.rb
+++ b/ruby/command-t/controller.rb
@@ -95,11 +95,7 @@ module CommandT
def toggle_focus
@focus.unfocus # old focus
- if @focus == @prompt
- @focus = @match_win... | Use a ternary to make a more compact conditional | wincent_command-t | train | rb |
7c900f65855d85d8a24ca6072ab8612847fe99f6 | diff --git a/dark/graphics.py b/dark/graphics.py
index <HASH>..<HASH> 100644
--- a/dark/graphics.py
+++ b/dark/graphics.py
@@ -650,7 +650,7 @@ def alignmentPanelHTML(titlesAlignments, sortOn='maxScore',
sequences.
@param showOrfs: If C{True}, open reading frames will be displayed.
@raise TypeError: I... | Cleaned up code in graphics.py | acorg_dark-matter | train | py |
9ed960ffe576b307e63cd4a7f4c0c0a19791a58c | diff --git a/synapse/lib/cell.py b/synapse/lib/cell.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/cell.py
+++ b/synapse/lib/cell.py
@@ -106,7 +106,7 @@ class Cell(s_config.Configable, s_net.Link, SessBoss):
roots = self.vault.getRootCerts()
SessBoss.__init__(self, auth, roots)
- self.celli... | Add fully qualified class name in cell registration info. | vertexproject_synapse | train | py,py |
220b35ecaca7e1cc873bca23b29139af115000e2 | diff --git a/checkmgr/checkmgr.go b/checkmgr/checkmgr.go
index <HASH>..<HASH> 100644
--- a/checkmgr/checkmgr.go
+++ b/checkmgr/checkmgr.go
@@ -458,6 +458,11 @@ func (cm *CheckManager) GetSubmissionURL() (*Trap, error) {
return trap, nil
}
+ // api.circonus.com uses a public certificate
+ if u.Hostname() == "... | fix: if submission host is 'api.circonus.com' do not use private ca cert in tls | circonus-labs_circonus-gometrics | train | go |
d71fd9c52d83aaee4116d09ec8697acc8af9eb1f | diff --git a/store/src/main/java/com/buschmais/jqassistant/core/store/api/type/FileContainerDescriptor.java b/store/src/main/java/com/buschmais/jqassistant/core/store/api/type/FileContainerDescriptor.java
index <HASH>..<HASH> 100644
--- a/store/src/main/java/com/buschmais/jqassistant/core/store/api/type/FileContainerDe... | #<I> use lists instead of sets for CONTAINS relations for better write performance | buschmais_jqa-core-framework | train | java |
80a6dcbedde656eb708290b42798b3d3351694e2 | diff --git a/pipenv/cli/options.py b/pipenv/cli/options.py
index <HASH>..<HASH> 100644
--- a/pipenv/cli/options.py
+++ b/pipenv/cli/options.py
@@ -127,6 +127,7 @@ def skip_lock_option(f):
return value
return option("--skip-lock", is_flag=True, default=False, expose_value=False,
help=u... | add PIPENV_SKIP_LOCK envvar, and suitable doc | pypa_pipenv | train | py,py |
df53d06a441ca1a265d3d915b937ce86826ec0b6 | diff --git a/woven/project.py b/woven/project.py
index <HASH>..<HASH> 100644
--- a/woven/project.py
+++ b/woven/project.py
@@ -74,7 +74,7 @@ def deploy_project():
if env.verbosity:
print env.host,"DEPLOYING project", env.project_fullname
#Exclude a few things that we don't want deployed as part of th... | deploy_project now excludes local_settings | bretth_woven | train | py |
3acd93086177960e6b17dfc17ceac169a2402997 | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/util/ClassLoaderUtil.java b/flink-runtime/src/main/java/org/apache/flink/runtime/util/ClassLoaderUtil.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/util/ClassLoaderUtil.java
+++ b/flink-runtime/src/main/java/... | [FLINK-<I>][runtime] Adjust ClassLoaderUtils to Java 9
ClassLoaderUtil#getUserCodeClassLoaderInfo made an assumption that system classloaders were always URLClassLoaders, which no longer holds on Java9+. In this case it returned "no user code ClassLoader", but this would be confusing if it ever were printed at runtime... | apache_flink | train | java |
7497da232d46ce67a82b81a46124e4b7ee0a62c1 | diff --git a/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java b/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
@@ -545,7 +545,9 @@ publi... | [Java] Disconnect error counter on close of MediaDriver so counter value is preserved. | real-logic_aeron | train | java |
999fc32deb51cdacd2451f0ede4da0fd2edc08fa | diff --git a/test/test_commonsdowloader.py b/test/test_commonsdowloader.py
index <HASH>..<HASH> 100644
--- a/test/test_commonsdowloader.py
+++ b/test/test_commonsdowloader.py
@@ -30,6 +30,13 @@ class TestCommonsDownloaderOffline(unittest.TestCase):
output = thumbnaildownload.make_thumb_url(*input_value)
... | Add unittest for making thumb URL with an ampersand
With #6 symac fixed in ac3a<I>b a bug which prevented
the download when files had an ampersand character,
by encoding the filename.
Add unittest for this behaviour. | Commonists_CommonsDownloader | train | py |
2ff10ab35e924420a50257af3deddb4ec1717685 | diff --git a/lib/fog/cloudstack/models/compute/servers.rb b/lib/fog/cloudstack/models/compute/servers.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/cloudstack/models/compute/servers.rb
+++ b/lib/fog/cloudstack/models/compute/servers.rb
@@ -23,10 +23,8 @@ module Fog
def get(server_id)
servers = serv... | Consolidation suggested by Wesley Beary | fog_fog | train | rb |
65ea71ee69b44a25cbe507713d98a0a087b17ad6 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,12 +28,12 @@ def ignore_install(src, names):
def executor(cmd, cwd):
err = None
try:
- run = subprocess.run(cmd, cwd=cwd)
+ run = subprocess.call(cmd, cwd=cwd)
except Exception as e:
... | Add python <I> support | Aculeasis_rhvoice-wrapper-data | train | py |
4941d44b4abf4165c07b1193f57e660148903782 | diff --git a/ropetest/refactor/patchedasttest.py b/ropetest/refactor/patchedasttest.py
index <HASH>..<HASH> 100644
--- a/ropetest/refactor/patchedasttest.py
+++ b/ropetest/refactor/patchedasttest.py
@@ -579,7 +579,14 @@ class PatchedASTTest(unittest.TestCase):
'Call', ' ', 'if', ' ', 'Nam... | Skip test_set_node in PY<<I> (lacks set literals) | python-rope_rope | train | py |
76bc4216a4322f7e12c735582ff64b4723b53023 | diff --git a/api/client.go b/api/client.go
index <HASH>..<HASH> 100644
--- a/api/client.go
+++ b/api/client.go
@@ -121,7 +121,7 @@ type TLSConfig struct {
func DefaultConfig() *Config {
config := &Config{
Address: "https://127.0.0.1:8200",
- HttpClient: cleanhttp.DefaultClient(),
+ HttpClient: cleanhttp.Defa... | Use a pooled HTTP client for the Vault CLI (#<I>)
As the CLI client is initialized with a specific Vault address, is makes
sense to use the pooled HTTP client here. This will prevent setting up
new TCP sessions for each API call that the client needs to make. | hashicorp_vault | train | go |
3295b666b006fde7eea3d236a855ddaa068033ff | diff --git a/src/Common/Console/Command/Database/Migrate.php b/src/Common/Console/Command/Database/Migrate.php
index <HASH>..<HASH> 100644
--- a/src/Common/Console/Command/Database/Migrate.php
+++ b/src/Common/Console/Command/Database/Migrate.php
@@ -123,7 +123,7 @@ class Migrate extends Base
$oOutput-... | Rename method
Conflicts with a symfony method | nails_common | train | php |
3419c7db5ea42a7bbd32a942a9f49e9788f50384 | diff --git a/tests/VgngTest.php b/tests/VgngTest.php
index <HASH>..<HASH> 100644
--- a/tests/VgngTest.php
+++ b/tests/VgngTest.php
@@ -16,7 +16,7 @@ class VgngTest extends PHPUnit_Framework_TestCase
* @covers ::__construct
* @covers ::getName
*/
- public function getName()
+ public function getN... | Fix name of test so it doesn't conflict with PHPUnit. | nubs_random-name-generator | train | php |
1ce4a8cab6d30a29644d89637de87d1268dbc15f | diff --git a/structr-ui/src/main/resources/structr/js/schema.js b/structr-ui/src/main/resources/structr/js/schema.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/schema.js
+++ b/structr-ui/src/main/resources/structr/js/schema.js
@@ -3358,7 +3358,7 @@ let _Schema = {
};
// insert ... | Bugfix: Fixes bulk editing of global schema methods | structr_structr | train | js |
c7eb967a06b1430cb5f6f6cfd2dbbba83f8525d7 | diff --git a/plugins/publish.js b/plugins/publish.js
index <HASH>..<HASH> 100644
--- a/plugins/publish.js
+++ b/plugins/publish.js
@@ -146,11 +146,6 @@ exports.cli = function (db) {
},
{
type: 'del',
- prefix: db.sublevel('pkg').prefix(),
- key: name
- },
- {... | don't remove the entire package entry on queue removal | dominictarr_npmd | train | js |
73bdc376f1b556c8db9813e258410a0d3ad6f6e4 | diff --git a/src/main/java/io/github/bonigarcia/wdm/Server.java b/src/main/java/io/github/bonigarcia/wdm/Server.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/bonigarcia/wdm/Server.java
+++ b/src/main/java/io/github/bonigarcia/wdm/Server.java
@@ -30,7 +30,9 @@ import java.io.File;
import java.io.IOExce... | Iterate over the entrySet instead of the keySet | bonigarcia_webdrivermanager | train | java |
7c483399245ad3ae060b4b60860eea1da7e6132c | diff --git a/lib/dimples/post.rb b/lib/dimples/post.rb
index <HASH>..<HASH> 100644
--- a/lib/dimples/post.rb
+++ b/lib/dimples/post.rb
@@ -2,7 +2,7 @@ module Dimples
class Post
include Frontable
include Publishable
-
+
attr_accessor :path
attr_accessor :title
attr_accessor :template
@@ -... | Added the previous_post and next_post attr_accessors. | waferbaby_dimples | train | rb |
06962bff7cea25d0c631814c2e58a791937dae2a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -63,6 +63,7 @@ setup(
'networkx',
'django-celery',
'watchdog',
+ 'pympi-ling',
],
platforms=['OS Independent'],
license='Gnu Public License V2', | Add requirement to Pympi for Elan export | Parisson_TimeSide | train | py |
59d5d8e436f3346de7bd57beb817b038b38e4b9f | diff --git a/src/EvalFile_Command.php b/src/EvalFile_Command.php
index <HASH>..<HASH> 100644
--- a/src/EvalFile_Command.php
+++ b/src/EvalFile_Command.php
@@ -64,7 +64,7 @@ class EvalFile_Command extends WP_CLI_Command {
* Evaluate a provided file.
*
* @param string $file Filepath to execute, or - for STDIN.
-... | Improve wording of $args description | wp-cli_eval-command | train | php |
4dde0ac2b1e4efb257d475162de81ad89bc78386 | diff --git a/src/ol/renderer/webgl/webgltilelayerrenderer.js b/src/ol/renderer/webgl/webgltilelayerrenderer.js
index <HASH>..<HASH> 100644
--- a/src/ol/renderer/webgl/webgltilelayerrenderer.js
+++ b/src/ol/renderer/webgl/webgltilelayerrenderer.js
@@ -277,9 +277,14 @@ ol.renderer.webgl.TileLayer.prototype.getTexture = f... | Remove tile change listeners when they have fired, thanks @fredj | openlayers_openlayers | train | js |
4b4ffa5c7578e74bc495bba8dc3028c7fb0ce49a | diff --git a/lib/celluloid/actor.rb b/lib/celluloid/actor.rb
index <HASH>..<HASH> 100644
--- a/lib/celluloid/actor.rb
+++ b/lib/celluloid/actor.rb
@@ -149,17 +149,7 @@ module Celluloid
def run
begin
while @running
- begin
- message = @mailbox.receive(timeout)
- rescue E... | Factor system event handling into handle_system_event | celluloid_celluloid | train | rb |
46ab9bf66146b0edc6afcfaee30af81eb5143257 | diff --git a/test/test_line.rb b/test/test_line.rb
index <HASH>..<HASH> 100644
--- a/test/test_line.rb
+++ b/test/test_line.rb
@@ -576,8 +576,9 @@ class TestGruffLine < GruffTestCase
g = setup_basic_graph('800x400')
g.title = 'Line Chart WEBP'
g.write('line_webp.webp')
- rescue Magick::ImagagickError
- ... | * Dump exception class to see what is failing on MRI/RBX on Travis-CI. | topfunky_gruff | train | rb |
53bbb0a9695aa3ae704f79e105843a16dae25e42 | diff --git a/source/Application/Controller/AccountController.php b/source/Application/Controller/AccountController.php
index <HASH>..<HASH> 100644
--- a/source/Application/Controller/AccountController.php
+++ b/source/Application/Controller/AccountController.php
@@ -203,7 +203,7 @@ class AccountController extends \oxUB... | ESDEV-<I> delete guestbook from phpdoc
The guestbook is listed in some phpdocs as example for the functionality. Remove it from there. | OXID-eSales_oxideshop_ce | train | php,php |
627761df160a170daca9f13f32477e4350ff0030 | diff --git a/bundle/DependencyInjection/NetgenLayoutsStandardExtension.php b/bundle/DependencyInjection/NetgenLayoutsStandardExtension.php
index <HASH>..<HASH> 100644
--- a/bundle/DependencyInjection/NetgenLayoutsStandardExtension.php
+++ b/bundle/DependencyInjection/NetgenLayoutsStandardExtension.php
@@ -42,7 +42,7 @@... | Replace usage of deprecated getShortCommitHash method | netgen-layouts_layouts-standard | train | php |
6fa3d6459c05c61379c5b928f100a6346b86bb80 | diff --git a/src/Utils/Html.php b/src/Utils/Html.php
index <HASH>..<HASH> 100644
--- a/src/Utils/Html.php
+++ b/src/Utils/Html.php
@@ -1853,7 +1853,9 @@ class Html
<h3 id='{$modal_id}Label'>$data[header]</h3>
</div>
<div class='modal-body'>
+ <p>$data[before]</p>
<p>$data[html]</p... | Html::modal - added extra content support | rozdol_bi | train | php |
e8fadc8af6895c3fdc3112ca127a995690347034 | diff --git a/plop/test/collector_test.py b/plop/test/collector_test.py
index <HASH>..<HASH> 100644
--- a/plop/test/collector_test.py
+++ b/plop/test/collector_test.py
@@ -45,7 +45,7 @@ class CollectorTest(unittest.TestCase):
c(time.time() + 0.1)
def c(end):
while time.time() < end: pa... | ITIMER_PROF seems to be more reliable than ITIMER_VIRTUAL here. | bdarnell_plop | train | py |
42efa0ef5167744b9218f385427ced37541a7421 | diff --git a/easyaudit/signals.py b/easyaudit/signals.py
index <HASH>..<HASH> 100644
--- a/easyaudit/signals.py
+++ b/easyaudit/signals.py
@@ -69,7 +69,11 @@ def post_delete(sender, instance, using, **kwargs):
object_json_repr = serializers.serialize("json", [instance])
# user
- user = EasyAu... | Handling exception when request == None | soynatan_django-easy-audit | train | py |
5e1be5bb8aecf2f0e6febee1b42277a87bdb4944 | diff --git a/snippets/async-message-without-race-condition/src/test/java/com/camunda/consulting/ConditionalEventProcessTests.java b/snippets/async-message-without-race-condition/src/test/java/com/camunda/consulting/ConditionalEventProcessTests.java
index <HASH>..<HASH> 100644
--- a/snippets/async-message-without-race-c... | snippets/async-message-without-race-condition: adjusted comment | camunda-consulting_code | train | java |
6e9a40e2707c1f07d998d3f2d69af2636e864fc0 | diff --git a/spec/active_interaction/concerns/active_recordable_spec.rb b/spec/active_interaction/concerns/active_recordable_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/active_interaction/concerns/active_recordable_spec.rb
+++ b/spec/active_interaction/concerns/active_recordable_spec.rb
@@ -2,14 +2,14 @@
require ... | Don't redefine a test class | AaronLasseigne_active_interaction | train | rb |
4cac852fc32448fdf878977cbc073ba0ee4db12c | diff --git a/src/app/Forms/Builders/PersonForm.php b/src/app/Forms/Builders/PersonForm.php
index <HASH>..<HASH> 100644
--- a/src/app/Forms/Builders/PersonForm.php
+++ b/src/app/Forms/Builders/PersonForm.php
@@ -42,6 +42,6 @@ class PersonForm
return $file && \File::exists($templatePath)
? $templa... | changes self to static in Form / Table constant calls | laravel-enso_People | train | php,php |
ce68fe12648628483a53eed321ced49df3260d4e | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -45,7 +45,6 @@ gulp.task('images', function () {
interlaced: true
})))
.pipe(gulp.dest('dist/images'))
- .pipe(reload({stream: true, once: true}))
.pipe($.size({title: 'images'}));
}); | Remove reload from the images task | material-components_material-components-web | train | js |
6c745eeed0afde54b990c3187a78c311bd52b5a2 | diff --git a/sockjs/tornado/basehandler.py b/sockjs/tornado/basehandler.py
index <HASH>..<HASH> 100644
--- a/sockjs/tornado/basehandler.py
+++ b/sockjs/tornado/basehandler.py
@@ -116,11 +116,6 @@ class PreflightHandler(BaseHandler):
def preflight(self):
"""Handles request authentication"""
origin... | Do not reply with Allow-Origin '*' for null Origin
Otherwise local files do not work because of CORS issues, see <URL> | mrjoes_sockjs-tornado | train | py |
459707b325c1c2c96e1b03f2ddce89118a45b60a | diff --git a/test/servers/rails_3205.rb b/test/servers/rails_3205.rb
index <HASH>..<HASH> 100644
--- a/test/servers/rails_3205.rb
+++ b/test/servers/rails_3205.rb
@@ -41,7 +41,11 @@ end
class TestController < ActionController::Base
def world
- render :text => "Hello test world!"
+ if ::Rails::VERSION::MAJOR... | Add version check to deterimine use of render options. | instana_ruby-sensor | train | rb |
e1d25d0468afd3de36b893105b9ba0055159a0b3 | diff --git a/pyked/validation.py b/pyked/validation.py
index <HASH>..<HASH> 100644
--- a/pyked/validation.py
+++ b/pyked/validation.py
@@ -167,7 +167,8 @@ class OurValidator(Validator):
# This len check is necessary for reasons that aren't quite clear to me
# Cerberus calls this validation method ev... | :ambulance: is not is not the same as !=
Using is not was causing the units of relative uncertainties to be checked incorrectly | pr-omethe-us_PyKED | train | py |
e0ada7d436a2419af1d51ac6fe71f1b6c1172249 | diff --git a/opal/clearwater/memoized_component.rb b/opal/clearwater/memoized_component.rb
index <HASH>..<HASH> 100644
--- a/opal/clearwater/memoized_component.rb
+++ b/opal/clearwater/memoized_component.rb
@@ -23,6 +23,10 @@ module Clearwater
def destroy
end
+ def render
+ div
+ end
+
class... | Allow MemoizedComponent to omit render
We allow it for Component, might as well allow it for MemoizedComponent
to keep weird errors at bay. | clearwater-rb_clearwater | train | rb |
cc70e6d668789784e63f098091f51779b425a0c1 | diff --git a/pulsar/client/interface.py b/pulsar/client/interface.py
index <HASH>..<HASH> 100644
--- a/pulsar/client/interface.py
+++ b/pulsar/client/interface.py
@@ -3,14 +3,12 @@ from abc import abstractmethod
from string import Template
from six import BytesIO
+from six.moves.urllib.parse import urlencode
+from ... | Include managers/<manager_name> in HttpPulsarInterface url.
If manager name was specified in the destination parameters, include the
managers/<manager_name> route in the url. | galaxyproject_pulsar | train | py |
65920dd8466023e0cb7b2b5c8f178623dbbb1ce9 | diff --git a/src/org/dita/dost/reader/MergeMapParser.java b/src/org/dita/dost/reader/MergeMapParser.java
index <HASH>..<HASH> 100644
--- a/src/org/dita/dost/reader/MergeMapParser.java
+++ b/src/org/dita/dost/reader/MergeMapParser.java
@@ -117,6 +117,7 @@ public class MergeMapParser extends AbstractXMLReader {
St... | fix bug # <I> Image referenced in map is not found, topicmerge breaks | dita-ot_dita-ot | train | java |
dd5c87337d762c29246251313a038b889ea6bfb9 | diff --git a/test/benchmarks/filterProxies.js b/test/benchmarks/filterProxies.js
index <HASH>..<HASH> 100644
--- a/test/benchmarks/filterProxies.js
+++ b/test/benchmarks/filterProxies.js
@@ -16,19 +16,17 @@ describe('benchmark: filterProxies', function() {
};
var preparedOptions = ProxyLists.prepareOptions(option... | Don't require a minimum ops/seconds as it varies a lot. | chill117_proxy-lists | train | js |
f36304fef3dfc910a5f414ff551821077bee18f3 | diff --git a/gitenberg/push.py b/gitenberg/push.py
index <HASH>..<HASH> 100644
--- a/gitenberg/push.py
+++ b/gitenberg/push.py
@@ -4,7 +4,9 @@
Syncs a local git book repo to a remote git repo (by default, github)
"""
+import logging
from re import sub
+import time
import github3
import sh
@@ -71,4 +73,9 @@ cla... | handles github not being ready for new repo pushes | gitenberg-dev_gitberg | train | py |
e4a56f90792450ace8cfe842e4478f3d70c15e0f | diff --git a/clustergrammer_widget/clustergrammer/__init__.py b/clustergrammer_widget/clustergrammer/__init__.py
index <HASH>..<HASH> 100644
--- a/clustergrammer_widget/clustergrammer/__init__.py
+++ b/clustergrammer_widget/clustergrammer/__init__.py
@@ -18,7 +18,7 @@ from . import categories
class Network(object):
... | using latest PY version <I> with file_string load and improved false category coloring | ismms-himc_clustergrammer2 | train | py,py |
b4c9580bd6dee7d5e39b901df29eb79594b22fbb | diff --git a/ddl/ddl_tiflash_api.go b/ddl/ddl_tiflash_api.go
index <HASH>..<HASH> 100644
--- a/ddl/ddl_tiflash_api.go
+++ b/ddl/ddl_tiflash_api.go
@@ -343,7 +343,7 @@ func updateTiFlashStores(pollTiFlashContext *TiFlashManagementContext) error {
}
}
}
- logutil.BgLogger().Info("updateTiFlashStores finished", z... | ddl: eliminate too much updateTiFlashStores logs (#<I>)
close pingcap/tidb#<I> | pingcap_tidb | train | go |
b5d138a6057ada57aa2e6a38913959615d74c27b | diff --git a/src/main/java/com/popbill/api/FlatRateState.java b/src/main/java/com/popbill/api/FlatRateState.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/popbill/api/FlatRateState.java
+++ b/src/main/java/com/popbill/api/FlatRateState.java
@@ -46,7 +46,7 @@ public class FlatRateState {
*
* @return 정액제... | fixed FlatRateState Class getter func name contractDT | linkhub-sdk_popbill.sdk.java | train | java |
3b7ff7e8e34664c0fc556e0ae19bdc3401ffafe2 | diff --git a/lib/feed2email/mail.rb b/lib/feed2email/mail.rb
index <HASH>..<HASH> 100644
--- a/lib/feed2email/mail.rb
+++ b/lib/feed2email/mail.rb
@@ -18,6 +18,9 @@ module Feed2Email
<h1><a href="%{uri}">%{title}</a></h1>
%{content}
<p><a href="%{uri}">%{uri}</a></p>
+ <p>--<br>
+ ... | Append feed2email signature to email body | agorf_feed2email | train | rb |
89a0625377eb187a9e70a11bd08744c81ec2022c | diff --git a/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityMesosSchedulerClient.java b/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityMesosSchedulerClient.java
index <HASH>..<HASH> 100644
--- a/SingularityService/src/main/java/com/hubspot/singularity/mesos/Singular... | buffer events back to mesos master | HubSpot_Singularity | train | java |
5217a0de1060266af2a8d53cd96c3919da35313c | diff --git a/src/txamqp/queue.py b/src/txamqp/queue.py
index <HASH>..<HASH> 100644
--- a/src/txamqp/queue.py
+++ b/src/txamqp/queue.py
@@ -11,6 +11,12 @@ class TimeoutDeferredQueue(DeferredQueue):
END = object()
+ def __init__(self, clock=None):
+ if clock is None:
+ from twisted.internet ... | Parametrize the reactor for easing tests. | txamqp_txamqp | train | py |
10925a3b3cffdbd9a96864b3dc4f9d1930846bc4 | diff --git a/library/CM/Image/Image.php b/library/CM/Image/Image.php
index <HASH>..<HASH> 100644
--- a/library/CM/Image/Image.php
+++ b/library/CM/Image/Image.php
@@ -158,8 +158,12 @@ class CM_Image_Image extends CM_File {
return $this;
}
+ /**
+ * @return $this
+ */
public function stri... | return $this in all non-getter functions | cargomedia_cm | train | php |
0d69c86af09bb150bc769fe8fd15d4475d4465c0 | diff --git a/lib/rets4r.rb b/lib/rets4r.rb
index <HASH>..<HASH> 100644
--- a/lib/rets4r.rb
+++ b/lib/rets4r.rb
@@ -2,6 +2,7 @@ module RETS4R # :nodoc:
VERSION = '1.1.18'
end
+require 'rets4r/auth'
require 'rets4r/client'
require 'rets4r/client/parsers/compact_nokogiri'
require 'rets4r/listing_mapper' | re-adding a require for 'rets4r/auth', this was causing errors on <I> for me. adding the line fixed it | josephholsten_rets4r | train | rb |
3292f99d67c5138d0df43c8b1e41aeadb720a14f | diff --git a/Neos.Flow/Classes/Property/TypeConverter/DenormalizingObjectConverter.php b/Neos.Flow/Classes/Property/TypeConverter/DenormalizingObjectConverter.php
index <HASH>..<HASH> 100644
--- a/Neos.Flow/Classes/Property/TypeConverter/DenormalizingObjectConverter.php
+++ b/Neos.Flow/Classes/Property/TypeConverter/De... | Synchronize expected named constructor method names wit future normalizers | neos_flow-development-collection | train | php |
356ca6838ce8b12af3f2c156a5bee54a4ce1dae1 | diff --git a/lib/transforms/bundleRequireJs.js b/lib/transforms/bundleRequireJs.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/bundleRequireJs.js
+++ b/lib/transforms/bundleRequireJs.js
@@ -35,6 +35,9 @@ module.exports = function (queryObj) {
}
assetGraph.eachAssetPostOrder(star... | bundleRequireJs transform: Skip assets that haven't been loaded. | assetgraph_assetgraph | train | js |
3bec3c461c722675b9a4d6c503a57811d4b3d321 | diff --git a/lib/common/models/servicepropertiesresult.js b/lib/common/models/servicepropertiesresult.js
index <HASH>..<HASH> 100644
--- a/lib/common/models/servicepropertiesresult.js
+++ b/lib/common/models/servicepropertiesresult.js
@@ -121,17 +121,19 @@ function serializeMetrics(doc, metrics){
.up();
}
-... | When disabling service metrics, do NOT send the IncludeAPIs and RetentionPolicy as it's not required | Azure_azure-storage-node | train | js |
9db0a1fda3a80b755cc0fbca77351e9d3034dd19 | diff --git a/core-bundle/contao/dca/tl_layout.php b/core-bundle/contao/dca/tl_layout.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/dca/tl_layout.php
+++ b/core-bundle/contao/dca/tl_layout.php
@@ -536,6 +536,11 @@ class tl_layout extends Backend
*/
public function getNewsfeeds()
{
+ if (!in_array('new... | [Core] Handle the case if the news and/or calendar module is disabled in the page layout module (see #<I>) | contao_contao | train | php |
f5fcd7b1442921df767c012d64da394bfb123762 | diff --git a/test/node/unit/request.js b/test/node/unit/request.js
index <HASH>..<HASH> 100644
--- a/test/node/unit/request.js
+++ b/test/node/unit/request.js
@@ -9,7 +9,7 @@ describe('corbel-js node', function() {
var sandbox;
- this.timeout(4000);
+ this.timeout(20000);
beforeEach(function() {
... | increased timeout to prevent random failures in jenkin jobs
Change-Id: I6b8d2fe7ea<I>bccfd<I>a<I>b<I>a0e<I>a | bq_corbel-js | train | js |
c0518fd220589a685f545f83af3ca86bcd8b0d86 | diff --git a/session/keep_alive.go b/session/keep_alive.go
index <HASH>..<HASH> 100644
--- a/session/keep_alive.go
+++ b/session/keep_alive.go
@@ -114,10 +114,9 @@ func (k *keepAlive) RoundTrip(ctx context.Context, req, res soap.HasFault) error
if err != nil {
return err
}
-
// Start ticker on login, stop tick... | Add LoginByToken to session KeepAliveHandler
This change is adding LoginByTokenBody to RoundTrip method which enables
session.KeepAlive to maintain a persistent session with VC using token based
login.
Fixes #<I> | vmware_govmomi | train | go |
2de3b131ad569f726bbfd09948d5d439cb6d9fcc | diff --git a/src/RunOpenCode/Sax/Handler/AbstractSaxHandler.php b/src/RunOpenCode/Sax/Handler/AbstractSaxHandler.php
index <HASH>..<HASH> 100644
--- a/src/RunOpenCode/Sax/Handler/AbstractSaxHandler.php
+++ b/src/RunOpenCode/Sax/Handler/AbstractSaxHandler.php
@@ -44,27 +44,21 @@ abstract class AbstractSaxHandler impleme... | Removed exc. handling to allow error handler to catch those. | RunOpenCode_sax | train | php |
6fca0f31f14db4e8b73a6c1d89afd16d51e6b6f3 | diff --git a/activesupport/lib/active_support/notifications/instrumenter.rb b/activesupport/lib/active_support/notifications/instrumenter.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/notifications/instrumenter.rb
+++ b/activesupport/lib/active_support/notifications/instrumenter.rb
@@ -55,13 +55... | Try calling clock_gettime rather than testing the platform
Windows may get support for this in the future, so we should just call
the method and see if it works. If it works, we'll define a method that
uses it, if it doesn't, then define a method that doesn't use it | rails_rails | train | rb |
fd9812c06b6339e0844f5f9795276ebff83d85dd | diff --git a/ExRouter.js b/ExRouter.js
index <HASH>..<HASH> 100644
--- a/ExRouter.js
+++ b/ExRouter.js
@@ -263,7 +263,7 @@ export default class ExRouter extends React.Component {
<ExNavigator ref="nav" initialRouteStack={router.stack.map(route => new ExRouteAdapter(router.routes[route]))}
... | Add navigationStyles to ExNavigationBar. Fixes aksonov/react-native-router-flux#<I> | aksonov_react-native-router-flux | train | js |
2cf15ba59f5fe0e2a2a20d88b10a18714974ee75 | diff --git a/Tests/Liip/Drupal/Modules/Registry/Lucene/ElasticsearchTest.php b/Tests/Liip/Drupal/Modules/Registry/Lucene/ElasticsearchTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Liip/Drupal/Modules/Registry/Lucene/ElasticsearchTest.php
+++ b/Tests/Liip/Drupal/Modules/Registry/Lucene/ElasticsearchTest.php
@@ -66,4 ... | Tested: added a verification to determine if the given options array is valid | liip_LiipDrupalRegistryModule | train | php |
7d2161c0ab115142bfc1fe287c50c55d7da96cdd | diff --git a/rdfunit-webdemo/src/main/java/org/aksw/rdfunit/webdemo/view/TestExecutionView.java b/rdfunit-webdemo/src/main/java/org/aksw/rdfunit/webdemo/view/TestExecutionView.java
index <HASH>..<HASH> 100644
--- a/rdfunit-webdemo/src/main/java/org/aksw/rdfunit/webdemo/view/TestExecutionView.java
+++ b/rdfunit-webdemo/... | fix webdemo (again) | AKSW_RDFUnit | train | java |
f8bc0f2dd43e981bd7ecd77504135d052d616b83 | diff --git a/lib/processing-file.js b/lib/processing-file.js
index <HASH>..<HASH> 100644
--- a/lib/processing-file.js
+++ b/lib/processing-file.js
@@ -12,6 +12,7 @@
fArr = filename.split( fs.separator );
this.filename = fArr.pop();
this.pathdir = fArr.join( fs.separator );
+ this.uri = "file:///" + fArr.join... | use a URI for local files
Phantom doesn't like windows paths in `page.open` so we must use
a `file:///` URI.
Fixes #<I> | filamentgroup_svg-to-png | train | js,js |
7705dda6dbe58b6ee19909a3150653430cd6cadb | diff --git a/cyclops-base/src/test/java/com/aol/cyclops/lambda/monads/MonadTest.java b/cyclops-base/src/test/java/com/aol/cyclops/lambda/monads/MonadTest.java
index <HASH>..<HASH> 100644
--- a/cyclops-base/src/test/java/com/aol/cyclops/lambda/monads/MonadTest.java
+++ b/cyclops-base/src/test/java/com/aol/cyclops/lambda... | improved type safety, refactor AnyM into TraversableM and AnyM | aol_cyclops | train | java |
ea081505515311ca4b90d2085ef145f51eb0469a | diff --git a/api/src/main/java/io/grpc/ManagedChannelBuilder.java b/api/src/main/java/io/grpc/ManagedChannelBuilder.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/io/grpc/ManagedChannelBuilder.java
+++ b/api/src/main/java/io/grpc/ManagedChannelBuilder.java
@@ -468,7 +468,7 @@ public abstract class ManagedChan... | doc: Update javadoc that hedging is supported | grpc_grpc-java | train | java |
ac29154acba36d9245e2186e74517ec1cdbee33a | diff --git a/kmapper/cover.py b/kmapper/cover.py
index <HASH>..<HASH> 100644
--- a/kmapper/cover.py
+++ b/kmapper/cover.py
@@ -115,7 +115,7 @@ class CoverBounds(Cover):
If a value is set to np.float('inf'), the bound will be assumed to be the min/max value of the dimension
Instead, if limits =... | Bug fix in init caused by rushing PEP8 | scikit-tda_kepler-mapper | train | py |
1850c677e50beffe0cf40961379a5959190dfacb | diff --git a/jamo.go b/jamo.go
index <HASH>..<HASH> 100644
--- a/jamo.go
+++ b/jamo.go
@@ -64,6 +64,7 @@ var multiElements = map[rune][]rune{
// Split multi-element compatibility jamo
func SplitMultiElement(r rune) ([]rune, bool) {
+ r = CompatJamo(r)
es, ok := multiElements[r]
return es, ok
} | SplitMultiElement: fixed to conver given rune to compat jamo | suapapa_go_hangul | train | go |
318484d7378d9ae4c6eade6933115bb46f21431b | diff --git a/core/server/api/canary/config.js b/core/server/api/canary/config.js
index <HASH>..<HASH> 100644
--- a/core/server/api/canary/config.js
+++ b/core/server/api/canary/config.js
@@ -9,7 +9,8 @@ module.exports = {
read: {
permissions: false,
query() {
- return {
+ co... | Read billing url from config and add to API
no issue | TryGhost_Ghost | train | js |
59d183b3b01566213aea87714aa08c338ad5de77 | diff --git a/modules/backend/behaviors/ReorderController.php b/modules/backend/behaviors/ReorderController.php
index <HASH>..<HASH> 100644
--- a/modules/backend/behaviors/ReorderController.php
+++ b/modules/backend/behaviors/ReorderController.php
@@ -214,7 +214,10 @@ class ReorderController extends ControllerBehavior
... | Add Sortable Behavior to ReorderController validateModel (#<I>)
Checks for the newly added Sortable Behavior as well as the existing Sortable Trait. See <URL> | octobercms_october | train | php |
5ca211b9f736e0f17c153d70adc7e5a444d12483 | diff --git a/test/test_blob.rb b/test/test_blob.rb
index <HASH>..<HASH> 100644
--- a/test/test_blob.rb
+++ b/test/test_blob.rb
@@ -277,7 +277,7 @@ class TestBlob < Test::Unit::TestCase
# 'thirdparty' directory
assert blob("thirdparty/lib/main.c").vendored?
-
+
# 'extern(al)' directory
assert b... | Adding test for Normalize.css | github_linguist | train | rb |
e79ccf3f4c939d6fb56e3b1fadf52e2e5e41193b | diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/help.py
+++ b/discord/ext/commands/help.py
@@ -157,7 +157,7 @@ class Paginator:
def pages(self):
"""Returns the rendered list of pages."""
# we have more than just the p... | [commands] check if prefix is None in .pages | Rapptz_discord.py | train | py |
f8e272acaf4780126844d710904e892222436c9a | diff --git a/core/src/test/java/io/undertow/testutils/DefaultServer.java b/core/src/test/java/io/undertow/testutils/DefaultServer.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/io/undertow/testutils/DefaultServer.java
+++ b/core/src/test/java/io/undertow/testutils/DefaultServer.java
@@ -199,7 +199,7 @@ publi... | Use TLS<I> for the client context in tests | undertow-io_undertow | train | java |
d44cf035a297f97a1fda434e9363eba11af8d2c1 | diff --git a/fastjsonschema/generator.py b/fastjsonschema/generator.py
index <HASH>..<HASH> 100644
--- a/fastjsonschema/generator.py
+++ b/fastjsonschema/generator.py
@@ -213,7 +213,7 @@ class CodeGenerator:
self.l('func({variable})')
else:
#TODO: Create more functions for any ref and... | #8 Raise exception instead of silent pass | horejsek_python-fastjsonschema | train | py |
415e6c8b3ff6d97682a3ce6052d08d8884931669 | 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
@@ -16,4 +16,9 @@ RSpec.configure do |config|
mocks_config.verify_doubled_constant_names = true
mocks_config.verify_partial_doubles = true
end
+
+ config.before do
+ lo... | Stub logger for all tests. | litaio_lita | train | rb |
c8b2bc8bc41e1922db8be590ac52ef9ca74ed0a0 | diff --git a/sdk/src/main/java/org/openbaton/sdk/api/util/RestRequest.java b/sdk/src/main/java/org/openbaton/sdk/api/util/RestRequest.java
index <HASH>..<HASH> 100644
--- a/sdk/src/main/java/org/openbaton/sdk/api/util/RestRequest.java
+++ b/sdk/src/main/java/org/openbaton/sdk/api/util/RestRequest.java
@@ -88,7 +88,7 @@... | Fix: Extend the timeout for a connection to <I> seconds
Sometimes the former <I> seconds timeout was too short to upload for example a Vim Instance to the NFVO. | openbaton_openbaton-client | train | java |
9f71ac6ad62f988acc6e7adfd4b8cc29c615dad5 | diff --git a/master/buildbot/scripts/start.py b/master/buildbot/scripts/start.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/scripts/start.py
+++ b/master/buildbot/scripts/start.py
@@ -47,7 +47,7 @@ class Follower:
print """
The buildmaster took more than 10 seconds to start, so we were unable to
c... | fix message when buildmaster takes too long to start up | buildbot_buildbot | train | py |
1a3696a21a0713bed9ec271ba14b3dc8deb7a791 | diff --git a/lib/pagseguro/payment_request.rb b/lib/pagseguro/payment_request.rb
index <HASH>..<HASH> 100644
--- a/lib/pagseguro/payment_request.rb
+++ b/lib/pagseguro/payment_request.rb
@@ -87,12 +87,14 @@ module PagSeguro
# Adds an extra parameter to payment request. It's useful when you need
# to send a pa... | Changes extra_params assignment to an attribute writer | pagseguro_ruby | train | rb |
f1e7385f16edee8d57dda753f45b9c922e620ed4 | diff --git a/lib/pdk/cli/exec.rb b/lib/pdk/cli/exec.rb
index <HASH>..<HASH> 100644
--- a/lib/pdk/cli/exec.rb
+++ b/lib/pdk/cli/exec.rb
@@ -55,6 +55,7 @@ module PDK
attr_reader :argv
attr_reader :context
attr_accessor :timeout
+ attr_accessor :environment
def initialize(*argv... | (MAINT) Add custom ENV var support to CLI::Exec::Command | puppetlabs_pdk | train | rb |
22248f57cdb46ead02e7dff627ba9b1413950a1a | diff --git a/tests/Cubex/CubexTest.php b/tests/Cubex/CubexTest.php
index <HASH>..<HASH> 100644
--- a/tests/Cubex/CubexTest.php
+++ b/tests/Cubex/CubexTest.php
@@ -199,6 +199,8 @@ class CubexTest extends PHPUnit_Framework_TestCase
public function testEnv()
{
+ putenv('CUBEX_ENV');
+
$cubex = new \Cubex\C... | Remove the enviroment incase it is set somewhere in the OS | cubex_framework | train | php |
488d689ce2ce4c04f88afcce9a9ec50d41356e39 | diff --git a/lib/chef_zero/data_normalizer.rb b/lib/chef_zero/data_normalizer.rb
index <HASH>..<HASH> 100644
--- a/lib/chef_zero/data_normalizer.rb
+++ b/lib/chef_zero/data_normalizer.rb
@@ -79,7 +79,7 @@ module ChefZero
# Sad to not be expanding defaults just because Chef doesn't :(
# cookbook['metada... | long_description is in fact supposed to be defaulted. | chef_chef-zero | train | rb |
b8e092a3766ebbc0f6784a204eead01297166d44 | diff --git a/runtime.js b/runtime.js
index <HASH>..<HASH> 100644
--- a/runtime.js
+++ b/runtime.js
@@ -467,7 +467,7 @@
return ContinueSentinel;
},
- complete: function(record) {
+ complete: function(record, afterLoc) {
if (record.type === "throw") {
throw record.arg;
}
@@ -478... | Allow finally blocks to complete normally.
Code emitted for try blocks contains a final jump to the initial location
of the finally block (if present), which of course requires modifying
context.next. Unless we set context.next back to the after-location of the
try statement (namely, the .afterLoc property of the fina... | facebook_regenerator | train | js |
c630e7ec2b645383224a4eae552a1fc8e56f2132 | diff --git a/examples/ultimate_schedule/ultimate.py b/examples/ultimate_schedule/ultimate.py
index <HASH>..<HASH> 100644
--- a/examples/ultimate_schedule/ultimate.py
+++ b/examples/ultimate_schedule/ultimate.py
@@ -77,6 +77,7 @@ def job8(): #-->fn to upload photos /auto_uploader
def run_threaded(job_fn):
job_thre... | Did't mean to edit this again. | instagrambot_instabot | train | py |
4377d8aa488c54578e72012646dd29714b78abe1 | diff --git a/stimela/cargo/cab/cubical/src/run.py b/stimela/cargo/cab/cubical/src/run.py
index <HASH>..<HASH> 100644
--- a/stimela/cargo/cab/cubical/src/run.py
+++ b/stimela/cargo/cab/cubical/src/run.py
@@ -34,7 +34,10 @@ except KeyError:
conf.read(parset[0])
if 'jones' in conf.options('sol'):
soljon... | Update cubical read jones chain
This should be the right way. Because in CubiCal, the user can set jones chain in the parset to either ['g', 'b', 'de'] or "g,b,de" for example. So the if statement should handle both cases. | SpheMakh_Stimela | train | py |
86dfcc9a9d24ab185f3929eaf24595417d8e0d0b | diff --git a/modules/social_features/social_event/src/Form/EventSettingsForm.php b/modules/social_features/social_event/src/Form/EventSettingsForm.php
index <HASH>..<HASH> 100644
--- a/modules/social_features/social_event/src/Form/EventSettingsForm.php
+++ b/modules/social_features/social_event/src/Form/EventSettingsFo... | Issue #<I> by bramtenhove: Remove request to enroll SM toggle | goalgorilla_open_social | train | php |
324ddf07331fdc4591b45bf0149f7a980e1cba0f | diff --git a/src/Container/src/Exception/CircularReferenceException.php b/src/Container/src/Exception/CircularReferenceException.php
index <HASH>..<HASH> 100644
--- a/src/Container/src/Exception/CircularReferenceException.php
+++ b/src/Container/src/Exception/CircularReferenceException.php
@@ -17,6 +17,8 @@ class Circu... | Container exception redundant reference chain duplication fixed. | venta_framework | train | php,php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.