vanity 3.1.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/linting.yml +28 -0
  3. data/.github/workflows/test.yml +3 -6
  4. data/.rubocop.yml +114 -0
  5. data/.rubocop_todo.yml +67 -0
  6. data/Appraisals +9 -31
  7. data/CHANGELOG +5 -0
  8. data/Gemfile +7 -3
  9. data/Gemfile.lock +31 -3
  10. data/README.md +4 -9
  11. data/Rakefile +25 -24
  12. data/bin/vanity +1 -1
  13. data/doc/configuring.textile +1 -0
  14. data/gemfiles/rails52.gemfile +6 -3
  15. data/gemfiles/rails52.gemfile.lock +34 -9
  16. data/gemfiles/rails60.gemfile +6 -3
  17. data/gemfiles/rails60.gemfile.lock +34 -9
  18. data/gemfiles/rails61.gemfile +6 -3
  19. data/gemfiles/rails61.gemfile.lock +34 -9
  20. data/lib/generators/vanity/migration_generator.rb +5 -7
  21. data/lib/vanity/adapters/abstract_adapter.rb +43 -45
  22. data/lib/vanity/adapters/active_record_adapter.rb +30 -30
  23. data/lib/vanity/adapters/mock_adapter.rb +14 -18
  24. data/lib/vanity/adapters/mongodb_adapter.rb +73 -69
  25. data/lib/vanity/adapters/redis_adapter.rb +19 -27
  26. data/lib/vanity/adapters.rb +1 -1
  27. data/lib/vanity/autoconnect.rb +6 -7
  28. data/lib/vanity/commands/list.rb +7 -7
  29. data/lib/vanity/commands/report.rb +18 -22
  30. data/lib/vanity/configuration.rb +19 -19
  31. data/lib/vanity/connection.rb +12 -14
  32. data/lib/vanity/experiment/ab_test.rb +82 -70
  33. data/lib/vanity/experiment/alternative.rb +3 -5
  34. data/lib/vanity/experiment/base.rb +24 -19
  35. data/lib/vanity/experiment/bayesian_bandit_score.rb +7 -13
  36. data/lib/vanity/experiment/definition.rb +6 -6
  37. data/lib/vanity/frameworks/rails.rb +39 -39
  38. data/lib/vanity/frameworks.rb +2 -2
  39. data/lib/vanity/helpers.rb +1 -1
  40. data/lib/vanity/metric/active_record.rb +21 -19
  41. data/lib/vanity/metric/base.rb +22 -23
  42. data/lib/vanity/metric/google_analytics.rb +6 -9
  43. data/lib/vanity/metric/remote.rb +3 -5
  44. data/lib/vanity/playground.rb +3 -6
  45. data/lib/vanity/vanity.rb +8 -12
  46. data/lib/vanity/version.rb +1 -1
  47. data/test/adapters/active_record_adapter_test.rb +1 -5
  48. data/test/adapters/mock_adapter_test.rb +0 -2
  49. data/test/adapters/mongodb_adapter_test.rb +1 -5
  50. data/test/adapters/redis_adapter_test.rb +2 -3
  51. data/test/adapters/shared_tests.rb +9 -12
  52. data/test/autoconnect_test.rb +3 -3
  53. data/test/cli_test.rb +0 -1
  54. data/test/configuration_test.rb +18 -34
  55. data/test/connection_test.rb +3 -3
  56. data/test/dummy/Rakefile +1 -1
  57. data/test/dummy/app/controllers/use_vanity_controller.rb +12 -8
  58. data/test/dummy/app/mailers/vanity_mailer.rb +3 -3
  59. data/test/dummy/config/application.rb +1 -1
  60. data/test/dummy/config/boot.rb +3 -3
  61. data/test/dummy/config/environment.rb +1 -1
  62. data/test/dummy/config/environments/development.rb +0 -1
  63. data/test/dummy/config/environments/test.rb +1 -1
  64. data/test/dummy/config/initializers/session_store.rb +1 -1
  65. data/test/dummy/config.ru +1 -1
  66. data/test/dummy/script/rails +2 -2
  67. data/test/experiment/ab_test.rb +148 -154
  68. data/test/experiment/base_test.rb +48 -32
  69. data/test/frameworks/rails/action_controller_test.rb +25 -25
  70. data/test/frameworks/rails/action_mailer_test.rb +2 -2
  71. data/test/frameworks/rails/action_view_test.rb +5 -6
  72. data/test/frameworks/rails/rails_test.rb +147 -181
  73. data/test/helper_test.rb +2 -2
  74. data/test/metric/active_record_test.rb +174 -212
  75. data/test/metric/base_test.rb +21 -46
  76. data/test/metric/google_analytics_test.rb +17 -25
  77. data/test/metric/remote_test.rb +7 -10
  78. data/test/playground_test.rb +7 -14
  79. data/test/templates_test.rb +16 -20
  80. data/test/test_helper.rb +28 -29
  81. data/test/vanity_test.rb +4 -10
  82. data/test/web/rails/dashboard_test.rb +21 -21
  83. data/vanity.gemspec +8 -7
  84. metadata +28 -30
  85. data/gemfiles/rails42.gemfile +0 -33
  86. data/gemfiles/rails42.gemfile.lock +0 -265
  87. data/gemfiles/rails42_protected_attributes.gemfile +0 -34
  88. data/gemfiles/rails42_protected_attributes.gemfile.lock +0 -264
  89. data/gemfiles/rails51.gemfile +0 -33
  90. data/gemfiles/rails51.gemfile.lock +0 -285
