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
Go
Go
normalize the log for docker subcommand usage,
2b051bcbda06ec48287e75da506bacf95be2b652
<ide><path>api/client/cli.go <ide> func (cli *DockerCli) Subcmd(name, signature, description string, exitOnError bo <ide> flags := flag.NewFlagSet(name, errorHandling) <ide> flags.Usage = func() { <ide> options := "" <add> if signature != "" { <add> signature = " " + signature <add> } <ide> if flags.FlagCount...
2
Javascript
Javascript
fix polar clock example
540d3ace3e4e4c25ff93c011b62f157684c510ca
<ide><path>examples/clock/clock.js <ide> var width = 960, <ide> <ide> var fill = d3.scale.linear() <ide> .range(["hsl(-180, 50%, 50%)", "hsl(180, 50%, 50%)"]) <del> .interpolate(d3.interpolateHsl); <add> .interpolate(d3.interpolateString); <ide> <ide> var arc = d3.svg.arc() <ide> .startAngle(0)
1
PHP
PHP
fix return value for getrelatedids
6d33dca4bd09829bb0de4b6e3e3f6f067c5579ba
<ide><path>src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php <ide> public function touch() <ide> /** <ide> * Get all of the IDs for the related models. <ide> * <del> * @return array <add> * @return Illuminate\Support\Collection <ide> */ <ide> public function getRelatedIds() <id...
1
Text
Text
fix typo in documentation
aafa091541d8420717265baf5bf403d52e32fde9
<ide><path>.github/contributors/zqianem.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
PHP
PHP
maintain package.json formatting
5ec0641b2945705120a3bc8f84ee7d1713caaf16
<ide><path>src/Illuminate/Foundation/Console/Presets/Preset.php <ide> protected static function updatePackages() <ide> <ide> file_put_contents( <ide> base_path('package.json'), <del> json_encode($packages, JSON_PRETTY_PRINT) <add> preg_replace( <add> '/^( +?)\\...
1
Javascript
Javascript
fix brotli flush range
9c7aa96703a9afe1ff115d95ad5727df90c0b78a
<ide><path>lib/zlib.js <ide> const { <ide> BROTLI_DECODE, BROTLI_ENCODE, <ide> // Brotli operations (~flush levels) <ide> BROTLI_OPERATION_PROCESS, BROTLI_OPERATION_FLUSH, <del> BROTLI_OPERATION_FINISH <add> BROTLI_OPERATION_FINISH, BROTLI_OPERATION_EMIT_METADATA, <ide> } = constants; <ide> <ide> // Translatio...
2
Text
Text
improve assert documentation
c1483bac9496d341dc428105d3c3e4b07600a933
<ide><path>doc/api/assert.md <ide> parameter is undefined, a default error message is assigned. If the `message` <ide> parameter is an instance of an [`Error`][] then it will be thrown instead of the <ide> `AssertionError`. <ide> <del>## assert.doesNotReject(block[, error][, message]) <add>## assert.doesNotReject(asyn...
1
PHP
PHP
add better exception output
d16e720a2421c7534ddd9bc2240a6a1d371d1203
<ide><path>src/Database/Expression/QueryExpression.php <ide> protected function _parseCondition(string $field, $value) <ide> [$expression, $operator] = $parts; <ide> $operator = strtolower(trim($operator)); <ide> } <del> $type = $this->getTypeMap() ->type($expression); <add> ...
1
Javascript
Javascript
avoid boolean coarsion in `computed`
e2f4d058a4e766b49c5917c3f32f951e842c3557
<ide><path>packages/ember-metal/lib/computed.js <ide> function ComputedProperty(config, opts) { <ide> this._meta = undefined; <ide> this._volatile = false; <ide> this._dependentKeys = opts && opts.dependentKeys; <del> this._readOnly = false; <add> this._readOnly = false; <ide> } <ide> <ide> ComputedProperty.p...
1
Java
Java
introduce emptyreactnativeconfig inside java
e6fc9b6f2950a1a55237f242791d0f9131e78284
<ide><path>ReactAndroid/src/main/java/com/facebook/react/fabric/EmptyReactNativeConfig.java <add>/* <add> * Copyright (c) Facebook, Inc. and its affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> */ <add> <add...
3
Ruby
Ruby
remove debug print
542f92935cdc1b23078364e547f923ec180e7efe
<ide><path>activerecord/test/cases/connection_pool_test.rb <ide> def test_disconnect_and_clear_reloadable_connections_are_able_to_preempt_other_w <ide> if failed <ide> second_thread_done.set <ide> <del> puts <del> puts ">>> test_disconnect_and_clear_reloadabl...
1
Python
Python
set version to v2.1.0a7.dev11
1dc314bada02fccf3d6644905eaa0e43ba53cd1b
<ide><path>spacy/about.py <ide> # fmt: off <ide> <ide> __title__ = "spacy-nightly" <del>__version__ = "2.1.0a7.dev10" <add>__version__ = "2.1.0a7.dev11" <ide> __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" <ide> __uri__ = "https://spacy.io" <ide> __author__ = "Explosion AI...
1
Ruby
Ruby
fix buggy tests
5b3b9b0ebcbe35038adaf7b1636032e6f436ed1c
<ide><path>actionpack/test/controller/parameters/parameters_permit_test.rb <ide> class ParametersPermitTest < ActiveSupport::TestCase <ide> assert !@params.slice(:person).permitted? <ide> assert !@params[:person][:name].permitted? <ide> <del> @params.each { |key, value| assert(value.permitted?) if key == :p...
1
Ruby
Ruby
add strip_patch method
61cda1465f6d5db241801f8e5a4ec66453711835
<ide><path>Library/Homebrew/os/mac/version.rb <ide> def <=>(other) <ide> end <ide> end <ide> <add> sig { returns(T.self_type) } <add> def strip_patch <add> # Big Sur is 11.x but Catalina is 10.15.x. <add> if major >= 11 <add> self.class.new(major.to_s) <add> else <...
1
Javascript
Javascript
fix unique node
52836bac07ba318fbed18e918e78012ca6215d6b
<ide><path>examples/js/nodes/TempNode.js <ide> THREE.TempNode.prototype.build = function( builder, output, uuid, ns ) { <ide> <ide> return THREE.GLNode.prototype.build.call( this, builder, output, uuid ); <ide> <add> } else if ( isUnique ) { <add> <add> data.name = data.name || THREE.GLNode.prototype.build.call...
1
Javascript
Javascript
improve asset msg in test
c80d9d6a93ab9f20c150faf11d2e24f695f76501
<ide><path>test/parallel/test-zlib-from-gzip-with-trailing-garbage.js <ide> zlib.gunzip(data, common.mustCall((err, result) => { <ide> assert.strictEqual( <ide> result.toString(), <ide> 'abcdef', <del> 'result should match original string' <add> `result '${result.toString()}' should match original strin...
1
Ruby
Ruby
generate html5 number_field tag for integer fields
4d1752bfb225e6e973375e10f52063060b49e666
<ide><path>railties/lib/rails/generators/generated_attribute.rb <ide> def initialize(name, type) <ide> <ide> def field_type <ide> @field_type ||= case type <del> when :integer, :float, :decimal then :text_field <del> when :time then :time_select <del> when ...
2
Text
Text
update docker inspect part of docs
8d414fd434c55f1d9ac9387e17dd16608fca1bfd
<ide><path>docs/sources/reference/api/docker_remote_api_v1.17.md <ide> Return low-level information on the container `id` <ide> HTTP/1.1 200 OK <ide> Content-Type: application/json <ide> <del> { <del> "Id": "4fa6e0f0c6786287e131c3852c58a2e01cc697a68231826813597e4994f1d6e2", <...
1
Javascript
Javascript
fix lint error
b1047ad3e7a4fb0f3c8a5203e8ec983f97c21f91
<ide><path>node-tests/blueprints/mixin-test.js <ide> const setupTestHooks = blueprintHelpers.setupTestHooks; <ide> const emberNew = blueprintHelpers.emberNew; <ide> const emberGenerateDestroy = blueprintHelpers.emberGenerateDestroy; <ide> const setupPodConfig = blueprintHelpers.setupPodConfig; <del>const EOL = require(...
1
Javascript
Javascript
use global chunkloading option
bbbe300e3a702d234f73009cf3e69bf3cb155bc9
<ide><path>lib/RuntimePlugin.js <ide> class RuntimePlugin { <ide> */ <ide> apply(compiler) { <ide> compiler.hooks.compilation.tap("RuntimePlugin", compilation => { <add> const globalChunkLoading = compilation.outputOptions.chunkLoading; <add> const isChunkLoadingDisabledForChunk = chunk => { <add> const opt...
1
Go
Go
fix bad rebase where bridgeiface was removed
347dc3942704742c1d24983a1e9cb10ae7ab8839
<ide><path>config.go <ide> func DaemonConfigFromJob(job *engine.Job) *DaemonConfig { <ide> EnableIptables: job.GetenvBool("EnableIptables"), <ide> EnableIpForward: job.GetenvBool("EnableIpForward"), <ide> BridgeIP: job.Getenv("BridgeIP"), <add> BridgeIface: ...
1
Javascript
Javascript
allow null, but not undefined state
30f989d50b7368c4fa11c40f529909a196c21c33
<ide><path>src/createDispatcher.js <ide> export default function createDispatcher() { <ide> (store, key) => { <ide> const nextStoreState = store(state[key], action); <ide> invariant( <del> nextStoreState != null, <del> 'State returned by %s is null or undefined.', <add> ...
1
Text
Text
add hint to replacing if else chains with switch
2ab6d429f596ebae6f58b99192291357c861834e
<ide><path>client/src/pages/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/replacing-if-else-chains-with-switch/index.md <del>--- <del>title: Replacing If Else Chains with Switch <del>--- <add> <ide> ## Replacing If Else Chains with Switch <ide> <del>This is a stub. <a href='ht...
1
Go
Go
remove dupl setting of oomscoreadj in oci spec
f0b44881b5d43b18871dee2ecc2bb313046038f6
<ide><path>daemon/oci_linux.go <ide> func (daemon *Daemon) createSpec(c *container.Container) (*specs.Spec, error) { <ide> if err := setResources(&s, c.HostConfig.Resources); err != nil { <ide> return nil, fmt.Errorf("linux runtime spec resources: %v", err) <ide> } <del> s.Process.OOMScoreAdj = &c.HostConfig.OomSco...
1
Javascript
Javascript
target src files from #142
de564326b098583bf4edd95d698d6c97a8e612b3
<ide><path>src/Chart.Core.js <ide> this.ctx = context; <ide> <ide> //Variables global to the chart <add> var computeDimension = function(element,dimension) <add> { <add> if (element['offset'+dimension]) <add> { <add> return element['offset'+dimension]; <add> } <add> else <add> { <add> return docu...
1
Python
Python
fix multiarray from/to-file test under windows
4b76f6253521f5dd7b6cc1be890f2e4cb08f3ac6
<ide><path>numpy/core/tests/test_multiarray.py <ide> def setUp(self): <ide> rand = np.random.random <ide> <ide> self.x = rand(shape) + rand(shape).astype(np.complex)*1j <del> self.dtype = np.complex <add> self.dtype = self.x.dtype <ide> <ide> def test_file(self): <del> # Pytho...
1
Go
Go
add unit test for file deletion
97535e5a6466dcad6ed9767960e869eadf68204f
<ide><path>container_test.go <ide> func TestMultipleAttachRestart(t *testing.T) { <ide> } <ide> } <ide> <add>func TestDiff(t *testing.T) { <add> runtime, err := newTestRuntime() <add> if err != nil { <add> t.Fatal(err) <add> } <add> defer nuke(runtime) <add> <add> // Create a container and remove a file <add> contai...
1
Java
Java
add resolvedresource in resource handling chain
ccb3c44dbcd4ab4741aec7b366ed43efa2f90b44
<ide><path>spring-web-reactive/src/main/java/org/springframework/web/reactive/resource/EncodedResource.java <del>/* <del> * Copyright 2002-2015 the original author or authors. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the ...
16
PHP
PHP
deprecate public properties on serverrequest
fcb3f086d38c0ed4553f15a5fc8ea426d60d5f17
<ide><path>src/Http/ServerRequest.php <ide> class ServerRequest implements ArrayAccess, ServerRequestInterface <ide> * @var array <ide> * @deprecated 3.4.0 This public property will be removed in 4.0.0. Use getParam() instead. <ide> */ <del> public $params = [ <add> protected $params = [ <ide> ...
2
Javascript
Javascript
change var to let
eb30b2c8199f00b711ef1c49b8cde3934836cbaa
<ide><path>lib/internal/readline/utils.js <ide> let isFullWidthCodePoint; <ide> <ide> function CSI(strings, ...args) { <ide> let ret = `${kEscape}[`; <del> for (var n = 0; n < strings.length; n++) { <add> for (let n = 0; n < strings.length; n++) { <ide> ret += strings[n]; <ide> if (n < args.length) <ide> ...
1
Mixed
Text
use class to specify the middleware [ci skip]
70b09eda034766efcd2cac9280d42c7bbaaadff9
<ide><path>guides/source/rails_on_rack.md <ide> Add the following lines to your application configuration: <ide> <ide> ```ruby <ide> # config/application.rb <del>config.middleware.delete "Rack::Lock" <add>config.middleware.delete Rack::Lock <ide> ``` <ide> <ide> And now if you inspect the middleware stack, you'll fin...
2
Ruby
Ruby
update the comments for timewithzone subtraction
018ff582a5aaa58d4bce7d634ecae80d107f8304
<ide><path>activesupport/lib/active_support/time_with_zone.rb <ide> def +(other) <ide> alias_method :since, :+ <ide> alias_method :in, :+ <ide> <del> # Returns a new TimeWithZone object that represents the difference between <del> # the current object's time and the +other+ time. <add> # Subtracts an ...
1
Ruby
Ruby
add spec for `conflicts_with cask`
f89e09b7857e8e3a6f6cd30258aa5927a1ac2872
<ide><path>Library/Homebrew/test/cask/conflicts_with_spec.rb <add>describe "conflicts_with", :cask do <add> describe "conflicts_with cask" do <add> let(:local_caffeine) { <add> Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-caffeine.rb") <add> } <add> <add> let(:with_conflicts_with) { ...
2
Text
Text
add a proposal step for potential maintainers
b59dea67679fefcfe9716b855ef906b377d9993d
<ide><path>CONTRIBUTING.md <ide> For more details see [MAINTAINERS.md](hack/MAINTAINERS.md) <ide> * Step 1: learn the component inside out <ide> * Step 2: make yourself useful by contributing code, bugfixes, support etc. <ide> * Step 3: volunteer on the irc channel (#docker@freenode) <add>* Step 4: propose yourself at ...
1
Text
Text
clarify `uncaughtexception` `origin` for esm
7edb50dec7193163bad25fcce9640a7bc39ba079
<ide><path>doc/api/cli.md <ide> occurs. One of the following modes can be chosen: <ide> set, trigger a warning, and set the process exit code to 1. <ide> * `none`: Silence all warnings. <ide> <add>If a rejection happens during the command line entry point's ES module static <add>loading phase, it will always raise i...
2
Javascript
Javascript
fix a bug in path z-index
d8557e0efe18c887612c61667b749d27625a8bea
<ide><path>d3.chart.js <ide> d3.chart.axis = function() { <ide> var ticks = scale.ticks.apply(scale, tickArguments_), <ide> tickFormat = tickFormat_ || scale.tickFormat.apply(scale, tickArguments_), <ide> tick = g.selectAll("g.tick").data(ticks, String), <del> tickEnter = tick.enter()...
4
Ruby
Ruby
install svn on catalina and newer
dbbc14040d7acc94ca6e40c39ca60b38aa1419b0
<ide><path>Library/Homebrew/extend/os/mac/dependency_collector.rb <ide> class DependencyCollector <ide> <ide> def git_dep_if_needed(tags); end <ide> <del> def subversion_dep_if_needed(tags); end <add> def subversion_dep_if_needed(tags) <add> Dependency.new("subversion", tags) if MacOS.version >= :catalina <add...
2
PHP
PHP
fix bug with routing and dashes
3413503c0a616d4b9e1c1cf550b6b576174d1b9c
<ide><path>src/Illuminate/Routing/Route.php <ide> public function domain() <ide> return array_get($this->action, 'domain'); <ide> } <ide> <add> /** <add> * Get the URI that the route responds to. <add> * <add> * @return string <add> */ <add> public function getUri() <add> { <add> return $this->uri; <add> } <ad...
3
Python
Python
support gpu in ud training script
8bbd26579cad81a8a347ed8c097e389110569312
<ide><path>spacy/cli/ud_train.py <ide> def load_nlp(corpus, config): <ide> nlp.vocab.from_disk(Path(config.vectors) / 'vocab') <ide> return nlp <ide> <del>def initialize_pipeline(nlp, docs, golds, config): <add>def initialize_pipeline(nlp, docs, golds, config, device): <ide> nlp.add_pipe(nlp.create_pip...
1
PHP
PHP
fix failing build
d217a2094cf0cbc9ab1a15aeab7c19533e08178c
<ide><path>tests/Database/DatabaseQueryBuilderTest.php <ide> public function testWhereTimeOperatorOptionalMySql() <ide> $this->assertEquals([0 => '22:00'], $builder->getBindings()); <ide> } <ide> <del> public function testWhereTimePostgres() <del> { <del> $builder = $this->getPostgresBuilder()...
1
Ruby
Ruby
use delegator for a cleaner queuedmessage class
5337149caf28b9d8bfe907584511453044890ebd
<ide><path>actionmailer/lib/action_mailer/async.rb <add>require 'delegate' <add> <ide> module ActionMailer::Async <ide> def self.included(base) <ide> base.extend(ClassMethods) <ide> def method_missing(method_name, *args) <ide> end <ide> end <ide> <del> class QueuedMessage <del> delegate :to_s, :to => :...
1
Ruby
Ruby
add todo for removal of server_addr
52dc8ed28fe998cfd25cc79052de4e08fb5faf3b
<ide><path>actionpack/lib/action_dispatch/http/request.rb <ide> class Request <ide> SERVER_ADDR <ide> ].freeze <ide> <add> # TODO: Remove SERVER_ADDR when we remove support to Rack 2.1. <add> # See https://github.com/rack/rack/commit/c173b188d81ee437b588c1e046a1c9f031dea550 <ide> ENV_METHODS....
1
Javascript
Javascript
fix stat with long paths on windows
a4f4909f3d15dbc02f4742ad168afbe11d6d8dc4
<ide><path>lib/module.js <ide> Module._findPath = function(request, paths) { <ide> // For each path <ide> for (var i = 0, PL = paths.length; i < PL; i++) { <ide> // Don't search further if path doesn't exist <del> if (paths[i] && internalModuleStat(paths[i]) < 1) continue; <add> if (paths[i] && internalMo...
2
PHP
PHP
remove invalid test
21d12eb658f80f4903fda6be0428d9d730dbf4aa
<ide><path>tests/TestCase/Validation/ValidationTest.php <ide> public function testNotAsciiAlphaNumeric() <ide> $this->assertTrue(Validation::notAsciiAlphaNumeric('ÆΔΩЖÇ')); <ide> $this->assertTrue(Validation::notAsciiAlphaNumeric('12 234')); <ide> $this->assertTrue(Validation::notAsciiAlphaNumer...
1
Mixed
Go
move cgroupnsmode feature to api v1.41
7bacd1d6dc890c209cd76e9a22fc7baab003aab1
<ide><path>api/server/router/container/container_routes.go <ide> func (s *containerRouter) postContainersCreate(ctx context.Context, w http.Respo <ide> if hostConfig.IpcMode.IsEmpty() { <ide> hostConfig.IpcMode = container.IpcMode("shareable") <ide> } <del> <add> } <add> if hostConfig != nil && versions.LessThan...
2
Javascript
Javascript
remove duplicated buffer negative allocation test
6f6f6d4087ed2a60b6a443151dc75c76812a8d80
<ide><path>test/parallel/test-buffer-negative-length.js <del>'use strict'; <del> <del>const common = require('../common'); <del>const assert = require('assert'); <del>const SlowBuffer = require('buffer').SlowBuffer; <del> <del>const bufferNegativeMsg = common.expectsError({ <del> code: 'ERR_INVALID_OPT_VALUE', <del> ...
2
Javascript
Javascript
explain wondrous mathematics
3f265835d884f609b71ab39658bdb2241f94d500
<ide><path>src/geo/area.js <ide> function d3_geo_areaRingStart() { <ide> // If the previous point is at the north pole, then compute lune area. <ide> if (Math.abs(φ0 - π / 2) < ε) d3_geo_areaRing += (λ - λ1) * 2; <ide> <del> // TODO Explain this wonderous mathematics. <add> // Area of spherical triangle ...
1
PHP
PHP
support mixed target data in data_get
2286d156388ac57b7de8824ade3676298626aaf6
<ide><path>src/Illuminate/Support/helpers.php <ide> function csrf_token() <ide> * @param string $key <ide> * @param mixed $default <ide> * @return mixed <del> * <del> * @throws \InvalidArgumentException <ide> */ <ide> function data_get($target, $key, $default = null) <ide> { <del> if (is_array($target...
2
Javascript
Javascript
update gulp lint task
8087db11f0f2b83f47c8e28f4fcf8ac3d0907f39
<ide><path>gulpfile.js <ide> gulp.task('sync', syncDepenedents, function() { <ide> }); <ide> <ide> gulp.task('lint-js', function() { <del> return gulp.src(['public/js/lib/**/*']) <add> return gulp.src([ <add> 'common/**/*.js', <add> 'common/**/*.jsx', <add> 'client/**/*.js', <add> 'client/**/*.jsx', <add...
1
Ruby
Ruby
skip image analysis on imagemagick error
165785e8cf43456816c8152ca4295640b21d1765
<ide><path>activestorage/lib/active_storage/analyzer/image_analyzer.rb <ide> def read_image <ide> rescue LoadError <ide> logger.info "Skipping image analysis because the mini_magick gem isn't installed" <ide> {} <add> rescue MiniMagick::Error => error <add> logger.error "Skipping image...
1
Ruby
Ruby
remove useless parameter
cab85e9926c62094d1bada4437b6d1b6bc51e5e8
<ide><path>actionview/lib/action_view/template.rb <ide> def compile!(view) #:nodoc: <ide> end <ide> <ide> instrument("!compile_template") do <del> compile(view, mod) <add> compile(mod) <ide> end <ide> <ide> # Just discard the source if we have a virtual pa...
1
Python
Python
fix yosoconfig doc
4df69506a8250d4bd298d457090b321b26b0c77f
<ide><path>src/transformers/models/yoso/configuration_yoso.py <ide> class YosoConfig(PretrainedConfig): <ide> The epsilon used by the layer normalization layers. <ide> position_embedding_type (`str`, *optional*, defaults to `"absolute"`): <ide> Type of position embedding. Choose one of `...
1
PHP
PHP
apply fixes from styleci
198eea4c6cf86f2073ea9366b1bf4453aa7979c2
<ide><path>src/Illuminate/Http/Client/Factory.php <ide> public function assertSentInOrder($callbacks) <ide> $this->assertSentCount(count($callbacks)); <ide> <ide> foreach ($callbacks as $index => $url) { <del> $callback = is_callable($url) ? $url : function($request) use ($url) { <add> ...
2
Text
Text
add a note about how to turn pagination off
23460bfa41f9dedbdd448c921618a6ed244a0f3b
<ide><path>docs/api-guide/pagination.md <ide> The built-in styles currently all use links included as part of the content of t <ide> <ide> Pagination is only performed automatically if you're using the generic views or viewsets. If you're using a regular `APIView`, you'll need to call into the pagination API yourself ...
1
PHP
PHP
resolve the authenticated user out of the ioc
89de045a17eec307837c351eaa58922cac1b3db8
<ide><path>src/Illuminate/Auth/AuthServiceProvider.php <ide> class AuthServiceProvider extends ServiceProvider { <ide> */ <ide> public function register() <ide> { <add> $this->registerUserResolver(); <add> <ide> $this->app->bindShared('auth', function($app) <ide> { <ide> // Once the authentication service h...
1
Javascript
Javascript
move stream test to parallel
110c25d5ac9cb7af2c4b589de853ce42f5e13b7a
<add><path>test/parallel/test-stream-writable-clear-buffer.js <del><path>test/sequential/test-stream-writable-clear-buffer.js <ide> class StreamWritable extends Stream.Writable { <ide> // Refs: https://github.com/nodejs/node/issues/6758 <ide> // We need a timer like on the original issue thread. <ide> // Otherwis...
1
Python
Python
handle none default args in cython methods
dba26186efa4eb437e0f4f50d8dba395027164ec
<ide><path>spacy/schemas.py <ide> <ide> from .attrs import NAMES <ide> from .lookups import Lookups <add>from .util import is_cython_func <ide> <ide> if TYPE_CHECKING: <ide> # This lets us add type hints for mypy etc. without causing circular imports <ide> def get_arg_model( <ide> continue <ide> ...
2
Ruby
Ruby
remove odd spaces [ci skip]
50d1e00625091bf7f4c84afbdabb9006402a94ea
<ide><path>activesupport/lib/active_support/core_ext/hash/slice.rb <ide> def slice(*keys) <ide> # Returns a hash containing the removed key/value pairs. <ide> # <ide> # hash = { a: 1, b: 2, c: 3, d: 4 } <del> # hash.slice!(:a, :b) # => {:c=>3, :d=>4 } <del> # hash # => {:a=>1, :b=>2 } <ad...
1
Python
Python
improve description, add more notes
5e65b7c77461ac749a79377448ec70204e648392
<ide><path>numpy/core/shape_base.py <ide> def walk(self, x, index=()): <ide> <ide> def block(arrays): <ide> """ <del> Assemble an array from nested lists of blocks. <add> Assemble an nd-array from nested lists of blocks. <ide> <del> You can create a 2-D blocked array with the same notation you use for <d...
1
Python
Python
fix tokenizers serialization
7044ed6b059c7305b0a1ab8576c775829afd9226
<ide><path>pytorch_transformers/tests/tokenization_dilbert_test.py <ide> class DistilBertTokenizationTest(BertTokenizationTest): <ide> <ide> tokenizer_class = DistilBertTokenizer <ide> <del> def get_tokenizer(self): <del> return DistilBertTokenizer.from_pretrained(self.tmpdirname) <add> def get_token...
4
Javascript
Javascript
use console directly instead of warning() modules
0cf22a56a18790ef34c71bef14f64695c0498619
<ide><path>.eslintrc.js <ide> module.exports = { <ide> 'comma-dangle': [ERROR, 'always-multiline'], <ide> 'consistent-return': OFF, <ide> 'dot-location': [ERROR, 'property'], <del> 'dot-notation': ERROR, <add> // We use console['error']() as a signal to not transform it: <add> 'dot-notation': [ERRO...
102
PHP
PHP
move comment to appropriate location
0b9dd1fec3417d778aba2bcaff4436ca1fc7c754
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> protected function ungroupedPaginate($paginator, $perPage, $columns) <ide> */ <ide> public function getPaginationCount() <ide> { <add> // Because some database engines may throw errors if we leave the ordering <add> // statements on the query, we will "ba...
1
Ruby
Ruby
use before_setup to set up test instance variables
fa63448420d3385dbd043aca22dba973b45b8bb2
<ide><path>actionpack/lib/action_dispatch/testing/integration.rb <ide> module Runner <ide> <ide> APP_SESSIONS = {} <ide> <del> def app <del> @app ||= nil <add> attr_reader :app, :integration_session <add> <add> def before_setup <add> super <add> @app = nil <add> @integ...
1
Ruby
Ruby
fix dependent order bug
888c44b238b6a5afa705ca46f6a682ac1c4bb729
<ide><path>Library/Homebrew/cmd/uninstall.rb <ide> def uninstall <ide> <ide> if !ARGV.force? <ide> ARGV.kegs.each do |keg| <del> dependents = keg.installed_dependents <add> dependents = keg.installed_dependents - ARGV.kegs <ide> if dependents.any? <ide> dependents_output = dep...
2
Ruby
Ruby
add hash support
77f2d01739ba6738697bd834e6965023ae36eff6
<ide><path>Library/Homebrew/extend/os/mac/software_spec.rb <ide> <ide> class SoftwareSpec <ide> def uses_from_macos(deps, **args) <add> if deps.is_a?(Hash) <add> args = deps <add> deps = Hash[*args.shift] <add> end <add> <ide> depends_on(deps) if add_mac_dependency?(args) <ide> end <ide> <ide>...
1
Javascript
Javascript
clarify ngmessages docs with clearer example
68f528aa04290609422c0d73eeef2c27c8f9a8f6
<ide><path>src/ngMessages/messages.js <ide> var jqLite = angular.element; <ide> * `ngMessage` and `ngMessageExp` directives. <ide> * <ide> * # Usage <del> * The `ngMessages` directive listens on a key/value collection which is set on the ngMessages attribute. <del> * Since the {@link ngModel ngModel} directive expos...
1
PHP
PHP
fix code style 6
587668fcf51a329fa6618a97cbb80bce2a855e10
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> public function qualifyColumns($columns) <ide> <ide> foreach ($columns as $column) { <ide> $qualifiedArray[] = $this->qualifyColumn($column); <del> } <del> <add> } <add> <ide> return $qualifiedArray; <ide> ...
1
Javascript
Javascript
fix jquery.httpdata to allow forcing of text data
05a4b784e892ea0dd56201fa1b7a77c7a453bfa7
<ide><path>ajax/ajax.js <ide> jQuery.httpSuccess = function(r) { <ide> r.status == 304 ) || !r.status && location.protocol == "file:"; <ide> }; <ide> <del>// Get the data out of an XMLHttpRequest <add>// Get the data out of an XMLHttpRequest. <add>// Return parsed XML if content-type header is "xml" and type is "xml...
1
Javascript
Javascript
use the new branch name
fc62398d62b950c6d84f5a6836a5e781a868d9f7
<ide><path>src/git-repository-async.js <ide> export default class GitRepositoryAsync { <ide> refreshStatus () { <ide> const status = this._refreshStatus() <ide> const branch = this._refreshBranch() <del> const aheadBehind = branch.then(branchName => this._refreshAheadBehindCount(branchName)) <add> const...
1
PHP
PHP
fix $depth being decremented by 2
0a182b918f2c3c61b6f0e8dc3c79bdaf0223c842
<ide><path>lib/Cake/Test/Case/Utility/DebuggerTest.php <ide> public function testExportVar() { <ide> (int) 1 => 'Index one', <ide> (int) 5 => 'Index five' <ide> ) <add>TEXT; <add> $this->assertTextEquals($expected, $result); <add> <add> $data = array( <add> 'key' => array( <add> 'value' <add> ) <add> ); <ad...
2
Text
Text
add trace category for fs sync methods
852c4592b14db61f87b3d6b8a8f8588fee09df75
<ide><path>doc/api/tracing.md <ide> The available categories are: <ide> measures and marks. <ide> * `node.perf.timerify` - Enables capture of only Performance API timerify <ide> measurements. <add>* `node.fs.sync` - Enables capture of trace data for file system sync methods. <ide> * `v8` - The [V8] events are...
1
Javascript
Javascript
remove unreachable code
26f8af9feba624c418be1ec270c8de30bf6ee512
<ide><path>lib/internal/console/constructor.js <ide> const consoleMethods = { <ide> values.push(inspect(v)); <ide> length++; <ide> } <del> return final([setlike ? iterKey : indexKey, valuesKey], [ <del> getIndexArray(length), <del> values, <del> ]); <add> return final(...
1
PHP
PHP
allow setting editor for whoops
71372121752d49d47d9c0407943cfe0092c11cf0
<ide><path>src/Illuminate/Foundation/Exceptions/Handler.php <ide> protected function whoopsHandler() <ide> } <ide> } <ide> <add> if (config('app.debug_editor', false)) { <add> $handler->setEditor(config('app.debug_editor'); <add> } <add> <ide> ...
1
Java
Java
update javadoc of flatmap() overloads
7494a2c05cf2f02142fc3193682141826974661a
<ide><path>src/main/java/io/reactivex/Flowable.java <ide> public final Single<T> firstOrError() { <ide> * <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/flatMap.png" alt=""> <ide> * <dl> <ide> * <dt><b>Backpressure:</b></dt> <del> * <dd>The opera...
1
PHP
PHP
update servershell to use provided documentroot
cfa260d8c57b80c4dc262d0801f7fdcfc79d2912
<ide><path>lib/Cake/Console/Command/ServerShell.php <ide> public function main() { <ide> $this->_host, <ide> $this->_port, <ide> $this->_documentRoot, <del> WWW_ROOT . '/index.php' <add> $this->_documentRoot . '/index.php' <ide> ); <ide> <ide> $port = ($this->_port == self::DEFAULT_PORT) ? '' : ':' . ...
1
Python
Python
enable fanout_patterns for redis config template
5ecc16f070c31f1e1fc90ac248c5405ad3a0a662
<ide><path>funtests/stress/stress/templates.py <ide> class redis(default): <ide> CELERY_RESULT_BACKEND = os.environ.get( <ide> 'CSTRESS_BACKEND', 'redis://?new_join=1', <ide> ) <del> BROKER_TRANSPORT_OPTIONS = {'fanout_prefix': True} <add> BROKER_TRANSPORT_OPTIONS = { <add> 'fanout_prefix':...
1
Text
Text
fix a typo in project/goverance.md
25dbeab78e578681a05a707f6b3c97b0d1517caf
<ide><path>project/GOVERNANCE.md <ide> the same steps: <ide> * **Step 3**: Maintainers merge, close or reject the pull request. <ide> <ide> Pull requests are reviewed by the current maintainers of the moby/moby <del>repository. Weekly meetings are organized to are organized to synchronously <add>repository. Weekly me...
1
Text
Text
add content to stub
ca1a7e1b774c61a0f4b8ea1c28369586712ce35f
<ide><path>guide/english/mathematics/subtracting-fractions/index.md <ide> title: Subtracting Fractions <ide> --- <ide> ## Subtracting Fractions <ide> <del>This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/subtracting-fractions/index.md' target='_blank' rel='nofollow'>Hel...
1
Ruby
Ruby
remove another invalid xml character
fffba3dc7d9bdab6bbce5bed6a096e284fd78fd5
<ide><path>Library/Homebrew/cmd/test-bot.rb <ide> def test_bot <ide> <ide> if step.has_output? <ide> # Remove invalid XML CData characters from step output. <del> output = step.output.delete("\000\a\b\e\f") <add> output = step.output.delete("\000\a\b\e\f\x1f") <ide> <ide> ...
1
Python
Python
fix additional issue
59ab502b4c3ef1c83fc716027e6b452cb9cd6280
<ide><path>celery/backends/base.py <ide> def fallback_chord_unlock(self, group_id, body, result=None, <ide> <ide> def apply_chord(self, header, partial_args, group_id, body, <ide> options={}, **kwargs): <del> result = header(*partial_args, task_id=group_id, **options or {}) <add> ...
1
Javascript
Javascript
remove fix for object element
33be48acfdc2059368c3c8d171a1ddb94a3c9be9
<ide><path>src/manipulation.js <ide> function fixCloneNodeIssues( src, dest ) { <ide> <ide> nodeName = dest.nodeName.toLowerCase(); <ide> <del> if ( nodeName === "object" ) { <del> if ( dest.parentNode ) { <del> dest.outerHTML = src.outerHTML; <del> } <del> <del> // Support: IE 9 <del> // When cloning an objec...
1
Python
Python
add kyrgyz to char_classes
fe3b5b8ff596117d39a9143f8d076a601e8016db
<ide><path>spacy/lang/char_classes.py <ide> _tatar_upper = r"ӘӨҮҖҢҺ" <ide> _tatar = r"әөүҗңһӘӨҮҖҢҺ" <ide> <add>_kyrgyz_lower = r"өңү" <add>_kyrgyz_upper = r"ӨҢҮ" <add>_kyrgyz = r"өңүӨҢҮ" <add> <ide> _greek_lower = r"α-ωάέίόώήύ" <ide> _greek_upper = r"Α-ΩΆΈΊΌΏΉΎ" <ide> _greek = r"α-ωάέίόώήύΑ-ΩΆΈΊΌΏΉΎ" <ide> _macedonian...
1
Go
Go
use utils.go to get error from monitor
c2b602b2ac7b5b3a67dbb7945e97a9f48b1a625e
<ide><path>container.go <ide> func (container *Container) Start() (err error) { <ide> <ide> // We use a callback here instead of a goroutine and an chan for <ide> // syncronization purposes <del> go container.monitor(callback) <add> cErr := utils.Go(func() error { return container.monitor(callback) }) <ide> <ide> ...
1
Ruby
Ruby
add test for fetch with a block
b2debfb005cc6d0661b24c50983a885509f7f9c9
<ide><path>actionpack/lib/action_dispatch/http/headers.rb <ide> def []=(k,v); @headers[k] = v; end <ide> def key?(k); @headers.key? k; end <ide> alias :include? :key? <ide> <del> def fetch(header_name, default=nil, &block) <del> @headers.fetch env_name(header_name), default, &block <add> d...
2
Python
Python
describe default in docstring
bd41739886382ec53e02045cba8a1dc2ab4dfc86
<ide><path>numpy/lib/arraysetops.py <ide> def in1d(ar1, ar2, assume_unique=False, invert=False, method='auto'): <ide> to (but is faster than) ``np.invert(in1d(a, b))``. <ide> method : {'auto', 'sort', 'dictionary'}, optional <ide> The algorithm to use. This will not affect the final result, <del> ...
1
Ruby
Ruby
handle some todos and deprecations
99f960a3d73b62a957988bbee0906264f35afc2e
<ide><path>actionmailer/lib/action_mailer/adv_attr_accessor.rb <ide> module ActionMailer <ide> module AdvAttrAccessor #:nodoc: <ide> def adv_attr_accessor(*names) <del> <del> # TODO: ActiveSupport::Deprecation.warn() <ide> names.each do |name| <ide> ivar = "@#{name}" <ide> <ide><path>act...
6
Python
Python
quarantine a flaky test
92ba9ee03cb7a47ac7ee5993056816efebd20902
<ide><path>tests/jobs/test_local_task_job.py <ide> def task_function(ti): <ide> (signal.SIGKILL,), <ide> ] <ide> ) <add> @pytest.mark.quarantined <ide> def test_process_kill_calls_on_failure_callback(self, signal_type): <ide> """ <ide> Test that ensures that when a task is...
1
Mixed
Text
add changelog entry for
9647d4b6f4483f4fc88775020f125c61634192fd
<ide><path>activemodel/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Fix `validates_presence_of` with `:allow_nil` or `:allow_blank` options. <add> Fixes #8621. <add> <add> *Colin Kelley and Rafael Mendonça França* <add> <ide> * Add `ActiveModel::Validations::AbsenceValidator`, a validator t...
2
Javascript
Javascript
fix ga id
5613630567b82da517fbe30609d0ab05700453e8
<ide><path>website/docusaurus.config.js <ide> module.exports = { <ide> algoliaOptions: {} <ide> }, <ide> googleAnalytics: { <del> trackingID: 'UA-130598673-3' <add> trackingID: 'UA-130598673-1' <ide> } <ide> }, <ide> presets: [
1
Java
Java
add gethandler in reactive abstracthandlermapping
1f6f0dc101fb425bd63786ef669b0626a6591543
<ide><path>spring-web-reactive/src/main/java/org/springframework/web/reactive/config/WebReactiveConfiguration.java <ide> protected void configureViewResolvers(ViewResolverRegistry registry) { <ide> private static final class EmptyHandlerMapping extends AbstractHandlerMapping { <ide> <ide> @Override <del> public Mo...
4
Ruby
Ruby
ignore schema queries in some habtm tests
b5c4c50aa9f93a5602b895a9931ad529cccf2048
<ide><path>activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb <ide> def test_habtm_collection_size_from_params <ide> <ide> def test_build <ide> devel = Developer.find(1) <del> proj = assert_no_queries { devel.projects.build("name" => "Projekt") } <add> proj = assert_no_querie...
1
PHP
PHP
add missing parameter annotations
de941f5a16500a2af1cfa521a35dbfc29d29681f
<ide><path>tests/TestCase/Collection/CollectionTest.php <ide> public function testLastWithTraversableNonIterator() <ide> * Tests the takeLast() method <ide> * <ide> * @dataProvider simpleProvider <add> * @param array $data The data to test with. <ide> * @return void <ide> * @covers ::takeLa...
1
Ruby
Ruby
remove unused block
35870148b6b71b5b77c90fbbd1ac66b5882121f1
<ide><path>activerecord/lib/active_record/database_configurations.rb <ide> def initialize(configurations = {}) <ide> # the returned list. Most of the time we're only iterating over the write <ide> # connection (i.e. migrations don't need to run for the write and read connection). <ide> # Defaults to +false+...
1
Text
Text
use better terminology for build machines
8f5040771475ca5435b6cb78ab2ebce7447afcc1
<ide><path>doc/changelogs/CHANGELOG_IOJS.md <ide> will be removed at a later point. (Roman Reiss) [#1363](https://github.com/nodej <ide> <ide> ### Notable changes <ide> <del>* **tls**: A typo introduced in the TLSWrap changes in [#840](https://github.com/nodejs/node/pull/840) only encountered as a bug on Windows was ...
2
Python
Python
implement rat in maze algorithm.
23dae9ceabfd8135598b67ca89dc8f199879d88d
<ide><path>backtracking/rat_in_maze.py <add>def solve_maze(maze: list) -> bool: <add> """ <add> This method solves rat in maze algorithm. <add> In this problem we have n by n matrix and we have start point and end point <add> we want to go from source to distination. In this matrix 0 are block paths <add> ...
1
PHP
PHP
add missing classregistry import
5c590aad0923567f8b40f8a90bfe016477f1b9e8
<ide><path>lib/Cake/Model/Datasource/Session/DatabaseSession.php <ide> */ <ide> <ide> App::uses('CakeSessionHandlerInterface', 'Model/Datasource/Session'); <add>App::uses('ClassRegistry', 'Utility'); <ide> <ide> /** <ide> * DatabaseSession provides methods to be used with CakeSession. <ide><path>lib/Cake/View/Helpe...
2
Python
Python
fix comments in min and ptp
424d84bf6b18be1279d0bb3efefc33e637aad79b
<ide><path>numpy/ma/core.py <ide> def min(obj, axis=None, out=None, fill_value=None): <ide> try: <ide> return obj.min(axis=axis, fill_value=fill_value, out=out) <ide> except (AttributeError, TypeError): <del> # If obj doesn't have a max method, <add> # If obj doesn't have a min method, <id...
1
Javascript
Javascript
add missing semicolon in md2loader
bfa24378d6418af7c49e519383788f9194c73875
<ide><path>examples/js/loaders/MD2Loader.js <ide> THREE.MD2Loader.prototype = { <ide> <ide> } )() <ide> <del>} <add>};
1
Ruby
Ruby
avoid ajv@6.9.0 for now
7942d675b8e63de154cfcd67cde2db5fcba880c7
<ide><path>railties/test/isolation/abstract_unit.rb <ide> class ActiveSupport::TestCase <ide> Dir.chdir(app_template_path) { `yarn add webpack@4.17.1 --tilde` } <ide> Dir.chdir(app_template_path) { `yarn add webpack-cli` } <ide> <add> # FIXME: Temporary fix for webpack + ajv@6.9.0 compatible issue. <add> # ...
1
Mixed
Ruby
touch parent model when an attachment is purged
396b43a99d436d87c409a1260d55141716ab7cd3
<ide><path>activestorage/CHANGELOG.md <add>* Touch parent model when an attachment is purged. <add> <add> *Víctor Pérez Rodríguez* <add> <ide> * Files can now be served by proxying them from the underlying storage service <ide> instead of redirecting to a signed service URL. Use the <ide> `rails_storage_...
5