content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Python
Python
make suggested fixes
f61357cdc5605e7d488d87caa38e9407de444cd8
<ide><path>research/object_detection/meta_architectures/context_rcnn_lib_tf2_test.py <ide> def test_attention_block(self, bottleneck_dimension, output_dimension, <ide> input_features = tf.ones([2, 8, 3, 3, 3], tf.float32) <ide> context_features = tf.ones([2, 20, 10], tf.float32) <ide> is_training = False <d...
4
PHP
PHP
skip consoleinput tests on windows/appveyor
03f60e83fa956abe2acce90b93e8dffa42894f39
<ide><path>tests/TestCase/Console/ConsoleInputTest.php <ide> public function setUp() <ide> */ <ide> public function testDataAvailable() <ide> { <add> $this->skipIf( <add> DS === '\\', <add> 'Skip ConsoleInput tests on Windows as they fail on AppVeyor.' <add> ); <add> <id...
1
Ruby
Ruby
avoid unnecessary sql query when calling cache_key
76bb9712f2536ab18b413c45990a6b3fc042c18c
<ide><path>activerecord/lib/active_record/relation.rb <ide> def compute_cache_key(timestamp_column = :updated_at) # :nodoc: <ide> query_signature = ActiveSupport::Digest.hexdigest(to_sql) <ide> key = "#{klass.model_name.cache_key}/query-#{query_signature}" <ide> <del> if cache_version(timestamp_column...
2
PHP
PHP
fix boolean check
57787cbc3aa853701b42bf9a5d9017b4e13ac823
<ide><path>src/Illuminate/Database/Connectors/SqlServerConnector.php <ide> protected function getSqlSrvDsn(array $config) <ide> $arguments['ApplicationIntent'] = 'ReadOnly'; <ide> } <ide> <del> if (isset($config['pooling']) && $config['pooling'] == false) { <add> if (isset($config['po...
1
Text
Text
fix typo in changelog.md
d9325e102cd449645a208fa83cfd2b8cb29ab0d2
<ide><path>CHANGELOG.md <ide> Upgrading from Docker 1.13.1 to 17.03.0 is expected to be simple and low-risk. <ide> <ide> * Fix a deadlock in docker logs [#30223](https://github.com/docker/docker/pull/30223) <ide> * Fix cpu spin waiting for log write events [#31070](https://github.com/docker/docker/pull/31070) <del>* F...
1
Ruby
Ruby
use full path to environment
39de112e7b902176434a1d0ebc1d6741247e50de
<ide><path>railties/lib/commands/about.rb <del>require 'environment' <add>require "#{RAILS_ROOT}/config/environment" <ide> require 'rails/info' <ide> puts Rails::Info
1
PHP
PHP
fix styleci warnings
67cb3a4695c71112810c0e010e7f35e3b439ac2c
<ide><path>src/Illuminate/Auth/Access/Gate.php <ide> public function any($abilities, $arguments = []) <ide> public function none($abilities, $arguments = []) <ide> { <ide> return ! $this->any($abilities, $arguments); <del> } <add> } <ide> <ide> /** <ide> * Determine if the given abi...
1
PHP
PHP
remove check for defunct view options
c35ffc9ff267ba8c4e0cee010f626e0c9beb180f
<ide><path>src/View/View.php <ide> public function __construct( <ide> ?EventManager $eventManager = null, <ide> array $viewOptions = [] <ide> ) { <del> if (isset($viewOptions['view'])) { <del> $this->setTemplate($viewOptions['view']); <del> } <del> if (isset($viewOpti...
2
Ruby
Ruby
replace backticks with rdoc markup [ci-skip]
07bee949c48db267fed9cee25c56951473c391e1
<ide><path>actionpack/lib/action_controller/metal/redirecting.rb <ide> class UnsafeRedirectError < StandardError; end <ide> # <ide> # Raises UnsafeRedirectError in the case of an unsafe redirect. <ide> # <del> # To allow any external redirects pass `allow_other_host: true`, though using a user-provided p...
15
PHP
PHP
remove useless reference operator
247d8361748c3cc936d136feed7fe77ae70d5735
<ide><path>lib/Cake/Utility/File.php <ide> public function lastChange() { <ide> * @return Folder Current folder <ide> * @link http://book.cakephp.org/2.0/en/core-utility-libraries/file-folder.html#File::Folder <ide> */ <del> public function &folder() { <add> public function folder() { <ide> return $this->Folder; <...
1
Python
Python
add test for connection method thing
36ee4efa531b25b7f50fa373f17bfa91a671b796
<ide><path>libcloud/test/compute/test_indosat.py <add># Licensed to the Apache Software Foundation (ASF) under one or more <add># contributor license agreements. See the NOTICE file distributed with <add># this work for additional information regarding copyright ownership. <add># The ASF licenses this file to You unde...
3
Javascript
Javascript
adapt test-repl to v8 9.5
842fd234b7634200ed55141fc77d4e96c3c593bd
<ide><path>test/parallel/test-repl.js <ide> async function runReplTests(socket, prompt, tests) { <ide> <ide> console.error('in:', JSON.stringify(actualLine)); <ide> <del> // Match a string directly, or a RegExp through .test(). <add> // Match a string directly, or a RegExp. <ide> if (typeof expe...
1
Javascript
Javascript
remove extra comma
1b18f8c7730fc6285c2a07389e74655c0e4ce08f
<ide><path>packages/ember-metal/lib/property_events.js <ide> import { <del> guidFor, <add> guidFor <ide> } from 'ember-metal/utils'; <ide> import { <ide> peekMeta
1
Python
Python
fix next sentence output
069b63844c9255cb0a56c632de281a3688834190
<ide><path>src/transformers/modeling_tf_outputs.py <ide> class TFNextSentencePredictorOutput(ModelOutput): <ide> heads. <ide> """ <ide> <del> loss: tf.Tensor = None <add> loss: Optional[tf.Tensor] = None <ide> logits: tf.Tensor = None <ide> hidden_states: Optional[Tuple[tf.Tensor]] = None...
1
Ruby
Ruby
touch updated_at when upsert_all modifies a record
3a8668bd7389c2bfa8c7c0b0ec17dc078734852a
<ide><path>activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb <ide> def build_insert_sql(insert) # :nodoc: <ide> sql << " ON DUPLICATE KEY UPDATE #{no_op_column}=#{no_op_column}" <ide> elsif insert.update_duplicates? <ide> sql << " ON DUPLICATE KEY UPDATE " <add> ...
6
PHP
PHP
change default value of consoleinputoption to null
c02dbade4cdd6ca9213911d93a230b5de1beb79b
<ide><path>src/Console/ConsoleInputOption.php <ide> class ConsoleInputOption <ide> /** <ide> * Default value for the option <ide> * <del> * @var string|bool <add> * @var string|bool|null <ide> */ <ide> protected $_default; <ide> <ide> class ConsoleInputOption <ide> * @param string $...
3
Text
Text
improve typescript documentation.
175e081e862b503d2daf4c2d07d589f86d037f06
<ide><path>docs/api-reference/next.config.js/ignoring-typescript-errors.md <ide> Next.js fails your **production build** (`next build`) when TypeScript errors ar <ide> <ide> If you'd like Next.js to dangerously produce production code even when your application has errors, you can disable the built-in type checking st...
2
Python
Python
update compatibility with google-cloud-kms>=2.0
b26b0df5b03c4cd826fd7b2dff5771d64e18e6b7
<ide><path>airflow/providers/google/cloud/hooks/kms.py <ide> def encrypt( <ide> :rtype: str <ide> """ <ide> response = self.get_conn().encrypt( <del> name=key_name, <del> plaintext=plaintext, <del> additional_authenticated_data=authenticated_data, <add> ...
3
Javascript
Javascript
add some types for plugins
9ad9abdd2ac50cb788dc9c003e5f48f8224e127c
<ide><path>lib/dependencies/HarmonyModulesPlugin.js <ide> const HarmonyExportDependencyParserPlugin = require("./HarmonyExportDependencyPa <ide> const HarmonyImportDependencyParserPlugin = require("./HarmonyImportDependencyParserPlugin"); <ide> const HarmonyTopLevelThisParserPlugin = require("./HarmonyTopLevelThisParse...
3
Go
Go
create panic.log file without readonly flag
b865204042237d3cf620d04f7a8cb3215f87fcea
<ide><path>cmd/dockerd/service_windows.go <ide> Loop: <ide> <ide> func initPanicFile(path string) error { <ide> var err error <del> panicFile, err = os.OpenFile(path, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0) <add> panicFile, err = os.OpenFile(path, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o200) <ide> if err != nil { <id...
1
Ruby
Ruby
use formula helper in tests
e651e7662aec9ffdb864e883d54b9204b60181a4
<ide><path>Library/Homebrew/test/test_formula.rb <ide> def test_class_naming <ide> end <ide> <ide> def test_formula_spec_integration <del> f = Class.new(Formula) do <add> f = formula do <ide> homepage 'http://example.com' <ide> url 'http://example.com/test-0.1.tbz' <ide> mirror 'http://exam...
2
Ruby
Ruby
remove unused require
bd01f9831cb6416b34f566167237697e666e5e41
<ide><path>activestorage/lib/active_storage/service/gcs_service.rb <ide> require "google/cloud/storage" <ide> require "net/http" <ide> <del>require "active_support/core_ext/object/to_query" <del> <ide> module ActiveStorage <ide> # Wraps the Google Cloud Storage as an Active Storage service. See ActiveStorage::Servic...
1
Javascript
Javascript
fix warning of root metro config
0f3f6c0938411a9dc8a08c6cdcc93988a875fb91
<ide><path>metro.config.js <ide> const getPolyfills = require('./rn-get-polyfills'); <ide> * integration tests during local development or on CI services. <ide> */ <ide> module.exports = { <del> extraNodeModules: { <del> 'react-native': __dirname, <add> resolver: { <add> extraNodeModules: { <add> 'react-...
1
PHP
PHP
remove tab in realtion.php
05e96ce203f403f99da5634fc7c155ce5208a7d9
<ide><path>src/Illuminate/Database/Eloquent/Relations/Relation.php <ide> public function __call($method, $parameters) <ide> <ide> return $result; <ide> } <del> <add> <ide> /** <ide> * Force a clone of the underlying query builder when cloning. <ide> *
1
Ruby
Ruby
allow redacting secrets in the log
9232ca4508184505f140b3810823872299b480df
<ide><path>Library/Homebrew/exceptions.rb <ide> # frozen_string_literal: true <ide> <ide> require "shellwords" <add>require "utils" <ide> <ide> class UsageError < RuntimeError <ide> attr_reader :reason <ide> class ErrorDuringExecution < RuntimeError <ide> attr_reader :status <ide> attr_reader :output <ide> <de...
4
Text
Text
remove datetime fields from helper list [ci skip]
2b82e96597d4d9a6054bdeea86e51477565ac449
<ide><path>guides/source/form_helpers.md <ide> make it easier for users to click the inputs. <ide> <ide> Other form controls worth mentioning are textareas, password fields, <ide> hidden fields, search fields, telephone fields, date fields, time fields, <del>color fields, datetime fields, datetime-local fields, month ...
1
Ruby
Ruby
use instance_exec to invoke the lambda callback
76c230e7d80d72352da76f5c95b786b183cdfa09
<ide><path>lib/action_cable/channel/base.rb <ide> def broadcast(data) <ide> def start_periodic_timers <ide> self.class.periodic_timers.each do |callback, options| <ide> @_active_periodic_timers << EventMachine::PeriodicTimer.new(options[:every]) do <del> callback.respond_to?(:...
1
Javascript
Javascript
add test for d3.version
8986f76af67963b906e9729a671a50ea3c070090
<ide><path>test/core/version-test.js <add>require("../env"); <add>require("../../d3"); <add> <add>var vows = require("vows"), <add> assert = require("assert"); <add> <add>var suite = vows.describe("d3.version"); <add> <add>suite.addBatch({ <add> "semantic versioning": { <add> topic: d3.version, <add> "has the...
1
Python
Python
use random_attention_mask for tf tests
2199382dfd6c1e010518acdd5732adc114a6a7f0
<ide><path>templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/test_modeling_tf_{{cookiecutter.lowercase_modelname}}.py <ide> from transformers.testing_utils import require_tf, slow <ide> <ide> from ..test_configuration_common import ConfigTester <del>from ..test_modeling_tf_common import TFM...
29
Text
Text
change command_task.rb to commands_task.rb in docs
ac1427d6ca8afbf2cd4245f994084b30ed256581
<ide><path>guides/source/initialization.md <ide> snippet. <ide> If we had used `s` rather than `server`, Rails would have used the `aliases` <ide> defined here to find the matching command. <ide> <del>### `rails/commands/command_tasks.rb` <add>### `rails/commands/commands_tasks.rb` <ide> <ide> When one types a valid ...
1
Ruby
Ruby
fix deprecate! and disable! message
e7cf1f4497431ed80dfefb3cb2c8082c66365b20
<ide><path>Library/Homebrew/formula_installer.rb <ide> def check_install_sanity <ide> reason = if deprecate_disable_reasons.key? formula.deprecation_reason <ide> deprecate_disable_reasons[formula.deprecation_reason] <ide> else <del> deprecate_disable_reasons <add> formula.dep...
1
Text
Text
add 3.2.0 to changelog
5154db427be5cbc722600b5344eb1802ebd2e3b4
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v3.2.0-beta.5 (May 14, 2018) <del>- [#16613](https://github.com/emberjs/ember.js/pull/16613) [BUGFIX] Prevent errors in ember-engines + 3.1 + proxies. <add>### v3.2.0 (May 31, 2018) <ide> <del>### v3.2.0-beta.4 (May 7, 2018) <add>- [#16613](https://github...
1
Python
Python
fix syntax error
f3b7c5e5371acbd0a2126fee4dbb791845c44ebb
<ide><path>spacy/language.py <ide> def __call__(self, text, disable=[]): <ide> "the parser or NER, it's probably safe to increase the " <ide> "nlp.max_length limit. The limit is in number of characters, " <ide> "so you can check whether your inputs are too long by checkin...
1
Ruby
Ruby
remove parent on transaction object
dac9c92e3096ae196d7ea4b58e7141f4a36007ea
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/transaction.rb <ide> def initialize(connection) <ide> <ide> def begin_transaction(options = {}) <ide> transaction_class = @stack.empty? ? RealTransaction : SavepointTransaction <del> transaction = transaction_class.new(@connect...
1
Python
Python
fix docstrings for loading with docfilesuite
b860a39925a5e0a49d54fa363ccdf6113dfef12d
<ide><path>numpy/core/numerictypes.py <ide> 'ScalarType', 'obj2sctype', 'cast', 'nbytes', 'sctype2char', <ide> 'maximum_sctype', 'issctype', 'typecodes'] <ide> <del>from multiarray import typeinfo, ndarray, array, empty, dtype <add>from numpy.core.multiarray import typeinfo, ndarray, array, empty...
6
Javascript
Javascript
add connectcontrollers convenience
396c08b1322f4b642a65005cc89cdd7bb8acce06
<ide><path>packages/ember-views/lib/system/controller.js <ide> Ember.ControllerMixin.reopen({ <ide> set(this, outletName, view); <ide> <ide> return view; <add> }, <add> <add> /** <add> Convenience method to connect controllers. This method makes other controllers <add> available on the controller the m...
2
Ruby
Ruby
remove xquartz handling
4836ea0ba2119619697af87edf5fdb2280e90238
<ide><path>Library/Homebrew/cask/exceptions.rb <ide> def to_s <ide> end <ide> end <ide> <del> # Error when a cask depends on X11. <del> # <del> # @api private <del> class CaskX11DependencyError < AbstractCaskErrorWithToken <del> extend T::Sig <del> <del> sig { returns(String) } <del> def to_s <del> ...
11
Ruby
Ruby
build fix for ruby 1.9.3 syntax
e23c77f12b2ba38240c0b4367e6b1964a1698d16
<ide><path>railties/test/application/initializers/notifications_test.rb <ide> def wait <ide> app_file 'config/initializers/foo.rb', '' <ide> <ide> events = [] <del> callback = -> (*_) { events << _ } <add> callback = ->(*_) { events << _ } <ide> ActiveSupport::Notifications.subscribed(callb...
1
Javascript
Javascript
remove trailing whitespace
88e330d5774fd4c161deb9e689306403472d82c4
<ide><path>spec/window-event-handler-spec.js <ide> describe('WindowEventHandler', () => { <ide> spyOn(atom, 'close') <ide> window.dispatchEvent(new CustomEvent('window:close')) <ide> expect(atom.close).toHaveBeenCalled() <del> }) <add> }) <ide> ) <ide> <ide> describe('when a link is cl...
1
Mixed
Python
update helm chart release docs
316632e63bf1ef79446ed2cd9587b2d3d666bf1a
<ide><path>dev/README_RELEASE_HELM_CHART.md <ide> - [Publish documentation](#publish-documentation) <ide> - [Notify developers of release](#notify-developers-of-release) <ide> - [Update Announcements page](#update-announcements-page) <add> - [Create release on GitHub](#create-release-on-github) <add> - [Close t...
2
Python
Python
avoid duplication of version info
85b20f8d491ae02278e720c961024e837cc64b0e
<ide><path>setup.py <ide> def hello(): <ide> <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_ <ide> <ide> """ <del>from __future__ import print_function <del>from setuptools import Command, setup <add>import re <add>import ast <add>from setuptools import setup <add> <add> <add>_version_re = re.comp...
1
Java
Java
support mutable headers in messagingtemplate
fda9c633c4a9457300cbfcf0780683ae770b1d84
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/converter/AbstractMessageConverter.java <ide> import org.springframework.messaging.Message; <ide> import org.springframework.messaging.MessageHeaders; <ide> import org.springframework.messaging.support.MessageBuilder; <add>import org.springframewor...
17
Javascript
Javascript
add tests for selection select and selectall
1444698b22e0ace3df6559b36e7f362db9dedc0a
<ide><path>test/core/selection-append-test.js <ide> var vows = require("vows"), <ide> var suite = vows.describe("selection.append"); <ide> <ide> suite.addBatch({ <del> "select": { <add> "select(body)": { <ide> topic: function() { <ide> return d3.select("body").html(""); <ide> }, <ide> "appends an H...
7
Python
Python
set version to 2.2.0.dev4
178d010b25c0dd438a85565e452dca31660efc11
<ide><path>spacy/about.py <ide> # fmt: off <ide> <ide> __title__ = "spacy" <del>__version__ = "2.2.0.dev3" <add>__version__ = "2.2.0.dev4" <ide> __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" <ide> __uri__ = "https://spacy.io" <ide> __author__ = "Explosion AI"
1
Javascript
Javascript
make console work with js engines which use print
de4e51beafd20633de817228cc8f0151f5733123
<ide><path>Libraries/polyfills/console.js <ide> * @providesModule console <ide> * @polyfill <ide> * @nolint <add> * @format <ide> */ <ide> <ide> /* eslint-disable */ <ide> const inspect = (function() { <ide> function inspect(obj, opts) { <ide> var ctx = { <ide> seen: [], <del> stylize: stylizeNoCo...
1
Text
Text
add types of print statements.
864c0af2f5a8fbf6918921e4c9310c686dea5dd4
<ide><path>guide/english/kotlin/hello-world/index.md <ide> fun main(args : Array<String>): Unit {...} <ide> <ide> ### Print Statement <ide> <del>The println function takes a string as an argument and prints it to the screen. In this case we are printing the string "Hello, World!". Note that string literals are declar...
1
Javascript
Javascript
detect rc build with x.y.z-rc.n format
9f727f5e03bbe6f798f0a084bf318f78f064013d
<ide><path>deps/npm/node_modules/node-gyp/lib/install.js <ide> function install (gyp, argv, callback) { <ide> // pick out 'nightly', 'next-nightly' or 'rc' from the version string if it's there <ide> // adjust URL accordingly <ide> function getDefaultIojsUrl(version) { <del> var versionMatch = version.match(/^v\d+\.\d...
1
Python
Python
add integration tests for minio
ce651a5fb3bc8d18f215d69f82dfc9c01b42676d
<ide><path>integration/storage/base.py <ide> def _test_objects(self, do_upload, do_download, size=1 * MB): <ide> self.driver.delete_object(obj) <ide> <ide> # check that a missing file can't be deleted or looked up <del> with self.assertRaises(types.ObjectDoesNotExistError): <del> ...
2
PHP
PHP
add tests for addoptionalplugin()
a78d43b7fe6e042ad11f16a22fcf70fb4ef97a9b
<ide><path>tests/TestCase/Http/BaseApplicationTest.php <ide> <ide> /** <ide> * Base application test. <add> * <add> * @coversDefaultClass \Cake\Http\BaseApplication <ide> */ <ide> class BaseApplicationTest extends TestCase <ide> { <ide> public function testPluginBootstrapRecursivePlugins() <ide> 'Nested ...
1
Text
Text
clarify eventtype in fs.watch
b209a6e2715f098985a24cde9023b4aa3b5a25c5
<ide><path>doc/api/fs.md <ide> The listener callback gets two arguments `(eventType, filename)`. `eventType` i <ide> `'rename'` or `'change'`, and `filename` is the name of the file which triggered <ide> the event. <ide> <del>Please note the listener callback is attached to the `'change'` event <del>fired by [`fs.FSW...
1
Javascript
Javascript
fix interpolant alias
2254a241d084615ad5fe5fa35e515c6c2f556041
<ide><path>src/math/Interpolant.js <ide> Object.assign( Interpolant.prototype, { <ide> <ide> constructor: Interpolant, <ide> <del> beforeStart_: //( 0, t, t0 ), returns this.resultBuffer <del> Interpolant.prototype.copySampleValue_, <del> <del> afterEnd_: //( N-1, tN-1, t ), returns this.resultBuffer <del> Interpo...
1
Text
Text
fix typo in docker-context-files/readme.md
b21c3b58aa05821aa950a7c9aac9b92558156da2
<ide><path>docker-context-files/README.md <ide> under the License. <ide> --> <ide> <del>This folder is par of the Docker context. <add>This folder is part of the Docker context. <ide> <ide> Most of other folders in Airflow are not part of the context in order to make the context smaller. <ide>
1
Python
Python
fix typo in test
90ebbb8e4e37c2d6562735a5192d3116de2621ac
<ide><path>numpy/core/tests/test_print.py <ide> def _test_redirected_print(x, tp): <ide> err_msg='print failed for type%s' % tp) <ide> <ide> def check_float_type_print(tp): <del> for x in [0, 1,-1, 1e20, np.inf, -np.inf, np.nan] <add> for x in [0, 1,-1, 1e20, np.inf, -np.inf, np.nan]: <ide> ...
1
Javascript
Javascript
invoke callback with common.mustcall()
1df9340d0b460c68ac5006d881b0337fd26202fe
<ide><path>test/parallel/test-crypto-domain.js <ide> if (!common.hasCrypto) <ide> common.skip('missing crypto'); <ide> <ide> const assert = require('assert'); <del>const domain = require('domain'); <ide> const crypto = require('crypto'); <add>const domain = require('domain'); <ide> <ide> function test(fn) { <ide> ...
2
Python
Python
remove deprecated arguments from new run_clm
9eb3a410cd826e47b7c97db8af4056a2465e65eb
<ide><path>examples/language-modeling/run_clm.py <ide> def tokenize_function(examples): <ide> ) <ide> <ide> if data_args.block_size <= 0: <del> block_size = tokenizer.max_len <add> block_size = tokenizer.model_max_length <ide> else: <del> if data_args.block_size > tokenizer.max_len: <a...
1
PHP
PHP
add object to text insert test case
a5185ca52809adf225d9e1047f288f09a3214f64
<ide><path>tests/TestCase/Utility/TextTest.php <ide> */ <ide> namespace Cake\Test\TestCase\Utility; <ide> <add>use Cake\I18n\Time; <ide> use Cake\TestSuite\TestCase; <ide> use Cake\Utility\Text; <ide> <ide> public function testInsert() <ide> $expected = 'switching 10 by 5'; <ide> $result = Text::inse...
1
Ruby
Ruby
make use of the inherited initializer
a53ef972066503e601e023748949b6668fce51e3
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> class SingletonResource < Resource #:nodoc: <ide> DEFAULT_ACTIONS = [:show, :create, :update, :destroy, :new, :edit] <ide> <ide> def initialize(entities, options) <add> super <add> <ide> @as = nil <del>...
1
PHP
PHP
extract helper method for generating radio ids
912a2ba760c435baede88d45b8313ac2169c0787
<ide><path>src/View/Widget/Radio.php <ide> protected function _renderInput($val, $text, $data) { <ide> $radio['name'] = $data['name']; <ide> <ide> if (empty($radio['id'])) { <del> $radio['id'] = mb_strtolower(Inflector::slug($radio['name'] . '_' . $radio['value'], '-')); <add> $radio['id'] = $this->_id($radio)...
1
Text
Text
fix some 404 links
509a184820ca91d6935213cb3008cb881d8a3a5d
<ide><path>doc/guides/contributing/pull-requests.md <ide> included in the API docs will also be checked when running `make lint` (or <ide> use `REPLACEME` for the version number in the documentation YAML. <ide> <ide> For contributing C++ code, you may want to look at the <del>[C++ Style Guide](../../cpp-style-guide.md...
2
Javascript
Javascript
set ios 11 in saucelabs to 11.3
96c4cb6694d6775ef4892ed39556b7927b0897a7
<ide><path>karma-shared.conf.js <ide> module.exports = function(config, specificOptions) { <ide> base: 'SauceLabs', <ide> browserName: 'iphone', <ide> platform: 'OS X 10.12', <del> version: '11' <add> version: '11.3' <ide> }, <ide> <ide> 'BS_Chrome': {
1
Text
Text
fix paragraph order in stream.md
3662934b5ac9002586676fdec662bea957144b34
<ide><path>doc/api/stream.md <ide> buffered writes in a more optimized manner. <ide> <ide> See also: [`writable.uncork()`][]. <ide> <add>##### writable.destroy([error]) <add><!-- YAML <add>added: v8.0.0 <add>--> <add> <add>* Returns: {this} <add> <add>Destroy the stream, and emit the passed `error` and a `close` even...
1
Ruby
Ruby
convert pathname test to spec
85ff9add185fc24d99b296cf9cca3071b6d865c0
<ide><path>Library/Homebrew/test/pathname_spec.rb <add>require "tmpdir" <add>require "extend/pathname" <add>require "install_renamed" <add> <add>describe Pathname do <add> include FileUtils <add> <add> let(:src) { Pathname.new(Dir.mktmpdir) } <add> let(:dst) { Pathname.new(Dir.mktmpdir) } <add> let(:file) { src/"fo...
2
Python
Python
fix config to match best model
01b21983b65d310a401729b258e16f5175a03460
<ide><path>official/vision/beta/projects/vit/configs/image_classification.py <ide> def image_classification_imagenet_deit_pretrain() -> cfg.ExperimentConfig: <ide> input_path=os.path.join(IMAGENET_INPUT_PATH_BASE, 'train*'), <ide> is_training=True, <ide> global_batch_size=train...
1
Text
Text
add usmart securities to the inthewild.md
5fc06a6ef9c136a4861bc2426aea768e9a18dcbb
<ide><path>INTHEWILD.md <ide> Currently, **officially** using Airflow: <ide> 1. [imgix](https://www.imgix.com/) [[@dclubb](https://github.com/dclubb)] <ide> 1. [liligo](http://liligo.com/) [[@tromika](https://github.com/tromika)] <ide> 1. [proton.ai](https://proton.ai/) [[@prmsolutions](https://github.com/prmsolutions)...
1
Javascript
Javascript
remove unused local variable
047b869f46ab17b2184c550e3b262e019a3da749
<ide><path>packages/ember-metal/lib/map.js <ide> Map.prototype = { <ide> // to use in browsers that are not ES6 friendly; <ide> var keys = this.keys, <ide> values = this.values, <del> guid = guidFor(key), <del> value; <add> guid = guidFor(key); <ide> <ide> if (values.hasOwnProp...
1
Javascript
Javascript
fix regression in buffer(buf) constructor
bc28acdd029687d24004f69f98617c7e171ca173
<ide><path>lib/buffer.js <ide> function Buffer(subject, encoding) { <ide> this.length = this.write(subject, 0, encoding); <ide> } else { <ide> if (util.isBuffer(subject)) <del> this.copy(subject, 0, 0, this.length); <add> subject.copy(this, 0, 0, this.length); <ide> else if (util.isN...
2
Ruby
Ruby
remove all code
a28b57d3fb84a618d07cb636c387423d1ebbb850
<ide><path>Library/Homebrew/formula.rb <ide> def etc; (HOMEBREW_PREFIX+'etc').extend(InstallRenamed) end <ide> # generally we don't want var stuff inside the keg <ide> def var; HOMEBREW_PREFIX+'var' end <ide> <del> def bash_completion <del> etc = ENV['HOMEBREW_GIT_ETC'] ? self.etc : prefix+'etc' <del> etc+'...
3
Text
Text
remove extra white-spaces [ci skip]
af981764686c28db40305adf9cfc308f2e20ab50
<ide><path>guides/source/getting_started.md <ide> article. Try it! You should get an error that looks like this: <ide> <ide> Rails has several security features that help you write secure applications, <ide> and you're running into one of them now. This one is called <del>`[strong_parameters](http://guides.rubyonrails...
1
Javascript
Javascript
add detectstrictmode method for backward-compat
284e97fd81d30221e5af35c4b0dcfbddf644852b
<ide><path>lib/Parser.js <ide> class Parser extends Tapable { <ide> <ide> this.scope = oldScope; <ide> } <add> <add> // TODO webpack 5: remove this methods <add> // only for backward-compat <add> detectStrictMode(statements) { <add> this.detectMode(statements); <add> } <ide> <ide> detectMode(statements) { <ide>...
1
Javascript
Javascript
add transition tracing transitions stack
e0160d50c5a492a925db6ab3f8478e118336c722
<ide><path>packages/react-reconciler/src/ReactFiberBeginWork.new.js <ide> function updateOffscreenComponent( <ide> // push the cache pool even though we're going to bail out <ide> // because otherwise there'd be a context mismatch <ide> if (current !== null) { <del> pushTransition(workI...
8
Text
Text
fix typo in chnagelog.md
da0a47bec3c13bd93793811155de00730d2e27ae
<ide><path>packages/react-devtools/CHANGELOG.md <ide> <ide> ## 4.0.4 (August 18, 2019) <ide> #### Bug fixes <del>* Bugfox for potential error if a min-duration commit filter is applied after selecting a fiber in the Profiler UI. <add>* Bugfix for potential error if a min-duration commit filter is applied after selecti...
1
Javascript
Javascript
correct few unclosed elements
4bfb66ce0be46d3a0e9da2f80f3e1d0c2b559828
<ide><path>src/ng/filter/filter.js <ide> <ide> Search: <input ng-model="searchText"> <ide> <table id="searchTextResults"> <del> <tr><th>Name</th><th>Phone</th><tr> <add> <tr><th>Name</th><th>Phone</th></tr> <ide> <tr ng-repeat="friend in friends | filter:searchText"> <ide> ...
2
Javascript
Javascript
use new testing api
b273c005ce2a6550bc74f7adadc0ee171fc2e4a2
<ide><path>node-tests/blueprints/acceptance-test-test.js <ide> 'use strict'; <ide> <del>var setupTestHooks = require('ember-cli-blueprint-test-helpers/lib/helpers/setup'); <del>var BlueprintHelpers = require('ember-cli-blueprint-test-helpers/lib/helpers/blueprint-helper'); <del>var generateAndDestroy = Blueprint...
17
PHP
PHP
update version constant
80835ab0d0c2b11b2781de209fc257f08bf5963a
<ide><path>src/Illuminate/Foundation/Application.php <ide> class Application extends Container implements ApplicationContract, CachesConfig <ide> * <ide> * @var string <ide> */ <del> const VERSION = '8.17.0'; <add> const VERSION = '8.17.1'; <ide> <ide> /** <ide> * The base path for the La...
1
Javascript
Javascript
ensure mock $sce delegate is implemented correctly
9d08b33a0dd9d4a45dda512c95db12555baa9d17
<ide><path>test/ngRoute/routeSpec.js <ide> describe('$route', function() { <ide> $routeProvider = _$routeProvider_; <ide> <ide> $provide.decorator('$sce', function($delegate) { <add> function getVal(v) { return v.getVal ? v.getVal() : v; } <ide> $delegate.trustAsResourceUrl = function(url) {...
1
Javascript
Javascript
increase coverage in lib/internal/dns/promises.js
eac8f50ca664186d099c03dcac71a22fde89671f
<ide><path>test/parallel/test-dns-lookupService.js <ide> assert.throws( <ide> syscall: 'getnameinfo' <ide> } <ide> ); <add> <add>assert.rejects( <add> dns.promises.lookupService('127.0.0.1', 80), <add> { <add> code: 'ENOENT', <add> message: 'getnameinfo ENOENT 127.0.0.1', <add> syscall: 'getnameinfo' <...
1
Javascript
Javascript
convert bind(this) to arrow functions
15f4894ebe7d9b8e6658748573e18aed702f33fe
<ide><path>lib/Compiler.js <ide> class Compiler extends Tapable { <ide> }); <ide> }); <ide> }, <del> apply: function() { <add> apply: () => { <ide> const args = arguments; <ide> if(!deprecationReported) { <ide> console.warn("webpack: Using compiler.parser is deprecated.\n" + <ide> class Com...
4
Ruby
Ruby
add harmless dylibs check
47fe2149638a85bc956593c12abd5aa5bb15452c
<ide><path>Library/Homebrew/os/mac/linkage_checker.rb <ide> def check_dylibs <ide> rescue NotAKegError <ide> @system_dylibs << dylib <ide> rescue Errno::ENOENT <add> next if harmless_broken_link?(dylib) <ide> @broken_dylibs << dylib <ide> else <ide> ...
1
Ruby
Ruby
make use of config.perform_caching
a618ad358a51beead39eca3bf3ee029b66f34f73
<ide><path>actionpack/lib/action_controller/caching.rb <ide> def cache_store=(store) <ide> private <ide> <ide> def cache_configured? <del> perform_caching && cache_store <add> config.perform_caching && cache_store <ide> end <ide> end <ide> <ide><path>actionpack/lib/action_controller/...
3
Python
Python
fix typo in numpy.loadtxt documentation
905dd9a34707cf4bd4b5533b12a68e027751ab92
<ide><path>numpy/lib/npyio.py <ide> def loadtxt(fname, dtype=float, comments='#', delimiter=None, <ide> fname : file, str, or pathlib.Path <ide> File, filename, or generator to read. If the filename extension is <ide> ``.gz`` or ``.bz2``, the file is first decompressed. Note that <del> gener...
1
Javascript
Javascript
add util namespace
2aa09fd15aecdf366f355725e6c788d73f7aab97
<ide><path>build/source-loader.js <ide> var sourceFiles = [ <ide> "src/js/core-object.js", <ide> "src/js/events.js", <ide> "src/js/lib.js", <add> "src/js/util.js", <ide> "src/js/component.js", <ide> "src/js/button.js", <ide> "src/js/slider.js", <ide><path>src/js/component.js <ide> vjs.Component.prototype.o...
4
Mixed
Python
fix conftest getoption
73255091f88b20f74ce410fc2d5e71a33e3420bd
<ide><path>.github/contributors/njsmith.md <add># spaCy contributor agreement <add> <add>This spaCy Contributor Agreement (**"SCA"**) is based on the <add>[Oracle Contributor Agreement](http://www.oracle.com/technetwork/oca-405177.pdf). <add>The SCA applies to any contribution that you make to any product or project <a...
2
Java
Java
replace readcancellationexception with takewhile
3a48682226615aaea3b63755c25763877c35dfd8
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractors.java <ide> /* <del> * Copyright 2002-2018 the original author or authors. <add> * Copyright 2002-2019 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> ...
1
Ruby
Ruby
fix failing tests in activejob adapter
a70bdfe6e391a35b74c42a96488d4e0e2f7c8200
<ide><path>activejob/lib/active_job/queue_adapters/test_adapter.rb <ide> module QueueAdapters <ide> class TestAdapter <ide> attr_accessor(:perform_enqueued_jobs) { false } <ide> attr_accessor(:perform_enqueued_at_jobs) { false } <add> delegate :name, to: :class <ide> <ide> # Provides a store...
1
Text
Text
add deprecation policy to release notes
a08fa7c71ed026cad0ec9832b34f95fe38725e53
<ide><path>docs/topics/release-notes.md <ide> <ide> Minor version numbers (0.0.x) are used for changes that are API compatible. You should be able to upgrade between minor point releases without any other code changes. <ide> <del>Medium version numbers (0.x.0) may include minor API changes. You should read the rele...
1
Javascript
Javascript
add islocal(), isutc() == isutc(), isutcoffset()
272fe3c6f8aff6a695564ce9856f2c549362c4b7
<ide><path>moment.js <ide> } <ide> }, <ide> <add> isLocal : function () { <add> return !this._isUTC; <add> }, <add> <add> isUtcOffset : function () { <add> return this._isUTC; <add> }, <add> <add> isUtc : function () { <add> return...
2
Text
Text
fix several typos
c0c58b6b46626c0ae5cc9c0b37519c505f5a8484
<ide><path>docs/sources/articles/networking.md <ide> Four different options affect container domain name services. <ide> when a bare unqualified hostname is used inside of the container, by <ide> writing `search` lines into the container’s `/etc/resolv.conf`. <ide> When a container process attempts to acces...
8
Javascript
Javascript
remove duplicate `props_helper` module
80be0ac7c8ab46f6ed09d27ca87bf6877c20229b
<ide><path>packages/ember-metal/tests/accessors/get_test.js <del>import testBoth from 'ember-metal/tests/props_helper'; <add>import { testBoth } from 'ember-metal/tests/props_helper'; <ide> import { <ide> get, <ide> getWithDefault <ide><path>packages/ember-metal/tests/binding/connect_test.js <ide> import Ember from...
19
PHP
PHP
update the count of engines built-in
168b640d1745061a1530866727c0098dad8ffe20
<ide><path>src/Cache/Cache.php <ide> * In general all Cache operations are supported by all cache engines. <ide> * However, Cache::increment() and Cache::decrement() are not supported by File caching. <ide> * <del> * There are 6 built-in caching engines: <add> * There are 7 built-in caching engines: <ide> * <ide> ...
1
Python
Python
add extra data
8e10f52d7032d38be799752d1a6dc7fc373b3025
<ide><path>libcloud/test/compute/test_openstack.py <ide> def test_ex_list_routers(self): <ide> self.assertEqual(len(routers), 2) <ide> self.assertEqual(router.name, 'router2') <ide> self.assertEqual(router.status, 'ACTIVE') <del> self.assertEqual(router.extra['routes'], []) <add> s...
1
PHP
PHP
make seeder and its run() method abstract
65f69f0ebf1622ae5e0ffb23d8e1ac1e178b03fa
<ide><path>src/Illuminate/Database/Seeder.php <ide> use Illuminate\Console\Command; <ide> use Illuminate\Container\Container; <ide> <del>class Seeder <add>abstract class Seeder <ide> { <ide> /** <ide> * The container instance. <ide> class Seeder <ide> * <ide> * @return void <ide> */ <del> pu...
2
Javascript
Javascript
add all extrude parameters
f04b450af203ecd829516c45ad5cc43b20f9cd96
<ide><path>editor/js/Sidebar.Geometry.ExtrudeGeometry.js <ide> * @author Temdog007 / http://github.com/Temdog007 <ide> */ <ide> <del>Sidebar.Geometry.BoxGeometry = function ( editor, object ) { <add>Sidebar.Geometry.ExtrudeGeometry = function ( editor, object ) { <ide> <ide> var strings = editor.strings; <ide> <i...
2
PHP
PHP
add withquerystring method to paginator
ceba11ef3ce9775b04f8169b30c9aab60d0b6810
<ide><path>src/Illuminate/Pagination/AbstractPaginator.php <ide> namespace Illuminate\Pagination; <ide> <ide> use Closure; <del>use Illuminate\Contracts\Support\Htmlable; <ide> use Illuminate\Support\Arr; <del>use Illuminate\Support\Collection; <ide> use Illuminate\Support\Str; <add>use Illuminate\Support\Collection; ...
2
Python
Python
add init vectors
4925ad760a87d84b7cc4bb2fb48b45845a2e0c30
<ide><path>spacy/cli/init_pipeline.py <ide> import typer <ide> <ide> from .. import util <del>from ..training.initialize import init_nlp <add>from ..training.initialize import init_nlp, convert_vectors <ide> from ._util import init_cli, Arg, Opt, parse_config_overrides, show_validation_error <ide> from ._util import i...
2
Java
Java
fix @autowired+@postconstruct+@configuration issue
2afeb08e3c387715374c81a82074bae4235b5082
<ide><path>org.springframework.beans/src/main/java/org/springframework/beans/factory/config/ConfigurableBeanFactory.java <ide> public interface ConfigurableBeanFactory extends HierarchicalBeanFactory, Single <ide> */ <ide> boolean isFactoryBean(String name) throws NoSuchBeanDefinitionException; <ide> <add> /** <add...
5
Go
Go
use pkg/pidfile for reading and writing pidfile
cea8e9b58353151e4e2fd17341f7b6d2382d0d57
<ide><path>libcontainerd/supervisor/remote_daemon.go <ide> package supervisor // import "github.com/docker/docker/libcontainerd/supervisor" <ide> <ide> import ( <ide> "context" <del> "io" <ide> "os" <ide> "os/exec" <ide> "path/filepath" <ide> "runtime" <del> "strconv" <ide> "strings" <ide> "time" <ide> <ide> ...
1
Javascript
Javascript
remove "derequire" from minified bundles
5c5fc5e3169828607a3ddb8e6b95139d1fd18946
<ide><path>grunt/config/browserify.js <ide> var min = { <ide> standalone: 'React', <ide> transforms: [envify({NODE_ENV: 'production'}), uglifyify], <ide> plugins: [collapser], <del> after: [es3ify.transform, derequire, minify, bannerify] <add> // No need to derequire because the minifier will mangle <add> // t...
1
Text
Text
add sandboxes to the examples in the docs
c1953b04cf48b2973aa8e2197d5b46ec36adbd59
<ide><path>docs/introduction/Examples.md <ide> # Examples <ide> <del>Redux is distributed with a few examples in its [source code](https://github.com/reactjs/redux/tree/master/examples). <add>Redux is distributed with a few examples in its [source code](https://github.com/reactjs/redux/tree/master/examples). Most of t...
1
Python
Python
fix broken namignizer code
fdc0c4ab1b039b6085478b36b5cd3cad038941ec
<ide><path>namignizer/names.py <ide> def namignator(checkpoint_path, config): <ide> print(map(lambda x: chr(x + 96), name)) <ide> <ide> <del>if __name__ == "__main__": <del> # train("data/SmallNames.txt", "model/namignizer", SmallConfig) <add> if __name__ == "__main__": <add> train("data/SmallNames.txt...
1
Javascript
Javascript
remove todo comment
d9ddd7d345213cd2eb7008b55d0b22142664cc90
<ide><path>test/parallel/test-preload.js <ide> var nodeBinary = process.argv[0]; <ide> var preloadOption = function(preloads) { <ide> var option = ''; <ide> preloads.forEach(function(preload, index) { <del> // TODO: randomly pick -r or --require <ide> option += '-r ' + preload + ' '; <ide> }); <ide> retu...
1