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 |
|---|---|---|---|---|---|
f1536e67fae545a608bf86215bac90a7356d1434 | diff --git a/util.go b/util.go
index <HASH>..<HASH> 100644
--- a/util.go
+++ b/util.go
@@ -51,6 +51,9 @@ var (
// Package initialization.
func init() {
+ // We'll use zero width joiners.
+ runewidth.ZeroWidthJoiner = true
+
// Initialize the predefined input field handlers.
InputFieldInteger = func(text string,... | github.com/mattn/go-runewidth supports zero-width joiners now. | rivo_tview | train | go |
6878ece18a683e6a361b67c853f2a7f1bf3f8d1a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,17 +1,15 @@
from setuptools import setup, find_packages
-from neomodel import (__version__, __package__, __author__, __email__,
- __license__)
setup(
name=__package__,
- version=__version__,
+ version='1.0... | Dont load meta
- breaks as requires external dependencies to be loaded | neo4j-contrib_neomodel | train | py |
cf9b49217712ffc2df69695bb373712d92db2328 | diff --git a/map/hashtable.py b/map/hashtable.py
index <HASH>..<HASH> 100644
--- a/map/hashtable.py
+++ b/map/hashtable.py
@@ -1,5 +1,5 @@
from unittest import TestCase
-
+import unittest
class HashTable(object):
"""
@@ -154,9 +154,11 @@ class TestHashTable(TestCase):
def test_delete_key(self):
... | pulled the origin code and extended the test suite | keon_algorithms | train | py |
e43bfd276a861117c9de4032dbdf8b8f9c289300 | diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py
index <HASH>..<HASH> 100644
--- a/pyrogram/__init__.py
+++ b/pyrogram/__init__.py
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
-__version__ =... | Update Pyrogram to <I> | pyrogram_pyrogram | train | py |
a906336b1e2af4936655513d20908ecde248083b | diff --git a/lib/browser/chrome-extension.js b/lib/browser/chrome-extension.js
index <HASH>..<HASH> 100644
--- a/lib/browser/chrome-extension.js
+++ b/lib/browser/chrome-extension.js
@@ -31,7 +31,6 @@ const getManifestFromPath = function (srcDirectory) {
if (!manifestNameMap[manifest.name]) {
const extensionI... | Don't log extension id | electron_electron | train | js |
4b55e94d0849568a2fd121952f13a9d6571c731f | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -280,7 +280,7 @@ jQuery.extend = jQuery.fn.extend = function() {
clone = src;
} else if ( jQuery.isArray(copy) ) {
clone = [];
- } else if ( jQuery.isObject(copy) ) {
+ } else if ( jQuer... | Renamed isObject to isObjectLiteral to be more specific. | jquery_jquery | train | js |
d8efb41c74992b52128a2cd3bf01db2267b624e2 | diff --git a/allantools/noise_kasdin.py b/allantools/noise_kasdin.py
index <HASH>..<HASH> 100644
--- a/allantools/noise_kasdin.py
+++ b/allantools/noise_kasdin.py
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import numpy as np
-class Noise:
+class Noise(object):
""" ... | minor pylint edits | aewallin_allantools | train | py |
e601cdef5d103ba42d902dfcf8731b3f0e8f4b14 | diff --git a/lib/enumerize/activerecord.rb b/lib/enumerize/activerecord.rb
index <HASH>..<HASH> 100644
--- a/lib/enumerize/activerecord.rb
+++ b/lib/enumerize/activerecord.rb
@@ -86,6 +86,10 @@ module Enumerize
end
alias type_cast_from_database deserialize
+
+ def as_json(options = nil)
+ {a... | Support dumping custom AR type to JSON
There are libraries that dump SQL queries to JSON. In case a record
is created or updated, query bound attributes reference a custom
AR type for enumerized attributes. So it needs to support dumping
to JSON. | brainspec_enumerize | train | rb,rb |
2c0c826c0f55864a39f7c92f4b88b108ebd513fa | diff --git a/gnupg/_util.py b/gnupg/_util.py
index <HASH>..<HASH> 100644
--- a/gnupg/_util.py
+++ b/gnupg/_util.py
@@ -271,6 +271,8 @@ def _find_binary(binary=None):
except IndexError as ie:
log.info("Could not determine absolute path of binary: '%s'"
% binary)
+... | Fix gpg binary path validation. | isislovecruft_python-gnupg | train | py |
4fc1c4a599cf6eabfe15dc9d97c205be0d7d2816 | diff --git a/barge-jax-rs/src/main/java/pack.java b/barge-jax-rs/src/main/java/pack.java
index <HASH>..<HASH> 100644
--- a/barge-jax-rs/src/main/java/pack.java
+++ b/barge-jax-rs/src/main/java/pack.java
@@ -1,10 +1,3 @@
-/**
- * Copyright Murex S.A.S., 2003-2014. All Rights Reserved.
- *
- * This software program is ... | Remove erroneous copyright statement | mgodave_barge | train | java |
94278cb9373221caf3d3eabc57c58cb2bae38214 | diff --git a/lib/byebug/commands/threads.rb b/lib/byebug/commands/threads.rb
index <HASH>..<HASH> 100644
--- a/lib/byebug/commands/threads.rb
+++ b/lib/byebug/commands/threads.rb
@@ -1,7 +1,12 @@
module Byebug
module ThreadFunctions # :nodoc:
def thread_arguments_with_pid(context, should_show_top_frame = true)... | need to provide more thread args | astashov_debugger-xml | train | rb |
4bc698f4711582c8cdd18be2b66da818fa9e6e7b | diff --git a/src/Excel.php b/src/Excel.php
index <HASH>..<HASH> 100644
--- a/src/Excel.php
+++ b/src/Excel.php
@@ -24,6 +24,8 @@ class Excel
const HTML = 'Html';
+ const Pdf = 'Pdf';
+
/**
* @var Writer
*/
@@ -137,6 +139,8 @@ class Excel
return self::HTML;
... | Auto-detect pdf exports (user should register the default pdf writer themselves) | Maatwebsite_Laravel-Excel | train | php |
bb7d1093164a1f218f8e6fe6a50e8f71079f828d | diff --git a/src/Helpers/Field.php b/src/Helpers/Field.php
index <HASH>..<HASH> 100644
--- a/src/Helpers/Field.php
+++ b/src/Helpers/Field.php
@@ -166,7 +166,7 @@ class Field
$output .= '<label for="'.$input_attr['id'].'">'.$ucF.'</label>';
- if ($this->fieldHelper->isIdField($f)) {
+ ... | Fix bug in field helper form edit method.. | taskforcedev_crud-api | train | php |
771b57cd9c738b725e89e816285fb02a1c2abbbf | diff --git a/packages/Invites/src/site/components/com_invites/controllers/token.php b/packages/Invites/src/site/components/com_invites/controllers/token.php
index <HASH>..<HASH> 100644
--- a/packages/Invites/src/site/components/com_invites/controllers/token.php
+++ b/packages/Invites/src/site/components/com_invites/con... | checks the inviter if not there throws an error | anahitasocial_anahita | train | php |
2ed829e661f9a357fc9a8cdf316c84f077dad7f9 | diff --git a/lib/chef/http.rb b/lib/chef/http.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/http.rb
+++ b/lib/chef/http.rb
@@ -21,12 +21,14 @@
# limitations under the License.
#
+require 'tempfile'
require 'net/https'
require 'uri'
require 'chef/http/basic_client'
require 'chef/monkey_patches/string'
require '... | Add missing requires to HTTP and HTTP::Simple | chef_chef | train | rb,rb |
38c48afc42fa304600e9decee6c6fe1521899528 | diff --git a/servers/web.js b/servers/web.js
index <HASH>..<HASH> 100644
--- a/servers/web.js
+++ b/servers/web.js
@@ -584,7 +584,7 @@ const initialize = function (api, options, next) {
}
const chmodSocket = function (bindIP, port) {
- if (!options.bindIP && options.port.indexOf('/') >= 0) {
+ if (!bindIP... | Fixes chmodSocket function
Function was pulling in `options` object, rather than using passed in values. | actionhero_actionhero | train | js |
57e23a58fe8807185c0687f94f08d800d923b1e7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -45,7 +45,9 @@ module.exports = function(source, sourceMap) {
if (typeof query[filePath] === 'object') {
var fileConfig = query[filePath];
var loaderStringForFile = fileConfig.loa... | Adding conditional around loader string generation. | deepsweet_baggage-loader | train | js |
bf958ce928195bb2737399f6c995c1a87a4463c8 | diff --git a/src/webpack.js b/src/webpack.js
index <HASH>..<HASH> 100644
--- a/src/webpack.js
+++ b/src/webpack.js
@@ -129,6 +129,14 @@ export default function(options = {}) {
}
})
);
+ } else if (!options.node) {
+ ret.plugins.push(
+ new webpack.DefinePlugin({
+ 'process.env': {
+... | Always provide process.env for browser builds | kpdecker_linoleum | train | js |
1778ba62c8e8747aafd10e0727a3d80797c8eb0b | diff --git a/lib/currencies.js b/lib/currencies.js
index <HASH>..<HASH> 100644
--- a/lib/currencies.js
+++ b/lib/currencies.js
@@ -17,11 +17,13 @@ function Currencies (currencies) {
throw new Error('Missing currencies object');
}
- this.keys = parseInt(currencies.keys || 0);
+ this.keys = parseFlo... | Allow floating point / rational number for keys | Nicklason_node-tf2-currencies | train | js,js |
6b1f5f9af490b32c219e376cc9426ee51cb383f7 | diff --git a/sidebar-herocanvas.php b/sidebar-herocanvas.php
index <HASH>..<HASH> 100644
--- a/sidebar-herocanvas.php
+++ b/sidebar-herocanvas.php
@@ -11,6 +11,10 @@
<!-- ******************* The Hero Canvas Widget Area ******************* -->
- <?php dynamic_sidebar( 'herocanvas' ); ?>
+ <div class="wrapper" id="... | adding outside wrapper to hero canvas | understrap_understrap | train | php |
2a2f8c7d27a182c240541eb204e7da1ea1b5298d | diff --git a/telemetry/telemetry/core/chrome/browser_backend.py b/telemetry/telemetry/core/chrome/browser_backend.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/chrome/browser_backend.py
+++ b/telemetry/telemetry/core/chrome/browser_backend.py
@@ -133,7 +133,7 @@ class BrowserBackend(object):
try:
... | [telemetry] Print stack trace/stdout when browser fails to launch.
GetStackTrace() should be defined on all platforms already. Right now on desktop it just calls GetStandardOutput().
BUG=<I>
TEST=None.
R=<EMAIL>
Review URL: <URL> | catapult-project_catapult | train | py |
410e03e3fe53367e48ee803dfdd569cdeb674ab6 | diff --git a/src/Rebing/GraphQL/Support/SelectFields.php b/src/Rebing/GraphQL/Support/SelectFields.php
index <HASH>..<HASH> 100644
--- a/src/Rebing/GraphQL/Support/SelectFields.php
+++ b/src/Rebing/GraphQL/Support/SelectFields.php
@@ -129,6 +129,14 @@ class SelectFields {
$select[] = $key;
... | Fixed relations being included even with false privacy | rebing_graphql-laravel | train | php |
29131133002d6328fd35d3235e9ded43c457491c | diff --git a/lib/dmd.js b/lib/dmd.js
index <HASH>..<HASH> 100644
--- a/lib/dmd.js
+++ b/lib/dmd.js
@@ -1,5 +1,6 @@
"use strict";
var boil = require("boil-js"),
+ fs = require("fs"),
path = require("path");
/**
@@ -32,7 +33,17 @@ function dmd(options){
if(options.helper) boil.registerHelpers(options.he... | require relative to cwd() | jsdoc2md_dmd | train | js |
92e5041d477976832932dd596d40deaa5a059897 | diff --git a/lib/dm-validations/auto_validate.rb b/lib/dm-validations/auto_validate.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-validations/auto_validate.rb
+++ b/lib/dm-validations/auto_validate.rb
@@ -80,7 +80,7 @@ module DataMapper
end
# numeric validator
- if Fixnum == property.type
+ ... | Updated property type to use Integer instead of Fixnum internally | emmanuel_aequitas | train | rb |
78435fe2b1a9e517b5f388463f238c74378e1ea7 | diff --git a/version.js b/version.js
index <HASH>..<HASH> 100644
--- a/version.js
+++ b/version.js
@@ -8,7 +8,7 @@
*/
if (enyo && enyo.version) {
- enyo.version.onyx = "2.6.0-pre.4";
+ enyo.version.onyx = "2.6.0-pre.4.dev";
}
})(enyo, this); | Update version string to <I>-pre<I>.dev | enyojs_onyx | train | js |
7c9e3fd5b2d845c0837cf18b0507e93ca1ddbcad | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -319,10 +319,10 @@ def test_translate_arguments():
import Qt
# This will run on each binding
- result = Qt.QtCompat.translate(context="CustomDialog",
- sourceText="Status",
... | Remove keyword arguments from QtCompat.translate
The original binding does not support keyword arguments. | mottosso_Qt.py | train | py |
f92b3f57660cc2ff80723482e890f562d73c4424 | diff --git a/components/prism-python.js b/components/prism-python.js
index <HASH>..<HASH> 100644
--- a/components/prism-python.js
+++ b/components/prism-python.js
@@ -12,7 +12,7 @@ Prism.languages.python= {
greedy: true
},
'function' : {
- pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\()/g,
+ pattern:... | Python: Add highlighting to functions with space between name and parentheses | PrismJS_prism | train | js |
a8fdd636b9c9b1efc7ba6ae8fc3ad09d9ca657cd | diff --git a/test/shared/private.tests.js b/test/shared/private.tests.js
index <HASH>..<HASH> 100644
--- a/test/shared/private.tests.js
+++ b/test/shared/private.tests.js
@@ -296,7 +296,7 @@
keys = [];
if (obj) {
for (prop in obj) {
- if (!obj.hasOwnProperty(prop)) {
+ if (o... | Build: Fixed a spot where JSHint is now flagging a for loop filter incorrectly | zeroclipboard_zeroclipboard | train | js |
eb64d1ce2b6439ebd461dfdf63ae826b3547d9e3 | diff --git a/cachalot/tests/read.py b/cachalot/tests/read.py
index <HASH>..<HASH> 100644
--- a/cachalot/tests/read.py
+++ b/cachalot/tests/read.py
@@ -15,6 +15,7 @@ from django.db.models import Count
from django.db.transaction import TransactionManagementError
from django.test import (
TransactionTestCase, skipU... | Fixes a test broken by mysqlclient <I>. | noripyt_django-cachalot | train | py |
b00f76647ce2b6d53270aec316e405830c0ed884 | diff --git a/src/Managers/InvoiceManager.php b/src/Managers/InvoiceManager.php
index <HASH>..<HASH> 100644
--- a/src/Managers/InvoiceManager.php
+++ b/src/Managers/InvoiceManager.php
@@ -33,7 +33,11 @@ class InvoiceManager extends Manager
*/
public function issue(Invoice $invoice)
{
- $result = $... | add expires_at when issued | railken_amethyst-invoice | train | php |
fe23348513b7265dc35381cad4b4ef492dc1a1af | diff --git a/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/tx/TraceKafkaPlatformTransactionManagerBeanPostProcessor.java b/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/tx/TraceKafkaPlatformTransactionManag... | Added some deprecation info | spring-cloud_spring-cloud-sleuth | train | java |
2b8db356a05ac9cb66638b95e7e5bcfd8e54a93b | diff --git a/lib/slodown/formatter.rb b/lib/slodown/formatter.rb
index <HASH>..<HASH> 100644
--- a/lib/slodown/formatter.rb
+++ b/lib/slodown/formatter.rb
@@ -26,14 +26,8 @@ module Slodown
# Sanitize HTML tags.
#
- def sanitize(mode = :normal)
- @current = case mode
- when :normal
- Sani... | Remove obsolete code from #sanitize. | hmans_slodown | train | rb |
d29b00acd6575114767c29216ae033f300650613 | diff --git a/sandbox/benchmarks.py b/sandbox/benchmarks.py
index <HASH>..<HASH> 100644
--- a/sandbox/benchmarks.py
+++ b/sandbox/benchmarks.py
@@ -133,7 +133,7 @@ def create7q_segno(data='QR Code Symbol'):
def create30h_segno(data='QR Code Symbol'):
"""Segno create 30-H"""
- segno.make_qr(data, error='h', ve... | Fixed benchmarks: Segno <I>-H took saving SVG into account | heuer_segno | train | py |
19d92e15b8f5b8dd87d2a0af82306b1064eab14a | diff --git a/AntiSpoof_i18n.php b/AntiSpoof_i18n.php
index <HASH>..<HASH> 100644
--- a/AntiSpoof_i18n.php
+++ b/AntiSpoof_i18n.php
@@ -3,7 +3,11 @@
$wgAntiSpoofMessages = array();
$wgAntiSpoofMessages['en'] = array(
'antispoof-name-conflict' => 'The name "$1" is too similar to the existing account "$2". Please choo... | Hebrew localisation for AntiSpoof. | wikimedia_mediawiki-extensions-AntiSpoof | train | php |
8acf1c003da8fbdf5d1e58f56505225622957847 | diff --git a/lib/generators/dummy/templates/config/routes.rb b/lib/generators/dummy/templates/config/routes.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/dummy/templates/config/routes.rb
+++ b/lib/generators/dummy/templates/config/routes.rb
@@ -1,10 +1,7 @@
Dummy::Application.routes.draw do
- mount_releaf_at '/... | Update dummy app routes to block syntax | cubesystems_releaf | train | rb |
c4e04e39fb302452459b623e7edaf325d1dfe8cb | diff --git a/src/particles/emitter.js b/src/particles/emitter.js
index <HASH>..<HASH> 100644
--- a/src/particles/emitter.js
+++ b/src/particles/emitter.js
@@ -8,7 +8,7 @@ import Container from "./../renderable/container.js";
* @ignore
*/
function createDefaultParticleTexture(w, h) {
- var canvas = createCanvas(... | use offscreenCanvas (if supported) when creating a default particle | melonjs_melonJS | train | js |
ef4541b6ebe6254affb4203fc70d6c1b2ccf39d4 | diff --git a/lib/google/api_client/service.rb b/lib/google/api_client/service.rb
index <HASH>..<HASH> 100755
--- a/lib/google/api_client/service.rb
+++ b/lib/google/api_client/service.rb
@@ -110,7 +110,6 @@ module Google
end
@client = Google::APIClient.new(params)
- @client.logger = options[:... | Removing service logger. Incorrect implementation; loggers are global instead, and set in a Google::APIClient class method | googleapis_google-api-ruby-client | train | rb |
b836493734f5f133b785797c4d700cdc6be94a92 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -17,7 +17,7 @@ type Client interface {
// altered after it has been created.
Config() *Config
- // Controller returns the cluster controller broker.
+ // Controller returns the cluster controller broker. Requires Kaf... | Improve experience trying to get Controller on old versions | Shopify_sarama | train | go |
d9dfcf5f10d06bebe7a06f336be6b3a0195c86d0 | diff --git a/pysc2/lib/features.py b/pysc2/lib/features.py
index <HASH>..<HASH> 100644
--- a/pysc2/lib/features.py
+++ b/pysc2/lib/features.py
@@ -441,6 +441,12 @@ class Dimensions(object):
def __repr__(self):
return "Dimensions(screen={}, minimap={})".format(self.screen, self.minimap)
+ def __eq__(self, oth... | Support __eq__ and __ne__ in features.Dimensions.
PiperOrigin-RevId: <I> | deepmind_pysc2 | train | py |
64965389a78b6216b24893f20c32c1f19841c1fe | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -118,6 +118,7 @@ setup(
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
... | Added Python <I> to setup.py classifiers. | insightindustry_validator-collection | train | py |
e80fcc69679b90d4b92e348a88b5c100cb49cf4b | diff --git a/lib/fog/xenserver/requests/compute/create_server.rb b/lib/fog/xenserver/requests/compute/create_server.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/xenserver/requests/compute/create_server.rb
+++ b/lib/fog/xenserver/requests/compute/create_server.rb
@@ -55,8 +55,7 @@ module Fog
:actions_after_... | Update create_server.rb
Repair bug for platform attribute of a vm. | fog_fog | train | rb |
4aa361aeae97b71eb56ef4a996c08994a4d96b74 | diff --git a/molgenis-test/src/main/java/org/molgenis/test/data/AbstractMolgenisSpringTest.java b/molgenis-test/src/main/java/org/molgenis/test/data/AbstractMolgenisSpringTest.java
index <HASH>..<HASH> 100644
--- a/molgenis-test/src/main/java/org/molgenis/test/data/AbstractMolgenisSpringTest.java
+++ b/molgenis-test/sr... | Configure dependency resolver for the unit tests. | molgenis_molgenis | train | java |
e3d308f21f69e52bc1063e0400e292e778c907c9 | diff --git a/lib/coral_cloud/server.rb b/lib/coral_cloud/server.rb
index <HASH>..<HASH> 100644
--- a/lib/coral_cloud/server.rb
+++ b/lib/coral_cloud/server.rb
@@ -159,7 +159,7 @@ class Server < Core
if @machine.created?
if @machine.state == :running
- success = Coral::Command.new("vagrant provi... | Fixing issue with options not being passed to the provision shell command on initialization in the server class. | coraltech_ruby-coral_cloud | train | rb |
6eef1e042b762db79de260557ac254ae5c160809 | diff --git a/tests/test_prepare.py b/tests/test_prepare.py
index <HASH>..<HASH> 100644
--- a/tests/test_prepare.py
+++ b/tests/test_prepare.py
@@ -112,6 +112,9 @@ class TestPrepare(tb.ConnectedTestCase):
'closed in the middle'):
await fut
+ # Test that it's OK ... | Test that it's OK to call terminate/close more than one time | MagicStack_asyncpg | train | py |
b9a7e7e6057bd1c5803ddf88b343b254db988edf | diff --git a/core/src/main/java/hudson/model/Descriptor.java b/core/src/main/java/hudson/model/Descriptor.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/Descriptor.java
+++ b/core/src/main/java/hudson/model/Descriptor.java
@@ -77,6 +77,7 @@ import java.beans.Introspector;
import java.util.Ident... | FindBugs: Weaken the requirement of Descriptor#newInstance() since StaplerRequest in nonnull with few exceptions | jenkinsci_jenkins | train | java |
659b08fb8f7e55be0a7db7cdfa74aaa384e23716 | diff --git a/lib/Elastica/Document.php b/lib/Elastica/Document.php
index <HASH>..<HASH> 100644
--- a/lib/Elastica/Document.php
+++ b/lib/Elastica/Document.php
@@ -137,7 +137,7 @@ class Elastica_Document
* To use this feature you have to call the following command in the
* elasticsearch directory:
* <c... | Update reference to elasticsearch mapper plugin | ruflin_Elastica | train | php |
a899c296ea817ab94e687224599cfa289ba11b95 | diff --git a/src/nwmatcher.js b/src/nwmatcher.js
index <HASH>..<HASH> 100644
--- a/src/nwmatcher.js
+++ b/src/nwmatcher.js
@@ -1218,7 +1218,7 @@
case 'selected':
// fix Safari selectedIndex property bug
expr = BUGGY_SELECTED ? '||(n=e.parentNode)&&n.options[n.selectedIndex]===... | ensure node name is checked case-insensitive in ':selected' pseudo-class resolver | dperini_nwmatcher | train | js |
11945bedaa962646f5b3370a5a796383c2283365 | diff --git a/lib/sync/index.js b/lib/sync/index.js
index <HASH>..<HASH> 100644
--- a/lib/sync/index.js
+++ b/lib/sync/index.js
@@ -285,7 +285,6 @@ module.exports = {
stop: stop,
stopAll: stopAll,
connect: connect,
- start: start, //TODO: looks like we don't need to expose this one anymore? init can be... | remove the start API from the sync server | feedhenry_fh-mbaas-api | train | js |
9d904b2b8e3866a63f5d45260e664f774d28e705 | diff --git a/cwl_airflow_parser/cwlstepoperator.py b/cwl_airflow_parser/cwlstepoperator.py
index <HASH>..<HASH> 100644
--- a/cwl_airflow_parser/cwlstepoperator.py
+++ b/cwl_airflow_parser/cwlstepoperator.py
@@ -183,7 +183,7 @@ class CWLStepOperator(BaseOperator):
if _d_args.get('tmp_outdir_prefix') else os... | datetime is not json able | datirium_cwl-airflow-parser | train | py |
9d7d916cc731b02023ec83ba2f7d5dc59e4d1f48 | diff --git a/django_mobile/conf.py b/django_mobile/conf.py
index <HASH>..<HASH> 100644
--- a/django_mobile/conf.py
+++ b/django_mobile/conf.py
@@ -15,15 +15,15 @@ class SettingsProxy(object):
try:
return getattr(self.defaults, attr)
except AttributeError:
- rais... | Using unicode strings in conf.py. Just to be sure. | gregmuellegger_django-mobile | train | py |
000d23c3ec3ee6e65373dbcf9fc3eeb1ca246f53 | diff --git a/binstar_client/utils/projects/__init__.py b/binstar_client/utils/projects/__init__.py
index <HASH>..<HASH> 100644
--- a/binstar_client/utils/projects/__init__.py
+++ b/binstar_client/utils/projects/__init__.py
@@ -55,7 +55,7 @@ def upload_project(project_path, args, username):
try:
from anaco... | The package we should suggest is anaconda_project not anaconda-project | Anaconda-Platform_anaconda-client | train | py |
83f8f98b0d4770609f980acbf89702e017738afb | diff --git a/lib/plugins.js b/lib/plugins.js
index <HASH>..<HASH> 100644
--- a/lib/plugins.js
+++ b/lib/plugins.js
@@ -3,6 +3,7 @@
*/
var plugins_manager = require('hoodie-plugins-manager/lib/index');
+var clc = require('cli-color');
var async = require('async');
var path = require('path');
var fs = require('fs... | report warning and load no plugins if hoodie.plugins property missing from package.json #<I>
* * *
This commit was sponsored by The Hoodie Firm.
You can hire The Hoodie Firm:
<URL> | hoodiehq_hoodie-server | train | js |
cdaf6192b3aebddcbc33ebb82834cbac94496507 | diff --git a/src/rez/cli/forward.py b/src/rez/cli/forward.py
index <HASH>..<HASH> 100644
--- a/src/rez/cli/forward.py
+++ b/src/rez/cli/forward.py
@@ -24,7 +24,11 @@ def command(opts, parser, extra_arg_groups=None):
config.override("quiet", True)
yaml_file = os.path.abspath(opts.YAML)
+
cli_args = ... | -fixed bug where args after '--' were not passed to suite tools | nerdvegas_rez | train | py |
7fd16b58ebf74f50ab7e75cde41259ba47d68ebd | diff --git a/Gulpfile.js b/Gulpfile.js
index <HASH>..<HASH> 100644
--- a/Gulpfile.js
+++ b/Gulpfile.js
@@ -211,8 +211,8 @@ gulp.task('default', [ 'watch' ]);
gulp.task('build', [ 'compile-demo', 'compile-apps' ]);
-gulp.task('test', function() {
- qunit('http://localhost:8000/test', {
+gulp.task('test', ['connect... | Gulp now starts server when running test task to serve up files for the router | reboundjs_rebound | train | js |
f21b3f5690e3bce8b432517ae00cbd2d6016553b | diff --git a/neurom/view/tests/test_view.py b/neurom/view/tests/test_view.py
index <HASH>..<HASH> 100644
--- a/neurom/view/tests/test_view.py
+++ b/neurom/view/tests/test_view.py
@@ -85,6 +85,10 @@ def test_neuron():
nt.ok_(np.allclose(ax.get_xlim(), (-70.328535157399998, 94.7472627179)) )
nt.ok_(np.allclose(... | Add test that fails to illustrate error with limits in view.neuron | BlueBrain_NeuroM | train | py |
b18a5bb29aa7a6122266aafc48a526d74b0cb914 | diff --git a/Tests/UseCase.php b/Tests/UseCase.php
index <HASH>..<HASH> 100644
--- a/Tests/UseCase.php
+++ b/Tests/UseCase.php
@@ -72,8 +72,9 @@ class UserDeactivateHandler implements PatchCommandHandlerInterface
// create and run command
$command = new PatchCommand('user.deactivate', 123);
-try {
- $this->get('... | Basic idea - interfaces and some test implementation | imatic_data-bundle | train | php |
9bb2ec276a3bd521a6cf9301972fab8145b329bb | diff --git a/bigchaindb/voting.py b/bigchaindb/voting.py
index <HASH>..<HASH> 100644
--- a/bigchaindb/voting.py
+++ b/bigchaindb/voting.py
@@ -68,6 +68,12 @@ class Voting:
* Detect if there are multiple votes from a single node and return them
in a separate "cheat" dictionary.
* Votes must ... | clarify interface of Voting.count_votes | bigchaindb_bigchaindb | train | py |
9216f43463a7517f17a00a1f64895cd6ed98c771 | diff --git a/builder/virtualbox/common/step_forward_ssh.go b/builder/virtualbox/common/step_forward_ssh.go
index <HASH>..<HASH> 100644
--- a/builder/virtualbox/common/step_forward_ssh.go
+++ b/builder/virtualbox/common/step_forward_ssh.go
@@ -63,9 +63,22 @@ func (s *StepForwardSSH) Run(ctx context.Context, state multis... | Configure NAT interface before forwarded port mapping | hashicorp_packer | train | go |
6140b31f19ef46c9319abefc68255cb1ad193fc3 | diff --git a/lib/amiando/ticket_shop.rb b/lib/amiando/ticket_shop.rb
index <HASH>..<HASH> 100644
--- a/lib/amiando/ticket_shop.rb
+++ b/lib/amiando/ticket_shop.rb
@@ -25,7 +25,7 @@ module Amiando
map :collect_user_data, :collectUserData
map :max_possible_number_of_participants, :maxPossibleNumberOfParticipant... | Added vatId to ticket shop | xing_amiando | train | rb |
850da5af277747d86bca9b5eafde232abd800f56 | diff --git a/github/MainClass.py b/github/MainClass.py
index <HASH>..<HASH> 100644
--- a/github/MainClass.py
+++ b/github/MainClass.py
@@ -283,8 +283,8 @@ class Github(object):
:calls: `GET /repos/:owner/:repo <http://developer.github.com/v3/repos>`_ or `GET /repositories/:id <http://developer.github.com/v3/re... | Fix redundant int checks (#<I>) | PyGithub_PyGithub | train | py |
41dcebeaef610147d2b4081d27071b1f75a72bce | diff --git a/tests/jupyter/async_test.py b/tests/jupyter/async_test.py
index <HASH>..<HASH> 100644
--- a/tests/jupyter/async_test.py
+++ b/tests/jupyter/async_test.py
@@ -208,6 +208,9 @@ def test_debounced_await(df_trimmed, as_coroutine, as_method, flush_guard,):
bla2 = other_foo.foo()
result1 = a... | test: fix async test, was missing await | vaexio_vaex | train | py |
6bee0bf1abb0dad2f18e1696d7f89d60ecdef527 | diff --git a/bcbio/rnaseq/count.py b/bcbio/rnaseq/count.py
index <HASH>..<HASH> 100644
--- a/bcbio/rnaseq/count.py
+++ b/bcbio/rnaseq/count.py
@@ -26,8 +26,9 @@ def htseq_count(data):
"{cmd}".format(**locals()))
subprocess.check_call(cmd, shell=True)
+ data["count_file"] = out_file
- ret... | Swapped htseq_count output to return a sample dictionary.
Added "count_file" as a field to the sample dictionary. | bcbio_bcbio-nextgen | train | py,py |
51f95e13154189a5cd5b72cc05266cca1bb11e04 | diff --git a/Library/Hwi/ResourceOwnerFactory.php b/Library/Hwi/ResourceOwnerFactory.php
index <HASH>..<HASH> 100644
--- a/Library/Hwi/ResourceOwnerFactory.php
+++ b/Library/Hwi/ResourceOwnerFactory.php
@@ -36,20 +36,20 @@ class ResourceOwnerFactory
public function __construct(PlatformConfigurationHandler $configH... | [CoreBundle] Rename variable name to be understandable | claroline_Distribution | train | php |
85081893d8afd856a9a9e10d5f99255d45bce79a | diff --git a/hazelcast/src/main/java/com/hazelcast/map/DefaultRecordStore.java b/hazelcast/src/main/java/com/hazelcast/map/DefaultRecordStore.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/map/DefaultRecordStore.java
+++ b/hazelcast/src/main/java/com/hazelcast/map/DefaultRecordStore.java
@... | minor fix about writebehind keys | hazelcast_hazelcast | train | java |
637d9e76b228ef98d49c535fc5140024badab9d6 | diff --git a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ScreenshotTaker.java b/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ScreenshotTaker.java
index <HASH>..<HASH> 100644
--- a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ScreenshotTaker.java
+++ b/robotium-solo/src/m... | Moved screenShotSequenceThread interrupt check to inside while loop | RobotiumTech_robotium | train | java |
8a70a04d1e154f5495a304e6c1fc206d61695ca4 | diff --git a/validator/sawtooth_validator/journal/chain.py b/validator/sawtooth_validator/journal/chain.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/journal/chain.py
+++ b/validator/sawtooth_validator/journal/chain.py
@@ -344,7 +344,6 @@ class BlockValidator(object):
cu... | Remove extra on_block_validated call
In the case of wrong genesis node, on_block_validated would be called
twice, resulting in an exception due to a double cleanup attempt.
Removing the call and relying on the exception to break the flow (which
results in the normal call), fixes the issue. | hyperledger_sawtooth-core | train | py |
de2aa4ae8341a4c87ac7bfd851ed95ad3e311407 | diff --git a/lib/grouped_validations.rb b/lib/grouped_validations.rb
index <HASH>..<HASH> 100644
--- a/lib/grouped_validations.rb
+++ b/lib/grouped_validations.rb
@@ -23,14 +23,12 @@ module GroupedValidations
raise "Validation group '#{group}' not defined" unless validation_groups.include?(group)
errors... | moved AR3 specific var setting where it should be | adzap_grouped_validations | train | rb,rb |
efda81da19fb3b03c0d84d3683cbf0cba79a9753 | diff --git a/tests/utils.py b/tests/utils.py
index <HASH>..<HASH> 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -1,5 +1,7 @@
from contextlib import contextmanager
+import random
import shutil
+import string
from tempfile import mkdtemp
@@ -10,3 +12,7 @@ def temp_dir():
yield dirname
finally:
... | Add helper to create hex strings like sha<I>. | juju_juju | train | py |
5f5f7a1b94f8381f4cda7afc1d55de7404f4ed0d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -227,8 +227,14 @@ ShellCraft.prototype.shell = function (callback) {
var inquirerCallback = null;
var inquirerPrompt = self.prompt.getInquirer ();
+ var prompt = inquirer.createPromptModule ({
+ completer: functi... | The tab completion is working again with node > <I>.
We pass a completer to readine, then TAB is handled correctly but note
that we continue to use our own autocompletion code.
- Fix issue #9. | Xcraft-Inc_shellcraft.js | train | js,js |
a387e0437d3a6081cba5e30baabbc77acec367f0 | diff --git a/config-util/src/main/java/net/morimekta/config/source/WatchedFileConfigSupplier.java b/config-util/src/main/java/net/morimekta/config/source/WatchedFileConfigSupplier.java
index <HASH>..<HASH> 100644
--- a/config-util/src/main/java/net/morimekta/config/source/WatchedFileConfigSupplier.java
+++ b/config-uti... | Fix WatchedFileConfigSupplier.
- Bad reload guard. | morimekta_utils | train | java |
31841f6e700a1a190ba37327e266eca72dfc044e | diff --git a/Str.php b/Str.php
index <HASH>..<HASH> 100644
--- a/Str.php
+++ b/Str.php
@@ -253,11 +253,15 @@ class Str
{
$patterns = Arr::wrap($pattern);
+ $value = (string) $value;
+
if (empty($patterns)) {
return false;
}
foreach ($patterns as $pattern)... | [8.x] Fix casting to string on PHP <I> (#<I>)
* Fix casting to string on PHP <I>
* Update tests
* Update Str.php | illuminate_support | train | php |
a2c067889d707ae34958c505d6053ef8f7970c02 | diff --git a/lib/structures/User.js b/lib/structures/User.js
index <HASH>..<HASH> 100644
--- a/lib/structures/User.js
+++ b/lib/structures/User.js
@@ -66,7 +66,7 @@ class User extends Base {
if(this._missingClientError) {
throw this._missingClientError;
}
- return this.avatar ? thi... | Fix User#avatarURL fallback (#<I>) | abalabahaha_eris | train | js |
3734daccb88bd9fea55c3c6ef4f7cd0aed4cbbc9 | diff --git a/mutant/models/model.py b/mutant/models/model.py
index <HASH>..<HASH> 100644
--- a/mutant/models/model.py
+++ b/mutant/models/model.py
@@ -191,7 +191,8 @@ class ModelDefinition(ContentType):
content_type = getattr(self, '_contenttype_ptr_cache', None)
if content_type is None:
... | Cache ModelDefinition.model_ct property. | charettes_django-mutant | train | py |
410a4c91240e5db28351f66f1b31e3b78163dc7b | diff --git a/src/toil/provisioners/clusterScaler.py b/src/toil/provisioners/clusterScaler.py
index <HASH>..<HASH> 100644
--- a/src/toil/provisioners/clusterScaler.py
+++ b/src/toil/provisioners/clusterScaler.py
@@ -470,9 +470,6 @@ class ScalerThread(ExceptionalThread):
try:
with throttle(s... | Remove some of the more verbose debug prints from the scaler | DataBiosphere_toil | train | py |
080d1c5253237fd46c626025361a60506e62a72f | diff --git a/jwt.js b/jwt.js
index <HASH>..<HASH> 100644
--- a/jwt.js
+++ b/jwt.js
@@ -21,6 +21,7 @@ function fastifyJwt (fastify, options, next) {
}
var secret = options.secret
+ var defaultOptions = options.options
var secretCallback = secret
if (typeof secretCallback !== 'function') { secretCallback =... | Fix for not able to pass in default options on plugin register.
Example with adding options to be passed in on registration which can be overridden on runtime.
fastify.register(require('fastify-jwt'), {
secret: `${fastify.config.jwt.secret}`,
options: {
issuer: 'Some issuer',
subject: 'Some subje... | fastify_fastify-jwt | train | js |
daf0bee4b62188fef733d7a9700c56848f9c28db | 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
@@ -1373,7 +1373,7 @@
add_action( 'admin_init', array( &$this, '_add_trial_notice' ) );
add_action( 'admin_init', array( &$... | [css] [scripts] Instead of using the admin_init hook for the common css file load, use the admin_enqueue_scripts hook. | Freemius_wordpress-sdk | train | php |
d3ce3bd0504dcd1faca47910f2af8d9409d94d5c | diff --git a/tests/BadaBoom/Tests/ChainNode/CallbackChainNodeTest.php b/tests/BadaBoom/Tests/ChainNode/CallbackChainNodeTest.php
index <HASH>..<HASH> 100644
--- a/tests/BadaBoom/Tests/ChainNode/CallbackChainNodeTest.php
+++ b/tests/BadaBoom/Tests/ChainNode/CallbackChainNodeTest.php
@@ -105,11 +105,7 @@ class CallbackCh... | [ChainNode] removed unnecessary return | formapro_BadaBoom | train | php |
c986f92dc5d8ef9c8e95e242633052c3e1fff979 | diff --git a/paramiko/sftp_file.py b/paramiko/sftp_file.py
index <HASH>..<HASH> 100644
--- a/paramiko/sftp_file.py
+++ b/paramiko/sftp_file.py
@@ -124,8 +124,8 @@ class SFTPFile (BufferedFile):
if whence == self.SEEK_SET:
self._realpos = self._pos = offset
elif whence == self.SEEK_CUR:
- ... | [project @ Arch-1:<EMAIL><I>-master-shake%paramiko--dev--1--patch-<I>]
i think seek_cur had a bug here | bitprophet_ssh | train | py |
e263e1a51c550e2743d8d63e2439a1c431625e72 | diff --git a/app/serializers/no_cms/blocks/active_resource_serializer.rb b/app/serializers/no_cms/blocks/active_resource_serializer.rb
index <HASH>..<HASH> 100644
--- a/app/serializers/no_cms/blocks/active_resource_serializer.rb
+++ b/app/serializers/no_cms/blocks/active_resource_serializer.rb
@@ -42,7 +42,10 @@ module... | ActiveResource has no assign_attributes method | simplelogica_nocms-blocks | train | rb |
b9a218a5c15cbbd1e9fcf84d785728d7d3a00ef2 | diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpFoundation/Response.php
+++ b/src/Symfony/Component/HttpFoundation/Response.php
@@ -172,6 +172,7 @@ class Response
}
$this->c... | [HttpFoundation] set Content-Length header to the length of content | symfony_symfony | train | php |
83671af504197f031c1e89a5122a1d4168288bb4 | diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jenkins/model/Jenkins.java
+++ b/core/src/main/java/jenkins/model/Jenkins.java
@@ -4129,7 +4129,9 @@ public class Jenkins extends AbstractCIBase implements Dire... | [FIX JENKINS-<I>] Don't access response when called from CLI | jenkinsci_jenkins | train | java |
841ba2a5cdcff59185afdb8cff403abc0e20a799 | diff --git a/database/factories/CustomerGroupFactory.php b/database/factories/CustomerGroupFactory.php
index <HASH>..<HASH> 100644
--- a/database/factories/CustomerGroupFactory.php
+++ b/database/factories/CustomerGroupFactory.php
@@ -1,5 +1,6 @@
<?php
-
+namespace Database\Factories;
+use Illuminate\Database\Eloquent... | Update CustomerGroupFactory.php | avored_framework | train | php |
769fcadcee2a4e4f2bb05150aebc5262fd229800 | diff --git a/app/assets/javascripts/pageflow/ui/views/tabs_view.js b/app/assets/javascripts/pageflow/ui/views/tabs_view.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/pageflow/ui/views/tabs_view.js
+++ b/app/assets/javascripts/pageflow/ui/views/tabs_view.js
@@ -64,7 +64,8 @@ pageflow.TabsView = Backbone.Ma... | Make tabs in mobile editor touchable
It seems that on mobile devices, iScroll's preventDefault setting
prevents tab click and touch events from having an effect, rendering
tabs unreachable. Changing iScroll's setting fixes this.
REDMINE-<I> | codevise_pageflow | train | js |
096178c1bc1c8a9883008255d916a819d51a55c9 | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -1282,7 +1282,7 @@ server.get('/subscribe/:uuid', function(req, res){
require('./lib/authDevice')(req.params.uuid, req.query.token, function(auth){
if (auth.authenticate == true){
- var foo = JSONStream.stri... | moved the comma to end of object on streaming api | octoblu_meshblu | train | js |
b1e7641884004232d4d66207418f7f3b7836b34b | diff --git a/addons/docs/src/frameworks/web-components/config.js b/addons/docs/src/frameworks/web-components/config.js
index <HASH>..<HASH> 100644
--- a/addons/docs/src/frameworks/web-components/config.js
+++ b/addons/docs/src/frameworks/web-components/config.js
@@ -11,7 +11,7 @@ function mapData(data) {
type: { s... | fix(web-components): update key to reflect specification | storybooks_storybook | train | js |
eb38cf9d4228b8181aa3f6a360d57d2c0d5ba416 | diff --git a/src/Tool/ValueExtractorTrait.php b/src/Tool/ValueExtractorTrait.php
index <HASH>..<HASH> 100644
--- a/src/Tool/ValueExtractorTrait.php
+++ b/src/Tool/ValueExtractorTrait.php
@@ -29,7 +29,7 @@ trait ValueExtractorTrait
/**
* Extracts the value of the given property or method from the object.
... | fix: protect against non-objects passed to value extractor | ramsey_collection | train | php |
30e2c29f1141fe4714f92b93e6933fc01de524b6 | diff --git a/lib/fluent/plugin/in_tail.rb b/lib/fluent/plugin/in_tail.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/plugin/in_tail.rb
+++ b/lib/fluent/plugin/in_tail.rb
@@ -338,7 +338,7 @@ module Fluent
end
def on_notify
- @rotate_handler.on_notify
+ @rotate_handler.on_notify if @rotate_... | Fix rotated handling when new file not found | fluent_fluentd | train | rb |
04a69a5548c00636b22233f0e50c394c39a95673 | diff --git a/src/FrameReflower/Text.php b/src/FrameReflower/Text.php
index <HASH>..<HASH> 100644
--- a/src/FrameReflower/Text.php
+++ b/src/FrameReflower/Text.php
@@ -314,8 +314,18 @@ class Text extends AbstractFrameReflower
}
if ($split === 0) {
+ // Make sure to move text when floating ... | Fix extraneous line height when wrapping large inline sub-frame
Tweaks the logic that was originally added in commit
<I>c<I>e<I>c3c<I>fd<I>cda4fba<I>a<I>aa3. | dompdf_dompdf | train | php |
4b863a659e36b1fa9887847e9dbb133b1852cf9b | diff --git a/examples/miniapps/bundles/run.py b/examples/miniapps/bundles/run.py
index <HASH>..<HASH> 100644
--- a/examples/miniapps/bundles/run.py
+++ b/examples/miniapps/bundles/run.py
@@ -23,8 +23,7 @@ class Core(containers.DeclarativeContainer):
if __name__ == '__main__':
# Initializing containers
- core... | Update bundles example after configuration provider refactoring | ets-labs_python-dependency-injector | train | py |
f56c4654d5b47f4578a865ae217b96622ed5247b | diff --git a/system/modules/generalDriver/DcGeneral/Contao/View/Contao2BackendView/BaseView.php b/system/modules/generalDriver/DcGeneral/Contao/View/Contao2BackendView/BaseView.php
index <HASH>..<HASH> 100644
--- a/system/modules/generalDriver/DcGeneral/Contao/View/Contao2BackendView/BaseView.php
+++ b/system/modules/g... | Do only load a model if an id has been provided, fetch an empty model instance otherwise. | contao-community-alliance_dc-general | train | php |
afe13987793a7ca6bc94e7ea2c8e9efb0cb2fb1b | diff --git a/lib/rails_admin/support/csv_converter.rb b/lib/rails_admin/support/csv_converter.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_admin/support/csv_converter.rb
+++ b/lib/rails_admin/support/csv_converter.rb
@@ -4,6 +4,9 @@ require 'csv'
module RailsAdmin
class CSVConverter
def initialize(objects = ... | fixing error raised when converting an empty array/relation into csv | sferik_rails_admin | train | rb,rb |
6808d5331ef4cbcb84e7776ec2192d934f1be464 | diff --git a/app/Site.php b/app/Site.php
index <HASH>..<HASH> 100644
--- a/app/Site.php
+++ b/app/Site.php
@@ -34,6 +34,11 @@ class Site
'SMTP_AUTH_PASS'
];
+ // The following preferences contain unimportant data, and should not be logged.
+ private const UNIMPORTANT_PREFERENCES = [
+ 'next... | Do not log changes to all site preferences | fisharebest_webtrees | train | php |
d1062f06a828ad60eb03435a26dbf11bfb7b6e71 | diff --git a/tryfer/keystone.py b/tryfer/keystone.py
index <HASH>..<HASH> 100644
--- a/tryfer/keystone.py
+++ b/tryfer/keystone.py
@@ -139,7 +139,7 @@ class KeystoneAgent(object):
return body
else:
self.msg("_handleAuthResponse: %(response)s rejected", response=response)
-... | Added exception to fail() call that is not in a try except block | tryfer_tryfer | train | py |
f8148257f9a07b856378975f7b2b3bcc8e3b514c | diff --git a/salt/states/docker_container.py b/salt/states/docker_container.py
index <HASH>..<HASH> 100644
--- a/salt/states/docker_container.py
+++ b/salt/states/docker_container.py
@@ -300,7 +300,7 @@ def running(name,
Additionally, the specified selinux context will be set within the
container.... | Fix read_only doc typo
Following the examples, this should be 'rw' instead of 'ro' | saltstack_salt | train | py |
2651d0cbe29d753a2258cc9a30f3df2c3bdf0b66 | diff --git a/core/lib/generators/refinery/form/templates/config/routes.rb b/core/lib/generators/refinery/form/templates/config/routes.rb
index <HASH>..<HASH> 100644
--- a/core/lib/generators/refinery/form/templates/config/routes.rb
+++ b/core/lib/generators/refinery/form/templates/config/routes.rb
@@ -1,7 +1,7 @@
Refi... | Remove extra path => ''. | refinery_refinerycms | train | rb |
f85efcd800af1ad9e73993b2140d8d5e879e353b | diff --git a/src/app/Traits/CacheReader.php b/src/app/Traits/CacheReader.php
index <HASH>..<HASH> 100644
--- a/src/app/Traits/CacheReader.php
+++ b/src/app/Traits/CacheReader.php
@@ -4,19 +4,22 @@ namespace LaravelEnso\RememberableModels\app\Traits;
trait CacheReader
{
- private function getModelFromCache($class... | adds exceptions when params are wrong | laravel-enso_Rememberable | train | php |
f942e6383c03d00ed359b3dd73735a6b4e1c7a7f | diff --git a/lib/deep_unrest/read.rb b/lib/deep_unrest/read.rb
index <HASH>..<HASH> 100644
--- a/lib/deep_unrest/read.rb
+++ b/lib/deep_unrest/read.rb
@@ -124,7 +124,7 @@ module DeepUnrest
jsonapi_result = processor.process
# un-monkey patch the resource :records method
- r_metaclass.send(:alias_me... | [typo] un-monkey patch resource records method | graveflex_deep_unrest | train | rb |
142dd1b5253ee784347142ade216749328695323 | diff --git a/lib/cloud_formation_tool/cloud_formation.rb b/lib/cloud_formation_tool/cloud_formation.rb
index <HASH>..<HASH> 100644
--- a/lib/cloud_formation_tool/cloud_formation.rb
+++ b/lib/cloud_formation_tool/cloud_formation.rb
@@ -23,7 +23,7 @@ module CloudFormationTool
begin
text = File.read(@path)... | Fixed regex to not use perl flag /s because it doesn't mean it in ruby | GreenfieldTech_cloudformation-tool | train | rb |
a1b050517ad49689cc79926917c7634da8a26eeb | diff --git a/src/python/dxpy/scripts/dx_build_app.py b/src/python/dxpy/scripts/dx_build_app.py
index <HASH>..<HASH> 100755
--- a/src/python/dxpy/scripts/dx_build_app.py
+++ b/src/python/dxpy/scripts/dx_build_app.py
@@ -363,9 +363,9 @@ def _verify_app_source_dir_impl(src_dir, temp_dir, mode, enforce=True):
... | Error out when old pricing scheme is used (#<I>) | dnanexus_dx-toolkit | train | py |
efc3ae5e774f4b3d94b87dd9523afbc717510925 | diff --git a/core/ScheduledTime/Monthly.php b/core/ScheduledTime/Monthly.php
index <HASH>..<HASH> 100644
--- a/core/ScheduledTime/Monthly.php
+++ b/core/ScheduledTime/Monthly.php
@@ -33,7 +33,7 @@ class Piwik_ScheduledTime_Monthly extends Piwik_ScheduledTime
date('Y', $currentTime)
);
- $nextMont... | Refs #<I>
Using date() as it is built-in (VS cal_days_in_month which requires library)
Unit tests pass so I think it is similar?
git-svn-id: <URL> | matomo-org_matomo | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.