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 |
|---|---|---|---|---|---|
b90bc0e9128ebd8e465196dc7fc62bea73d47490 | diff --git a/lib/processHandler.js b/lib/processHandler.js
index <HASH>..<HASH> 100644
--- a/lib/processHandler.js
+++ b/lib/processHandler.js
@@ -1,4 +1,4 @@
-'use strict';
+
var fs = require('fs');
var spawn = require('child_process').spawn;
diff --git a/tasks/cucumber.js b/tasks/cucumber.js
index <HASH>..<HASH> ... | test failure should not result in task failure as it blocks subsequent tasks from running | mavdi_grunt-cucumberjs | train | js,js |
16031d3a19744c089ed10d1ce613813e0cf6bea2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ setup(
package_data={'ulid': ['py.typed']},
zip_safe=False,
classifiers=(
- 'Development Status :: 4 - Beta',
+ 'Development Status :: 5 - Production/Stable',
'Intended Audi... | Mark package with production/stable classifier.
It's true! | ahawker_ulid | train | py |
dc7b79cbbd4c6ddfe09c9c6afe3156e76d1086b5 | diff --git a/tests/db/models_test.py b/tests/db/models_test.py
index <HASH>..<HASH> 100644
--- a/tests/db/models_test.py
+++ b/tests/db/models_test.py
@@ -23,7 +23,6 @@ import numpy
from nose.plugins.attrib import attr
-from openquake.engine import engine
from openquake.engine import engine2
from openquake.engin... | tests/db/models_test:
Cleaned up a test setUp to use engine2 instead of engine. | gem_oq-engine | train | py |
0000fe8c3e2202908d0902536466052238ede387 | diff --git a/lib/gcloud/credentials.rb b/lib/gcloud/credentials.rb
index <HASH>..<HASH> 100644
--- a/lib/gcloud/credentials.rb
+++ b/lib/gcloud/credentials.rb
@@ -36,6 +36,7 @@ module Gcloud
:scope, :issuer, :signing_key
def initialize keyfile, options = {}
+ keyfile ||= sdk_default_cred... | SDK credentials lookup
Look for the default application credentials file.
This file is created by the gcloud application. | googleapis_google-cloud-ruby | train | rb |
a658f32e83e33322d6108fb5f0dc8e24e7377b09 | diff --git a/charmhub/refresh.go b/charmhub/refresh.go
index <HASH>..<HASH> 100644
--- a/charmhub/refresh.go
+++ b/charmhub/refresh.go
@@ -204,7 +204,7 @@ func InstallOneFromChannel(id string, channel, os, series string) (RefreshConfig
// Build a refresh request that can be past to the API.
func (c installOne) Build(... | Finish off the comment.
Ensure that the next person comming to this code understands that the
API requires the context. | juju_juju | train | go |
0fddfe72634d3b36c13afa9fdfa0dcfab1ede16a | diff --git a/src/Display/TableColumn.php b/src/Display/TableColumn.php
index <HASH>..<HASH> 100644
--- a/src/Display/TableColumn.php
+++ b/src/Display/TableColumn.php
@@ -251,6 +251,7 @@ abstract class TableColumn implements ColumnInterface
{
return [
'attributes' => $this->htmlAttributesToSt... | Set model to all views attached with View | LaravelRUS_SleepingOwlAdmin | train | php |
8add26e84b9874696164c502bb4b147f1ad85170 | diff --git a/digTokenizer/tokenizer.py b/digTokenizer/tokenizer.py
index <HASH>..<HASH> 100644
--- a/digTokenizer/tokenizer.py
+++ b/digTokenizer/tokenizer.py
@@ -5,11 +5,15 @@ from optparse import OptionParser
from inputParser.InputParserFactory import ParserFactory
from rowTokenizer import RowTokenizer
import json... | add ability to read config from http | usc-isi-i2_dig-tokenizer | train | py |
e2aab289f998b86886e6b05bf35fcc81fefe6be9 | diff --git a/vc_zoom/indico_vc_zoom/plugin.py b/vc_zoom/indico_vc_zoom/plugin.py
index <HASH>..<HASH> 100644
--- a/vc_zoom/indico_vc_zoom/plugin.py
+++ b/vc_zoom/indico_vc_zoom/plugin.py
@@ -71,8 +71,8 @@ class PluginSettingsForm(VCPluginSettingsFormBase):
[HiddenUnless('user_lookup_... | VC/Zoom: Fix form field description | indico_indico-plugins | train | py |
591162a2ff5a734efb870fa096f37d9e71783d64 | diff --git a/discord_test.go b/discord_test.go
index <HASH>..<HASH> 100644
--- a/discord_test.go
+++ b/discord_test.go
@@ -98,7 +98,7 @@ func TestInvalidEmailPass(t *testing.T) {
func TestInvalidPass(t *testing.T) {
if envEmail == "" {
- t.Skip("Skipping New(username,InvalidPass), DG_USERNAME not set")
+ t.Skip(... | Don't close what doesn't exist. | bwmarrin_discordgo | train | go |
de6125b68767fd20c31657d52b25eb9f111ba742 | diff --git a/code/libraries/koowa/components/com_activities/view/activities/json.php b/code/libraries/koowa/components/com_activities/view/activities/json.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/components/com_activities/view/activities/json.php
+++ b/code/libraries/koowa/components/com_activities/vi... | re #<I> Do not expose internal objects. | joomlatools_joomlatools-framework | train | php |
d0682c45b28803a0dfa48ee78421d066f257c56d | diff --git a/src/Actinoids/Modlr/RestOdm/Api/JsonApiOrg/Serializer.php b/src/Actinoids/Modlr/RestOdm/Api/JsonApiOrg/Serializer.php
index <HASH>..<HASH> 100755
--- a/src/Actinoids/Modlr/RestOdm/Api/JsonApiOrg/Serializer.php
+++ b/src/Actinoids/Modlr/RestOdm/Api/JsonApiOrg/Serializer.php
@@ -118,7 +118,7 @@ final class S... | Ensure date serialization only occurs on DT object | as3io_modlr | train | php |
c4625d0e247cc5bd33d8a4b04bc8ed950cc4ddfb | diff --git a/identities/serializers.py b/identities/serializers.py
index <HASH>..<HASH> 100644
--- a/identities/serializers.py
+++ b/identities/serializers.py
@@ -1,6 +1,6 @@
from django.contrib.auth.models import User, Group
from rest_framework import serializers
-from .models import Identity
+from .models import Id... | added serializer for opt-out model | praekeltfoundation_seed-identity-store | train | py |
3b14c1a575d3c545384cb60086bff1247ae46bbb | diff --git a/core/src/main/java/org/infinispan/util/Util.java b/core/src/main/java/org/infinispan/util/Util.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/infinispan/util/Util.java
+++ b/core/src/main/java/org/infinispan/util/Util.java
@@ -108,6 +108,16 @@ public final class Util {
return (a == b)... | Utility to load resources as a stream off a classpath | infinispan_infinispan | train | java |
7ec3afd090d9d8d7920f00e5cdd9b2fc72e3c0a1 | diff --git a/sortinghat/db/model.py b/sortinghat/db/model.py
index <HASH>..<HASH> 100644
--- a/sortinghat/db/model.py
+++ b/sortinghat/db/model.py
@@ -194,7 +194,8 @@ class Profile(ModelBase):
'name' : self.name,
'email' : self.email,
'is_bot' : self.is_bot,
-... | [model] Fix error in to_dict() when no country was set on a Profile | chaoss_grimoirelab-sortinghat | train | py,py |
aaa6a0341ed78a8d8b6652b153686e8a5ef4f080 | diff --git a/lib/phusion_passenger/dependencies.rb b/lib/phusion_passenger/dependencies.rb
index <HASH>..<HASH> 100644
--- a/lib/phusion_passenger/dependencies.rb
+++ b/lib/phusion_passenger/dependencies.rb
@@ -403,6 +403,8 @@ module Dependencies # :nodoc: all
dep.install_command = "apt-get install libaprutil1-dev... | Add installation instructions for APU on RedHat-based systems. | phusion_passenger | train | rb |
801a81095dfba1943f85e28674cc9b6cb8cd47c4 | diff --git a/lib/brice/history.rb b/lib/brice/history.rb
index <HASH>..<HASH> 100644
--- a/lib/brice/history.rb
+++ b/lib/brice/history.rb
@@ -60,17 +60,32 @@ module Brice
def init_history(history)
@history = history
+ @libedit = begin
+ Readline.emacs_editing_mode
+ true
+ rescue ... | Fixed broken readline support in Mac OS X (bentomas/wirble@7a6df<I>). | blackwinter_brice | train | rb |
d7cf122431bbbbda0bd8cbdc166e56ddd2398621 | diff --git a/lib/knife-cloudformation/provider.rb b/lib/knife-cloudformation/provider.rb
index <HASH>..<HASH> 100644
--- a/lib/knife-cloudformation/provider.rb
+++ b/lib/knife-cloudformation/provider.rb
@@ -166,7 +166,12 @@ module KnifeCloudformation
existing_stacks = MultiJson.load(cache[:stacks].value)
... | Remove stale stacks from cache when receiving update from upstream provider | sparkleformation_sfn | train | rb |
68a93a25e37e07512395bab9c91f49c16156dd73 | diff --git a/tests/specs/config/preload/main.js b/tests/specs/config/preload/main.js
index <HASH>..<HASH> 100644
--- a/tests/specs/config/preload/main.js
+++ b/tests/specs/config/preload/main.js
@@ -36,8 +36,8 @@ seajs.use(['../../test'], function(test) {
seajs.config({
preload: [
- [].map ? '' : './es5-safe',... | Update specs to work in IE6 | seajs_seajs | train | js |
3582daf07745e062d6c3c584baf34f1b7b5307a7 | diff --git a/app/controllers/magic_lamp/fixtures_controller.rb b/app/controllers/magic_lamp/fixtures_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/magic_lamp/fixtures_controller.rb
+++ b/app/controllers/magic_lamp/fixtures_controller.rb
@@ -9,15 +9,17 @@ module MagicLamp
MagicLamp::DoubleRender... | Remove a good chunk of Rails 5 deprecation warnings | crismali_magic_lamp | train | rb,rb |
b36dc404ba169074c8b1a444ac255e87140cb0f4 | diff --git a/pfmisc/pfmisc2.py b/pfmisc/pfmisc2.py
index <HASH>..<HASH> 100755
--- a/pfmisc/pfmisc2.py
+++ b/pfmisc/pfmisc2.py
@@ -57,8 +57,15 @@ class pfmisc2():
self.str_name = self.str_desc
self.str_version = ''
- self.dp = debug(verbosity=0, level=-1, within='pfmisc2'... | Update with debugToFile. | FNNDSC_pfmisc | train | py |
3c3ba6ed3c6aa9a35621aa72220bbea398dcd004 | diff --git a/crispy/version.py b/crispy/version.py
index <HASH>..<HASH> 100644
--- a/crispy/version.py
+++ b/crispy/version.py
@@ -64,9 +64,9 @@ RELEASE_LEVEL_VALUE = {'dev': 0,
'final': 15}
MAJOR = 0
-MINOR = 6
-MICRO = 3
-RELEV = 'final' # <16
+MINOR = 7
+MICRO = 0
+RELEV = 'dev' # <16
S... | Update version number to <I> | mretegan_crispy | train | py |
ea8542dad839ac8fce7f301b41a5d3a68cc46ede | diff --git a/stockcrawler/items.py b/stockcrawler/items.py
index <HASH>..<HASH> 100644
--- a/stockcrawler/items.py
+++ b/stockcrawler/items.py
@@ -17,3 +17,32 @@ class StockItem(Item):
key = Field()
value = Field()
date = Field()
+
+
+class ReportItem(Item):
+ # Trading symbol
+ symbol = Field()
+
... | Added ReportItem to store data on per report basis. | eliangcs_pystock-crawler | train | py |
85ab1bd8641e996021bf184c04d32bc259b855d5 | diff --git a/graylog2-server/src/main/java/org/graylog2/dashboards/widgets/DashboardWidgetCreator.java b/graylog2-server/src/main/java/org/graylog2/dashboards/widgets/DashboardWidgetCreator.java
index <HASH>..<HASH> 100644
--- a/graylog2-server/src/main/java/org/graylog2/dashboards/widgets/DashboardWidgetCreator.java
+... | Remove wildcard imports on DashboardWidgetCreator | Graylog2_graylog2-server | train | java |
65d4d1d4f97c8a585f49391a50be6c46c0eb94f2 | diff --git a/config/application.rb b/config/application.rb
index <HASH>..<HASH> 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -1,6 +1,6 @@
# coding: utf-8
require File.expand_path('../boot', __FILE__)
-APP_VERSION = '0.2.5'
+APP_VERSION = '0.2.6'
require 'rails/all'
diff --git a/config/init... | Fix session miss bug, now session will store 3 months in default. | rails-engine_homeland | train | rb,rb |
6ac89bcea7686274e0c71bd8f7e8e05eced44060 | diff --git a/master/buildbot/test/util/steps.py b/master/buildbot/test/util/steps.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/util/steps.py
+++ b/master/buildbot/test/util/steps.py
@@ -114,6 +114,20 @@ class BuildStepMixin(object):
return l
step.addLog = addLog
+ def addHTML... | Add fake addHTMLLog and addCompleteLog | buildbot_buildbot | train | py |
21dfe89ac7175ec2a625843085a4cdd78952a187 | diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -86,8 +86,7 @@ module AbstractController
# And always exclude explicitly hidd... | remove unneeded check since /_one_time_conditions/ is removed | rails_rails | train | rb |
498c0d490e86564f3f661d01fa91599116a127f3 | diff --git a/lib/common/app.js b/lib/common/app.js
index <HASH>..<HASH> 100644
--- a/lib/common/app.js
+++ b/lib/common/app.js
@@ -239,8 +239,8 @@ App.prototype.buildRouter = function(options) {
};
/**
- * bind application-level middleware to an instance of the app object.
- * order of middleware definition matters... | close an app's socket only if app's `server` object has the `close` method | BohemiaInteractive_bi-service | train | js |
2b7b4c25f060079ea4bcac1b24ff1c67a4a26d49 | diff --git a/lib/sessions/stores/mongodb.js b/lib/sessions/stores/mongodb.js
index <HASH>..<HASH> 100644
--- a/lib/sessions/stores/mongodb.js
+++ b/lib/sessions/stores/mongodb.js
@@ -57,7 +57,7 @@ MongoDB.prototype = new (function () {
var port = geddy.config.sessions.server.port || 27017;
var db = geddy.conf... | Removed needless attribution -- it's in the commit itself. | mde_ejs | train | js |
156de38758bf9a540d1c194b112f8c6015003eda | diff --git a/lib/bolt/shell/powershell/snippets.rb b/lib/bolt/shell/powershell/snippets.rb
index <HASH>..<HASH> 100644
--- a/lib/bolt/shell/powershell/snippets.rb
+++ b/lib/bolt/shell/powershell/snippets.rb
@@ -55,6 +55,27 @@ module Bolt
}
#{build_arg_list}
+ switch -regex ( Get-E... | (GH-<I>) Improve error messages for bolt script in PowerShell
!bug
* **Improve error messages for bolt script in PowerShell** ([#<I>](<URL>))
Improve error messages for bolt script in PowerShell when target system has an execution policy of Restricted or AllSigned. | puppetlabs_bolt | train | rb |
f29af88aabac923a26a96dc34b5fa3067e7ad114 | diff --git a/lib/creek/styles/converter.rb b/lib/creek/styles/converter.rb
index <HASH>..<HASH> 100644
--- a/lib/creek/styles/converter.rb
+++ b/lib/creek/styles/converter.rb
@@ -110,7 +110,7 @@ module Creek
def self.convert_bignum(value)
if defined?(BigDecimal)
- BigDecimal.new(value)
+ ... | Fix BigDecimal (#<I>)
`BigDecimal.new` has been removed in ruby <I>. Therefore converting big decimals is broken.
Use `BigDecimal(value)` instead.
<URL> | pythonicrubyist_creek | train | rb |
6fa608f00784f16b15afed851418522dd0d8843c | diff --git a/lib/globals.js b/lib/globals.js
index <HASH>..<HASH> 100644
--- a/lib/globals.js
+++ b/lib/globals.js
@@ -34,10 +34,9 @@ module.exports = function(options) {
// Server
if (options.liveRefresh) {
// Add internal port (proxy of BrowserSync)
- global.ports = { server : 27182 };
- global.serve... | globals: remove browser-sync reference (moving to CLI) | shippjs_shipp-server | train | js |
ffd338f7531cd41bd919868fcb3fb77a8f4ada69 | diff --git a/lib/gems/pending/util/miq-password.rb b/lib/gems/pending/util/miq-password.rb
index <HASH>..<HASH> 100644
--- a/lib/gems/pending/util/miq-password.rb
+++ b/lib/gems/pending/util/miq-password.rb
@@ -9,6 +9,7 @@ class MiqPassword
REGEXP = /v([0-2]):\{([^}]*)\}/
REGEXP_PASSWORD = /v[0-2](:\{[^}]*\}|%3A%... | Use a constant MASK for encrypted fields
(transferred from ManageIQ/manageiq-gems-pending@<I>b<I>cc<I>ac0a<I>b5a<I>a8e0e) | ManageIQ_manageiq-password | train | rb |
a88f3bba97616022d5302fb48387fe255e4d3908 | diff --git a/LiSE/LiSE/cache.py b/LiSE/LiSE/cache.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/cache.py
+++ b/LiSE/LiSE/cache.py
@@ -486,7 +486,7 @@ class ThingsCache(Cache):
node_contents_cache.store(
character, oldloc, branch, trn, tck,
... | Prevent HistoryError when caching node contents
Those contents caches are never really part of a plan, of themselves | LogicalDash_LiSE | train | py |
3be7a64e7da53a08afd2c704ac41777b38341337 | diff --git a/src/Command/ProjectGetCommand.php b/src/Command/ProjectGetCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/ProjectGetCommand.php
+++ b/src/Command/ProjectGetCommand.php
@@ -5,6 +5,7 @@ namespace CommerceGuys\Platform\Cli\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Com... | PlatformGetCommand needs the Dumper. | platformsh_platformsh-cli | train | php |
2b482baab7ee171e3c92aaf6654d05749379109a | diff --git a/code/libraries/joomlatools/component/koowa/koowa.php b/code/libraries/joomlatools/component/koowa/koowa.php
index <HASH>..<HASH> 100644
--- a/code/libraries/joomlatools/component/koowa/koowa.php
+++ b/code/libraries/joomlatools/component/koowa/koowa.php
@@ -7,8 +7,12 @@
* @link https://github.com/... | #<I> - Make sure the config is loaded | joomlatools_joomlatools-framework | train | php |
dd4e2bfebfaeffb7af6454fa7341554570b84da6 | diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2217,10 +2217,6 @@ class _Block(object):
return strings
- def add_depend_expr(self, expr):
- for item in self.items:
- item.add_depend_expr(expr)
-
class Item(object):
... | Remove _Block.add_depend_expr() -- unused.
The entire _Block class is probably up next. | ulfalizer_Kconfiglib | train | py |
b3d4aab5c5834f34b357413070af8ec6ab5cf9a2 | diff --git a/ansible/modules/hashivault/hashivault_k8s_auth_config.py b/ansible/modules/hashivault/hashivault_k8s_auth_config.py
index <HASH>..<HASH> 100644
--- a/ansible/modules/hashivault/hashivault_k8s_auth_config.py
+++ b/ansible/modules/hashivault/hashivault_k8s_auth_config.py
@@ -89,8 +89,15 @@ def hashivault_k8s... | Add logic to detect pem_keys change in k8s auth config | TerryHowe_ansible-modules-hashivault | train | py |
9ef5a507fd4221773b5700734a3c94a8c1651b07 | diff --git a/resource_aws_internet_gateway.go b/resource_aws_internet_gateway.go
index <HASH>..<HASH> 100644
--- a/resource_aws_internet_gateway.go
+++ b/resource_aws_internet_gateway.go
@@ -60,7 +60,11 @@ func resourceAwsInternetGatewayRead(d *schema.ResourceData, meta interface{}) er
}
ig := igRaw.(*ec2.Interne... | Fix for #<I>, crashed due to ig.Attachements being 0 | terraform-providers_terraform-provider-aws | train | go |
8efebd7ec84ba178e962d3014659c89c47f41e56 | diff --git a/compile.php b/compile.php
index <HASH>..<HASH> 100755
--- a/compile.php
+++ b/compile.php
@@ -5,3 +5,5 @@ require_once __DIR__ . '/autoload.php';
$compiler = new \Clinner\Compiler();
$compiler->compile();
+
+echo "Compilation of Clinner finished.\n"; | Added a silly message to compile.php in order to give some feedback when compiling Clinner. | ncuesta_Clinner | train | php |
cf2ac6c02ae1261105f3eb0722649fefafacb0ce | diff --git a/src/org/opencms/db/jpa/CmsSubscriptionDriver.java b/src/org/opencms/db/jpa/CmsSubscriptionDriver.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/db/jpa/CmsSubscriptionDriver.java
+++ b/src/org/opencms/db/jpa/CmsSubscriptionDriver.java
@@ -765,7 +765,7 @@ public class CmsSubscriptionDriver implements... | Avoiding unnecessary log error in the JPA implementation of the
subscription driver. | alkacon_opencms-core | train | java |
dddbdb50bb5fbbc4b5688440e7c1f30402b15e48 | diff --git a/test/test_zyps.rb b/test/test_zyps.rb
index <HASH>..<HASH> 100644
--- a/test/test_zyps.rb
+++ b/test/test_zyps.rb
@@ -11,37 +11,6 @@ include Zyps
class TestVector < Test::Unit::TestCase
- def test_angles
-
- vector = Vector.new(4, 150)
- assert_in_delta(-3.464, vector.x, 0.001)
- assert_in... | Removed tests that were ported to RSpec. | jaymcgavren_zyps | train | rb |
8f6518d4541707bbc767448974061f4dd0a347fc | diff --git a/src/me/shib/java/lib/jbots/DefaultJBot.java b/src/me/shib/java/lib/jbots/DefaultJBot.java
index <HASH>..<HASH> 100644
--- a/src/me/shib/java/lib/jbots/DefaultJBot.java
+++ b/src/me/shib/java/lib/jbots/DefaultJBot.java
@@ -100,9 +100,10 @@ final class DefaultJBot extends JBot {
... | minor fix added to avoid false failure message on sending screenshot | shibme_jbots | train | java |
66f6d3d29b0344cdbdf9d3da3b6c271446d7f6ac | diff --git a/lib/atomo/ast/keyword_send.rb b/lib/atomo/ast/keyword_send.rb
index <HASH>..<HASH> 100644
--- a/lib/atomo/ast/keyword_send.rb
+++ b/lib/atomo/ast/keyword_send.rb
@@ -38,8 +38,8 @@ module Atomo
def self.grammar(g)
g.name_var_pair =
g.seq(
- g.t(:identifier), ":", :sp,
-... | corrected keyword sends eating the whitespace after them | vito_atomy | train | rb |
f78524e35d366c50f8d6a382546df432c50edc95 | diff --git a/lib/services/error-publisher.js b/lib/services/error-publisher.js
index <HASH>..<HASH> 100644
--- a/lib/services/error-publisher.js
+++ b/lib/services/error-publisher.js
@@ -44,10 +44,6 @@ function ErrorPublisherFactory(
// These are emitted by the 'Events' EventEmitter.
this.ignoredError... | fix event listener for MON-<I> | RackHD_on-core | train | js |
4023c813205dd60077d46f62960299c4e1227d16 | diff --git a/uliweb/form/uliform.py b/uliweb/form/uliform.py
index <HASH>..<HASH> 100644
--- a/uliweb/form/uliform.py
+++ b/uliweb/form/uliform.py
@@ -234,7 +234,7 @@ class BaseField(object):
else:
v = data
# if v is None:
- if not v:
+ if not v or (isinstance(v, (str, unicod... | fix space will not be treated as empty bug in form valide
git-svn-id: <URL> | limodou_uliweb | train | py |
cd7d19564ea976a373061adf21011056f5822261 | diff --git a/codecov/__init__.py b/codecov/__init__.py
index <HASH>..<HASH> 100644
--- a/codecov/__init__.py
+++ b/codecov/__init__.py
@@ -487,7 +487,7 @@ def main(*argv, **kwargs):
_proj = _file.split('/')[-2].split('.')[0]
try_to_run('xcrun llvm-cov show -inst... | [gcov] improve gcov arguments
- Add `-b` for Display branch probabilities
- Add `-c` for Display branch counts instead of percentages
- Add `-p` for Preserve path components, to avoid overlapping files
- Add `-o $(...)` for finding the direcotry name to avoid source graph issues | codecov_codecov-python | train | py |
07f526067e207f23529b4f2234baffd74ce1f35c | diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py
index <HASH>..<HASH> 100755
--- a/tools/mpy-tool.py
+++ b/tools/mpy-tool.py
@@ -62,6 +62,11 @@ import struct
sys.path.append(sys.path[0] + "/../py")
import makeqstrdata as qstrutil
+# Threshold of str length below which it will be turned into a qstr when freezing.
... | tools/mpy-tool.py: Intern more strings when freezing. | micropython_micropython | train | py |
ab7d64b5580a5039ea1426eecc2b2f7669b60732 | diff --git a/ui/fields2/file-upload/views/file-upload-layout.js b/ui/fields2/file-upload/views/file-upload-layout.js
index <HASH>..<HASH> 100644
--- a/ui/fields2/file-upload/views/file-upload-layout.js
+++ b/ui/fields2/file-upload/views/file-upload-layout.js
@@ -50,7 +50,7 @@
// set our settings
media_object ... | Pull the modal title and button text from the field options | pods-framework_pods | train | js |
96f46df6cc57af73752d37121ea3d91011a4748e | diff --git a/js-given/src/generateJGivenReport.js b/js-given/src/generateJGivenReport.js
index <HASH>..<HASH> 100644
--- a/js-given/src/generateJGivenReport.js
+++ b/js-given/src/generateJGivenReport.js
@@ -17,7 +17,7 @@ export const JGIVEN_APP_VERSION = '0.12.1';
export async function generateJGivenReport(): Promis... | fix(js-given/cli): Fix report generation | jsGiven_jsGiven | train | js |
c9d025261c14a1972bbad92796e1ba6adcc97d2b | diff --git a/lib/arel/engines/sql/relations/compiler.rb b/lib/arel/engines/sql/relations/compiler.rb
index <HASH>..<HASH> 100644
--- a/lib/arel/engines/sql/relations/compiler.rb
+++ b/lib/arel/engines/sql/relations/compiler.rb
@@ -5,6 +5,7 @@ module Arel
def initialize(relation)
@relation = relation
+... | PERF: caching engine, fewer calls to method_missing | rails_rails | train | rb |
28c129cc243d94390834e0f447d6fcf557fc77e1 | diff --git a/demo/gptools_mds_ne.py b/demo/gptools_mds_ne.py
index <HASH>..<HASH> 100644
--- a/demo/gptools_mds_ne.py
+++ b/demo/gptools_mds_ne.py
@@ -206,7 +206,7 @@ gp.add_data(R_mag_mean, 0, n=1)
# gp.add_data(0.95, 0, n=1, err_y=0.1)
# Try block constraint:
-R_out = scipy.linspace(0.91, 0.95, 5)
+R_out = scipy.... | Try moving block constraint out a bit on ne. | markchil_gptools | train | py |
8630dd377c188b390f58e71d91b62daa9ae3bba0 | diff --git a/spyderlib/plugins/inspector.py b/spyderlib/plugins/inspector.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/inspector.py
+++ b/spyderlib/plugins/inspector.py
@@ -31,9 +31,9 @@ from spyderlib.widgets.externalshell.pythonshell import ExtPythonShellWidget
#XXX: hardcoded dependency on optional IPy... | Make Spyder start and work if it doesn't find installed the IPython qtconsole module
Update Issue <I>
Status: Fixed
In Ubuntu (and probably other Linux distros) qtconsole is installed in a
different package from regular ipython called ipython-qtconsole. So we not only
have to look for IPython when trying to initializ... | spyder-ide_spyder | train | py,py |
391fe6b416c5855eab0c7c82cd939b57db7315d3 | diff --git a/test/test_ci.rb b/test/test_ci.rb
index <HASH>..<HASH> 100644
--- a/test/test_ci.rb
+++ b/test/test_ci.rb
@@ -77,6 +77,35 @@ module EnvPullRequest
end.pull_request_id == pull_id
end
end
+
+ sub_test_case 'superior user definition' do
+ env_pull_id = 900
+ ... | test(block): superior user definition | packsaddle_ruby-env_pull_request | train | rb |
080783f6c33f00716bcf3a129726f2e73874d429 | diff --git a/lib/Proem/Proem.php b/lib/Proem/Proem.php
index <HASH>..<HASH> 100644
--- a/lib/Proem/Proem.php
+++ b/lib/Proem/Proem.php
@@ -70,13 +70,10 @@ class Proem
if (!$this->assetManager->provides('Proem\Signal\EventManagerInterface')) {
$this->assetManager->set(
'EventManage... | Fix static call to Asset's single method. | proem_proem | train | php |
0a475038d53eb4c9cfeddad2bfd5217c20b4c8e8 | diff --git a/spec/actv/article_spec.rb b/spec/actv/article_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/actv/article_spec.rb
+++ b/spec/actv/article_spec.rb
@@ -13,15 +13,21 @@ describe ACTV::Article do
assetDescriptions: descriptions,
assetTags: asset_tags,
... | Adds #valid? coverage for ACTV::Article | activenetwork_actv | train | rb |
611cea3343ca6c4b95e5e1ce9b422c82fc848165 | diff --git a/amcatclient/copy_articles.py b/amcatclient/copy_articles.py
index <HASH>..<HASH> 100644
--- a/amcatclient/copy_articles.py
+++ b/amcatclient/copy_articles.py
@@ -69,9 +69,10 @@ def copy_articles(src_api, src_project, src_set,
.format(n=len(batch), **locals()))
def convert(a... | Title instead of headline, don't err on missing fields | amcat_amcatclient | train | py |
ef04f4f13a15b2879fb09faf9b12856f17aa33e2 | diff --git a/lib/sidekiq/failures/middleware.rb b/lib/sidekiq/failures/middleware.rb
index <HASH>..<HASH> 100644
--- a/lib/sidekiq/failures/middleware.rb
+++ b/lib/sidekiq/failures/middleware.rb
@@ -14,7 +14,7 @@ module Sidekiq
:queue => queue
}
- Sidekiq.redis { |conn| conn.rpush(:failed, ... | Changed order of failures: now new failures are appearing on start of list | mhfs_sidekiq-failures | train | rb |
3bcc7c99311a6ba2b408426b66cfa6dc5c484db4 | diff --git a/ssl.go b/ssl.go
index <HASH>..<HASH> 100644
--- a/ssl.go
+++ b/ssl.go
@@ -46,7 +46,7 @@ type ZoneCustomSSLOptions struct {
// ZoneCustomSSLPriority represents a certificate's ID and priority. It is a
// subset of ZoneCustomSSL used for patch requests.
type ZoneCustomSSLPriority struct {
- ID strin... | [bugfix] Minor fixes to Custom SSL requests | cloudflare_cloudflare-go | train | go |
47b58b8994d9f5c9caa308455b638ed1f5341a2a | diff --git a/js/models/conversations.js b/js/models/conversations.js
index <HASH>..<HASH> 100644
--- a/js/models/conversations.js
+++ b/js/models/conversations.js
@@ -250,7 +250,7 @@
}
var initials = title.trim()[0];
return {
- color: Math.abs(this.hashCode()) % 18,... | Use the correct number of contact colors
Bugfix from 2f<I> | ForstaLabs_librelay-node | train | js |
3fd550a83d3cacf71a39e4bae52691aa5a8fe004 | diff --git a/shinken/modules/simplelog_broker.py b/shinken/modules/simplelog_broker.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/simplelog_broker.py
+++ b/shinken/modules/simplelog_broker.py
@@ -87,6 +87,8 @@ class Simple_log_broker(BaseModule):
#print "Ctime %d" % os.path.getctime(self.path)
... | Fix : archive files were with one day offset. | Alignak-monitoring_alignak | train | py |
8adcf077f3079aa203c418ac3927e8d148525c84 | diff --git a/pkg/volume/azure_dd/azure_provision.go b/pkg/volume/azure_dd/azure_provision.go
index <HASH>..<HASH> 100644
--- a/pkg/volume/azure_dd/azure_provision.go
+++ b/pkg/volume/azure_dd/azure_provision.go
@@ -107,7 +107,8 @@ var _ volume.Provisioner = &azureDiskProvisioner{}
func (a *azureDiskProvisioner) Provis... | azure disk: restrict length of name | kubernetes_kubernetes | train | go |
2c6332099bbde9d75d25b3755aa3d0faf5a3a55b | diff --git a/lib/strategy.js b/lib/strategy.js
index <HASH>..<HASH> 100644
--- a/lib/strategy.js
+++ b/lib/strategy.js
@@ -61,7 +61,7 @@ function Strategy(options, verify) {
OAuth2Strategy.call(this, options, verify);
this.name = 'onshape';
- this._userProfileURL = options.userProfileURL || 'https://cad.onshap... | Change to users/sessioninfo from users/session
users/session is deprecated in <I> | onshape_passport-onshape | train | js |
4934bc92e2858ab748d878bd8a569f3eddf9f7fb | diff --git a/src/Layer.js b/src/Layer.js
index <HASH>..<HASH> 100644
--- a/src/Layer.js
+++ b/src/Layer.js
@@ -92,7 +92,7 @@ export default class Layer {
this.map.setLayoutProperty(this.id, 'visibility', visible ? 'visible' : 'none');
this._visible = visible;
if (visible !== initial) {
- ... | Add description text as eventData to layer:updated events (not API) | CartoDB_carto-vl | train | js |
38cc2fd0819b4b4bc7f621b641cd427b6d8363b7 | diff --git a/src/gl/gl_program.js b/src/gl/gl_program.js
index <HASH>..<HASH> 100644
--- a/src/gl/gl_program.js
+++ b/src/gl/gl_program.js
@@ -267,6 +267,17 @@ GLProgram.prototype.setUniforms = function (uniforms, prefix, texture_unit = 0)
this.setTextureUniform(name + '[' + u + ']', uniform[u]);
... | uniforms: support for setting arrays of vectors, e.g. [[1,2,3],[4,5,6]] | tangrams_tangram | train | js |
26e452bc1030a643e61deca0ac31fc629cb40be5 | diff --git a/lib/capybara/helpers.rb b/lib/capybara/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/capybara/helpers.rb
+++ b/lib/capybara/helpers.rb
@@ -1,3 +1,5 @@
+# encoding: UTF-8
+
module Capybara
module Helpers
class << self | Add encoding header to the helpers definition file
Fixes "incompatible character encoding" error when running Capybara
on JRuby platforms. | teamcapybara_capybara | train | rb |
e9f87dba78f286b43eb642d5c694502376c5778d | diff --git a/safe/messaging/item/cell.py b/safe/messaging/item/cell.py
index <HASH>..<HASH> 100644
--- a/safe/messaging/item/cell.py
+++ b/safe/messaging/item/cell.py
@@ -110,15 +110,22 @@ class Cell(MessageElement):
self.style_class = 'text-center'
else:
self.style_class ... | fix #<I> - exception raised when messaging cell contains nested table or bullet list due to slashes param not being accepted by table class to_html() method. | inasafe_inasafe | train | py |
4b97abd7a59893d29336c5453228fad70b483bcb | diff --git a/html.py b/html.py
index <HASH>..<HASH> 100644
--- a/html.py
+++ b/html.py
@@ -424,7 +424,7 @@ def get_mathjax_header(https=False):
else:
mathjax_path = "http://cdn.mathjax.org/mathjax/2.1-latest"
else:
- mathjax_path = "/MathJax"
+ mathjax_path = "/vendors/MathJax"
... | global: MathJax into bundles | inveniosoftware-attic_invenio-utils | train | py |
af2a98395bbe51ba39446e70fcc0604c42846b8d | diff --git a/lib/childprocess/windows/functions.rb b/lib/childprocess/windows/functions.rb
index <HASH>..<HASH> 100644
--- a/lib/childprocess/windows/functions.rb
+++ b/lib/childprocess/windows/functions.rb
@@ -20,17 +20,11 @@ module ChildProcess
inherit = true
if opts[:stdout]
- hand... | Make sure all specs pass on Windows. | enkessler_childprocess | train | rb |
3ed4bd638db9235a92a37621c258e98484ec4e48 | diff --git a/lib/Model.php b/lib/Model.php
index <HASH>..<HASH> 100644
--- a/lib/Model.php
+++ b/lib/Model.php
@@ -21,7 +21,7 @@ class Model implements ArrayAccess
protected $_metadataSource;
- protected $_metadataInstance;
+ protected $_metadata;
protected static function _metadataStaticBuild(... | Support re-modification of model metadata | jacksleight_coast | train | php |
496c3603482d5d20aaf53f6e7b48bc2bdfd95249 | diff --git a/presto-hive/src/main/java/com/facebook/presto/hive/BackgroundHiveSplitLoader.java b/presto-hive/src/main/java/com/facebook/presto/hive/BackgroundHiveSplitLoader.java
index <HASH>..<HASH> 100644
--- a/presto-hive/src/main/java/com/facebook/presto/hive/BackgroundHiveSplitLoader.java
+++ b/presto-hive/src/mai... | Use recursiveDirWalkerEnabled in getVirtuallyBucketedSplits | prestodb_presto | train | java |
c27861cbaf75bc9252eedc8feff77418021d5632 | diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go
index <HASH>..<HASH> 100644
--- a/cmd/syncthing/main.go
+++ b/cmd/syncthing/main.go
@@ -361,6 +361,12 @@ func main() {
defer pprof.StopCPUProfile()
}
+ for _, node := range cfg.Nodes {
+ if len(node.Name) > 0 {
+ l.Infof("Node %s is %q at %v", node.No... | Show node ID/name/address mapping at startup (ref #<I>) | syncthing_syncthing | train | go |
1e09a98189c6f15b42c19579d014afcb686582c7 | diff --git a/src/base-configuration-optimizer.js b/src/base-configuration-optimizer.js
index <HASH>..<HASH> 100644
--- a/src/base-configuration-optimizer.js
+++ b/src/base-configuration-optimizer.js
@@ -243,10 +243,13 @@ var BaseConfigurationOptimizer = ConfigurationOptimizer.extend({
};
... | Allow `completeConfiguration` to complete on value ID hashes. | danielwippermann_resol-vbus | train | js |
aad8136cd1bd90312f4c41affd473c25c6a56932 | diff --git a/src/Symfony/Component/HttpFoundation/Request.php b/src/Symfony/Component/HttpFoundation/Request.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpFoundation/Request.php
+++ b/src/Symfony/Component/HttpFoundation/Request.php
@@ -813,7 +813,7 @@ class Request
}
// Trim and r... | [HttpFoundation] fixed a small regression | symfony_symfony | train | php |
9a265f7956d00e118888224fe6dfcf798d514c16 | diff --git a/src/OAuth2/Util/RedirectUri.php b/src/OAuth2/Util/RedirectUri.php
index <HASH>..<HASH> 100644
--- a/src/OAuth2/Util/RedirectUri.php
+++ b/src/OAuth2/Util/RedirectUri.php
@@ -6,7 +6,7 @@ class RedirectUri
{
public static function make($uri, $params = array(), $queryDelimeter = '?')
{
- $ur... | Fixed bad ternary statement. Added missing semicolon | thephpleague_oauth2-server | train | php |
54ad5f45e73bae05b957b89539cb6a61d557f445 | diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js
index <HASH>..<HASH> 100644
--- a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-r... | Pass custom headers to the websocket connection
In order to authorize to the gremlin server (in this case AWS Neptune) i need to pass custom headers for authorization to the service. the PR will allow to send any headers (like an API key or signature) and pass them to the Websocket function.
While there can be many us... | apache_tinkerpop | train | js |
3316df1def9426d04a7a52e7bd1a6248ac3f16e5 | diff --git a/textwrap.js b/textwrap.js
index <HASH>..<HASH> 100644
--- a/textwrap.js
+++ b/textwrap.js
@@ -147,7 +147,6 @@ Detailed instructions at http://www.github.com/vijithassar/d3textwrap
// wrap using html and foreignObjects if they are supported
var wrap_with_fore... | removing unnecessary console.log()s
We no longer need console flags to tell us which wrap method we’re
using. | vijithassar_d3-textwrap | train | js |
fcb9200968597ed0071c8bc9ee008d9a284d784f | diff --git a/example/settings.py b/example/settings.py
index <HASH>..<HASH> 100644
--- a/example/settings.py
+++ b/example/settings.py
@@ -39,6 +39,7 @@ INSTALLED_APPS = (
)
MIDDLEWARE_CLASSES = (
+ 'userlog.middleware.UserLogMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.... | Activate userlog in the example. | aaugustin_django-userlog | train | py |
e3ae406b0259ca63d69afa7588e001c2ec125290 | diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py
index <HASH>..<HASH> 100644
--- a/netmiko/base_connection.py
+++ b/netmiko/base_connection.py
@@ -313,15 +313,31 @@ class BaseConnection(object):
if debug:
print("checkpoint3")
... | handle initial configuration dialog prompt on cisco devices | ktbyers_netmiko | train | py |
d11782d2597a74bceb26801788db85bca99bcc02 | diff --git a/bundles/org.eclipse.orion.client.core/web/orion/Deferred.js b/bundles/org.eclipse.orion.client.core/web/orion/Deferred.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/Deferred.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/Deferred.js
@@ -8,7 +8,7 @@
*
* ... | Bug <I> - Deferred should always call then-ables asynchronously | eclipse_orion.client | train | js |
43e4f9c2dd8d4a9328dcefaa7d50824d7e0f8239 | diff --git a/abydos/tests/test_phonetic.py b/abydos/tests/test_phonetic.py
index <HASH>..<HASH> 100644
--- a/abydos/tests/test_phonetic.py
+++ b/abydos/tests/test_phonetic.py
@@ -3254,6 +3254,12 @@ class CaverphoneTestCases(unittest.TestCase):
self.assertEqual(caverphone(word, 2), 'TN11111111')
... | brought Caverphone algorithm statement coverage up to <I>% | chrislit_abydos | train | py |
7f66f6ac6c79d43a92a64af2f490942ca0e6e088 | diff --git a/xchange-cryptsy/src/main/java/com/xeiam/xchange/cryptsy/CryptsyUtils.java b/xchange-cryptsy/src/main/java/com/xeiam/xchange/cryptsy/CryptsyUtils.java
index <HASH>..<HASH> 100644
--- a/xchange-cryptsy/src/main/java/com/xeiam/xchange/cryptsy/CryptsyUtils.java
+++ b/xchange-cryptsy/src/main/java/com/xeiam/xch... | Convert dateTime to UTC. As used for trade times. The other exchange
implementations I've looked at return UTC times. | knowm_XChange | train | java |
1b7869c9f8532434bb7ac2358a4a443381f3a363 | diff --git a/lib/rspec-puppet/support.rb b/lib/rspec-puppet/support.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec-puppet/support.rb
+++ b/lib/rspec-puppet/support.rb
@@ -88,9 +88,9 @@ module RSpec::Puppet
end
elsif type == :define
if opts.has_key?(:params)
- "#{class_name} { '#{title}... | Render titles with Object#inspect rather than blindly quoting | rodjek_rspec-puppet | train | rb |
24a16374df470f29ad2c3b5e4a38a2b70b5ff5dd | diff --git a/pydsl/Memory/Directory.py b/pydsl/Memory/Directory.py
index <HASH>..<HASH> 100644
--- a/pydsl/Memory/Directory.py
+++ b/pydsl/Memory/Directory.py
@@ -88,8 +88,14 @@ class DirStorage(Memory):
if not resultlist:
raise KeyError(self.__class__.__name__ + name)
filepath = list(res... | added support for multiple handlers for the same extension | nesaro_pydsl | train | py |
a188638bce7a35cd6ac43bc226685a1d98154509 | diff --git a/wsgidav/request_server.py b/wsgidav/request_server.py
index <HASH>..<HASH> 100644
--- a/wsgidav/request_server.py
+++ b/wsgidav/request_server.py
@@ -941,7 +941,11 @@ class RequestServer(object):
if destScheme and destScheme.lower() != environ["wsgi.url_scheme"].lower():
self._fail(... | Print a hint when we get an HTTP_BAD_GATEWAY due to reverse proxy misconfiguration
Update #<I> | mar10_wsgidav | train | py |
4d7fda3a252657264691fea576a1518a9f3ae0b0 | diff --git a/dockerpty.go b/dockerpty.go
index <HASH>..<HASH> 100644
--- a/dockerpty.go
+++ b/dockerpty.go
@@ -27,6 +27,9 @@ func Start(client *docker.Client, container *docker.Container, hostConfig *docke
return
}
+ // Clean up after the container has exited
+ defer term.RestoreTerminal(terminalFd, oldState)
+
... | Defer terminal restore before starting the container so that it gets cleaned up if an error occurs | fgrehm_go-dockerpty | train | go |
bbbc638426414581d3d9a2479986fb6592c335ff | diff --git a/Admin/Traits/HandlesRelationsAdmin.php b/Admin/Traits/HandlesRelationsAdmin.php
index <HASH>..<HASH> 100644
--- a/Admin/Traits/HandlesRelationsAdmin.php
+++ b/Admin/Traits/HandlesRelationsAdmin.php
@@ -32,6 +32,9 @@ trait HandlesRelationsAdmin
if ($mapping['type'] == ClassMetadataInfo::MANY_TO... | Added PostConfigureFormFields() method | blast-project_CoreBundle | train | php |
4b4f1421c88961c1ed74413eadcae17e7cafd3d4 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -27,7 +27,7 @@ function SoftAPSetup(opts) {
this.port = config.get('port');
this.host = config.get('host');
- this.__publicKey;
+ this.__publicKey = undefined;
}; | __publicKey is initially undefined | particle-iot_softap-setup-js | train | js |
bd4d96effda3d9a751e111a7ba3b48d7114f6d12 | diff --git a/src/Codeception/TestCase/WPTestCase.php b/src/Codeception/TestCase/WPTestCase.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/TestCase/WPTestCase.php
+++ b/src/Codeception/TestCase/WPTestCase.php
@@ -130,18 +130,6 @@ class WPTestCase extends \Codeception\Test\Unit {
wp_cache_add_non_persistent_gro... | remove the assertNotFalse assertion as defined by PHPUnit | lucatume_wp-browser | train | php |
ad07dbe61ab5acb29978eb00006b43a105124f39 | diff --git a/src/I18n/I18n.php b/src/I18n/I18n.php
index <HASH>..<HASH> 100644
--- a/src/I18n/I18n.php
+++ b/src/I18n/I18n.php
@@ -56,14 +56,12 @@ class i18n
/**
* Sets the locale based on the current process' context.
- * @see http://stackoverflow.com/a/4976419
* @return string|null The locale c... | now correctly generating a PO file along side the MO | strata-mvc_strata | train | php |
ca24f3ac7692aa902e3a9985915608b5692973f4 | diff --git a/ComLinkoScope.php b/ComLinkoScope.php
index <HASH>..<HASH> 100644
--- a/ComLinkoScope.php
+++ b/ComLinkoScope.php
@@ -16,8 +16,8 @@ class ComLinkoScope
{
public $type = 'com';
private $api;
- private $likeFactor = 24*60*60;
- private $dateOffset = 60 * 60 * 24 * 365 * 100;
+ privat... | equations in initializer isnt always supported | ShortCirquit_LinkoScopeApi | train | php |
fee3bc23bda293d59a2bd7851ac9caf89da2f5ba | diff --git a/modules/logging/logging.js b/modules/logging/logging.js
index <HASH>..<HASH> 100644
--- a/modules/logging/logging.js
+++ b/modules/logging/logging.js
@@ -31,6 +31,9 @@ exports.collections = [{
user: {
type: 'string'
},
+ user_collection: {
+ type: 'string'
+ },
... | include user_collection so we know where user id comes from | thomas4019_expressa | train | js,js |
c6fec51edb8235f8e0805c49b9107e2ce5fe3261 | diff --git a/gwpy/timeseries/timeseries.py b/gwpy/timeseries/timeseries.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/timeseries.py
+++ b/gwpy/timeseries/timeseries.py
@@ -434,7 +434,7 @@ class TimeSeries(TimeSeriesBase):
# calculate PSD using UI method
return fft_ui.average_spectrogram(self, m... | TimeSeries.spectrogram: fixed missing kwarg
need to actually pass on the window function | gwpy_gwpy | train | py |
82dea4b215390069f83ef4f9338deada1352e42e | diff --git a/lib/Server.js b/lib/Server.js
index <HASH>..<HASH> 100644
--- a/lib/Server.js
+++ b/lib/Server.js
@@ -14,6 +14,11 @@ var historyApiFallback = require("connect-history-api-fallback");
function Server(compiler, options) {
// Default options
if(!options) options = {};
+
+ if (options.lazy && !options.fil... | throw if filename option property isn't set in lazy mode | webpack_webpack-dev-server | train | js |
2f14fea2c238e68fedf111a67e3c70d05d4e3e30 | diff --git a/tests/src/CollectionTest.php b/tests/src/CollectionTest.php
index <HASH>..<HASH> 100644
--- a/tests/src/CollectionTest.php
+++ b/tests/src/CollectionTest.php
@@ -18,6 +18,13 @@ class CollectionTest extends TestCase
$this->assertEquals('string', $collection->getType());
}
+ public functio... | correct and extend tests since AbstractCollection signature changes | ramsey_collection | train | php,php |
70ca873955102fcdad49d4f3402ab7e787fad43c | diff --git a/lib/raven/integrations/delayed_job.rb b/lib/raven/integrations/delayed_job.rb
index <HASH>..<HASH> 100644
--- a/lib/raven/integrations/delayed_job.rb
+++ b/lib/raven/integrations/delayed_job.rb
@@ -19,7 +19,6 @@ module Delayed
# handlers are YAML objects in strings, we definitely can't
... | Handle nil last_error in delayed_job (fixes GH-<I>) | getsentry_raven-ruby | train | rb |
9b7f3803d1796a032373625d082864042f831cf2 | diff --git a/test/textrangetests.js b/test/textrangetests.js
index <HASH>..<HASH> 100644
--- a/test/textrangetests.js
+++ b/test/textrangetests.js
@@ -366,6 +366,23 @@ xn.test.suite("Text Range module tests", function(s) {
});
}
+ s.test("range move() on block inside block (issue 114)", function(t... | Added test for issue <I> | timdown_rangy | train | js |
9fe669b441855a6c068b119a0f043d06b4e42a70 | diff --git a/cmd/buildctl/build.go b/cmd/buildctl/build.go
index <HASH>..<HASH> 100644
--- a/cmd/buildctl/build.go
+++ b/cmd/buildctl/build.go
@@ -79,7 +79,7 @@ var buildCommand = cli.Command{
},
cli.StringSliceFlag{
Name: "export-cache",
- Usage: "Export build cache, e.g. type=registry,ref=example.com/foo... | Minor improvement on the CLI usage
The change will make it more explicit on how to use the options. | moby_buildkit | train | go |
c6b9d3c7c25fa05893f97ee50446c3ac942b396e | diff --git a/app/router.js b/app/router.js
index <HASH>..<HASH> 100755
--- a/app/router.js
+++ b/app/router.js
@@ -4,6 +4,9 @@ import { get } from '@ember/object';
import { inject as service } from '@ember/service';
import { scheduleOnce } from '@ember/runloop';
+const REGEX_UUID_URL_PART = /\/[0-9a-fA-F]{8}-[0-9a-... | remove IDs and search terms from the URLs | HospitalRun_hospitalrun-frontend | train | js |
95dde04698823440bcc4f384151390e333eb8f83 | diff --git a/lib/element.js b/lib/element.js
index <HASH>..<HASH> 100644
--- a/lib/element.js
+++ b/lib/element.js
@@ -17,7 +17,9 @@ exports.getElement = function getElement(selector) {
return this.elementsByCssSelector(selector)
.then(function rejectIfMissing(elements) {
if (elements.length === 0) {
- ... | Mention getElementOrNull when element is missing | testiumjs_testium-driver-wd | train | js |
13a9266674be874b4e0673f9ffb0c588cd2f121a | 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
@@ -27,6 +27,10 @@ end
require "dry/core/deprecations"
Dry::Core::Deprecations.set_logger!(SPEC_ROOT.join("../log/deprecations.log"))
+# This workarounds potential issues with RSpec... | Enable dry-effect rspec extension | rom-rb_rom | train | rb |
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.