vanity 2.2.10 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +8 -10
  3. data/Appraisals +9 -19
  4. data/CHANGELOG +7 -1
  5. data/Gemfile +1 -1
  6. data/Gemfile.lock +20 -12
  7. data/README.md +11 -13
  8. data/gemfiles/rails42.gemfile +2 -2
  9. data/gemfiles/rails42.gemfile.lock +89 -84
  10. data/gemfiles/rails42_protected_attributes.gemfile +2 -2
  11. data/gemfiles/rails42_protected_attributes.gemfile.lock +84 -79
  12. data/gemfiles/{rails41.gemfile → rails51.gemfile} +3 -3
  13. data/gemfiles/rails51.gemfile.lock +262 -0
  14. data/gemfiles/{rails5.gemfile → rails52.gemfile} +2 -2
  15. data/gemfiles/rails52.gemfile.lock +270 -0
  16. data/lib/generators/templates/{add_participants_unique_index_migration.rb → add_participants_unique_index_migration.rb.erb} +1 -1
  17. data/lib/generators/templates/{add_unique_indexes_migration.rb → add_unique_indexes_migration.rb.erb} +1 -1
  18. data/lib/generators/templates/{vanity_migration.rb → vanity_migration.rb.erb} +1 -1
  19. data/lib/generators/vanity/migration_generator.rb +34 -0
  20. data/lib/vanity/adapters/redis_adapter.rb +18 -18
  21. data/lib/vanity/version.rb +1 -1
  22. data/test/adapters/redis_adapter_test.rb +8 -12
  23. data/test/adapters/shared_tests.rb +7 -6
  24. data/test/commands/report_test.rb +13 -1
  25. data/test/configuration_test.rb +15 -2
  26. data/test/dummy/app/mailers/vanity_mailer.rb +3 -1
  27. data/test/dummy/config/routes.rb +17 -3
  28. data/test/experiment/ab_test.rb +3 -3
  29. data/test/frameworks/rails/action_controller_test.rb +12 -6
  30. data/test/frameworks/rails/action_mailer_test.rb +0 -1
  31. data/test/metric/active_record_test.rb +8 -2
  32. data/test/test_helper.rb +57 -10
  33. data/test/web/rails/dashboard_test.rb +19 -10
  34. data/vanity.gemspec +1 -1
  35. metadata +14 -19
  36. data/gemfiles/rails32.gemfile +0 -36
  37. data/gemfiles/rails32.gemfile.lock +0 -242
  38. data/gemfiles/rails41.gemfile.lock +0 -230
  39. data/gemfiles/rails5.gemfile.lock +0 -256
  40. data/lib/generators/vanity/add_participants_unique_index_generator.rb +0 -15
  41. data/lib/generators/vanity/add_unique_indexes_generator.rb +0 -15
  42. data/lib/generators/vanity_generator.rb +0 -15