data/test/vanity_test.rb CHANGED
@@ -80,9 +80,7 @@ describe Vanity do
80
80
  connection_config = VanityTestHelpers::VANITY_CONFIGS["vanity.yml.redis"]
81
81
 
82
82
  FileUtils.mkpath "./config"
83
- File.open("./config/vanity.yml", "w") do |f|
84
- f.write(connection_config)
85
- end
83
+ File.write("./config/vanity.yml", connection_config)
86
84
 
87
85
  Vanity::Connection.expects(:new).with("redis://:p4ssw0rd@10.0.1.1:6380/15")
88
86
  Vanity.disconnect!
@@ -91,9 +89,7 @@ describe Vanity do
91
89
 
92
90
  it "uses redis.yml" do
93
91
  FileUtils.mkpath "./config"
94
- File.open("./config/redis.yml", "w") do |f|
95
- f.write VanityTestHelpers::VANITY_CONFIGS["redis.yml.url"]
96
- end
92
+ File.write("./config/redis.yml", VanityTestHelpers::VANITY_CONFIGS["redis.yml.url"])
97
93
 
98
94
  Vanity::Connection.expects(:new).with("localhost:6379/15")
99
95
  Vanity.disconnect!
@@ -104,9 +100,7 @@ describe Vanity do
104
100
  connection_config = VanityTestHelpers::VANITY_CONFIGS["vanity.yml.redis"]
105
101
 
106
102
  FileUtils.mkpath "./config"
107
- File.open("./config/vanity.yml", "w") do |f|
108
- f.write(connection_config)
109
- end
103
+ File.write("./config/vanity.yml", connection_config)
110
104
 
111
105
  out, _err = capture_io do
112
106
  Vanity.reset!
@@ -148,7 +142,7 @@ describe Vanity do
148
142
  end
149
143
  end
150
144
 
151
- describe "#playground" do
145
+ describe "#playground" do
152
146
  it "returns the same playground" do
153
147
  assert_same Vanity.playground, Vanity.playground
154
148
  end
@@ -60,16 +60,16 @@ class RailsDashboardTest < ActionController::TestCase
60
60
  # -- Actions used in non-admin actions, e.g. in JS --
61
61
 
62
62
  def test_add_participant
63
- params = { :v => 'food=0' }
64
- post :add_participant, params, :xhr => true
63
+ params = { v: 'food=0' }
64
+ post :add_participant, params, xhr: true
65
65
  assert_response :success
66
66
  assert @response.body.blank?
67
67
  assert_equal 1, experiment(:food).alternatives.map(&:participants).sum
68
68
  end
69
69
 
70
70
  def test_add_participant_multiple_experiments
71
- params = { :v => 'food=0,drink=1' }
72
- post :add_participant, params, :xhr => true
71
+ params = { v: 'food=0,drink=1' }
72
+ post :add_participant, params, xhr: true
73
73
  assert_response :success
