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 |
|---|---|---|---|---|---|---|---|---|
10072350 | <NME> CONTRIBUTING.md
<BEF> # Contributing to Split
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version ... | 1 | Added note about contributing documentation | 0 | .md | md | mit | splitrb/split |
10072351 | <NME> CONTRIBUTING.md
<BEF> # Contributing to Split
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version ... | 1 | Added note about contributing documentation | 0 | .md | md | mit | splitrb/split |
10072352 | <NME> CONTRIBUTING.md
<BEF> # Contributing to Split
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version ... | 1 | Added note about contributing documentation | 0 | .md | md | mit | splitrb/split |
10072353 | <NME> pug.ts
<BEF> ADDFILE
<MSG> Working on Pug formatter
<DFF> @@ -0,0 +1,58 @@
+import { Abbreviation, AbbreviationNode } from '@emmetio/abbreviation';
+import { ResolvedConfig } from '../../types';
+import walk, { WalkState, WalkNext, createWalkState } from './walk';
+import { pushNewline, pushString } from '../../... | 58 | Working on Pug formatter | 0 | .ts | ts | mit | emmetio/emmet |
10072354 | <NME> pug.ts
<BEF> ADDFILE
<MSG> Working on Pug formatter
<DFF> @@ -0,0 +1,58 @@
+import { Abbreviation, AbbreviationNode } from '@emmetio/abbreviation';
+import { ResolvedConfig } from '../../types';
+import walk, { WalkState, WalkNext, createWalkState } from './walk';
+import { pushNewline, pushString } from '../../... | 58 | Working on Pug formatter | 0 | .ts | ts | mit | emmetio/emmet |
10072355 | <NME> index.ts
<BEF> import Scanner, { isAlphaWord, isAlpha, isNumber, isAlphaNumericWord, isSpace, isQuote } from '@emmetio/scanner';
import { AllTokens, Literal, OperatorType, NumberValue, ColorValue, WhiteSpace, Operator, Bracket, StringValue, Field } from './tokens';
import { Chars } from './utils';
export * from ... | 1 | Code refactoring | 8 | .ts | ts | mit | emmetio/emmet |
10072356 | <NME> index.ts
<BEF> import Scanner, { isAlphaWord, isAlpha, isNumber, isAlphaNumericWord, isSpace, isQuote } from '@emmetio/scanner';
import { AllTokens, Literal, OperatorType, NumberValue, ColorValue, WhiteSpace, Operator, Bracket, StringValue, Field } from './tokens';
import { Chars } from './utils';
export * from ... | 1 | Code refactoring | 8 | .ts | ts | mit | emmetio/emmet |
10072357 | <NME> spec_helper.rb
<BEF> require 'rubygems'
require 'bundler/setup'
require 'split'
def session
@session ||= {}
require "simplecov"
def params
@params ||= {}
end
let(:mock_user) { Split::User.new(double(session: {})) }
before(:each) do
Split.configuration = Split::Configuration.new
Split.redis = Re... | 7 | Ignore robots and given the control alternative | 0 | .rb | rb | mit | splitrb/split |
10072358 | <NME> spec_helper.rb
<BEF> require 'rubygems'
require 'bundler/setup'
require 'split'
def session
@session ||= {}
require "simplecov"
def params
@params ||= {}
end
let(:mock_user) { Split::User.new(double(session: {})) }
before(:each) do
Split.configuration = Split::Configuration.new
Split.redis = Re... | 7 | Ignore robots and given the control alternative | 0 | .rb | rb | mit | splitrb/split |
10072359 | <NME> spec_helper.rb
<BEF> require 'rubygems'
require 'bundler/setup'
require 'split'
def session
@session ||= {}
require "simplecov"
def params
@params ||= {}
end
let(:mock_user) { Split::User.new(double(session: {})) }
before(:each) do
Split.configuration = Split::Configuration.new
Split.redis = Re... | 7 | Ignore robots and given the control alternative | 0 | .rb | rb | mit | splitrb/split |
10072360 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'rogerbot' => 'SeoMoz spider',
... | 1 | Add Microsoft's Bing bot to the list of bots | 0 | .rb | rb | mit | splitrb/split |
10072361 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'rogerbot' => 'SeoMoz spider',
... | 1 | Add Microsoft's Bing bot to the list of bots | 0 | .rb | rb | mit | splitrb/split |
10072362 | <NME> configuration.rb
<BEF> # frozen_string_literal: true
module Split
class Configuration
attr_accessor :ignore_ip_addresses
attr_accessor :ignore_filter
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'rogerbot' => 'SeoMoz spider',
... | 1 | Add Microsoft's Bing bot to the list of bots | 0 | .rb | rb | mit | splitrb/split |
10072363 | <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)
... | 2 | Catch any exceptions, not only ECONNREFUSED | 2 | .rb | rb | mit | splitrb/split |
10072364 | <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)
... | 2 | Catch any exceptions, not only ECONNREFUSED | 2 | .rb | rb | mit | splitrb/split |
10072365 | <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)
... | 2 | Catch any exceptions, not only ECONNREFUSED | 2 | .rb | rb | mit | splitrb/split |
10072366 | <NME> README.md
<BEF> Semantic-UI-Angular
===================
[](https://david-dm.org/Semantic-Org/Semantic-UI-Angular)
[](https://david-dm.org/Sema... | 1 | docs(README): Added badge for the project build status | 0 | .md | md | mit | Semantic-Org/Semantic-UI-Angular |
10072367 | <NME> README.md
<BEF> Semantic-UI-Angular
===================
[](https://david-dm.org/Semantic-Org/Semantic-UI-Angular)
[](https://david-dm.org/Sema... | 1 | docs(README): Added badge for the project build status | 0 | .md | md | mit | Semantic-Org/Semantic-UI-Angular |
10072368 | <NME> README.md
<BEF> Semantic-UI-Angular
===================
[](https://david-dm.org/Semantic-Org/Semantic-UI-Angular)
[](https://david-dm.org/Sema... | 1 | docs(README): Added badge for the project build status | 0 | .md | md | mit | Semantic-Org/Semantic-UI-Angular |
10072369 | <NME> expand.ts
<BEF> import { strictEqual as equal } from 'assert';
import expand, { resolveConfig } from '../src';
describe('Expand Abbreviation', () => {
describe('Markup', () => {
it('basic', () => {
equal(expand('input[value="text$"]*2'), '<input type="text" value="text1"><input type="text... | 3 | Added `output.formatLeafNode` options | 0 | .ts | ts | mit | emmetio/emmet |
10072370 | <NME> expand.ts
<BEF> import { strictEqual as equal } from 'assert';
import expand, { resolveConfig } from '../src';
describe('Expand Abbreviation', () => {
describe('Markup', () => {
it('basic', () => {
equal(expand('input[value="text$"]*2'), '<input type="text" value="text1"><input type="text... | 3 | Added `output.formatLeafNode` options | 0 | .ts | ts | mit | emmetio/emmet |
10072371 | <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 ... | 5 | adding test for config.bots | 0 | .rb | rb | mit | splitrb/split |
10072372 | <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 ... | 5 | adding test for config.bots | 0 | .rb | rb | mit | splitrb/split |
10072373 | <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 ... | 5 | adding test for config.bots | 0 | .rb | rb | mit | splitrb/split |
10072374 | <NME> 7.0.gemfile
<BEF> # This file was generated by Appraisal
source "https://rubygems.org"
gem "appraisal"
gem "codeclimate-test-reporter"
gem "rails", "~> 7.0"
gem "matrix"
gem "matrix"
gemspec path: "../"
<MSG> Remove appraisals
<DFF> @@ -1,8 +1,5 @@
-# This file was generated by Appraisal
-
source "https://r... | 0 | Remove appraisals | 3 | .gemfile | 0 | mit | splitrb/split |
10072375 | <NME> 7.0.gemfile
<BEF> # This file was generated by Appraisal
source "https://rubygems.org"
gem "appraisal"
gem "codeclimate-test-reporter"
gem "rails", "~> 7.0"
gem "matrix"
gem "matrix"
gemspec path: "../"
<MSG> Remove appraisals
<DFF> @@ -1,8 +1,5 @@
-# This file was generated by Appraisal
-
source "https://r... | 0 | Remove appraisals | 3 | .gemfile | 0 | mit | splitrb/split |
10072376 | <NME> 7.0.gemfile
<BEF> # This file was generated by Appraisal
source "https://rubygems.org"
gem "appraisal"
gem "codeclimate-test-reporter"
gem "rails", "~> 7.0"
gem "matrix"
gem "matrix"
gemspec path: "../"
<MSG> Remove appraisals
<DFF> @@ -1,8 +1,5 @@
-# This file was generated by Appraisal
-
source "https://r... | 0 | Remove appraisals | 3 | .gemfile | 0 | mit | splitrb/split |
10072377 | <NME> forms.py
<BEF> import os
from django import forms
from django.conf import settings
from djangopypi.models import Project, Classifier, Release
from django.utils.translation import ugettext_lazy as _
class ProjectForm(forms.ModelForm):
class Meta:
model = Project
exclude = ['owner', 'classifie... | 15 | Added setting ``DJANGOPYPI_ALLOW_VERSION_OVERWRITE``, which if not True, doesn't allow you to overwrite project files anymore like on PyPI. Closes #1. | 1 | .py | py | bsd-3-clause | ask/chishop |
10072378 | <NME> experiment_catalog.rb
<BEF> ADDFILE
<MSG> Refactoring: Extract ExperimientStore
Extracts the responsibility of finding experiments to another class
<DFF> @@ -0,0 +1,45 @@
+module Split
+ class ExperimentCatalog
+ def self.all
+ Split.redis.smembers(:experiments).map {|e| find(e)}
+ end
+
+ # Retu... | 45 | Refactoring: Extract ExperimientStore | 0 | .rb | rb | mit | splitrb/split |
10072379 | <NME> experiment_catalog.rb
<BEF> ADDFILE
<MSG> Refactoring: Extract ExperimientStore
Extracts the responsibility of finding experiments to another class
<DFF> @@ -0,0 +1,45 @@
+module Split
+ class ExperimentCatalog
+ def self.all
+ Split.redis.smembers(:experiments).map {|e| find(e)}
+ end
+
+ # Retu... | 45 | Refactoring: Extract ExperimientStore | 0 | .rb | rb | mit | splitrb/split |
10072380 | <NME> experiment_catalog.rb
<BEF> ADDFILE
<MSG> Refactoring: Extract ExperimientStore
Extracts the responsibility of finding experiments to another class
<DFF> @@ -0,0 +1,45 @@
+module Split
+ class ExperimentCatalog
+ def self.all
+ Split.redis.smembers(:experiments).map {|e| find(e)}
+ end
+
+ # Retu... | 45 | Refactoring: Extract ExperimientStore | 0 | .rb | rb | mit | splitrb/split |
10072381 | <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)

[
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... | 1 | Merge pull request #24 from martinciu/master | 1 | .gemspec | gemspec | mit | splitrb/split |
10072385 | <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... | 1 | Merge pull request #24 from martinciu/master | 1 | .gemspec | gemspec | mit | splitrb/split |
10072386 | <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... | 1 | Merge pull request #24 from martinciu/master | 1 | .gemspec | gemspec | mit | splitrb/split |
10072387 | <NME> snippets.ts
<BEF> // import { fail } from 'assert';
import parseMarkup from '@emmetio/abbreviation';
// import parseStylesheet from '@emmetio/css-abbreviation';
import SnippetsRegistry from '../src/SnippetsRegistry';
import html from '../snippets/html.json';
// import css from '../snippets/css.json';
import xsl f... | 4 | Simplified & refactored abbreviation config | 30 | .ts | ts | mit | emmetio/emmet |
10072388 | <NME> snippets.ts
<BEF> // import { fail } from 'assert';
import parseMarkup from '@emmetio/abbreviation';
// import parseStylesheet from '@emmetio/css-abbreviation';
import SnippetsRegistry from '../src/SnippetsRegistry';
import html from '../snippets/html.json';
// import css from '../snippets/css.json';
import xsl f... | 4 | Simplified & refactored abbreviation config | 30 | .ts | ts | mit | emmetio/emmet |
10072389 | <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... | 10 | Merge pull request #198 from craigmcnamara/add-experiment-reset-and-delete-hooks | 0 | .rb | rb | mit | splitrb/split |
10072390 | <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... | 10 | Merge pull request #198 from craigmcnamara/add-experiment-reset-and-delete-hooks | 0 | .rb | rb | mit | splitrb/split |
10072391 | <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... | 10 | Merge pull request #198 from craigmcnamara/add-experiment-reset-and-delete-hooks | 0 | .rb | rb | mit | splitrb/split |
10072392 | <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 | Removed executables line from gemspec | 1 | .gemspec | gemspec | mit | splitrb/split |
10072393 | <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 | Removed executables line from gemspec | 1 | .gemspec | gemspec | mit | splitrb/split |
10072394 | <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 | Removed executables line from gemspec | 1 | .gemspec | gemspec | mit | splitrb/split |
10072395 | <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... | 11 | Added option to finished to not reset the users session | 0 | .rb | rb | mit | splitrb/split |
10072396 | <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... | 11 | Added option to finished to not reset the users session | 0 | .rb | rb | mit | splitrb/split |
10072397 | <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... | 11 | Added option to finished to not reset the users session | 0 | .rb | rb | mit | splitrb/split |
10072398 | <NME> users.py
<BEF> ADDFILE
<MSG> Merge branch 'master' of git://github.com/ask/chishop
<DFF> @@ -0,0 +1,24 @@
+from django.http import HttpResponse, HttpResponseBadRequest
+
+from registration.forms import RegistrationForm
+from registration.backends import get_backend
+
+DEFAULT_BACKEND = "registration.backends.def... | 24 | Merge branch 'master' of git://github.com/ask/chishop | 0 | .py | py | bsd-3-clause | ask/chishop |
10072399 | <NME> Changes
<BEF> ADDFILE
<MSG> Wrote change history for 0.2.0 in the Changelog
<DFF> @@ -0,0 +1,41 @@
+==============
+Change history
+==============
+
+0.2.0 :date:`2009-03-22 1:21 A.M CET` :author:askh@opera.com
+--------------------------------------------------------------
+
+ Backwards incompatible chan... | 41 | Wrote change history for 0.2.0 in the Changelog | 0 | Changes | bsd-3-clause | ask/chishop | |
10072400 | <NME> expand.ts
<BEF> import { strictEqual as equal } from 'assert';
import expand, { resolveConfig } from '../src';
describe('Expand Abbreviation', () => {
describe('Markup', () => {
it('basic', () => {
equal(expand('input[value="text$"]*2'), '<input type="text" value="text1"><input type="text... | 4 | Fixed reversed numbering | 0 | .ts | ts | mit | emmetio/emmet |
10072401 | <NME> expand.ts
<BEF> import { strictEqual as equal } from 'assert';
import expand, { resolveConfig } from '../src';
describe('Expand Abbreviation', () => {
describe('Markup', () => {
it('basic', () => {
equal(expand('input[value="text$"]*2'), '<input type="text" value="text1"><input type="text... | 4 | Fixed reversed numbering | 0 | .ts | ts | mit | emmetio/emmet |
10072402 | <NME> configuration.rb
<BEF> module Split
class Configuration
BOTS = {
# Indexers
"AdsBot-Google" => 'Google Adwords',
'Baidu' => 'Chinese search engine',
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'bingbot' => 'Microsoft b... | 56 | expose bots hash from config | 49 | .rb | rb | mit | splitrb/split |
10072403 | <NME> configuration.rb
<BEF> module Split
class Configuration
BOTS = {
# Indexers
"AdsBot-Google" => 'Google Adwords',
'Baidu' => 'Chinese search engine',
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'bingbot' => 'Microsoft b... | 56 | expose bots hash from config | 49 | .rb | rb | mit | splitrb/split |
10072404 | <NME> configuration.rb
<BEF> module Split
class Configuration
BOTS = {
# Indexers
"AdsBot-Google" => 'Google Adwords',
'Baidu' => 'Chinese search engine',
'Gigabot' => 'Gigabot spider',
'Googlebot' => 'Google spider',
'msnbot' => 'Microsoft bot',
'bingbot' => 'Microsoft b... | 56 | expose bots hash from config | 49 | .rb | rb | mit | splitrb/split |
10072405 | <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... | 2 | Support node commenting | 2 | .ts | ts | mit | emmetio/emmet |
10072406 | <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... | 2 | Support node commenting | 2 | .ts | ts | mit | emmetio/emmet |
10072407 | <NME> urls.py
<BEF> # -*- coding: utf-8 -*-
from django.conf.urls.defaults import patterns, url, include
from django.conf import settings
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('')
# Serve static pages.
if settings.LOCAL_DEVELOPMENT:
urlpatterns += patterns("django.views",
... | 1 | bugfix: 404 and 505 pages could not be showed, not they can. | 1 | .py | py | bsd-3-clause | ask/chishop |
10072408 | <NME> algorithms.rb
<BEF> require 'rubystats'
module Split
module Split
module Algorithms
class << self
def beta_distribution_rng(a, b)
Rubystats::BetaDistribution.new(a, b).rng
end
end
end
end
<MSG> Require matrix to be installed in order to make it compatible with Ruby 3.1+
<DFF> @... | 9 | Require matrix to be installed in order to make it compatible with Ruby 3.1+ | 0 | .rb | rb | mit | splitrb/split |
10072409 | <NME> algorithms.rb
<BEF> require 'rubystats'
module Split
module Split
module Algorithms
class << self
def beta_distribution_rng(a, b)
Rubystats::BetaDistribution.new(a, b).rng
end
end
end
end
<MSG> Require matrix to be installed in order to make it compatible with Ruby 3.1+
<DFF> @... | 9 | Require matrix to be installed in order to make it compatible with Ruby 3.1+ | 0 | .rb | rb | mit | splitrb/split |
10072410 | <NME> algorithms.rb
<BEF> require 'rubystats'
module Split
module Split
module Algorithms
class << self
def beta_distribution_rng(a, b)
Rubystats::BetaDistribution.new(a, b).rng
end
end
end
end
<MSG> Require matrix to be installed in order to make it compatible with Ruby 3.1+
<DFF> @... | 9 | Require matrix to be installed in order to make it compatible with Ruby 3.1+ | 0 | .rb | rb | mit | splitrb/split |
10072411 | <NME> user_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require 'split/user'
describe Split::User do
let(:context) do
double(:session => { split: { 'link_color' => 'blue' } })
end
before(:each) do
@subject = described_class.new(context)
before(:each) do
@subject = described_c... | 15 | Merge pull request #384 from andreibondarev/expand-user-abstraction | 8 | .rb | rb | mit | splitrb/split |
10072412 | <NME> user_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require 'split/user'
describe Split::User do
let(:context) do
double(:session => { split: { 'link_color' => 'blue' } })
end
before(:each) do
@subject = described_class.new(context)
before(:each) do
@subject = described_c... | 15 | Merge pull request #384 from andreibondarev/expand-user-abstraction | 8 | .rb | rb | mit | splitrb/split |
10072413 | <NME> user_spec.rb
<BEF> # frozen_string_literal: true
require "spec_helper"
require 'split/user'
describe Split::User do
let(:context) do
double(:session => { split: { 'link_color' => 'blue' } })
end
before(:each) do
@subject = described_class.new(context)
before(:each) do
@subject = described_c... | 15 | Merge pull request #384 from andreibondarev/expand-user-abstraction | 8 | .rb | rb | mit | splitrb/split |
10072414 | <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 ... | 18 | allow for custom redis_url different from ENV variable | 0 | .rb | rb | mit | splitrb/split |
10072415 | <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 ... | 18 | allow for custom redis_url different from ENV variable | 0 | .rb | rb | mit | splitrb/split |
10072416 | <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 ... | 18 | allow for custom redis_url different from ENV variable | 0 | .rb | rb | mit | splitrb/split |
10072417 | <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... | 2 | WIP: Major changes to internals of Split to properly handle metrics, and configuration vs. redis storage. What a mess. Also tries to refactor helper.rb | 0 | .gemspec | gemspec | mit | splitrb/split |
10072418 | <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... | 2 | WIP: Major changes to internals of Split to properly handle metrics, and configuration vs. redis storage. What a mess. Also tries to refactor helper.rb | 0 | .gemspec | gemspec | mit | splitrb/split |
10072419 | <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... | 2 | WIP: Major changes to internals of Split to properly handle metrics, and configuration vs. redis storage. What a mess. Also tries to refactor helper.rb | 0 | .gemspec | gemspec | mit | splitrb/split |
10072420 | <NME> radioButton.js
<BEF> ADDFILE
<MSG> feat(smRadioButton): Created smRadionGroup and smRadionButton directives
<DFF> @@ -0,0 +1,118 @@
+(function() {
+'use strict';
+
+angular
+ .module('semantic.ui.elements.radioButton', [])
+ .directive('smRadioGroup', smRadioGroup)
+ .directive('smRadioButton', smRadioButton... | 118 | feat(smRadioButton): Created smRadionGroup and smRadionButton directives | 0 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10072421 | <NME> radioButton.js
<BEF> ADDFILE
<MSG> feat(smRadioButton): Created smRadionGroup and smRadionButton directives
<DFF> @@ -0,0 +1,118 @@
+(function() {
+'use strict';
+
+angular
+ .module('semantic.ui.elements.radioButton', [])
+ .directive('smRadioGroup', smRadioGroup)
+ .directive('smRadioButton', smRadioButton... | 118 | feat(smRadioButton): Created smRadionGroup and smRadionButton directives | 0 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10072422 | <NME> radioButton.js
<BEF> ADDFILE
<MSG> feat(smRadioButton): Created smRadionGroup and smRadionButton directives
<DFF> @@ -0,0 +1,118 @@
+(function() {
+'use strict';
+
+angular
+ .module('semantic.ui.elements.radioButton', [])
+ .directive('smRadioGroup', smRadioGroup)
+ .directive('smRadioButton', smRadioButton... | 118 | feat(smRadioButton): Created smRadionGroup and smRadionButton directives | 0 | .js | js | mit | Semantic-Org/Semantic-UI-Angular |
10072423 | <NME> cookie_adapter_spec.rb
<BEF> # frozen_string_literal: true
require 'rack/test'
describe Split::Persistence::CookieAdapter do
let(:env) { Rack::MockRequest.env_for("http://example.com:8080/") }
let(:request) { Rack::Request.new(env) }
let(:response) { Rack::MockResponse.new(200, {}, "") }
let(:context) ... | 86 | CookieAdapter: Fix cookies when @context is an ActionController (#526) | 42 | .rb | rb | mit | splitrb/split |
10072424 | <NME> cookie_adapter_spec.rb
<BEF> # frozen_string_literal: true
require 'rack/test'
describe Split::Persistence::CookieAdapter do
let(:env) { Rack::MockRequest.env_for("http://example.com:8080/") }
let(:request) { Rack::Request.new(env) }
let(:response) { Rack::MockResponse.new(200, {}, "") }
let(:context) ... | 86 | CookieAdapter: Fix cookies when @context is an ActionController (#526) | 42 | .rb | rb | mit | splitrb/split |
10072425 | <NME> cookie_adapter_spec.rb
<BEF> # frozen_string_literal: true
require 'rack/test'
describe Split::Persistence::CookieAdapter do
let(:env) { Rack::MockRequest.env_for("http://example.com:8080/") }
let(:request) { Rack::Request.new(env) }
let(:response) { Rack::MockResponse.new(200, {}, "") }
let(:context) ... | 86 | CookieAdapter: Fix cookies when @context is an ActionController (#526) | 42 | .rb | rb | mit | splitrb/split |
10072426 | <NME> tokenizer.ts
<BEF> import { deepEqual } from 'assert';
import tokenize from '../src/tokenizer';
describe('Tokenizer', () => {
it('numeric values', () => {
deepEqual(tokenize('p10'), [
{ type: 'Literal', value: 'p', start: 0, end: 1 },
{ type: 'NumberValue', value: 10, rawValue... | 5 | Fix issue #547 (#575) | 0 | .ts | ts | mit | emmetio/emmet |
10072427 | <NME> tokenizer.ts
<BEF> import { deepEqual } from 'assert';
import tokenize from '../src/tokenizer';
describe('Tokenizer', () => {
it('numeric values', () => {
deepEqual(tokenize('p10'), [
{ type: 'Literal', value: 'p', start: 0, end: 1 },
{ type: 'NumberValue', value: 10, rawValue... | 5 | Fix issue #547 (#575) | 0 | .ts | ts | mit | emmetio/emmet |
10072428 | <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),... | 1 | Ensure escaped characters afe supported | 0 | .ts | ts | mit | emmetio/emmet |
10072429 | <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),... | 1 | Ensure escaped characters afe supported | 0 | .ts | ts | mit | emmetio/emmet |
10072430 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 5 | Fix vscode issue #105697 (#627) | 0 | .ts | ts | mit | emmetio/emmet |
10072431 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 5 | Fix vscode issue #105697 (#627) | 0 | .ts | ts | mit | emmetio/emmet |
10072432 | <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... | 1 | Adding missing separator. | 1 | .rb | rb | mit | splitrb/split |
10072433 | <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... | 1 | Adding missing separator. | 1 | .rb | rb | mit | splitrb/split |
10072434 | <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... | 1 | Adding missing separator. | 1 | .rb | rb | mit | splitrb/split |
10072435 | <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 | Preserve whitespace characters in text nodes of abbreviation | 1 | .ts | ts | mit | emmetio/emmet |
10072436 | <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 | Preserve whitespace characters in text nodes of abbreviation | 1 | .ts | ts | mit | emmetio/emmet |
10072437 | <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
it "should be ini... | 21 | Merge pull request #291 from dekz/experiment_metadata | 0 | .rb | rb | mit | splitrb/split |
10072438 | <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
it "should be ini... | 21 | Merge pull request #291 from dekz/experiment_metadata | 0 | .rb | rb | mit | splitrb/split |
10072439 | <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
it "should be ini... | 21 | Merge pull request #291 from dekz/experiment_metadata | 0 | .rb | rb | mit | splitrb/split |
10072440 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 3
MINOR = 3
PATCH = 2
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Prep for v3.4.0 release
<DFF> @@ -1,7 +1,7 @@
# frozen_string_literal: true
module Split
MAJOR = 3
- MINOR = 3
- PATCH = 2
+ MINOR = 4
+ PA... | 2 | Prep for v3.4.0 release | 2 | .rb | rb | mit | splitrb/split |
10072441 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 3
MINOR = 3
PATCH = 2
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Prep for v3.4.0 release
<DFF> @@ -1,7 +1,7 @@
# frozen_string_literal: true
module Split
MAJOR = 3
- MINOR = 3
- PATCH = 2
+ MINOR = 4
+ PA... | 2 | Prep for v3.4.0 release | 2 | .rb | rb | mit | splitrb/split |
10072442 | <NME> version.rb
<BEF> # frozen_string_literal: true
module Split
MAJOR = 3
MINOR = 3
PATCH = 2
VERSION = [MAJOR, MINOR, PATCH].join('.')
end
<MSG> Prep for v3.4.0 release
<DFF> @@ -1,7 +1,7 @@
# frozen_string_literal: true
module Split
MAJOR = 3
- MINOR = 3
- PATCH = 2
+ MINOR = 4
+ PA... | 2 | Prep for v3.4.0 release | 2 | .rb | rb | mit | splitrb/split |
10072443 | <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... | 16 | Add instance method has_winner? to Experiment | 0 | .rb | rb | mit | splitrb/split |
10072444 | <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... | 16 | Add instance method has_winner? to Experiment | 0 | .rb | rb | mit | splitrb/split |
10072445 | <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... | 16 | Add instance method has_winner? to Experiment | 0 | .rb | rb | mit | splitrb/split |
10072446 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 1 | Do not generate output for unmatched section-scoped abbreviations | 0 | .ts | ts | mit | emmetio/emmet |
10072447 | <NME> stylesheet.ts
<BEF> import { strictEqual as equal, ok } from 'assert';
import { stylesheet as expandAbbreviation, resolveConfig, CSSAbbreviationScope } from '../src';
import score from '../src/stylesheet/score';
const defaultConfig = resolveConfig({
type: 'stylesheet',
options: {
'output.field': ... | 1 | Do not generate output for unmatched section-scoped abbreviations | 0 | .ts | ts | mit | emmetio/emmet |
10072448 | <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... | 1 | Require a newer version of bundler for development | 1 | .gemspec | gemspec | mit | splitrb/split |
10072449 | <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... | 1 | Require a newer version of bundler for development | 1 | .gemspec | gemspec | mit | splitrb/split |