@@ -1,256 +0,0 @@
1
- GIT
2
- remote: git://github.com/zoltankiss/fastthread.git
3
- revision: cefbca3009b9c68df5e473d840462ebcc7fa1504
4
- specs:
5
- fastthread (1.0.7)
6
-
7
- PATH
8
- remote: ../
9
- specs:
10
- vanity (2.2.10)
11
- i18n
12
-
13
- GEM
14
- remote: https://rubygems.org/
15
- specs:
16
- RedCloth (4.3.0)
17
- actioncable (5.0.0)
18
- actionpack (= 5.0.0)
19
- nio4r (~> 1.2)
20
- websocket-driver (~> 0.6.1)
21
- actionmailer (5.0.0)
22
- actionpack (= 5.0.0)
23
- actionview (= 5.0.0)
24
- activejob (= 5.0.0)
25
- mail (~> 2.5, >= 2.5.4)
26
- rails-dom-testing (~> 2.0)
27
- actionpack (5.0.0)
28
- actionview (= 5.0.0)
29
- activesupport (= 5.0.0)
30
- rack (~> 2.0)
31
- rack-test (~> 0.6.3)
32
- rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
34
- actionview (5.0.0)
35
- activesupport (= 5.0.0)
36
- builder (~> 3.1)
37
- erubis (~> 2.7.0)
38
- rails-dom-testing (~> 2.0)
39
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
40
- activejob (5.0.0)
41
- activesupport (= 5.0.0)
42
- globalid (>= 0.3.6)
43
- activemodel (5.0.0)
44
- activesupport (= 5.0.0)
45
- activerecord (5.0.0)
46
- activemodel (= 5.0.0)
47
- activesupport (= 5.0.0)
48
- arel (~> 7.0)
49
- activesupport (5.0.0)
50
- concurrent-ruby (~> 1.0, >= 1.0.2)
51
- i18n (~> 0.7)
52
- minitest (~> 5.1)
53
- tzinfo (~> 1.1)
54
- addressable (2.4.0)
55
- appraisal (1.0.3)
56
- bundler
57
- rake
58
- thor (>= 0.14.0)
59
- arel (7.0.0)
60
- blankslate (2.1.2.4)
61
- bson (4.1.1)
62
- builder (3.2.2)
63
- classifier-reborn (2.0.4)
64
- fast-stemmer (~> 1.0)
65
- coderay (1.1.1)
66
- coffee-script (2.4.1)
67
- coffee-script-source
68
- execjs
69
- coffee-script-source (1.10.0)
70
- colorator (0.1)
71
- concurrent-ruby (1.0.2)
72
- crack (0.4.3)
73
- safe_yaml (~> 1.0.0)
74
- daemon_controller (1.2.0)
75
- erubis (2.7.0)
76
- execjs (2.6.0)
77
- fakefs (0.8.1)
78
- faraday (0.9.2)
79
- multipart-post (>= 1.2, < 3)
80
- fast-stemmer (1.0.2)
81
- ffi (1.9.10)
82
- garb (0.9.1)
83
- activesupport (>= 2.2.0)
84
- crack (>= 0.1.6)
85
- globalid (0.3.6)
86
- activesupport (>= 4.1.0)
87
- hashdiff (0.3.0)
88
- i18n (0.7.0)
89
- integration (0.1.0)
90
- jekyll (2.5.3)
91
- classifier-reborn (~> 2.0)
92
- colorator (~> 0.1)
93
- jekyll-coffeescript (~> 1.0)
94
- jekyll-gist (~> 1.0)
95
- jekyll-paginate (~> 1.0)
96
- jekyll-sass-converter (~> 1.0)
97
- jekyll-watch (~> 1.1)
98
- kramdown (~> 1.3)
99
- liquid (~> 2.6.1)
100
- mercenary (~> 0.3.3)
101
- pygments.rb (~> 0.6.0)
102
- redcarpet (~> 3.1)
103
- safe_yaml (~> 1.0)
104
- toml (~> 0.1.0)
105
- jekyll-coffeescript (1.0.1)
106
- coffee-script (~> 2.2)
107
- jekyll-gist (1.4.0)
108
- octokit (~> 4.2)
109
- jekyll-paginate (1.1.0)
110
- jekyll-sass-converter (1.4.0)
111
- sass (~> 3.4)
112
- jekyll-watch (1.4.0)
113
- listen (~> 3.0, < 3.1)
114
- kramdown (1.11.1)
115
- liquid (2.6.3)
116
- listen (3.0.7)
117
- rb-fsevent (>= 0.9.3)
118
- rb-inotify (>= 0.9.7)
119
- loofah (2.0.3)
120
- nokogiri (>= 1.5.9)
121
- mail (2.6.4)
122
- mime-types (>= 1.16, < 4)
123
- mercenary (0.3.6)
124
- metaclass (0.0.4)
125
- method_source (0.8.2)
126
- mime-types (3.1)
127
- mime-types-data (~> 3.2015)
128
- mime-types-data (3.2016.0521)
129
- mini_portile2 (2.1.0)
130
- minitest (5.9.0)
131
- mocha (1.1.0)
132
- metaclass (~> 0.0.1)
133
- mongo (2.2.5)
134
- bson (~> 4.0)
135
- multipart-post (2.0.0)
136
- nio4r (1.2.1)
137
- nokogiri (1.6.8)
138
- mini_portile2 (~> 2.1.0)
139
- pkg-config (~> 1.1.7)
140
- octokit (4.3.0)
141
- sawyer (~> 0.7.0, >= 0.5.3)
142
- parslet (1.5.0)
143
- blankslate (~> 2.0)
144
- passenger (3.0.21)
145
- daemon_controller (>= 1.0.0)
146
- fastthread (>= 1.0.1)
147
- rack
148
- rake (>= 0.8.1)
149
- pkg-config (1.1.7)
150
- posix-spawn (0.3.11)
151
- pry (0.10.3)
152
- coderay (~> 1.1.0)
153
- method_source (~> 0.8.1)
154
- slop (~> 3.4)
155
- pygments.rb (0.6.3)
156
- posix-spawn (~> 0.3.6)
157
- yajl-ruby (~> 1.2.0)
158
- rack (2.0.1)
159
- rack-test (0.6.3)
160
- rack (>= 1.0)
161
- rails (5.0.0)
162
- actioncable (= 5.0.0)
163
- actionmailer (= 5.0.0)
164
- actionpack (= 5.0.0)
165
- actionview (= 5.0.0)
166
- activejob (= 5.0.0)
167
- activemodel (= 5.0.0)
168
- activerecord (= 5.0.0)
169
- activesupport (= 5.0.0)
170
- bundler (>= 1.3.0, < 2.0)
171
- railties (= 5.0.0)
172
- sprockets-rails (>= 2.0.0)
173
- rails-dom-testing (2.0.1)
174
- activesupport (>= 4.2.0, < 6.0)
175
- nokogiri (~> 1.6.0)
176
- rails-html-sanitizer (1.0.3)
177
- loofah (~> 2.0)
178
- railties (5.0.0)
179
- actionpack (= 5.0.0)
180
- activesupport (= 5.0.0)
181
- method_source
182
- rake (>= 0.8.7)
183
- thor (>= 0.18.1, < 2.0)
184
- rake (11.2.2)
185
- rb-fsevent (0.9.7)
186
- rb-inotify (0.9.7)
187
- ffi (>= 0.5.0)
188
- redcarpet (3.3.4)
189
- redis (3.3.0)
190
- redis-namespace (1.5.2)
191
- redis (~> 3.0, >= 3.0.4)
192
- rubystats (0.2.5)
193
- safe_yaml (1.0.4)
194
- sass (3.4.22)
195
- sawyer (0.7.0)
196
- addressable (>= 2.3.5, < 2.5)
197
- faraday (~> 0.8, < 0.10)
198
- slop (3.6.0)
199
- sprockets (3.6.3)
200
- concurrent-ruby (~> 1.0)
201
- rack (> 1, < 3)
202
- sprockets-rails (3.1.1)
203
- actionpack (>= 4.0)
204
- activesupport (>= 4.0)
205
- sprockets (>= 3.0.0)
206
- sqlite3 (1.3.11)
207
- thor (0.19.1)
208
- thread_safe (0.3.5)
209
- timecop (0.8.1)
210
- toml (0.1.2)
211
- parslet (~> 1.5.0)
212
- tzinfo (1.2.2)
213
- thread_safe (~> 0.1)
214
- webmock (2.0.1)
215
- addressable (>= 2.3.6)
216
- crack (>= 0.3.2)
217
- hashdiff
218
- websocket-driver (0.6.4)
219
- websocket-extensions (>= 0.1.0)
220
- websocket-extensions (0.1.2)
221
- yajl-ruby (1.2.1)
222
- yard (0.8.7.6)
223
-
224
- PLATFORMS
225
- ruby
226
-
227
- DEPENDENCIES
228
- RedCloth
229
- activerecord-jdbc-adapter
230
- appraisal (~> 1.0.2)
231
- bundler (>= 1.8.0)
232
- fakefs
233
- fastthread!
234
- garb (< 0.9.2)
235
- integration (<= 0.1.0)
236
- jdbc-sqlite3
237
- jekyll (~> 2.5.3)
238
- minitest (>= 4.2)
239
- mocha (~> 1.0)
240
- mongo (~> 2.1)
241
- passenger (~> 3.0)
242
- pry
243
- rack
244
- rails (= 5.0.0)
245
- rake
246
- redis (>= 2.1)
247
- redis-namespace (>= 1.1.0)
248
- rubystats (>= 0.2.5)
249
- sqlite3 (~> 1.3.10)
250
- timecop
251
- vanity!
252
- webmock
253
- yard
254
-
255
- BUNDLED WITH
256
- 1.13.0
@@ -1,15 +0,0 @@
1
- require 'rails/generators'
2
- require 'rails/generators/migration'
3
-
4
- class Vanity::AddParticipantsUniqueIndexGenerator < Rails::Generators::Base
5
- include Rails::Generators::Migration
6
- source_root File.expand_path('../../templates', __FILE__)
7
-
8
- def self.next_migration_number(path)
9
- Time.now.utc.strftime("%Y%m%d%H%M%S")
10
- end
11
-
12
- def create_model_file
13
- migration_template "add_participants_unique_index_migration.rb", "db/migrate/add_participants_unique_index_migration.rb"
14
- end
15
- end
@@ -1,15 +0,0 @@
1
- require 'rails/generators'
2
- require 'rails/generators/migration'
3
-
4
- class Vanity::AddUniqueIndexesGenerator < Rails::Generators::Base
5
- include Rails::Generators::Migration
6
- source_root File.expand_path('../../templates', __FILE__)
7
-
8
- def self.next_migration_number(path)
9
- Time.now.utc.strftime("%Y%m%d%H%M%S")
10
- end
11
-
12
- def create_model_file
13
- migration_template "add_unique_indexes_migration.rb", "db/migrate/add_vanity_unique_indexes.rb"
14
- end
15
- end
@@ -1,15 +0,0 @@
1
- require 'rails/generators'
2
- require 'rails/generators/migration'
3
-
4
- class VanityGenerator < Rails::Generators::Base
5
- include Rails::Generators::Migration
6
- source_root File.expand_path('../templates', __FILE__)
7
-
8
- def self.next_migration_number(path)
9
- Time.now.utc.strftime("%Y%m%d%H%M%S")
10
- end
11
-
12
- def create_model_file
13
- migration_template "vanity_migration.rb", "db/migrate/vanity_migration.rb"
14
- end
15
- end