74
74
  assert @response.body.blank?
75
75
  assert_equal 1, experiment(:food).alternatives.map(&:participants).sum
@@ -78,20 +78,20 @@ class RailsDashboardTest < ActionController::TestCase
78
78
 
79
79
  def test_add_participant_with_invalid_request
80
80
  @request.user_agent = 'Googlebot/2.1 ( http://www.google.com/bot.html)'
81
- params = { :v => 'food=0' }
82
- post :add_participant, params, :xhr => true
81
+ params = { v: 'food=0' }
82
+ post :add_participant, params, xhr: true
83
83
  assert_equal 0, experiment(:food).alternatives.map(&:participants).sum
84
84
  end
85
85
 
86
86
  def test_add_participant_no_params
87
- post :add_participant, :xhr => true
87
+ post :add_participant, xhr: true
88
88
  assert_response :not_found
89
89
  assert @response.body.blank?
90
90
  end
91
91
 
92
92
  def test_add_participant_not_fail_for_unknown_experiment
93
- params = { :e => 'unknown=0' }
94
- post :add_participant, params, :xhr => true
93
+ params = { e: 'unknown=0' }
94
+ post :add_participant, params, xhr: true
95
95
  assert_response :not_found
96
96
  assert @response.body.blank?
97
97
  end
@@ -100,42 +100,42 @@ class RailsDashboardTest < ActionController::TestCase
100
100
 
101
101
  def test_participant_renders_experiment_for_id
102
102
  experiment(:food).choose
103
- params = { :id => "1" }
103
+ params = { id: "1" }
104
104
  get :participant, params
105
105
  assert_response :success
