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
PHP
PHP
fix multiple methods on routes command
114d33dd940ccea8cbacbc400409a9b9b5bef131
<ide><path>src/Illuminate/Foundation/Console/RoutesCommand.php <ide> protected function getRoutes() <ide> */ <ide> protected function getRouteInformation(Route $route) <ide> { <del> $uri = head($route->methods()).' '.$route->uri(); <add> $uri = implode('|', $route->methods()).' '.$route->uri(); <ide> <ide> ret...
1
Go
Go
add godoc comment about client tls verification
4e2c0f385c3032b0b15105c81b18e3981e6e40ad
<ide><path>api/client/lib/client.go <ide> type Client struct { <ide> // Use DOCKER_HOST to set the url to the docker server. <ide> // Use DOCKER_API_VERSION to set the version of the API to reach, leave empty for latest. <ide> // Use DOCKER_CERT_PATH to load the tls certificates from. <add>// Use DOCKER_TLS_VERIFY to e...
1
Ruby
Ruby
fix tests with ruby 3
a09b04e63720022c5de12b200ea2ce975b3f88f9
<ide><path>actionpack/test/dispatch/request_id_test.rb <ide> <ide> class RequestIdTest < ActiveSupport::TestCase <ide> test "passing on the request id from the outside" do <del> assert_equal "external-uu-rid", stub_request("HTTP_X_REQUEST_ID" => "external-uu-rid").request_id <add> assert_equal "external-uu-rid...
1
Mixed
Ruby
allow list explicit list of allowed properties
795b1c654a908dee6ecf64b9bf49f2320a734506
<ide><path>activerecord/lib/active_record/encryption/encryptable_record.rb <ide> def build_previous_types(previous_config_list, type) <ide> previous_config_list = [previous_config_list] unless previous_config_list.is_a?(Array) <ide> previous_config_list.collect do |previous_config| <ide> ...
2
Text
Text
fix typo in readme.md
21e258d7328e56fd451e6ed0324cff094ec70798
<ide><path>daemon/graphdriver/devmapper/README.md <ide> stored in the `$graph/devicemapper/json` file (encoded as Json). <ide> <ide> In order to support multiple devicemapper graphs on a system the thin <ide> pool will be named something like: `docker-0:33-19478248-pool`, where <del>the `0:30` part is the minor/major ...
1
PHP
PHP
prependkeyswith helper
ffa6cca4285f87cf19b6dbc9986fb73fca04abd6
<ide><path>src/Illuminate/Collections/Arr.php <ide> public static function keyBy($array, $keyBy) <ide> return Collection::make($array)->keyBy($keyBy)->all(); <ide> } <ide> <add> /** <add> * Prepend the key names of an associative array. <add> * <add> * @param array $array <add> * @para...
2
Javascript
Javascript
fix hot test cases for async-node
2b964c62d1290b5c5cc90bb1385c98e1d6e7eaa3
<ide><path>test/hotCases/conditional-runtime/accept-conditional/index.js <ide> it("should create a conditional import when accepted", done => { <ide> if (Math.random() < 0) new Worker(new URL("worker.js", import.meta.url)); <ide> import("./module") <del> .then(module => module.test(done)) <add> .then(module => <add...
2
PHP
PHP
add extra test for overriding relationship
fbd80a587323fabab67adffea8e6851065a3a7d7
<ide><path>tests/Integration/Database/EloquentRelationshipsTest.php <ide> <ide> namespace Illuminate\Tests\Integration\Database\EloquentRelationshipsTest; <ide> <add>use Illuminate\Database\Eloquent\Relations\HasOneThrough; <ide> use Orchestra\Testbench\TestCase; <ide> use Illuminate\Database\Eloquent\Model; <ide> us...
1
PHP
PHP
check type of token as well
ba0cf2a1c9280e99d39aad5d4d686d554941eea1
<ide><path>app/filters.php <ide> <ide> Route::filter('csrf', function() <ide> { <del> if (Session::token() != Input::get('_token')) <add> if (Session::token() !== Input::get('_token')) <ide> { <ide> throw new Illuminate\Session\TokenMismatchException; <ide> }
1
Python
Python
move matrix tests in lib to matrixlib
1394d0a723832d22ca749e402975786c7707fe02
<ide><path>numpy/lib/polynomial.py <ide> def poly(seq_of_zeros): <ide> >>> np.poly(P) <ide> array([ 1. , 0. , 0.16666667]) <ide> <del> Or a square matrix object: <del> <del> >>> np.poly(np.matrix(P)) <del> array([ 1. , 0. , 0.16666667]) <del> <ide> Note how in all c...
8
PHP
PHP
shorten a few lines
ac6aec3e5e78fd99ac992991e9e924da72a977bc
<ide><path>src/Illuminate/Mail/Mailer.php <ide> public function queue($view, array $data, $callback, $queue = null) <ide> { <ide> $callback = $this->buildQueueCallable($callback); <ide> <del> return $this->queue->push('mailer@handleQueuedMessage', compact('view', 'data', 'callback'), $queue); <add> ...
1
Javascript
Javascript
use average bias while grouping arrays
b97b003c352cf9da5885ac0a5516fee0a767f134
<ide><path>lib/internal/util/inspect.js <ide> function groupArrayElements(ctx, output, value) { <ide> (totalLength / actualMax > 5 || maxLength <= 6)) { <ide> <ide> const approxCharHeights = 2.5; <del> const biasedMax = Math.max(actualMax - 4, 1); <add> const averageBias = Math.sqrt(actualMax - totalLe...
2
Ruby
Ruby
permit license groups
f1e06b865a0eabaf938a2f1026853642db253e5d
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def audit_formula_name <ide> openssl@1.1 <ide> ].freeze <ide> <add> PERMITTED_LICENSE_MISMATCHES = { <add> "AGPL-3.0" => ["AGPL-3.0-only", "AGPL-3.0-or-later"], <add> "GPL-2.0" => ["GPL-2.0-only", "GPL-2.0-or-later"], <add> "GPL-3.0" => ...
2
Ruby
Ruby
support schemas in postgresql `enum_types`
3ac1d8fe272c8983ba5faf6775fc5112fb86729b
<ide><path>activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb <ide> def enum_types <ide> SELECT <ide> type.typname AS name, <ide> type.OID AS oid, <add> n.nspname AS schema, <ide> string_agg(enum.enumlabel, ',' ORDER BY enum.enumsortorder) A...
4
Text
Text
add basic documentation for whatwg url api
4757ddcce10af04e87fe5bbb470880c266e0baba
<ide><path>doc/api/url.md <ide> properties of URL objects: <ide> For example, the ASCII space character (`' '`) is encoded as `%20`. The ASCII <ide> forward slash (`/`) character is encoded as `%3C`. <ide> <add>## The WHATWG URL API <add> <add>> Stability: 1 - Experimental <add> <add>The `url` module provides an *expe...
1
PHP
PHP
update docblock for h()
27537e55c32503957e67d0f5098ec8e44823a645
<ide><path>src/Core/functions.php <ide> /** <ide> * Convenience method for htmlspecialchars. <ide> * <del> * @param string|array|object $text Text to wrap through htmlspecialchars. Also works with arrays, and objects. <add> * @param mixed $text Text to wrap through htmlspecialchars. Also works wit...
2
Ruby
Ruby
assert the return value in the test
8a0086609915bc666d08ff416717950da1b6b8da
<ide><path>activerecord/test/cases/associations/has_many_through_associations_test.rb <ide> def test_has_many_through_obeys_order_on_through_association <ide> end <ide> <ide> def test_has_many_through_with_includes_in_through_association_scope <del> posts(:welcome).author_address_extra_with_address.to_a <add> ...
1
Text
Text
add v4.4.0 to changelog
d723329ee9ee2dc278ead43f2302ef01b0aa8e9e
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>## v3.28.9 (April 19, 2022) <del> <del>- [#20028](https://github.com/emberjs/ember.js/pull/20028) Fix a memory leak in the Router Service class <del> <del>### v4.4.0-beta.1 (March 24, 2022) <add>### v4.4.0 (May 2, 2022) <ide> <ide> - [#19882](https://github.c...
1
Python
Python
map textfield max_length to charfield
a1dad503cfe637e9575168f74782eca654dbb041
<ide><path>rest_framework/utils/field_mapping.py <ide> def get_field_kwargs(field_name, model_field): <ide> # Ensure that max_length is passed explicitly as a keyword arg, <ide> # rather than as a validator. <ide> max_length = getattr(model_field, 'max_length', None) <del> if max_length is not None and i...
2
Javascript
Javascript
move component invocation test into ember-htmlbars
0ee52696fce0407bd73d34dd51e5813c1b0085f5
<add><path>packages/ember-htmlbars/tests/integration/component_invocation_test.js <del><path>packages/ember-handlebars/tests/views/component_test.js <ide> import Container from 'container/container'; <ide> import run from "ember-metal/run_loop"; <ide> import jQuery from "ember-views/system/jquery"; <ide> import EmberHa...
1
Ruby
Ruby
extract heartbeat class to perform periodical ping
786bbbb0ee1de0f2c8c9be517b8d5c93f95421d4
<ide><path>lib/action_cable/connection.rb <ide> module ActionCable <ide> module Connection <ide> autoload :Base, 'action_cable/connection/base' <add> autoload :Heartbeat, 'action_cable/connection/heartbeat' <ide> autoload :Identification, 'action_cable/connection/identification' <ide> autoload :Interna...
3
Go
Go
remove the options of cmdattach
9442d6b349295818d9a0ddecc10ca19019ead935
<ide><path>commands.go <ide> func (srv *Server) CmdLogs(stdin io.ReadCloser, stdout io.Writer, args ...string <ide> } <ide> <ide> func (srv *Server) CmdAttach(stdin io.ReadCloser, stdout io.Writer, args ...string) error { <del> cmd := rcli.Subcmd(stdout, "attach", "[OPTIONS]", "Attach to a running container") <del> fl...
1
Python
Python
bugfix iscoroutinefunction with python3.7
6d5ccdefe29292974d0bb8e1d80dcd1a06f28368
<ide><path>src/flask/app.py <add>import functools <add>import inspect <ide> import os <ide> import sys <ide> import weakref <ide> from datetime import timedelta <del>from inspect import iscoroutinefunction <ide> from itertools import chain <ide> from threading import Lock <ide> <ide> from .wrappers import Response <id...
1
Ruby
Ruby
use odie instead of bare exception
d8c2e311ab03eb43dee91240aaea9eb09faa3b14
<ide><path>Library/Homebrew/extend/os/linux/parser.rb <ide> def validate_options <ide> return unless @args.respond_to?(:cask?) <ide> return unless @args.cask? <ide> <del> # NOTE: We don't raise a UsageError here because <del> # we don't want to print the help page. <del> raise "Inv...
2
PHP
PHP
adjust test since we do not spam our users anymore
c500f07b26be17c849f3c59a333dc60b72045fc6
<ide><path>tests/TestCase/Console/CommandRunnerTest.php <ide> public function testRunValidCommand() <ide> <ide> $contents = implode("\n", $output->messages()); <ide> $this->assertContains('URI template', $contents); <del> $this->assertContains('Welcome to CakePHP', $contents); <ide> } <ide> ...
3
Javascript
Javascript
update preview on keystroke
159b2029400dfdb25ac9f8a2e5c838d3e736d155
<ide><path>client/commonFramework/end.js <ide> $(document).ready(function() { <ide> init($); <ide> }); <ide> <del> common.editorKeyUp$ <add> const code$ = common.editorKeyUp$ <ide> .debounce(750) <ide> .map(() => common.editor.getValue()) <ide> .distinctUntilChanged() <ide> .doOnNext(() => cons...
3
Ruby
Ruby
add more tap regexes
202c6ef8262ca95bc5362bb431377c14847a3679
<ide><path>Library/Homebrew/cmd/info.rb <ide> def github_fork <ide> def github_info f <ide> path = f.path.realpath <ide> <del> if path.to_s =~ %r{#{HOMEBREW_REPOSITORY}/Library/Taps/(\w+)-(\w+)/(.*)} <add> if path.to_s =~ HOMEBREW_TAP_PATH_REGEX <ide> user = $1 <ide> repo = "homebrew-#$2" <ide>...
4
Javascript
Javascript
unify promise switch statements
fa77f52e74d816f3d7ad0e71850932508c1b353e
<ide><path>packages/react-reconciler/src/ReactFiberHooks.new.js <ide> import {now} from './Scheduler'; <ide> import { <ide> prepareThenableState, <ide> trackUsedThenable, <del> getPreviouslyUsedThenableAtIndex, <ide> } from './ReactFiberThenable.new'; <ide> <ide> const {ReactCurrentDispatcher, ReactCurrentBatchCo...
8
Python
Python
fix typo in taskgroup docstrings
891fb2d9f42e180abd12a11db5a52fe4a334ab29
<ide><path>airflow/utils/task_group.py <ide> class TaskGroup(TaskMixin): <ide> :param prefix_group_id: If set to True, child task_id and group_id will be prefixed with <ide> this TaskGroup's group_id. If set to False, child task_id and group_id are not prefixed. <ide> Default is True. <del> :type...
1
Text
Text
add blog post
6e3b69f055920f3e8fd8ec5a4812a6a6e46b31f2
<ide><path>docs/_posts/2016-07-22-create-apps-with-no-configuration.md <add>--- <add>title: "Create Apps with No Configuration" <add>author: gaearon <add>--- <add> <add>**[Create React App](https://github.com/facebookincubator/create-react-app)** is a new officially supported way to create single-page React application...
1
Java
Java
use random id for websocket sessions
3302798e2ff515205183f9a26a2aca8d92cc5352
<ide><path>spring-websocket/src/main/java/org/springframework/web/socket/adapter/AbstractWebSocketSession.java <ide> import org.apache.commons.logging.LogFactory; <ide> <ide> import org.springframework.lang.Nullable; <add>import org.springframework.util.AlternativeJdkIdGenerator; <ide> import org.springframework.util....
4
Javascript
Javascript
clarify corner cases
ce351e69b15c3f55287a976e027e0e75b94aa89f
<ide><path>src/Angular.js <ide> function isLeafNode (node) { <ide> * * If no destination is supplied, a copy of the object or array is created. <ide> * * If a destination is provided, all of its elements (for array) or properties (for objects) <ide> * are deleted and then all elements/properties from the source ar...
1
PHP
PHP
enhance handle docblocks
227f982f11c8485ce7dda6e75bcb91eea7b9a23d
<ide><path>src/Illuminate/Foundation/Exceptions/Handler.php <ide> class Handler implements ExceptionHandlerContract <ide> /** <ide> * A list of the exception types that are not reported. <ide> * <del> * @var array <add> * @var string[] <ide> */ <ide> protected $dontReport = []; <ide> <id...
1
Text
Text
add kiwi.com as a user to readme
16740dd1dadf53aa0444394cfce302c78b968de4
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> * [Hootsuite](https://github.com/hootsuite) <ide> * [ING](http://www.ing.com/) <ide> * [Jampp](https://github.com/jampp) <add>* [Kiwi.com](https://kiwi.com/) [[@underyx](https://github.com/underyx)] <ide> * [Kogan.com](https://github.com/kogan) [[...
1
Python
Python
add punctuations for bengali
d91be7aed409302f9514ea17397e6fff5ac3a118
<ide><path>spacy/bn/__init__.py <ide> class Defaults(Language.Defaults): <ide> <ide> tokenizer_exceptions = TOKENIZER_EXCEPTIONS <ide> stop_words = STOP_WORDS <add> <add> prefixes = tuple(TOKENIZER_PREFIXES) <add> suffixes = tuple(TOKENIZER_SUFFIXES) <add> infixes = tuple(TOKENIZER...
3
Javascript
Javascript
remove forced optimization from util
ca86aa5323a36895a3aed917fc9a4a3509d3df9b
<ide><path>benchmark/util/format.js <ide> <ide> const util = require('util'); <ide> const common = require('../common'); <del>const v8 = require('v8'); <ide> const types = [ <ide> 'string', <ide> 'number', <ide> function main(conf) { <ide> <ide> const input = inputs[type]; <ide> <del> v8.setFlagsFromString('-...
1
Go
Go
deprecate some consts and move them to pkg/idtools
46c591b045a77b7f0f96f96a51d8304264685929
<ide><path>builder/dockerfile/copy_windows.go <ide> func fixPermissionsReexec() { <ide> } <ide> <ide> func fixPermissionsWindows(source, destination, SID string) error { <del> <del> privileges := []string{winio.SeRestorePrivilege, system.SeTakeOwnershipPrivilege} <add> privileges := []string{winio.SeRestorePrivilege, ...
4
Ruby
Ruby
add order to bindparams in the tosql collector
590c784a30b13153667f8db7915998d7731e24e5
<ide><path>lib/arel/collectors/sql_string.rb <ide> module Arel <ide> module Collectors <ide> class SQLString < PlainString <add> def initialize(*) <add> super <add> @bind_index = 1 <add> end <add> <ide> def add_bind bind <del> self << bind.to_s <add> self << yield(@bind...
12
Java
Java
add systrace sections to uiimplementationprovider
c609952ddbebecba1aca62da1fb3fd143f5d11d1
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementationProvider.java <ide> <ide> import com.facebook.react.bridge.ReactApplicationContext; <ide> import com.facebook.react.uimanager.events.EventDispatcher; <add>import com.facebook.systrace.Systrace; <ide> import java.util.List; <ide> <ide> ...
1
Javascript
Javascript
streamline arrow fn and refine regex
ca3d131bd42afa0c68be6aeb27623d53eae547a1
<ide><path>test/parallel/test-console.js <ide> assert.doesNotThrow(function() { <ide> }); <ide> <ide> // an Object with a custom .inspect() function <del>const custom_inspect = { foo: 'bar', inspect: () => { return 'inspect'; } }; <add>const custom_inspect = { foo: 'bar', inspect: () => 'inspect' }; <ide> <ide> const...
1
Javascript
Javascript
add eslint docs urls
2b7c910e8ab709d3ddef369ea3abb36e36f121a6
<ide><path>packages/eslint-plugin-next/lib/rules/google-font-display.js <ide> module.exports = { <ide> description: <ide> 'Ensure correct font-display property is assigned for Google Fonts', <ide> recommended: true, <add> url: 'https://nextjs.org/docs/messages/google-font-display', <ide> },...
15
Javascript
Javascript
remove duplicated function names
47912f49b410334e547f710ff473ac36682a2c76
<ide><path>src/controllers/controller.bar.js <ide> module.exports = function(Chart) { <ide> }, <ide> <ide> // Get the number of datasets that display bars. We use this to correctly calculate the bar width <del> getBarCount: function getBarCount() { <add> getBarCount: function() { <ide> var me = this; <ide> ...
11
Ruby
Ruby
handle requests for multiple formulae
dc1bbe7f81a453079d397c387cc55a53ee22eb13
<ide><path>Library/Homebrew/dev-cmd/bump.rb <ide> def bump_args <ide> def bump <ide> args = bump_args.parse <ide> <del> requested_formula = args.formulae.first.to_s if args.formulae.first <add> requested_formulae = !args.formulae.empty? ? args.formulae.map(&:name) : nil <add> <ide> requested_limit = ar...
2
Ruby
Ruby
add inspect to requirement subclass
cf3ee4546f782a0bbe082e97c9746c5ad9b04841
<ide><path>Library/Homebrew/requirements.rb <ide> def message <ide> EOS <ide> end <ide> end <add> <add> def inspect <add> "#<#{self.class.name}: #{name.inspect} #{tags.inspect} version=#{@version.inspect}>" <add> end <ide> end <ide> <ide> class MysqlDependency < Requirement <ide><path>Library/Homebrew...
2
Python
Python
add initial benchmarks for __array_function__
415f327069d26b7ff6159ef1ebacd1fdeaaac6a5
<ide><path>benchmarks/benchmarks/bench_overrides.py <add>from __future__ import absolute_import, division, print_function <add> <add>from .common import Benchmark <add> <add>from numpy.core.overrides import array_function_dispatch <add>import numpy as np <add> <add> <add>def _broadcast_to_dispatcher(array, shape, subok...
2
Javascript
Javascript
raise sleep times in child process tests
bb4dff783ddb3b20c67041f7ccef796c335c2407
<ide><path>test/parallel/test-child-process-spawnsync-timeout.js <ide> const { debuglog, getSystemErrorName } = require('util'); <ide> const debug = debuglog('test'); <ide> <ide> const TIMER = 200; <del>const SLEEP = common.platformTimeout(5000); <add>let SLEEP = common.platformTimeout(5000); <add> <add>if (common.isW...
2
Java
Java
add pathsegmentcontainer subpath extracting method
97917aa57d898e3e085beb0d17d26728813bb10c
<ide><path>spring-web/src/main/java/org/springframework/http/server/reactive/DefaultPathSegmentContainer.java <ide> import java.util.ArrayList; <ide> import java.util.Collections; <ide> import java.util.List; <add>import java.util.stream.Collectors; <ide> <ide> import org.springframework.util.Assert; <ide> import org....
4
Python
Python
set version to v2.2.0.dev1
af7fad2c6d75ea3ce755058c1acaee3a827d77d2
<ide><path>spacy/about.py <ide> # fmt: off <ide> <ide> __title__ = "spacy" <del>__version__ = "2.2.0.dev0" <add>__version__ = "2.2.0.dev1" <ide> __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" <ide> __uri__ = "https://spacy.io" <ide> __author__ = "Explosion AI"
1
Javascript
Javascript
remove s_client from test-tls-ci-reneg-attack
c4216194be1b6856b9d02999ea0adc25cc036804
<ide><path>test/pummel/test-tls-ci-reneg-attack.js <ide> if (!common.opensslCli) <ide> common.skip('node compiled without OpenSSL CLI.'); <ide> <ide> const assert = require('assert'); <del>const spawn = require('child_process').spawn; <ide> const tls = require('tls'); <ide> const fixtures = require('../common/fixtur...
1
Javascript
Javascript
get next func index
396ecae06c65588c1c3af821c6d5c40fa4398552
<ide><path>lib/WebAssemblyGenerator.js <ide> function compose(...fns) { <ide> <ide> // Utility functions <ide> const isGlobalImport = moduleImport => moduleImport.descr.type === "GlobalType"; <add>const isFuncImport = moduleImport => <add> moduleImport.descr.type === "FuncImportDescr"; <ide> const initFuncId = t.ident...
1
PHP
PHP
improve readability
0574295121ae6c86266cb2e7d398bc7722904236
<ide><path>src/Illuminate/Database/Connection.php <ide> public function select($query, $bindings = [], $useReadPdo = true) <ide> // For select statements, we'll simply execute the query and return an array <ide> // of the database result set. Each element in the array will be a single <ide> ...
1
Python
Python
fix formatting of complex coefficients in poly1d
0d5e8c8e97e3075b1ccb2c257c998b63fad80903
<ide><path>numpy/lib/polynomial.py <ide> from numpy.lib.twodim_base import diag, vander <ide> from numpy.lib.shape_base import hstack, atleast_1d <ide> from numpy.lib.function_base import trim_zeros, sort_complex <add>from numpy.lib.type_check import iscomplex, real, imag <ide> from numpy.linalg import eigvals, lstsq <...
2
Python
Python
add degree symbol in hddtemp
bbf4cffa8639568fb97789c956d2d0cc8fc8d480
<ide><path>glances/plugins/glances_hddtemp.py <ide> def __update__(self): <ide> device = fields[offset + 1].decode('utf-8') <ide> device = os.path.basename(device) <ide> temperature = float(fields[offset + 3].decode('utf-8')) <add> unit = fields[offset + 4].decode('utf-8')...
1
Python
Python
fix language detection
798040bc1d7073b44c349a4120bdf99a2a7dea99
<ide><path>spacy/language.py <ide> def from_config( <ide> ).merge(config) <ide> if "nlp" not in config: <ide> raise ValueError(Errors.E985.format(config=config)) <del> config_lang = config["nlp"]["lang"] <add> config_lang = config["nlp"].get("lang") <ide> if config_...
1
Java
Java
add delayerror to maybe.delay
bb3260ec3729d9d9c0934a958f3added8ca65408
<ide><path>src/main/java/io/reactivex/rxjava3/core/Maybe.java <ide> public final Single<T> defaultIfEmpty(@NonNull T defaultItem) { <ide> /** <ide> * Returns a {@code Maybe} that signals the events emitted by the current {@code Maybe} shifted forward in time by a <ide> * specified delay. <add> * An er...
4
Ruby
Ruby
fix trivial typo
2f9c84a604b3288504196e23c95348221a298b35
<ide><path>actionpack/test/dispatch/system_testing/screenshot_helper_test.rb <ide> def setup <ide> assert_match %r|\[Screenshot HTML\].+?tmp/screenshots/1_x\.html|, display_image_actual <ide> end <ide> <del> test "take_screenshot allows changing screeenshot display format via RAILS_SYSTEM_TESTING_SCREENSHOT env...
1
PHP
PHP
fix long line
0836e3284269c8dc7e313cfd5be849c147f7f5a3
<ide><path>src/Http/Middleware/CsrfProtectionMiddleware.php <ide> protected function _createToken(): string <ide> * @param \Psr\Http\Message\ResponseInterface $response The response. <ide> * @return \Psr\Http\Message\ResponseInterface $response Modified response. <ide> */ <del> protected function _add...
1
Ruby
Ruby
show upgrade command on formula parameters
4aacf5400e08860ebd6e579c38a08f02d386a65d
<ide><path>Library/Homebrew/cmd/update.rb <ide> module Homebrew extend self <ide> DEPRECATED_TAPS = ['adamv-alt'] <ide> <ide> def update <del> abort "This command updates brew itself, and does not take formula names." unless ARGV.named.empty? <add> unless ARGV.named.empty? <add> abort <<-EOS.undent <add...
1
Text
Text
add contents table to contributing.md
639ec8314e7de10fabe0f0eade2b4b63bdce9329
<ide><path>CONTRIBUTING.md <ide> small and all contributions are valued. <ide> This guide explains the process for contributing to the Node.js project's core <ide> `nodejs/node` GitHub Repository and describes what to expect at each step. <ide> <add>## Contents <add> <add>* [Code of Conduct](#code-of-conduct) <add>* [...
1
Go
Go
allow readby and tracedby
b36455258f323448c0cf00d39bccfd14584ed500
<ide><path>profiles/apparmor/template.go <ide> profile {{.Name}} flags=(attach_disconnected,mediate_deleted) { <ide> <ide> {{if ge .Version 208095}} <ide> # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container <del> ptrace (trace,read) peer={{.Name}}, <add> ptrace (trace,read,tracedby,re...
1
Python
Python
fix pieces argument to precomputedmaxout
b27c5878005fddb749bf36eabfb4497135b91bdf
<ide><path>spacy/_ml.py <ide> def backward(dY_ids, sgd=None): <ide> d_b=Gradient("b") <ide> ) <ide> class PrecomputableMaxouts(Model): <del> def __init__(self, nO=None, nI=None, nF=None, pieces=3, **kwargs): <add> def __init__(self, nO=None, nI=None, nF=None, nP=3, **kwargs): <ide> Model.__init__(self...
1
Ruby
Ruby
fix indentation mismatches
dc07c0e02b16031e5ff7cf650f0894654d525a03
<ide><path>activeresource/test/base_test.rb <ide> def test_create <ide> end <ide> <ide> def test_clone <del> matz = Person.find(1) <del> matz_c = matz.clone <del> assert matz_c.new? <del> matz.attributes.each do |k, v| <del> assert_equal v, matz_c.send(k) if k != Person.primary_key <del> end <del> en...
2
Javascript
Javascript
remove the `webkiturl` polyfill
8266cc18e7076f961c2c66e592c992705b2a9b6b
<ide><path>src/shared/compatibility.js <ide> if (typeof PDFJS === 'undefined') { <ide> <ide> PDFJS.compatibilityChecked = true; <ide> <del>// URL = URL || webkitURL <del>// Support: Safari<7, Android 4.2+ <del>(function normalizeURLObject() { <del> if (!globalScope.URL) { <del> globalScope.URL = globalScope.webki...
1
Ruby
Ruby
fix error when using older/no clang
3717815adec94d952115cb8461c544170458fec0
<ide><path>Library/Homebrew/extend/ENV/std.rb <ide> def determine_cxx <ide> def clang <ide> super <ide> replace_in_cflags(/-Xarch_#{Hardware::CPU.arch_32_bit} (-march=\S*)/, '\1') <del> map = Hardware::CPU.optimization_flags <add> map = Hardware::CPU.optimization_flags.dup <ide> if DevelopmentTools....
1
PHP
PHP
fix failing test
c1d7da92a92f7f297c98bfa9b86a1cc3b37209f8
<ide><path>tests/Database/DatabaseConnectionTest.php <ide> public function testTransactionRetriesOnSerializationFailure() <ide> <ide> $pdo = $this->getMockBuilder(DatabaseConnectionTestMockPDO::class)->setMethods(['beginTransaction', 'commit', 'rollBack'])->getMock(); <ide> $mock = $this->getMockConnec...
1
PHP
PHP
fix expiration on cookie sessions
453f504c449af9aa77b8b5a13fb065a7d7f06952
<ide><path>src/Illuminate/Session/CookieSessionHandler.php <ide> <ide> namespace Illuminate\Session; <ide> <add>use Carbon\Carbon; <ide> use SessionHandlerInterface; <ide> use Symfony\Component\HttpFoundation\Request; <ide> use Illuminate\Contracts\Cookie\QueueingFactory as CookieJar; <ide> public function close() <i...
1
Python
Python
set version to v2.1.5
3bc4d618f920998e76cc5302a1ce79d285cdc5c3
<ide><path>spacy/about.py <ide> # fmt: off <ide> <ide> __title__ = "spacy" <del>__version__ = "2.1.5.dev0" <add>__version__ = "2.1.5" <ide> __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" <ide> __uri__ = "https://spacy.io" <ide> __author__ = "Explosion AI" <ide> __email__ =...
1
Ruby
Ruby
add back user and repo method
842c0227bc7f69211a1feaa6f34c8a85c925c139
<ide><path>Library/Homebrew/exceptions.rb <ide> def to_s <ide> end <ide> <ide> class TapFormulaUnavailableError < FormulaUnavailableError <del> attr_reader :tap <add> attr_reader :tap, :user, :repo <ide> <ide> def initialize tap, name <ide> @tap = tap <add> @user = tap.user <add> @repo = tap.repo <ide> ...
1
Mixed
Text
replace 'rake' with 'rails_command'
1a5941e3cfb67056a9468d590f8ae03485f75ccc
<ide><path>guides/source/rails_application_templates.md <ide> $ rails new blog -m ~/template.rb <ide> $ rails new blog -m http://example.com/template.rb <ide> ``` <ide> <del>You can use the rake task `rails:template` to apply templates to an existing Rails application. The location of the template needs to be passed i...
4
PHP
PHP
fix sqs queue for 7.2
c55de5e654d136bc24ca126aca4f5daf87491faa
<ide><path>src/Illuminate/Queue/SqsQueue.php <ide> public function pop($queue = null) <ide> 'AttributeNames' => ['ApproximateReceiveCount'], <ide> ]); <ide> <del> if (count($response['Messages']) > 0) { <add> if (! is_null($response['Messages']) && count($response['Messages']) > 0) { ...
2
Ruby
Ruby
remove unnecessary use of instance_eval
ef0920e01d171497a45226bd8ab83b17c3151376
<ide><path>Library/Homebrew/formula.rb <ide> def std_cmake_args <ide> <ide> def python(options={:allowed_major_versions => [2, 3]}, &block) <ide> require 'python_helper' <del> self.instance_eval{ python_helper(options, &block) } <add> python_helper(options, &block) <ide> end <ide> <ide> # Explicitly o...
1
Text
Text
add missing word in stream.md
3622a97715858dc7e6aead57b605189c9cad0337
<ide><path>doc/api/stream.md <ide> that the stream will *remain* paused once those destinations drain and ask for <ide> more data. <ide> <ide> *Note*: If a [Readable][] is switched into flowing mode and there are no <del>consumers available handle the data, that data will be lost. This can occur, <add>consumers availa...
1
Javascript
Javascript
fix issue with parametername
f017384f1d7541cfebd270c3a9ae05560ee589e9
<ide><path>src/renderers/webgl/WebGLProgramCache.js <ide> THREE.WebGLProgramCache = function ( renderer1, gl, extensions ) { <ide> PointCloudMaterial: 'particle_basic' <ide> }; <ide> <del> var parameterNames = [ " precision", "supportsVertexTextures", "map", "envMap", "envMapMode", "lightMap", "aoMap", "emissiveMap...
1
Javascript
Javascript
add is_valid tests
8c30898671b0dd1a5fa6e4b77b4a9f4ef81c8ea6
<ide><path>test/moment/is_valid.js <ide> exports.isValid = { <ide> test.done(); <ide> }, <ide> <add> '24:00:00.000 is valid' : function (test) { <add> test.equal(moment('2014-01-01 24', 'YYYY-MM-DD HH').isValid(), true, '24 is valid'); <add> test.equal(moment('2014-01-01 24:00', 'YYYY-MM-D...
1
PHP
PHP
add stderr example
66f5757d58cb3f6d1152ec2d5f12e247eb2242e2
<ide><path>config/logging.php <ide> <?php <ide> <add>use Monolog\Handler\StreamHandler; <add> <ide> return [ <ide> <ide> /* <ide> 'level' => 'critical', <ide> ], <ide> <add> 'stderr' => [ <add> 'driver' => 'monolog', <add> 'handler' => StreamHandler::class, <add> ...
1
PHP
PHP
replace parse_url() with a regex
519b0ce66f3c43206ed9b8e026a928ef2339d3ff
<ide><path>src/Core/StaticConfigTrait.php <ide> public static function parseDsn($dsn) <ide> throw new InvalidArgumentException('Only strings can be passed to parseDsn'); <ide> } <ide> <del> $scheme = ''; <del> if (preg_match("/^([\w\\\]+)/", $dsn, $matches)) { <del> $scheme...
2
Javascript
Javascript
update components for webpack
b7c2db0e852bef302a14806dcc693cfd73b72e77
<ide><path>glances/outputs/static/js/components/glances/component.js <ide> 'use strict'; <ide> <del>glancesApp.component('glances', { <add>import GlancesController from './controller'; <add>import template from './view.html'; <add> <add>export default angular.module('glancesApp').component('glances', { <ide> contr...
59
Python
Python
grab the stats, but not display it in the ui..
b61f70ae99c00db6a05cd5fc9ef1dc02b9483683
<ide><path>glances/plugins/glances_network.py <ide> def update(self): <ide> except UnicodeDecodeError: <ide> return self.stats <ide> <del> # New in PsUtil 3.0: optionaly import the interface's status (issue #765) <add> # New in PsUtil 3.0 <add> # - import th...
1
Ruby
Ruby
remove redundant conditional
1678a4a65d9a592c137f49e4bd558dfacc67c46d
<ide><path>Library/Homebrew/cmd/upgrade.rb <ide> def upgrade <ide> outdated -= pinned <ide> end <ide> <del> if outdated.length > 0 <del> oh1 "Upgrading #{outdated.length} outdated package#{outdated.length.plural_s}, with result:" <del> puts outdated.map{ |f| "#{f.name} #{f.version}" } * ", " <de...
1
Javascript
Javascript
port attrs and classes via bind-attr to attrnode
a87de7ac38a48b3da362fcf5b2dd64daf2a3c8aa
<ide><path>packages/ember-htmlbars/lib/attr_nodes/legacy_bind.js <add>/** <add>@module ember <add>@submodule ember-htmlbars <add>*/ <add> <add>import { fmt } from "ember-runtime/system/string"; <add>import { typeOf } from "ember-metal/utils"; <add>import isNone from 'ember-metal/is_none'; <add>import SimpleAttrNode fro...
4
Python
Python
skip broken test
9740a03f61eee729fc153fd3ec43bf3e631270d1
<ide><path>tests/pipelines/test_pipelines_image_segmentation.py <ide> def test_small_model_pt_no_panoptic(self): <ide> ) <ide> <ide> @require_torch <add> @unittest.skip("This test is broken for now") <ide> def test_small_model_pt(self): <ide> model_id = "hf-internal-testing/tiny-detr-mobilen...
1
Javascript
Javascript
fix warning extraction script
8121212f0db77a263a778a658c59ed7ba1f71d2d
<ide><path>scripts/print-warnings/print-warnings.js <ide> function transform(file, enc, cb) { <ide> const callee = astPath.get('callee'); <ide> if ( <ide> callee.isIdentifier({name: 'warning'}) || <add> callee.isIdentifier({name: 'warningWithoutStack'}) || <ide> ca...
1
Ruby
Ruby
fix another ordering failure
842d55cb16eac7e48660ecd4df5ec1daf946f4d1
<ide><path>activerecord/test/cases/base_test.rb <ide> def test_decrement_counter <ide> end <ide> <ide> def test_update_counter <del> category = Category.first <add> category = categories(:general) <ide> assert_nil category.categorizations_count <ide> assert_equal 2, category.categorizations.count <id...
1
PHP
PHP
add sql cast function cakephp
6b27418ffec75ddde448bfbd3fa1e10f7e44d958
<ide><path>src/Database/FunctionsBuilder.php <ide> public function coalesce(array $args, array $types = []): FunctionExpression <ide> return new FunctionExpression('COALESCE', $args, $types, current($types) ?: 'string'); <ide> } <ide> <add> /** <add> * Returns a FunctionExpression representing a cal...
2
PHP
PHP
simplify behaviors init
8a257cf748f3fbfecc4b43f1062ff6c57bbbd59c
<ide><path>src/ORM/Table.php <ide> public function __construct(array $config = []) <ide> } <ide> } <ide> $this->_eventManager = $eventManager ?: new EventManager(); <del> if ($behaviors) { <del> $behaviors->setTable($this); <del> } else { <del> $behaviors ...
1
PHP
PHP
add multipolygonz type for postgresql
2bd0ef74d6962daea31045cb6f15aecb1fe2d19e
<ide><path>src/Illuminate/Database/Schema/Blueprint.php <ide> public function multiPolygon($column) <ide> return $this->addColumn('multipolygon', $column); <ide> } <ide> <add> /** <add> * Create a new multipolygon column on the table. <add> * <add> * @param string $column <add> * @retu...
2
Ruby
Ruby
fix failing test from [7619bcf2]
b04bce28ff475a93311304069085b0b99d1dbac4
<ide><path>railties/lib/rails/generators/generated_attribute.rb <ide> def parse_type_and_options(type) <ide> when /(string|text|binary|integer)\{(\d+)\}/ <ide> return $1, :limit => $2.to_i <ide> when /decimal\{(\d+)[,.-](\d+)\}/ <del> return :decimal, :precision => $1.to_i, :s...
1
Ruby
Ruby
fix `effective_arch` on linux
23340403c15c4ff814eb7a66d77a71bb57a35d09
<ide><path>Library/Homebrew/extend/os/linux/extend/ENV/shared.rb <ide> module SharedEnvExtension <ide> # @private <ide> def effective_arch <del> if @args&.build_bottle? && @args&.bottle_arch <del> @args.bottle_arch.to_sym <del> elsif @args&.build_bottle? <add> if @build_bottle && @bottle_arch <add> ...
1
Javascript
Javascript
restrict translation to audited certs
b197f73881f0882ed067b3e1cdbc846e28d92479
<ide><path>curriculum/getChallenges.js <ide> const { <ide> const { COMMENT_TRANSLATIONS } = require('./comment-dictionary'); <ide> <ide> const { dasherize } = require('../utils/slugs'); <add>const { isAuditedCert } = require('../utils/is-audited'); <ide> <ide> const challengesDir = path.resolve(__dirname, './challeng...
2
Javascript
Javascript
allow sharing options between multiple inputs
9c9c6b3fe4edfe78ae275c413ee3eefb81f1ebf6
<ide><path>src/ng/directive/ngModel.js <ide> var ngModelOptionsDirective = function() { <ide> restrict: 'A', <ide> controller: ['$scope', '$attrs', function($scope, $attrs) { <ide> var that = this; <del> this.$options = $scope.$eval($attrs.ngModelOptions); <add> this.$options = angular.copy($sco...
2
Go
Go
fix error-checking when looking at empty log
2a0291489247b79058f0f94a2af7c5b3f89b78af
<ide><path>integration-cli/docker_cli_logs_test.go <ide> func (s *DockerSuite) TestLogsSinceFutureFollow(c *check.C) { <ide> <ide> since := t.Unix() + 2 <ide> out, _ = dockerCmd(c, "logs", "-t", "-f", fmt.Sprintf("--since=%v", since), name) <add> c.Assert(out, checker.Not(checker.HasLen), 0, check.Commentf("cannot r...
1
Text
Text
add directories for other languages
293ca82c6d4285dfd4b2302df1a08844afa5bd9f
<ide><path>docs/arabic/CONTRIBUTING.md <add><table> <add> <tr> <add> <td> Read these guidelines in </td> <add> <td><a href="/CONTRIBUTING.md"> English </a></td> <add> <td><a href="/docs/chinese/CONTRIBUTING.md"> 中文 </a></td> <add> <td><a href="/docs/russian/CONTRIBUTING.md"> русский </a><...
10
Go
Go
reduce permissions changes scope after add/copy
f3cedce3608afe7bd570666a7fc878ab85c7bc03
<ide><path>builder/internals.go <ide> func (b *Builder) addContext(container *daemon.Container, orig, dest string, dec <ide> } <ide> <ide> if fi.IsDir() { <del> return copyAsDirectory(origPath, destPath, destExists) <add> return copyAsDirectory(origPath, destPath) <ide> } <ide> <ide> // If we are adding a remot...
2
PHP
PHP
add tests for datetimetype
9c4a527045f161affaca907fb91292da31a37315
<ide><path>lib/Cake/Model/Datasource/Database/Type/DateTimeType.php <ide> use Cake\Model\Datasource\Database\Driver; <ide> use \DateTime; <ide> <add>/** <add> * Datetime type converter. <add> * <add> * Use to convert datetime instances to strings & back. <add> */ <ide> class DateTimeType extends \Cake\Model\Datasource...
2
PHP
PHP
add empty line before return
8fa4e52662a53f46114f9a8a417116469b44870b
<ide><path>src/TestSuite/TestCase.php <ide> public function getFixtures() <ide> 'Setting fixtures as string is deprecated and will be removed in 4.0.' . <ide> ' Set TestCase::$fixtures as array instead.' <ide> ); <add> <ide> return array_map('trim', explode(',', $...
1
Javascript
Javascript
use sendevent to fire willinsert/didinsertelement
ddda9e99d61d0960fcd1a6285f795625ac42cabe
<ide><path>packages/ember-metal-views/lib/main.js <ide> import { set } from "ember-metal/property_set"; <ide> import { lookupView, setupView, teardownView, setupEventDispatcher, reset, events } from "ember-metal-views/events"; <ide> import { setupClassNames, setupClassNameBindings, setupAttributeBindings } from "ember-...
1
Ruby
Ruby
remove problematic test
86cc780ea252881cdda4541c3c251af7995224b0
<ide><path>Library/Homebrew/test/test_tap.rb <ide> def test_remote <ide> assert_equal "https://github.com/Homebrew/homebrew-foo", @tap.remote <ide> assert_raises(TapUnavailableError) { Tap.new("Homebrew", "bar").remote } <ide> refute_predicate @tap, :custom_remote? <del> assert_predicate @tap, :private? ...
1
Ruby
Ruby
inline install_bottle? logic into the installer
7b6fa8b7bb6538650c6915ec19b17c243ea36229
<ide><path>Library/Homebrew/bottles.rb <ide> def bottle_filename options={} <ide> "#{options[:name]}-#{options[:version]}#{bottle_native_suffix(options)}" <ide> end <ide> <del>def install_bottle? f, options={:warn=>false} <del> return true if f.local_bottle_path <del> return true if ARGV.force_bottle? <del> retur...
2
PHP
PHP
add resources method to router
3264ebd87c64353bcaaf01e3cd2be2a91271df59
<ide><path>src/Illuminate/Routing/Router.php <ide> protected function addFallthroughRoute($controller, $uri) <ide> $missing->where('_missing', '(.*)'); <ide> } <ide> <add> /** <add> * Register an array of resource controllers. <add> * <add> * @param array $resources <add> * @return void <add> */ <add> public...
1
Text
Text
fix trivial formatting
5aaf98d44f00106a7a991cc01e58157078134290
<ide><path>CHANGELOG.md <ide> app. This is no longer possible within a single module. <ide> <ide> <ide> - **ngModelOptions:** due to [adfc322b](https://github.com/angular/angular.js/commit/adfc322b04a58158fb9697e5b99aab9ca63c80bb), <del> <add> <ide> <ide> This commit changes the API on `NgModelController`, both sem...
2