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 |
|---|---|---|---|---|---|
1be3afe6ecd1b4d06341470c4798428663708189 | diff --git a/transit/writer.py b/transit/writer.py
index <HASH>..<HASH> 100644
--- a/transit/writer.py
+++ b/transit/writer.py
@@ -68,7 +68,10 @@ class Marshaler(object):
return self.emit_string(ESC, "_", None, True, cache) if as_map_key else self.emit_object(None)
def emit_string(self, prefix, tag, str... | Optimization: Ruby's cache short-circuit approach when in emit_object | cognitect_transit-python | train | py |
5fe626948a562eaa48517ef46ff6134916243abb | diff --git a/light.go b/light.go
index <HASH>..<HASH> 100644
--- a/light.go
+++ b/light.go
@@ -12,6 +12,7 @@ import (
"fmt"
"time"
"errors"
+ "log"
)
// Light struct defines attributes of a light.
@@ -204,6 +205,28 @@ func (light *Light) SetBrightness(percent int) error {
}
}
+
+// Light.B... | Implemented Light.Brighten to complement Light.Dim | Collinux_gohue | train | go |
e482846f6e6d7f837b65c007ec1e798ad60b0524 | diff --git a/Connectors/ConnectionFactory.php b/Connectors/ConnectionFactory.php
index <HASH>..<HASH> 100755
--- a/Connectors/ConnectionFactory.php
+++ b/Connectors/ConnectionFactory.php
@@ -126,8 +126,8 @@ class ConnectionFactory
try {
return $this->createConnector($config)->conne... | Applied fixes from StyleCI (#<I>) | illuminate_database | train | php |
c2e7a681059b70ff5800fe8f1ff9b73b4bdba72f | diff --git a/discord/client.py b/discord/client.py
index <HASH>..<HASH> 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1085,7 +1085,7 @@ class Client:
if check is None:
check = lambda m: True
- iterator = LogsFromIterator(self, channel, limit, before, after)
+ iterator ... | Fix purge_from to use LogsFromIterator.create (#<I>) | Rapptz_discord.py | train | py |
354e9f730e9ffaa123aa4adc92fc122db401e80b | diff --git a/src/components/victory-area/victory-area.js b/src/components/victory-area/victory-area.js
index <HASH>..<HASH> 100644
--- a/src/components/victory-area/victory-area.js
+++ b/src/components/victory-area/victory-area.js
@@ -34,7 +34,7 @@ class VictoryArea extends React.Component {
static defaultProps = ... | add renderInPortal prop to VictoryLabel in clipped data types | FormidableLabs_victory | train | js,js |
c2139b5c39be7e3669cb5821046888cd88418ce6 | diff --git a/src/org/opencms/file/types/CmsResourceTypeImage.java b/src/org/opencms/file/types/CmsResourceTypeImage.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/file/types/CmsResourceTypeImage.java
+++ b/src/org/opencms/file/types/CmsResourceTypeImage.java
@@ -632,7 +632,7 @@ public class CmsResourceTypeImage... | Changed automatic SVG size property to be written as a shared property. | alkacon_opencms-core | train | java |
b757a29ff4d8dd6a66e3ad77e2e46b9b377be9f0 | diff --git a/lib/puppetdb_query/version.rb b/lib/puppetdb_query/version.rb
index <HASH>..<HASH> 100644
--- a/lib/puppetdb_query/version.rb
+++ b/lib/puppetdb_query/version.rb
@@ -1,3 +1,3 @@
module PuppetDBQuery
- VERSION = "0.0.36".freeze
+ VERSION = "0.0.37".freeze
end | m<I>'s version bumper | m-31_puppetdb_query | train | rb |
51c2b22e9fbec4bf5dc2f29a4b7323a5d95afbd3 | diff --git a/core/server/services/members/config.js b/core/server/services/members/config.js
index <HASH>..<HASH> 100644
--- a/core/server/services/members/config.js
+++ b/core/server/services/members/config.js
@@ -51,7 +51,8 @@ function getStripePaymentConfig() {
return null;
}
- stripePaymentProces... | 🐛 Fixed order for "Complimentary" plan creation
no issue
- When new Ghost instance is initialized "Complimentary" plan doesn't have to wait for the rest of plans to be configured.
- Without configured plans the admin would still be able to assign "Complimentary" plan to members or import same kind of members.
- The... | TryGhost_Ghost | train | js |
8f29d0903f17a822f56edb1dc073e7d76b1f9075 | diff --git a/src/Service/RequestService.php b/src/Service/RequestService.php
index <HASH>..<HASH> 100644
--- a/src/Service/RequestService.php
+++ b/src/Service/RequestService.php
@@ -10,7 +10,7 @@ use Psr\Http\Message\RequestInterface;
use React\Promise\CancellablePromiseInterface;
use function React\Promise\resolve;... | Marked RequestService as not final so it can be mocked | php-api-clients_transport | train | php |
35b2bf5f7847573c78606d34f1119ffb7bb95007 | diff --git a/project/library/CM/Response/Page.php b/project/library/CM/Response/Page.php
index <HASH>..<HASH> 100644
--- a/project/library/CM/Response/Page.php
+++ b/project/library/CM/Response/Page.php
@@ -14,7 +14,6 @@ class CM_Response_Page extends CM_Response_Abstract {
$page->prepare($this);
$html = $this-... | t<I>: revert | cargomedia_cm | train | php |
5abd05c4793e2f49dcb6f8014f8dd307c6101d81 | diff --git a/micrometer-spring-legacy/src/main/java/io/micrometer/spring/autoconfigure/MetricsAutoConfiguration.java b/micrometer-spring-legacy/src/main/java/io/micrometer/spring/autoconfigure/MetricsAutoConfiguration.java
index <HASH>..<HASH> 100644
--- a/micrometer-spring-legacy/src/main/java/io/micrometer/spring/aut... | Fixed typo in hystrix binding conditional | micrometer-metrics_micrometer | train | java |
5c366be02163ebc33f155b83d1d98e7d7d60ce7a | diff --git a/lib/isodoc/convert.rb b/lib/isodoc/convert.rb
index <HASH>..<HASH> 100644
--- a/lib/isodoc/convert.rb
+++ b/lib/isodoc/convert.rb
@@ -127,6 +127,7 @@ module IsoDoc
stylesheet.gsub!(/(\s|\{)mso-[^:]+:[^;]+;/m, "\\1") if stripwordcss
SassC.load_paths << File.join(Gem.loaded_specs['isodoc'].full... | feat: Allow flavor SCSS to importing sibling SCSS
#<I> | metanorma_isodoc | train | rb |
d63fec939190b16e7bea6f8d1de17c6e0a5cc114 | diff --git a/src/GitHub_Updater/Base.php b/src/GitHub_Updater/Base.php
index <HASH>..<HASH> 100644
--- a/src/GitHub_Updater/Base.php
+++ b/src/GitHub_Updater/Base.php
@@ -74,7 +74,7 @@ class Base {
* Loads options to private static variable.
*/
public function __construct() {
- self::$options = get_site_option... | Set $options default as array to avoid PHP warning. | afragen_github-updater | train | php |
92f09c2d20eb688d7c0d4d2e9f5c16e5aa91a0bc | diff --git a/src/configupdater/configupdater.py b/src/configupdater/configupdater.py
index <HASH>..<HASH> 100644
--- a/src/configupdater/configupdater.py
+++ b/src/configupdater/configupdater.py
@@ -1,4 +1,4 @@
-"""Configuration file parser.
+"""Configuration file updater.
A configuration file consists of sections, ... | Remove PathLike for Py <I> support | pyscaffold_configupdater | train | py |
61a098491127963d2c9a143b0a18c6a85d5d284c | diff --git a/src/dygraph.js b/src/dygraph.js
index <HASH>..<HASH> 100644
--- a/src/dygraph.js
+++ b/src/dygraph.js
@@ -84,16 +84,6 @@ var Dygraph = function(div, data, opts, opt_fourth_param) {
Dygraph.NAME = "Dygraph";
Dygraph.VERSION = "1.1.0";
-Dygraph.__repr__ = function() {
- return "[" + Dygraph.NAME + " " +... | Drop class-level toString()
I've never seen this on any other JS class. The instance toString()
method is more standard. | danvk_dygraphs | train | js |
76039a7b39838be52599f42e7e271e9ceabcf862 | diff --git a/lib/hipbot/message.rb b/lib/hipbot/message.rb
index <HASH>..<HASH> 100644
--- a/lib/hipbot/message.rb
+++ b/lib/hipbot/message.rb
@@ -5,6 +5,7 @@ module Hipbot
def initialize *args
super
Hipbot.logger.info("MESSAGE from #{sender} in #{room}")
+ self.raw_body = raw_body.force_encod... | force utf-8 encoding on messages | pewniak747_hipbot | train | rb |
e03a31b3a8a61b3ee13b9de530f7801d5f2e2e3b | diff --git a/symphony/content/content.systemauthors.php b/symphony/content/content.systemauthors.php
index <HASH>..<HASH> 100644
--- a/symphony/content/content.systemauthors.php
+++ b/symphony/content/content.systemauthors.php
@@ -539,11 +539,17 @@ class contentSystemAuthors extends AdministrationPage
* @param... | Add `errors` to AddElementstoAuthorForm
This way, extension developers can update the UI based on their error
set in other delegates.
Picked from <I>c<I> | symphonycms_symphony-2 | train | php |
dddaeb4bc8048dbb4a661f52b942057f3d389aeb | diff --git a/crispy/gui/widgets/plotwidget.py b/crispy/gui/widgets/plotwidget.py
index <HASH>..<HASH> 100644
--- a/crispy/gui/widgets/plotwidget.py
+++ b/crispy/gui/widgets/plotwidget.py
@@ -27,12 +27,13 @@ from __future__ import absolute_import, division, unicode_literals
__authors__ = ['Marius Retegan']
__license... | Reduce the size of the icons on macOS | mretegan_crispy | train | py |
ae9ae7a800368272d7b58c098b595a404a82b007 | diff --git a/dagger2support/src/main/java/mortar/dagger2support/DaggerService.java b/dagger2support/src/main/java/mortar/dagger2support/DaggerService.java
index <HASH>..<HASH> 100644
--- a/dagger2support/src/main/java/mortar/dagger2support/DaggerService.java
+++ b/dagger2support/src/main/java/mortar/dagger2support/Dagg... | Avoid unnecessary method traversing for DaggerService
Traverse through declared methods only to avoid clashes with java base methods like equals, etc.
Now I suffer crash on providing module as dependency (equals has Object param which is assignableFrom *everything*) | square_mortar | train | java |
d677b4efc7e4de4c5797e724ae73f8ce83d9a32c | diff --git a/jobs/src/main/java/de/otto/edison/jobs/repository/JobRepositoryCleanup.java b/jobs/src/main/java/de/otto/edison/jobs/repository/JobRepositoryCleanup.java
index <HASH>..<HASH> 100644
--- a/jobs/src/main/java/de/otto/edison/jobs/repository/JobRepositoryCleanup.java
+++ b/jobs/src/main/java/de/otto/edison/job... | Added logging of exceptions during cleanup of job repositories | otto-de_edison-microservice | train | java |
72ce7c52df2bb0cd1e1644d8bb543a7bd3177e9b | diff --git a/zounds/__init__.py b/zounds/__init__.py
index <HASH>..<HASH> 100644
--- a/zounds/__init__.py
+++ b/zounds/__init__.py
@@ -38,11 +38,10 @@ from learn import \
KMeans, Learned, MeanStdNormalization, UnitNorm, Log, Multiply, \
PreprocessingPipeline, Slicer, ReservoirSampler, simple_settings, \
... | Remove top-level learn module imports | JohnVinyard_zounds | train | py |
b6a12caa1a6d20e599b5a3d1a8cd4d8defd39f49 | diff --git a/closure/goog/style/bidi.js b/closure/goog/style/bidi.js
index <HASH>..<HASH> 100644
--- a/closure/goog/style/bidi.js
+++ b/closure/goog/style/bidi.js
@@ -108,9 +108,11 @@ goog.style.bidi.getOffsetStart = function(element) {
// the border width from the actual distance. So we need to add it back.
... | Fix style/bidi_test.testGetOffsetStart by substracting the border witdh only for IE8 and IE9 as it seems fixed in IE<I>+.
-------------
Created by MOE: <URL> | google_closure-library | train | js |
ad590feaa88f245b206daefe5743811de2ee2102 | diff --git a/spacy/tests/doc/test_doc_api.py b/spacy/tests/doc/test_doc_api.py
index <HASH>..<HASH> 100644
--- a/spacy/tests/doc/test_doc_api.py
+++ b/spacy/tests/doc/test_doc_api.py
@@ -219,7 +219,6 @@ def test_doc_api_has_vector(en_tokenizer, text_file, text, vectors):
def test_parse_tree(EN):
text = 'I like ... | Fix test, which imported English incorrectly | explosion_spaCy | train | py |
2869633d6c73f4b3c9df7f945052036a5bd4477c | diff --git a/syntax/parser.go b/syntax/parser.go
index <HASH>..<HASH> 100644
--- a/syntax/parser.go
+++ b/syntax/parser.go
@@ -632,7 +632,7 @@ func (p *Parser) stmtList(stops ...string) (sl StmtList) {
// fi
// TODO(mvdan): look into deduplicating this with similar logic
// in caseItems.
- for i := len(p.... | syntax: apply Go <I>'s gofmt
Very minor change. Still, do it separately. | mvdan_sh | train | go |
c5b3a7893d47731ff254d3d2e2ecb836df5693ce | diff --git a/src/schema.js b/src/schema.js
index <HASH>..<HASH> 100644
--- a/src/schema.js
+++ b/src/schema.js
@@ -47,7 +47,9 @@ export const schema = new Schema({
code: true,
defining: true,
attrs: {params: {default: ""}},
- parseDOM: [{tag: "pre", preserveWhitespace: true, getAttrs: node => ... | Make sure code_block.attrs.params is the empty string, not null, when missing | ProseMirror_prosemirror-markdown | train | js |
245873dad191258be06e1f0a0f90ed48dba7bbf8 | diff --git a/test/adapters/patron_test.rb b/test/adapters/patron_test.rb
index <HASH>..<HASH> 100644
--- a/test/adapters/patron_test.rb
+++ b/test/adapters/patron_test.rb
@@ -14,7 +14,7 @@ module Adapters
# no support for SSL peer verification
undef :test_GET_ssl_fails_with_bad_cert if ssl_mode?
- en... | Skip Patron tests if Ruby version less than <I> | lostisland_faraday | train | rb |
585640a0908538fb17a4bd6964566180707d2847 | diff --git a/hazelcast/src/test/java/com/hazelcast/internal/server/FirewallingServer.java b/hazelcast/src/test/java/com/hazelcast/internal/server/FirewallingServer.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/internal/server/FirewallingServer.java
+++ b/hazelcast/src/test/java/com/hazelc... | Implement missing delegate methods (#<I>) | hazelcast_hazelcast | train | java |
aad30ac7094839999bc2add960c639b865097c68 | diff --git a/adapters/couch_adapter.js b/adapters/couch_adapter.js
index <HASH>..<HASH> 100644
--- a/adapters/couch_adapter.js
+++ b/adapters/couch_adapter.js
@@ -15,7 +15,24 @@ var CouchAdapter = function(config) {
});
return queryProperties.join(":").replace(/\//g, '.');
}
+
+
+ // flush
+ // -------... | Implemented CouchAdapter#flush. | substance_data | train | js |
da8937e56f0e84c45356204a0034c8d006a8a9cb | diff --git a/src/Kodeine/Acl/Traits/HasPermission.php b/src/Kodeine/Acl/Traits/HasPermission.php
index <HASH>..<HASH> 100644
--- a/src/Kodeine/Acl/Traits/HasPermission.php
+++ b/src/Kodeine/Acl/Traits/HasPermission.php
@@ -45,23 +45,24 @@ trait HasPermission
}
/**
- * Check if user has the given permiss... | fixed can() method in HasPermission Trait | kodeine_laravel-acl | train | php |
8cc57f6c2cc8cac7ce2a722f178480d904da3933 | diff --git a/spec/truncate_html/html_truncator_spec.rb b/spec/truncate_html/html_truncator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/truncate_html/html_truncator_spec.rb
+++ b/spec/truncate_html/html_truncator_spec.rb
@@ -1,3 +1,4 @@
+# Encoding: UTF-8
require File.join(File.dirname(__FILE__), '..', 'spec_helper'... | Added spec that fails on <I> before the change by smix and passes afterwards thus proving multibyte support added. | hgmnz_truncate_html | train | rb |
44cf3a280dd32aa85ad16740763714cff5793967 | diff --git a/lib/puppet/ssl/certificate_factory.rb b/lib/puppet/ssl/certificate_factory.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/ssl/certificate_factory.rb
+++ b/lib/puppet/ssl/certificate_factory.rb
@@ -138,7 +138,7 @@ module Puppet::SSL::CertificateFactory
def self.build_server_extensions
{
"key... | (#<I>) Don't enable `emailProtection` for server keys.
Previously, Puppet enabled the `emailProtection` bit in the extended key usage
field. This is unnecessary, and while probably not harmful we are taking the
view that what is not required should not be allowed, so ... removed. | puppetlabs_puppet | train | rb |
62ee13ed8882c29e153878a497e3755d804a161e | diff --git a/visidata/menu.py b/visidata/menu.py
index <HASH>..<HASH> 100644
--- a/visidata/menu.py
+++ b/visidata/menu.py
@@ -557,6 +557,7 @@ def drawSubmenu(vd, scr, sheet, y, x, menus, level, disp_menu_boxchars=''):
BUTTON1_PRESSED=lambda y,x,key,p=sheet.activeMenuItems[:level]+[j]: sheet.pressMenu(... | [menu-] add BUTTON1_CLICKED same as BUTTON1_PRESSED | saulpw_visidata | train | py |
1087541ac99feeb5487fbd681e87c7ca1e738d73 | diff --git a/hydra_base/db/__init__.py b/hydra_base/db/__init__.py
index <HASH>..<HASH> 100644
--- a/hydra_base/db/__init__.py
+++ b/hydra_base/db/__init__.py
@@ -88,12 +88,14 @@ def connect(db_url=None):
if db_url is None:
db_url = config.get('mysqld', 'url')
+
+ db_url = "{}?charset=utf8&use_unicod... | added the utf8 encoding | hydraplatform_hydra-base | train | py |
2081d07be5e22b7b483a66e32102fdb8698d0c78 | diff --git a/src/processor/intents/spawns/recycle-creep.js b/src/processor/intents/spawns/recycle-creep.js
index <HASH>..<HASH> 100644
--- a/src/processor/intents/spawns/recycle-creep.js
+++ b/src/processor/intents/spawns/recycle-creep.js
@@ -19,5 +19,5 @@ module.exports = function(object, intent, scope) {
ret... | refact(runtime): change creep recycle ratio from <I>% to <I>% | screeps_engine | train | js |
5c33517149ab173fe93b1f50a9cb61d7ff98902c | diff --git a/app/models/standard_tags.rb b/app/models/standard_tags.rb
index <HASH>..<HASH> 100644
--- a/app/models/standard_tags.rb
+++ b/app/models/standard_tags.rb
@@ -41,7 +41,7 @@ module StandardTags
}
tag 'children' do |tag|
tag.locals.children = tag.locals.page.children
- tag.expand unless tag.loca... | r:children change broke r:children:count | radiant_radiant | train | rb,rb |
8d0f8018baacaa5dc94996a4a285867d682623c8 | diff --git a/salt/payload.py b/salt/payload.py
index <HASH>..<HASH> 100644
--- a/salt/payload.py
+++ b/salt/payload.py
@@ -14,7 +14,6 @@ import datetime
# Import salt libs
import salt.log
-import salt.crypt
import salt.transport.frame
from salt.exceptions import SaltReqTimeoutError
from salt.utils import immutab... | removing salt.crypt from payload.py which is not used and causing salt-key to break. | saltstack_salt | train | py |
c6d56af2cba8d8b59c1049bec970f4b1cbf26c9d | diff --git a/js/app.js b/js/app.js
index <HASH>..<HASH> 100644
--- a/js/app.js
+++ b/js/app.js
@@ -466,7 +466,7 @@ App.prototype.runAnalyzer = function() {
this.seoAssessorPresenter.setKeyword( this.paper.getKeyword() );
this.seoAssessorPresenter.render();
- this.callbacks.saveScores( this.seoAssessor.calculateOv... | Fixes variable for savescores | Yoast_YoastSEO.js | train | js |
8260aaeefab099dc4cc57516a8a400f393d3b803 | diff --git a/src/TermBuilder.php b/src/TermBuilder.php
index <HASH>..<HASH> 100644
--- a/src/TermBuilder.php
+++ b/src/TermBuilder.php
@@ -9,10 +9,11 @@ class TermBuilder {
$terms = collect(preg_split('/[\s,]+/', $search));
if($wildcards === true){
- foreach ($terms as $key => $term) {
- ... | fixed with transform instead of foreach | swisnl_laravel-fulltext | train | php |
001a14319ded4a5e621027eb5383ff4e84bebd21 | diff --git a/lib/server.js b/lib/server.js
index <HASH>..<HASH> 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -18,6 +18,8 @@ var processChannel = require('strong-control-channel/process');
var runner = require('./run');
var setupPushReceiver = require('./receive').setupPushReceiver;
var util = require('util');
+... | server: report pm and API version at startup | strongloop_strong-pm | train | js |
92c7930ab533ee0b4e3059f69b47296ada1e4af7 | diff --git a/digitalocean/Image.py b/digitalocean/Image.py
index <HASH>..<HASH> 100644
--- a/digitalocean/Image.py
+++ b/digitalocean/Image.py
@@ -2,20 +2,15 @@ import requests
from .baseapi import BaseAPI
class Image(BaseAPI):
- id = None
- name = None
- distribution = None
- slug = None
- public = ... | Image now has the new attribute declaration inside __init__ | koalalorenzo_python-digitalocean | train | py |
838057aa91315c0e106e9a6c464013b01ccae74f | diff --git a/pysat/tests/test_instruments.py b/pysat/tests/test_instruments.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_instruments.py
+++ b/pysat/tests/test_instruments.py
@@ -4,8 +4,7 @@ import pysat
from pysat.tests.instrument_test_class import generate_instrument_list
from pysat.tests.instrument_test_cl... | BUG: update package in test_instruments | rstoneback_pysat | train | py |
22dfa6ae1b431cb8e8afe72ce7d60360bf766337 | diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/admission.go b/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/admission.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/admission.go
+++ b/staging/src/k8s.io/apiserver/pk... | prevent fieldManager admission from wrapping nil | kubernetes_kubernetes | train | go |
fae9b71a920f205c9e1766dee451f731d36b5d0d | diff --git a/displayer.go b/displayer.go
index <HASH>..<HASH> 100644
--- a/displayer.go
+++ b/displayer.go
@@ -102,15 +102,21 @@ func (d *Displayer) Output() string {
if outputStr, ok := d.RawOutput.(string); ok {
return outputStr
}
- var b []byte
+ var out string
var err error
if d.prettify {
+ var b []byt... | Add newline after output when prettyfying. | rightscale_rsc | train | go |
22aded113a76c446597e13a16cb1cbdab82836ee | diff --git a/src/hu/webhejj/commons/trie/TrieNode.java b/src/hu/webhejj/commons/trie/TrieNode.java
index <HASH>..<HASH> 100644
--- a/src/hu/webhejj/commons/trie/TrieNode.java
+++ b/src/hu/webhejj/commons/trie/TrieNode.java
@@ -20,16 +20,16 @@ public class TrieNode<T> {
private int tail;
private char[] keys;
priva... | Fix TrieNode: actually store a node value; added getters for node keys
and size. | gnagy_webhejj-commons | train | java |
7eca8f6abe72dc7e6f081cc2d9b268b8527a58b6 | diff --git a/test/store.js b/test/store.js
index <HASH>..<HASH> 100644
--- a/test/store.js
+++ b/test/store.js
@@ -48,12 +48,12 @@ if (typeof(window)==='object') {
t.isFunction(store(["key","key2"],function(key,val){
//获取多个key的数据处理,return 并保存;
if(key&&key == 'key') return "keytest";
-... | Add "search" method to test cases. | jaywcjlove_store.js | train | js |
5e4430d62523790f2e42fa30b2735b7b76db5038 | diff --git a/modules/custom/openy_upgrade_tool/src/Form/OpenyUpgradeLogSettingsForm.php b/modules/custom/openy_upgrade_tool/src/Form/OpenyUpgradeLogSettingsForm.php
index <HASH>..<HASH> 100644
--- a/modules/custom/openy_upgrade_tool/src/Form/OpenyUpgradeLogSettingsForm.php
+++ b/modules/custom/openy_upgrade_tool/src/Fo... | [OPENY-<I>] Add reminder for next release | ymcatwincities_openy | train | php |
1c228f97363732924c54192641ee9dcf5faadf4b | diff --git a/safe/impact_functions/inundation/flood_population_evacuation.py b/safe/impact_functions/inundation/flood_population_evacuation.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/inundation/flood_population_evacuation.py
+++ b/safe/impact_functions/inundation/flood_population_evacuation.py
@@ -152,8... | Add notes in the result window for rounding number in FloodEvacuationFunction #<I>. | inasafe_inasafe | train | py |
7f4502a5ea69cd5c8fce14b780d3b1d916588b26 | diff --git a/classes/Routing/UrlGenerator.php b/classes/Routing/UrlGenerator.php
index <HASH>..<HASH> 100644
--- a/classes/Routing/UrlGenerator.php
+++ b/classes/Routing/UrlGenerator.php
@@ -90,9 +90,16 @@ class UrlGenerator
public function getRouteUrl($name, array $params = array(), $relative = false)
{
$route ... | ARRAY_FILTER_USE_KEY is php <I> only :( | autarky_framework | train | php |
cf725097a9739c01c9b220fe729fb53b2847f24d | diff --git a/src/__init__.py b/src/__init__.py
index <HASH>..<HASH> 100644
--- a/src/__init__.py
+++ b/src/__init__.py
@@ -446,7 +446,7 @@ class _ModuleProxy():
line = _ModuleProxy(line)
line.__call__ = line.line
-with open(_os.path.join(__path__, 'version.txt'), 'r') as _f:
+with open(_os.path.join(__path__[0], 'v... | should be __path__[0] | libtcod_python-tcod | train | py |
442607e4c9afd2f19e8d541ff0823f44dead1e8e | diff --git a/aws/resource_aws_elastic_beanstalk_environment.go b/aws/resource_aws_elastic_beanstalk_environment.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_elastic_beanstalk_environment.go
+++ b/aws/resource_aws_elastic_beanstalk_environment.go
@@ -618,13 +618,13 @@ func resourceAwsElasticBeanstalkEnvironment... | r/elastic_bs_env: Consistent vars | terraform-providers_terraform-provider-aws | train | go |
fe78d3f354f255e74938833b411a869ce4e4e42b | diff --git a/src/FieldHandlers/ListFieldHandler.php b/src/FieldHandlers/ListFieldHandler.php
index <HASH>..<HASH> 100644
--- a/src/FieldHandlers/ListFieldHandler.php
+++ b/src/FieldHandlers/ListFieldHandler.php
@@ -158,6 +158,7 @@ class ListFieldHandler extends BaseFieldHandler
protected function _getCsvData($path... | skip incomplete rows from csv lists (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
3c3a02da469ea88496a7a91fcece9a38ac88afaf | diff --git a/app/index.js b/app/index.js
index <HASH>..<HASH> 100644
--- a/app/index.js
+++ b/app/index.js
@@ -10,14 +10,15 @@ var options = {};
module.exports = yeoman.generators.Base.extend({
initializing: function () {
+ this.pkg = require('../package.json');
+ this.distros = require('./distros');
+
... | Adding version of project to beginning yosay message for insight. | phase2_generator-gadget | train | js |
5e11a3062dac1ea383bdc713fa927a8d756bd50a | diff --git a/Source/com/drew/metadata/exif/GpsDirectory.java b/Source/com/drew/metadata/exif/GpsDirectory.java
index <HASH>..<HASH> 100644
--- a/Source/com/drew/metadata/exif/GpsDirectory.java
+++ b/Source/com/drew/metadata/exif/GpsDirectory.java
@@ -143,7 +143,7 @@ public class GpsDirectory extends ExifDirectoryBase
... | Consistent tag name between Java and .NET libraries
Favouring the more descriptive form. | drewnoakes_metadata-extractor | train | java |
2dd4648e2ba5af25e4959f1f6b4acbb74bda80b7 | diff --git a/src/projCode/Somerc.php b/src/projCode/Somerc.php
index <HASH>..<HASH> 100644
--- a/src/projCode/Somerc.php
+++ b/src/projCode/Somerc.php
@@ -65,7 +65,7 @@ class Somerc
$S = -$this->alpha * ($Sa1 + $Sa2) + $this->K;
// spheric latitude
- $b = 2.0 * (atan( exp( $S ) ) - proj4ph... | Somerc: replace proj4phpCommon by Common | proj4php_proj4php | train | php |
8688b8f554cba6d7b8941913e02208aab0b78ed7 | diff --git a/lib/amee/v3/item_value_definition_list.rb b/lib/amee/v3/item_value_definition_list.rb
index <HASH>..<HASH> 100644
--- a/lib/amee/v3/item_value_definition_list.rb
+++ b/lib/amee/v3/item_value_definition_list.rb
@@ -3,9 +3,9 @@ module AMEE
class ItemValueDefinitionList < AMEE::Collection
- def ... | Pass block filter through to base class in IVDList class. COM-<I> | OpenAMEE_amee-ruby | train | rb |
3fb482135ce98251ee1dfaf36ace3b6bbf464041 | diff --git a/aiidalab_widgets_base/utils/__init__.py b/aiidalab_widgets_base/utils/__init__.py
index <HASH>..<HASH> 100644
--- a/aiidalab_widgets_base/utils/__init__.py
+++ b/aiidalab_widgets_base/utils/__init__.py
@@ -2,6 +2,7 @@
from functools import wraps
import more_itertools as mit
+import numpy as np
from as... | Add a class to handle Pinhole camera. (#<I>)
This allows to easily handle transformations between 3D "real" space
and the "screen" space. | aiidalab_aiidalab-widgets-base | train | py |
d569bf0ee09e6a177e6b56c1157b891d9556f94f | diff --git a/lib/active_admin/views/pages/show.rb b/lib/active_admin/views/pages/show.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/views/pages/show.rb
+++ b/lib/active_admin/views/pages/show.rb
@@ -43,8 +43,8 @@ module ActiveAdmin
end
module DefaultMainContent
- def default_main_co... | Easier extending default show page
I would like to add few fields to show page, but keep the defaults.
Passing block to `default_main_content` would make it use defaults + block. | activeadmin_activeadmin | train | rb |
3580c52ebbe91dbcae91c25e43ac87af0284c534 | diff --git a/app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.rb b/app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.rb
index <HASH>..<HASH> 100644
--- a/app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.rb
+++ b/app_generators/ahn/templates/componen... | Fix a bug in restful_rpc where JSON is not automatically wrapped in an Array | adhearsion_adhearsion | train | rb |
62e82c0964d79a0107e9563eb65c4c09f26df836 | diff --git a/src/geo/ui/legends/legends-view.js b/src/geo/ui/legends/legends-view.js
index <HASH>..<HASH> 100644
--- a/src/geo/ui/legends/legends-view.js
+++ b/src/geo/ui/legends/legends-view.js
@@ -48,6 +48,9 @@ var LegendsView = Backbone.View.extend({
this.$shadowBottom = $('<div>').addClass('CDB-Legends-canvasS... | Show shadows initially if there's some scroll | CartoDB_carto.js | train | js |
0af1cffb6b324f11a31fb799788cf603c749ee1c | diff --git a/PluginBase/src/org/bimserver/bimbots/BimBotContext.java b/PluginBase/src/org/bimserver/bimbots/BimBotContext.java
index <HASH>..<HASH> 100644
--- a/PluginBase/src/org/bimserver/bimbots/BimBotContext.java
+++ b/PluginBase/src/org/bimserver/bimbots/BimBotContext.java
@@ -3,4 +3,5 @@ package org.bimserver.bim... | Added a method to get the current user(name), e.a. email address | opensourceBIM_BIMserver | train | java |
b949748467127139f08ecf5fb4db9d6fa7e9be03 | diff --git a/zipline/pipeline/factors/factor.py b/zipline/pipeline/factors/factor.py
index <HASH>..<HASH> 100644
--- a/zipline/pipeline/factors/factor.py
+++ b/zipline/pipeline/factors/factor.py
@@ -500,7 +500,7 @@ class CustomFactor(RequiredWindowLengthMixin, CustomTermMixin, Factor):
highest_highs = na... | BUG/DOC: Subtraction is what I meant there... | quantopian_zipline | train | py |
3e892bf6880d2b03d4b38020f56062be90595caf | diff --git a/lib/mini_term/ansi/output.rb b/lib/mini_term/ansi/output.rb
index <HASH>..<HASH> 100644
--- a/lib/mini_term/ansi/output.rb
+++ b/lib/mini_term/ansi/output.rb
@@ -13,6 +13,7 @@ module MiniTerm
def beep
STDERR.write(BELL)
STDERR.flush
+ self
end
end
diff --git a/lib/mini_term/windows/li... | Output routines should now return self. | PeterCamilleri_mini_term | train | rb,rb,rb |
7144c8baf025c01922702b7abf106f6b7957dfdb | diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/ssh.rb
+++ b/lib/chef/knife/ssh.rb
@@ -175,7 +175,9 @@ class Chef
if config[:attribute_from_cli]
Chef::Log.debug("Using node attribute '#{config[:attribute_from_cli]}' from the command lin... | Check to make sure that item[:cloud][:public_hostname] is not empty before using it as the ssh target | chef_chef | train | rb |
7cef9748ff87d99c2117a45214e31bb45a17062e | diff --git a/mod/workshop/version.php b/mod/workshop/version.php
index <HASH>..<HASH> 100644
--- a/mod/workshop/version.php
+++ b/mod/workshop/version.php
@@ -24,6 +24,6 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2018120301; // The current module version (YYYYMMDDXX)
+$plugin->version =... | MDL-<I> mod_workshop: fix version bump | moodle_moodle | train | php |
9e2055982066901ef6842475aab97db11da5424a | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -6,7 +6,11 @@
callback - once all deferences are finished call this function
*/
-exports.Understudy = function() {
+
+module.exports = Understudy;
+module.exports.Understudy = Understudy;
+
+function Under... | [api] allow understudy to be required directly | bmeck_understudy | train | js |
6378aab439f38ce335e325b2e4414254cff09901 | diff --git a/lib/Cake/View/View.php b/lib/Cake/View/View.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/View/View.php
+++ b/lib/Cake/View/View.php
@@ -862,12 +862,16 @@ class View extends Object {
$this->_current = $viewFile;
$initialBlocks = count($this->Blocks->unclosed());
- $this->getEventManager()->dispat... | Call a few fewer methods. | cakephp_cakephp | train | php |
c225feefc8ccddddc5f815073ea034efc6e3c2bb | diff --git a/classes/PodsRESTFields.php b/classes/PodsRESTFields.php
index <HASH>..<HASH> 100644
--- a/classes/PodsRESTFields.php
+++ b/classes/PodsRESTFields.php
@@ -195,7 +195,10 @@ class PodsRESTFields {
return false;
}
- return filter_var( $field->get_arg( $mode, false ), FILTER_VALIDATE_BOOLEAN );
+ // ... | Field arguments are prefixed with `rest` | pods-framework_pods | train | php |
a098d96c94df99d8136f2959b8c7abab0c4c6529 | diff --git a/lib/Cake/Test/Case/Utility/ValidationTest.php b/lib/Cake/Test/Case/Utility/ValidationTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/Case/Utility/ValidationTest.php
+++ b/lib/Cake/Test/Case/Utility/ValidationTest.php
@@ -1766,7 +1766,6 @@ class ValidationTest extends CakeTestCase {
$this->ass... | Remove flaky test that was of questionable value. | cakephp_cakephp | train | php |
23ae97e54b727cbb4680dbb66156b4eb5519e657 | diff --git a/src/shapes/Shape.js b/src/shapes/Shape.js
index <HASH>..<HASH> 100644
--- a/src/shapes/Shape.js
+++ b/src/shapes/Shape.js
@@ -18,8 +18,7 @@
* }
*/
export class Shape {
- static name = 'Shape';
-
+ _name = 'Shape';
_text = '';
_width = 15;
_height = 5;
@@ -54,6 +53,15 @@ export class Shape {... | fix(shape): Fixes issue with static property that is not supported | ghaiklor_kittik | train | js |
5ce86f9afccc98ef59146dd129a91b46c893040a | diff --git a/java-monitoring/samples/snippets/src/test/java/com/example/AlertIT.java b/java-monitoring/samples/snippets/src/test/java/com/example/AlertIT.java
index <HASH>..<HASH> 100644
--- a/java-monitoring/samples/snippets/src/test/java/com/example/AlertIT.java
+++ b/java-monitoring/samples/snippets/src/test/java/co... | samples: Fix flaky tests (#<I>)
* Fixed flaky tests
* reverted back | googleapis_google-cloud-java | train | java |
f1f5fd3a1cf93cc464f3794b6b510bb696ae9026 | diff --git a/src/Propel/Generator/Builder/Om/QueryBuilder.php b/src/Propel/Generator/Builder/Om/QueryBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Propel/Generator/Builder/Om/QueryBuilder.php
+++ b/src/Propel/Generator/Builder/Om/QueryBuilder.php
@@ -974,11 +974,10 @@ abstract class ".$this->getUnqualifiedClassName... | Updated PHPDoc for filterByX (#<I>) | propelorm_Propel2 | train | php |
348967d17a59d869b647bc5e4350b35b7b892861 | diff --git a/tests/databases/pgsql/PgSQLQBTest.php b/tests/databases/pgsql/PgSQLQBTest.php
index <HASH>..<HASH> 100644
--- a/tests/databases/pgsql/PgSQLQBTest.php
+++ b/tests/databases/pgsql/PgSQLQBTest.php
@@ -19,6 +19,12 @@ class PgSQLQBTest extends QBTest {
public function setUp()
{
+ // If the database isn... | Skip QB tests for Postgres if the class isn't loaded | aviat4ion_Query | train | php |
8eb17b0ee0d64b79c892e3ef71241484db1d3aed | diff --git a/payu/experiment.py b/payu/experiment.py
index <HASH>..<HASH> 100644
--- a/payu/experiment.py
+++ b/payu/experiment.py
@@ -639,12 +639,16 @@ class Experiment(object):
# NOTE: This is PBS-specific
job_id = get_job_id(short=False)
+ if job_id == '':
+ job_... | Forgot to prepend error path to logs when run crashes. (#<I>)
Now use git commit hash to uniquely identify logs if PBS id not
available, e.g. using payu-run. | payu-org_payu | train | py |
d187d924d675d8830d374a280cf2dada68114c18 | diff --git a/lib/handlebars_assets/version.rb b/lib/handlebars_assets/version.rb
index <HASH>..<HASH> 100644
--- a/lib/handlebars_assets/version.rb
+++ b/lib/handlebars_assets/version.rb
@@ -1,3 +1,3 @@
module HandlebarsAssets
- VERSION = "0.23.5"
+ VERSION = "0.23.6"
end | Bump handlebars_assets to <I> | leshill_handlebars_assets | train | rb |
470cad95a10d289dde51bdc6800ab4432db7591d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -25,6 +25,15 @@ Vodo.prototype.config = {
name: 'vodo',
uniqueId: 'imdb_id',
tabName: 'Vodo',
+ filters: {
+ sorters: {
+ popularity: 'Popularity',
+ updated: 'Updated',
+ ... | add filters to adapt for butter provider <I> | butterproviders_butter-provider-vodo | train | js |
ded186de2a894a24c14bf3e999ec8ca12ffd36d4 | diff --git a/mods/parsoid.js b/mods/parsoid.js
index <HASH>..<HASH> 100644
--- a/mods/parsoid.js
+++ b/mods/parsoid.js
@@ -744,7 +744,9 @@ PSP.makeTransform = function(from, to) {
var innerRes = res.body[to];
innerRes.status = 200;
// Handle body_only flag.
- // bodyOnl... | Add more explicit comment about bodyOnly support removal | wikimedia_restbase | train | js |
e75a8559cc605f301c87750bf4c85820d8f21345 | diff --git a/lib/textbringer/window.rb b/lib/textbringer/window.rb
index <HASH>..<HASH> 100644
--- a/lib/textbringer/window.rb
+++ b/lib/textbringer/window.rb
@@ -171,10 +171,6 @@ module Textbringer
@@started = true
yield
ensure
- @@windows.each do |win|
- win.delete
- en... | Don't delete windows to avoid errors on exit. | shugo_textbringer | train | rb |
3b589c57627785d7f7623a8f0c0274dd4abe20a6 | diff --git a/finglish/f2p.py b/finglish/f2p.py
index <HASH>..<HASH> 100755
--- a/finglish/f2p.py
+++ b/finglish/f2p.py
@@ -41,7 +41,7 @@ def f2p_word_internal(word):
converter = middle
conversions = converter.get(letter)
if conversions == None:
- conversions = letter
+ ... | Return the original word if one of the letters is invalid. | elektito_finglish | train | py |
0603a4415053cd2d76b26f09dc618db91a9fed3c | diff --git a/quantrisk/tears.py b/quantrisk/tears.py
index <HASH>..<HASH> 100644
--- a/quantrisk/tears.py
+++ b/quantrisk/tears.py
@@ -214,7 +214,7 @@ def create_bayesian_tear_sheet(df_rets, bmark, live_start_date, plot_train_len=5
def create_full_tear_sheet(df_rets, df_pos=None, df_txn=None,
... | ENH Add option for Bayesian tear sheet to full tear sheet. | quantopian_pyfolio | train | py |
c291acd96e9a7dffc5bbf19973fa09be590d3b06 | diff --git a/api/lock.go b/api/lock.go
index <HASH>..<HASH> 100644
--- a/api/lock.go
+++ b/api/lock.go
@@ -70,6 +70,9 @@ func (c *Client) LockKey(key string) (*Lock, error) {
// to acquire and release the mutex. The key used must have
// write permissions.
func (c *Client) LockOpts(opts *LockOptions) (*Lock, error) ... | api: Minor cleanups in lock | hashicorp_consul | train | go |
1e7368e782a74bc757cf05096b2176c096d85505 | diff --git a/lib/dmllib.php b/lib/dmllib.php
index <HASH>..<HASH> 100644
--- a/lib/dmllib.php
+++ b/lib/dmllib.php
@@ -962,6 +962,15 @@ function set_field($table, $newfield, $newvalue, $field1, $value1, $field2='', $
$select = where_clause($field1, $value1, $field2, $value2, $field3, $value3);
+ // Oracle D... | dmlib: set_field() now has the Oracle DIRTY HACK too! | moodle_moodle | train | php |
bb0e3766072e60c7a274353e5379ee0f1f2f0718 | diff --git a/common/hook_manager.py b/common/hook_manager.py
index <HASH>..<HASH> 100644
--- a/common/hook_manager.py
+++ b/common/hook_manager.py
@@ -28,9 +28,10 @@ class HookManager(object):
def _exception_free_callback(self, callback, *args, **kwargs):
""" A wrapper that remove all exceptions raised fr... | Modify a bit how Hook Manager handles the hooks | UCL-INGI_INGInious | train | py |
3923256db04d825af5abf475a26f24e3ae045bdc | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -60,7 +60,7 @@ function getFileContents(file) {
//
// Clean SVGs
//
-gulp.task('clean-svg', function (cb) {
+gulp.task('clean', function (cb) {
gulp.src([options.dist + '**/*.svg'])
.pipe(clean());... | [TASK] Rename gulp tasks to clean, min and docs | TYPO3_TYPO3.Icons | train | js |
4f7004adeff3fe17d7c2ca214cb82f0b6f946ac8 | diff --git a/src/tabs/tabs.js b/src/tabs/tabs.js
index <HASH>..<HASH> 100644
--- a/src/tabs/tabs.js
+++ b/src/tabs/tabs.js
@@ -152,15 +152,6 @@
}
}
- /**
- * Downgrade the component.
- *
- * @private
- */
- MaterialTabs.prototype.mdlDowngrade_ = function() {
- // No special downgrading code neede... | Reverting #<I> after discussing approach. | material-components_material-components-web | train | js |
a4d4a7a72976262b7a36b0c1b989174502e9c779 | diff --git a/provider/openstack/image.go b/provider/openstack/image.go
index <HASH>..<HASH> 100644
--- a/provider/openstack/image.go
+++ b/provider/openstack/image.go
@@ -4,6 +4,9 @@
package openstack
import (
+ "crypto/tls"
+ "net/http"
+
"launchpad.net/juju-core/environs/imagemetadata"
"launchpad.net/juju-cor... | Quick hack appears to work.
Before we ask imagestreams to check our private buckets,
override the httpClient that simplestreams is going to
use.
This isn't perfect, but it works ok for what we need. | juju_juju | train | go |
3f2074096b277603ca462e8ad4789b0a12b8bbf5 | diff --git a/app/controllers/days_controller.rb b/app/controllers/days_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/days_controller.rb
+++ b/app/controllers/days_controller.rb
@@ -6,8 +6,8 @@ class DaysController < AuthorizedController
# AJAX methods
def calculate_cash
- bills = params[:ca... | Treat params[:cash_register] as hash, not array in days/calculate_cash. | huerlisi_bookyt_salary | train | rb |
866ffd6a89c27f0835ae5c384fbfade26f1aaee6 | diff --git a/Swat/SwatCheckbox.php b/Swat/SwatCheckbox.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatCheckbox.php
+++ b/Swat/SwatCheckbox.php
@@ -76,6 +76,9 @@ class SwatCheckbox extends SwatInputControl implements SwatState
if ($this->value)
$input_tag->checked = 'checked';
+ if (!$this->isSensitive())
+ ... | When a checkbox is set as insensitive by Swat, display the input tag with disabled='disabled'.
svn commit r<I> | silverorange_swat | train | php |
377ba9f5755394bef524831198668d16ed50e174 | diff --git a/DependencyInjection/EzCoreExtraExtension.php b/DependencyInjection/EzCoreExtraExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/EzCoreExtraExtension.php
+++ b/DependencyInjection/EzCoreExtraExtension.php
@@ -14,7 +14,6 @@ namespace Lolautruche\EzCoreExtraBundle\DependencyInjection;
use e... | Compatibility with php <<I>
Changed call to debug template twig class | lolautruche_EzCoreExtraBundle | train | php |
a21d306694075dca29f800096744dcfdc0114de8 | diff --git a/src/Traits/HasTranslations.php b/src/Traits/HasTranslations.php
index <HASH>..<HASH> 100644
--- a/src/Traits/HasTranslations.php
+++ b/src/Traits/HasTranslations.php
@@ -55,4 +55,18 @@ trait HasTranslations
return $value;
}
+
+ /**
+ * Convert the model's attributes to an array.
+ ... | Return only first translation of translatable attributes | rinvex_laravel-support | train | php |
be5f2412ffe353df9b754b3e7774cc828cd5fa0a | diff --git a/lib/big_index/resource.rb b/lib/big_index/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/big_index/resource.rb
+++ b/lib/big_index/resource.rb
@@ -377,7 +377,9 @@ module BigIndex
end
def self.find_by_#{finder_name}(user_query, options={})
- find_all_by_#{finder_name}(u... | Bigindex update
* Dynamic attribute finder updated again. | openplaces_bigindex | train | rb |
afce6317ea027bb7dac40fe36f71304184ad1397 | diff --git a/code/libraries/koowa/libraries/event/listener/listener.php b/code/libraries/koowa/libraries/event/listener/listener.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/libraries/event/listener/listener.php
+++ b/code/libraries/koowa/libraries/event/listener/listener.php
@@ -61,7 +61,7 @@ class KEven... | re #<I> : Use KEvent priorities. | joomlatools_joomlatools-framework | train | php |
1c1169bf4d56edef3fa05d8fd7e0a7ad24e5127e | diff --git a/core-bundle/src/Resources/contao/library/Contao/Database/Installer.php b/core-bundle/src/Resources/contao/library/Contao/Database/Installer.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/library/Contao/Database/Installer.php
+++ b/core-bundle/src/Resources/contao/library/Contao/Data... | [Core] Wrap the SQL statements in the install tool in a scrollable div (see #<I>) | contao_contao | train | php |
b9421f7c8d09365acc525c0c282c56801263e97f | diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -18,8 +18,12 @@ import multiprocessing
import sys
# Import third party libs
-import zmq
-from M2Crypto import RSA
+try:
+ import zmq
+ from M2Crypto import RSA
+except ImportError:
+ # Don'... | Allow raet libs to safely import salt.master | saltstack_salt | train | py |
ceded7193726727daafef3ea0677c92fdc01f94b | diff --git a/packages/heroku-apps/commands/config/set.js b/packages/heroku-apps/commands/config/set.js
index <HASH>..<HASH> 100644
--- a/packages/heroku-apps/commands/config/set.js
+++ b/packages/heroku-apps/commands/config/set.js
@@ -5,13 +5,22 @@ let co = require('co');
let extend = require('util')._extend;
let... | fix splitting of config vars with = in them | heroku_cli | train | js |
b4b843035426ac4dad670ee5528bc210fc81c213 | diff --git a/src/module.js b/src/module.js
index <HASH>..<HASH> 100644
--- a/src/module.js
+++ b/src/module.js
@@ -248,9 +248,15 @@ angular.module('stormpath', [
away from the login page and send the user to the
post login state.
*/
- if($user.currentUser && $user.... | Fix: redirect away from login if already logged in | stormpath_stormpath-sdk-angularjs | train | js |
9bf31f5faaf9066de67c3a7350e2e12ef7483649 | diff --git a/container/__init__.py b/container/__init__.py
index <HASH>..<HASH> 100644
--- a/container/__init__.py
+++ b/container/__init__.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
-__version__ = '0.9.3rc2'
+__version__ = '0.9.3rc3'
import os
import sys | chored version to reflect recent PRs merged to develop | ansible_ansible-container | train | py |
c171859ee70e21bccda6ba71ca40ceeb09c9c7c7 | diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
index <HASH>..<HASH> 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
+++ b/plugins/sonar-core-plugin/sr... | SONAR-<I> move settings to the category 'general' | SonarSource_sonarqube | train | java |
cc38fe6200899c707dca6aaab1a27cb3b0308681 | diff --git a/src/ace/BackgroundTokenizer.js b/src/ace/BackgroundTokenizer.js
index <HASH>..<HASH> 100644
--- a/src/ace/BackgroundTokenizer.js
+++ b/src/ace/BackgroundTokenizer.js
@@ -97,8 +97,14 @@ var BackgroundTokenizer = function(tokenizer) {
if (row > 0 && this.lines[row - 1]) {
state ... | we cannot cache the tokenized state all the time :( | joewalker_gcli | train | js |
70b00cbbe4294d5216bab779571e79f96abd58fa | diff --git a/biojava-ws/src/main/java/org/biojava/nbio/ws/hmmer/RemoteHmmerScan.java b/biojava-ws/src/main/java/org/biojava/nbio/ws/hmmer/RemoteHmmerScan.java
index <HASH>..<HASH> 100644
--- a/biojava-ws/src/main/java/org/biojava/nbio/ws/hmmer/RemoteHmmerScan.java
+++ b/biojava-ws/src/main/java/org/biojava/nbio/ws/hmme... | setting timeout when talking to Hmmer server | biojava_biojava | train | java |
a7227cdedd82981ce51cf961c6ff16813d84fa25 | diff --git a/java/client/test/org/openqa/selenium/testing/drivers/TestEdgeDriver.java b/java/client/test/org/openqa/selenium/testing/drivers/TestEdgeDriver.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/testing/drivers/TestEdgeDriver.java
+++ b/java/client/test/org/openqa/selenium/testing/d... | [testing] Only check one flag to see if we want legacy edge driver | SeleniumHQ_selenium | train | java |
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.