106
- assert @response.body =~ %r{id 1 is taking part in the following experiments:\n<ul class=\"experiments\">[\s]+<li class=\"experiment ab_test}
106
+ assert @response.body =~ %r{id 1 is taking part in the following experiments:\n<ul class="experiments">\s+<li class="experiment ab_test}
107
107
  end
108
108
 
109
109
  def test_participant_renders_empty_for_bad_id
110
- params = { :id => "2" }
110
+ params = { id: "2" }
111
111
  get :participant, params
112
112
  assert_response :success
113
- assert @response.body =~ %r{<ul class=\"experiments\">[\s]+</ul>}
113
+ assert @response.body =~ %r{<ul class="experiments">\s+</ul>}
114
114
  end
115
115
 
116
116
  def test_participant_renders_empty_for_no_id
117
117
  get :participant
118
118
  assert_response :success
119
- assert @response.body =~ %r{<ul class=\"experiments\">[\s]+</ul>}
119
+ assert @response.body =~ %r{<ul class="experiments">\s+</ul>}
120
120
  end
121
121
 
122
122
  def test_complete_forces_confirmation
123
- params = { :e => "food", :a => 0 }
124
- post :complete, params, :xhr => true
123
+ params = { e: "food", a: 0 }
124
+ post :complete, params, xhr: true
125
125
  assert_response :success
126
- assert @response.body =~ /#{ CGI.unescape({ :confirmed => 0 }.to_query) }/
126
+ assert @response.body =~ /#{CGI.unescape({ confirmed: 0 }.to_query)}/
127
127
  end
128
128
 
129
129
  def test_complete_with_confirmation_completes
130
- params = { :e => "food", :a => 0, :confirmed => 'true' }
131
- post :complete, params, :xhr => true
130
+ params = { e: "food", a: 0, confirmed: 'true' }
131
+ post :complete, params, xhr: true
132
132
  assert_response :success
133
133
  assert !Vanity.playground.experiment(:food).active?
134
134
  end
135
135
 
136
136
  def test_chooses
137
- params = { :e => "food", :a => 0 }
138
- post :chooses, params, :xhr => true
137
+ params = { e: "food", a: 0 }
138
+ post :chooses, params, xhr: true
139
139
  assert_response :success
140
140
  end
141
141
  end
data/vanity.gemspec CHANGED
@@ -1,4 +1,4 @@
1
- $: << File.dirname(__FILE__) + "/lib"
1
+ $: << (File.dirname(__FILE__) + "/lib")
2
2
  require "vanity/version"
3
3
 
4
4
  Gem::Specification.new do |spec|
@@ -14,22 +14,23 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.files = `git ls-files`.split("\n")
16
16
  spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.extra_rdoc_files = "README.md", "CHANGELOG"
21
21
  spec.rdoc_options = "--title", "Vanity #{spec.version}", "--main", "README.md",
22
22
  "--webcvs", "http://github.com/assaf/#{spec.name}"
23
23
 
24
- spec.required_ruby_version = ">= 1.9.3"
24
+ spec.required_ruby_version = ">= 2.5"
25
25
 
26
26
  spec.add_runtime_dependency "i18n"
27
27
 
28
- spec.add_development_dependency "bundler", ">= 1.8.0"
29
- spec.add_development_dependency "minitest", ">= 4.2"
30
28
  spec.add_development_dependency "appraisal", "~> 2.0"
31
- spec.add_development_dependency "timecop"
32
- spec.add_development_dependency "webmock"
29
+ spec.add_development_dependency "bundler", ">= 1.8.0"
33
30
  spec.add_development_dependency "fakefs"
31
+ spec.add_development_dependency "minitest", ">= 4.2"
34
32
  spec.add_development_dependency "pry"
33
+ spec.add_development_dependency "timecop"
34
+ spec.add_development_dependency "webmock"
35
+ spec.metadata['rubygems_mfa_required'] = 'true'
35
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanity
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Assaf Arkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-29 00:00:00.000000000 Z
11
+ date: 2022-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -25,63 +25,63 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: appraisal
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.8.0
33
+ version: '2.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.8.0
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: minitest
42
+ name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '4.2'
47
+ version: 1.8.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '4.2'
54
+ version: 1.8.0
55
55
  - !ruby/object:Gem::Dependency
56
- name: appraisal
56
+ name: fakefs
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '2.0'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '2.0'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: timecop
70
+ name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '4.2'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '4.2'
83
83
  - !ruby/object:Gem::Dependency
84
- name: webmock
84
+ name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: fakefs
98
+ name: timecop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: pry
112
+ name: webmock
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -131,8 +131,11 @@ extra_rdoc_files:
131
131
  - README.md
132
132
  - CHANGELOG
133
133
  files:
134
+ - ".github/workflows/linting.yml"
134
135
  - ".github/workflows/test.yml"
135
136
  - ".gitignore"
137
+ - ".rubocop.yml"
138
+ - ".rubocop_todo.yml"
136
139
  - Appraisals
137
140
  - CHANGELOG
138
141
  - Gemfile
@@ -167,12 +170,6 @@ files:
167
170
  - doc/metrics.textile
168
171
  - doc/rails.textile
169
172
  - doc/site.js
170
- - gemfiles/rails42.gemfile
171
- - gemfiles/rails42.gemfile.lock
172
- - gemfiles/rails42_protected_attributes.gemfile
173
- - gemfiles/rails42_protected_attributes.gemfile.lock
174
- - gemfiles/rails51.gemfile
175
- - gemfiles/rails51.gemfile.lock
176
173
  - gemfiles/rails52.gemfile
177
174
  - gemfiles/rails52.gemfile.lock
178
175
  - gemfiles/rails60.gemfile
@@ -291,11 +288,12 @@ files:
291
288
  homepage: http://vanity.labnotes.org
292
289
  licenses:
293
290
  - MIT
294
- metadata: {}
291
+ metadata:
292
+ rubygems_mfa_required: 'true'
295
293
  post_install_message: To get started run vanity --help
296
294
  rdoc_options:
297
295
  - "--title"
298
- - Vanity 3.1.0
296
+ - Vanity 4.0.0
299
297
  - "--main"
300
298
  - README.md
301
299
  - "--webcvs"
@@ -306,7 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
306
304
  requirements:
307
305
  - - ">="
308
306
  - !ruby/object:Gem::Version
309
- version: 1.9.3
307
+ version: '2.5'
310
308
  required_rubygems_version: !ruby/object:Gem::Requirement
311
309
  requirements:
312
310
  - - ">="
@@ -1,33 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rack"
6
- gem "redis", ">= 3.2.1"
7
- gem "redis-namespace", ">= 1.1.0"
8
- gem "mongo", "~> 2.1"
9
- gem "integration", "<= 0.1.0"
10
- gem "rubystats", ">= 0.2.5"
11
- gem "garb", "< 0.9.2", require: false
12
- gem "mocha", "~> 1.0", require: false
13
- gem "rails", "4.2.9"
14
- gem "fastthread", platforms: :mri_20, git: "https://github.com/zoltankiss/fastthread.git"
15
- gem "passenger", "~>3.0"
16
-
17
- group :development do
18
- gem "rake"
19
- gem "RedCloth"
20
- gem "yard"
21
- end
22
-
23
- platforms :ruby do
24
- gem "sqlite3", "~> 1.3.10"
25
- gem "jekyll", "~> 2.5.3"
26
- end
27
-
28
- platforms :jruby do
29
- gem "activerecord-jdbc-adapter"
30
- gem "jdbc-sqlite3"
31
- end
32
-
33
- gemspec development_group: :test, path: "../"
@@ -1,265 +0,0 @@
1
- GIT
2
- remote: https://github.com/zoltankiss/fastthread.git
3
- revision: cefbca3009b9c68df5e473d840462ebcc7fa1504
4
- specs:
5
- fastthread (1.0.7)
6
-
7
- PATH
8
- remote: ..
9
- specs:
10
- vanity (3.1.0)
11
- i18n
12
-
13
- GEM
14
- remote: https://rubygems.org/
15
- specs:
16
- RedCloth (4.2.9)
17
- RedCloth (4.2.9-java)
18
- actionmailer (4.2.9)
19
- actionpack (= 4.2.9)
20
- actionview (= 4.2.9)
21
- activejob (= 4.2.9)
22
- mail (~> 2.5, >= 2.5.4)
23
- rails-dom-testing (~> 1.0, >= 1.0.5)
24
- actionpack (4.2.9)
25
- actionview (= 4.2.9)
26
- activesupport (= 4.2.9)
27
- rack (~> 1.6)
28
- rack-test (~> 0.6.2)
29
- rails-dom-testing (~> 1.0, >= 1.0.5)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- actionview (4.2.9)
32
- activesupport (= 4.2.9)
33
- builder (~> 3.1)
34
- erubis (~> 2.7.0)
35
- rails-dom-testing (~> 1.0, >= 1.0.5)
36
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
37
- activejob (4.2.9)
38
- activesupport (= 4.2.9)
39
- globalid (>= 0.3.0)
40
- activemodel (4.2.9)
41
- activesupport (= 4.2.9)
42
- builder (~> 3.1)
43
- activerecord (4.2.9)
44
- activemodel (= 4.2.9)
45
- activesupport (= 4.2.9)
46
- arel (~> 6.0)
47
- activerecord-jdbc-adapter (1.3.15)
48
- activerecord (>= 2.2)
49
- activesupport (4.2.9)
50
- i18n (~> 0.7)
51
- minitest (~> 5.1)
52
- thread_safe (~> 0.3, >= 0.3.4)
53
- tzinfo (~> 1.1)
54
- addressable (2.3.6)
55
- appraisal (2.0.2)
56
- bundler
57
- rake
58
- thor (>= 0.14.0)
59
- arel (6.0.4)
60
- blankslate (2.1.2.4)
61
- bson (4.0.2)
62
- bson (4.0.2-java)
63
- builder (3.2.3)
64
- celluloid (0.16.0)
65
- timers (~> 4.0.0)
66
- classifier-reborn (2.0.3)
67
- fast-stemmer (~> 1.0)
68
- coderay (1.1.1)
69
- coffee-script (2.4.1)
70
- coffee-script-source
71
- execjs
72
- coffee-script-source (1.9.1)
73
- colorator (0.1)
74
- concurrent-ruby (1.0.5)
75
- concurrent-ruby (1.0.5-java)
76
- crack (0.4.2)
77
- safe_yaml (~> 1.0.0)
78
- crass (1.0.4)
79
- daemon_controller (1.2.0)
80
- erubis (2.7.0)
81
- execjs (2.5.2)
82
- fakefs (0.6.7)
83
- fast-stemmer (1.0.2)
84
- ffi (1.15.5)
85
- ffi (1.15.5-java)
86
- garb (0.9.1)
87
- activesupport (>= 2.2.0)
88
- crack (>= 0.1.6)
89
- globalid (0.4.1)
90
- activesupport (>= 4.2.0)
91
- hitimes (1.2.2)
92
- i18n (0.9.5)
93
- concurrent-ruby (~> 1.0)
94
- integration (0.1.0)
95
- jdbc-sqlite3 (3.8.7)
96
- jekyll (2.5.3)
97
- classifier-reborn (~> 2.0)
98
- colorator (~> 0.1)
99
- jekyll-coffeescript (~> 1.0)
100
- jekyll-gist (~> 1.0)
101
- jekyll-paginate (~> 1.0)
102
- jekyll-sass-converter (~> 1.0)
103
- jekyll-watch (~> 1.1)
104
- kramdown (~> 1.3)
105
- liquid (~> 2.6.1)
106
- mercenary (~> 0.3.3)
107
- pygments.rb (~> 0.6.0)
108
- redcarpet (~> 3.1)
109
- safe_yaml (~> 1.0)
110
- toml (~> 0.1.0)
111
- jekyll-coffeescript (1.0.1)
112
- coffee-script (~> 2.2)
113
- jekyll-gist (1.2.1)
114
- jekyll-paginate (1.1.0)
115
- jekyll-sass-converter (1.3.0)
116
- sass (~> 3.2)
117
- jekyll-watch (1.2.1)
118
- listen (~> 2.7)
119
- kramdown (1.6.0)
120
- liquid (2.6.2)
121
- listen (2.10.0)
122
- celluloid (~> 0.16.0)
123
- rb-fsevent (>= 0.9.3)
124
- rb-inotify (>= 0.9)
125
- loofah (2.2.2)
126
- crass (~> 1.0.2)
127
- nokogiri (>= 1.5.9)
128
- mail (2.7.0)
129
- mini_mime (>= 0.1.1)
130
- mercenary (0.3.5)
131
- metaclass (0.0.4)
132
- method_source (0.8.2)
133
- mini_mime (1.0.0)
134
- mini_portile2 (2.6.1)
135
- minitest (5.11.3)
136
- mocha (1.7.0)
137
- metaclass (~> 0.0.1)
138
- mongo (2.2.3)
139
- bson (~> 4.0)
140
- nokogiri (1.12.5)
141
- mini_portile2 (~> 2.6.1)
142
- racc (~> 1.4)
143
- nokogiri (1.12.5-java)
144
- racc (~> 1.4)
145
- parslet (1.5.0)
146
- blankslate (~> 2.0)
147
- passenger (3.0.21)
148
- daemon_controller (>= 1.0.0)
149
- fastthread (>= 1.0.1)
150
- rack
151
- rake (>= 0.8.1)
152
- posix-spawn (0.3.11)
153
- pry (0.10.3)
154
- coderay (~> 1.1.0)
155
- method_source (~> 0.8.1)
156
- slop (~> 3.4)
157
- pry (0.10.3-java)
158
- coderay (~> 1.1.0)
159
- method_source (~> 0.8.1)
160
- slop (~> 3.4)
161
- spoon (~> 0.0)
162
- pygments.rb (0.6.3)
163
- posix-spawn (~> 0.3.6)
164
- yajl-ruby (~> 1.2.0)
165
- racc (1.6.0)
166
- racc (1.6.0-java)
167
- rack (1.6.10)
168
- rack-test (0.6.3)
169
- rack (>= 1.0)
170
- rails (4.2.9)
171
- actionmailer (= 4.2.9)
172
- actionpack (= 4.2.9)
173
- actionview (= 4.2.9)
174
- activejob (= 4.2.9)
175
- activemodel (= 4.2.9)
176
- activerecord (= 4.2.9)
177
- activesupport (= 4.2.9)
178
- bundler (>= 1.3.0, < 2.0)
179
- railties (= 4.2.9)
180
- sprockets-rails
181
- rails-deprecated_sanitizer (1.0.3)
182
- activesupport (>= 4.2.0.alpha)
183
- rails-dom-testing (1.0.9)
184
- activesupport (>= 4.2.0, < 5.0)
185
- nokogiri (~> 1.6)
186
- rails-deprecated_sanitizer (>= 1.0.1)
187
- rails-html-sanitizer (1.0.4)
188
- loofah (~> 2.2, >= 2.2.2)
189
- railties (4.2.9)
190
- actionpack (= 4.2.9)
191
- activesupport (= 4.2.9)
192
- rake (>= 0.8.7)
193
- thor (>= 0.18.1, < 2.0)
194
- rake (12.3.1)
195
- rb-fsevent (0.9.4)
196
- rb-inotify (0.9.5)
197
- ffi (>= 0.5.0)
198
- redcarpet (3.2.3)
199
- redis (3.3.3)
200
- redis-namespace (1.6.0)
201
- redis (>= 3.0.4)
202
- rubystats (0.2.5)
203
- safe_yaml (1.0.4)
204
- sass (3.4.13)
205
- slop (3.6.0)
206
- spoon (0.0.6)
207
- ffi
208
- sprockets (3.7.2)
209
- concurrent-ruby (~> 1.0)
210
- rack (> 1, < 3)
211
- sprockets-rails (3.2.1)
212
- actionpack (>= 4.0)
213
- activesupport (>= 4.0)
214
- sprockets (>= 3.0.0)
215
- sqlite3 (1.3.10)
216
- thor (0.20.0)
217
- thread_safe (0.3.6)
218
- thread_safe (0.3.6-java)
219
- timecop (0.7.1)
220
- timers (4.0.1)
221
- hitimes
222
- toml (0.1.2)
223
- parslet (~> 1.5.0)
224
- tzinfo (1.2.5)
225
- thread_safe (~> 0.1)
226
- webmock (1.20.4)
227
- addressable (>= 2.3.6)
228
- crack (>= 0.3.2)
229
- yajl-ruby (1.2.2)
230
- yard (0.8.7.6)
231
-
232
- PLATFORMS
233
- java
234
- ruby
235
-
236
- DEPENDENCIES
237
- RedCloth
238
- activerecord-jdbc-adapter
239
- appraisal (~> 2.0)
240
- bundler (>= 1.8.0)
241
- fakefs
242
- fastthread!
243
- garb (< 0.9.2)
244
- integration (<= 0.1.0)
245
- jdbc-sqlite3
246
- jekyll (~> 2.5.3)
247
- minitest (>= 4.2)
248
- mocha (~> 1.0)
249
- mongo (~> 2.1)
250
- passenger (~> 3.0)
251
- pry
252
- rack
253
- rails (= 4.2.9)
254
- rake
255
- redis (>= 3.2.1)
256
- redis-namespace (>= 1.1.0)
257
- rubystats (>= 0.2.5)
258
- sqlite3 (~> 1.3.10)
259
- timecop
260
- vanity!
261
- webmock
262
- yard
263
-
264
- BUNDLED WITH
265
- 1.17.2
@@ -1,34 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rack"
6
- gem "redis", ">= 3.2.1"
7
- gem "redis-namespace", ">= 1.1.0"
8
- gem "mongo", "~> 2.1"
9
- gem "integration", "<= 0.1.0"
10
- gem "rubystats", ">= 0.2.5"
11
- gem "garb", "< 0.9.2", require: false
12
- gem "protected_attributes", "1.1.0"
13
- gem "mocha", "~> 1.0", require: false
14
- gem "rails", "4.2.9"
15
- gem "fastthread", platforms: :mri_20, git: "https://github.com/zoltankiss/fastthread.git"
16
- gem "passenger", "~>3.0"
17
-
18
- group :development do
19
- gem "rake"
20
- gem "RedCloth"
21
- gem "yard"
22
- end
23
-
24
- platforms :ruby do
25
- gem "sqlite3", "~> 1.3.10"
26
- gem "jekyll", "~> 2.5.3"
27
- end
28
-
29
- platforms :jruby do
30
- gem "activerecord-jdbc-adapter"
31
- gem "jdbc-sqlite3"
32
- end
33
-
34
- gemspec development_group: :test, path: "../"