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
Ruby
Ruby
remove redundant method
cf278a6effcb86437b33008f16c59f5a4ba8878e
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def normalize_options! <ide> @options.merge!(default_controller_and_action) <ide> end <ide> <del> def normalize_format! <del> if options[:format] == true <del> options[:format] = /.+/ <del> ...
1
Python
Python
improve triggerruledep typing and readability
0cf3cb1a4968eff264cc4e7ed2da2f0ece6d2c99
<ide><path>airflow/ti_deps/deps/base_ti_dep.py <ide> # under the License. <ide> from __future__ import annotations <ide> <del>from typing import NamedTuple <add>from typing import TYPE_CHECKING, Any, Iterator, NamedTuple <ide> <ide> from airflow.ti_deps.dep_context import DepContext <ide> from airflow.utils.session i...
4
Javascript
Javascript
fix typos in code comment
0506d294dc5a51556e935a50a754aa7cbd7a7977
<ide><path>lib/events.js <ide> EventEmitter.prototype.addListener = function(type, listener) { <ide> <ide> if (!this._events) this._events = {}; <ide> <del> // To avoid recursion in the case that type == "newListeners"! Before <del> // adding it to the listeners, first emit "newListeners". <add> // To avoid recu...
1
Ruby
Ruby
remove warning for setting eager_load
382f52ddbb248cc3b5562aa033def3c33625f49a
<ide><path>railties/test/application/multiple_applications_test.rb <ide> def test_initializers_run_on_different_applications_go_to_the_same_class <ide> assert_equal 0, run_count, "Without loading the initializers, the count should be 0" <ide> <ide> # Set config.eager_load to false so that an eager_load war...
1
Python
Python
fix the path to `mypy.ini`
ba35907d202f66a35fb460ef7a6c01e0e2631f81
<ide><path>runtests.py <ide> def main(argv): <ide> config = os.path.join( <ide> site_dir, <ide> "numpy", <del> "tests", <ide> "typing", <add> "tests", <add> "data", <ide> "mypy.ini", <ide> ) <ide>
1
Javascript
Javascript
fix some more tests
21c4c133daca61ebf8b5b42433e50b189d2d4ece
<ide><path>packages/ember-metal/lib/tags.js <ide> export function markObjectAsDirty(meta, propertyKey) { <ide> let objectTag = meta.readableTag(); <ide> <ide> if (objectTag !== undefined) { <del> objectTag.dirty(); <add> objectTag.inner.dirty(); <ide> } <ide> <ide> let tags = meta.readableTags(); <ide> ...
1
Python
Python
fix typo auto_add -> auto_now
ea151e858dda765c8805038bb967e2dcdf65116a
<ide><path>celery/models.py <ide> class TaskMeta(models.Model): <ide> task_id = models.CharField(_(u"task id"), max_length=255, unique=True) <ide> is_done = models.BooleanField(_(u"is done"), default=False) <del> date_done = models.DateTimeField(_(u"done at"), auto_add=True) <add> date_done = models.DateT...
1
Javascript
Javascript
fail tests on errors in renderer
8c5794eab3cfb8a027bd6eb338a3ba16f03d3564
<ide><path>src/__tests__/setupTests.js <ide> env.beforeEach(() => { <ide> // Fake timers let us flush Bridge operations between setup and assertions. <ide> jest.useFakeTimers(); <ide> <add> const originalConsoleError = console.error; <add> console.error = (...args) => { <add> if (args[0] === 'Warning: React D...
1
Text
Text
update changelog for version 1.8.2
3b7cdfcd6b7a1c22a8318afaac16e5328b56ff1f
<ide><path>CHANGELOG.md <ide> # Changelog <ide> <add>## 1.8.2 (2015-09-10) <add> <add>### Distribution: <add> <add>- Fixes rare edge case of handling GNU LongLink and LongName entries. <add>- Fix ^C on docker pull. <add>- Fix docker pull issues on client disconnection. <add>- Fix issue that caused the daemon to panic ...
1
Javascript
Javascript
add scalelabel to core.scale
73729877546e9bb0445e72a97978860685ccb0aa
<ide><path>src/core/core.scale.js <ide> offsetGridLines: false, <ide> }, <ide> <add> // scale label <add> scaleLabel: { <add> fontColor: '#666', <add> fontFamily: 'Helvetica Neue', <add> fontSize: 12, <add> fontStyle: 'normal', <add> <add> // actual label <add> labelString: '', <add> <add> // disp...
1
Javascript
Javascript
remove reload on servercomponentchanges in pages
6fefa98b3678233376a38d798869d6fe8a2a758d
<ide><path>packages/next/client/dev/error-overlay/hot-dev-client.js <ide> function processMessage(e) { <ide> ) <ide> return handleSuccess() <ide> } <del> <del> case 'serverComponentChanges': { <del> sendMessage( <del> JSON.stringify({ <del> event: 'server-component-reload-page', ...
1
Javascript
Javascript
fix clear color bug
6161ab5733c23e7a7d77c97d093d6bbfa31cdc53
<ide><path>src/renderers/webgl/WebGLState.js <ide> function WebGLState( gl, extensions, paramThreeToGL ) { <ide> <ide> var color = new Vector4(); <ide> var currentColorMask = null; <del> var currentColorClear = new Vector4(); <add> var currentColorClear = new Vector4( 0, 0, 0, 0 ); <ide> <ide> return { <ide> ...
1
Javascript
Javascript
improve test coverage in perf_hooks
3826d692cc60cf8a7ea6dc48b425fd75dcc697df
<ide><path>test/parallel/test-http2-perf_hooks.js <ide> const obs = new PerformanceObserver(common.mustCall((items) => { <ide> assert.fail('invalid entry name'); <ide> } <ide> }, 4)); <add> <add>// Should throw if entryTypes are not valid <add>{ <add> const expectedError = { code: 'ERR_VALID_PERFORMANCE_ENTRY_...
1
Javascript
Javascript
introduce react native cli
833ca598bc7553cd60080705da076454ab5c544b
<ide><path>packager/parseCommandLine.js <ide> <ide> var optimist = require('optimist'); <ide> <del>function parseCommandLine(config) { <add>function parseCommandLine(config, args) { <add> args = args || process.argv; <ide> // optimist default API requires you to write the command name three time <ide> // This is...
7
Javascript
Javascript
fix typo getnormalvector() -> gettangent()
fab25f9fea0cc3739c0de6b11399134ff325696a
<ide><path>src/extras/core/CurvePath.js <ide> THREE.CurvePath.prototype.getWrapPoints = function ( oldPts, path ) { <ide> // check for out of bounds? <ide> <ide> var pathPt = path.getPoint( xNorm ); <del> var normal = path.getNormalVector( xNorm ); <add> var normal = path.getTangent( xNorm ); <ide> normal.set(...
1
PHP
PHP
add hints to database/driver & dialect
fe7765dfe66f8e638e5d767dc0e2a8d8491c147f
<ide><path>src/Database/Dialect/MysqlDialectTrait.php <ide> public function schemaDialect() <ide> /** <ide> * {@inheritDoc} <ide> */ <del> public function disableForeignKeySQL() <add> public function disableForeignKeySQL(): string <ide> { <ide> return 'SET foreign_key_checks = 0'; <ide> ...
18
Ruby
Ruby
improve use of default_prefix? in tests
234e4aec96297145e1760bc3d8ff6cc9f6f64713
<ide><path>Library/Homebrew/os/linux/global.rb <ide> module Homebrew <del> DEFAULT_PREFIX = if ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"] <add> DEFAULT_PREFIX ||= if ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"] <ide> "/usr/local".freeze <ide> else <ide> "/home/linuxbrew/.linuxbrew".freeze <ide><path>Library/Homebre...
5
Javascript
Javascript
fix voxel diagram
b4910892bfa32c0fdc25d72d1336d8b34aec8fe1
<ide><path>threejs/lessons/resources/threejs-voxel-geometry.js <ide> import {threejsLessonUtils} from './threejs-lesson-utils.js'; <ide> wire: '#DDD', <ide> }; <ide> const lightColors = { <del> wore: '#000', <add> wire: '#000', <ide> }; <ide> const colors = isDarkMode ? darkColors : lightColors; <ide>...
1
Ruby
Ruby
fix typo in test desctiption [skip ci]
7d74b73a066c3e996787ca021c5bbf21d8d0749e
<ide><path>actionpack/test/controller/http_basic_authentication_test.rb <ide> def test_encode_credentials_has_no_newline <ide> assert_no_match(/\n/, result) <ide> end <ide> <del> test "succesful authentication with uppercase authorization scheme" do <add> test "successful authentication with uppercase authoriz...
1
Java
Java
avoid deprecated comparators in tests
9543384d9e3b7c51aa997a47b3758a0284ff72d4
<ide><path>spring-beans/src/test/java/org/springframework/beans/support/PropertyComparatorTests.java <ide> /* <del> * Copyright 2002-2016 the original author or authors. <add> * Copyright 2002-2017 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> *...
3
Javascript
Javascript
improve an error message
0fbe0a02df0a99c34c5b1e6abb92a450284cfca8
<ide><path>test/parallel/test-cluster-master-kill.js <ide> if (cluster.isWorker) { <ide> })); <ide> <ide> process.once('exit', () => { <del> assert.strictEqual(typeof pid, 'number', 'did not get worker pid info'); <add> assert.strictEqual(typeof pid, 'number', <add> `got ${pid} instead ...
1
Java
Java
filter irrelevant nodes in staxhandler tests
78b6ba05696ac48799f4ced6c909e971927e7fff
<ide><path>spring-core/src/test/java/org/springframework/util/xml/AbstractStaxHandlerTestCase.java <ide> import org.junit.Before; <ide> import org.junit.Test; <ide> import org.w3c.dom.Document; <add>import org.w3c.dom.Node; <ide> import org.xml.sax.InputSource; <ide> import org.xml.sax.XMLReader; <ide> import org.xml.s...
1
Text
Text
add windows link to building doc
445421f961e9b5642f383a9dfee432de0df39a75
<ide><path>README.md <ide> It will automatically update when a new release is available. <ide> ### Requirements <ide> <ide> * Mountain Lion <add> * Looking for Windows support? Read [here](https://github.com/atom/atom/blob/master/docs/building-atom.md). <ide> * Boxen (Obviously Atom won't release with this requ...
1
Python
Python
add ufsparse to the libraries search path
d91521e5fd858726998146e6055f677cc3aeb011
<ide><path>numpy/distutils/system_info.py <ide> def libpaths(paths,bits): <ide> '/opt/local/lib','/sw/lib'], platform_bits) <ide> default_include_dirs = ['/usr/local/include', <ide> '/opt/include', '/usr/include', <add> # path o...
1
PHP
PHP
check `validate` option before validating
20334b3a2db3886a2de79331c6e565d3f478f5cc
<ide><path>src/ORM/Table.php <ide> protected function _processSave($entity, $options) { <ide> $associated = $options['associated']; <ide> $options['associated'] = []; <ide> <del> if (!$this->validate($entity, $options)) { <add> if ($options['validate'] && !$this->validate($entity, $options)) { <ide> return fa...
1
Python
Python
remove print statement
808d8740d6ed4162256d5ea5dd182a7cf92688a5
<ide><path>spacy/cli/train.py <ide> def _render_parses(i, to_render): <ide> <ide> <ide> def print_progress(itn, losses, dev_scores, cpu_wps=0.0, gpu_wps=0.0): <del> print(locals()) <ide> scores = {} <ide> for col in ['dep_loss', 'tag_loss', 'uas', 'tags_acc', 'token_acc', <ide> 'ents_p', 'e...
1
Javascript
Javascript
fix handling of large timeouts
0c47219a72fcf58c639ccb37ddf6b01b2261e793
<ide><path>lib/timers.js <ide> exports.active = function(item) { <ide> exports.setTimeout = function(callback, after) { <ide> var timer; <ide> <del> after = ~~after; <del> if (after < 1 || after > TIMEOUT_MAX) { <add> after *= 1; // coalesce to number or NaN <add> <add> if (!(after >= 1 && after <= TIMEOUT_MAX))...
2
Text
Text
add filter to /images/json docs
a20bf5e61c542fea377345d5318293b44c65cbb5
<ide><path>docs/reference/api/docker_remote_api_v1.12.md <ide> Query Parameters: <ide> - **all** – 1/True/true or 0/False/false, default false <ide> - **filters** – a json encoded value of the filters (a map[string][]string) to process on the images list. Available filters: <ide> - dangling=true <add>- **filt...
9
Text
Text
add missing semicolon to doc
b4072ba427be0d56910f9f8bcd5c5082d4a10ac7
<ide><path>docs/basics/Actions.md <ide> The `dispatch()` function can be accessed directly from the store as [`store.dis <ide> <ide> export const ADD_TODO = 'ADD_TODO'; <ide> export const COMPLETE_TODO = 'COMPLETE_TODO'; <del>export const SET_VISIBILITY_FILTER = 'SET_VISIBILITY_FILTER' <add>export const SET_VISIBILITY...
1
Python
Python
use pipeline for _set
276753698a2d38a3c2b05af2ce22c13dffff738b
<ide><path>celery/backends/redis.py <ide> def set(self, key, value, **retry_policy): <ide> return self.ensure(self._set, (key, value), **retry_policy) <ide> <ide> def _set(self, key, value): <del> client = self.client <add> pipe = self.client.pipeline() <ide> if self.expires: <del> ...
1
Python
Python
add some comments
951ef735af7a190f2a0220c827e3aa2d9e9c07b9
<ide><path>celery/buckets.py <ide> def put(self, job): <ide> put_nowait = put <ide> <ide> def _get(self): <del> # If the first queue is always returning items, we would never <del> # get to fetching items from the other queues. <del> # So we always iterate over all the queues and put any r...
1
PHP
PHP
fix errors and add first draft of tests
da700052109c4606d011857d785efba11ea05009
<ide><path>src/View/Helper/FormHelper.php <ide> public function control(string $fieldName, array $options = []): string <ide> $options = $this->_parseOptions($fieldName, $options); <ide> $options += ['id' => $this->_domId($fieldName)]; <ide> <del> if ($options['type'] != 'hidden') { <add> ...
2
Text
Text
update chinese translation of sass
087946adc15e2d3a4006e87ca1b441741b8b57ba
<ide><path>curriculum/challenges/chinese/03-front-end-libraries/sass/apply-a-style-until-a-condition-is-met-with-while.chinese.md <ide> id: 587d7dbf367417b2b2512bbb <ide> title: Apply a Style Until a Condition is Met with @while <ide> challengeType: 0 <del>videoUrl: '' <del>localeTitle: 应用样式直到满足@while的条件 <add>forumTopi...
9
Javascript
Javascript
add pt-br for localization
cc64f19b947dd16718b5a8046a54190d0cd3e4bf
<ide><path>src/locale/pt-BR.js <add>import "locale"; <add> <add>d3.locale.pt_BR = d3.locale({ <add> decimal: ',', <add> thousands: '.', <add> grouping: [3], <add> currency: ['R$', ''], <add> dateTime: '%A, %e de %B de %Y. %X', <add> date: '%d/%m/%Y', <add> time: '%H:%M:%S', <add> periods: ['AM', 'PM'], <add> d...
2
Ruby
Ruby
fix deprecation warning in scaffold controllers
e84edf13c2984c071e91e747995075bd80b1c194
<ide><path>railties/lib/rails/generators/active_model.rb <ide> def initialize(name) <ide> <ide> # GET index <ide> def self.all(klass) <del> "#{klass}.all" <add> "#{klass}.all.to_a" <ide> end <ide> <ide> # GET show
1
Javascript
Javascript
resolve more conflicts
4963e37c83da93dcd377c3c4c5b6b05bfffdccb2
<ide><path>examples/js/loaders/FBXLoader.js <ide> <ide> var uvInfo = []; <ide> var i = 0; <del> while ( subNodes.LayerElementUV[ i ] ) { <add> while ( subNodes.LayerElementUV[ i ] ){ <ide> <del> uvInfo.push( getUVs( subNodes.LayerElementUV[ i ] ) ); <del> i ++; <add> uvInfo.push(getUVs( subNodes.La...
1
Javascript
Javascript
fix cidfonttype2 large cmap tables
e4e864766df1c2252197113378ad0e191665e219
<ide><path>src/fonts.js <ide> var Font = (function Font() { <ide> } <ide> <ide> var glyphs = [], ids = []; <del> var usedUnicodes = [], unusedUnicode = kCmapGlyphOffset; <add> var usedUnicodes = []; <ide> var cidToGidMap = properties.cidToGidMap; <del> for (i = 1; i < numGl...
1
Text
Text
make use .env file challenge clearer
344c9afa80f64ef4620c64d0aa249543806b80d9
<ide><path>curriculum/challenges/english/05-back-end-development-and-apis/basic-node-and-express/use-the-.env-file.md <ide> Let's add an environment variable as a configuration option. <ide> <ide> Create a `.env` file in the root of your project directory, and store the variable `MESSAGE_STYLE=uppercase` in it. <ide> ...
1
Text
Text
add pr to release notes
bf79bc039570df2e75a6d53a07a08268edf99b4e
<ide><path>actionpack/CHANGELOG.md <del>* Add `ActionController#helpers` to get access to the view context in the controller <add>* Add `ActionController#helpers` to get access to the view context at the controller <ide> level. <ide> <ide> *Rafael Mendonça França* <ide><path>guides/source/5_0_release_notes...
2
PHP
PHP
deprecate unused helper properties
35cb88c3e1e276aac4fda7321a3b1747f4240db4
<ide><path>src/View/Helper.php <ide> class Helper implements EventListenerInterface <ide> public $request; <ide> <ide> /** <del> * Holds the fields ['field_name' => ['type' => 'string', 'length' => 100]], <del> * primaryKey and validates ['field_name'] <add> * Unused. <ide> * <ide> * @var...
2
Javascript
Javascript
support non-declared buffer.type
9020017a802f693a1b00d28921af1b9b76c514c0
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> <ide> return _each( json.buffers, function ( buffer ) { <ide> <del> if ( buffer.type === 'arraybuffer' ) { <add> if ( buffer.type === 'arraybuffer' || buffer.type === undefined ) { <ide> <ide> return new Promise( fu...
1
Go
Go
get child processes before main process die
5a1e5cf8c9bff51f6314754c039bf7511e2fb613
<ide><path>daemon/execdriver/native/driver.go <ide> func waitInPIDHost(p *libcontainer.Process, c libcontainer.Container) func() (*o <ide> return nil, err <ide> } <ide> <add> processes, err := c.Processes() <add> <ide> process, err := os.FindProcess(pid) <ide> s, err := process.Wait() <ide> if err != nil {
1
Text
Text
add react seoul 2017 to the conferences list
f76467e8e5fd01d6586cd0d506c0503f7d29ab38
<ide><path>docs/community/conferences.md <ide> October 25–27, Bratislava, Slovakia <ide> <ide> [Website](https://reactiveconf.com) <ide> <add>### React Seoul 2017 <add>November 4 in Seoul, South Korea <add> <add>[Website](http://seoul.reactjs.kr/en) <add> <ide> ### React Day Berlin <ide> December 2, Berlin, Germany <...
1
PHP
PHP
correct unused attributes
3d5e4aa88ac6d12cf469573abe4558a137e722fc
<ide><path>tests/test_app/TestApp/Controller/Component/BananaComponent.php <ide> class BananaComponent extends Component { <ide> */ <ide> public $testField = 'BananaField'; <ide> <del>/** <del> * startup method <del> * <del> * @param Event $event <del> * @param Controller $controller <del> * @return string <del> */ ...
2
Ruby
Ruby
fix the truffleruby implementation
151ba1ab0c5acb191795c78d4a2974cd00df3a04
<ide><path>activesupport/lib/active_support/descendants_tracker.rb <ide> def [](object) <ide> end <ide> <ide> def []=(object, _present) <del> @map[object_id] = object <add> @map[object.object_id] = object <ide> end <ide> end <ide> WeakSet.new
1
Text
Text
pull request template
7f4115c0990b5121878e38069d386f168fac6b7b
<ide><path>.github/PULL_REQUEST_TEMPLATE.md <del><!-- This line specifies which issue to close after the pull request is merged. --> <del>Fixes #{issue number} <add># What does this PR do? <add> <add><!-- <add>Congratulations! You've made it this far! You're not quite done yet though. <add> <add>Once merged, your PR is...
1
PHP
PHP
allow customization of mail message building
6535186b0f71a6b0cc2d8a821f3de209c05bcf4f
<ide><path>src/Illuminate/Auth/Notifications/ResetPassword.php <ide> class ResetPassword extends Notification <ide> */ <ide> public $token; <ide> <add> /** <add> * The callback that should be used to build the mail message. <add> * <add> * @var \Closure|null <add> */ <add> public static ...
1
Ruby
Ruby
replace ui uses of 'folder' with 'directory'
4ee255134d791ab79655422f9760a86b0dc55372
<ide><path>Library/Homebrew/build.rb <ide> def install f <ide> if ARGV.flag? '--git' <ide> system "git init" <ide> system "git add -A" <del> puts "This folder is now a git repo. Make your changes and then use:" <add> puts "This directory is now a git repo. Make your changes and then ...
3
Python
Python
add test_connection to salesforcehook
ed26b86a506b07ecf66c314e5514bd906e608359
<ide><path>airflow/providers/salesforce/hooks/salesforce.py <ide> def object_to_df( <ide> df["time_fetched_from_salesforce"] = fetched_time <ide> <ide> return df <add> <add> def test_connection(self): <add> """Test the Salesforce connectivity""" <add> try: <add> self.des...
2
Python
Python
fix syntax error
61a4ef0b4649583863fba9c4c3892a43ba9506ea
<ide><path>spacy/training/loggers.py <ide> def log_step(info: Dict[str, Any]): <ide> ) from None <ide> scores = [] <ide> for col in score_cols: <del> score = float(info["other_scores"].get(col, 0.0))) <add> score = float(info["other_scores"].get(col,...
1
Go
Go
move replaceorappendenvvalues to container package
7164b66cfc70b43bad98e156e72e305b66aa8ca4
<ide><path>container/container_unix.go <ide> import ( <ide> "github.com/docker/docker/pkg/stringid" <ide> "github.com/docker/docker/pkg/symlink" <ide> "github.com/docker/docker/pkg/system" <del> "github.com/docker/docker/utils" <ide> "github.com/docker/docker/volume" <ide> "github.com/opencontainers/runc/libcontai...
5
PHP
PHP
use specific ordering
9038f11a2f6ab320940d6817e3d4b5c8230b11ec
<ide><path>lib/Cake/Test/TestCase/ORM/TableTest.php <ide> public function testUpdateAll() { <ide> $result = $table->updateAll($fields, ['id <' => 4]); <ide> $this->assertTrue($result); <ide> <del> $result = $table->find('all')->select(['username'])->toArray(); <add> $result = $table->find('all') <add> ->select...
1
Javascript
Javascript
use native driver even if gestures are enabled
4220063f8464a9778fd8470b3fb95fe502fb1bd0
<ide><path>Libraries/CustomComponents/NavigationExperimental/NavigationCardStack.js <ide> */ <ide> 'use strict'; <ide> <del>const NativeAnimatedModule = require('NativeModules').NativeAnimatedModule; <ide> const NavigationCard = require('NavigationCard'); <ide> const NavigationCardStackPanResponder = require('Navigat...
1
Ruby
Ruby
remove some unneeded `require`s
6e20d2758281a9f331edecc56b6dd4f8df86f277
<ide><path>Library/Homebrew/extend/os/linux/system_config.rb <ide> # typed: true <ide> # frozen_string_literal: true <ide> <del>require "formula" <ide> require "os/linux/glibc" <ide> require "system_command" <ide> <ide> def dump_verbose_config(out = $stdout) <ide> out.puts "/usr/bin/gcc: #{host_gcc_version}" <i...
2
Ruby
Ruby
remove debug statements
370ef3e8bbafb5076737f9d9a79d83f70123a228
<ide><path>activerecord/test/cases/dirty_test.rb <ide> def test_setting_time_attributes_with_time_zone_field_to_itself_should_not_be_ma <ide> target = Class.new(ActiveRecord::Base) <ide> target.table_name = 'pirates' <ide> <del> pirate = target.create <del> p pirate.created_on <add> pirate =...
1
Java
Java
fix copyright year & method names in spring-test
8a37521a3cd5dc0d51599abf9824c35513816fbb
<ide><path>spring-test/src/test/java/org/springframework/test/context/ClassLevelDirtiesContextTests.java <ide> /* <del> * Copyright 2002-2012 the original author or authors. <add> * Copyright 2002-2013 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide...
3
Python
Python
fix typo in app_ctx_globals_class doc in app.py
1d49343bb19933f5f8057a548cb69657d8cbd699
<ide><path>flask/app.py <ide> class Flask(_PackageBoundObject): <ide> #: <ide> #: 1. Store arbitrary attributes on flask.g. <ide> #: 2. Add a property for lazy per-request database connectors. <del> #: 3. Return None instead of AttributeError on expected attributes. <add> #: 3. Return None instead of ...
1
Text
Text
add changelog entry for references statements
17d2115e3df6caf15d554b44e28177069fa3ed5b
<ide><path>activerecord/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Add `add_reference` and `remove_reference` schema statements. Aliases, `add_belongs_to` <add> and `remove_belongs_to` are acceptable. References are reversible. <add> Examples: <add> <add> # Create a user_id column <add...
1
Python
Python
add dispatch to build process
f2cb33bcf60e72924b46dd652af64d0af8da2508
<ide><path>numpy/core/code_generators/generate_umath.py <ide> def english_upper(s): <ide> Ufunc(2, 1, None, # One is only a unit to the right, not the left <ide> docstrings.get('numpy.core.umath.floor_divide'), <ide> 'PyUFunc_DivisionTypeResolver', <del> TD(intfltcmplx), <add> ...
2
Text
Text
add onboarding resources
7a3ed9822941173669a89dba1d0b58e1b3c3a1ec
<ide><path>doc/onboarding-extras.md <add>## Who to CC in issues <add> <add>* `lib/buffer`: @trevnorris <add>* `lib/child_process`: @cjihrig, @bnoordhuis, @piscisaereus <add>* `lib/cluster`: @cjihrig, @bnoordhuis, @piscisaereus <add>* `lib/{crypto,tls,https}`: @indutny, @shigeki, @nodejs/crypto <add>* `lib/domains`: @mi...
2
Mixed
Ruby
remove redundant files
198b7ade596813ff2b01cc885ad3aab58c1550d1
<ide><path>scripts/README.md <del># 0.0.1-API-Parser <del> <del>Parser for fixing this: https://github.com/Homebrew/brew/issues/5725 <del> <del>## Overview <del> <del>Homebrew is used to install software (packages). Homebrew uses 'formulae' to determine how a package is installed. <del>This project will automatically c...
3
Ruby
Ruby
add failing test for
73d8a90bee79106c965ad35151870941ab38d951
<ide><path>actionpack/test/dispatch/routing_test.rb <ide> def test_absolute_controller_namespace <ide> assert_equal '/foo', foo_root_path <ide> end <ide> <add> def test_trailing_slash <add> draw do <add> resources :streams <add> end <add> <add> get '/streams' <add> assert @response.ok?, 'route ...
1
Text
Text
remove deprecated file-loader
0b16b530100319f160ca1360b9ee9e7eb2a76530
<ide><path>README.md <ide> or are automatically applied via regex from your webpack configuration. <ide> <ide> #### Files <ide> <del>| Name | Status | Install Size | Description | <del>| :-----------------: | :---------: | :----------: | :--...
1
Ruby
Ruby
move another migrator test to the correct class
ad2af42bb299f762a5a969370ee5378d34ebbc53
<ide><path>activerecord/test/cases/migration_test.rb <ide> def test_finds_pending_migrations <ide> assert_equal migrations[0].name, 'InterleavedInnocentJointable' <ide> end <ide> <del> def test_relative_migrations <del> list = Dir.chdir(MIGRATIONS_ROOT) do <del> ActiveRecord::Migrator.up("valid/", 1) <d...
2
Text
Text
add detail for how to update llhttp
321e2493a43558afd074c97a5d996166c46f2667
<ide><path>doc/contributing/maintaining-http.md <ide> to align them with the APIs built for the client. <ide> The low-level implementation of the <ide> [HTTP](https://nodejs.org/docs/latest/api/http.html) <ide> and [HTTPS](https://nodejs.org/docs/latest/api/https.html) APIs <del>are maintained in the [llttp](https://gi...
1
Ruby
Ruby
consolidate bottle defaults and remove a method
7e8c693218499811897ebc502aa2cac5c7ab59cc
<ide><path>Library/Homebrew/bottles.rb <ide> def bottle_regex <ide> Pathname::BOTTLE_EXTNAME_RX <ide> end <ide> <del>def bottle_root_url f <del> root_url = f.bottle.root_url <del> root_url ||= 'https://downloads.sf.net/project/machomebrew/Bottles' <del>end <del> <ide> def bottle_url f, tag=bottle_tag <del> "#{bot...
2
Java
Java
use hassize() where possible
1e83e889aa227d9f84c8c212fe6d8772afe33614
<ide><path>spring-context/src/test/java/org/springframework/context/annotation/AnnotationConfigApplicationContextTests.java <ide> void scanAndRefresh() { <ide> context.getBean(uncapitalize(ComponentForScanning.class.getSimpleName())); <ide> context.getBean(uncapitalize(Jsr330NamedForScanning.class.getSimpleName()))...
8
Javascript
Javascript
add ktx2exporter
746f66b295b4190a0c5d5fb305a0ed290e5aa169
<ide><path>examples/jsm/exporters/KTX2Exporter.js <add>import { <add> FloatType, <add> HalfFloatType, <add> UnsignedByteType, <add> RGBAFormat, <add> RGFormat, <add> RGIntegerFormat, <add> RedFormat, <add> RedIntegerFormat, <add> LinearEncoding, <add> sRGBEncoding, <add> DataTexture, <add> REVISION, <add>} from 'three'...
2
PHP
PHP
use import cleanup
e780ddabe0d9ea233af14a4cff48077da988c0e2
<ide><path>src/View/AjaxView.php <ide> */ <ide> namespace Cake\View; <ide> <del>use Cake\Controller\Controller; <del>use Cake\Core\Configure; <ide> use Cake\Event\EventManager; <ide> use Cake\Network\Request; <ide> use Cake\Network\Response; <ide><path>src/View/Cell.php <ide> */ <ide> namespace Cake\View; <ide> <de...
19
Python
Python
call engine.dispose after fork. closes
e268766c4af2088f0a51074e100fb0d3b45fbfeb
<ide><path>celery/backends/database/session.py <ide> from __future__ import absolute_import <ide> <ide> from collections import defaultdict <add>from multiprocessing.util import register_after_fork <ide> <ide> from sqlalchemy import create_engine <ide> from sqlalchemy.orm import sessionmaker <ide> __all__ = ['ResultS...
1
Ruby
Ruby
add regression test for tz grep
53d68bd964af17484898c5cd5e21a8ce9c359143
<ide><path>actionpack/test/template/form_options_helper_test.rb <ide> def test_time_zone_select_with_priority_zones_as_regexp <ide> "</select>", <ide> html <ide> end <add> <add> def test_time_zone_select_with_priority_zones_as_regexp_using_grep_finds_no_zones <add> @firm = Firm...
1
Javascript
Javascript
remove jstd leftovers
89efb12ed852070a93777c5ff0ed3f9bc822bdf0
<ide><path>angularFiles.js <ide> angularFiles = { <ide> 'test/matchers.js', <ide> 'test/ngScenario/*.js', <ide> 'test/ngScenario/output/*.js', <del> 'test/ngScenario/jstd-scenario-adapter/*.js', <ide> 'test/*.js', <ide> 'test/auto/*.js', <ide> 'test/ng/**/*.js', <ide> angularFiles = { <ide> ...
2
Javascript
Javascript
set custom schema
07cf7e3e7228ee43ea9e70520b0b4b137c86c75e
<ide><path>client/gatsby-node.js <ide> exports.onCreatePage = async ({ page, actions }) => { <ide> } <ide> }; <ide> <add>exports.createSchemaCustomization = ({ actions }) => { <add> const { createTypes } = actions; <add> const typeDefs = ` <add> type ChallengeNode implements Node { <add> files: ChallengeFi...
1
Javascript
Javascript
add plunkr support
7c67b2fb6afbc18f3593c64a5f339f04f9003f3c
<ide><path>docs/src/templates/js/docs.js <ide> docsApp.directive.code = function() { <ide> <ide> docsApp.directive.sourceEdit = function(getEmbeddedTemplate) { <ide> return { <del> template: '<button ng-click="fiddle($event)" class="btn btn-primary pull-right"><i class="icon-pencil icon-white"></i> Edit</button>\...
1
Python
Python
remove check for containerimage
516840542769f8c879973e356b8a121d7581b439
<ide><path>libcloud/container/drivers/lxd.py <ide> def deploy_container(self, name, image, cluster=None, <ide> if parameters: <ide> parameters = json.loads(parameters) <ide> <del> if isinstance(image, ContainerImage): <del> container = self._deploy_container_from_image(name=name, ...
1
PHP
PHP
add new tests
591d2194b731804c438301a82522190c4397581c
<ide><path>tests/Integration/Database/EloquentFactoryBuilderTest.php <ide> protected function getEnvironmentSetUp($app) <ide> ]; <ide> }); <ide> <add> $factory->define(FactoryBuildableProfile::class, function (Generator $faker) { <add> return [ <add> 'user_id' => fu...
1
Python
Python
fix code style
c5a407e95af8127fff0e5e5c8e0ebcaeed0288e1
<ide><path>spacy/tests/vocab_vectors/test_vocab_api.py <ide> def test_vocab_api_contains(en_vocab, text): <ide> <ide> def test_vocab_writing_system(en_vocab): <ide> assert en_vocab.writing_system["direction"] == "ltr" <del> assert en_vocab.writing_system["has_case"] == True <add> assert en_vocab.writing_syst...
1
Python
Python
replace deprecated functions
a46f826f5e3f063dc39cce339d4f836a167ce6b1
<ide><path>im2txt/im2txt/ops/image_embedding_test.py <ide> def testTrainableTrueIsTrainingTrue(self): <ide> self.assertEqual([self._batch_size, 2048], embeddings.get_shape().as_list()) <ide> <ide> self._verifyParameterCounts() <del> self._assertCollectionSize(376, tf.GraphKeys.VARIABLES) <add> self._asse...
1
PHP
PHP
add usetailwind method
bf1eef400951dcee04839a9ab7c15da1a807f89c
<ide><path>src/Illuminate/Pagination/AbstractPaginator.php <ide> public static function defaultSimpleView($view) <ide> static::$defaultSimpleView = $view; <ide> } <ide> <add> /** <add> * Indicate that Tailwind styling should be used for generated links. <add> * <add> * @return void <add> ...
1
Python
Python
fix xlnet run_classifier
3fab0abd251488247e66ee89d34ea2e2185fa2fa
<ide><path>official/nlp/xlnet/run_classifier.py <ide> def _run_evaluation(test_iterator): <ide> _test_step_fn, args=(next(test_iterator),)) <ide> return logits, labels, masks <ide> <del> # pylint: disable=protected-access <del> test_iterator = data_utils._get_input_iterator(test_input_fn, strategy) <del>...
1
Python
Python
add "lovin'" to tokenizer exceptions (see )
123810b6ded7a0828c1c4c072fcc8b1287a0c5ed
<ide><path>spacy/lang/en/tokenizer_exceptions.py <ide> {ORTH: "Ma'am", LEMMA: "madam", NORM: "madam"}, <ide> {ORTH: "o'clock", LEMMA: "o'clock", NORM: "o'clock"}, <ide> {ORTH: "O'clock", LEMMA: "o'clock", NORM: "o'clock"}, <add> {ORTH: "lovin'", LEMMA: "love", NORM: "loving"}, <add> {ORTH: "Lovin'", L...
1
Java
Java
add debug statements to uimanager
950cefa2d669c30bac92dee948c597f87bdcfb5b
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java <ide> import java.util.List; <ide> import java.util.Map; <ide> <add>import com.facebook.common.logging.FLog; <ide> import com.facebook.react.animation.Animation; <ide> import com.facebook.react.bridge.Callback; <ide> import com.fac...
1
PHP
PHP
fix alphabetical order
9051a027c56a415e81063ad587a143b276956ad9
<ide><path>resources/lang/en/validation.php <ide> 'ip' => 'The :attribute must be a valid IP address.', <ide> 'ipv4' => 'The :attribute must be a valid IPv4 address.', <ide> 'ipv6' => 'The :attribute must be a valid IPv6 address.', <del> 'mac_address' => 'The :attribute must be a valid MAC address.', <id...
1
Python
Python
add tests for initializations
eda1a9e0a4eb786128a117409f26c5bf072ea172
<ide><path>keras/initializations.py <ide> def uniform(shape, scale=0.05): <ide> <ide> <ide> def normal(shape, scale=0.05): <del> return K.variable(np.random.randn(*shape) * scale) <add> return K.variable(np.random.normal(loc=0.0, scale=scale, size=shape)) <ide> <ide> <ide> def lecun_uniform(shape): <ide> def ...
2
Python
Python
fix linting errors
6326f9820eb785ce521c7d376825a4d3e36c8f95
<ide><path>libcloud/common/base.py <ide> def request(self, action, params=None, data=None, headers=None, <ide> url = '?'.join((action, urlencode(params, doseq=True))) <ide> else: <ide> url = action <del> <add> <ide> # IF connection has not yet been established <id...
2
Javascript
Javascript
fix input type in examples
bd41bd594cb9646c5090c54de0bbb144ac3e46b5
<ide><path>src/ng/filter/limitTo.js <ide> }]); <ide> </script> <ide> <div ng-controller="ExampleController"> <del> Limit {{numbers}} to: <input type="integer" ng-model="numLimit"> <add> Limit {{numbers}} to: <input type="number" step="1" ng-model="numLimit"> <ide> <p>Ou...
1
Text
Text
use "repository" in maintaining-v8 doc
b11d3f15b31e7a39d3f6a6e0d3f59f021144e813
<ide><path>doc/guides/maintaining-V8.md <ide> Refs: https://github.com/v8/v8/commit/a51f429772d1e796744244128c9feeab4c26a854 <ide> PR-URL: https://github.com/nodejs/node/pull/7833 <ide> ``` <ide> <del>* Open a PR against the `v6.x-staging` branch in the Node.js repo. Launch the <del> normal and [V8 CI][] using the No...
1
Java
Java
update genericwac to implement configurablewac
fb9fb00c04143480aa39b6538f4d71aba461571b
<ide><path>org.springframework.web/src/main/java/org/springframework/web/context/support/GenericWebApplicationContext.java <ide> /* <del> * Copyright 2002-2009 the original author or authors. <add> * Copyright 2002-2011 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (th...
1
Text
Text
fix broken link
acab4c5f70c213d628bc90619de816ee593c3d72
<ide><path>docs/basics/DataFlow.md <ide> Redux architecture revolves around a **strict unidirectional data flow**. <ide> <ide> This means that all data in an application follows the same lifecycle pattern, making the logic of your app more predictable and easier to understand. It also encourages data normalization, so...
1
Ruby
Ruby
convert uninstall_postflight test to spec
0a4bc0e3b4526dacf2045b12741c1359b43607bc
<add><path>Library/Homebrew/cask/spec/cask/dsl/uninstall_postflight_spec.rb <del><path>Library/Homebrew/cask/test/cask/dsl/uninstall_postflight_test.rb <del>require "test_helper" <add>require "spec_helper" <ide> <ide> describe Hbc::DSL::UninstallPostflight do <ide> let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FI...
1
Java
Java
add webclient.filter method
9e720330366bafa3ebeaed3cd99e5bca710308d5
<ide><path>spring-web/src/main/java/org/springframework/web/client/reactive/DefaultWebClientBuilder.java <ide> private Mono<ClientResponse> exchangeInternal(ClientRequest<?> request) { <ide> this.strategies)); <ide> } <ide> <add> @Override <add> public WebClient filter(ExchangeFilterFunction filter) { <add>...
3
PHP
PHP
fix undefined variables
f7f7cfdf3c81dd3d38a70388f0328ef354da187d
<ide><path>src/Routing/RouteCollection.php <ide> public function parse($url, $method = '') <ide> */ <ide> public function parseRequest(ServerRequestInterface $request) <ide> { <del> $method = $request->getMethod(); <ide> $uri = $request->getUri(); <add> $method = $request->getMethod()...
1
Mixed
Python
change provider configuration keys for oauth
f0727b379e6c954a48d4c0b52b0539cf57bffb3f
<ide><path>UPDATING.md <ide> All changes made are backward compatible, but if you use the old import paths yo <ide> see a deprecation warning. The old import paths can be abandoned in the future. <ide> <ide> <add>### Breaking Change in OAuth <add> <add>The flask-ouathlib has been replaced with authlib because flask-o...
2
Python
Python
drop default 'utf-8' to .encode()/.decode()
513a49d63b6332e373c89fb0737a0745c1f0a734
<ide><path>rest_framework/fields.py <ide> def to_internal_value(self, data): <ide> try: <ide> if self.binary or getattr(data, 'is_json_string', False): <ide> if isinstance(data, bytes): <del> data = data.decode('utf-8') <add> data = data.decode()...
13
PHP
PHP
expand doc blocks
b811bbc50dc1c341300f737560a16abb8eaa2ed7
<ide><path>Cake/ORM/Behavior.php <ide> * ### Mixin methods <ide> * <ide> * Behaviors can provide mixin like features by declaring public <del> * methods. These methods should expect the Table instance to be <del> * shifted onto the parameter list. <add> * methods. These methods will be accessible on the tables the <...
2
Go
Go
fix linting errors
d43bcc8974122faed16ac34cfe2b5da400948d3e
<ide><path>daemon/logger/journald/read.go <ide> func (s *journald) Close() error { <ide> return nil <ide> } <ide> <del>// convert error code returned from a sd_journal_* function <add>// CErr converts error code returned from a sd_journal_* function <ide> // (which returns -errno) to a string <ide> func CErr(ret C.in...
1
Text
Text
fix typo in actioncontroller overview
742b57475adfc6ad9e1ff7a6c37c83e63fb6803c
<ide><path>guides/source/action_controller_overview.md <ide> Rails keeps a log file for each environment in the `log` folder. These are extre <ide> <ide> ### Parameters Filtering <ide> <del>You can filter certain request parameters from your log files by appending them to `config.filter_parameters` in the application...
1
Javascript
Javascript
fix style in readline
2d09ef854118692eefd6f04dbd8354811f8a78be
<ide><path>lib/readline.js <ide> Interface.prototype._ttyWrite = function (b) { <ide> <ide> case 27: /* escape sequence */ <ide> var next_word, next_non_word, previous_word, previous_non_word; <del> if (b[1] === 98 && this.cursor > 0) { // meta-b - backward word <del> previous_word = this.line.slice(...
1
Javascript
Javascript
improve challenge logs
688a3dcc7b4a7c3d111e1c9c9be25160033a1f2b
<ide><path>client/src/client/workers/test-evaluator.js <ide> const __utils = (() => { <ide> self.postMessage(data); <ide> } <ide> <del> function log(msg) { <del> if (!(msg instanceof chai.AssertionError)) { <add> function log(...msgs) { <add> if (msgs && msgs[0] && !(msgs[0] instanceof chai.AssertionErro...
1
Text
Text
fix a typo in the sliced reducer
bd6ddd840d19e2a4ac0006ec12799abf9f2bc2ea
<ide><path>docs/tutorials/fundamentals/part-3-state-actions-reducers.md <ide> export default function todosReducer(state = initialState, action) { <ide> return [ <ide> ...state, <ide> { <del> id: nextTodoId(state.todos), <add> id: nextTodoId(state), <ide> text: action.p...
1