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 |
|---|---|---|---|---|---|
e7269357d0ea3e33b163758ceae96ffc1454ad2f | diff --git a/app/components/validated-input-component.js b/app/components/validated-input-component.js
index <HASH>..<HASH> 100644
--- a/app/components/validated-input-component.js
+++ b/app/components/validated-input-component.js
@@ -5,17 +5,24 @@ App.ValidatedInputComponent = Ember.TextField.extend({
isValid: Em... | Issue #<I> - handle pressing 'enter' for forms | dollarshaveclub_ember-uni-form | train | js |
8937425c185cacfe100462013f23673426591e5f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -89,7 +89,7 @@ var phantomjsHtml = module.exports = {
var requestURL = domain + req.originalUrl;
requestURL = requestURL.replace(/(\?|&)_escaped_fragment_=?/,'');
-
+
phantomjsHtml.... | Replace hasOwnProperty with in for node v6. | wmcmurray_phantomjs-html | train | js |
df2a9b2fb3b35a0c6de8e7d18c2fea32aeb5ca4e | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -342,7 +342,6 @@ module.exports = function( grunt ) {
grunt.loadNpmTasks("grunt-saucelabs");
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.load... | Avoid loading unused Grunt tasks | petkaantonov_bluebird | train | js |
4e6ad2d6b91c46d256945467c836f935db7687b1 | diff --git a/lib/railsdav/renderer.rb b/lib/railsdav/renderer.rb
index <HASH>..<HASH> 100644
--- a/lib/railsdav/renderer.rb
+++ b/lib/railsdav/renderer.rb
@@ -139,7 +139,7 @@ module Railsdav
response_hash = {
:quota_used_bytes => 0,
:quota_available_bytes => 10.gigabytes,
- ... | Creation date is supposed to be in ISO <I> format.
Inconsistent and weird, I know. | wvk_railsdav | train | rb |
ca2b340022da28d9f580b57572fbd7de7b31a911 | diff --git a/lib/librarian/manifest_set.rb b/lib/librarian/manifest_set.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian/manifest_set.rb
+++ b/lib/librarian/manifest_set.rb
@@ -78,8 +78,10 @@ module Librarian
until names.empty?
name = names.shift
manifest = index.delete(name)
- manifes... | Fix an edge case where it was sending #dependencies to nil. | applicationsonline_librarian | train | rb |
728b5c6f2b1dd374ba1c8b1db6702248127bbdfa | diff --git a/lib/activerecord-multi-tenant/query_rewriter.rb b/lib/activerecord-multi-tenant/query_rewriter.rb
index <HASH>..<HASH> 100644
--- a/lib/activerecord-multi-tenant/query_rewriter.rb
+++ b/lib/activerecord-multi-tenant/query_rewriter.rb
@@ -31,6 +31,7 @@ module MultiTenant
@arel_node = arel_node
... | init discovering instance var in Context to false to fix warning | citusdata_activerecord-multi-tenant | train | rb |
79b02dd35ff99113395fb476deb2dab5c6b05b4b | diff --git a/src/client/voice/dispatcher/StreamDispatcher.js b/src/client/voice/dispatcher/StreamDispatcher.js
index <HASH>..<HASH> 100644
--- a/src/client/voice/dispatcher/StreamDispatcher.js
+++ b/src/client/voice/dispatcher/StreamDispatcher.js
@@ -140,7 +140,7 @@ class StreamDispatcher extends Writable {
if (!t... | voice: resolve "cb is not a function" error (#<I>) | discordjs_discord.js | train | js |
62e234ca01147a1dc918f73690d83402ddb050d8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -23,9 +23,9 @@ requirements = [
setup(
name='pipreqs',
version=__version__,
- description="Pip requirements.txt generator based on imports in project",
+ description='Pip requirements.txt generator based on im... | Use single quotes consistently in setup.py | bndr_pipreqs | train | py |
a05c54f2ca1128e95fc9aced9c7e7d3c16c22a78 | diff --git a/discoverd/server/store.go b/discoverd/server/store.go
index <HASH>..<HASH> 100644
--- a/discoverd/server/store.go
+++ b/discoverd/server/store.go
@@ -223,7 +223,7 @@ func (s *Store) Close() error {
}
}
if s.raft != nil {
- s.raft.Shutdown()
+ s.raft.Shutdown().Error()
s.raft = nil
}
if s.tr... | discoverd: Wait for Raft shutdown in Store.Close | flynn_flynn | train | go |
c800ae534c8a5019f69ee5ff3ff837c7ba037d5d | diff --git a/vm/vmExpr.go b/vm/vmExpr.go
index <HASH>..<HASH> 100644
--- a/vm/vmExpr.go
+++ b/vm/vmExpr.go
@@ -844,6 +844,9 @@ func invokeExpr(expr ast.Expr, env *Env) (reflect.Value, error) {
if err != nil {
return NilValue, NewError(expr, err)
}
+ if rt == nil {
+ return NilValue, NewStringError(expr, fm... | Updated MakeExpr, added nil type check | mattn_anko | train | go |
ef9551a7330aa77261a3a9074c8b7a99ac2b6690 | diff --git a/raiden/transfer/mediated_transfer/target.py b/raiden/transfer/mediated_transfer/target.py
index <HASH>..<HASH> 100644
--- a/raiden/transfer/mediated_transfer/target.py
+++ b/raiden/transfer/mediated_transfer/target.py
@@ -241,7 +241,7 @@ def handle_block(
channel_state.partner_state,
lock... | Fixed log message
When the lock has expired the message is None, appending it to the event
will result in the string `lock expired None`. | raiden-network_raiden | train | py |
a53a1e896d6a63350413c1da21240de3fc0260c9 | diff --git a/sumy/models/dom/_sentence.py b/sumy/models/dom/_sentence.py
index <HASH>..<HASH> 100644
--- a/sumy/models/dom/_sentence.py
+++ b/sumy/models/dom/_sentence.py
@@ -44,4 +44,7 @@ class Sentence(object):
return " ".join(self._words)
def __repr__(self):
- return to_string("<Sentence: %s>"... | Better string representation for sentence of DOM | miso-belica_sumy | train | py |
b2d7034c1c18f17ea4b7aa4e0ae0c53874efc77a | diff --git a/src/Sylius/Bundle/CoreBundle/OAuth/UserProvider.php b/src/Sylius/Bundle/CoreBundle/OAuth/UserProvider.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/CoreBundle/OAuth/UserProvider.php
+++ b/src/Sylius/Bundle/CoreBundle/OAuth/UserProvider.php
@@ -41,7 +41,8 @@ class UserProvider extends FOSUBUserPro... | [CoreBundle] OAuth provider should call parent class instead of direct assign | Sylius_Sylius | train | php |
ec90a96a9ad431a8d32fc7ced9ef46025637830d | diff --git a/bin/run.js b/bin/run.js
index <HASH>..<HASH> 100755
--- a/bin/run.js
+++ b/bin/run.js
@@ -111,10 +111,15 @@ function main () {
}
function constructDefaultArgs () {
+ var defaultTimeout = 30
+ if (global.__coverage__) {
+ defaultTimeout = 240
+ }
+
var defaultArgs = {
nodeArgs: [],
ny... | hard-code TAP_TIMEOUT in rcfiles test
Otherwise running with coverage fails, because of bigger default | tapjs_node-tap | train | js,js |
c4f58a70564e4eb1ba13a57b1874b89131a24d02 | diff --git a/Symfony/CS/AbstractPhpdocTypesFixer.php b/Symfony/CS/AbstractPhpdocTypesFixer.php
index <HASH>..<HASH> 100644
--- a/Symfony/CS/AbstractPhpdocTypesFixer.php
+++ b/Symfony/CS/AbstractPhpdocTypesFixer.php
@@ -97,7 +97,7 @@ abstract class AbstractPhpdocTypesFixer extends AbstractFixer
private function nor... | AbstractPhpdocTypesFixer - instance method should be called on instance | FriendsOfPHP_PHP-CS-Fixer | train | php |
79826b21a4bf417d86315739ffd376a1890bff39 | diff --git a/tests/test_data_cloud.py b/tests/test_data_cloud.py
index <HASH>..<HASH> 100644
--- a/tests/test_data_cloud.py
+++ b/tests/test_data_cloud.py
@@ -52,7 +52,7 @@ def _should_test_gcp():
try:
check_output(['gcloud', 'auth', 'activate-service-account',
'--key-fi... | test: gcp: handle FileNotFoundError | iterative_dvc | train | py |
026c6bbe1eed031954ccf9e27325f9d06a2233de | diff --git a/supermercado/scripts/cli.py b/supermercado/scripts/cli.py
index <HASH>..<HASH> 100644
--- a/supermercado/scripts/cli.py
+++ b/supermercado/scripts/cli.py
@@ -32,7 +32,7 @@ cli.add_command(edges)
@click.option('--parsenames', is_flag=True)
def union(inputtiles, parsenames):
"""
- Returns the union... | Update cli.py
Fix typo in supermercado/scripts/cli.py | mapbox_supermercado | train | py |
42f31dac5fd29038b69aac3b84ec8974cbe6cbd1 | diff --git a/lib/SearchEngine.js b/lib/SearchEngine.js
index <HASH>..<HASH> 100644
--- a/lib/SearchEngine.js
+++ b/lib/SearchEngine.js
@@ -5,6 +5,7 @@ module.exports = function (options) {
var SearchIndex = require('search-index');
var path = require('path');
+ var fs = require('extfs');
var prepa... | - added contract to check epub data folder is not empty
- added close() | larsvoigt_epub-full-text-search | train | js |
f40ec2563e71c613697c53bb4effb7ba05f60015 | diff --git a/spec/search_spec.rb b/spec/search_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/search_spec.rb
+++ b/spec/search_spec.rb
@@ -75,6 +75,15 @@ describe "Search" do
search.username.should be_nil
end
+ it "should use custom scopes before normalizing" do
+ User.create(:username => "bjo... | Added a failing test for existing scopes that share their names with column names being ignored. | binarylogic_searchlogic | train | rb |
6fdfed1d1c0ca3bc1f4bdf09d4b7fbc9067d6ad4 | diff --git a/app/models/artefact.rb b/app/models/artefact.rb
index <HASH>..<HASH> 100644
--- a/app/models/artefact.rb
+++ b/app/models/artefact.rb
@@ -82,6 +82,7 @@ class Artefact
"travel-advice-publisher" => ["travel-advice"],
"specialist-publisher" => ["aaib_report",
"c... | Add countryside stewardship grant
This format is published from Specialist Publisher initially just by
DEFRA editors and will be listed as a Finder. Ticket:
<URL> | alphagov_govuk_content_models | train | rb |
f0312c3de358ee034bf38afb521c90cda90149b2 | diff --git a/Kwc/Basic/Svg/Component.php b/Kwc/Basic/Svg/Component.php
index <HASH>..<HASH> 100644
--- a/Kwc/Basic/Svg/Component.php
+++ b/Kwc/Basic/Svg/Component.php
@@ -25,7 +25,10 @@ class Kwc_Basic_Svg_Component extends Kwc_Abstract
$ret['fileSource'] = file_get_contents($uploadRow->getFileSource()... | Support cdn also for SVG-Component | koala-framework_koala-framework | train | php |
1795b2821e0027bfb8c14923ff9eb88434b49859 | diff --git a/src/main/java/java/money/module-info.java b/src/main/java/java/money/module-info.java
index <HASH>..<HASH> 100644
--- a/src/main/java/java/money/module-info.java
+++ b/src/main/java/java/money/module-info.java
@@ -19,6 +19,7 @@ module java.money {
uses javax.money.spi.MonetaryAmountsSingletonQuerySpi;... | Add uses MonetaryCurrenciesSingletonSpi
Monetary.MONETARY_CURRENCIES_SINGLETON_SPI() tries to use ServiceLoader
for loading MonetaryCurrenciesSingletonSpi but it is not declared in
the module info.
This should fix <URL> | JavaMoney_jsr354-api | train | java |
7c880eb5cf71a4aa12221c7e314e47a64a4a467e | diff --git a/libkbfs/md_ops_concur_test.go b/libkbfs/md_ops_concur_test.go
index <HASH>..<HASH> 100644
--- a/libkbfs/md_ops_concur_test.go
+++ b/libkbfs/md_ops_concur_test.go
@@ -27,7 +27,6 @@ func (m *MDOpsConcurTest) GetForHandle(handle *DirHandle) (
}
func (m *MDOpsConcurTest) GetForTLF(id DirID) (*RootMetadata,... | md_ops_concur_test: remove debugging statement | keybase_client | train | go |
8773e9244d06221abd5090d3b1ef616a412d41c9 | diff --git a/addon/controllers/edit-form.js b/addon/controllers/edit-form.js
index <HASH>..<HASH> 100644
--- a/addon/controllers/edit-form.js
+++ b/addon/controllers/edit-form.js
@@ -284,17 +284,13 @@ export default Ember.Controller.extend(
* This method invokes by `resetController` in the `edit-form` route.
*
... | Refactor rollbackHasManyRelationships in edit-form | Flexberry_ember-flexberry | train | js |
fc08b8c3678b505e6745dbe065a107d31b15cf37 | diff --git a/src/MvcCore/Ext/Debugs/Tracy.php b/src/MvcCore/Ext/Debugs/Tracy.php
index <HASH>..<HASH> 100644
--- a/src/MvcCore/Ext/Debugs/Tracy.php
+++ b/src/MvcCore/Ext/Debugs/Tracy.php
@@ -183,7 +183,6 @@ namespace {
\Tracy\Dumper::DEBUGINFO => TRUE,
];
foreach ($args as $arg) {
-
if (... | updates for production dumping in cli | mvccore_ext-debug-tracy | train | php |
6d17e24565f631a8f99e42fb82e2a91e000ab749 | diff --git a/cli/environment-builder.js b/cli/environment-builder.js
index <HASH>..<HASH> 100644
--- a/cli/environment-builder.js
+++ b/cli/environment-builder.js
@@ -90,7 +90,7 @@ module.exports = class EnvironmentBuilder {
*/
_lookupJHipster() {
// Register jhipster generators.
- this.env.lookup({ pack... | Limit lookup to generators/*/index | jhipster_generator-jhipster | train | js |
44409eee500e72e78828d39fed0663c8140d920f | diff --git a/js/binance.js b/js/binance.js
index <HASH>..<HASH> 100644
--- a/js/binance.js
+++ b/js/binance.js
@@ -152,7 +152,7 @@ module.exports = class binance extends Exchange {
'userDataStream',
'futures/transfer',
// lending
- ... | binance.js minor edit/linting | ccxt_ccxt | train | js |
678c0d2eae183a669133b32c32e281c84eb1a90b | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -339,6 +339,29 @@ describe('Localization', function () {
payload.message.should.equal('No localization available for en-US');
});
+ it('allows other plugins to handle pre response', async () ... | Added test to verfify plugin returns with continue when language code is not found | funktionswerk_hapi-i18n | train | js |
e134e21b783a6fc5382959cb858a4bab53e04503 | diff --git a/lib/Predis.php b/lib/Predis.php
index <HASH>..<HASH> 100644
--- a/lib/Predis.php
+++ b/lib/Predis.php
@@ -646,16 +646,13 @@ class ResponseReader {
}
$prefix = $header[0];
- $payload = strlen($header) > 1 ? substr($header, 1) : '';
-
if (!isset($this->_prefixHandlers[$pr... | Remove a useless check for the payload length. | imcj_predis | train | php |
de2dad20d5c69197cec88d77196b0b3f739b2c88 | diff --git a/gns3server/modules/virtualbox/virtualbox_vm.py b/gns3server/modules/virtualbox/virtualbox_vm.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/virtualbox/virtualbox_vm.py
+++ b/gns3server/modules/virtualbox/virtualbox_vm.py
@@ -250,7 +250,7 @@ class VirtualBoxVM(BaseVM):
log.debug("S... | Renable sleep at Vbox exit bug seem to be back
Fix <URL> | GNS3_gns3-server | train | py |
acdd039dc6594c05cfcd56915b02c04265f7d461 | diff --git a/lib/torquespec/version.rb b/lib/torquespec/version.rb
index <HASH>..<HASH> 100644
--- a/lib/torquespec/version.rb
+++ b/lib/torquespec/version.rb
@@ -1,3 +1,3 @@
module TorqueSpec
- VERSION = "0.3.5"
+ VERSION = "0.3.6"
end | Cutting a release that supports injection better. | torquebox_torquespec | train | rb |
de4cfad0bafff49862b746ad1bd9dad1985c6d2e | diff --git a/context.go b/context.go
index <HASH>..<HASH> 100644
--- a/context.go
+++ b/context.go
@@ -68,7 +68,7 @@ const (
methods = "GET,PUT,POST,DELETE"
corsCType = "Content-Type, *"
trueStr = "true"
- jsonCT ... | context: support utf8 in JSON() responses | gramework_gramework | train | go |
ba07ef88f6f2e324d62c610b4a9a431cc1c13bb3 | diff --git a/libraries/lithium/tests/cases/template/helpers/FormTest.php b/libraries/lithium/tests/cases/template/helpers/FormTest.php
index <HASH>..<HASH> 100644
--- a/libraries/lithium/tests/cases/template/helpers/FormTest.php
+++ b/libraries/lithium/tests/cases/template/helpers/FormTest.php
@@ -46,6 +46,12 @@ class ... | adding tearDown to form to reset routes | UnionOfRAD_framework | train | php |
7c60cafd90aca59cbcefc62965747b3d05af7a62 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -22,6 +22,9 @@ module.exports = {
get UFDS() {
return require('./ufds');
},
+ get UFDS2() {
+ return require('./ufds2');
+ },
get Config() {
return require('./confi... | PUBAPI-<I>: Need to be able to use new UFDS including account users | joyent_node-sdc-clients | train | js |
1b1d483e5a84a60641a9924adc2f7db775c85368 | diff --git a/quandl/message.py b/quandl/message.py
index <HASH>..<HASH> 100644
--- a/quandl/message.py
+++ b/quandl/message.py
@@ -24,10 +24,10 @@ class Message:
WARN_DATA_LIMIT_EXCEEDED = 'This call exceeds the amount of data that quandl.get_table() allows. \
Please use the following link in your brows... | Fix two small typos. (#<I>) | quandl_quandl-python | train | py |
96dc568153de6b556b889d44b9421df48bedfa65 | diff --git a/djcelery_model/models.py b/djcelery_model/models.py
index <HASH>..<HASH> 100644
--- a/djcelery_model/models.py
+++ b/djcelery_model/models.py
@@ -1,8 +1,10 @@
# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
from django.db import models
from django.db.models import Q
from django.db.mode... | Simplify Python 2 and 3 unicode compatibility | mback2k_django-celery-model | train | py |
33368e9bad49c41424eef319a6b22e414d9cd9b2 | diff --git a/src/lib/widget.js b/src/lib/widget.js
index <HASH>..<HASH> 100644
--- a/src/lib/widget.js
+++ b/src/lib/widget.js
@@ -105,7 +105,8 @@ define(['./assets', './webfinger', './hardcoded', './wireClient', './sync', './s
'_content': 'This app allows you to use your own data storage!<br/>Click for more i... | give user address input type=email (refs #<I>) | remotestorage_remotestorage.js | train | js |
6a8859d19eaf1074bf73c02988c8363a78e7651e | diff --git a/client/state/google-my-business/actions.js b/client/state/google-my-business/actions.js
index <HASH>..<HASH> 100644
--- a/client/state/google-my-business/actions.js
+++ b/client/state/google-my-business/actions.js
@@ -45,8 +45,8 @@ export const disconnectGoogleMyBusinessLocation = siteId => dispatch => {
... | Send false to unset site settings properties instead of null | Automattic_wp-calypso | train | js |
ac0deea8340e3ab671f5a3f62d24a864f2e27cf5 | diff --git a/tests/pathops_test.py b/tests/pathops_test.py
index <HASH>..<HASH> 100644
--- a/tests/pathops_test.py
+++ b/tests/pathops_test.py
@@ -162,7 +162,9 @@ class OpBuilderTest(object):
('lineTo', ((5220.0, 4866.92333984375),)),
('lineTo', ((5316.0, 4590.0),)),
('closePath',... | Update expected test result for SkOpBuilder after updating skia library
not sure why this changed, i'll investigate another time | fonttools_skia-pathops | train | py |
6c19abeef643b0c026686f454fd4389973b7c0d2 | diff --git a/src/test/java/picocli/Demo.java b/src/test/java/picocli/Demo.java
index <HASH>..<HASH> 100644
--- a/src/test/java/picocli/Demo.java
+++ b/src/test/java/picocli/Demo.java
@@ -32,6 +32,9 @@ import java.util.concurrent.Callable;
/**
* Demonstrates picocli subcommands.
+ * <p>
+ * Banner ascii art thanks ... | Added link to Ascii art site; removed annotations on interface methods in Demo.java to allow compilation under Java 5. | remkop_picocli | train | java |
f2b57cef41db0155d5d0961e4252c0a37d32beb8 | diff --git a/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/RxHttp.java b/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/RxHttp.java
index <HASH>..<HASH> 100644
--- a/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/RxHttp.java
+++ b/spectator-nflx-plugin/src/main/java/com/... | set UseIpAddress default to false
In some cases such as calls from vpc
to classic the host name needs to
get used so it is the safer choice.
Use IP can be explicitly set on clients
that want to avoid the DNS lookup. | Netflix_spectator | train | java |
478d7b12355e65d2d7166cd872cbc90704f9d9c8 | diff --git a/lib/voice/streams/WebmOpusTransformer.js b/lib/voice/streams/WebmOpusTransformer.js
index <HASH>..<HASH> 100644
--- a/lib/voice/streams/WebmOpusTransformer.js
+++ b/lib/voice/streams/WebmOpusTransformer.js
@@ -15,7 +15,7 @@ const TAG_TYPE_TAG = 2;
const TRACKTYPE_AUDIO = 2; // EBML spec: https://www.mat... | Fix WebmOpusTransformer class name (#<I>) | abalabahaha_eris | train | js |
f0bc51f912079600d4895ed71d2a26689cef09b1 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -13,14 +13,15 @@ export default (env, options) => {
Object.keys(env).forEach(key => {
debug(`key "${key}" before type was ${typeof env[key]}`);
- env[key] = parseKey(env[key], key);
- debug(`key... | fix: added null condition check (closes #<I>) | niftylettuce_dotenv-parse-variables | train | js |
f95351cc6ecd06a7b6c6921b8f793d754cf7f524 | diff --git a/httprunner/testcase.py b/httprunner/testcase.py
index <HASH>..<HASH> 100644
--- a/httprunner/testcase.py
+++ b/httprunner/testcase.py
@@ -705,8 +705,13 @@ class TestcaseParser(object):
return self.functions[item_name]
try:
- return eval(item_name)
- ... | #<I>: add callable to check if it is function | HttpRunner_HttpRunner | train | py |
382582fcda7b107b180c0a5fb795ed62c9c91284 | diff --git a/hugolib/translations.go b/hugolib/translations.go
index <HASH>..<HASH> 100644
--- a/hugolib/translations.go
+++ b/hugolib/translations.go
@@ -69,5 +69,7 @@ func assignTranslationsToPages(allTranslations map[string]Translations, pages []
for _, translatedPage := range trans {
page.translations = appe... | node to page: Re-add translations sort of regular pages
Was removed by mistake.
Updates #<I> | gohugoio_hugo | train | go |
ad368799d362cb259a9ec0cb46d6311dddde0a24 | diff --git a/cobe/kvstore.py b/cobe/kvstore.py
index <HASH>..<HASH> 100644
--- a/cobe/kvstore.py
+++ b/cobe/kvstore.py
@@ -138,8 +138,12 @@ class SqliteStore(KVStore):
c.execute("PRAGMA cache_size=0")
c.execute("PRAGMA page_size=4096")
+ # Use write-ahead logging if it's available, otherwise ... | Use write-ahead logging in the SQLite store if it's available | pteichman_cobe | train | py |
17c2795139b425c3762440fa00f5ac0933544595 | diff --git a/internal/services/authorization/role_definition_resource.go b/internal/services/authorization/role_definition_resource.go
index <HASH>..<HASH> 100644
--- a/internal/services/authorization/role_definition_resource.go
+++ b/internal/services/authorization/role_definition_resource.go
@@ -388,8 +388,8 @@ func ... | Fix: The real updated time will be equal or after the requested time for azurerm_role_definition (#<I>)
#<I> | terraform-providers_terraform-provider-azurerm | train | go |
61f9ba0878d670666624ebcbb48a9b5a93a8f8ce | diff --git a/core/src/main/java/lucee/runtime/net/mail/MailUtil.java b/core/src/main/java/lucee/runtime/net/mail/MailUtil.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/lucee/runtime/net/mail/MailUtil.java
+++ b/core/src/main/java/lucee/runtime/net/mail/MailUtil.java
@@ -157,6 +157,7 @@ public final class Ma... | email domain must be LT <I> characters | lucee_Lucee | train | java |
9a691e98be4087e19900f666dd9044434cd98420 | diff --git a/library/CM/Elasticsearch/Type/Location.php b/library/CM/Elasticsearch/Type/Location.php
index <HASH>..<HASH> 100644
--- a/library/CM/Elasticsearch/Type/Location.php
+++ b/library/CM/Elasticsearch/Type/Location.php
@@ -2,8 +2,6 @@
class CM_Elasticsearch_Type_Location extends CM_Elasticsearch_Type_Abstrac... | revert source=true for location | cargomedia_cm | train | php |
3f1943c9701977ec706ffbd2d6753b953ae3cc51 | diff --git a/src/app/rocket/core/view/anglTemplate.html.php b/src/app/rocket/core/view/anglTemplate.html.php
index <HASH>..<HASH> 100644
--- a/src/app/rocket/core/view/anglTemplate.html.php
+++ b/src/app/rocket/core/view/anglTemplate.html.php
@@ -6,7 +6,7 @@ use n2n\core\N2N;
$view = HtmlView::view($this);
$html =... | ROCKET_DEV constant added | n2n_rocket | train | php |
bff132c4b20806bd8fba75ba4fd2ac94f848af0a | diff --git a/lib/yelp/burst_struct.rb b/lib/yelp/burst_struct.rb
index <HASH>..<HASH> 100644
--- a/lib/yelp/burst_struct.rb
+++ b/lib/yelp/burst_struct.rb
@@ -31,6 +31,10 @@ module BurstStruct
end
end
+ def to_json(options = {})
+ JSON.generate(@hash)
+ end
+
private
def return_or_b... | Add to_json method to properly deserialize the object | Yelp_yelp-ruby | train | rb |
dca5c6c3e1bf9590c66a86e13b0db995af3f63fb | diff --git a/src/PatternLab/KSSPlugin/Listener.php b/src/PatternLab/KSSPlugin/Listener.php
index <HASH>..<HASH> 100644
--- a/src/PatternLab/KSSPlugin/Listener.php
+++ b/src/PatternLab/KSSPlugin/Listener.php
@@ -22,7 +22,7 @@ class Listener extends \PatternLab\Listener {
*/
public function __construct() {
- $th... | hooking into a better timed event | pattern-lab_plugin-php-kss | train | php |
eb3f1abe21b472f29447fab406e3a3997e7c37c9 | diff --git a/lib/mail/message.rb b/lib/mail/message.rb
index <HASH>..<HASH> 100644
--- a/lib/mail/message.rb
+++ b/lib/mail/message.rb
@@ -1939,7 +1939,6 @@ module Mail
def add_required_fields
add_multipart_mixed_header unless !body.multipart?
- body = nil if body.nil?
ad... | Remove confusing no-op
This line previously always set the (unused) local variable body to nil.
I assume it meant to read `self.body = nil if body.nil?` however
`body.nil?` cannot happen as the previous line would crash.
Closer inspection reveals that the initialize method calls either
init_with_string or init_with_... | mikel_mail | train | rb |
df287b928d447a3408b598a1d09e93c38788cd60 | diff --git a/lib/wd_sinatra/test_unit_helpers.rb b/lib/wd_sinatra/test_unit_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/wd_sinatra/test_unit_helpers.rb
+++ b/lib/wd_sinatra/test_unit_helpers.rb
@@ -6,8 +6,8 @@ module TestUnitHelpers
response ||= TestApi.json_response
print response.rest_response.errors i... | updated the test helper to properly do a service url lookup | mattetti_wd-sinatra | train | rb |
9d8a71dc446d91e961d1bca8abfed5398c5235e0 | diff --git a/client/driver/docker.go b/client/driver/docker.go
index <HASH>..<HASH> 100644
--- a/client/driver/docker.go
+++ b/client/driver/docker.go
@@ -1852,7 +1852,7 @@ func (h *DockerHandle) Signal(s os.Signal) error {
// Kill is used to terminate the task. This uses `docker stop -t killTimeout`
func (h *DockerH... | killing should be done with wait client
Incidentally changed in 5b<I>d<I>bf<I>bab<I>d<I>d<I>bcf<I>e0b<I>e | hashicorp_nomad | train | go |
de6f9a573c6fffdf35215b1222f2968a40ed0235 | diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/CloudFoundryClient.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/CloudFoundryClient.java
index <HASH>..<HASH> 100644
--- a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/CloudFoundryClient.java
+++ b/cloudfoundry-client... | Upgrade CC API Support
This change upgrades the support CC API version to <I>.
[#<I>] | cloudfoundry_cf-java-client | train | java |
4762d65fcab273106b11944c414ca662d2e26049 | diff --git a/spec/mangopay/refund_spec.rb b/spec/mangopay/refund_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mangopay/refund_spec.rb
+++ b/spec/mangopay/refund_spec.rb
@@ -21,7 +21,7 @@ describe MangoPay::Refund do
describe 'FETCH for Repudiation' do
it "fetches a repudiation's refunds" do
- refunds =... | Using another Repudiation ID for a test | Mangopay_mangopay2-ruby-sdk | train | rb |
13a457b89c8bb0ebb3b52ea55a80b4779b6d72a0 | diff --git a/src/Node/NodeInterface.php b/src/Node/NodeInterface.php
index <HASH>..<HASH> 100644
--- a/src/Node/NodeInterface.php
+++ b/src/Node/NodeInterface.php
@@ -8,4 +8,9 @@ interface NodeInterface
* @return string
*/
public function __toString();
+
+ /**
+ * @return string
+ */
+ pu... | Make sure getPath is part of the interface | reactphp_filesystem | train | php |
569ec432c999adbafebd9b41ef71837acf66a1aa | diff --git a/lib/ticket_sharing/client.rb b/lib/ticket_sharing/client.rb
index <HASH>..<HASH> 100644
--- a/lib/ticket_sharing/client.rb
+++ b/lib/ticket_sharing/client.rb
@@ -24,7 +24,6 @@ module TicketSharing
end
def success?
- raise "No call made to determine success" unless @success
@success
... | Don't blow up when checking for success... | zendesk_ticket_sharing | train | rb |
a5d78db61623091597e0a682fdbf9eeebd127b31 | diff --git a/src/FondOfSpryker/Zed/ConditionalAvailability/Persistence/ConditionalAvailabilityRepository.php b/src/FondOfSpryker/Zed/ConditionalAvailability/Persistence/ConditionalAvailabilityRepository.php
index <HASH>..<HASH> 100644
--- a/src/FondOfSpryker/Zed/ConditionalAvailability/Persistence/ConditionalAvailabili... | Add missing functionality to filter warehouse group (#<I>) | fond-of_spryker-conditional-availability | train | php |
93b6877418a6dabe1ca5683979c6663365a8a85f | diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py
index <HASH>..<HASH> 100644
--- a/glue/ligolw/lsctables.py
+++ b/glue/ligolw/lsctables.py
@@ -1463,14 +1463,14 @@ class SimInspiralTable(LSCTableUnique):
def get_column(self,column):
if 'chirp_dist' in column:
- site = column(-1)
+ site = colum... | fix bugs in chirp dist reconstruction | gwastro_pycbc-glue | train | py |
c8c548a871880614c807c0c828256b7e425f04cd | diff --git a/modelx/__init__.py b/modelx/__init__.py
index <HASH>..<HASH> 100644
--- a/modelx/__init__.py
+++ b/modelx/__init__.py
@@ -20,7 +20,7 @@ Attributes:
"""
-VERSION = (0, 9, 0, "dev")
+VERSION = (0, 9, 0)
__version__ = ".".join([str(x) for x in VERSION])
from modelx.core.api import * # must come after ... | DIST: Release <I> | fumitoh_modelx | train | py |
c8f774ea3455af057736166757f831407711ae67 | diff --git a/emds/__init__.py b/emds/__init__.py
index <HASH>..<HASH> 100644
--- a/emds/__init__.py
+++ b/emds/__init__.py
@@ -1 +1 @@
-__version__ = '0.3'
\ No newline at end of file
+__version__ = '0.4'
\ No newline at end of file | Bump to <I>. | gtaylor_EVE-Market-Data-Structures | train | py |
c066219dd4ec56514e39ecb375c283a9df618e61 | diff --git a/lib/qs/daemon.rb b/lib/qs/daemon.rb
index <HASH>..<HASH> 100644
--- a/lib/qs/daemon.rb
+++ b/lib/qs/daemon.rb
@@ -296,7 +296,7 @@ module Qs
def initialize(values = nil)
super(values)
- @process_label = (v = ENV['QS_PROCESS_LABEL']) && !v.to_s.empty? ? v : self.name
+ @proces... | hotfix: use more efficient method for checking the QS_PROCESS_LABEL env var
I noticed this while reviewing redding/sanford#<I>. This is a better
implementation plus I want them to be consistent.
/cc @jcredding | redding_qs | train | rb |
7cb0b4f9768c3c2dc2c37665b4d42043c5402ca2 | diff --git a/account/applications.go b/account/applications.go
index <HASH>..<HASH> 100644
--- a/account/applications.go
+++ b/account/applications.go
@@ -8,6 +8,8 @@ import (
"fmt"
"io"
+ "golang.org/x/oauth2"
+
"github.com/TheThingsNetwork/go-account-lib/scope"
"github.com/TheThingsNetwork/ttn/core/types"
... | Add ExchangeAppKeyForToken to account.Account | TheThingsNetwork_go-account-lib | train | go |
5415dad295634937de847e46a94b89c683b5a730 | diff --git a/slave/ls340.py b/slave/ls340.py
index <HASH>..<HASH> 100644
--- a/slave/ls340.py
+++ b/slave/ls340.py
@@ -314,7 +314,7 @@ class Input(InstrumentBase):
'300uA', '1mA', '10mV', '1mV'),
Enum('1mV', '2.5mV', '5mV', '10mV', '25mV',
... | Fixed wrong start value in Input enum of LS<I>. | p3trus_slave | train | py |
a93c153ed0890c0d4f2177fed1278b507f84bc1d | diff --git a/lib/wikipedia/page.rb b/lib/wikipedia/page.rb
index <HASH>..<HASH> 100644
--- a/lib/wikipedia/page.rb
+++ b/lib/wikipedia/page.rb
@@ -88,7 +88,7 @@ module Wikipedia
s.gsub!(/\{\{ipa[^\}]+\}\}/i, '')
# misc
- s.gsub!(/{{[^\}]+}}/, '')
+ s.gsub!(/\{\{[^\}]+\}\}/, '')
... | Fixed a faulty regex. | kenpratt_wikipedia-client | train | rb |
fea7475080b7408dcd7115c10f84edc98a6f94fa | diff --git a/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java b/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java
index <HASH>..<HASH> 100755
--- a/transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java
+++ b/transport/src/main/java/io/netty/channel/DefaultChannelPip... | [#<I>] Report non @Shareable handler name that has been re-added. | netty_netty | train | java |
0ec08327083a6f357a568bc3933c17b4c5e4a5d7 | diff --git a/src/share/classes/com/sun/tools/javac/code/Printer.java b/src/share/classes/com/sun/tools/javac/code/Printer.java
index <HASH>..<HASH> 100644
--- a/src/share/classes/com/sun/tools/javac/code/Printer.java
+++ b/src/share/classes/com/sun/tools/javac/code/Printer.java
@@ -190,7 +190,7 @@ public abstract class... | Consistently use chars instead of length one string literals. | wmdietl_jsr308-langtools | train | java |
b6f85d50daaade42d25ab4da0b5e9516b909c2ac | diff --git a/rules/tls.go b/rules/tls.go
index <HASH>..<HASH> 100644
--- a/rules/tls.go
+++ b/rules/tls.go
@@ -106,7 +106,7 @@ func (t *insecureConfigTLS) processTLSConfVal(n *ast.KeyValueExpr, c *gas.Contex
}
func (t *insecureConfigTLS) Match(n ast.Node, c *gas.Context) (*gas.Issue, error) {
- if complit, ok := n.... | Fix nil pointer dereference in complit types | securego_gosec | train | go |
60e294c3ec24fc1016fdfeed84a2485aafb431f2 | diff --git a/classes/GemsEscort.php b/classes/GemsEscort.php
index <HASH>..<HASH> 100644
--- a/classes/GemsEscort.php
+++ b/classes/GemsEscort.php
@@ -166,7 +166,8 @@ class GemsEscort extends MUtil_Application_Escort
}
if ($exists) {
- $cacheFrontendOptions = array('automatic_serializa... | Improved cache by using prefix so 'apc' won't get name clashes on a shared environment | GemsTracker_gemstracker-library | train | php |
75394cc561edd0df1de30bcc0b48e18833d2f3af | diff --git a/code/model/FilesystemPublisher.php b/code/model/FilesystemPublisher.php
index <HASH>..<HASH> 100644
--- a/code/model/FilesystemPublisher.php
+++ b/code/model/FilesystemPublisher.php
@@ -230,7 +230,7 @@ class FilesystemPublisher extends DataExtension {
if($url == "") $url = "/";
if(Director::is... | Renamed sanitize_url to follow coding convention | silverstripe_silverstripe-staticpublishqueue | train | php,php |
8adcca54e8640ef82db0884ce958ee81e6dbb680 | diff --git a/python/ray/tune/ray_trial_executor.py b/python/ray/tune/ray_trial_executor.py
index <HASH>..<HASH> 100644
--- a/python/ray/tune/ray_trial_executor.py
+++ b/python/ray/tune/ray_trial_executor.py
@@ -771,7 +771,7 @@ class RayTrialExecutor(TrialExecutor):
self._last_nontrivial_wait = time.time()
... | [tune] Fix type error (#<I>) | ray-project_ray | train | py |
bfdb5debec153f6b54e0e6e8d63c9355df4d3389 | diff --git a/lib/github_changelog_generator/version.rb b/lib/github_changelog_generator/version.rb
index <HASH>..<HASH> 100644
--- a/lib/github_changelog_generator/version.rb
+++ b/lib/github_changelog_generator/version.rb
@@ -1,3 +1,3 @@
module GitHubChangelogGenerator
- VERSION = "1.10.2"
+ VERSION = "1.10.3"
end | Update gemspec to version <I> | github-changelog-generator_github-changelog-generator | train | rb |
a30d9ed1f88ee4b6437ed3919e838efa0daf5a94 | diff --git a/src/OptimizedPathMappingRepository.php b/src/OptimizedPathMappingRepository.php
index <HASH>..<HASH> 100644
--- a/src/OptimizedPathMappingRepository.php
+++ b/src/OptimizedPathMappingRepository.php
@@ -78,7 +78,7 @@ class OptimizedPathMappingRepository implements EditableRepository
$path = Path:... | Fix code convention in optimized PathMapping repository | puli_repository | train | php |
67e97ccc96dbfecfe16eee89710579f84bf359c2 | diff --git a/spyder/plugins/editor/widgets/codeeditor.py b/spyder/plugins/editor/widgets/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/editor/widgets/codeeditor.py
+++ b/spyder/plugins/editor/widgets/codeeditor.py
@@ -1479,7 +1479,7 @@ class CodeEditor(TextEditBaseWidget):
# ------------- LSP: ... | Format whole document when range formatting is not available | spyder-ide_spyder | train | py |
de9f79316508fd17575195b3bce2265625f0cff2 | diff --git a/source/Application/translations/en/lang.php b/source/Application/translations/en/lang.php
index <HASH>..<HASH> 100644
--- a/source/Application/translations/en/lang.php
+++ b/source/Application/translations/en/lang.php
@@ -683,8 +683,8 @@ $aLang = array(
'_UNIT_CM' ... | Fix encoding issue in lang file
Related #<I>. | OXID-eSales_oxideshop_ce | train | php |
43f4c9724e754216e76cb3829fb76badd1d254d3 | diff --git a/ring.go b/ring.go
index <HASH>..<HASH> 100644
--- a/ring.go
+++ b/ring.go
@@ -24,7 +24,8 @@ type Ring interface {
ReplicaCount() int
// LocalNodeID is the identifier of the local node; determines which ring
// partitions/replicas the local node is responsible for as well as being
- // used to direct ... | index should have been -1 for none | gholt_ring | train | go |
ed003c8dd3cdad9d2fd25fbc965d61c46661f5bb | diff --git a/script/minitest_runner.rb b/script/minitest_runner.rb
index <HASH>..<HASH> 100755
--- a/script/minitest_runner.rb
+++ b/script/minitest_runner.rb
@@ -74,4 +74,4 @@ class MinitestRunner
end
end
-MinitestRunner.new.run if $PROGRAM_NAME == __FILE__
+exit(MinitestRunner.new.run) if $PROGRAM_NAME == __FIL... | Return proper exit status from test runner
Otherwise bisecting can't work. | deivid-rodriguez_byebug | train | rb |
959c1f8d11f4ee5a47f20e7f9d1e9e73caf342ab | diff --git a/O365/__init__.py b/O365/__init__.py
index <HASH>..<HASH> 100644
--- a/O365/__init__.py
+++ b/O365/__init__.py
@@ -1,6 +1,8 @@
"""
A simple python library to interact with Microsoft Graph and Office 365 API
"""
+import warnings
+
from .__version__ import __version__
from .account import Account
from .... | DeprecationWarnings should now be printed out | O365_python-o365 | train | py,py |
9acc087db50a3f32c29ac0f9c025e7bd6a73803e | diff --git a/lib/mongo/server/description.rb b/lib/mongo/server/description.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/server/description.rb
+++ b/lib/mongo/server/description.rb
@@ -465,7 +465,7 @@ module Mongo
#
# @since 2.0.0
def primary?
- !!config[PRIMARY] && !replica_set_name.nil?
... | RUBY-<I> Check that server's hostname is included in its config hosts list to be considered a primary | mongodb_mongo-ruby-driver | train | rb |
a5209fd112a3d65c43bcc61f5669d9e8c2d9534d | diff --git a/server/webapp/WEB-INF/rails.new/spec/javascripts/vsm_analytics_spec.js b/server/webapp/WEB-INF/rails.new/spec/javascripts/vsm_analytics_spec.js
index <HASH>..<HASH> 100644
--- a/server/webapp/WEB-INF/rails.new/spec/javascripts/vsm_analytics_spec.js
+++ b/server/webapp/WEB-INF/rails.new/spec/javascripts/vsm... | Do not ignore vsm_analytics specs | gocd_gocd | train | js |
6e0da696326d7a18c5cdcb9aebc1740d1469b148 | diff --git a/test/integration/scheduler_perf/scheduler_perf_test.go b/test/integration/scheduler_perf/scheduler_perf_test.go
index <HASH>..<HASH> 100644
--- a/test/integration/scheduler_perf/scheduler_perf_test.go
+++ b/test/integration/scheduler_perf/scheduler_perf_test.go
@@ -77,8 +77,8 @@ var (
label: extensio... | Replace scheduler_e2e_scheduling_duration_seconds with scheduler_scheduling_attempt_duration_seconds in scheduler_perf | kubernetes_kubernetes | train | go |
ce5ffc55799340c47e95b89ab62dbd56ddd26c65 | diff --git a/test/hccrawler/index.test.js b/test/hccrawler/index.test.js
index <HASH>..<HASH> 100644
--- a/test/hccrawler/index.test.js
+++ b/test/hccrawler/index.test.js
@@ -619,7 +619,7 @@ describe('HCCrawler', () => {
describe('when an image is responded after the timeout option', () => {
befor... | test(hccrawler): use background image for domcontentloaded tests | yujiosaka_headless-chrome-crawler | train | js |
cbaff21b2d6a04be2bad1065f7c5ecfa3a900318 | diff --git a/lib/mtgox/configuration.rb b/lib/mtgox/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/mtgox/configuration.rb
+++ b/lib/mtgox/configuration.rb
@@ -23,13 +23,6 @@ module MtGox
yield self
end
- # Create a hash of options and their values
- def options
- options = {}
- VAL... | Remove seemingly unused options hash. | sferik_mtgox | train | rb |
589a86098dc42a97350e8c962a60771ac0431309 | diff --git a/awss/__init__.py b/awss/__init__.py
index <HASH>..<HASH> 100755
--- a/awss/__init__.py
+++ b/awss/__init__.py
@@ -234,6 +234,7 @@ def queryCreate(options):
outputEnd = ""
qryStr = qryStr + FiltEnd + ")"
outputTitle = outputTitle + outputEnd
+ debg.dprintx("\nQuery String")
debg.d... | Tweak to queryCreate for testing | robertpeteuil_aws-shortcuts | train | py |
97ef103702eca77e0e2303359ba1d8c7303dfeb0 | diff --git a/molgenis-data-mapper/src/main/java/org/molgenis/data/mapper/controller/MappingServiceController.java b/molgenis-data-mapper/src/main/java/org/molgenis/data/mapper/controller/MappingServiceController.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-mapper/src/main/java/org/molgenis/data/mapper/controlle... | Remove showSuggestedAttributes from the controller method to fix a broken page | molgenis_molgenis | train | java |
166cafeb011350fa2529d786417797aa7e72d77e | diff --git a/djstripe/models/api.py b/djstripe/models/api.py
index <HASH>..<HASH> 100644
--- a/djstripe/models/api.py
+++ b/djstripe/models/api.py
@@ -4,6 +4,7 @@ from uuid import uuid4
from django.core.validators import RegexValidator
from django.db import models
+from django.forms import ValidationError
from .... | Catch InvalidStripeAPIKey and re-raise as ValidationError | dj-stripe_dj-stripe | train | py |
ad8c8e6afc50e87dacf7e498e83a40852feaed97 | diff --git a/lib/bson/regexp.rb b/lib/bson/regexp.rb
index <HASH>..<HASH> 100644
--- a/lib/bson/regexp.rb
+++ b/lib/bson/regexp.rb
@@ -135,7 +135,7 @@ module BSON
def method_missing(method, *arguments)
return super unless respond_to?(method)
- compile.send(method)
+ compile.send(method, ... | Fix ArgumentError in BSON::Regexp::Ruby
When a user attempts to call a method on BSON::Regexp::Ruby with
arguments, an ArgumentError will be thrown. This change will actually
pass down the arguments so that such errors will not get raised. | mongodb_bson-ruby | train | rb,rb |
63b2cd8a81e5148955543ba0a4e05ce1c1f17948 | diff --git a/lib/phut/syntax.rb b/lib/phut/syntax.rb
index <HASH>..<HASH> 100644
--- a/lib/phut/syntax.rb
+++ b/lib/phut/syntax.rb
@@ -60,17 +60,17 @@ module Phut
end
def vswitch(alias_name = nil, &block)
- if block
- attrs = VswitchDirective.new.tap { |vsw| vsw.instance_eval(&block) }
- ... | Support the vswitch(name) directive (no block given). | trema_phut | train | rb |
6d88e7faaa528affd6a25c008f30193912d61314 | diff --git a/tests/integration/test_crunch_cube.py b/tests/integration/test_crunch_cube.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_crunch_cube.py
+++ b/tests/integration/test_crunch_cube.py
@@ -2032,3 +2032,10 @@ class TestCrunchCube(TestCase):
# dimension of the cube).
actual = cube.... | Add test for 3D cube (CA x (single) CAT) proportions by cell | Crunch-io_crunch-cube | train | py |
d1985f9cd461f626da58cf0484c9d3a03300c354 | diff --git a/src/main/java/org/imgscalr/op/PadOp.java b/src/main/java/org/imgscalr/op/PadOp.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/imgscalr/op/PadOp.java
+++ b/src/main/java/org/imgscalr/op/PadOp.java
@@ -9,11 +9,13 @@ import java.awt.image.BufferedImage;
import java.awt.image.ImagingOpException;
... | Clarified the declaration of the default color used for padding when one
isn't specified. | rkalla_imgscalr | train | java |
2ec26592eceb91789d9a2de1b2af183966668a62 | diff --git a/tasks/hash.js b/tasks/hash.js
index <HASH>..<HASH> 100644
--- a/tasks/hash.js
+++ b/tasks/hash.js
@@ -51,7 +51,7 @@ module.exports = function(grunt) {
var dest = file.dest || path.dirname(src);
var newFile = basename + (hash ? options.hashSeparator + hash : '') + ext;
- var outpu... | Allow expanded destinations
When `expand` is set to `true`, `file.dest` is actually a full file path rather than a directory. This patch fixes it so that grunt-hash maintains the directory structure but renames the file with the hash in the filename. | jgallen23_grunt-hash | train | js |
b674d4594ea369118fa6e211fb867f5d537cf0de | diff --git a/runners/vr/runners/base.py b/runners/vr/runners/base.py
index <HASH>..<HASH> 100644
--- a/runners/vr/runners/base.py
+++ b/runners/vr/runners/base.py
@@ -44,15 +44,16 @@ class BaseRunner(object):
try:
cmd = self.commands[args.command]
- # Commands that have a lock=False a... | Don't feign to trap KeyErrors for file locking operations. | yougov_vr.runners | train | py |
9a9b998f48d3a1d950aebaa270a685d4d3207d24 | diff --git a/router.js b/router.js
index <HASH>..<HASH> 100644
--- a/router.js
+++ b/router.js
@@ -48,7 +48,7 @@ module.exports = Router.extend({
// load templates here so they are ready before any change event is triggered
_.each(resp && resp.compiled, dust.loadSource);
- return _.has(resp, 'data') ? re... | Allow organization in page state, and set query to empty object if there is none. | thecodebureau_ridge | train | js |
74917f60205d6bb7a2d613d9d6d6bd91253c0627 | diff --git a/test/passify.js b/test/passify.js
index <HASH>..<HASH> 100644
--- a/test/passify.js
+++ b/test/passify.js
@@ -1,4 +1,4 @@
-var passify = require('passify');
+var passify = require('../lib/passify');
describe('Passify', function() {
describe('Create', function() { | Require the lib, not the npm install version. | nickjj_passify | train | js |
56570e9baf82f3617f98404eb5a9f34ed85e19dc | diff --git a/utils.py b/utils.py
index <HASH>..<HASH> 100644
--- a/utils.py
+++ b/utils.py
@@ -13,7 +13,7 @@ def nodeText(node):
parsing and original xml formatting. This function should strip such
artifacts.
"""
- return u''.format(node.firstChild.data.strip())
+ return u'{0}'.format(node.firstChi... | Fixed issue where nodeText() had no valid string to format into | SavinaRoja_OpenAccess_EPUB | train | py |
b5781cc998888c4c6aba12911570c905d7cead1c | 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
@@ -15113,9 +15113,12 @@
if ( ! $is_uninstall ) {
$fs_user = Freemius::_get_user_by_email( $email );
... | [opt-in] [bug-fix] When the opt-in was called programmatically with an empty license key, the install was always with the current admin's user instead of taking the $email param into account and opting in with the selected user. | Freemius_wordpress-sdk | train | php |
5933aaacb29b770718d2391944c550b1733de913 | diff --git a/xmantissa/webadmin.py b/xmantissa/webadmin.py
index <HASH>..<HASH> 100644
--- a/xmantissa/webadmin.py
+++ b/xmantissa/webadmin.py
@@ -31,8 +31,8 @@ class DeveloperSite(Item, PrefixURLMixin):
prefixURL = 'static/webadmin'
# Counts of each kind of user
- developers = integer()
- administrat... | Set reasonable defaults for administrator and developer counts | twisted_mantissa | train | py |
ec8a01ab3737854457d462e2a62c9127f316cf48 | diff --git a/example/index.js b/example/index.js
index <HASH>..<HASH> 100644
--- a/example/index.js
+++ b/example/index.js
@@ -10,6 +10,12 @@ app.set('view engine', 'html');
app.set('views', require('path').join(__dirname, '/view'));
app.engine('html', hogan);
+// A normal un-protected public URL.
+
+app.get('/', f... | registering the unprotected endpoint before registering the KC middleware | keycloak_keycloak-nodejs-connect | train | js |
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.