hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
8044fd78f4120ec468631f85e3a597187e0f68bf | diff --git a/src/Item.php b/src/Item.php
index <HASH>..<HASH> 100755
--- a/src/Item.php
+++ b/src/Item.php
@@ -605,6 +605,10 @@ class Item
*/
public function can($ability, $model, $user = false)
{
+ if (app()->runningInConsole()) {
+ return $this;
+ }
+
if ($user === fa... | No checking authorization if running in console | hnhdigital-os_laravel-navigation-builder | train | php |
9e632c48baa5dd1f69e3b74c5b9bc01c369a7959 | diff --git a/biodata-models/src/main/java/org/opencb/biodata/models/variant/Variant.java b/biodata-models/src/main/java/org/opencb/biodata/models/variant/Variant.java
index <HASH>..<HASH> 100644
--- a/biodata-models/src/main/java/org/opencb/biodata/models/variant/Variant.java
+++ b/biodata-models/src/main/java/org/open... | Replace 'chr' and derivatives only when they are at the beginning of the chromosome name | opencb_biodata | train | java |
a2bb8c544b02a6772feba5f840650d8712374677 | diff --git a/classes/droplet.py b/classes/droplet.py
index <HASH>..<HASH> 100644
--- a/classes/droplet.py
+++ b/classes/droplet.py
@@ -1,7 +1,22 @@
from urlparse import urljoin
class Droplet(JSObject):
- ### Should the `region` and `image` attributes be objects instead of dicts?
+ def __init__(self, state):
+... | The region, image, and size attributes of Droplets are now all objects. | jwodder_doapi | train | py |
58b4a017cc401680c03b8ae706151ef8d3b2b767 | diff --git a/src/API/Entity.php b/src/API/Entity.php
index <HASH>..<HASH> 100755
--- a/src/API/Entity.php
+++ b/src/API/Entity.php
@@ -509,7 +509,8 @@ class Entity extends Injectable
}
}
- if (isset($relatedRecords) && $relatedRecords) {
+ // only normalize when som... | force api to process related empty result sets so relationships appear | gte451f_phalcon-json-api-package | train | php |
783903161d97d521a47c67db470e13ef8a4774fa | diff --git a/lib/risky.rb b/lib/risky.rb
index <HASH>..<HASH> 100644
--- a/lib/risky.rb
+++ b/lib/risky.rb
@@ -13,7 +13,7 @@ class Risky
require 'risky/indexes'
require 'risky/timestamps'
- include Enumerable
+ extend Enumerable
# Get a model by key. Returns nil if not found. You can also pass opts to
... | Whoops, *extend* enumerable, don't include it. | aphyr_risky | train | rb |
e620d993176d9de18af7f4195817c2e9b03fda3a | diff --git a/openquake/server/views.py b/openquake/server/views.py
index <HASH>..<HASH> 100644
--- a/openquake/server/views.py
+++ b/openquake/server/views.py
@@ -360,8 +360,8 @@ def run_calc(request):
user = utils.get_user_data(request)
try:
- job, _fut = submit_job(einfo[0], temp_dir, request.POST[... | Fixed bug introduced by the removal of dbname
Former-commit-id: 2d<I>cd<I>e7d<I>ab<I>e5d4ed<I>c<I>a0c3f<I> | gem_oq-engine | train | py |
de5661725c3ff81a080917dca8f876c628909cb2 | diff --git a/salt/grains/core.py b/salt/grains/core.py
index <HASH>..<HASH> 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -1384,7 +1384,14 @@ def os_data():
grains.update(_osx_platform_data())
else:
grains['os'] = grains['kernel']
- if grains['kernel'] in ('FreeBSD', 'OpenBSD',... | Use freebsd-version to set osrelease and related grains
Fixes #<I> | saltstack_salt | train | py |
8a6536932ce72440954496eac98876d22764ddf0 | diff --git a/src/featherlight.js b/src/featherlight.js
index <HASH>..<HASH> 100644
--- a/src/featherlight.js
+++ b/src/featherlight.js
@@ -102,7 +102,7 @@
'<span class="'+css+'-close-icon '+ self.namespace + '-close">',
self.closeIcon,
'</span>',
- '<div class="'+self.namespace+'-inner"/>... | Fix IE8
Fix self closed tag in default background that was causing IE8 to fail. | noelboss_featherlight | train | js |
f2958b931e72459c46da7abd154c3b1c15cfff15 | diff --git a/lib/services/presets.go b/lib/services/presets.go
index <HASH>..<HASH> 100644
--- a/lib/services/presets.go
+++ b/lib/services/presets.go
@@ -55,6 +55,7 @@ func NewPresetEditorRole() types.Role {
types.NewRule(types.KindGithub, RW()),
types.NewRule(types.KindClusterAuditConfig, RW()),
typ... | Add KindAuthConnector permission to editor role.
Added KindAuthConnector permission to editor role, this will allow the
preset editor role to create OIDC/SAML/GitHub connectors. | gravitational_teleport | train | go |
2d08a3cedcb4ac90aeaf9bd4d808964d2472f997 | diff --git a/Eloquent/FactoryBuilder.php b/Eloquent/FactoryBuilder.php
index <HASH>..<HASH> 100644
--- a/Eloquent/FactoryBuilder.php
+++ b/Eloquent/FactoryBuilder.php
@@ -306,6 +306,8 @@ class FactoryBuilder
* @param array $definition
* @param array $attributes
* @return array
+ *
+ * @thr... | fix docblock (#<I>) | illuminate_database | train | php |
fb59eeaef5bdc87ca79da1ed2e942d7298f6f45b | diff --git a/uploadfs.js b/uploadfs.js
index <HASH>..<HASH> 100644
--- a/uploadfs.js
+++ b/uploadfs.js
@@ -235,7 +235,7 @@ function Uploadfs() {
// to make the image useful on a website, but since it's a lossy
// operation, we provide an option to disable it
- var orientThis = (orientOr... | gm will report the orientation as the string "Undefined" if it is unknown. This is another situation in which we should not pass the image needlessly through a convert pipeline | punkave_uploadfs | train | js |
c8a0347b78af0e643b1fd3032d100f8e7ed55ee2 | diff --git a/conf/ConfigureFromEnv.php b/conf/ConfigureFromEnv.php
index <HASH>..<HASH> 100644
--- a/conf/ConfigureFromEnv.php
+++ b/conf/ConfigureFromEnv.php
@@ -144,7 +144,7 @@ if(defined('SS_USE_BASIC_AUTH') && SS_USE_BASIC_AUTH) {
if(defined('SS_ERROR_LOG')) {
$logger = Injector::inst()->get('Logger');
if($log... | Fix Monolog constant use
Changed from WARN to WARNING in <I>
<URL> | silverstripe_silverstripe-framework | train | php |
ca8aa598163bbbde7bb94cf527d9ebc518c68d1e | diff --git a/lib/dm-core/resource.rb b/lib/dm-core/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/resource.rb
+++ b/lib/dm-core/resource.rb
@@ -369,7 +369,8 @@ module DataMapper
#
# @api public
def destroy!
- if saved? && repository.delete(Collection.new(query, [ self ])) == 1
+ if s... | Resource#update and Resource#destroy should be idempotent
* The resource may have already been modified or destroyed elsewhere
in the system, so checking the return values of the adapter
method is unecessary. If the method does not raise an exception we
should assume it was successful. | datamapper_dm-core | train | rb |
344146c38f0a1c4c81dd248ffb711a5c345aa0f9 | diff --git a/src/JMS/Serializer/Metadata/Driver/XmlDriver.php b/src/JMS/Serializer/Metadata/Driver/XmlDriver.php
index <HASH>..<HASH> 100644
--- a/src/JMS/Serializer/Metadata/Driver/XmlDriver.php
+++ b/src/JMS/Serializer/Metadata/Driver/XmlDriver.php
@@ -63,7 +63,7 @@ class XmlDriver extends AbstractFileDriver
... | Fixed issue on read only attrubute in XML mappgin | alekitto_serializer | train | php |
1a071d8ce8a04d8b9f2adfb0cf2b0dab4a979a24 | diff --git a/Controller/AbstractController.php b/Controller/AbstractController.php
index <HASH>..<HASH> 100644
--- a/Controller/AbstractController.php
+++ b/Controller/AbstractController.php
@@ -2,6 +2,7 @@
namespace Oneup\UploaderBundle\Controller;
+use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\... | Added a progress method to AbstractController. | 1up-lab_OneupUploaderBundle | train | php |
941f1185b3509b9a31b57b65bf06ef5430acc2e4 | diff --git a/expression/distsql_builtin.go b/expression/distsql_builtin.go
index <HASH>..<HASH> 100644
--- a/expression/distsql_builtin.go
+++ b/expression/distsql_builtin.go
@@ -278,6 +278,8 @@ func getSignatureByPB(ctx sessionctx.Context, sigCode tipb.ScalarFuncSig, tp *ti
f = &builtinArithmeticDivideRealSig{base}... | expression: push ABS to tikv (#<I>) | pingcap_tidb | train | go,go |
f4281318edf9874458d2f022bcfb83efe7d9ad91 | diff --git a/ballet/project_template/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/features/__init__.py b/ballet/project_template/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/features/__init__.py
index <HASH>..<HASH> 100644
--- a/ballet/project_template/{{cookiecutter.project_slug}}/{{cooki... | Build fits mapper even if there are no features
Closes #<I> | HDI-Project_ballet | train | py |
a0056904c1094008fda69ba99d395c7842f227dc | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -109,7 +109,7 @@ Server.prototype.serveClient = function(v){
return require.resolve(file);
};
if (v && !clientSource) {
- clientSource = read(resolvePath( 'socket.io-client/dist/socket.io.min.js')... | [fix] Update path of client file (#<I>) | socketio_socket.io | train | js |
15bb5062267c66b54e163aa85e32075b1863b697 | diff --git a/lib/triagens/ArangoDb/CollectionHandler.php b/lib/triagens/ArangoDb/CollectionHandler.php
index <HASH>..<HASH> 100644
--- a/lib/triagens/ArangoDb/CollectionHandler.php
+++ b/lib/triagens/ArangoDb/CollectionHandler.php
@@ -443,6 +443,9 @@ class CollectionHandler extends
$collection = new Collec... | This got accidentally thrown out in a merge and was causing an error when trying to create a collection while saving a document. | arangodb_arangodb-php | train | php |
c411e96507bfc082cc6624e97b3b65807f13961b | diff --git a/lenstronomy/LensModel/Profiles/numerical_deflections.py b/lenstronomy/LensModel/Profiles/numerical_deflections.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/LensModel/Profiles/numerical_deflections.py
+++ b/lenstronomy/LensModel/Profiles/numerical_deflections.py
@@ -65,7 +65,7 @@ class NumericalAlpha(Le... | minor edit to user-specified interpolated lens model | sibirrer_lenstronomy | train | py |
869b19a07a9ab09a8ab177eeec1b77e663c8af82 | diff --git a/lib/big_brother/cluster_collection.rb b/lib/big_brother/cluster_collection.rb
index <HASH>..<HASH> 100644
--- a/lib/big_brother/cluster_collection.rb
+++ b/lib/big_brother/cluster_collection.rb
@@ -21,7 +21,7 @@ module BigBrother
current_cluster = @clusters[cluster_name]
current_clust... | Use original_cluster variable to improve readability | braintree_big_brother | train | rb |
fe79f2b284714a248f9f6f500f65dab151978875 | diff --git a/core/Log/Handler/StdErrHandler.php b/core/Log/Handler/StdErrHandler.php
index <HASH>..<HASH> 100644
--- a/core/Log/Handler/StdErrHandler.php
+++ b/core/Log/Handler/StdErrHandler.php
@@ -36,17 +36,12 @@ class StdErrHandler extends AbstractProcessingHandler
protected function write(array $record)
... | #<I> Logger refactoring: Simplified StdErrHandler now that logging is disabled in tests | matomo-org_matomo | train | php |
65df39a21ee7f275e44e3485ff6766f1bcf8aed3 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -3,24 +3,19 @@ var should = require('should');
var gulpScriptsIndex = require('../lib');
var gulp = require('gulp');
var gutil = require('gulp-util');
-var File = require('vinyl');
+var through = require... | simplified testcases (expected results) | burnedikt_gulp-scripts-index | train | js |
8cb1d39d20c6d46ab9675a44a0f3b2a67d1ab20a | diff --git a/boxview/__init__.py b/boxview/__init__.py
index <HASH>..<HASH> 100644
--- a/boxview/__init__.py
+++ b/boxview/__init__.py
@@ -1,7 +1,7 @@
__version_info__ = {
'major': 1,
'minor': 1,
- 'micro': 2,
+ 'micro': 3,
'releaselevel': 'beta',
'serial': 1
} | Version bumped to <I>. | caxap_python-boxview | train | py |
bc2e33f4e3deb9d930fe808a2b6540f91a310d62 | diff --git a/cdm/src/test/java/ucar/nc2/iosp/hdf5/TestH5.java b/cdm/src/test/java/ucar/nc2/iosp/hdf5/TestH5.java
index <HASH>..<HASH> 100644
--- a/cdm/src/test/java/ucar/nc2/iosp/hdf5/TestH5.java
+++ b/cdm/src/test/java/ucar/nc2/iosp/hdf5/TestH5.java
@@ -45,7 +45,7 @@ public class TestH5 {
TestSuite suite= new Tes... | remove TestN4 until not depedndent on local files | Unidata_thredds | train | java |
4dd3db1158b1a5392b59fc1fd6a5dc2f0d9d2d5f | diff --git a/lib/musicbrainz/models/recording.rb b/lib/musicbrainz/models/recording.rb
index <HASH>..<HASH> 100644
--- a/lib/musicbrainz/models/recording.rb
+++ b/lib/musicbrainz/models/recording.rb
@@ -1,7 +1,7 @@
module MusicBrainz
class Recording < BaseModel
- field :id, Integer
- field :mbid, Integer
+ ... | accidentally set id/mbid as an integer rather than string. | localhots_musicbrainz | train | rb |
95baa37d3857b87978d4c52affab5735a90d9ffb | diff --git a/pyportify/__init__.py b/pyportify/__init__.py
index <HASH>..<HASH> 100644
--- a/pyportify/__init__.py
+++ b/pyportify/__init__.py
@@ -1 +1 @@
-__version__ = '0.3.5'
+__version__ = '0.3.6'
diff --git a/pyportify/app.py b/pyportify/app.py
index <HASH>..<HASH> 100644
--- a/pyportify/app.py
+++ b/pyportify/app... | use asyncio.gather() since it returns results ordered | rckclmbr_pyportify | train | py,py |
fc148691410ecc0bcde86a6a17ea910d4cec7f4a | diff --git a/lib/inveniogc.py b/lib/inveniogc.py
index <HASH>..<HASH> 100644
--- a/lib/inveniogc.py
+++ b/lib/inveniogc.py
@@ -207,7 +207,7 @@ def clean_tempfiles():
write_message("- deleting old temporary files attached with BibEdit")
gc_exec_command('find %s -name "bibedit*.tmp"'
' -atime +%s -exec... | BibEdit: change cache folder
* Changes from tmp-shared to tmp-shared/bibedit-cache
Conflicts:
Makefile.am | inveniosoftware_invenio-accounts | train | py |
eef96214044fa19e5ffe48e0874c6a9e3cbc773a | diff --git a/core/match_filter.py b/core/match_filter.py
index <HASH>..<HASH> 100644
--- a/core/match_filter.py
+++ b/core/match_filter.py
@@ -143,6 +143,10 @@ def normxcorr2(template, image):
ccc=cv2.matchTemplate(cv_image,cv_template,cv2.TM_CCOEFF_NORMED)
if np.all(np.isnan(cv_image)) and np.all(np.isnan(cv... | Debugging inf mean on pan
Former-commit-id: <I>c5a<I>cee7e8d3b<I>e9f<I>eaff1c4c<I>fc | eqcorrscan_EQcorrscan | train | py |
8f6257ceb5d073070d9a626fcd8e564fc1f6aa6a | diff --git a/blots/scroll.js b/blots/scroll.js
index <HASH>..<HASH> 100644
--- a/blots/scroll.js
+++ b/blots/scroll.js
@@ -164,6 +164,10 @@ class Scroll extends ScrollBlot {
if (!Array.isArray(mutations)) {
mutations = this.observer.takeRecords();
}
+ mutations = mutations.filter(({ target }) => {
+... | Ignore mutations happens in nested Quill instance | quilljs_quill | train | js |
68c0b12fe26b5a194e135dfb3f3489721b9e21f8 | diff --git a/MapView.js b/MapView.js
index <HASH>..<HASH> 100644
--- a/MapView.js
+++ b/MapView.js
@@ -159,7 +159,7 @@ define(function (require, exports, module) {
// Create leaflet Map
case MapType.LEAFLET:
- this.map = L.map(elm).setView(this.options.mapOptions.center, t... | Fix: Leaflet initialisation only processed .center and .zoom, and none of the other options in mapOptions | IjzerenHein_famous-map | train | js |
63f5c36d7876e1c93ffb2012936272fc64943f39 | diff --git a/pandas/tests/series/test_constructors.py b/pandas/tests/series/test_constructors.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/series/test_constructors.py
+++ b/pandas/tests/series/test_constructors.py
@@ -1035,6 +1035,13 @@ class TestSeriesConstructors:
expected.iloc[1] = 1
tm.assert... | TST: Test Series constructor with dict containing lists and explicit … (#<I>) | pandas-dev_pandas | train | py |
c9c5f5ab5c8033dcb11260ccec22fe9b6d1f25c4 | diff --git a/lib/hydrate.js b/lib/hydrate.js
index <HASH>..<HASH> 100644
--- a/lib/hydrate.js
+++ b/lib/hydrate.js
@@ -3,6 +3,13 @@ import response from './response'
export default function (req) {
return function (value) {
return new Promise((resolve, reject) => {
+ if (!value) {
+ var error = new... | feat(hydrate): throw error on empty cache | RasCarlito_axios-cache-adapter | train | js |
93c19bec852373a7d5279d2b24a664948438c2ff | diff --git a/src/Databases/MySql.php b/src/Databases/MySql.php
index <HASH>..<HASH> 100644
--- a/src/Databases/MySql.php
+++ b/src/Databases/MySql.php
@@ -99,7 +99,7 @@ class MySql extends DbDumper
public function getDumpCommand(string $dumpFile, string $temporaryCredentialsFile): string
{
$command =... | Fix a windows incompatibility (#<I>) | spatie_db-dumper | train | php |
8037ec4f16f06a0a030556df09e1a04d552590d8 | diff --git a/lib/dbf/record.rb b/lib/dbf/record.rb
index <HASH>..<HASH> 100644
--- a/lib/dbf/record.rb
+++ b/lib/dbf/record.rb
@@ -58,11 +58,12 @@ module DBF
end
def init_attribute(column) #nodoc
- if column.memo?
+ value = if column.memo?
@memo.get get_memo_start_block(column)
... | fix transncode of memo columns. | infused_dbf | train | rb |
d6c84f1a5dc3eb0539227e4f7f0e2d042355430b | diff --git a/lib/Connection.js b/lib/Connection.js
index <HASH>..<HASH> 100644
--- a/lib/Connection.js
+++ b/lib/Connection.js
@@ -44,7 +44,8 @@ class Connection {
keepAlive: true,
keepAliveMsecs: 1000,
maxSockets: keepAliveFalse ? Infinity : 256,
- maxFreeSockets: 256
+ maxFree... | Updated default http agent configuration (#<I>) | elastic_elasticsearch-js | train | js |
5ee8e6b607b1dcc4faaeb976b597c901c5adf483 | diff --git a/Core/Autoloader/BundlesAutoloader.php b/Core/Autoloader/BundlesAutoloader.php
index <HASH>..<HASH> 100644
--- a/Core/Autoloader/BundlesAutoloader.php
+++ b/Core/Autoloader/BundlesAutoloader.php
@@ -69,7 +69,7 @@ class BundlesAutoloader
$this->kernelDir = $kernelDir;
$this->vendorDir = $th... | fixed BundlesAutoloader to instantiate the autoloaderCollection when the run process is executed | alphalemon_BootstrapBundle | train | php |
878e3744b7234ef5ab50c8744ff5d02fb61ff1be | diff --git a/go/libkb/test_common.go b/go/libkb/test_common.go
index <HASH>..<HASH> 100644
--- a/go/libkb/test_common.go
+++ b/go/libkb/test_common.go
@@ -201,7 +201,7 @@ func setupTestContext(tb testing.TB, name string, tcPrev *TestContext) (tc TestC
return
}
// Uniquify name, since multiple tests may use the s... | stop putting a space in testing directory names | keybase_client | train | go |
82150da3d9d81aef118b3d729b455776c60fcef8 | diff --git a/src/language/coffeescript.js b/src/language/coffeescript.js
index <HASH>..<HASH> 100644
--- a/src/language/coffeescript.js
+++ b/src/language/coffeescript.js
@@ -2,7 +2,7 @@
* Coffeescript patterns
*
* @author Craig Campbell
- * @version 1.0
+ * @version 1.0.1
*/
Rainbow.extend('coffeescript', [
... | Make sure coffeescript regex comments end at new line | ccampbell_rainbow | train | js |
73652ca0e5e243383b00cd7108c9315c88252796 | diff --git a/dftimewolf/lib/processors/stackdriver_timesketch.py b/dftimewolf/lib/processors/stackdriver_timesketch.py
index <HASH>..<HASH> 100644
--- a/dftimewolf/lib/processors/stackdriver_timesketch.py
+++ b/dftimewolf/lib/processors/stackdriver_timesketch.py
@@ -208,7 +208,7 @@ class StackdriverTimesketch(BaseModul... | Add suffix to temporary filename (#<I>) | log2timeline_dftimewolf | train | py |
5833321e604e91a30e7feee5518fe4e3c066076f | diff --git a/karma.conf.ci.js b/karma.conf.ci.js
index <HASH>..<HASH> 100644
--- a/karma.conf.ci.js
+++ b/karma.conf.ci.js
@@ -36,27 +36,12 @@ module.exports = function (config) {
base: 'SauceLabs',
browserName: 'chrome'
},
- slChromeBeta: {
- base: 'SauceLabs',
- ... | Disable firefox/chrome dev because they no longer start in Sauce Labs :( | stacktracejs_stacktrace.js | train | js |
8077cfb7e6348de5ddf5588b8dd824696d242393 | diff --git a/AllTestsIntegration.php b/AllTestsIntegration.php
index <HASH>..<HASH> 100644
--- a/AllTestsIntegration.php
+++ b/AllTestsIntegration.php
@@ -24,7 +24,7 @@ require_once 'AllTestsRunner.php';
/**
* This class is used to run all CE|PE|EE edition integration tests.
*/
-class AllTestsSelenium extends AllT... | Set correct class name for AllTestsIntegration | OXID-eSales_testing_library | train | php |
aab11ecde2c8f2afa48e5670b5f1933fcc552d22 | diff --git a/exchangelib/folders.py b/exchangelib/folders.py
index <HASH>..<HASH> 100644
--- a/exchangelib/folders.py
+++ b/exchangelib/folders.py
@@ -296,6 +296,16 @@ class Folder(EWSElement):
def fetch(self, *args, **kwargs):
return self.account.fetch(folder=self, *args, **kwargs)
+ def wipe(self):... | Add a wipe() method on Folder | ecederstrand_exchangelib | train | py |
b176dd8453e78f38d2dde11ce566baddf76fc430 | diff --git a/src/Utility/Inflector.php b/src/Utility/Inflector.php
index <HASH>..<HASH> 100644
--- a/src/Utility/Inflector.php
+++ b/src/Utility/Inflector.php
@@ -150,7 +150,7 @@ class Inflector {
*/
protected static $_uninflected = array(
'.*[nrlm]ese', '.*data', '.*deer', '.*fish', '.*measles', '.*ois',
- '.*... | Fix address not being inflected correctly.
The unification of the uninflected rules caused address(es)? to be
inflected incorrectly. Removing that special case seems like the best
option. | cakephp_cakephp | train | php |
8f48f5849e0442b945671ae690722cdd271bdd08 | diff --git a/Entity/AbstractUpload.php b/Entity/AbstractUpload.php
index <HASH>..<HASH> 100644
--- a/Entity/AbstractUpload.php
+++ b/Entity/AbstractUpload.php
@@ -17,11 +17,6 @@ abstract class AbstractUpload
*/
protected $path;
- /**
- * @ORM\Column(type="boolean")
- */
- protected $temporary... | [UploadBundle] Removed temporary field from AbstractUpload. | ruvents_ruwork-upload-bundle | train | php |
e0ef0c77280fa62bae3a33b5cefe8582ea2cb5c2 | diff --git a/javascript/bin/generate_static_data.js b/javascript/bin/generate_static_data.js
index <HASH>..<HASH> 100755
--- a/javascript/bin/generate_static_data.js
+++ b/javascript/bin/generate_static_data.js
@@ -23,8 +23,8 @@
///
// Load the base files.
-load('../../external/bbop.js');
-load('../staging/amigo2.j... | remove the need for a build step by using npm dist packages | geneontology_amigo | train | js |
df5ba7a0c4ecdb4796ff6048762eb4d66c876d47 | diff --git a/src/SearchableTrait.php b/src/SearchableTrait.php
index <HASH>..<HASH> 100644
--- a/src/SearchableTrait.php
+++ b/src/SearchableTrait.php
@@ -202,7 +202,7 @@ trait SearchableTrait
*/
protected function addSelectsToQuery(Builder $query, array $selects)
{
- $selects = new Expression('a... | Use MAX function for relevance aggregation | nicolaslopezj_searchable | train | php |
1ebea8ca0860c85eef90fc4d2fdf743ffab30d87 | diff --git a/base/tests.py b/base/tests.py
index <HASH>..<HASH> 100644
--- a/base/tests.py
+++ b/base/tests.py
@@ -260,6 +260,7 @@ class TestRequestProfile(TestCase):
}, follow=True)
self.assertRedirects(response, reverse("external"))
self.assertEqual(1, ProfileRequest.objects.filter(username=username).co... | Delete requests between testing different usernames | knagra_farnsworth | train | py |
bec52f19b5f8d3389b2925d320193a89f59e3674 | diff --git a/lib/formslib.php b/lib/formslib.php
index <HASH>..<HASH> 100644
--- a/lib/formslib.php
+++ b/lib/formslib.php
@@ -214,7 +214,7 @@ class moodleform {
}
$errors[$elname] = $this->_upload_manager->files[$elname]['uploadlog'];
- } else if ($this->_uplo... | fixes notice error caused in form validation of file attachments - need not assume variable is set but use empty() | moodle_moodle | train | php |
9c6f0f8ecf80fbd27b65d1357026e5b94e740410 | diff --git a/tests/test_treewalkers.py b/tests/test_treewalkers.py
index <HASH>..<HASH> 100644
--- a/tests/test_treewalkers.py
+++ b/tests/test_treewalkers.py
@@ -184,7 +184,7 @@ class TestCase(unittest.TestCase):
document = p.parse(StringIO.StringIO(input))
document = treeClass.get("adapter", lam... | Update test_treewalker now that TreeWalker are iterable objects
--HG--
extra : convert_revision : svn%3Aacbfec<I>-<I>-<I>-a<I>-<I>a<I>e<I>e0/trunk%<I> | html5lib_html5lib-python | train | py |
e6ea817dd12eb5c452a22a9bf6dedf10673d725f | diff --git a/lib/gauntlt/attack_adapters/support/python_script_helper.rb b/lib/gauntlt/attack_adapters/support/python_script_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/gauntlt/attack_adapters/support/python_script_helper.rb
+++ b/lib/gauntlt/attack_adapters/support/python_script_helper.rb
@@ -31,7 +31,7 @@ module ... | Turn off debugging now that Travis is fixed | gauntlt_gauntlt | train | rb |
7e9707a7d7b357d9b5167c6dd0dd250ab207f6ac | diff --git a/spec/unit/indirector/facts/inventory_active_record_spec.rb b/spec/unit/indirector/facts/inventory_active_record_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/indirector/facts/inventory_active_record_spec.rb
+++ b/spec/unit/indirector/facts/inventory_active_record_spec.rb
@@ -32,6 +32,7 @@ describe "P... | maint: Fix sporadic sqlite error
ActiveRecord::StatementInvalid: SQLite3::IOException: disk I/O error
This happened if you ran these tests in the following order since Rails
wasn't disconnecting between tests.
rspec spec/unit/indirector/facts/inventory_active_record_spec.rb
spec/unit/indirector/node/active_record_sp... | puppetlabs_puppet | train | rb |
619b5dec6889b456a829f6432b4486b5c3513ae4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,13 +5,13 @@ from setuptools import find_packages
setup(
name='omrdatasettools',
packages=find_packages('.'),
- version='0.5',
+ version='0.6',
description='A collection of tools that simplify the downl... | Publishing Version <I> with Capitan-Dataset included | apacha_OMR-Datasets | train | py |
61580604982697a68a0b692e28b97154ed819d53 | diff --git a/concrete/config/concrete.php b/concrete/config/concrete.php
index <HASH>..<HASH> 100644
--- a/concrete/config/concrete.php
+++ b/concrete/config/concrete.php
@@ -8,7 +8,7 @@ return [
*/
'version' => '8.5.1',
'version_installed' => '8.5.1',
- 'version_db' => '20190301133300', // the key o... | Opps forgot to change version_db as hissy mentioned | concrete5_concrete5 | train | php |
450ab84998a65ef97ed290b80a311e1cd606286f | diff --git a/lib/http-parser/parser.rb b/lib/http-parser/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/http-parser/parser.rb
+++ b/lib/http-parser/parser.rb
@@ -10,8 +10,8 @@ module HttpParser
#
# Returns a new request/response instance variable
#
- def self.new_instance &block
- ... | Fix Ruby <I> syntax warning
Resolves: #4 | cotag_http-parser | train | rb |
f1164853433b19b675c1013f37abb656ac6abc53 | diff --git a/app/models/tag.rb b/app/models/tag.rb
index <HASH>..<HASH> 100644
--- a/app/models/tag.rb
+++ b/app/models/tag.rb
@@ -24,7 +24,7 @@ class Tag < ActiveRecord::Base
model_klass = ResourceType::TYPES[resource_type_name][:model]
if model_klass
- tags = model_klass.tags(self.id) if mode... | Fixed a tags glitch that was checking for id instead of name | Katello_katello | train | rb |
44b51cdf8e96c41e1542d40419525f84a358e92a | diff --git a/src/Psalm/Internal/Analyzer/CommentAnalyzer.php b/src/Psalm/Internal/Analyzer/CommentAnalyzer.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/Analyzer/CommentAnalyzer.php
+++ b/src/Psalm/Internal/Analyzer/CommentAnalyzer.php
@@ -572,8 +572,17 @@ class CommentAnalyzer
}
}
- ... | Support @inherits and @extends keywords too | vimeo_psalm | train | php |
dd28bd142df962a487a86744ce414df519d855f7 | diff --git a/csrf.go b/csrf.go
index <HASH>..<HASH> 100644
--- a/csrf.go
+++ b/csrf.go
@@ -72,9 +72,9 @@ import (
"strings"
"time"
- "github.com/adg/xsrftoken"
"github.com/go-martini/martini"
"github.com/martini-contrib/sessions"
+ "golang.org/x/net/xsrftoken"
)
// CSRF is used to get the current token an... | xsrf repo moved | martini-contrib_csrf | train | go |
fb4cd72329ec9c563c7f56a9d509642473ebb6c6 | diff --git a/packages/swagger2openapi/common.js b/packages/swagger2openapi/common.js
index <HASH>..<HASH> 100644
--- a/packages/swagger2openapi/common.js
+++ b/packages/swagger2openapi/common.js
@@ -147,7 +147,9 @@ const httpVerbs = [
];
function sanitise(s) {
- return s.replace(/[^A-Za-z0-9_\-\.]+|\s+/gm, '_');... | common; only sanitise first component of names/refs | Mermade_oas-kit | train | js |
88e525cf93cb9d7ab95d679d72b9aa427fc1867f | diff --git a/src/Model.php b/src/Model.php
index <HASH>..<HASH> 100644
--- a/src/Model.php
+++ b/src/Model.php
@@ -10,7 +10,6 @@ use atk4\core\DynamicMethodTrait;
use atk4\core\FactoryTrait;
use atk4\core\HookTrait;
use atk4\core\InitializerTrait;
-use atk4\core\NameTrait;
use atk4\core\ReadableCaptionTrait;
use a... | Remove NameTrait trait from Model (#<I>) | atk4_data | train | php |
2ec5a33bd6b74ec7ad31148fc1913a34634d845a | diff --git a/plugin/message/Manager/MessageManager.php b/plugin/message/Manager/MessageManager.php
index <HASH>..<HASH> 100644
--- a/plugin/message/Manager/MessageManager.php
+++ b/plugin/message/Manager/MessageManager.php
@@ -183,6 +183,8 @@ class MessageManager
);
}
+ $this->om->persist... | [MessageBundle] Persist $message ? no idea why required. (#<I>) | claroline_Distribution | train | php |
6e8245418afe01fd1d53fcf721950c3fb9299f66 | diff --git a/src/Views/class-template.php b/src/Views/class-template.php
index <HASH>..<HASH> 100644
--- a/src/Views/class-template.php
+++ b/src/Views/class-template.php
@@ -82,7 +82,7 @@ class Template {
}
// Explicitly passed data may overwrite global data...
- extract( $data );
+ extract( $data, EXTR_SKIP... | Prevent WP globals being overridden in templates. Fixes #<I>. | ssnepenthe_soter | train | php |
b3246800a1414ebabb8f7881f59d6918cc52b5b7 | diff --git a/cohorts/load.py b/cohorts/load.py
index <HASH>..<HASH> 100644
--- a/cohorts/load.py
+++ b/cohorts/load.py
@@ -1048,11 +1048,15 @@ class Cohort(Collection):
for i, row in df.iterrows():
patient_id = row["patient_id"]
patient_cache_dir = path.join(th... | try not to fail when provenance file does not exist | hammerlab_cohorts | train | py |
34464037ce6fa81672fbb8f6b51381acb5d4c3a2 | diff --git a/lib/vagrant/version.rb b/lib/vagrant/version.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/version.rb
+++ b/lib/vagrant/version.rb
@@ -2,5 +2,5 @@ module Vagrant
# This will always be up to date with the current version of Vagrant,
# since it is used to generate the gemspec and is also the source ... | <I> Maintenance release. See CHANGELOG for details. | hashicorp_vagrant | train | rb |
b39b96668f2c2dd321cc19e83ce34f63094ef3a0 | diff --git a/lib/jellyfish/swagger.rb b/lib/jellyfish/swagger.rb
index <HASH>..<HASH> 100644
--- a/lib/jellyfish/swagger.rb
+++ b/lib/jellyfish/swagger.rb
@@ -101,7 +101,7 @@ module Jellyfish
end
def swagger_path nickname
- nickname[%r{^/[^/]+}]
+ nickname[%r{^/[^/]*}]
end
def nickname... | path could simply be root! (/) | godfat_jellyfish | train | rb |
5003b41dae3ebbc0e6d439c6eabd6d315a799951 | diff --git a/test/unit/query/builder.js b/test/unit/query/builder.js
index <HASH>..<HASH> 100644
--- a/test/unit/query/builder.js
+++ b/test/unit/query/builder.js
@@ -2395,4 +2395,26 @@ describe("QueryBuilder", function() {
})
})
+ it("allows join without operator and with value 0 #953", function() {
+ te... | Add tests for a join with value 0 | tgriesser_knex | train | js |
94ab760719698abeb6cdfb61a3812ac747d74f81 | diff --git a/go/vt/servenv/grpc_server.go b/go/vt/servenv/grpc_server.go
index <HASH>..<HASH> 100644
--- a/go/vt/servenv/grpc_server.go
+++ b/go/vt/servenv/grpc_server.go
@@ -87,6 +87,11 @@ var (
// This is the minimum amount of time a client should wait before sending a keepalive ping.
GRPCKeepAliveEnforcementPoli... | servenv: add new keepalive flag to grpc server
GRPCKeepAliveEnforcementPolicyPermitWithoutStream - defaults to false, the same as previous behavior | vitessio_vitess | train | go |
abf46e845cb4d04c9e0b0f986bf0d4ccb9371afe | diff --git a/skeletons/web-extension/background-script.js b/skeletons/web-extension/background-script.js
index <HASH>..<HASH> 100644
--- a/skeletons/web-extension/background-script.js
+++ b/skeletons/web-extension/background-script.js
@@ -76,6 +76,12 @@
* @param {Boolean} force don't use the activeTabs array to che... | Fix inspector in Electron (#<I>)
Electron's Chromium doesn't have `chrome.contextMenus`, so this code was throwing an error and preventing the inspector from working. | emberjs_ember-inspector | train | js |
f9094dd045df83789b907ff762a3a34af7082ba9 | diff --git a/lib/app-store-reviews.js b/lib/app-store-reviews.js
index <HASH>..<HASH> 100644
--- a/lib/app-store-reviews.js
+++ b/lib/app-store-reviews.js
@@ -70,6 +70,8 @@ AppStoreReviews.prototype.getReviews = function (app, country, page) {
}
}
}
+ } else {
+ self.emit('empty', data['feed']['i... | empty event, useful for detecting when no more reviews are available | jcoynel_app-store-reviews | train | js |
e8b2fb112b04d009030a3010e5decdbf2f03d9a9 | diff --git a/patroni.py b/patroni.py
index <HASH>..<HASH> 100755
--- a/patroni.py
+++ b/patroni.py
@@ -92,8 +92,8 @@ class Patroni:
self.ha.state_handler.drop_replication_slots()
except:
logger.exception('Exception when changing replication slots')
- self.sc... | It is better to reap childs before running relatively long sleep | zalando_patroni | train | py |
bbdd837206775a57ae365b75cb80d70e2a71ce6d | diff --git a/src/test/java/com/wizzardo/tools/collections/flow/FlowTest.java b/src/test/java/com/wizzardo/tools/collections/flow/FlowTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/wizzardo/tools/collections/flow/FlowTest.java
+++ b/src/test/java/com/wizzardo/tools/collections/flow/FlowTest.java
@@ -977,4... | add test for async method | wizzardo_tools | train | java |
98783b7d677dff55d729d2dce81842423122e6f1 | diff --git a/src/Components/GridFsSystem.php b/src/Components/GridFsSystem.php
index <HASH>..<HASH> 100644
--- a/src/Components/GridFsSystem.php
+++ b/src/Components/GridFsSystem.php
@@ -367,7 +367,7 @@ class GridFsSystem extends RemoteFileSystem
header('Last-Modified: ' . $date->format(\DateTime::ATOM));
... | Changed file streaming to enable chunks. | dreamfactorysoftware_df-mongodb | train | php |
d9fcff4bc0f6225300cb1535590a89fa49a46e0e | diff --git a/src/async.js b/src/async.js
index <HASH>..<HASH> 100644
--- a/src/async.js
+++ b/src/async.js
@@ -11,8 +11,8 @@ let ajv = new Ajv({
const validator = {}
// compile each validator once
-for (let [name, schema] of Object.entries(schemas)) {
- let validate = ajv.compile(schema)
+for (let name in schemas)... | fix(ES<I>): Object.entries not available in Node 4 & 6 | ahmadnassri_node-har-validator | train | js,js |
e4dd7674164ca72d3635790e2b72bde80fb67910 | diff --git a/pysswords/__main__.py b/pysswords/__main__.py
index <HASH>..<HASH> 100644
--- a/pysswords/__main__.py
+++ b/pysswords/__main__.py
@@ -139,6 +139,8 @@ def run(args=None):
database=database,
credential_name=args.clipboard
)
+ elif args.delete:
+ ... | Fix console interface to raise not implemented on delete credential | marcwebbie_passpie | train | py |
3404fe1160b9e56a0cdf93275305128550792430 | diff --git a/src/main/java/com/sdl/selenium/extjs6/form/DateField.java b/src/main/java/com/sdl/selenium/extjs6/form/DateField.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/sdl/selenium/extjs6/form/DateField.java
+++ b/src/main/java/com/sdl/selenium/extjs6/form/DateField.java
@@ -93,7 +93,8 @@ public class Da... | improvement DateField change focus with mouseOver | sdl_Testy | train | java |
8551076c35967feb31f0f1b21326c2b51b9060dd | diff --git a/hazelcast/src/main/java/com/hazelcast/internal/memory/impl/UnsafeUtil.java b/hazelcast/src/main/java/com/hazelcast/internal/memory/impl/UnsafeUtil.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/internal/memory/impl/UnsafeUtil.java
+++ b/hazelcast/src/main/java/com/hazelcast/in... | Suppress find Unsafe exception when Log Level is not set to trace. (#<I>) (#<I>)
[BACKPORT] This fixes #<I> | hazelcast_hazelcast | train | java |
7de9ea00a4da44c7b600d73d1644a3b99a5a3f68 | diff --git a/lib/appsignal/version.rb b/lib/appsignal/version.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/version.rb
+++ b/lib/appsignal/version.rb
@@ -1,3 +1,3 @@
module Appsignal
- VERSION = '0.2.5.beta.1'
+ VERSION = '0.2.5'
end | Bump to <I> [ci skip] | appsignal_appsignal-ruby | train | rb |
88daff73cd7ad6959edfe8b14ca15820c08024d7 | diff --git a/spec/github/page_iterator_spec.rb b/spec/github/page_iterator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/github/page_iterator_spec.rb
+++ b/spec/github/page_iterator_spec.rb
@@ -156,4 +156,34 @@ describe Github::PageIterator do
end
end # last
+ context 'get_page' do
+ before do
+ Git... | Specs for new functionality in page iterator. | piotrmurach_github | train | rb |
6f45c1726ef3f51dbd27b5ada00c9f478eaa0046 | diff --git a/server/container_attach.go b/server/container_attach.go
index <HASH>..<HASH> 100644
--- a/server/container_attach.go
+++ b/server/container_attach.go
@@ -64,6 +64,7 @@ func (ss streamService) Attach(containerID string, inputStream io.Reader, output
if err != nil {
return fmt.Errorf("failed to open con... | container_attach: Ensure ctl file is closed | cri-o_cri-o | train | go |
fed6ed16357942f0eb6bd698a619274a3adfbc5e | diff --git a/ui/gulpfile.babel.js b/ui/gulpfile.babel.js
index <HASH>..<HASH> 100644
--- a/ui/gulpfile.babel.js
+++ b/ui/gulpfile.babel.js
@@ -175,13 +175,13 @@ gulp.task('watch', cb => {
});
gulp.task('set-env', function () {
- if( !process.env.WF_SERVER ){
- env({
- vars: {
- WF_SERVER: 'http://lo... | wf_server variable for npm watch | Netflix_conductor | train | js |
525d4520b0a3c3301145624a282ecb1ebc015bff | diff --git a/src/couch-update-views/index.js b/src/couch-update-views/index.js
index <HASH>..<HASH> 100644
--- a/src/couch-update-views/index.js
+++ b/src/couch-update-views/index.js
@@ -1,14 +1,15 @@
var argv = require('minimist')(process.argv.slice(2));
+var path = require('path');
const run = function(migrate,... | BUG: Use __dirname to include modules inside the package | juanprietob_clusterpost | train | js |
2d2970eaef91abd513202637717ccbcf0bb56763 | diff --git a/lib/feed2email/http_fetcher.rb b/lib/feed2email/http_fetcher.rb
index <HASH>..<HASH> 100644
--- a/lib/feed2email/http_fetcher.rb
+++ b/lib/feed2email/http_fetcher.rb
@@ -95,6 +95,7 @@ module Feed2Email
def build_http
Net::HTTP.new(uri.host, uri.port).tap do |http|
+ http.open_timeout =... | Cut HTTPFetcher open and read timeout in half
Default is <I> seconds | agorf_feed2email | train | rb |
483608422aeafa30458d7282f7d4903ff44c4f85 | diff --git a/shared/chat/conversation/messages/wrapper/container.js b/shared/chat/conversation/messages/wrapper/container.js
index <HASH>..<HASH> 100644
--- a/shared/chat/conversation/messages/wrapper/container.js
+++ b/shared/chat/conversation/messages/wrapper/container.js
@@ -90,6 +90,7 @@ const mergeProps = (statePr... | Add back dropped onUsernameClick handler (#<I>) | keybase_client | train | js |
498a5c083a98f70d2077067559446428a21e486b | diff --git a/system/CodeIgniter.php b/system/CodeIgniter.php
index <HASH>..<HASH> 100644
--- a/system/CodeIgniter.php
+++ b/system/CodeIgniter.php
@@ -316,6 +316,11 @@ class CodeIgniter
return;
}
+ // spark command has nothing to do with HTTP redirect and 404
+ if (defined('SPARKED... | fix: spark does not show Exception | codeigniter4_CodeIgniter4 | train | php |
70034d79d36749335845b3f31201b9d9ae296264 | diff --git a/lib/Model.js b/lib/Model.js
index <HASH>..<HASH> 100644
--- a/lib/Model.js
+++ b/lib/Model.js
@@ -191,6 +191,10 @@ function Model(opts) {
if (options.hasOwnProperty("__merge")) {
merge = options.__merge;
delete options.__merge;
+ }
+ if (options.hasOwnProperty("order"... | Adds posibility to define order array in options argument of Model.find method regards addition of order to hasMany getAccessor | dresende_node-orm2 | train | js |
926580f20cc8cfd06de6047acb8ab56a1f5773b5 | diff --git a/packages/mendel-middleware/index.js b/packages/mendel-middleware/index.js
index <HASH>..<HASH> 100644
--- a/packages/mendel-middleware/index.js
+++ b/packages/mendel-middleware/index.js
@@ -60,7 +60,7 @@ function MendelMiddleware(opts) {
return next();
}
var bundleConfig = bu... | Add support for different express parsers | yahoo_mendel | train | js |
aee3f51ef655f01ca4050530bedf188e23ec27e7 | diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js
index <HASH>..<HASH> 100644
--- a/docs/.vitepress/config.js
+++ b/docs/.vitepress/config.js
@@ -11,7 +11,7 @@ module.exports = {
repo: 'vuejs/vue-devtools',
logo: '/logo-header.svg',
docsDir: 'docs',
- docsBranch: 'next',
+ docsBran... | docs: fix edit links (#<I>)
- 'next' points to non-existent location, <I> error on Github.
- 'main' should be what you're looking for here. | vuejs_vue-devtools | train | js |
a74a6736894765aa11df777fd738f983890f1523 | diff --git a/api/src/main/java/com/google/android/apps/muzei/api/MuzeiArtSource.java b/api/src/main/java/com/google/android/apps/muzei/api/MuzeiArtSource.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/com/google/android/apps/muzei/api/MuzeiArtSource.java
+++ b/api/src/main/java/com/google/android/apps/muzei/a... | Removed leftover DashClock reference in APIs | romannurik_muzei | train | java |
27ad9a289735671f0d1666ed3da6ac0de4559b1e | diff --git a/flaskext/mysql.py b/flaskext/mysql.py
index <HASH>..<HASH> 100644
--- a/flaskext/mysql.py
+++ b/flaskext/mysql.py
@@ -38,6 +38,8 @@ class MySQL(object):
kwargs['db'] = self.app.config['MYSQL_DATABASE_DB']
if self.app.config['MYSQL_DATABASE_CHARSET']:
kwargs['charset'] = s... | added USE_UNICODE setting to connect method | cyberdelia_flask-mysql | train | py |
00a8c52cc1e48ebac3db7907b58217609b2ce597 | diff --git a/lib/util.js b/lib/util.js
index <HASH>..<HASH> 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -52,7 +52,7 @@
, host = uri.host
, port = uri.port;
- if (!'document' in global) {
+ if ('document' in global) {
host = host || document.domain;
port = port || (protocol == 'http... | I did one undo to much before saving it. Fixed uniqueURI again | tsjing_socket.io-client | train | js |
0ee0d2a49d9290a888b90a44f6b97428fdf700ad | diff --git a/fuss-functions.js b/fuss-functions.js
index <HASH>..<HASH> 100644
--- a/fuss-functions.js
+++ b/fuss-functions.js
@@ -1,9 +1,9 @@
module.exports = {
color(name, color) {
return [
- { className: `c-${name}`, prop: 'color', value: color },
+ { className: name,... | 🌈 Update to color function to match the Tachyons classes | caesarsol_postcss-fuss | train | js |
eaf49186e689f325451ee3a47d95a4c97710a699 | diff --git a/python/vaex/setversion.py b/python/vaex/setversion.py
index <HASH>..<HASH> 100755
--- a/python/vaex/setversion.py
+++ b/python/vaex/setversion.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+from __future__ import print_function
import sys
import os
import re | start with python3 compatibility | vaexio_vaex | train | py |
3d9f3cebb25bb9e153756e931b6c75826b7ef677 | diff --git a/prefs/prefs.go b/prefs/prefs.go
index <HASH>..<HASH> 100644
--- a/prefs/prefs.go
+++ b/prefs/prefs.go
@@ -80,8 +80,17 @@ func (prefs Preferences) SetValue(key string, value string) (Preferences, error)
return prefs, errs.NewExitError("error: unknown property `" + key + "`")
}
- // Set the string val... | Bug fix for setting booleans in prefs | manifoldco_torus-cli | train | go |
6e4bb3ef2ed689cee9eb493537bc7dca023afd59 | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -245,16 +245,16 @@ module Discordrb
# (uses an XSalsa20 stream cipher for encryption and Poly1305 for authentication)
# @return [Voice::VoiceBot] the initialized bot ... | Adapt voice_connect disconnection logic to the hash | meew0_discordrb | train | rb |
3b8526fe59ad6a80844a2330b846bb8dd7c3166f | diff --git a/salt/modules/yumpkg5.py b/salt/modules/yumpkg5.py
index <HASH>..<HASH> 100644
--- a/salt/modules/yumpkg5.py
+++ b/salt/modules/yumpkg5.py
@@ -402,15 +402,27 @@ def refresh_db():
Since yum refreshes the database automatically, this runs a yum clean,
so that the next yum operation will have a clean... | Change yum module to not nuke the package cache every state run
This change mirrors the behavior in the apt module. Previous behavior of
nuking the package cache would cause yum to download ~<I> MB of data for
each and every highstate run. | saltstack_salt | train | py |
99f07b5f58a8cc1631c7fe3f13575b95edb3b167 | diff --git a/src/notus.js b/src/notus.js
index <HASH>..<HASH> 100644
--- a/src/notus.js
+++ b/src/notus.js
@@ -47,8 +47,8 @@
},
positionForType = {
'popup': ['tl', 'tr', 'bl', 'br'],
- 'toast': ['t', 'b'],
- 'snackbar': ['t', 'b'],
+ 'toast': ['top', 'bott... | Fixed bug where exception handling broke Notus
- Toast and Snackbar didn't work due to exception handling | kushalpandya_notus | train | js |
369f70e5c4f2d6c8fa69277199311d9a566b5ae3 | diff --git a/src/Session.js b/src/Session.js
index <HASH>..<HASH> 100644
--- a/src/Session.js
+++ b/src/Session.js
@@ -107,7 +107,7 @@ const Session = class Session {
reduce() {
if (this.withMutations) return this.state;
- const prevState = this.state;
+ const prevState = this.state || {};... | Fix regression in Session.reduce where a new state object was not created on Redux init action | redux-orm_redux-orm | train | js,js |
6946c64f4346c9b1dfd6cd3fa8dbe79a20d30593 | diff --git a/src/sos/sos_task.py b/src/sos/sos_task.py
index <HASH>..<HASH> 100644
--- a/src/sos/sos_task.py
+++ b/src/sos/sos_task.py
@@ -320,7 +320,7 @@ CONFIG = {}
del sos_handle_parameter_
''' + global_def, '${ }')
except Exception as e:
- env.logger.debug('Failed to execute global definition {}: {}'.... | Reduce a warning from debug to trace | vatlab_SoS | train | py |
5bbe7917ac569918f267c7ce8fe94a41aa2992db | diff --git a/lib/yap/shell/parser/version.rb b/lib/yap/shell/parser/version.rb
index <HASH>..<HASH> 100644
--- a/lib/yap/shell/parser/version.rb
+++ b/lib/yap/shell/parser/version.rb
@@ -1,5 +1,5 @@
require 'yap/shell/parser'
class Yap::Shell::Parser
- VERSION = "0.0.1"
+ VERSION = "0.0.2"
end | Bump to version <I>. | zdennis_yap-shell-parser | train | rb |
ca52c546feb2e55a92ce589a2db4eeb135196227 | diff --git a/src/zkey_export_bellman.js b/src/zkey_export_bellman.js
index <HASH>..<HASH> 100644
--- a/src/zkey_export_bellman.js
+++ b/src/zkey_export_bellman.js
@@ -1,7 +1,7 @@
const binFileUtils = require("./binfileutils");
const zkeyUtils = require("./zkey_utils");
-const fastFile = require("fastFile");
+const ... | fix upercase in fastFile | iden3_snarkjs | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.