split_tester 0.4 → 0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +3 -0
- data/Gemfile +4 -0
- data/Rakefile +2 -53
- data/lib/split_tester/version.rb +3 -0
- data/split_tester.gemspec +18 -8
- metadata +51 -27
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Rakefile
CHANGED
|
@@ -1,53 +1,2 @@
|
|
|
1
|
-
require '
|
|
2
|
-
|
|
3
|
-
require 'rake/testtask'
|
|
4
|
-
require 'rake/gempackagetask'
|
|
5
|
-
require 'rake/rdoctask'
|
|
6
|
-
|
|
7
|
-
desc 'Default: run unit tests.'
|
|
8
|
-
task :default => :test
|
|
9
|
-
|
|
10
|
-
desc 'Test the split_tester plugin.'
|
|
11
|
-
Rake::TestTask.new(:test) do |t|
|
|
12
|
-
t.libs << 'lib'
|
|
13
|
-
t.libs << 'test'
|
|
14
|
-
t.pattern = 'test/**/*_test.rb'
|
|
15
|
-
t.verbose = true
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
desc 'Generate documentation for the split_tester plugin.'
|
|
19
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
20
|
-
rdoc.rdoc_dir = 'rdoc'
|
|
21
|
-
rdoc.title = 'SplitTester'
|
|
22
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
|
23
|
-
rdoc.rdoc_files.include('README')
|
|
24
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
PKG_FILES = FileList[
|
|
28
|
-
'[a-zA-Z]*',
|
|
29
|
-
'lib/**/*',
|
|
30
|
-
'rails/**/*',
|
|
31
|
-
'files/*',
|
|
32
|
-
'test/**/*'
|
|
33
|
-
]
|
|
34
|
-
|
|
35
|
-
spec = Gem::Specification.new do |s|
|
|
36
|
-
s.name = "split_tester"
|
|
37
|
-
s.version = "0.4"
|
|
38
|
-
s.author = "Jeremy Hubert"
|
|
39
|
-
s.email = "jhubert@gmail.com"
|
|
40
|
-
s.homepage = "http://jeremyhubert.com/"
|
|
41
|
-
s.platform = Gem::Platform::RUBY
|
|
42
|
-
s.summary = "Provides A/B split testing functionality for Rails"
|
|
43
|
-
s.description = "Split Tester provides support for A/B Split testing your pages with integration into Google Analytics."
|
|
44
|
-
s.files = PKG_FILES.to_a
|
|
45
|
-
s.require_path = "lib"
|
|
46
|
-
s.has_rdoc = false
|
|
47
|
-
s.extra_rdoc_files = ["README"]
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
desc 'Turn this plugin into a gem.'
|
|
51
|
-
Rake::GemPackageTask.new(spec) do |pkg|
|
|
52
|
-
pkg.gem_spec = spec
|
|
53
|
-
end
|
|
1
|
+
require 'bundler'
|
|
2
|
+
Bundler::GemHelper.install_tasks
|
data/split_tester.gemspec
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
3
|
+
require "split_tester/version"
|
|
4
|
+
|
|
1
5
|
Gem::Specification.new do |s|
|
|
6
|
+
s.name = "split_tester"
|
|
7
|
+
s.version = SplitTester::VERSION
|
|
2
8
|
s.platform = Gem::Platform::RUBY
|
|
3
|
-
s.
|
|
4
|
-
s.
|
|
5
|
-
s.
|
|
6
|
-
s.
|
|
9
|
+
s.authors = ["Jeremy Hubert"]
|
|
10
|
+
s.email = ["jhubert@gmail.com"]
|
|
11
|
+
s.homepage = "http://github.com/jhubert/rails-split-tester"
|
|
12
|
+
s.summary = %q{Provides A/B split testing functionality for Rails}
|
|
13
|
+
s.description = %q{Split Tester provides support for A/B Split testing your pages with integration into Google Analytics.}
|
|
14
|
+
|
|
15
|
+
s.rubyforge_project = "rails_split_tester"
|
|
16
|
+
|
|
17
|
+
s.files = `git ls-files`.split("\n")
|
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
20
|
+
s.require_paths = ["lib"]
|
|
7
21
|
|
|
8
22
|
s.required_ruby_version = '>= 1.8.7'
|
|
9
23
|
s.required_rubygems_version = ">= 1.3.6"
|
|
10
24
|
|
|
11
|
-
s.author = 'Jeremy Hubert'
|
|
12
|
-
s.email = 'jhubert@gmail.com'
|
|
13
|
-
s.homepage = 'http://www.jeremyhubert.com'
|
|
14
|
-
|
|
15
25
|
s.add_dependency('rails', '>=3.0.0')
|
|
16
26
|
end
|
metadata
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: split_tester
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: "0.
|
|
8
|
+
- 5
|
|
9
|
+
version: "0.5"
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Jeremy Hubert
|
|
@@ -14,42 +14,61 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-
|
|
17
|
+
date: 2011-03-05 00:00:00 -08:00
|
|
18
18
|
default_executable:
|
|
19
|
-
dependencies:
|
|
20
|
-
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
21
|
+
name: rails
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
none: false
|
|
25
|
+
requirements:
|
|
26
|
+
- - ">="
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
hash: 7
|
|
29
|
+
segments:
|
|
30
|
+
- 3
|
|
31
|
+
- 0
|
|
32
|
+
- 0
|
|
33
|
+
version: 3.0.0
|
|
34
|
+
type: :runtime
|
|
35
|
+
version_requirements: *id001
|
|
21
36
|
description: Split Tester provides support for A/B Split testing your pages with integration into Google Analytics.
|
|
22
|
-
email:
|
|
37
|
+
email:
|
|
38
|
+
- jhubert@gmail.com
|
|
23
39
|
executables: []
|
|
24
40
|
|
|
25
41
|
extensions: []
|
|
26
42
|
|
|
27
|
-
extra_rdoc_files:
|
|
28
|
-
|
|
43
|
+
extra_rdoc_files: []
|
|
44
|
+
|
|
29
45
|
files:
|
|
30
|
-
-
|
|
31
|
-
-
|
|
46
|
+
- .gitignore
|
|
47
|
+
- Gemfile
|
|
32
48
|
- MIT-LICENSE
|
|
33
|
-
- Rakefile
|
|
34
49
|
- README
|
|
35
|
-
-
|
|
36
|
-
-
|
|
50
|
+
- Rakefile
|
|
51
|
+
- files/split_tests.yml
|
|
52
|
+
- init.rb
|
|
53
|
+
- install.rb
|
|
54
|
+
- lib/generators/USAGE
|
|
37
55
|
- lib/generators/commands.rb
|
|
38
56
|
- lib/generators/split_test_generator.rb
|
|
39
57
|
- lib/generators/split_tester_install_generator.rb
|
|
40
58
|
- lib/generators/templates/split_tests.yml
|
|
41
|
-
- lib/
|
|
59
|
+
- lib/split_tester.rb
|
|
42
60
|
- lib/split_tester/caching.rb
|
|
43
61
|
- lib/split_tester/controller.rb
|
|
44
62
|
- lib/split_tester/railtie.rb
|
|
45
63
|
- lib/split_tester/translation_helper.rb
|
|
46
|
-
- lib/split_tester.rb
|
|
64
|
+
- lib/split_tester/version.rb
|
|
47
65
|
- rails/init.rb
|
|
48
|
-
-
|
|
66
|
+
- split_tester.gemspec
|
|
49
67
|
- test/split_tester_test.rb
|
|
50
68
|
- test/test_helper.rb
|
|
69
|
+
- uninstall.rb
|
|
51
70
|
has_rdoc: true
|
|
52
|
-
homepage: http://
|
|
71
|
+
homepage: http://github.com/jhubert/rails-split-tester
|
|
53
72
|
licenses: []
|
|
54
73
|
|
|
55
74
|
post_install_message:
|
|
@@ -62,25 +81,30 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
62
81
|
requirements:
|
|
63
82
|
- - ">="
|
|
64
83
|
- !ruby/object:Gem::Version
|
|
65
|
-
hash:
|
|
84
|
+
hash: 57
|
|
66
85
|
segments:
|
|
67
|
-
-
|
|
68
|
-
|
|
86
|
+
- 1
|
|
87
|
+
- 8
|
|
88
|
+
- 7
|
|
89
|
+
version: 1.8.7
|
|
69
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
91
|
none: false
|
|
71
92
|
requirements:
|
|
72
93
|
- - ">="
|
|
73
94
|
- !ruby/object:Gem::Version
|
|
74
|
-
hash:
|
|
95
|
+
hash: 23
|
|
75
96
|
segments:
|
|
76
|
-
-
|
|
77
|
-
|
|
97
|
+
- 1
|
|
98
|
+
- 3
|
|
99
|
+
- 6
|
|
100
|
+
version: 1.3.6
|
|
78
101
|
requirements: []
|
|
79
102
|
|
|
80
|
-
rubyforge_project:
|
|
103
|
+
rubyforge_project: rails_split_tester
|
|
81
104
|
rubygems_version: 1.4.2
|
|
82
105
|
signing_key:
|
|
83
106
|
specification_version: 3
|
|
84
107
|
summary: Provides A/B split testing functionality for Rails
|
|
85
|
-
test_files:
|
|
86
|
-
|
|
108
|
+
test_files:
|
|
109
|
+
- test/split_tester_test.rb
|
|
110
|
+
- test/test_helper.rb
|