hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
ce15e94ae0f71b48078e8ece6e917a7c6d9359da
diff --git a/examples/demo14.html b/examples/demo14.html index <HASH>..<HASH> 100644 --- a/examples/demo14.html +++ b/examples/demo14.html @@ -40,7 +40,7 @@ var app = angular.module('main', ['ngTable']). controller('DemoCtrl', function($interval, $http, $scope, $filter, NgTableParams) { - $scope.d...
fix(example): updated code due to documentation total should be a number
esvit_ng-table
train
1daa5407966cc13e33a59b6dd73a06d950134d06
diff --git a/pyoko/form.py b/pyoko/form.py index <HASH>..<HASH> 100644 --- a/pyoko/form.py +++ b/pyoko/form.py @@ -80,6 +80,7 @@ class ModelForm(object): # FIXME: investigate and integrate necessary security precautions on received data # ie: received keys should be defined in the form # com...
added ability to modify a form instance just before serialization
zetaops_pyoko
train
fcd89df102ccb16bb7862a23bc116788fd3b8558
diff --git a/buildbot/slave/commands.py b/buildbot/slave/commands.py index <HASH>..<HASH> 100755 --- a/buildbot/slave/commands.py +++ b/buildbot/slave/commands.py @@ -967,6 +967,7 @@ class SlaveDirectoryUploadCommand(Command): # create all directories on the master, to catch also empty ones for dirn...
Send filenames as list of path components. (See #<I>)
buildbot_buildbot
train
6f99e1e434eb54d5b4bb6aa976c7be1e95462d50
diff --git a/src/components/vault/EntryDetails.js b/src/components/vault/EntryDetails.js index <HASH>..<HASH> 100644 --- a/src/components/vault/EntryDetails.js +++ b/src/components/vault/EntryDetails.js @@ -1,4 +1,4 @@ -import React, { useContext, useMemo, useRef, useState } from 'react'; +import React, { useContext, u...
Improve drag-n-drop modal for attachments
buttercup_ui
train
3e5733dd2bce8ede62238caf452edfc632ff9fb8
diff --git a/lib/ImportStatement.js b/lib/ImportStatement.js index <HASH>..<HASH> 100644 --- a/lib/ImportStatement.js +++ b/lib/ImportStatement.js @@ -221,7 +221,7 @@ class ImportStatement { // @return [Array] _equalsAndValue() { if (this.declarationKeyword === 'import') { - return ['from', `'${this.pat...
Add semicolon to generated ImportStatement strings This will make the resulting output a little more correct.
Galooshi_import-js
train
acecac1e28884bbf13e1c33a0c136e11147515e0
diff --git a/src/browserbox-imap.js b/src/browserbox-imap.js index <HASH>..<HASH> 100644 --- a/src/browserbox-imap.js +++ b/src/browserbox-imap.js @@ -206,7 +206,10 @@ }); // allows certificate handling for platform w/o native tls support - this.socket.oncert = this.oncert; + // oncert...
[WO-<I>] Catch errors when setting oncert for the tcpsocket object
emailjs_emailjs-imap-client
train
70e8219f95e0375b7b83e29d5d6579130d1e4dc8
diff --git a/app/scripts/Inset.js b/app/scripts/Inset.js index <HASH>..<HASH> 100644 --- a/app/scripts/Inset.js +++ b/app/scripts/Inset.js @@ -3,7 +3,7 @@ import { color } from 'd3-color'; import clip from 'liang-barsky'; import * as PIXI from 'pixi.js'; -import { transition } from './services'; +import { transitio...
Smoothiefy transitions through grouping
higlass_higlass
train
e5b1bf0c4f33f030e7efe03ba8c8e99a26f84e8a
diff --git a/tensorflow_probability/python/bijectors/restructure.py b/tensorflow_probability/python/bijectors/restructure.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/bijectors/restructure.py +++ b/tensorflow_probability/python/bijectors/restructure.py @@ -52,6 +52,7 @@ class Restructure(bijector....
Fix docstring in tfb.Restructure. Code blocks need leading newline. PiperOrigin-RevId: <I>
tensorflow_probability
train
812bfe9f72a0a8afc157da3b8618c5b035b2abe5
diff --git a/einops/_backends.py b/einops/_backends.py index <HASH>..<HASH> 100644 --- a/einops/_backends.py +++ b/einops/_backends.py @@ -505,12 +505,13 @@ class KerasBackend(AbstractBackend): framework_name = 'keras' def __init__(self): - from tensorflow import keras - self.keras = keras - ...
excluding keras as independent framework
arogozhnikov_einops
train
c923ce837a657760ec5ffd5c303e81e3db088a86
diff --git a/lib/formtastic.rb b/lib/formtastic.rb index <HASH>..<HASH> 100644 --- a/lib/formtastic.rb +++ b/lib/formtastic.rb @@ -105,7 +105,10 @@ module Formtastic #:nodoc: options[:label_html][:for] ||= options[:input_html][:id] end - list_item_content = @@inline_order.map do |type| + inp...
inline errors will no longer be rendered for hidden inputs (resolves issue #<I>)
justinfrench_formtastic
train
04e2f64ba76de911d7695415963390ce4422ab35
diff --git a/src/cli.js b/src/cli.js index <HASH>..<HASH> 100755 --- a/src/cli.js +++ b/src/cli.js @@ -37,7 +37,7 @@ function checkInternet() { if (require.main === module) { program - .version(packageJson.version) + .version(packageJson.version, '--version, -V, -v') .arguments('<targetUrl> [dest]') ...
Add Unix/Mac-conventional `-v` version flag (PR#<I>) Most Unix-based command line utilities respond to a _lowercase_ `-v` flag which outputs the current version. Adding that as an alias here in addition to the already present `--version` and `-V` flags :)
jiahaog_nativefier
train
1cf1d3eb11ae0702fb40eb3244befa5c1b06e7ec
diff --git a/Migrations/pdo_mysql/Version20141202123401.php b/Migrations/pdo_mysql/Version20141202123401.php index <HASH>..<HASH> 100755 --- a/Migrations/pdo_mysql/Version20141202123401.php +++ b/Migrations/pdo_mysql/Version20141202123401.php @@ -35,6 +35,16 @@ class Version20141202123401 extends AbstractMigration ...
[ExoBundle] to update the migration for the matching question
claroline_Distribution
train
b88d7720390a19a96b2c9e05fbf3448a17623958
diff --git a/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java b/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java +++ b/src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java @@ -1309,7 +1309,6 @@...
Remove duplicated Docker container in driver browser
bonigarcia_webdrivermanager
train
98e4e52ae6b992103473ffb2896240223108cabc
diff --git a/qunit-parameterize.js b/qunit-parameterize.js index <HASH>..<HASH> 100644 --- a/qunit-parameterize.js +++ b/qunit-parameterize.js @@ -1,3 +1,8 @@ +/* + * Parameterize v 0.1 + * A QUnit Addon For Running Parameterized Tests + * https://github.com/AStepaniuk/qunit-parameterize + */ QUnit.extend(QUnit,...
Version and link to repository is added to implementation file.
AStepaniuk_qunit-parameterize
train
cc5e72ed2d2cf290e5e6c8da859abf842f529155
diff --git a/openquake/commonlib/logictree.py b/openquake/commonlib/logictree.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/logictree.py +++ b/openquake/commonlib/logictree.py @@ -1027,6 +1027,7 @@ class GsimLogicTree(object): def _parse_lt(self): # do the parsing, called at instantiation time ...
Added a check for duplicated branchset IDs
gem_oq-engine
train
83c47958707956a8812b2c5c91a4550f874cb055
diff --git a/lib/rb/lib/thrift/transport/socket.rb b/lib/rb/lib/thrift/transport/socket.rb index <HASH>..<HASH> 100644 --- a/lib/rb/lib/thrift/transport/socket.rb +++ b/lib/rb/lib/thrift/transport/socket.rb @@ -97,12 +97,13 @@ module Thrift data = @handle.readpartial(sz) else # it's possi...
THRIFT-<I>. rb: Ruby read timeouts can sometimes be 2x what they should be This patch makes sure that we don't wait longer than necessary for timeouts. Patch: Ryan King git-svn-id: <URL>
limingxinleo_thrift
train
65cb9e7bcc3c1a02308fcbfc7caa76c50bbc82ef
diff --git a/scripts/lateralus.component.js b/scripts/lateralus.component.js index <HASH>..<HASH> 100644 --- a/scripts/lateralus.component.js +++ b/scripts/lateralus.component.js @@ -124,7 +124,7 @@ define([ // A model instance provided to addComponent takes precendence over the // prototype property. ...
Attach instantiated Model to Component instance.
Jellyvision_lateralus
train
a9ab778d3b01e5e2e522844341d1a3cc51b8d80f
diff --git a/models/exceptions.py b/models/exceptions.py index <HASH>..<HASH> 100644 --- a/models/exceptions.py +++ b/models/exceptions.py @@ -88,8 +88,8 @@ class RootParadigmIntersection(DBException): self.intersection = str(' '.join(map(str, self.intersection))) def __str__(self): - return ...
Add a root_intersection method to retrieve all the root paradigms that have a singular sequence collision with a given script. Improve the RootParadigmIntersection exception.
IEMLdev_ieml
train
7a72cfbdf4b10de1e67b8e17b78fa1c0abd78fc4
diff --git a/lib/bolt/logger.rb b/lib/bolt/logger.rb index <HASH>..<HASH> 100644 --- a/lib/bolt/logger.rb +++ b/lib/bolt/logger.rb @@ -203,7 +203,7 @@ module Bolt def self.flush_queue @mutex.synchronize do @message_queue.each do |message| - log_message(message) + log_message(**mes...
(maint) Fix keyword parameters warning in logger ``` lib/bolt/logger.rb:<I>: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call ``` This line was invoking a method by passing a hash and expecting it to be implicitly interpreted as the the **kwargs argument. This...
puppetlabs_bolt
train
5e1615956c01063aa36d06ecdec232b88d49eff8
diff --git a/lib/Console/Command/ConfigurationBuild.php b/lib/Console/Command/ConfigurationBuild.php index <HASH>..<HASH> 100644 --- a/lib/Console/Command/ConfigurationBuild.php +++ b/lib/Console/Command/ConfigurationBuild.php @@ -25,8 +25,7 @@ class ConfigurationBuild extends Command ->setHelp( ...
Fixed a line messup from Scrutinizer and added an additional test case
magium_configuration-manager
train
5b6c899df87937e702410acb7a8604f6fc03b29c
diff --git a/js/cointiger.js b/js/cointiger.js index <HASH>..<HASH> 100644 --- a/js/cointiger.js +++ b/js/cointiger.js @@ -4,7 +4,6 @@ const huobipro = require ('./huobipro.js'); const { ExchangeError, ExchangeNotAvailable, AuthenticationError, InvalidOrder, InsufficientFunds, OrderNotFound } = require ('./base/err...
cointiger removed references to ROUND
ccxt_ccxt
train
69eb0becfdf6b8500aed6af0e1da4d57fb683408
diff --git a/ui/admin/src/main/java/org/openengsb/ui/admin/WicketApplication.java b/ui/admin/src/main/java/org/openengsb/ui/admin/WicketApplication.java index <HASH>..<HASH> 100644 --- a/ui/admin/src/main/java/org/openengsb/ui/admin/WicketApplication.java +++ b/ui/admin/src/main/java/org/openengsb/ui/admin/WicketApplic...
[OPENENGSB-<I>] fix failing unit-test
openengsb_openengsb
train
4f170c2f2543e36c452b3babcc3f717833948aa2
diff --git a/lib/lifx/client.rb b/lib/lifx/client.rb index <HASH>..<HASH> 100644 --- a/lib/lifx/client.rb +++ b/lib/lifx/client.rb @@ -7,8 +7,18 @@ require 'lifx/light_collection' module LIFX class Client - def self.instance - @instance ||= new + class << self + def lan + @lan ||= new + ...
LIFX::Client.virtual_bulb refers to virtual bulb light instance
LIFX_lifx-gem
train
d89c16dfe8b50ee03fb52515dfbcdfc80e315be7
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -131,7 +131,7 @@ tests_requirements = [ "flake8-bugbear", "flake8-comprehensions", "flake8-string-format", - "pylint", + "pylint==2.5.3", "pylint-pytest>=0.3.0", "pylint-plugin-utils", "wget...
deps: freeze pylint at <I>
iterative_dvc
train
a674b41d3c71cc1772b9c6593513be8d51cb1a59
diff --git a/src/src/org/renpy/android/Hardware.java b/src/src/org/renpy/android/Hardware.java index <HASH>..<HASH> 100644 --- a/src/src/org/renpy/android/Hardware.java +++ b/src/src/org/renpy/android/Hardware.java @@ -31,14 +31,14 @@ public class Hardware { /** * Vibrate for s seconds. */ - sta...
some "public" declarations are necessary to get access by pyjnius
kivy_python-for-android
train
3c6b6553fb82734d9303beb8728c534f1b5d144e
diff --git a/network/default.go b/network/default.go index <HASH>..<HASH> 100644 --- a/network/default.go +++ b/network/default.go @@ -106,7 +106,7 @@ func newNetwork(opts ...Option) Network { // server is network server server := server.NewServer( server.Id(options.Id), - server.Address(address), + server.Add...
Use peerAddress as the thing to listen on
micro_go-micro
train
932159cfd0c84ccf864e59be4e357e863fa7c79f
diff --git a/src/components/index.js b/src/components/index.js index <HASH>..<HASH> 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -1,2 +1,7 @@ -export Cube from './Cube' -export PushPaneLayout from './PushPaneLayout' +import Cube from './Cube' +import PushPaneLayout from './PushPaneLayout' + +ex...
Convert exports into a format that Buble knows about
trusktr_infamous
train
41b9457887f8d0463ab0c2271b0d1adc53bdfb8c
diff --git a/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php b/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidato...
[Test] Reproduce issue with cascading validation
symfony_symfony
train
8730271dc310c12b19d45666da06e023d652b2ee
diff --git a/metpy/plots/tests/test_skewt.py b/metpy/plots/tests/test_skewt.py index <HASH>..<HASH> 100644 --- a/metpy/plots/tests/test_skewt.py +++ b/metpy/plots/tests/test_skewt.py @@ -14,7 +14,9 @@ from metpy.units import units # TODO: Need at some point to do image-based comparison, but that's a lot to # bite off...
Clean-ups for skewt tests.
Unidata_MetPy
train
7eb8acbc75c819e5dc4fe3f429885d91c222b8d2
diff --git a/sentinelhub/decoding.py b/sentinelhub/decoding.py index <HASH>..<HASH> 100644 --- a/sentinelhub/decoding.py +++ b/sentinelhub/decoding.py @@ -44,13 +44,12 @@ def decode_data(response_content, data_type): try: return { - MimeType.TAR: decode_tar, MimeType.RAW: respons...
io and decoding updates, logging failed reads
sentinel-hub_sentinelhub-py
train
c8ec8301f67991cbcc9a6220889f3e1e92baaaa2
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js +++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/t...
Bug <I> - Editor infinite loop on IE 9 and IE <I> (more improvements)
eclipse_orion.client
train
c8edcde2d571cf546640082d79d9e8c6e1b92763
diff --git a/internal/graphics/command.go b/internal/graphics/command.go index <HASH>..<HASH> 100644 --- a/internal/graphics/command.go +++ b/internal/graphics/command.go @@ -275,11 +275,11 @@ func adjustImageForTexture(img *image.RGBA) *image.RGBA { func (c *newImageFromImageCommand) Exec(context *opengl.Context, i...
graphics: Image minimum size changed to 1
hajimehoshi_ebiten
train
091f5394e2d7c38ea891b3997e214c8bc0c62994
diff --git a/simanneal/anneal.py b/simanneal/anneal.py index <HASH>..<HASH> 100644 --- a/simanneal/anneal.py +++ b/simanneal/anneal.py @@ -43,7 +43,7 @@ class Annealer(object): save_state_on_exit = True def __init__(self, initial_state=None, load_state=None): - if initial_state: + if len(initi...
Support state variable of type numpy.ndarray Fix the error with numpy arrays
perrygeo_simanneal
train
d7f780e0664ebb939ce76d987cd30c6eec496dc7
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index <HASH>..<HASH> 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix for deep includes on the same association. [richcollins@gmail.com] + * Tweak fixtures so they don't try to use a non-ActiveRecord class. [K...
Fix for deep includes on the same association. git-svn-id: <URL>
rails_rails
train
d77895846efcd0db7da64e1db046b1e02d8c35c7
diff --git a/org/postgresql/core/v3/SimpleParameterList.java b/org/postgresql/core/v3/SimpleParameterList.java index <HASH>..<HASH> 100644 --- a/org/postgresql/core/v3/SimpleParameterList.java +++ b/org/postgresql/core/v3/SimpleParameterList.java @@ -4,7 +4,7 @@ * Copyright (c) 2004, Open Cloud Limited. * * IDENTIFI...
Error message has the wrong index into the paramTypes array. Nathan Keynes
pgjdbc_pgjdbc
train
b2dde77bb3ed132325a4cb5590e7679b70f53eab
diff --git a/src/lib/shortcuts.js b/src/lib/shortcuts.js index <HASH>..<HASH> 100644 --- a/src/lib/shortcuts.js +++ b/src/lib/shortcuts.js @@ -1,6 +1,6 @@ /* globals AFRAME */ var Events = require('./Events'); -import {removeSelectedEntity, cloneSelectedEntity} from '../actions/entity'; +import {removeSelectedEntity,...
Added functionality to copy and paste entities (#<I>) * Shifted to metaKey and ctrlKey to detect if control or command is pressed * Added copy paste functionality * Reset controlPressed on releasing control key * Added check to consider focussed inputs while copying and pasting entities
aframevr_aframe-inspector
train
1934fc73e8608a846afcf4e6e06aa4d0b61cac56
diff --git a/cmd/mungedocs/links.go b/cmd/mungedocs/links.go index <HASH>..<HASH> 100644 --- a/cmd/mungedocs/links.go +++ b/cmd/mungedocs/links.go @@ -17,6 +17,7 @@ limitations under the License. package main import ( + "errors" "fmt" "net/url" "os" @@ -33,11 +34,12 @@ var ( ) func processLink(in string, ...
mungedocs: fix ignored errors in link checker Before this change the link checker would ignore errors in a file if the last link in a file was correct. The last link would wipe out the error variable and set it to nil. Furthermore, it replaced errored links with the empty string. If we find an error that we can't cor...
kubernetes_kubernetes
train
f82c98424d55f338e31e09edf3d924fcd8c71236
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.6.1 + +* Fixed bug in `\Awesomite\ErrorDumper\Handlers\ErrorHandler::handleError` - POLICY_ALL didn't work properly + ## 0.6.0 Version `0.6.0` is **incompatible** with `0.5...
Fixed bug in `\Awesomite\ErrorDumper\Handlers\ErrorHandler::handleError` - POLICY_ALL didn't work properly
awesomite_error-dumper
train
d245adf7a7f7877ab3036e41596ece6fcee5e68a
diff --git a/chef/lib/chef/provider/package/easy_install.rb b/chef/lib/chef/provider/package/easy_install.rb index <HASH>..<HASH> 100644 --- a/chef/lib/chef/provider/package/easy_install.rb +++ b/chef/lib/chef/provider/package/easy_install.rb @@ -62,16 +62,15 @@ class Chef end def candidate_version ...
added in actions but package version stuff broken
chef_chef
train
78f83865a337efdf330d17c3bdff531b070c4013
diff --git a/test/test_git_deploy.go b/test/test_git_deploy.go index <HASH>..<HASH> 100644 --- a/test/test_git_deploy.go +++ b/test/test_git_deploy.go @@ -78,7 +78,7 @@ func (r *gitRepo) git(args ...string) *CmdResult { } var Attempts = attempt.Strategy{ - Total: 20 * time.Second, + Total: 60 * time.Second, Delay...
test: Increase buildpack test HTTP request attempts
flynn_flynn
train
1f26420d392a5ab4c7b7fe1911c0268b45d01ab8
diff --git a/hugolib/permalinks.go b/hugolib/permalinks.go index <HASH>..<HASH> 100644 --- a/hugolib/permalinks.go +++ b/hugolib/permalinks.go @@ -16,6 +16,7 @@ package hugolib import ( "errors" "fmt" + "path" "regexp" "strconv" "strings" @@ -182,6 +183,12 @@ func pageToPermalinkSection(p *Page, _ string) (s...
hugolib: Support sub-sections in permalink settings This enables both the variants below: Current (first level only): ``` "blog": ":section/:title", ``` Nested (all levels): ``` "blog": ":sections/:title", ``` Should ideally been part of Hugo <I>, but better late than never ... Fixes #<I>
gohugoio_hugo
train
d042a5d99bd59ab1e665c9bf8f8ed559439ebc59
diff --git a/lib/kindle_manager/adapters/base_adapter.rb b/lib/kindle_manager/adapters/base_adapter.rb index <HASH>..<HASH> 100644 --- a/lib/kindle_manager/adapters/base_adapter.rb +++ b/lib/kindle_manager/adapters/base_adapter.rb @@ -2,7 +2,7 @@ module KindleManager class BaseAdapter include AmazonAuth::Common...
Expose options of adapters to accept manual changes
kyamaguchi_kindle_manager
train
902d6e6b03158548a8e77a3c04bf426dfffce37c
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,8 @@ -from setuptools import setup, find_packages -import pydle +from setuptools import setup setup( - name=pydle.__name__, - version=pydle.__version__, + name='pydle', + version='0.8.0', packages=[...
Clean up setup.py script.
Shizmob_pydle
train
a66e86b1bb2113195c57d95cdd735e5d6ae1ad4a
diff --git a/src/Generators/ModuleGenerator.php b/src/Generators/ModuleGenerator.php index <HASH>..<HASH> 100644 --- a/src/Generators/ModuleGenerator.php +++ b/src/Generators/ModuleGenerator.php @@ -276,6 +276,10 @@ class ModuleGenerator extends Generator public function generateFolders() { foreach (...
Add the ability to ignore some folders to generate
nWidart_laravel-modules
train
b915cb1243b6b97656a4052b19daf141753c40c0
diff --git a/hobby.gemspec b/hobby.gemspec index <HASH>..<HASH> 100644 --- a/hobby.gemspec +++ b/hobby.gemspec @@ -26,4 +26,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rake' spec.add_development_dependency 'minitest' spec.add_development_dependency 'minitest-power_assert' + spec.add...
Treat an empty path as a root path
ch1c0t_hobby
train
7693524076ac1164bc60bfd1d719a0ed2593d3ae
diff --git a/src/Models/Category.php b/src/Models/Category.php index <HASH>..<HASH> 100644 --- a/src/Models/Category.php +++ b/src/Models/Category.php @@ -114,7 +114,7 @@ class Category extends BaseCategory $this->setRules([ 'name' => 'required|string|max:150', 'description' => 'nulla...
Revert unique & exists validation rules to native after overriding presence verifier to use eloquent by default
rinvex_cortex-categories
train
ddf316e36c1749095313225ac3b0939140a9afb8
diff --git a/pcef/core/modes/pygments_syntax_highlighter.py b/pcef/core/modes/pygments_syntax_highlighter.py index <HASH>..<HASH> 100644 --- a/pcef/core/modes/pygments_syntax_highlighter.py +++ b/pcef/core/modes/pygments_syntax_highlighter.py @@ -34,11 +34,14 @@ from pygments.lexers.other import BatchLexer from pygmen...
Fix travis build error (pygments version does not have JsonLexer)
pyQode_pyqode.core
train
bea254ed84b30f081db17e84d21d314b364dcf8f
diff --git a/functions.php b/functions.php index <HASH>..<HASH> 100644 --- a/functions.php +++ b/functions.php @@ -124,17 +124,13 @@ function pb_custom_stylesheet_imports_base() { } if ( $custom_file ) { - $custom_file_contents = file( $custom_file ); - foreach ( $custom_file_contents as $line ) { - if ( strp...
Shorten code, imrpove reliability.
pressbooks_pressbooks
train
0da16fe23859c68c8985a36dd4909065c2e6bbae
diff --git a/src/I18n.php b/src/I18n.php index <HASH>..<HASH> 100644 --- a/src/I18n.php +++ b/src/I18n.php @@ -125,7 +125,7 @@ class I18n extends Adapter implements ServiceAwareInterface $localeFiles = array_merge(glob($localeDir . '/*.php'), glob($localeDir . '/*/*.php')); foreach ($localeFiles as $f...
fix(i<I>n): make package `error_code` as alias of `error_codes`
phwoolcon_phwoolcon
train
831716e38d368c9d2a5642b3d12967685099568d
diff --git a/lib/core.js b/lib/core.js index <HASH>..<HASH> 100644 --- a/lib/core.js +++ b/lib/core.js @@ -1,7 +1,8 @@ var async = require('async'); -var funkit = require('funkit'); -var otozip = funkit.functional.otozip; -var is = require('is-js'); +var is = require('annois'); +var string = require('annostring'); +va...
Replace `funkit` and `is-js` with `anno` tools
sugarjs_rest-sugar
train
e5723726b587cc1d935b90de6ccc32b13db6bc36
diff --git a/mod_cluster/extension/src/main/java/org/wildfly/extension/mod_cluster/ModClusterConfigurationServiceBuilder.java b/mod_cluster/extension/src/main/java/org/wildfly/extension/mod_cluster/ModClusterConfigurationServiceBuilder.java index <HASH>..<HASH> 100644 --- a/mod_cluster/extension/src/main/java/org/wildf...
WFLY-<I> mod_cluster excluded-contexts doesn't exclude slash prefixed /contexts; should perform normalization
wildfly_wildfly
train
44bc72e55d6c0f141a270c1840398e0353508757
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ shortcuts.cv_factory( # Try out two algorithms model=[ sklearn.ensemble.RandomForestClassifier( - n_estimators=20, compute_importances=True), + n_estimators=20), ...
Drop compute_importances, deprecated since scikit_learn <I>
kvh_ramp
train
d85937fab357d25f3313cf6eb64ab9948b2418bd
diff --git a/liquibase-core/src/main/java/liquibase/diff/output/changelog/DiffToChangeLog.java b/liquibase-core/src/main/java/liquibase/diff/output/changelog/DiffToChangeLog.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/diff/output/changelog/DiffToChangeLog.java +++ b/liquibase-core/src/...
Handle ordering issue LB-<I> (cherry picked from commit b3fca<I>cd4a1d<I>c4ad<I>a<I>c6bd<I>b5c)
liquibase_liquibase
train
f27b2d1fac09203faf08549bf64203a34f59f6ca
diff --git a/src/controllers/now.js b/src/controllers/now.js index <HASH>..<HASH> 100644 --- a/src/controllers/now.js +++ b/src/controllers/now.js @@ -40,12 +40,12 @@ async function getOnlineUsers(uw) { const { User } = uw.models; const userIDs = await uw.redis.lrange('users', 0, -1); + /** @type {Omit<import(...
fix user serialization in /api/now
u-wave_core
train
e278b98e70b1e14e5a9bfd4a0160461b80233b7d
diff --git a/src-gwt/org/opencms/ade/contenteditor/client/CmsContentEditor.java b/src-gwt/org/opencms/ade/contenteditor/client/CmsContentEditor.java index <HASH>..<HASH> 100644 --- a/src-gwt/org/opencms/ade/contenteditor/client/CmsContentEditor.java +++ b/src-gwt/org/opencms/ade/contenteditor/client/CmsContentEditor.ja...
Fixing issue where editor change handlers caused exceptions when inline editing.
alkacon_opencms-core
train
9ac332a22ed4b21a28a7fbcfaa220f45f701fa16
diff --git a/src/main/java/edu/one/core/infra/security/UserUtils.java b/src/main/java/edu/one/core/infra/security/UserUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/edu/one/core/infra/security/UserUtils.java +++ b/src/main/java/edu/one/core/infra/security/UserUtils.java @@ -116,7 +116,8 @@ public class User...
get userinfo with oauth2 flow for disconnected users
opendigitaleducation_web-utils
train
f68b2963db4ac7b8f0943d8b9ea101fdcbd451a5
diff --git a/moto/sts/responses.py b/moto/sts/responses.py index <HASH>..<HASH> 100644 --- a/moto/sts/responses.py +++ b/moto/sts/responses.py @@ -39,6 +39,9 @@ class TokenResponse(BaseResponse): template = self.response_template(ASSUME_ROLE_RESPONSE) return template.render(role=role) + def get_c...
sts: Implement get_caller_identity (#<I>) Return a canned response
spulec_moto
train
4fbc42b6df77f21f51baa7d88830738010e36a10
diff --git a/src/main/java/org/mariadb/jdbc/internal/com/read/resultset/SelectResultSet.java b/src/main/java/org/mariadb/jdbc/internal/com/read/resultset/SelectResultSet.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/mariadb/jdbc/internal/com/read/resultset/SelectResultSet.java +++ b/src/main/java/org/mariadb...
[CONJ-<I>] ResultSet method wasNull() always return true after a call on a "null-date" field binary protocol handling
MariaDB_mariadb-connector-j
train
e9b268af87e514156567852a6e351c92d4208178
diff --git a/packages/veui/src/utils/dom.js b/packages/veui/src/utils/dom.js index <HASH>..<HASH> 100644 --- a/packages/veui/src/utils/dom.js +++ b/packages/veui/src/utils/dom.js @@ -19,9 +19,10 @@ export function closest (element, selectors) { return element } -let needIndeterminatePatch = null - function testI...
fix: test the need for indeterminate patch from the beginning instead of upon checkbox mounted to trigger unexpected events
ecomfe_veui
train
d3c095dc95f8b7da7f113a0afeb536c176d2a348
diff --git a/Library/Configuration/PlatformConfigurationHandler.php b/Library/Configuration/PlatformConfigurationHandler.php index <HASH>..<HASH> 100644 --- a/Library/Configuration/PlatformConfigurationHandler.php +++ b/Library/Configuration/PlatformConfigurationHandler.php @@ -72,7 +72,9 @@ class PlatformConfiguration...
[CoreBundle] Check if datas sending has been confirmed in platform parameters file
claroline_Distribution
train
b1bf62f0ffa9a517331336c07a6fe0445c954a2d
diff --git a/decouple.py b/decouple.py index <HASH>..<HASH> 100644 --- a/decouple.py +++ b/decouple.py @@ -2,7 +2,27 @@ from ConfigParser import SafeConfigParser -class ConfigIni(object): +class ConfigBase(object): + """ + Base class to make the API explicit. + """ + def __init__(self, config_file): + ...
Extract the basic API to a base class
henriquebastos_django-decouple
train
5701582fb6f02daa571edaf45de2ff22eccd1011
diff --git a/Bundle/InstallableBundle.php b/Bundle/InstallableBundle.php index <HASH>..<HASH> 100644 --- a/Bundle/InstallableBundle.php +++ b/Bundle/InstallableBundle.php @@ -75,6 +75,14 @@ abstract class InstallableBundle extends Bundle implements InstallableInterface return null; } + public functio...
[InstallationBundle] Bundle tracking.
claroline_Distribution
train
c7cbbc9da45537a0dc77466f16c9478e88b5d934
diff --git a/bin/determine-basal.js b/bin/determine-basal.js index <HASH>..<HASH> 100644 --- a/bin/determine-basal.js +++ b/bin/determine-basal.js @@ -175,6 +175,7 @@ if (!module.parent) { var insulinReq = Math.min(0, (snoozeBG - target_bg) / profile_data.sens); // rate...
round off the rate to 3 digits
openaps_oref0
train
043df6d65ada6ad1096882a1ad0bbae6ce55485c
diff --git a/src/collectors/libvirtkvm/libvirtkvm.py b/src/collectors/libvirtkvm/libvirtkvm.py index <HASH>..<HASH> 100644 --- a/src/collectors/libvirtkvm/libvirtkvm.py +++ b/src/collectors/libvirtkvm/libvirtkvm.py @@ -49,6 +49,9 @@ class LibvirtKVMCollector(diamond.collector.Collector): 'uri': """The libv...
Add option to sort instances by UUID rather than name, useful for OpenStack deployments where the name in not guaranteed to be unique but UUID is
python-diamond_Diamond
train
843948dfb3366a5ea9bf052e1b8e9183cbb442e9
diff --git a/cltk/tag/pos.py b/cltk/tag/pos.py index <HASH>..<HASH> 100644 --- a/cltk/tag/pos.py +++ b/cltk/tag/pos.py @@ -1,4 +1,4 @@ -"""Tags part of speech (POS).""" +"""Tag part of speech (POS) using CLTK taggers.""" __author__ = 'Kyle P. Johnson <kyle@kyle-p-johnson.com>' __license__ = 'MIT License. See LICENS...
ch docstrings to imperative mood
cltk_cltk
train
232277c2aff1d1e60d129bc26a88bc998b237db6
diff --git a/src/main/java/org/zeroturnaround/zip/ZipUtil.java b/src/main/java/org/zeroturnaround/zip/ZipUtil.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/zeroturnaround/zip/ZipUtil.java +++ b/src/main/java/org/zeroturnaround/zip/ZipUtil.java @@ -2297,6 +2297,32 @@ public final class ZipUtil { IOUtil...
#<I> Add removeEntries variant that copies to an OutputStream
zeroturnaround_zt-zip
train
75ce334c6af0d699cb698453d3603bc279788704
diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosClientException.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosClientException.java index <HASH>..<HASH> 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosClientException.java +++ b/sdk/cosmos/azure-co...
Extended AzureException by CosmosClientException, updated module-info (#<I>)
Azure_azure-sdk-for-java
train
1d499076d0cfc3d4d8c755c380c475d9b4f10b9f
diff --git a/site/index.js b/site/index.js index <HASH>..<HASH> 100644 --- a/site/index.js +++ b/site/index.js @@ -10,7 +10,6 @@ import "./style.css"; import { NotFound } from "./error"; - const app = document.getElementById("app"); @@ -30,7 +29,7 @@ class Site extends ShallowComponent { <Nav...
"Fork me on GitHub" image z-index added.
robeio_robe-react-ui
train
5b494bed944ca58b2392d2f10a69db101a5c3f62
diff --git a/lib/Doctrine/DBAL/Platforms/Keywords/MySQLKeywords.php b/lib/Doctrine/DBAL/Platforms/Keywords/MySQLKeywords.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/DBAL/Platforms/Keywords/MySQLKeywords.php +++ b/lib/Doctrine/DBAL/Platforms/Keywords/MySQLKeywords.php @@ -190,6 +190,7 @@ class MySQLKeywords exten...
[DBAL-<I>] Add RANGE keyword to MySQL and Oracle reserved keywords lists.
doctrine_dbal
train
d5e4ac38a1a9f61cc3b3ca95d1f6a0791f9628b4
diff --git a/opentracing-kafka-spring/src/main/java/io/opentracing/contrib/kafka/spring/TracingProducerFactory.java b/opentracing-kafka-spring/src/main/java/io/opentracing/contrib/kafka/spring/TracingProducerFactory.java index <HASH>..<HASH> 100644 --- a/opentracing-kafka-spring/src/main/java/io/opentracing/contrib/kaf...
#<I> destroy underlying ProducerFactory
opentracing-contrib_java-kafka-client
train
e6747d5cf1f25702df959e1e60e2516fb1efb83e
diff --git a/graphql_jwt/exceptions.py b/graphql_jwt/exceptions.py index <HASH>..<HASH> 100644 --- a/graphql_jwt/exceptions.py +++ b/graphql_jwt/exceptions.py @@ -1,3 +1,15 @@ +from django.utils.translation import ugettext_lazy as _ + class GraphQLJWTError(Exception): - """Raise GraphQL JWT exception""" + defa...
Added PermissionDenied exception
flavors_django-graphql-jwt
train
a80117a4eea4f468433f4e0c5e5a46475570db41
diff --git a/lib/Doctrine/ORM/Tools/Pagination/Paginator.php b/lib/Doctrine/ORM/Tools/Pagination/Paginator.php index <HASH>..<HASH> 100755 --- a/lib/Doctrine/ORM/Tools/Pagination/Paginator.php +++ b/lib/Doctrine/ORM/Tools/Pagination/Paginator.php @@ -118,12 +118,8 @@ class Paginator implements \Countable, \IteratorAggr...
#<I> - removing unused variable assignments
doctrine_orm
train
01fdbbc17ebf927f09b186b4cb5e231cdcc2f8d0
diff --git a/webpack/webpack.config.lib.js b/webpack/webpack.config.lib.js index <HASH>..<HASH> 100644 --- a/webpack/webpack.config.lib.js +++ b/webpack/webpack.config.lib.js @@ -13,7 +13,7 @@ module.exports = webpackUtils.merge(base.defaults, { ] }, output: { - path: path.join(__dirname, './l...
Update webpack.config.lib.js
ctco_rosemary-ui
train
5305aea90d10ba8c89422ccae0d75a8b22baa806
diff --git a/src/lib/run.js b/src/lib/run.js index <HASH>..<HASH> 100644 --- a/src/lib/run.js +++ b/src/lib/run.js @@ -11,7 +11,9 @@ exports.module = function runModule(modulePath) { require('register-module')({ name: packageJson.name, path: path.resolve('src'), - main: packageJson.main || 'index.js' + ...
Remove src/ from package.json in development
vinsonchuong_dist-es6
train
a28be7c3c0a4565207373afaacb9534653814f90
diff --git a/bench/throughput.js b/bench/throughput.js index <HASH>..<HASH> 100644 --- a/bench/throughput.js +++ b/bench/throughput.js @@ -33,10 +33,10 @@ function makeSuite(warmer, name, template, handlebarsOnly) { ecoOut, mustacheOut; - var handlebar = Handlebars.compile(template.handlebars), +...
Default data to off for performance tests
wycats_handlebars.js
train
0a3e538bdafc36a2771f3bde51231dbd97396a60
diff --git a/neuropythy/__init__.py b/neuropythy/__init__.py index <HASH>..<HASH> 100644 --- a/neuropythy/__init__.py +++ b/neuropythy/__init__.py @@ -95,7 +95,7 @@ try: except Exception: pass # Version information... -__version__ = '0.10.6' +__version__ = '0.10.7' diff --git a/neuropythy/geometry/__init__.py...
upped micro-version number and fixed up the imports for paths_to_labels
noahbenson_neuropythy
train
08fb31fbc318551749d5f294417fa83dd792ef3b
diff --git a/satpy/readers/nc_nwcsaf_msg.py b/satpy/readers/nc_nwcsaf_msg.py index <HASH>..<HASH> 100644 --- a/satpy/readers/nc_nwcsaf_msg.py +++ b/satpy/readers/nc_nwcsaf_msg.py @@ -51,7 +51,10 @@ class NcNWCSAFMSG(BaseFileHandler): self.nc = h5netcdf.File(filename, 'r') self.sensor = 'seviri' ...
Fix h5py py3 issues with byte arrays as strings
pytroll_satpy
train
c2381236b1fe89a983ce0eb2633c8072711834c9
diff --git a/lib/resources/events.js b/lib/resources/events.js index <HASH>..<HASH> 100644 --- a/lib/resources/events.js +++ b/lib/resources/events.js @@ -6,19 +6,19 @@ var Events = require('./gen/events'); * changes to a resource. * @param {Number} resourceId The id of the resource to get events for * @param ...
feat: params to the events.get
Asana_node-asana
train
7e49714c3dc9723e0cc18544b9c3c104467a09ff
diff --git a/builtin/providers/cloudstack/resource_cloudstack_instance.go b/builtin/providers/cloudstack/resource_cloudstack_instance.go index <HASH>..<HASH> 100644 --- a/builtin/providers/cloudstack/resource_cloudstack_instance.go +++ b/builtin/providers/cloudstack/resource_cloudstack_instance.go @@ -82,11 +82,13 @@ f...
fixed project schema, added project support to retrieveUUID
hashicorp_terraform
train
bea94699e8d47074a40486a10e5b949875c3b030
diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/scoping/impl/ImportNormalizer.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/scoping/impl/ImportNormalizer.java index <HASH>..<HASH> 100644 --- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/scoping/impl/ImportNormalizer.java +++ b/plugins/org.ecli...
ImportNormalizer now returns null when 'resolve' is invoked with an empty string. (see #<I>)
eclipse_xtext-core
train
989f63b8f3f9e4271bf5e7e01cbb6d3b5e529625
diff --git a/examples/show_hids.py b/examples/show_hids.py index <HASH>..<HASH> 100644 --- a/examples/show_hids.py +++ b/examples/show_hids.py @@ -5,26 +5,18 @@ """ Show all HID devices information """ +import sys import pywinusb.hid as hid -def encoding_hack(): - "Setup display rough unicode decoder" - # f...
Leaving stdout encodings management out of library
rene-aguirre_pywinusb
train
4c0bff4de3986ebe9553eb89097417ede7aef220
diff --git a/Build/Gruntfile.js b/Build/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Build/Gruntfile.js +++ b/Build/Gruntfile.js @@ -137,6 +137,10 @@ module.exports = function(grunt) { src: '<%= paths.contrib %>modernizr/modernizr.min.js', dest: '<%= paths.contrib %>modernizr/moderni...
[BUGFIX] Resolve plain bootstrap 4 accordion conflicts (#<I>)
benjaminkott_bootstrap_package
train
653d12961f05c3f4e933c27cb529170d76b0f8fc
diff --git a/httpserver/httpserver.py b/httpserver/httpserver.py index <HASH>..<HASH> 100644 --- a/httpserver/httpserver.py +++ b/httpserver/httpserver.py @@ -10,6 +10,7 @@ import mimetypes import asyncio import logging import socket +import hashlib logger = logging.getLogger(__name__) @@ -178,8 +179,13 @@ clas...
Add Etag to headers when file exists
thomwiggers_httpserver
train
36437bfb0f05f21ac3c901c494b9c0e39c8dcdf6
diff --git a/pycine/cli/pfs_raw.py b/pycine/cli/pfs_raw.py index <HASH>..<HASH> 100755 --- a/pycine/cli/pfs_raw.py +++ b/pycine/cli/pfs_raw.py @@ -3,6 +3,7 @@ import os import click import cv2 +import numpy as np from pycine.color import color_pipeline, resize from pycine.raw import read_frames @@ -14,23 +15,34...
pfs_raw: support monochrome sensors
OTTOMATIC-IO_pycine
train
6ea896f004f26fe34b70fc51e0014f77a7ed5594
diff --git a/lib/Webpcss.js b/lib/Webpcss.js index <HASH>..<HASH> 100644 --- a/lib/Webpcss.js +++ b/lib/Webpcss.js @@ -8,8 +8,14 @@ */ import WebpBase64 from "./WebpBase64"; import libpath from "path"; -import PromiseA from "bluebird"; -const fs = PromiseA.promisifyAll(require("fs")); +import {Promise as PromiseA} ...
Fix: node support <I> revert es6-promise
lexich_webpcss
train
7b88767b6e82c0fdb5ca688629f9718eefcd5fd3
diff --git a/api/charmhub/data.go b/api/charmhub/data.go index <HASH>..<HASH> 100644 --- a/api/charmhub/data.go +++ b/api/charmhub/data.go @@ -176,6 +176,6 @@ type Bundle struct { } type BundleCharm struct { - Name string `json:"name"` - Revision int `json:"revision"` + Name string `json:"name"` + Packa...
Update bundle charm info to be name and package-id. Only print the name in the info output. Package-id may be used later to deploy bundles.
juju_juju
train
3e7e38d32305fec8920b85f4f29238c0f7cfcf93
diff --git a/config/config.php b/config/config.php index <HASH>..<HASH> 100644 --- a/config/config.php +++ b/config/config.php @@ -111,7 +111,7 @@ return [ 'views' => 'Resources/views', 'test' => 'Tests', 'jobs' => 'Jobs', - 'mail' => 'Mail', + 'emails' => 'E...
Using Emails as default folder and namespace for emails
nWidart_laravel-modules
train
3c68b5679f910be5fbd8d738812b16cc75f7e066
diff --git a/lib/UnexpectedError.js b/lib/UnexpectedError.js index <HASH>..<HASH> 100644 --- a/lib/UnexpectedError.js +++ b/lib/UnexpectedError.js @@ -22,7 +22,7 @@ function UnexpectedError(expect, parent) { this.expect = expect; this.parent = parent || null; - this.name = 'UnexpectedError'; + this.na...
Make unexpected errors more resilient to weird post processing of the stack
unexpectedjs_unexpected
train
c2211596b652d97ecf1fab6c0bed56da5cb940bf
diff --git a/src/com/google/javascript/jscomp/CompilationLevel.java b/src/com/google/javascript/jscomp/CompilationLevel.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/CompilationLevel.java +++ b/src/com/google/javascript/jscomp/CompilationLevel.java @@ -180,7 +180,6 @@ public enum CompilationLe...
Make CompilerOptions#setExtraSmartNameRemoval() a noop in preparation for its removal. "extra smart name removal" is now always enabled with "smart name removal". PiperOrigin-RevId: <I>
google_closure-compiler
train
4c4b71d7e6e6d02d194ee45b48c208b7a7c183c9
diff --git a/main.js b/main.js index <HASH>..<HASH> 100644 --- a/main.js +++ b/main.js @@ -36,10 +36,8 @@ }); function getStyleComponentName(component) { - var camelize = Ember.String.camelize; - var dasherize = Ember.String.dasherize; - var name = component.toString().split('.')[1].split(':')[0]; - ...
don't depend on global namespace to work
instructure_ic-styled
train
538a87f541befac3d2b86764d40142ca06b6003e
diff --git a/util/util.go b/util/util.go index <HASH>..<HASH> 100644 --- a/util/util.go +++ b/util/util.go @@ -12,7 +12,7 @@ const ( ) var ( - byteSize = make([]byte, bytesPerInt) // Made for reusing in FormSize + bSize = make([]byte, bytesPerInt) // Made for reusing in FormSize ErrInvalidSizeFormat = errors.Ne...
Make some improvements for Form-/ParseSize
bogem_id3v2
train
6da34a6ba5ef97891fcf581cf9275fe16503a5d8
diff --git a/types.go b/types.go index <HASH>..<HASH> 100644 --- a/types.go +++ b/types.go @@ -112,6 +112,11 @@ func (m *Message) IsGroup() bool { return m.From.ID != m.Chat.ID } +// IsGroup returns if the message was sent to a group. +func (m *Message) IsCommand() bool { + return m.Text != "" && m.Text[0] == '/' ...
Message IsCommand method added
go-telegram-bot-api_telegram-bot-api
train
363fec59f7f72cef88735851573c9f2b4e3f2e61
diff --git a/src/CartSubItem.php b/src/CartSubItem.php index <HASH>..<HASH> 100644 --- a/src/CartSubItem.php +++ b/src/CartSubItem.php @@ -11,6 +11,8 @@ use LukePOLO\LaraCart\Traits\CartOptionsMagicMethodsTrait; */ class CartSubItem { + const ITEMS = 'items'; + use CartOptionsMagicMethodsTrait; priva...
Fixing issue if somone put items into the subItem Array
lukepolo_laracart
train
f03c5b5d1717f2ebec64032d269316dc74476056
diff --git a/lib/audited/auditor.rb b/lib/audited/auditor.rb index <HASH>..<HASH> 100644 --- a/lib/audited/auditor.rb +++ b/lib/audited/auditor.rb @@ -175,12 +175,13 @@ module Audited private def audited_changes + all_changes = respond_to?(:attributes_in_database) ? attributes_in_database : chang...
Use updated AR::Dirty API to find changed attributes
collectiveidea_audited
train
ad4519a52d0e493b889dab7b03aac5e417eb4361
diff --git a/core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorContains.java b/core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorContains.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorCon...
Fix of count optimization for contains operator.
orientechnologies_orientdb
train
a94c9d4b89cb816679314a13e832f9144c0a39d2
diff --git a/src/rituals/invoke_tasks.py b/src/rituals/invoke_tasks.py index <HASH>..<HASH> 100644 --- a/src/rituals/invoke_tasks.py +++ b/src/rituals/invoke_tasks.py @@ -55,19 +55,20 @@ def clean(docs=False, backups=False, bytecode=False, dist=False, all=False, venv=False, extra=''): # pylint: disable=redefin...
:bug: fixed recursive dir patterns
jhermann_rituals
train
ea6020e992da99397e6a6be838dd1a5fb904b497
diff --git a/spec/rdkafka/consumer_spec.rb b/spec/rdkafka/consumer_spec.rb index <HASH>..<HASH> 100644 --- a/spec/rdkafka/consumer_spec.rb +++ b/spec/rdkafka/consumer_spec.rb @@ -724,6 +724,8 @@ describe Rdkafka::Consumer do # # This is, in effect, an integration test and the subsequent specs are #...
Update specs to create topics in setup phase
appsignal_rdkafka-ruby
train
533a7905734dbeb08d234c4c9776b04ace95d5b0
diff --git a/scan.go b/scan.go index <HASH>..<HASH> 100644 --- a/scan.go +++ b/scan.go @@ -193,7 +193,7 @@ func Columns(src interface{}, includePk bool) ([]string, error) { // `column1`,`column2`,... // using Quote as the quote character. func (d *Database) ColumnsQuoted(src interface{}, includePk bool) (string, e...
Fix Columns() reference in ColumnsQuoted() (#<I>).
russross_meddler
train
74da92f778522fafc667a09cd4dfa5bf7f57a815
diff --git a/HISTORY.rst b/HISTORY.rst index <HASH>..<HASH> 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,11 @@ History ======== +2.1.4 (2019-06-02) +------------------ + +* Handle BadStatusLine errors + 2.1.3 (2019-06-01) ------------------ diff --git a/simplenote/__init__.py b/simplenote/__init__.py i...
Handle BadStatusLine errors As far as I can tell this is really an issue in urllib2 as that should really catch and handle this error as URLError or HTTPError. But it doesn't seem to. More details/info in the issue. Fixes: #<I>
mrtazz_simplenote.py
train
5db40467c03db191115a12402f0145e738cd147d
diff --git a/examples/library/library.py b/examples/library/library.py index <HASH>..<HASH> 100644 --- a/examples/library/library.py +++ b/examples/library/library.py @@ -11,14 +11,17 @@ app.config['DEBUG'] = True app.config['MONGOALCHEMY_DATABASE'] = 'library' db = MongoAlchemy(app) + class Author(db.Document): ...
examples/library: fix flake8 issues
cobrateam_flask-mongoalchemy
train