Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
10071950 | <NME> .jscsrc
<BEF> ADDFILE
<MSG> chore(jscsrc): Added .jscsrc
<DFF> @@ -0,0 +1,75 @@
+{
+ "requireCurlyBraces": [
+ "if",
+ "else",
+ "for",
+ "while",
+ "do",
+ "try",
+ "catch"
+ ],
+ "requireSpaceAfterKeywords": [
+ "if",
+ "else",
+ "for",
+ "while",
+ "do",
+ "switch",
+... | 75 | chore(jscsrc): Added .jscsrc | 0 | jscsrc | mit | Semantic-Org/Semantic-UI-Angular | |
10071951 | <NME> .jscsrc
<BEF> ADDFILE
<MSG> chore(jscsrc): Added .jscsrc
<DFF> @@ -0,0 +1,75 @@
+{
+ "requireCurlyBraces": [
+ "if",
+ "else",
+ "for",
+ "while",
+ "do",
+ "try",
+ "catch"
+ ],
+ "requireSpaceAfterKeywords": [
+ "if",
+ "else",
+ "for",
+ "while",
+ "do",
+ "switch",
+... | 75 | chore(jscsrc): Added .jscsrc | 0 | jscsrc | mit | Semantic-Org/Semantic-UI-Angular | |
10071952 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Helper
def ab_test(metric_descriptor, control=nil, *alternatives)
if RUBY_VERSION.match(/1\.8/) && alternatives.length.zero? && ! control.nil?
puts 'WARNING: You should always pass the control alternative through as the second argument with... | 0 | Remove 1.8.7 warning | 3 | .rb | rb | mit | splitrb/split |
10071953 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Helper
def ab_test(metric_descriptor, control=nil, *alternatives)
if RUBY_VERSION.match(/1\.8/) && alternatives.length.zero? && ! control.nil?
puts 'WARNING: You should always pass the control alternative through as the second argument with... | 0 | Remove 1.8.7 warning | 3 | .rb | rb | mit | splitrb/split |
10071954 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Helper
def ab_test(metric_descriptor, control=nil, *alternatives)
if RUBY_VERSION.match(/1\.8/) && alternatives.length.zero? && ! control.nil?
puts 'WARNING: You should always pass the control alternative through as the second argument with... | 0 | Remove 1.8.7 warning | 3 | .rb | rb | mit | splitrb/split |
10071955 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
# TODO change some of these tests to use Rack::Test
describe Split::Helper do
include Split::Helper
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "shou... | 6 | Merge pull request #88 from philnash/philnash/more-reset-false-issues | 0 | .rb | rb | mit | splitrb/split |
10071956 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
# TODO change some of these tests to use Rack::Test
describe Split::Helper do
include Split::Helper
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "shou... | 6 | Merge pull request #88 from philnash/philnash/more-reset-false-issues | 0 | .rb | rb | mit | splitrb/split |
10071957 | <NME> helper_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
# TODO change some of these tests to use Rack::Test
describe Split::Helper do
include Split::Helper
let(:experiment) {
Split::ExperimentCatalog.find_or_create("link_color", "blue", "red")
}
describe "ab_test" do
it "shou... | 6 | Merge pull request #88 from philnash/philnash/more-reset-false-issues | 0 | .rb | rb | mit | splitrb/split |
10071958 | <NME> utils.ts
<BEF> import Scanner from './index';
interface QuotedOptions {
/** A character code of quote-escape symbol */
escape?: number;
/** Throw error if quotes string can’t be properly consumed */
throws?: boolean;
}
const defaultQuotedOptions: QuotedOptions = {
escape: 92, // \ charact... | 5 | New abbreviation tokenizer | 1 | .ts | ts | mit | emmetio/emmet |
10071959 | <NME> utils.ts
<BEF> import Scanner from './index';
interface QuotedOptions {
/** A character code of quote-escape symbol */
escape?: number;
/** Throw error if quotes string can’t be properly consumed */
throws?: boolean;
}
const defaultQuotedOptions: QuotedOptions = {
escape: 92, // \ charact... | 5 | New abbreviation tokenizer | 1 | .ts | ts | mit | emmetio/emmet |
10071960 | <NME> index.erb
<BEF> <% if @experiments.any? %>
<p class="intro">The list below contains all the registered experiments along with the number of test participants, completed and conversion rate currently in the system.</p>
<div class="dashboard-controls">
<input type="text" placeholder="Begin typing to filter... | 15 | Show percentage improvement of alternatives compared to the control | 2 | .erb | erb | mit | splitrb/split |
10071961 | <NME> index.erb
<BEF> <% if @experiments.any? %>
<p class="intro">The list below contains all the registered experiments along with the number of test participants, completed and conversion rate currently in the system.</p>
<div class="dashboard-controls">
<input type="text" placeholder="Begin typing to filter... | 15 | Show percentage improvement of alternatives compared to the control | 2 | .erb | erb | mit | splitrb/split |
10071962 | <NME> index.erb
<BEF> <% if @experiments.any? %>
<p class="intro">The list below contains all the registered experiments along with the number of test participants, completed and conversion rate currently in the system.</p>
<div class="dashboard-controls">
<input type="text" placeholder="Begin typing to filter... | 15 | Show percentage improvement of alternatives compared to the control | 2 | .erb | erb | mit | splitrb/split |
10071963 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
trial = Split::... | 0 | Make Trial goals parameter context specific | 1 | .rb | rb | mit | splitrb/split |
10071964 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
trial = Split::... | 0 | Make Trial goals parameter context specific | 1 | .rb | rb | mit | splitrb/split |
10071965 | <NME> trial_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "split/trial"
describe Split::Trial do
let(:user) { mock_user }
let(:alternatives) { ["basket", "cart"] }
let(:experiment) do
Split::Experiment.new("basket_text", alternatives: alternatives).save
end
trial = Split::... | 0 | Make Trial goals parameter context specific | 1 | .rb | rb | mit | splitrb/split |
10071966 | <NME> metric_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Metric do
describe 'possible experiments' do
it "should load the experiment if there is one, but no metric" do
experiment = Split::Experiment.find_or_create('color', 'red', 'blue')
expect(Split::Metric.poss... | 5 | Remove unnecessary duplicate methods | 5 | .rb | rb | mit | splitrb/split |
10071967 | <NME> metric_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Metric do
describe 'possible experiments' do
it "should load the experiment if there is one, but no metric" do
experiment = Split::Experiment.find_or_create('color', 'red', 'blue')
expect(Split::Metric.poss... | 5 | Remove unnecessary duplicate methods | 5 | .rb | rb | mit | splitrb/split |
10071968 | <NME> metric_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Metric do
describe 'possible experiments' do
it "should load the experiment if there is one, but no metric" do
experiment = Split::Experiment.find_or_create('color', 'red', 'blue')
expect(Split::Metric.poss... | 5 | Remove unnecessary duplicate methods | 5 | .rb | rb | mit | splitrb/split |
10071969 | <NME> README.md
<BEF>
# transducers.js
A small library for generalized transformation of data. This provides a bunch of transformation functions that can be applied to any data structure. It is a direct port of Clojure's [transducers](http://blog.cognitect.com/blog/2014/8/6/transducers-are-coming) in JavaScript. Read... | 1 | readme typo | 1 | .md | md | bsd-2-clause | jlongster/transducers.js |
10071970 | <NME> settings.py
<BEF> from conf.default import *
import os
DEBUG = True
TEMPLATE_DEBUG = DEBUG
LOCAL_DEVELOPMENT = True
if LOCAL_DEVELOPMENT:
import sys
sys.path.append(os.path.dirname(__file__))
ADMINS = (
DJANGOPYPI_ALLOW_VERSION_OVERWRITE = False
DJANGOPYPI_RELEASE_UPLOAD_TO = 'dists'
MANAGERS = ADMINS... | 4 | bugfix: added django.contrib.admindocs as needed APP (it is referenced at urls.py) | 0 | .py | py | bsd-3-clause | ask/chishop |
10071971 | <NME> README.md
<BEF> # [Split](https://libraries.io/rubygems/split)
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
[](http://badge.fury.io/rb/split)

[
+ from setuptools im... | 34 | Added proper structure | 0 | .py | py | bsd-3-clause | ask/chishop |
10071977 | <NME> index.erb
<BEF> <h1>Split Dashboard</h1>
<p class="intro">The list below contains all the registered experiments along with the number of test participants, completed and conversion rate currently in the system.</p>
<% @experiments.each do |experiment| %>
<h2><%= experiment.name %></h2>
<table class="queues"... | 53 | More helpful text when no experiments exist | 48 | .erb | erb | mit | splitrb/split |
10071978 | <NME> index.erb
<BEF> <h1>Split Dashboard</h1>
<p class="intro">The list below contains all the registered experiments along with the number of test participants, completed and conversion rate currently in the system.</p>
<% @experiments.each do |experiment| %>
<h2><%= experiment.name %></h2>
<table class="queues"... | 53 | More helpful text when no experiments exist | 48 | .erb | erb | mit | splitrb/split |
10071979 | <NME> index.erb
<BEF> <h1>Split Dashboard</h1>
<p class="intro">The list below contains all the registered experiments along with the number of test participants, completed and conversion rate currently in the system.</p>
<% @experiments.each do |experiment| %>
<h2><%= experiment.name %></h2>
<table class="queues"... | 53 | More helpful text when no experiments exist | 48 | .erb | erb | mit | splitrb/split |
10071980 | <NME> _experiment.erb
<BEF> <div class="experiment">
<h2>Experiment: <%= experiment.name %> <% if experiment.version > 1 %><span class='version'>v<%= experiment.version %></span><% end %></h2>
<div class='inline-controls'>
<form action="<%= url "/reset/#{experiment.name}" %>" method='post' onclick="return confi... | 11 | Experiment header | 9 | .erb | erb | mit | splitrb/split |
10071981 | <NME> _experiment.erb
<BEF> <div class="experiment">
<h2>Experiment: <%= experiment.name %> <% if experiment.version > 1 %><span class='version'>v<%= experiment.version %></span><% end %></h2>
<div class='inline-controls'>
<form action="<%= url "/reset/#{experiment.name}" %>" method='post' onclick="return confi... | 11 | Experiment header | 9 | .erb | erb | mit | splitrb/split |
10071982 | <NME> _experiment.erb
<BEF> <div class="experiment">
<h2>Experiment: <%= experiment.name %> <% if experiment.version > 1 %><span class='version'>v<%= experiment.version %></span><% end %></h2>
<div class='inline-controls'>
<form action="<%= url "/reset/#{experiment.name}" %>" method='post' onclick="return confi... | 11 | Experiment header | 9 | .erb | erb | mit | splitrb/split |
10071983 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 5 | Blocked a few more common bot user agents (#485) | 0 | .rb | rb | mit | splitrb/split |
10071984 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 5 | Blocked a few more common bot user agents (#485) | 0 | .rb | rb | mit | splitrb/split |
10071985 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
attr_accessor :db_failover
attr_accessor :db_failover_on_db_error
attr_accessor :db_failover_allow_parameter_override
attr_accessor :allo... | 5 | Blocked a few more common bot user agents (#485) | 0 | .rb | rb | mit | splitrb/split |
10071986 | <NME> redis_adapter_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Persistence::RedisAdapter do
let(:context) { double(lookup: "blah") }
subject { Split::Persistence::RedisAdapter.new(context) }
describe "#redis_key" do
before { Split::Persistence::RedisAdapter.reset_con... | 9 | Allow RedisAdapter to be used outside of a session context | 0 | .rb | rb | mit | splitrb/split |
10071987 | <NME> redis_adapter_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Persistence::RedisAdapter do
let(:context) { double(lookup: "blah") }
subject { Split::Persistence::RedisAdapter.new(context) }
describe "#redis_key" do
before { Split::Persistence::RedisAdapter.reset_con... | 9 | Allow RedisAdapter to be used outside of a session context | 0 | .rb | rb | mit | splitrb/split |
10071988 | <NME> redis_adapter_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Persistence::RedisAdapter do
let(:context) { double(lookup: "blah") }
subject { Split::Persistence::RedisAdapter.new(context) }
describe "#redis_key" do
before { Split::Persistence::RedisAdapter.reset_con... | 9 | Allow RedisAdapter to be used outside of a session context | 0 | .rb | rb | mit | splitrb/split |
10071989 | <NME> parser.ts
<BEF> import { strictEqual as equal, throws } from 'assert';
import parser from '../src/parser';
import tokenizer from '../src/tokenizer';
import stringify from './assets/stringify';
import { ParserOptions } from '../src';
const parse = (abbr: string, options?: ParserOptions) => parser(tokenizer(abbr),... | 9 | Support JSX component names parsing | 0 | .ts | ts | mit | emmetio/emmet |
10071990 | <NME> parser.ts
<BEF> import { strictEqual as equal, throws } from 'assert';
import parser from '../src/parser';
import tokenizer from '../src/tokenizer';
import stringify from './assets/stringify';
import { ParserOptions } from '../src';
const parse = (abbr: string, options?: ParserOptions) => parser(tokenizer(abbr),... | 9 | Support JSX component names parsing | 0 | .ts | ts | mit | emmetio/emmet |
10071991 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.name = "split"
s.version = Split::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s... | 0 | Use a real redis-server on CI | 1 | .gemspec | gemspec | mit | splitrb/split |
10071992 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.name = "split"
s.version = Split::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s... | 0 | Use a real redis-server on CI | 1 | .gemspec | gemspec | mit | splitrb/split |
10071993 | <NME> split.gemspec
<BEF> # -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path("../lib", __FILE__)
require "split/version"
Gem::Specification.new do |s|
s.name = "split"
s.version = Split::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Andrew Nesbitt"]
s... | 0 | Use a real redis-server on CI | 1 | .gemspec | gemspec | mit | splitrb/split |
10071994 | <NME> spec_helper.rb
<BEF> # frozen_string_literal: true
ENV["RACK_ENV"] = "test"
require "rubygems"
require "bundler/setup"
require "simplecov"
SimpleCov.start
require "split"
require "ostruct"
require "yaml"
Dir["./spec/support/*.rb"].each { |f| require f }
module GlobalSharedContext
extend RSpec::SharedConte... | 1 | Remove usage of deprecated implicit block expectation from specs | 0 | .rb | rb | mit | splitrb/split |
10071995 | <NME> spec_helper.rb
<BEF> # frozen_string_literal: true
ENV["RACK_ENV"] = "test"
require "rubygems"
require "bundler/setup"
require "simplecov"
SimpleCov.start
require "split"
require "ostruct"
require "yaml"
Dir["./spec/support/*.rb"].each { |f| require f }
module GlobalSharedContext
extend RSpec::SharedConte... | 1 | Remove usage of deprecated implicit block expectation from specs | 0 | .rb | rb | mit | splitrb/split |
10071996 | <NME> spec_helper.rb
<BEF> # frozen_string_literal: true
ENV["RACK_ENV"] = "test"
require "rubygems"
require "bundler/setup"
require "simplecov"
SimpleCov.start
require "split"
require "ostruct"
require "yaml"
Dir["./spec/support/*.rb"].each { |f| require f }
module GlobalSharedContext
extend RSpec::SharedConte... | 1 | Remove usage of deprecated implicit block expectation from specs | 0 | .rb | rb | mit | splitrb/split |
10071997 | <NME> README.md
<BEF>
# transducers.js
A small library for generalized transformation of data. This provides a bunch of transformation functions that can be applied to any data structure. It is a direct port of Clojure's [transducers](http://blog.cognitect.com/blog/2014/8/6/transducers-are-coming) in JavaScript. Read... | 11 | use Immutable.List in examples | 11 | .md | md | bsd-2-clause | jlongster/transducers.js |
10071998 | <NME> jquery.meow.js
<BEF> // jQuery Meow by Zachary Stewart (zacstewart.com)
//
// Copyright (c) 2011 Zachary Stewart
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrictio... | 0 | Move license to its own file | 23 | .js | meow | mit | zacstewart/Meow |
10071999 | <NME> jquery.meow.js
<BEF> // jQuery Meow by Zachary Stewart (zacstewart.com)
//
// Copyright (c) 2011 Zachary Stewart
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrictio... | 0 | Move license to its own file | 23 | .js | meow | mit | zacstewart/Meow |
10072000 | <NME> format.ts
<BEF> import { equal } from 'assert';
import html from '../src/markup/format/html';
import haml from '../src/markup/format/haml';
import parse from '../src/markup';
import createConfig from '../src/config';
import { OutputProfileOptions } from '../src/OutputProfile';
describe('Format', () => {
cons... | 32 | Working implementation of Pug formatter | 0 | .ts | ts | mit | emmetio/emmet |
10072001 | <NME> format.ts
<BEF> import { equal } from 'assert';
import html from '../src/markup/format/html';
import haml from '../src/markup/format/haml';
import parse from '../src/markup';
import createConfig from '../src/config';
import { OutputProfileOptions } from '../src/OutputProfile';
describe('Format', () => {
cons... | 32 | Working implementation of Pug formatter | 0 | .ts | ts | mit | emmetio/emmet |
10072002 | <NME> user.rb
<BEF> # frozen_string_literal: true
require "forwardable"
module Split
class User
extend Forwardable
def_delegators :@user, :keys, :[], :[]=, :delete
attr_reader :user
def initialize(context, adapter = nil)
@user = adapter || Split::Persistence.adapter.new(context)
@cleane... | 9 | Fix Layout/IndentationWidth | 9 | .rb | rb | mit | splitrb/split |
10072003 | <NME> user.rb
<BEF> # frozen_string_literal: true
require "forwardable"
module Split
class User
extend Forwardable
def_delegators :@user, :keys, :[], :[]=, :delete
attr_reader :user
def initialize(context, adapter = nil)
@user = adapter || Split::Persistence.adapter.new(context)
@cleane... | 9 | Fix Layout/IndentationWidth | 9 | .rb | rb | mit | splitrb/split |
10072004 | <NME> user.rb
<BEF> # frozen_string_literal: true
require "forwardable"
module Split
class User
extend Forwardable
def_delegators :@user, :keys, :[], :[]=, :delete
attr_reader :user
def initialize(context, adapter = nil)
@user = adapter || Split::Persistence.adapter.new(context)
@cleane... | 9 | Fix Layout/IndentationWidth | 9 | .rb | rb | mit | splitrb/split |
10072005 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 75 | Load experiments via YAML indifferently. | 3 | .rb | rb | mit | splitrb/split |
10072006 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 75 | Load experiments via YAML indifferently. | 3 | .rb | rb | mit | splitrb/split |
10072007 | <NME> configuration_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
describe Split::Configuration do
before(:each) { @config = Split::Configuration.new }
it "should provide a default value for ignore_ip_addresses" do
expect(@config.ignore_ip_addresses).to eq([])
end
it "should provide ... | 75 | Load experiments via YAML indifferently. | 3 | .rb | rb | mit | splitrb/split |
10072008 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> chore(.travis.yml): Added .travis.yml for Travis-CI integration
<DFF> @@ -0,0 +1,11 @@
+language: node_js
+
+node_js:
+ - 0.10
+ - 0.11
+
+before_script:
+ - npm install -g gulp
+
+script:
+ - gulp test
\ No newline at end of file
| 11 | chore(.travis.yml): Added .travis.yml for Travis-CI integration | 0 | .yml | travis | mit | Semantic-Org/Semantic-UI-Angular |
10072009 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> chore(.travis.yml): Added .travis.yml for Travis-CI integration
<DFF> @@ -0,0 +1,11 @@
+language: node_js
+
+node_js:
+ - 0.10
+ - 0.11
+
+before_script:
+ - npm install -g gulp
+
+script:
+ - gulp test
\ No newline at end of file
| 11 | chore(.travis.yml): Added .travis.yml for Travis-CI integration | 0 | .yml | travis | mit | Semantic-Org/Semantic-UI-Angular |
10072010 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> chore(.travis.yml): Added .travis.yml for Travis-CI integration
<DFF> @@ -0,0 +1,11 @@
+language: node_js
+
+node_js:
+ - 0.10
+ - 0.11
+
+before_script:
+ - npm install -g gulp
+
+script:
+ - gulp test
\ No newline at end of file
| 11 | chore(.travis.yml): Added .travis.yml for Travis-CI integration | 0 | .yml | travis | mit | Semantic-Org/Semantic-UI-Angular |
10072011 | <NME> utils.py
<BEF> ADDFILE
<MSG> Merge branch 'master' of git://github.com/ask/chishop
<DFF> @@ -0,0 +1,38 @@
+import sys
+import traceback
+
+from django.core.files.uploadedfile import SimpleUploadedFile
+from django.utils.datastructures import MultiValueDict
+
+
+def transmute(f):
+ if hasattr(f, "filename") an... | 38 | Merge branch 'master' of git://github.com/ask/chishop | 0 | .py | py | bsd-3-clause | ask/chishop |
10072012 | <NME> ci.yml
<BEF> name: split
on: [push]
jobs:
test:
strategy:
matrix:
include:
- gemfile: 5.2.gemfile
ruby: 2.5
- gemfile: 5.2.gemfile
ruby: 2.6
- gemfile: 5.2.gemfile
ruby: 2.7
- gemfile: 6.0.gemfile
ruby... | 1 | Update actions/checkout to v3 | 1 | .yml | github/workflows/ci | mit | splitrb/split |
10072013 | <NME> ci.yml
<BEF> name: split
on: [push]
jobs:
test:
strategy:
matrix:
include:
- gemfile: 5.2.gemfile
ruby: 2.5
- gemfile: 5.2.gemfile
ruby: 2.6
- gemfile: 5.2.gemfile
ruby: 2.7
- gemfile: 6.0.gemfile
ruby... | 1 | Update actions/checkout to v3 | 1 | .yml | github/workflows/ci | mit | splitrb/split |
10072014 | <NME> ci.yml
<BEF> name: split
on: [push]
jobs:
test:
strategy:
matrix:
include:
- gemfile: 5.2.gemfile
ruby: 2.5
- gemfile: 5.2.gemfile
ruby: 2.6
- gemfile: 5.2.gemfile
ruby: 2.7
- gemfile: 6.0.gemfile
ruby... | 1 | Update actions/checkout to v3 | 1 | .yml | github/workflows/ci | mit | splitrb/split |
10072015 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Rescue from Redis::BaseError in #ab_test | 1 | .rb | rb | mit | splitrb/split |
10072016 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Rescue from Redis::BaseError in #ab_test | 1 | .rb | rb | mit | splitrb/split |
10072017 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 1 | Rescue from Redis::BaseError in #ab_test | 1 | .rb | rb | mit | splitrb/split |
10072018 | <NME> convert.ts
<BEF> ADDFILE
<MSG> Convert abbreviation to tree
<DFF> @@ -0,0 +1,17 @@
+import { equal } from 'assert';
+import parser, { ParserOptions } from '../src';
+import stringify from './assets/stringify-node';
+
+function parse(abbr: string, options?: ParserOptions) {
+ return stringify(parser(abbr, opti... | 17 | Convert abbreviation to tree | 0 | .ts | ts | mit | emmetio/emmet |
10072019 | <NME> convert.ts
<BEF> ADDFILE
<MSG> Convert abbreviation to tree
<DFF> @@ -0,0 +1,17 @@
+import { equal } from 'assert';
+import parser, { ParserOptions } from '../src';
+import stringify from './assets/stringify-node';
+
+function parse(abbr: string, options?: ParserOptions) {
+ return stringify(parser(abbr, opti... | 17 | Convert abbreviation to tree | 0 | .ts | ts | mit | emmetio/emmet |
10072020 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
attr_writer :algorithm
attr_accessor :resettable
attr_accessor :goals
def initialize(name, options = {})
options = {
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
}
def self.find(name)
... | 1 | Don't duplicate alternatives on access | 4 | .rb | rb | mit | splitrb/split |
10072021 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
attr_writer :algorithm
attr_accessor :resettable
attr_accessor :goals
def initialize(name, options = {})
options = {
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
}
def self.find(name)
... | 1 | Don't duplicate alternatives on access | 4 | .rb | rb | mit | splitrb/split |
10072022 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
attr_writer :algorithm
attr_accessor :resettable
attr_accessor :goals
def initialize(name, options = {})
options = {
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
}
def self.find(name)
... | 1 | Don't duplicate alternatives on access | 4 | .rb | rb | mit | splitrb/split |
10072023 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 0 | removed deprecated methods | 12 | .rb | rb | mit | splitrb/split |
10072024 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 0 | removed deprecated methods | 12 | .rb | rb | mit | splitrb/split |
10072025 | <NME> helper.rb
<BEF> # frozen_string_literal: true
module Split
module Helper
OVERRIDE_PARAM_NAME = "ab_test"
module_function
def ab_test(metric_descriptor, control = nil, *alternatives)
begin
experiment = ExperimentCatalog.find_or_initialize(metric_descriptor, control, *alternatives)
... | 0 | removed deprecated methods | 12 | .rb | rb | mit | splitrb/split |
10072026 | <NME> convert.ts
<BEF> import { equal } from 'assert';
import parser, { ParserOptions } from '../src';
import stringify from './assets/stringify-node';
function parse(abbr: string, options?: ParserOptions) {
return stringify(parser(abbr, options));
}
describe('Convert token abbreviations', () => {
it('basic',... | 4 | Insert text into deepest abbreviation node | 0 | .ts | ts | mit | emmetio/emmet |
10072027 | <NME> convert.ts
<BEF> import { equal } from 'assert';
import parser, { ParserOptions } from '../src';
import stringify from './assets/stringify-node';
function parse(abbr: string, options?: ParserOptions) {
return stringify(parser(abbr, options));
}
describe('Convert token abbreviations', () => {
it('basic',... | 4 | Insert text into deepest abbreviation node | 0 | .ts | ts | mit | emmetio/emmet |
10072028 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 0 | Move specs to appropriate file | 12 | .rb | rb | mit | splitrb/split |
10072029 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 0 | Move specs to appropriate file | 12 | .rb | rb | mit | splitrb/split |
10072030 | <NME> experiment_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require "time"
describe Split::Experiment do
def new_experiment(goals = [])
Split::Experiment.new("link_color", alternatives: ["blue", "red", "green"], goals: goals)
end
def alternative(color)
Split::Alternative.new(colo... | 0 | Move specs to appropriate file | 12 | .rb | rb | mit | splitrb/split |
10072031 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Reduce the calls to Redis when an experiment is saved | 2 | .rb | rb | mit | splitrb/split |
10072032 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Reduce the calls to Redis when an experiment is saved | 2 | .rb | rb | mit | splitrb/split |
10072033 | <NME> experiment.rb
<BEF> # frozen_string_literal: true
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
... | 2 | Reduce the calls to Redis when an experiment is saved | 2 | .rb | rb | mit | splitrb/split |
10072034 | <NME> button.js
<BEF> ///<reference path="../../../typings/angularjs/angular.d.ts"/>
///<reference path="../../../typings/angularjs/angular-animate.d.ts"/>
'use strict';
var SmButtonController = (function () {
function SmButtonController($animate) {
.directive('smButton', smButton);
function smButton(ariaHelp... | 11 | chore(smButton): Improved smButton directive after review | 10 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10072035 | <NME> button.js
<BEF> ///<reference path="../../../typings/angularjs/angular.d.ts"/>
///<reference path="../../../typings/angularjs/angular-animate.d.ts"/>
'use strict';
var SmButtonController = (function () {
function SmButtonController($animate) {
.directive('smButton', smButton);
function smButton(ariaHelp... | 11 | chore(smButton): Improved smButton directive after review | 10 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10072036 | <NME> button.js
<BEF> ///<reference path="../../../typings/angularjs/angular.d.ts"/>
///<reference path="../../../typings/angularjs/angular-animate.d.ts"/>
'use strict';
var SmButtonController = (function () {
function SmButtonController($animate) {
.directive('smButton', smButton);
function smButton(ariaHelp... | 11 | chore(smButton): Improved smButton directive after review | 10 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10072037 | <NME> format.ts
<BEF> import { equal } from 'assert';
import html from '../src/markup/format/html';
import haml from '../src/markup/format/haml';
import pug from '../src/markup/format/pug';
import slim from '../src/markup/format/slim';
import parse from '../src/markup';
import createConfig, { Options } from '../src/con... | 3 | Ensure proper inline element output in HAML | 0 | .ts | ts | mit | emmetio/emmet |
10072038 | <NME> format.ts
<BEF> import { equal } from 'assert';
import html from '../src/markup/format/html';
import haml from '../src/markup/format/haml';
import pug from '../src/markup/format/pug';
import slim from '../src/markup/format/slim';
import parse from '../src/markup';
import createConfig, { Options } from '../src/con... | 3 | Ensure proper inline element output in HAML | 0 | .ts | ts | mit | emmetio/emmet |
10072039 | <NME> tokenizer.ts
<BEF> import { deepStrictEqual } from 'assert';
import tokenize from '../src/tokenizer';
describe('Tokenizer', () => {
it('basic abbreviations', () => {
deepStrictEqual(tokenize('ul>li'), [
{ type: 'Literal', value: 'ul', start: 0, end: 2 },
{ type: 'Operator', op... | 1 | Updated syntax to access parent repeater | 1 | .ts | ts | mit | emmetio/emmet |
10072040 | <NME> tokenizer.ts
<BEF> import { deepStrictEqual } from 'assert';
import tokenize from '../src/tokenizer';
describe('Tokenizer', () => {
it('basic abbreviations', () => {
deepStrictEqual(tokenize('ul>li'), [
{ type: 'Literal', value: 'ul', start: 0, end: 2 },
{ type: 'Operator', op... | 1 | Updated syntax to access parent repeater | 1 | .ts | ts | mit | emmetio/emmet |
10072041 | <NME> models.py
<BEF> import os
from django.conf import settings
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.contrib.auth.models import User
OS_NAMES = (
("aix", "AIX"),
("beos", "BeOS"),
("debian", "Debian Linux"),
("dos", "DOS"),
... | 7 | Added management command for easy_installing into the chishop | 3 | .py | py | bsd-3-clause | ask/chishop |
10072042 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- 0.10
- 0.11
before_script:
- npm install -g gulp
script:
- gulp test
<MSG> chore(project): Update .travis.yml to run with latest nodejs
<DFF> @@ -1,11 +1,15 @@
language: node_js
node_js:
- - 0.10
- - 0.11
-
-before_script:
- - npm install -g gulp
... | 12 | chore(project): Update .travis.yml to run with latest nodejs | 8 | .yml | travis | mit | Semantic-Org/Semantic-UI-Angular |
10072043 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- 0.10
- 0.11
before_script:
- npm install -g gulp
script:
- gulp test
<MSG> chore(project): Update .travis.yml to run with latest nodejs
<DFF> @@ -1,11 +1,15 @@
language: node_js
node_js:
- - 0.10
- - 0.11
-
-before_script:
- - npm install -g gulp
... | 12 | chore(project): Update .travis.yml to run with latest nodejs | 8 | .yml | travis | mit | Semantic-Org/Semantic-UI-Angular |
10072044 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- 0.10
- 0.11
before_script:
- npm install -g gulp
script:
- gulp test
<MSG> chore(project): Update .travis.yml to run with latest nodejs
<DFF> @@ -1,11 +1,15 @@
language: node_js
node_js:
- - 0.10
- - 0.11
-
-before_script:
- - npm install -g gulp
... | 12 | chore(project): Update .travis.yml to run with latest nodejs | 8 | .yml | travis | mit | Semantic-Org/Semantic-UI-Angular |
10072045 | <NME> output-stream.ts
<BEF> import { AbbreviationAttribute, AbbreviationNode } from '@emmetio/abbreviation';
import { Config, Options, StringCase } from './config';
export interface OutputStream {
options: Options;
value: string;
level: number;
offset: number;
line: number;
column: number;
}
... | 16 | Support text processing in output stream | 7 | .ts | ts | mit | emmetio/emmet |
10072046 | <NME> output-stream.ts
<BEF> import { AbbreviationAttribute, AbbreviationNode } from '@emmetio/abbreviation';
import { Config, Options, StringCase } from './config';
export interface OutputStream {
options: Options;
value: string;
level: number;
offset: number;
line: number;
column: number;
}
... | 16 | Support text processing in output stream | 7 | .ts | ts | mit | emmetio/emmet |
10072047 | <NME> utils.ts
<BEF> import StreamReader from './index';
const SINGLE_QUOTE = 39; // '
const DOUBLE_QUOTE = 34; // "
interface QuotedOptions {
/** A character code of quote-escape symbol */
escape?: number;
/** Throw error if quotes string can’t be properly consumed */
throws?: boolean;
}
const defa... | 4 | Renamed stream-reader to scanner | 7 | .ts | ts | mit | emmetio/emmet |
10072048 | <NME> utils.ts
<BEF> import StreamReader from './index';
const SINGLE_QUOTE = 39; // '
const DOUBLE_QUOTE = 34; // "
interface QuotedOptions {
/** A character code of quote-escape symbol */
escape?: number;
/** Throw error if quotes string can’t be properly consumed */
throws?: boolean;
}
const defa... | 4 | Renamed stream-reader to scanner | 7 | .ts | ts | mit | emmetio/emmet |
10072049 | <NME> .npmignore
<BEF> npm-debug.log*
node_modules
jspm_packages
.npm
/.*
/*.*
/test
/src
/packages
<MSG> Exclude snippets from publishing
<DFF> @@ -7,3 +7,4 @@ jspm_packages
/test
/src
/packages
+/snippets
| 1 | Exclude snippets from publishing | 0 | npmignore | mit | emmetio/emmet |