hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
2c7c62c6d045746eb71d4e5087166a5fe3d8f4af | diff --git a/nat/paramSample.py b/nat/paramSample.py
index <HASH>..<HASH> 100644
--- a/nat/paramSample.py
+++ b/nat/paramSample.py
@@ -10,8 +10,10 @@ from warnings import warn
from .modelingParameter import NumericalVariable, ParamDescTrace, ValuesSimple, \
getParameterTypeIDFromName, getParameterTypeNameFromID
... | Adding support for rescaling stereology from 2D to 3D using slice thickness. Adding support for processing age form experimental properties. | BlueBrain_nat | train |
778d14fb16dec59ac15b60c641e7ce3e53cb8191 | diff --git a/lib/doorkeeper.rb b/lib/doorkeeper.rb
index <HASH>..<HASH> 100644
--- a/lib/doorkeeper.rb
+++ b/lib/doorkeeper.rb
@@ -1,46 +1,46 @@
-require "doorkeeper/version"
-require "doorkeeper/engine"
-require "doorkeeper/config"
-require "doorkeeper/doorkeeper_for"
+require 'doorkeeper/version'
+require 'doorkeeper... | Undo unwanted rebase effect. | doorkeeper-gem_doorkeeper | train |
08be2fbdfe2b14bba768bbb4ebab950c512cad96 | diff --git a/lxd/db/network_forwards.go b/lxd/db/network_forwards.go
index <HASH>..<HASH> 100644
--- a/lxd/db/network_forwards.go
+++ b/lxd/db/network_forwards.go
@@ -173,7 +173,7 @@ func (c *Cluster) DeleteNetworkForward(networkID int64, forwardID int64) error {
// GetNetworkForward returns the Network Forward ID and... | lxd/db/network/forwards: Adds context arg to GetNetworkForwards and GetNetworkForward | lxc_lxd | train |
4694aef3336fb3cb780798dc272203fa35797fe9 | diff --git a/lib/aker/ldap/authority.rb b/lib/aker/ldap/authority.rb
index <HASH>..<HASH> 100644
--- a/lib/aker/ldap/authority.rb
+++ b/lib/aker/ldap/authority.rb
@@ -336,6 +336,9 @@ module Aker::Ldap
base = self.find_user(user.username)
return user unless base
+ user.extend UserExt
+ user.lda... | Add ldap_attributes when amplifying. #<I>. | NUBIC_aker | train |
98e42bc37e866508a671b569d905852c2e6ae17e | diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -436,6 +436,17 @@ module ActiveRecord
# The chain is built by recursively c... | expanded rdoc for chain and reflection_names | rails_rails | train |
d4721249703358cc7ca38903ef6383537c87c537 | diff --git a/go/stellar/stellarsvc/frontend_test.go b/go/stellar/stellarsvc/frontend_test.go
index <HASH>..<HASH> 100644
--- a/go/stellar/stellarsvc/frontend_test.go
+++ b/go/stellar/stellarsvc/frontend_test.go
@@ -506,12 +506,10 @@ func TestAcceptDisclaimer(t *testing.T) {
require.NoError(t, err)
require.Equal(t, ... | more test (#<I>) | keybase_client | train |
6e58eae3016187f7732cbade4066952f0c8b520a | diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/command.py
+++ b/pyghmi/ipmi/command.py
@@ -87,6 +87,9 @@ class Command(object):
onlogon=self.logged,
port=port,
... | Move previous fix out to command and console
console at least needed the assignment to the session to occur
prior to its callback working. Move the responsibility of the
mandatory loop iteration up a layer so that pyghmi won't break,
but calling code won't have to worry about this either.
Change-Id: I<I>acf<I>bb<I>e... | openstack_pyghmi | train |
b0211bf92ecfb474f1539fa34c15ae76dada6142 | diff --git a/src/oidcendpoint/oidc/registration.py b/src/oidcendpoint/oidc/registration.py
index <HASH>..<HASH> 100755
--- a/src/oidcendpoint/oidc/registration.py
+++ b/src/oidcendpoint/oidc/registration.py
@@ -5,9 +5,10 @@ import logging
import time
from random import random
from urllib.parse import parse_qs
-from ... | Don't use splitquery - deprecated. | IdentityPython_oidcendpoint | train |
9ce7f64423f28ce7510dcba324c0ca7e1bc3ae5c | diff --git a/lib/jsaws.js b/lib/jsaws.js
index <HASH>..<HASH> 100644
--- a/lib/jsaws.js
+++ b/lib/jsaws.js
@@ -699,6 +699,11 @@ jsaws.getLatest = function(awsCollection, tagName) {
// Export the jsaws library object
sg.exportify(module, jsaws);
+exports.lib2 = {};
+_.each(require('../lib2/ec2/ec2.js'), function(val... | Just causing them to be afraid. | briancsparks_js-aws | train |
940d868b53f650d3f20f53304243158faf725186 | diff --git a/runspade.py b/runspade.py
index <HASH>..<HASH> 100755
--- a/runspade.py
+++ b/runspade.py
@@ -4,14 +4,12 @@ import os, signal
import sys
import time
import thread
-#import ConfigParser
from getopt import getopt
from spade import spade_backend
from spade import SpadeConfigParser
from spade import c... | xmpp dict bug solved | javipalanca_spade | train |
66fba70af7408beec02ed8123a7f6309fe940a43 | diff --git a/obdalib/obdalib-core/src/main/java/it/unibz/krdb/obda/gui/swing/panel/MappingManagerPanel.java b/obdalib/obdalib-core/src/main/java/it/unibz/krdb/obda/gui/swing/panel/MappingManagerPanel.java
index <HASH>..<HASH> 100644
--- a/obdalib/obdalib-core/src/main/java/it/unibz/krdb/obda/gui/swing/panel/MappingMana... | The problem the tree got reset is because of nodeStructureChange() method. It triggers the update of the whole tree structure and redraws the tree display. So instead of doing this, we just look for the new node and display it without triggering any massive update event.
BUG=<I>
Ticket URL=<URL> | ontop_ontop | train |
6ba1325874871b69a963193864dbb6b7cdb5e720 | diff --git a/hdl_toolkit/synthetisator/interfaceLevel/unit.py b/hdl_toolkit/synthetisator/interfaceLevel/unit.py
index <HASH>..<HASH> 100644
--- a/hdl_toolkit/synthetisator/interfaceLevel/unit.py
+++ b/hdl_toolkit/synthetisator/interfaceLevel/unit.py
@@ -73,6 +73,9 @@ class Unit(UnitBase, Buildable, PropDeclrCollector,... | new: _wasSynthetised | Nic30_hwt | train |
b241c50957c6f651d293600a74d06ae61aa69a72 | diff --git a/source/php/BulkImport.php b/source/php/BulkImport.php
index <HASH>..<HASH> 100644
--- a/source/php/BulkImport.php
+++ b/source/php/BulkImport.php
@@ -296,7 +296,13 @@ class BulkImport
foreach ($userNames as $userName) {
if (!empty($userName) && !in_array($userName, $this->getLocalAc... | Check that the username exists before creating it. | helsingborg-stad_active-directory-api-wp-integration | train |
d892ca944d92b0de2e821d4a4421cce84bc5b514 | diff --git a/lib/AdapterLdap.php b/lib/AdapterLdap.php
index <HASH>..<HASH> 100644
--- a/lib/AdapterLdap.php
+++ b/lib/AdapterLdap.php
@@ -52,8 +52,13 @@ class AdapterLdap extends Adapter
public const TYPE_BOOL = 'bool';
+ public const TYPE_ARRAY = 'array';
+
+ //TODO: remove in future major release and ... | fix: fix processing attr val of map type in LDAP
- previous implementation did not convert map value to associative array | CESNET_perun-simplesamlphp-module | train |
061cfbecd4c025dc5c575ed4a89b3a9446c0849f | diff --git a/tests/system/Helpers/FormHelperTest.php b/tests/system/Helpers/FormHelperTest.php
index <HASH>..<HASH> 100644
--- a/tests/system/Helpers/FormHelperTest.php
+++ b/tests/system/Helpers/FormHelperTest.php
@@ -557,6 +557,33 @@ EOH;
}
// --------------------------------------------------------------------... | test for Multiselect with Array Data | codeigniter4_CodeIgniter4 | train |
c26a778c6943d8ddae9f71c2de3f7daa65cdb35d | diff --git a/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js b/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js
+++ b/app/assets/javascripts/govuk... | Remove comment about co-existing cookie banners
as we don't have 2 banners anymore | alphagov_govuk_publishing_components | train |
70836bc87d7cd052b6e3ff84226a71069c454947 | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -343,7 +343,7 @@ func (s *Server) StartSelfMonitoring(database, retention string, interval time.D
pointFromStats := func(st *Stats, tags map[string]string) Point {
point := Point{
Timestamp: time.Now(),
- Name: ... | Write stats and diags to different measurements
Also, some fixes to casts. This may need further work. | influxdata_influxdb | train |
ada7f8cca313dd3bc5a0f24650c4d862679320e2 | diff --git a/internal_test.go b/internal_test.go
index <HASH>..<HASH> 100644
--- a/internal_test.go
+++ b/internal_test.go
@@ -95,7 +95,7 @@ func TestFlusher(t *testing.T) {
if f, ok := w.(http.Flusher); ok {
f.Flush()
}
- time.Sleep(1)
+ time.Sleep(time.Microsecond)
}
})
@@ -117,6 +117,12 @@ fu... | Sleep longer between writes; check for empty reads | lestrrat-go_apache-logformat | train |
37523ebc044fca7946c56596bd6911871ff42244 | diff --git a/test/rally_api_spec_helper.rb b/test/rally_api_spec_helper.rb
index <HASH>..<HASH> 100644
--- a/test/rally_api_spec_helper.rb
+++ b/test/rally_api_spec_helper.rb
@@ -102,4 +102,7 @@ end
RSpec.configure do |c|
c.include(RallyConfigLoader)
+ c.tty = true
+ c.color = true
+ c.formatter = :documentati... | S<I>- colorize and format test output | RallyTools_RallyRestToolkitForRuby | train |
89d38677a73d21aa19fba8a01bb23998a478cefa | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Removed remaining `_type` field usages [#2017](https://github.com/ruflin/Elastica/pull/2017)
### Fixed
* Fixe... | Use params to configure terms query (#<I>)
* Use params to configure terms query
* Adapt tests
* Store field as property
* Add changelog | ruflin_Elastica | train |
7fabd25bdb0191597212be9437e0417b9c98c7c8 | diff --git a/src/main/java/su/litvak/chromecast/api/v2/Channel.java b/src/main/java/su/litvak/chromecast/api/v2/Channel.java
index <HASH>..<HASH> 100644
--- a/src/main/java/su/litvak/chromecast/api/v2/Channel.java
+++ b/src/main/java/su/litvak/chromecast/api/v2/Channel.java
@@ -250,8 +250,7 @@ class Channel implements ... | Make 'channel' a short-living object as it was before | vitalidze_chromecast-java-api-v2 | train |
bb1a5707d872d39212f1046a37afb3305807f788 | diff --git a/.eslintrc.js b/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -5,6 +5,9 @@ module.exports = {
es6: true,
node: true
},
+ parserOptions: {
+ ecmaVersion: 2020
+ },
plugins: ['ghost'],
extends: [
'plugin:ghost/node' | Updated eslint ecma version to <I>
- It's time, we want to be able to use more modern features, and now we're on node <I> min this makes sense
- @TODO: do this in eslint-plugin-ghost and add new rules to guard the new features | TryGhost_Ghost | train |
bbf3fd8ce5a9a9592a09c591088a5c5be93bd706 | diff --git a/textbuilder.go b/textbuilder.go
index <HASH>..<HASH> 100644
--- a/textbuilder.go
+++ b/textbuilder.go
@@ -217,16 +217,15 @@ func (mtb MarkdownTxBuilder) BuildWrap(s string, fg, bg Attribute, wl uint) []Ce
} else if plainRune[i] != plainWrappedRune[i] && plainWrappedRune[i] == 10 {
trigger = "go"
... | fixed bug in where the newline should just replace the space | gizak_termui | train |
581d7b4959ef480890a797db0d9bb73ef46561a8 | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -371,30 +371,30 @@ function reset_login_count() {
$SESSION->logincount = 0;
}
-function isadmin($userid=false) {
+function isadmin($userid=0) {
/// Is the user an admin?
global... | Fixes for isadmin() | moodle_moodle | train |
11e6eccb8a80b0031068563b2efa776068babcd2 | diff --git a/lib/yard/generators/base.rb b/lib/yard/generators/base.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/generators/base.rb
+++ b/lib/yard/generators/base.rb
@@ -175,7 +175,11 @@ module YARD
if section.is_a?(Symbol)
if respond_to?(section)
- send(section, object, &b... | If generator method does not have object argument, don't send object to it. Add locals hash to #render. Also remove all custom stacktrace printing because it was messy | lsegal_yard | train |
aa19fdf6aea853fb8e8a7797892a9e40fdfa4e70 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/record/ODatabaseRecordAbstract.java b/core/src/main/java/com/orientechnologies/orient/core/db/record/ODatabaseRecordAbstract.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/db/record/ODatabaseRecordAbstract.... | Fixed bug on remote opening using users different by ADMIN. | orientechnologies_orientdb | train |
6e16419c18da08323e6f6177c9065ccf1dfd1eaf | diff --git a/src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java b/src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java
+++ b/src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java
@@ -21,6 +21,7 @@... | Handle concurrent close while copying cursor contents. | Carbonado_Carbonado | train |
5007093ac6e6c77fee5d1ab1e0295923106a822d | diff --git a/tools/proxies-utils/src/main/java/org/ow2/chameleon/fuchsia/tools/proxiesutils/ProxyFacetIntrospectable.java b/tools/proxies-utils/src/main/java/org/ow2/chameleon/fuchsia/tools/proxiesutils/ProxyFacetIntrospectable.java
index <HASH>..<HASH> 100644
--- a/tools/proxies-utils/src/main/java/org/ow2/chameleon/f... | Fix sonar issues in proxies-utils | ow2-chameleon_fuchsia | train |
7ceaec333b53b66c31e8e00ee7bdf670a30f5abf | diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index <HASH>..<HASH> 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -63,12 +63,6 @@ Metrics/ParameterLists:
Metrics/PerceivedComplexity:
Max: 20
-# Offense count: 2
-Naming/AccessorMethodName:
- Exclude:
- - 'lib/gruff/helper/stacked_mixin.rb'
- ... | Rubocop: Fix method name for Naming/AccessorMethodName in Rubocop (#<I>) | topfunky_gruff | train |
60458890bbf8d53a82e5a3a882c6a9e94292283f | diff --git a/lib/chef/knife/solo_cook.rb b/lib/chef/knife/solo_cook.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/solo_cook.rb
+++ b/lib/chef/knife/solo_cook.rb
@@ -270,9 +270,11 @@ class Chef
cmd = ['rsync', '-rL', rsync_debug, rsync_permissions, %Q{--rsh=#{ssh_command}}]
cmd += extra_opts
... | More code consistency in rsync command build step | matschaffer_knife-solo | train |
cbf2967167819866c939622aab0c120f3efc1e8d | diff --git a/simplekv/git.py b/simplekv/git.py
index <HASH>..<HASH> 100644
--- a/simplekv/git.py
+++ b/simplekv/git.py
@@ -8,7 +8,7 @@ from dulwich.objects import Commit, Tree, Blob
from . import KeyValueStore, __version__
-def on_tree(repo, tree, components, obj):
+def _on_tree(repo, tree, components, obj):
... | Prefixed on_tree with an underscore to mark its non-public nature. | mbr_simplekv | train |
686f6b102e3d249d7379ab2424591cad5b086b83 | diff --git a/src/mixed.js b/src/mixed.js
index <HASH>..<HASH> 100644
--- a/src/mixed.js
+++ b/src/mixed.js
@@ -46,19 +46,21 @@ SchemaType.prototype = {
if (!schema)
return this
- if( schema._type !== this._type )
+ if (schema._type !== this._type && this._type !== 'mixed')
throw new TypeError... | [changed] concat() allows mixing "mixed" and other type | jquense_yup | train |
61bb6e37ab9b8fcbe380d30aa5d3cdb5e2c9bdb2 | diff --git a/rundeck-storage/rundeck-storage-conf/src/main/java/org/rundeck/storage/conf/SubPathTree.java b/rundeck-storage/rundeck-storage-conf/src/main/java/org/rundeck/storage/conf/SubPathTree.java
index <HASH>..<HASH> 100644
--- a/rundeck-storage/rundeck-storage-conf/src/main/java/org/rundeck/storage/conf/SubPathTr... | root path treated as implicit dir for SubPathTree | rundeck_rundeck | train |
11cd0c68c9bead2762e767181e9e8ec2e0a47579 | diff --git a/mode/markdown/markdown.js b/mode/markdown/markdown.js
index <HASH>..<HASH> 100644
--- a/mode/markdown/markdown.js
+++ b/mode/markdown/markdown.js
@@ -437,13 +437,13 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
return tokenTypes.image;
}
- if (ch === '[' && stream.match(/... | [markdown mode] Fix some issues with link matching
Closes #<I> | codemirror_CodeMirror | train |
64611ced8519faa7bc0283323a1ce064a75d2daf | diff --git a/assets/src/scripts/charcoal/admin/property/input/text.js b/assets/src/scripts/charcoal/admin/property/input/text.js
index <HASH>..<HASH> 100644
--- a/assets/src/scripts/charcoal/admin/property/input/text.js
+++ b/assets/src/scripts/charcoal/admin/property/input/text.js
@@ -504,3 +504,7 @@ Charcoal.Admin.Pr... | Fix an issue preventing text input to re-render itself correctly
Apparently adding an empty delete method forces the manager the call init on the widget 🤷 | locomotivemtl_charcoal-admin | train |
8614d5bbe2307277c52c0a41f56d1664e9b6bc0a | diff --git a/test/string.js b/test/string.js
index <HASH>..<HASH> 100644
--- a/test/string.js
+++ b/test/string.js
@@ -404,6 +404,16 @@ tests = {
assert.equal(expected, data);
}
+, 'test stripTags': function () {
+ var html = '<div>foo</div><p>bar<br/>wooby</p>'
+ , expected = 'foobarwooby';
+ asse... | added tests for string.stripTags() | mde_utilities | train |
d4d414694a77a373a06f141eaece29e675dd0c18 | diff --git a/lib/setuplib.php b/lib/setuplib.php
index <HASH>..<HASH> 100644
--- a/lib/setuplib.php
+++ b/lib/setuplib.php
@@ -897,7 +897,11 @@ function initialise_fullme() {
// (That is, the Moodle server uses http, with an external box translating everything to https).
if (empty($CFG->sslproxy)) {
... | MDL-<I> setuplib: Redirect on https mismatch
When the wwwroot indicates https support and a page is accessed over http,
redirect to the wwwroot. This is a better experience than displaying an error. | moodle_moodle | train |
1ab16480c3eda2ea7ca5de33474e649d4a9b2044 | diff --git a/src/js/confirmation.js b/src/js/confirmation.js
index <HASH>..<HASH> 100644
--- a/src/js/confirmation.js
+++ b/src/js/confirmation.js
@@ -4,14 +4,14 @@
// CONFIRMATION CLASS DEFINITION
// =============================
- var Confirmation = function($triggerEl, options) {
- var message = (!option... | Refactoring to follow 'Ask for what you need' rule | visionappscz_bootstrap-ui | train |
e5ff7224d8657d63ae8ca44451e80dc44b4e0026 | diff --git a/src/formulas.js b/src/formulas.js
index <HASH>..<HASH> 100644
--- a/src/formulas.js
+++ b/src/formulas.js
@@ -30,7 +30,7 @@ SOFTWARE.
* @private
*/
- /**
+/**
* Compute the optimal size of a Bloom Filter
* @param {int} setLength - The length of the dataset used to fill the filter
* @param {nu... | Fix linting error with standard | Callidon_bloom-filters | train |
2b905754ca31ba6ade7b5558a59cd7081689df20 | diff --git a/src/WeAreDe/TbcPay/TbcPayProcessor.php b/src/WeAreDe/TbcPay/TbcPayProcessor.php
index <HASH>..<HASH> 100644
--- a/src/WeAreDe/TbcPay/TbcPayProcessor.php
+++ b/src/WeAreDe/TbcPay/TbcPayProcessor.php
@@ -68,7 +68,7 @@ class TbcPayProcessor
/**
* authorization language identifier, optional (up to... | feat: Charge ertguli points | plugandpay_tbc-credit-card-payment-gateway-php-lib | train |
39db59bbefa9317076798880714b062a239661af | diff --git a/admin/context.go b/admin/context.go
index <HASH>..<HASH> 100644
--- a/admin/context.go
+++ b/admin/context.go
@@ -372,7 +372,8 @@ func (context *Context) funcMap() template.FuncMap {
return funcMap
}
-// PatchURL updates the query part of the current request url
+// PatchURL updates the query part of ... | add tests and help doc for patch_url | qor_qor | train |
849477f734700be201df64a0f0f32afc1e21333d | diff --git a/route.go b/route.go
index <HASH>..<HASH> 100644
--- a/route.go
+++ b/route.go
@@ -4,6 +4,7 @@ import (
"net/http"
"sort"
"strings"
+ "net/url"
)
const (
@@ -126,7 +127,12 @@ func (r *Route) getExecution(method string, pathParts []string, ex *routeExecuti
// save path parameters
if curRout... | decode path param, panic if it fails | AndrewBurian_powermux | train |
a05e72c35629949a811c0c43942e0e7deae0d7e3 | diff --git a/hipster-core/src/main/java/es/usc/citius/hipster/algorithm/DepthFirstSearch.java b/hipster-core/src/main/java/es/usc/citius/hipster/algorithm/DepthFirstSearch.java
index <HASH>..<HASH> 100644
--- a/hipster-core/src/main/java/es/usc/citius/hipster/algorithm/DepthFirstSearch.java
+++ b/hipster-core/src/main/... | Update DepthFirstSearch.java
StackFrameNode changed to public | citiususc_hipster | train |
cbb22ef6b2004e5edc247514eb86b56059c19913 | diff --git a/tests/PluginClientBuilderTest.php b/tests/PluginClientBuilderTest.php
index <HASH>..<HASH> 100644
--- a/tests/PluginClientBuilderTest.php
+++ b/tests/PluginClientBuilderTest.php
@@ -49,6 +49,29 @@ class PluginClientBuilderTest extends TestCase
$this->assertSame($expected, $plugged);
}
+ ... | Add test on passing options from the client builder to the client | php-http_client-common | train |
ee67757a81596202e605838e9d8b242ef2e0afa7 | diff --git a/core/src/main/java/io/undertow/server/DefaultByteBufferPool.java b/core/src/main/java/io/undertow/server/DefaultByteBufferPool.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/undertow/server/DefaultByteBufferPool.java
+++ b/core/src/main/java/io/undertow/server/DefaultByteBufferPool.java
@@ -1... | UNDERTOW-<I> DefaultByteBufferPool leak detection works properly at <I>%
Previously the comparison was inverted such that passing <I>%
detection would never instantiate a LeakDetector. | undertow-io_undertow | train |
908ce3c9343548475f819861d17f767b1c6e1566 | diff --git a/js/researches/english/passivevoice-english/auxiliaries.js b/js/researches/english/passivevoice-english/auxiliaries.js
index <HASH>..<HASH> 100644
--- a/js/researches/english/passivevoice-english/auxiliaries.js
+++ b/js/researches/english/passivevoice-english/auxiliaries.js
@@ -1,31 +1,41 @@
+// These auxil... | Refactor auxiliaries to prepare for use in keyword suggestion tool | Yoast_YoastSEO.js | train |
9f4560b20fb3bd4bb855fada3e6feea59b26ce66 | diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index <HASH>..<HASH> 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -68,6 +68,7 @@ Joe Buck [@four2five](https://github.com/four2five)
John Barker [@j16r](https://github.com/j16r)
John Goodall [@jgoodall](https://github.com/jgoodall)
John Stanford [@jxstanford](https://githu... | Add support for automatic slicing in Reindex API
As of Elasticsearch <I>, there is a support for automatically slicing
the reindexing task. See
<URL> | olivere_elastic | train |
87ac8ca6183b9ffd7cd936ef8fe5769d6d700d7c | diff --git a/pyhomematic/devicetypes/sensors.py b/pyhomematic/devicetypes/sensors.py
index <HASH>..<HASH> 100644
--- a/pyhomematic/devicetypes/sensors.py
+++ b/pyhomematic/devicetypes/sensors.py
@@ -284,7 +284,7 @@ class MotionV2(Motion, HelperSabotage):
"""Motion detection version 2."""
-class MotionIP(HMBina... | MotionIP + MotionIPV2 cleanup and OPERATING_VOLTAGE support, removed obsolete Sabotage in MotionIP
Added operating voltage support and removed obsolete Sabotage in MotionIP | danielperna84_pyhomematic | train |
c20d165e29fa486a56f13477df414f4c2f72b66b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -13,11 +13,12 @@ setup(
url = "http://wiki.github.com/pteichman/cobe/",
description = "Markov chain based text generator library and chatbot",
packages = ["cobe"],
- test_suite = "tests",
+ test_suite = "u... | Require unittest2 <I> and coverage <I> | pteichman_cobe | train |
4663e2814b359b0719d978d63cebba4d65adddb7 | diff --git a/lib/basic_app/actions/base_action.rb b/lib/basic_app/actions/base_action.rb
index <HASH>..<HASH> 100644
--- a/lib/basic_app/actions/base_action.rb
+++ b/lib/basic_app/actions/base_action.rb
@@ -119,9 +119,12 @@ module BasicApp
filters += options[:filter] if options[:filter]
result = result.me... | don't hard-code asset folder hash key | robertwahler_repo_manager | train |
3d77198d96fa152f4f30220e519b149f977881dd | diff --git a/packages/ringcentral-widgets/modules/CallLogSection/getCallLogSectionReducer.js b/packages/ringcentral-widgets/modules/CallLogSection/getCallLogSectionReducer.js
index <HASH>..<HASH> 100644
--- a/packages/ringcentral-widgets/modules/CallLogSection/getCallLogSectionReducer.js
+++ b/packages/ringcentral-widg... | [refactor] Refactor some ramda use to only import necessary functions (#<I>) | ringcentral_ringcentral-js-widgets | train |
3de19c57eca9864ca0142a643698e5ff2e73b39e | diff --git a/dask_ml/_partial.py b/dask_ml/_partial.py
index <HASH>..<HASH> 100644
--- a/dask_ml/_partial.py
+++ b/dask_ml/_partial.py
@@ -168,7 +168,7 @@ def fit(model, x, y, compute=True, **kwargs):
assert x.chunks[0] == y.chunks[0]
assert hasattr(model, 'partial_fit')
if len(x.chunks[1]) > 1:
- ... | fix: outstanding occurrences of reblock replaced with rechunk (#<I>) | dask_dask-ml | train |
aa7e862894f1ec2e7b8d596db9e2b208830b35f2 | diff --git a/node.js b/node.js
index <HASH>..<HASH> 100644
--- a/node.js
+++ b/node.js
@@ -267,7 +267,8 @@ export class InlineNode extends Node {
export class TextNode extends InlineNode {
constructor(type, attrs, content, styles) {
- if (typeof content != "string") throw new Error("Passing non-string as text ... | Fix text parser creating empty text nodes
Issue #<I> | ProseMirror_prosemirror-model | train |
e9e5e0ade954e997890bc0321b45550572e6631b | diff --git a/src/OneSignal.php b/src/OneSignal.php
index <HASH>..<HASH> 100644
--- a/src/OneSignal.php
+++ b/src/OneSignal.php
@@ -114,6 +114,8 @@ class OneSignal
* @param string $name
*
* @return object
+ *
+ * @throws OneSignalException If an invalid option name is given
*/
public... | Throw exception instead of trigger error in __get | norkunas_onesignal-php-api | train |
20e39be24d8b81d0bba79ebc888efc75fdda10f8 | diff --git a/project/library/CM/File/Javascript.php b/project/library/CM/File/Javascript.php
index <HASH>..<HASH> 100644
--- a/project/library/CM/File/Javascript.php
+++ b/project/library/CM/File/Javascript.php
@@ -53,4 +53,8 @@ class CM_File_Javascript extends CM_File {
$indentation = str_repeat("\t", (int) $indent... | t<I>: Minification added to /internal.js response | cargomedia_cm | train |
23ce3f4227d247c980c4f9264e01e32ea339eb91 | diff --git a/examples/autonomousSequence.py b/examples/autonomousSequence.py
index <HASH>..<HASH> 100644
--- a/examples/autonomousSequence.py
+++ b/examples/autonomousSequence.py
@@ -127,8 +127,6 @@ def start_position_printing(scf):
def run_sequence(scf, sequence):
cf = scf.cf
- cf.param.set_value('flightmod... | Closes #<I>: Cleanup position setpoint in examples | bitcraze_crazyflie-lib-python | train |
063711f2eb530d08a9869ca6662ac3c847dd1631 | diff --git a/docido_sdk/scripts/dcc_run.py b/docido_sdk/scripts/dcc_run.py
index <HASH>..<HASH> 100644
--- a/docido_sdk/scripts/dcc_run.py
+++ b/docido_sdk/scripts/dcc_run.py
@@ -1,7 +1,9 @@
+from contextlib import contextmanager
import logging
from optparse import OptionParser
import pickle
from pickle import Pick... | Fixed dcc-run
* custom args were not taken into account
* lazy definition of `YamlAPIConfigurationProvider`,
popped from environment when no longer required. | cogniteev_docido-python-sdk | train |
d2bfcb33c44d5c931e7fc9694787f3eba0723d3f | diff --git a/js/chips.js b/js/chips.js
index <HASH>..<HASH> 100644
--- a/js/chips.js
+++ b/js/chips.js
@@ -313,3 +313,4 @@
this.handleEvents();
};
}( jQuery ));
+// end | triggwr new Travis build | Dogfalo_materialize | train |
2030582e7cc2be689e6f538176b752fc2169d8ab | diff --git a/lib/letsencrypt.js b/lib/letsencrypt.js
index <HASH>..<HASH> 100644
--- a/lib/letsencrypt.js
+++ b/lib/letsencrypt.js
@@ -38,17 +38,25 @@ function init(certPath, port, logger){
webrootPath: webrootPath,
debug: false
- }
+ };
// we need to proxy for example: 'example.com/.well-known/acme-... | fixed: GET / on LetEncrypt port crashes proxy | OptimalBits_redbird | train |
c3828f01d84b1afd13a4b52a8e125b7421f34892 | diff --git a/notrequests.py b/notrequests.py
index <HASH>..<HASH> 100644
--- a/notrequests.py
+++ b/notrequests.py
@@ -102,9 +102,9 @@ class Response(object):
return {c.name: c.value for c in cookies}
- def json(self):
+ def json(self, **kwargs):
"""Decodes response as JSON."""
- retu... | Response.json(..) takes keyword arguments.
The keyword arguments are passed through to the underlying json.loads(..) call.
This is what Requests does. | davidwtbuxton_notrequests | train |
3da06de125c394713a52c00adf18470892b63e3b | diff --git a/src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java b/src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
+++ b/src/main/java/jcifs/internal/smb1/trans/nt/... | support empty notification (can happen if server decides) | AgNO3_jcifs-ng | train |
97627d2783f1df24a43edb75c3c94b1e0da8b64a | diff --git a/mod/feedback/view.php b/mod/feedback/view.php
index <HASH>..<HASH> 100644
--- a/mod/feedback/view.php
+++ b/mod/feedback/view.php
@@ -139,7 +139,7 @@ if ($feedbackcompletion->can_complete()) {
} else {
$label = get_string('complete_the_form', 'feedback');
}
- echo html... | MDL-<I> feedback: add button style for "Answer the questions" link. | moodle_moodle | train |
30c3ea6b0536067f67a8309d0800ff8e8b9c3558 | diff --git a/src/resources/assets/buttons.server-side.js b/src/resources/assets/buttons.server-side.js
index <HASH>..<HASH> 100644
--- a/src/resources/assets/buttons.server-side.js
+++ b/src/resources/assets/buttons.server-side.js
@@ -1,6 +1,64 @@
(function ($, DataTable) {
"use strict";
+ var _buildParams =... | Add export CSV with post as a method. | yajra_laravel-datatables-buttons | train |
d41648fca5ed041d8115b86965286c2d3a52214a | diff --git a/contrib/externs/angular-1.5.js b/contrib/externs/angular-1.5.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/angular-1.5.js
+++ b/contrib/externs/angular-1.5.js
@@ -21,7 +21,6 @@
* $cookieStore
* $httpBackend
* $rootElement
- * $rootScope
*
* @see http://angularjs.org/
* @e... | angular.$rootScope is the same as angular.Scope. Removes TODO and adds note
about the alias.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
f3964d209333a541b3dddd3f474fd25775a19ca6 | diff --git a/libraries/common/streams/router.js b/libraries/common/streams/router.js
index <HASH>..<HASH> 100644
--- a/libraries/common/streams/router.js
+++ b/libraries/common/streams/router.js
@@ -38,8 +38,10 @@ export const routeWillLeave$ = main$
export const routeDidLeave$ = main$
.filter(({ action }) => actio... | PWA-<I> re-activated cart tracking | shopgate_pwa | train |
b2b018fac413b8a6d392098c74e35432272e5b14 | diff --git a/domain.go b/domain.go
index <HASH>..<HASH> 100644
--- a/domain.go
+++ b/domain.go
@@ -1556,7 +1556,7 @@ func (a *DomainAddressSpaprVIO) MarshalXML(e *xml.Encoder, start xml.StartElemen
start.Attr = append(start.Attr, xml.Attr{
xml.Name{Local: "type"}, "spapr-vio",
})
- marshallUint64Attr(&start, "re... | Fix hex formatting of spapr-vio address reg | libvirt_libvirt-go-xml | train |
2218b90d786e74026f65565d85e8b611de83eefd | diff --git a/webapps/webapp/src/main/webapp/app/cockpit/pages/jobRetries.js b/webapps/webapp/src/main/webapp/app/cockpit/pages/jobRetries.js
index <HASH>..<HASH> 100644
--- a/webapps/webapp/src/main/webapp/app/cockpit/pages/jobRetries.js
+++ b/webapps/webapp/src/main/webapp/app/cockpit/pages/jobRetries.js
@@ -22,8 +22,... | fix(jobs): Show activity scope in jobs table | camunda_camunda-bpm-platform | train |
ca3b8e30af9a65c0e6beba91d2f2088b449bfaa5 | diff --git a/couchrest_model.gemspec b/couchrest_model.gemspec
index <HASH>..<HASH> 100644
--- a/couchrest_model.gemspec
+++ b/couchrest_model.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.add_dependency(%q<couchrest>, "~> 1.1.2")
s.add_dependency(%q<mime-types>, "~> 1.15")
- s.add_dependency(%q<ac... | Ensure ActiveModel <I>.x compatibility | couchrest_couchrest_model | train |
b823b8691efd551c090bcdf006d7958d50568d70 | diff --git a/tests/test_dummypi.py b/tests/test_dummypi.py
index <HASH>..<HASH> 100644
--- a/tests/test_dummypi.py
+++ b/tests/test_dummypi.py
@@ -17,7 +17,7 @@ def setup_module():
# call os.setsid so that all subprocesses terminate when the
# main process receives SIGTERM
- DAEMON = subprocess.Popen(['d... | launch databench with --log=INFO in tests | svenkreiss_databench | train |
4861be53c7484b558683231e61e1852a2107050f | diff --git a/hydpy/models/dam/dam_model.py b/hydpy/models/dam/dam_model.py
index <HASH>..<HASH> 100644
--- a/hydpy/models/dam/dam_model.py
+++ b/hydpy/models/dam/dam_model.py
@@ -138,10 +138,14 @@ def calc_naturalremotedischarge_v1(self):
Basic equation:
:math:`RemoteDemand =
- \\frac{\\Sigma(LoggedT... | Disallow negative estimates of the `natural remote discharge` of the dam model.
For now, this seems to be an improvement. However, this commit results in a discontinuity in the set of process equations. Hence it might not fit perfectly to the dam model and should be revised critically during integration testing. | hydpy-dev_hydpy | train |
c741e69e79049cfbe155a4351eb0bc056c404b21 | diff --git a/hazelcast-client/src/test/java/com/hazelcast/client/map/ClientMapIssueTest.java b/hazelcast-client/src/test/java/com/hazelcast/client/map/ClientMapIssueTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/test/java/com/hazelcast/client/map/ClientMapIssueTest.java
+++ b/hazelcast-client/src/test... | mark testListenerRegistrations as problematic | hazelcast_hazelcast | train |
62b6b9ab7bc2580dd5d684ace7e29c23e16c37dd | diff --git a/selene/elements.py b/selene/elements.py
index <HASH>..<HASH> 100644
--- a/selene/elements.py
+++ b/selene/elements.py
@@ -120,7 +120,7 @@ class InnerListWebElementLocator(ISeleneListWebElementLocator):
def find(self):
# return self._element.get_actual_webelement().find_elements(*self._by)
-... | context click added to SeleneElement | yashaka_selene | train |
ad6c2e03c69adada97aa4165b67d87bbbee552bf | diff --git a/elasticsearch-rails/lib/rails/templates/seeds.rb b/elasticsearch-rails/lib/rails/templates/seeds.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-rails/lib/rails/templates/seeds.rb
+++ b/elasticsearch-rails/lib/rails/templates/seeds.rb
@@ -3,7 +3,8 @@ require 'yaml'
Zlib::GzipReader.open(File.expand_p... | [RAILS] Fix seeds file to stop using outdated YAML method (#<I>)
The expert template was using the outdated YAML.load_documents, which is no longer present in the newer versions of Ruby. | elastic_elasticsearch-rails | train |
79a63e70c4d8b2840383d2a8791e41b6830ca9ad | diff --git a/autorest/adal/token.go b/autorest/adal/token.go
index <HASH>..<HASH> 100644
--- a/autorest/adal/token.go
+++ b/autorest/adal/token.go
@@ -1030,9 +1030,11 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
resp, err = spt.sender.Do(req)
}
+ // don't return a TokenRefr... | Return an error if resp and err are nil (#<I>)
This will allow retry logic to kick in and also avoid up-stream panics
due to both the response and the error being nil. | Azure_go-autorest | train |
56842dcb2a938613b3902dd4043d2b64125ca46f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -32,9 +32,10 @@ from setuptools import setup
install_requires = [
'six', 'pyscard', 'pyusb', 'click', 'cryptography', 'pyopenssl']
tests_require = []
+if sys.version_info < (3, 3):
+ tests_require.append('mock')
if ... | Fix Python version condition for adding mock to tests_require | Yubico_yubikey-manager | train |
db170ac3e1ceaefcc702d05175b0460c8ea29169 | diff --git a/src/Map.php b/src/Map.php
index <HASH>..<HASH> 100644
--- a/src/Map.php
+++ b/src/Map.php
@@ -964,7 +964,7 @@ class Map implements \Countable, Arrayable, Jsonable, \ArrayAccess, \IteratorAgg
* Track hashes we've created for non-string keys.
* @var array
*/
- private $map_key_to_hash = ... | Fixes inability to use non-scalar keys in map | haldayne_boost | train |
e4dd90a24bdba1d4fb0cc5c0cb40437f37c64246 | diff --git a/tests/compression_based.py b/tests/compression_based.py
index <HASH>..<HASH> 100644
--- a/tests/compression_based.py
+++ b/tests/compression_based.py
@@ -12,8 +12,8 @@ class ArithNCDTest(unittest.TestCase):
self.assertEqual(probs['a'][1], Fraction(1, 7))
def test_arith_output(self):
- ... | set up base for arith ncd | orsinium_textdistance | train |
4892d3c64d5525e7f43b62b07a0848428a6f574e | diff --git a/spec/fixtures/dummy/app/controllers/admin/pets_controller.rb b/spec/fixtures/dummy/app/controllers/admin/pets_controller.rb
index <HASH>..<HASH> 100644
--- a/spec/fixtures/dummy/app/controllers/admin/pets_controller.rb
+++ b/spec/fixtures/dummy/app/controllers/admin/pets_controller.rb
@@ -6,12 +6,6 @@ modu... | For consistency, remove the show action from the Admin::PetsController since it wasn't referenced in routes | adrian-gomez_swaggard | train |
642a2d96849e7b1029b005752b5a73cabd30bac5 | diff --git a/src/Message/CompletePurchaseRequest.php b/src/Message/CompletePurchaseRequest.php
index <HASH>..<HASH> 100644
--- a/src/Message/CompletePurchaseRequest.php
+++ b/src/Message/CompletePurchaseRequest.php
@@ -16,7 +16,7 @@ class CompletePurchaseRequest extends PurchaseRequest
$data['transactionId'] =... | Update CompletePurchaseRequest.php
operation SALE will charge the card via. capture as well.
AUTH will require to run capture via. other api calls or visiting the netaxept backend. | thephpleague_omnipay-netaxept | train |
515132a404c312ee0beb9dd86263c15ce0933788 | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -17,7 +17,8 @@ class Configuration implements ConfigurationInterface
->arrayNode('chunks')
... | Added a switch to globally enable and disable chunks. This is necesseray to determine if a developer should provide a storage service. | 1up-lab_OneupUploaderBundle | train |
303eebcaff6503394ab8c43f350ab777be1f8800 | diff --git a/lib/thinking_sphinx/rake_interface.rb b/lib/thinking_sphinx/rake_interface.rb
index <HASH>..<HASH> 100644
--- a/lib/thinking_sphinx/rake_interface.rb
+++ b/lib/thinking_sphinx/rake_interface.rb
@@ -1,5 +1,14 @@
class ThinkingSphinx::RakeInterface
- def clear
+ def clear_all
+ [
+ configuration.i... | Distinguish between full clear (used by rebuild) and real-time-only clear. | pat_thinking-sphinx | train |
d856275de4447e56c9638f2ce399be523618c899 | diff --git a/library/src/android/support/v4/app/ActionBar.java b/library/src/android/support/v4/app/ActionBar.java
index <HASH>..<HASH> 100644
--- a/library/src/android/support/v4/app/ActionBar.java
+++ b/library/src/android/support/v4/app/ActionBar.java
@@ -37,15 +37,15 @@ public abstract class ActionBar {
private s... | Remove registering of a custom action bar handler for pre-<I> devices. Other classes are far too specialized at the moment to allow for a custom handler to function properly. | JakeWharton_ActionBarSherlock | train |
f6d7052ddc94c24102f79fcda49eebd150615bb1 | diff --git a/TYPO3.Neos/Classes/TYPO3/Neos/Service/HtmlAugmenter.php b/TYPO3.Neos/Classes/TYPO3/Neos/Service/HtmlAugmenter.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Neos/Classes/TYPO3/Neos/Service/HtmlAugmenter.php
+++ b/TYPO3.Neos/Classes/TYPO3/Neos/Service/HtmlAugmenter.php
@@ -51,7 +51,7 @@ class HtmlAugmenter
... | BUGFIX: Escape preg_replace placeholders to prevent accidentally replacements | neos_neos-development-collection | train |
fb7750640e35b895e429b4c7f4c02d0621731f67 | diff --git a/lib/ellen/robot.rb b/lib/ellen/robot.rb
index <HASH>..<HASH> 100644
--- a/lib/ellen/robot.rb
+++ b/lib/ellen/robot.rb
@@ -8,7 +8,7 @@ module Ellen
attr_reader :options
- def initialize(options)
+ def initialize(options = {})
@options = options
end
diff --git a/spec/ellen/adapte... | Can simply create a new robot by Ellen::Robot.new | r7kamura_ruboty | train |
aa9ca8286e7f9abb55cca64368480bdba610308c | diff --git a/ui/src/kapacitor/apis/index.js b/ui/src/kapacitor/apis/index.js
index <HASH>..<HASH> 100644
--- a/ui/src/kapacitor/apis/index.js
+++ b/ui/src/kapacitor/apis/index.js
@@ -1,26 +1,5 @@
import AJAX from 'utils/ajax'
-export const log = async () => {
- try {
- let response = await fetch('http://localhos... | Add fetchChunkedLogs. Fetches logs in a while loop. Looping stops on componentWIllUnmount. | influxdata_influxdb | train |
ae7e53239a6efb327edef4271d32dc3ecbe7541f | diff --git a/examples/with-apollo-auth/lib/withApollo.js b/examples/with-apollo-auth/lib/withApollo.js
index <HASH>..<HASH> 100644
--- a/examples/with-apollo-auth/lib/withApollo.js
+++ b/examples/with-apollo-auth/lib/withApollo.js
@@ -22,8 +22,9 @@ export default App => {
static async getInitialProps(ctx) {
... | FIX with-apollo-auth example token access (#<I>)
in some cases access to the token doesn't work in client side. this access to the token once in getInitialProps method and pass it down using props | zeit_next.js | train |
58e36f6bbe1537a06565abf43770bd3dccd73a35 | diff --git a/cid/apps.py b/cid/apps.py
index <HASH>..<HASH> 100644
--- a/cid/apps.py
+++ b/cid/apps.py
@@ -1,10 +1,6 @@
from django.apps import AppConfig
-from django.utils.translation import ugettext_lazy as _
class CidAppConfig(AppConfig):
- """
- Django 1.7+ application configuration
- """
name =... | apps: Remove translation of app name
I am not sure where this verbose name appears, but I am pretty sure
it's not useful to translate it. In fact it wasn't translated because
there are no gettext (*.po) files. | Polyconseil_django-cid | train |
0dff237a474aefeb6842d8b7eb2e0e2ea26dc0a0 | diff --git a/src/MImage.php b/src/MImage.php
index <HASH>..<HASH> 100644
--- a/src/MImage.php
+++ b/src/MImage.php
@@ -145,6 +145,31 @@ class MImage
return $newImage;
}
+ public static function fromFile( $type, $filePath )
+ {
+ switch( $type )
+ {
+ case 'gif':
+ ... | Added fromFile methos in MImage. | mtoolkit_mtoolkit-view | train |
ffa39030eccd3908ed0d9778165cad3233a14962 | diff --git a/s3contents/genericmanager.py b/s3contents/genericmanager.py
index <HASH>..<HASH> 100644
--- a/s3contents/genericmanager.py
+++ b/s3contents/genericmanager.py
@@ -217,8 +217,11 @@ class GenericContentsManager(ContentsManager, HasTraits):
async def s3_detail_metadata(s3_detail):
if s3_d... | catch missing s3keep case (#<I>) | danielfrg_s3contents | train |
5a3d01bdfb6c3cde68e2f668a05aa97031600939 | diff --git a/support/cftree/__init__.py b/support/cftree/__init__.py
index <HASH>..<HASH> 100644
--- a/support/cftree/__init__.py
+++ b/support/cftree/__init__.py
@@ -183,7 +183,7 @@ class cfentry:
linear_part_distance = sum(list_math_multiplication(linear_part_first, linear_part_second));
... | [support.cftree] Fixed bugs with distance calculation | annoviko_pyclustering | train |
2a2ea02a901830b9e7c63b5ed4966b98fea9426c | diff --git a/time_execution/backends/elasticsearch.py b/time_execution/backends/elasticsearch.py
index <HASH>..<HASH> 100644
--- a/time_execution/backends/elasticsearch.py
+++ b/time_execution/backends/elasticsearch.py
@@ -36,7 +36,7 @@ class ElasticsearchBackend(BaseMetricsBackend):
return self.index_pattern.... | CHANGED create ElasticSearch index following the index name pattern | kpn-digital_py-timeexecution | train |
4ec9e6ba10246a660badcd049368640fab53feaa | diff --git a/lib/compiler/passes/report-left-recursion.js b/lib/compiler/passes/report-left-recursion.js
index <HASH>..<HASH> 100644
--- a/lib/compiler/passes/report-left-recursion.js
+++ b/lib/compiler/passes/report-left-recursion.js
@@ -11,9 +11,7 @@ function reportLeftRecursion(ast) {
},
sequence: functi... | Remove useless test in the |reportLeftRecursion| pass
Empty sequences are not allowed anymore so we don't have to test for
them. | pegjs_pegjs | train |
484f694b4d5f9953f2388687cb291993026b1cbb | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -89,9 +89,10 @@ module.exports = function (spec) {
output.push('\n\n\n');
// Exit if no tests run. This is a result of 1 of 2 things:
- // 1. No tests were written
+ // 1. No tests and asserts were written
... | also check for asserts.length
Fixed invalid behavoir: on `output` when `results.tests` are empty, but `results.asserts` are not , `process.exit(1);` triggers.
Should trigger only when both are empty. | scottcorgan_tap-spec | train |
9da1dd678b00f440063cd9f4b9d38b160e79a40d | diff --git a/MANIFEST b/MANIFEST
index <HASH>..<HASH> 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -16,6 +16,7 @@ demo/is_up.py
demo/msg_client.py
demo/msg_server.py
demo/port_scan.py
+demo/server_ssl.py
demo/spawn_process.py
demo/sum.py
demo/telnet_process.py
diff --git a/demo/con_https.py b/demo/con_https.py
index <... | Fixing setup.py version. | untwisted_untwisted | train |
2169a2a7c778dac7543613d56c505ae5dfd3cdb4 | diff --git a/src/locale/lang/sk.js b/src/locale/lang/sk.js
index <HASH>..<HASH> 100644
--- a/src/locale/lang/sk.js
+++ b/src/locale/lang/sk.js
@@ -109,14 +109,14 @@ export default {
hasCheckedFormat: '{checked}/{total} označených'
},
image: {
- error: 'FAILED' // to be translated
+ error: 'Ch... | i<I>n: Update Slovak translations (#<I>) | ElemeFE_element | train |
1cefcb29907b4a5322de4a4131effd56279f8da1 | diff --git a/tests/test_document.py b/tests/test_document.py
index <HASH>..<HASH> 100644
--- a/tests/test_document.py
+++ b/tests/test_document.py
@@ -4,6 +4,7 @@ import io
import tempfile
from nose import tools
+from unittest import skipIf as skip_if
from PyPDF2 import PdfFileReader
@@ -33,6 +34,13 @@ METADAT... | Skip document tests in pypy | xhtml2pdf_xhtml2pdf | train |
2151b4e515af73b6116ee86ca2092f64f2520f01 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,15 +5,15 @@ Created on Oct 15, 2014
@author: tmahrt
'''
+from setuptools import setup
import codecs
-from distutils.core import setup
setup(name='pysle',
version='1.4.0',
author='Tim Mahrt',
autho... | DOCUMENTATION: Updates for setup.py | timmahrt_pysle | train |
97f71f1da7f5d4adf2ae5921f3436af314695473 | diff --git a/src/Cleaners/DocumentCleaner.php b/src/Cleaners/DocumentCleaner.php
index <HASH>..<HASH> 100644
--- a/src/Cleaners/DocumentCleaner.php
+++ b/src/Cleaners/DocumentCleaner.php
@@ -284,7 +284,7 @@ class DocumentCleaner {
$fragment->appendXML(htmlentities(implode('', $replacementText), ENT_COMPAT | EN... | trying out a better way to handle utf8 documents
<URL> | scotteh_php-goose | train |
1f646a39990e8ba12101486ed0c9a79148d6578a | diff --git a/sharding-core/src/main/java/io/shardingsphere/core/parsing/antlr/util/AntlrUtils.java b/sharding-core/src/main/java/io/shardingsphere/core/parsing/antlr/util/AntlrUtils.java
index <HASH>..<HASH> 100644
--- a/sharding-core/src/main/java/io/shardingsphere/core/parsing/antlr/util/AntlrUtils.java
+++ b/shardin... | for #<I>, refactor AntlrUtils | apache_incubator-shardingsphere | train |
688f72cc52e465eeabc8f6887ad383319cc6a12b | diff --git a/tests/TestCase.php b/tests/TestCase.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -47,6 +47,7 @@ abstract class TestCase extends Orchestra
'prefix' => '',
]);
$app['config']->set('app.key', 'sF5r4kJy5HEcOEx3NWxUcYj1zLZLHxuu');
+ ... | Fixed issue with translatable test. | Waavi_translation | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.