paid_up 0.11.7 → 0.12.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +17 -13
  3. data/.rubocop_todo.yml +7 -0
  4. data/.travis.yml +4 -3
  5. data/Gemfile +29 -24
  6. data/README.md +22 -1
  7. data/Rakefile +6 -5
  8. data/VERSION +1 -1
  9. data/app/controllers/paid_up/paid_up_controller.rb +16 -9
  10. data/app/controllers/paid_up/plans_controller.rb +2 -0
  11. data/app/controllers/paid_up/subscriptions_controller.rb +58 -49
  12. data/app/helpers/paid_up/features_helper.rb +35 -34
  13. data/app/helpers/paid_up/paid_up_helper.rb +10 -8
  14. data/app/helpers/paid_up/plans_helper.rb +75 -55
  15. data/app/helpers/paid_up/subscriptions_helper.rb +17 -13
  16. data/app/models/paid_up/ability.rb +53 -46
  17. data/app/models/paid_up/plan.rb +36 -34
  18. data/app/models/paid_up/plan_feature_setting.rb +2 -0
  19. data/app/models/paid_up/unlimited.rb +2 -0
  20. data/app/views/paid_up/features/_abilities_table.html.haml +1 -45
  21. data/app/views/paid_up/features/_boolean_state.html.haml +6 -0
  22. data/app/views/paid_up/features/_setting_state.html.haml +13 -0
  23. data/app/views/paid_up/subscriptions/index.html.haml +2 -2
  24. data/config/initializers/stripe.rb +2 -0
  25. data/config/locales/en.yml +4 -1
  26. data/config/routes.rb +3 -1
  27. data/lib/generators/paid_up/install/install_generator.rb +4 -1
  28. data/lib/generators/paid_up/install/templates/ability.rb +2 -0
  29. data/lib/generators/paid_up/install/templates/initializer.rb +2 -0
  30. data/lib/generators/paid_up/utils.rb +2 -0
  31. data/lib/paid_up/configuration.rb +4 -2
  32. data/lib/paid_up/engine.rb +2 -0
  33. data/lib/paid_up/extensions/integer.rb +2 -0
  34. data/lib/paid_up/extensions/stripe.rb +2 -0
  35. data/lib/paid_up/feature.rb +10 -7
  36. data/lib/paid_up/feature_setting_type.rb +45 -0
  37. data/lib/paid_up/feature_setting_types/rolify.rb +10 -0
  38. data/lib/paid_up/feature_setting_types/table.rb +7 -0
  39. data/lib/paid_up/localization.rb +2 -0
  40. data/lib/paid_up/mixins/paid_for.rb +59 -47
  41. data/lib/paid_up/mixins/subscriber.rb +45 -101
  42. data/lib/paid_up/railtie.rb +2 -0
  43. data/lib/paid_up/ruby_version_check.rb +15 -0
  44. data/lib/paid_up/subscription.rb +80 -0
  45. data/lib/paid_up/validators/rolify_rows.rb +11 -6
  46. data/lib/paid_up/validators/table_rows.rb +9 -6
  47. data/lib/paid_up/version.rb +2 -0
  48. data/lib/paid_up.rb +8 -0
  49. data/paid_up.gemspec +108 -115
  50. data/spec/controllers/paid_up/plans_spec.rb +2 -0
  51. data/spec/controllers/paid_up/subscriptions_spec.rb +18 -11
  52. data/spec/dummy/Rakefile +2 -0
  53. data/spec/dummy/app/assets/stylesheets/application.css.scss +6 -0
  54. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  55. data/spec/dummy/app/models/ability.rb +2 -0
  56. data/spec/dummy/app/models/doodad.rb +2 -0
  57. data/spec/dummy/app/models/group.rb +2 -0
  58. data/spec/dummy/app/models/post.rb +2 -0
  59. data/spec/dummy/app/models/role.rb +2 -0
  60. data/spec/dummy/app/models/user.rb +2 -0
  61. data/spec/dummy/app/views/layouts/application.html.haml +13 -11
  62. data/spec/dummy/bin/bundle +2 -0
  63. data/spec/dummy/bin/rails +2 -0
  64. data/spec/dummy/bin/rake +2 -0
  65. data/spec/dummy/bin/setup +10 -8
  66. data/spec/dummy/config/application.rb +2 -3
  67. data/spec/dummy/config/boot.rb +2 -0
  68. data/spec/dummy/config/environment.rb +2 -0
  69. data/spec/dummy/config/environments/development.rb +2 -0
  70. data/spec/dummy/config/environments/test.rb +2 -4
  71. data/spec/dummy/config/initializers/assets.rb +2 -0
  72. data/spec/dummy/config/initializers/backtrace_silencers.rb +1 -0
  73. data/spec/dummy/config/initializers/cookies_serializer.rb +2 -0
  74. data/spec/dummy/config/initializers/devise.rb +2 -0
  75. data/spec/dummy/config/initializers/filter_parameter_logging.rb +2 -0
  76. data/spec/dummy/config/initializers/inflections.rb +1 -0
  77. data/spec/dummy/config/initializers/mime_types.rb +1 -0
  78. data/spec/dummy/config/initializers/paid_up.rb +10 -16
  79. data/spec/dummy/config/initializers/rolify.rb +2 -0
  80. data/spec/dummy/config/initializers/session_store.rb +2 -0
  81. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -0
  82. data/spec/dummy/config/routes.rb +2 -0
  83. data/spec/dummy/config.ru +2 -0
  84. data/spec/dummy/db/schema.rb +14 -23
  85. data/spec/dummy/db/seeds.rb +8 -6
  86. data/spec/dummy/db/test.sqlite3 +0 -0
  87. data/spec/dummy/lib/tasks/system.rake +2 -0
  88. data/spec/factories/doodad.rb +2 -0
  89. data/spec/factories/group.rb +2 -0
  90. data/spec/factories/plan.rb +2 -0
  91. data/spec/factories/plan_feature_setting.rb +2 -0
  92. data/spec/factories/post.rb +2 -0
  93. data/spec/factories/user.rb +3 -1
  94. data/spec/models/group_spec.rb +9 -7
  95. data/spec/models/paid_up/feature_spec.rb +2 -0
  96. data/spec/models/paid_up/plan_feature_setting_spec.rb +2 -0
  97. data/spec/models/paid_up/plan_spec.rb +2 -0
  98. data/spec/models/scope_spec.rb +9 -7
  99. data/spec/models/user_spec.rb +60 -58
  100. data/spec/paid_up_spec.rb +2 -0
  101. data/spec/rails_helper.rb +16 -2
  102. data/spec/routing/paid_up/plans_spec.rb +2 -0
  103. data/spec/routing/paid_up/subscription_spec.rb +2 -0
  104. data/spec/spec_helper.rb +2 -0
  105. data/spec/support/controller_macros.rb +2 -0
  106. data/spec/support/factory_girl.rb +2 -0
  107. data/spec/support/loaded_site/features.rb +2 -0
  108. data/spec/support/loaded_site/groups.rb +2 -0
  109. data/spec/support/loaded_site/loaded_site.rb +2 -0
  110. data/spec/support/loaded_site/plans.rb +2 -0
  111. data/spec/support/loaded_site/posts.rb +2 -0
  112. data/spec/support/loaded_site/users.rb +4 -2
  113. data/spec/support/stripe.rb +2 -0
  114. data/spec/views/paid_up/plans_spec.rb +9 -7
  115. data/spec/views/paid_up/subscriptions_spec.rb +20 -19
  116. metadata +124 -90
  117. data/app/views/devise/confirmations/new.html.haml +0 -13
  118. data/app/views/devise/passwords/edit.html.haml +0 -19
  119. data/app/views/devise/passwords/new.html.haml +0 -14
  120. data/app/views/devise/registrations/_new_form.html.haml +0 -23
  121. data/app/views/devise/registrations/edit.html.haml +0 -39
  122. data/app/views/devise/registrations/new.html.haml +0 -11
  123. data/app/views/devise/sessions/_new_form.html.haml +0 -21
  124. data/app/views/devise/sessions/new.html.haml +0 -11
  125. data/app/views/devise/shared/_links.html.haml +0 -14
  126. data/app/views/devise/unlocks/new.html.haml +0 -14
  127. data/app/views/layouts/mailer.html.haml +0 -3
  128. data/app/views/layouts/mailer.text.haml +0 -1
  129. data/app/views/paid_up/subscription_mailer/payment_failed_email.html.haml +0 -0
  130. data/app/views/paid_up/subscription_mailer/payment_failed_email.text.haml +0 -0
  131. data/coverage/.last_run.json +0 -5
  132. data/coverage/.resultset.json +0 -1927
  133. data/spec/dummy/app/views/pages/index.html.haml +0 -1
  134. data/spec/dummy/config/environments/production.rb +0 -83
  135. data/spec/dummy/config/initializers/high_voltage.rb +0 -3
@@ -1,1927 +0,0 @@
1
- {
2
- "RSpec": {
3
- "coverage": {
4
- "/Users/karen/Gems/paid_up/spec/dummy/config/environment.rb": [
5
- null,
6
- 1,
7
- null,
8
- null,
9
- 1
10
- ],
11
- "/Users/karen/Gems/paid_up/spec/dummy/config/application.rb": [
12
- 1,
13
- null,
14
- null,
15
- 1,
16
- 1,
17
- null,
18
- 1,
19
- 1,
20
- null,
21
- 1,
22
- 1,
23
- null,
24
- 1,
25
- 1,
26
- null,
27
- null,
28
- null,
29
- null,
30
- null,
31
- null,
32
- null,
33
- null,
34
- null,
35
- null,
36
- null,
37
- null,
38
- null,
39
- null,
40
- null,
41
- null,
42
- null,
43
- null,
44
- 1,
45
- null,
46
- 1,
47
- 1,
48
- 1,
49
- 1,
50
- 1,
51
- 1,
52
- 1,
53
- 1,
54
- 1,
55
- 1,
56
- null,
57
- null,
58
- null
59
- ],
60
- "/Users/karen/Gems/paid_up/spec/dummy/config/boot.rb": [
61
- null,
62
- 1,
63
- null,
64
- 1,
65
- 1
66
- ],
67
- "/Users/karen/Gems/paid_up/lib/paid_up.rb": [
68
- null,
69
- 1,
70
- 1,
71
- 1,
72
- 1,
73
- 1,
74
- 1,
75
- null,
76
- 1,
77
- null,
78
- 1,
79
- 1,
80
- 1,
81
- 1,
82
- null,
83
- 1,
84
- 1,
85
- null,
86
- 1,
87
- 1,
88
- 1,
89
- 1,
90
- 1,
91
- 1,
92
- null,
93
- 1,
94
- 1,
95
- null,
96
- 1,
97
- 1,
98
- null,
99
- 1,
100
- 1,
101
- null,
102
- 1,
103
- 1,
104
- null,
105
- null,
106
- 1,
107
- null,
108
- 1,
109
- null,
110
- 1,
111
- 1
112
- ],
113
- "/Users/karen/Gems/paid_up/lib/paid_up/validators/table_rows.rb": [
114
- 1,
115
- 1,
116
- null,
117
- 1,
118
- 1,
119
- null,
120
- null,
121
- null,
122
- 0,
123
- null,
124
- null,
125
- 0,
126
- null,
127
- null,
128
- null,
129
- null,
130
- null
131
- ],
132
- "/Users/karen/Gems/paid_up/lib/paid_up/validators/rolify_rows.rb": [
133
- 1,
134
- 1,
135
- null,
136
- 1,
137
- 1,
138
- null,
139
- null,
140
- null,
141
- 0,
142
- null,
143
- null,
144
- 0,
145
- null,
146
- null,
147
- null,
148
- null,
149
- null
150
- ],
151
- "/Users/karen/Gems/paid_up/lib/paid_up/configuration.rb": [
152
- null,
153
- 1,
154
- 1,
155
- 1,
156
- 1,
157
- null,
158
- null,
159
- 1,
160
- 28,
161
- null,
162
- null,
163
- null,
164
- 1,
165
- 1,
166
- null,
167
- null,
168
- null,
169
- null,
170
- null,
171
- null,
172
- 1,
173
- 1,
174
- 1,
175
- 1,
176
- 1,
177
- null,
178
- null,
179
- null
180
- ],
181
- "/Users/karen/Gems/paid_up/lib/paid_up/feature.rb": [
182
- null,
183
- 1,
184
- 1,
185
- null,
186
- 1,
187
- 4,
188
- 4,
189
- null,
190
- null,
191
- 1,
192
- 379,
193
- null,
194
- null,
195
- null,
196
- 1,
197
- 1,
198
- 1,
199
- null,
200
- 1,
201
- null,
202
- 1,
203
- 1,
204
- null,
205
- null,
206
- null,
207
- 1,
208
- null,
209
- null,
210
- null,
211
- null,
212
- null,
213
- 1,
214
- null,
215
- null,
216
- null,
217
- null,
218
- null,
219
- null,
220
- 1,
221
- 379,
222
- null,
223
- null,
224
- 1,
225
- 0,
226
- null,
227
- null,
228
- 1,
229
- 544,
230
- 544,
231
- 0,
232
- null,
233
- 544,
234
- null,
235
- null,
236
- 1,
237
- 544,
238
- null,
239
- null,
240
- 1,
241
- 347,
242
- null,
243
- null,
244
- 1,
245
- 32,
246
- null,
247
- null,
248
- 1,
249
- 1,
250
- 1,
251
- 4,
252
- 4,
253
- 4,
254
- null,
255
- 4,
256
- null,
257
- 1,
258
- null,
259
- null,
260
- 1,
261
- 0,
262
- null,
263
- null,
264
- null,
265
- 1,
266
- null,
267
- null,
268
- 1,
269
- 0,
270
- 1,
271
- 1,
272
- null,
273
- 0,
274
- null,
275
- null,
276
- null,
277
- 1,
278
- 0,
279
- null,
280
- null,
281
- null
282
- ],
283
- "/Users/karen/Gems/paid_up/lib/paid_up/railtie.rb": [
284
- 1,
285
- 1,
286
- null,
287
- null
288
- ],
289
- "/Users/karen/Gems/paid_up/lib/paid_up/engine.rb": [
290
- 1,
291
- null,
292
- 1,
293
- 1,
294
- 1,
295
- null,
296
- 1,
297
- 1,
298
- 1,
299
- 1,
300
- 1,
301
- 1,
302
- 1,
303
- 1,
304
- 1,
305
- 1,
306
- null,
307
- null,
308
- 1,
309
- 0,
310
- null,
311
- null,
312
- null
313
- ],
314
- "/Users/karen/Gems/paid_up/lib/paid_up/localization.rb": [
315
- null,
316
- 1,
317
- 1,
318
- 0,
319
- 0,
320
- null,
321
- 0,
322
- null,
323
- 0,
324
- null,
325
- 0,
326
- null,
327
- 1,
328
- null,
329
- 1,
330
- null,
331
- null,
332
- 1,
333
- 1,
334
- 0,
335
- 0,
336
- null,
337
- 1,
338
- null,
339
- 1,
340
- 0,
341
- null,
342
- null,
343
- null,
344
- 1
345
- ],
346
- "/Users/karen/Gems/paid_up/lib/paid_up/version.rb": [
347
- null,
348
- 1,
349
- 1,
350
- 1,
351
- 0,
352
- null,
353
- null
354
- ],
355
- "/Users/karen/Gems/paid_up/lib/paid_up/extensions/stripe.rb": [
356
- 1,
357
- 1,
358
- null,
359
- 1,
360
- 1,
361
- 1,
362
- 1,
363
- 8,
364
- null,
365
- 0,
366
- 0,
367
- null,
368
- null,
369
- null,
370
- null,
371
- null
372
- ],
373
- "/Users/karen/Gems/paid_up/lib/paid_up/extensions/integer.rb": [
374
- 1,
375
- 1,
376
- null,
377
- 1,
378
- 1,
379
- 0,
380
- null,
381
- null,
382
- null,
383
- null
384
- ],
385
- "/Users/karen/Gems/paid_up/lib/paid_up/mixins/subscriber.rb": [
386
- 1,
387
- 1,
388
- null,
389
- 1,
390
- 1,
391
- 1,
392
- 1,
393
- 1,
394
- 1,
395
- 2,
396
- null,
397
- null,
398
- 1,
399
- 1,
400
- 1,
401
- null,
402
- 1,
403
- 0,
404
- 0,
405
- 0,
406
- null,
407
- 1,
408
- 868,
409
- null,
410
- 1,
411
- 0,
412
- null,
413
- null,
414
- null,
415
- null,
416
- 1,
417
- null,
418
- 7,
419
- 0,
420
- 0,
421
- 0,
422
- 0,
423
- null,
424
- 0,
425
- 0,
426
- 0,
427
- null,
428
- 0,
429
- 0,
430
- 0,
431
- null,
432
- 0,
433
- 0,
434
- 0,
435
- null,
436
- 7,
437
- null,
438
- null,
439
- null,
440
- null,
441
- null,
442
- 7,
443
- 7,
444
- 0,
445
- null,
446
- null,
447
- 7,
448
- 7,
449
- 0,
450
- null,
451
- 0,
452
- null,
453
- null,
454
- 7,
455
- null,
456
- 1,
457
- 0,
458
- null,
459
- 1,
460
- 217,
461
- 217,
462
- null,
463
- 0,
464
- null,
465
- null,
466
- 1,
467
- 0,
468
- null,
469
- 1,
470
- 62,
471
- null,
472
- 1,
473
- 124,
474
- null,
475
- 1,
476
- 62,
477
- 62,
478
- null,
479
- 1,
480
- 0,
481
- null,
482
- 1,
483
- 31,
484
- null,
485
- 1,
486
- 62,
487
- null,
488
- 1,
489
- 31,
490
- 31,
491
- null,
492
- 1,
493
- 0,
494
- 0,
495
- null,
496
- 1,
497
- 434,
498
- 434,
499
- null,
500
- 1,
501
- 0,
502
- null,
503
- 1,
504
- null,
505
- null,
506
- 0,
507
- 0,
508
- null,
509
- 1,
510
- null,
511
- null,
512
- 0,
513
- 0,
514
- null,
515
- 1,
516
- null,
517
- 0,
518
- 0,
519
- null,
520
- 1,
521
- 38,
522
- 7,
523
- null,
524
- null,
525
- 1,
526
- 1,
527
- 38,
528
- null,
529
- 7,
530
- null,
531
- 31,
532
- 31,
533
- null,
534
- null,
535
- 38,
536
- null,
537
- null,
538
- null,
539
- 2,
540
- null,
541
- null,
542
- 38,
543
- null,
544
- 1,
545
- 1,
546
- 14,
547
- 7,
548
- null,
549
- null,
550
- 1,
551
- null,
552
- null,
553
- null,
554
- null,
555
- null
556
- ],
557
- "/Users/karen/Gems/paid_up/lib/paid_up/mixins/paid_for.rb": [
558
- 1,
559
- 1,
560
- null,
561
- 1,
562
- 1,
563
- null,
564
- 1,
565
- 1,
566
- null,
567
- 1,
568
- 6,
569
- null,
570
- null,
571
- 1,
572
- 93,
573
- null,
574
- null,
575
- 1,
576
- 3,
577
- null,
578
- null,
579
- 3,
580
- 3,
581
- null,
582
- null,
583
- null,
584
- 1,
585
- 1,
586
- null,
587
- 2,
588
- 2,
589
- null,
590
- 0,
591
- null,
592
- null,
593
- null,
594
- null,
595
- null,
596
- null,
597
- 3,
598
- 0,
599
- null,
600
- 0,
601
- null,
602
- 0,
603
- null,
604
- null,
605
- null,
606
- 3,
607
- 0,
608
- 0,
609
- 0,
610
- null,
611
- 0,
612
- null,
613
- null,
614
- null,
615
- null,
616
- 3,
617
- 0,
618
- 0,
619
- 0,
620
- null,
621
- 0,
622
- null,
623
- null,
624
- 3,
625
- 0,
626
- 0,
627
- 0,
628
- null,
629
- 0,
630
- null,
631
- null,
632
- null,
633
- 0,
634
- null,
635
- null,
636
- null,
637
- null,
638
- 0,
639
- null,
640
- null,
641
- null,
642
- null,
643
- null,
644
- null,
645
- 0,
646
- null,
647
- null,
648
- 3,
649
- 0,
650
- null,
651
- null,
652
- 3,
653
- 0,
654
- 0,
655
- null,
656
- 0,
657
- null,
658
- 0,
659
- null,
660
- null,
661
- null,
662
- null,
663
- null,
664
- null,
665
- null
666
- ],
667
- "/Users/karen/Gems/paid_up/spec/dummy/config/environments/test.rb": [
668
- 1,
669
- null,
670
- null,
671
- null,
672
- null,
673
- null,
674
- null,
675
- null,
676
- 1,
677
- null,
678
- null,
679
- null,
680
- null,
681
- 1,
682
- null,
683
- null,
684
- 1,
685
- 1,
686
- null,
687
- null,
688
- 1,
689
- 1,
690
- null,
691
- null,
692
- 1,
693
- null,
694
- null,
695
- 1,
696
- null,
697
- null,
698
- null,
699
- null,
700
- 1,
701
- null,
702
- null,
703
- 1,
704
- null,
705
- null,
706
- 1,
707
- null,
708
- null,
709
- null,
710
- null
711
- ],
712
- "/Users/karen/Gems/paid_up/config/initializers/stripe.rb": [
713
- 1,
714
- null,
715
- null,
716
- null,
717
- null,
718
- 1
719
- ],
720
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/assets.rb": [
721
- null,
722
- null,
723
- null,
724
- 1,
725
- null,
726
- null,
727
- null,
728
- null,
729
- null,
730
- null,
731
- null,
732
- null
733
- ],
734
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/backtrace_silencers.rb": [
735
- null,
736
- null,
737
- null,
738
- null,
739
- null,
740
- null,
741
- null,
742
- null,
743
- null
744
- ],
745
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/cookies_serializer.rb": [
746
- null,
747
- null,
748
- 1
749
- ],
750
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/devise.rb": [
751
- null,
752
- null,
753
- 1,
754
- null,
755
- null,
756
- null,
757
- null,
758
- null,
759
- null,
760
- null,
761
- null,
762
- null,
763
- null,
764
- null,
765
- 1,
766
- null,
767
- null,
768
- null,
769
- null,
770
- null,
771
- null,
772
- null,
773
- null,
774
- 1,
775
- null,
776
- null,
777
- null,
778
- null,
779
- null,
780
- null,
781
- null,
782
- null,
783
- null,
784
- null,
785
- null,
786
- null,
787
- null,
788
- null,
789
- null,
790
- null,
791
- null,
792
- null,
793
- null,
794
- null,
795
- null,
796
- null,
797
- null,
798
- 1,
799
- null,
800
- null,
801
- null,
802
- null,
803
- null,
804
- 1,
805
- null,
806
- null,
807
- null,
808
- null,
809
- null,
810
- null,
811
- null,
812
- null,
813
- null,
814
- null,
815
- null,
816
- null,
817
- null,
818
- null,
819
- null,
820
- null,
821
- null,
822
- null,
823
- null,
824
- null,
825
- null,
826
- null,
827
- null,
828
- null,
829
- null,
830
- null,
831
- null,
832
- null,
833
- null,
834
- null,
835
- null,
836
- null,
837
- 1,
838
- null,
839
- null,
840
- null,
841
- null,
842
- null,
843
- null,
844
- null,
845
- null,
846
- null,
847
- null,
848
- null,
849
- null,
850
- null,
851
- null,
852
- null,
853
- null,
854
- null,
855
- null,
856
- 1,
857
- null,
858
- null,
859
- null,
860
- null,
861
- null,
862
- null,
863
- null,
864
- null,
865
- null,
866
- null,
867
- null,
868
- null,
869
- null,
870
- null,
871
- null,
872
- null,
873
- null,
874
- null,
875
- null,
876
- null,
877
- null,
878
- null,
879
- null,
880
- null,
881
- null,
882
- null,
883
- null,
884
- 1,
885
- null,
886
- null,
887
- null,
888
- null,
889
- null,
890
- null,
891
- null,
892
- null,
893
- null,
894
- 1,
895
- null,
896
- null,
897
- null,
898
- null,
899
- null,
900
- null,
901
- null,
902
- null,
903
- null,
904
- null,
905
- 1,
906
- null,
907
- null,
908
- null,
909
- null,
910
- null,
911
- null,
912
- null,
913
- null,
914
- null,
915
- null,
916
- null,
917
- null,
918
- null,
919
- null,
920
- null,
921
- null,
922
- null,
923
- null,
924
- null,
925
- null,
926
- null,
927
- null,
928
- null,
929
- null,
930
- null,
931
- null,
932
- null,
933
- null,
934
- null,
935
- null,
936
- null,
937
- null,
938
- null,
939
- null,
940
- null,
941
- null,
942
- null,
943
- null,
944
- null,
945
- null,
946
- null,
947
- null,
948
- null,
949
- null,
950
- null,
951
- null,
952
- null,
953
- null,
954
- null,
955
- null,
956
- 1,
957
- null,
958
- null,
959
- null,
960
- null,
961
- null,
962
- null,
963
- null,
964
- null,
965
- null,
966
- null,
967
- null,
968
- null,
969
- null,
970
- null,
971
- null,
972
- null,
973
- null,
974
- null,
975
- null,
976
- null,
977
- null,
978
- null,
979
- null,
980
- null,
981
- null,
982
- null,
983
- null,
984
- null,
985
- null,
986
- null,
987
- null,
988
- null,
989
- null,
990
- null,
991
- null,
992
- null,
993
- null,
994
- 1,
995
- null,
996
- null,
997
- null,
998
- null,
999
- null,
1000
- null,
1001
- null,
1002
- null,
1003
- null,
1004
- null,
1005
- null,
1006
- null,
1007
- null,
1008
- null,
1009
- null,
1010
- null,
1011
- null,
1012
- null,
1013
- null,
1014
- null,
1015
- null,
1016
- null,
1017
- null,
1018
- null,
1019
- null,
1020
- null,
1021
- null,
1022
- null,
1023
- null,
1024
- null,
1025
- null
1026
- ],
1027
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/filter_parameter_logging.rb": [
1028
- null,
1029
- null,
1030
- null,
1031
- 1
1032
- ],
1033
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/high_voltage.rb": [
1034
- 1,
1035
- 1,
1036
- null
1037
- ],
1038
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/inflections.rb": [
1039
- null,
1040
- null,
1041
- null,
1042
- null,
1043
- null,
1044
- null,
1045
- null,
1046
- null,
1047
- null,
1048
- null,
1049
- null,
1050
- null,
1051
- null,
1052
- null,
1053
- null,
1054
- null
1055
- ],
1056
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/mime_types.rb": [
1057
- null,
1058
- null,
1059
- null,
1060
- null
1061
- ],
1062
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/paid_up.rb": [
1063
- 1,
1064
- 1,
1065
- 1,
1066
- 1,
1067
- null,
1068
- 1,
1069
- null,
1070
- null,
1071
- null,
1072
- null,
1073
- null,
1074
- 1,
1075
- null,
1076
- null,
1077
- null,
1078
- null,
1079
- null,
1080
- null,
1081
- null,
1082
- null,
1083
- 1,
1084
- null,
1085
- null,
1086
- null,
1087
- null,
1088
- null,
1089
- 1,
1090
- null,
1091
- null,
1092
- null,
1093
- null,
1094
- null,
1095
- null
1096
- ],
1097
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/rolify.rb": [
1098
- 1,
1099
- null,
1100
- null,
1101
- null,
1102
- null,
1103
- null,
1104
- null,
1105
- null
1106
- ],
1107
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/session_store.rb": [
1108
- null,
1109
- null,
1110
- 1
1111
- ],
1112
- "/Users/karen/Gems/paid_up/spec/dummy/config/initializers/wrap_parameters.rb": [
1113
- null,
1114
- null,
1115
- null,
1116
- null,
1117
- null,
1118
- null,
1119
- null,
1120
- 1,
1121
- 1,
1122
- null,
1123
- null,
1124
- null,
1125
- null,
1126
- null,
1127
- null
1128
- ],
1129
- "/Users/karen/Gems/paid_up/spec/dummy/spec/factories/doodad.rb": [
1130
- 1,
1131
- 1,
1132
- 1,
1133
- 1,
1134
- null,
1135
- null
1136
- ],
1137
- "/Users/karen/Gems/paid_up/spec/dummy/spec/factories/group.rb": [
1138
- 1,
1139
- 1,
1140
- 1,
1141
- 1,
1142
- 1,
1143
- null,
1144
- null,
1145
- null,
1146
- null,
1147
- null,
1148
- 1,
1149
- 17,
1150
- null,
1151
- null,
1152
- null
1153
- ],
1154
- "/Users/karen/Gems/paid_up/spec/dummy/spec/factories/plan.rb": [
1155
- 1,
1156
- 1,
1157
- 1,
1158
- 1,
1159
- 1,
1160
- null,
1161
- null
1162
- ],
1163
- "/Users/karen/Gems/paid_up/spec/dummy/spec/factories/plan_feature_setting.rb": [
1164
- 1,
1165
- 1,
1166
- 1,
1167
- 1,
1168
- 1,
1169
- null,
1170
- null
1171
- ],
1172
- "/Users/karen/Gems/paid_up/spec/dummy/spec/factories/post.rb": [
1173
- 1,
1174
- 1,
1175
- 1,
1176
- 1,
1177
- 1,
1178
- null,
1179
- null
1180
- ],
1181
- "/Users/karen/Gems/paid_up/spec/dummy/spec/factories/user.rb": [
1182
- 1,
1183
- 1,
1184
- 1,
1185
- 7,
1186
- null,
1187
- 1,
1188
- 1,
1189
- 1,
1190
- 1,
1191
- 1,
1192
- null,
1193
- null,
1194
- null,
1195
- null,
1196
- null,
1197
- 1,
1198
- 7,
1199
- 1,
1200
- null,
1201
- null,
1202
- null,
1203
- null,
1204
- null,
1205
- null,
1206
- null,
1207
- 1,
1208
- null,
1209
- 6,
1210
- null,
1211
- null,
1212
- null,
1213
- null,
1214
- null,
1215
- null,
1216
- null,
1217
- 6,
1218
- null,
1219
- 7,
1220
- null,
1221
- null,
1222
- null
1223
- ],
1224
- "/Users/karen/Gems/paid_up/spec/dummy/config/routes.rb": [
1225
- 1,
1226
- 1,
1227
- 1,
1228
- null
1229
- ],
1230
- "/Users/karen/Gems/paid_up/spec/dummy/app/models/user.rb": [
1231
- 1,
1232
- 1,
1233
- null,
1234
- null,
1235
- 1,
1236
- null,
1237
- 1,
1238
- null
1239
- ],
1240
- "/Users/karen/Gems/paid_up/config/routes.rb": [
1241
- 1,
1242
- 1,
1243
- 1,
1244
- null,
1245
- null,
1246
- 1,
1247
- null
1248
- ],
1249
- "/Users/karen/Gems/paid_up/spec/support/controller_macros.rb": [
1250
- 1,
1251
- 1,
1252
- 0,
1253
- 0,
1254
- null,
1255
- null,
1256
- 1,
1257
- 0,
1258
- 0,
1259
- 0,
1260
- null,
1261
- null
1262
- ],
1263
- "/Users/karen/Gems/paid_up/spec/support/factory_girl.rb": [
1264
- 1,
1265
- 1,
1266
- null
1267
- ],
1268
- "/Users/karen/Gems/paid_up/spec/support/loaded_site/features.rb": [
1269
- 1,
1270
- 32,
1271
- 32,
1272
- 32,
1273
- 32,
1274
- null
1275
- ],
1276
- "/Users/karen/Gems/paid_up/spec/support/loaded_site/groups.rb": [
1277
- 1,
1278
- 1,
1279
- 1,
1280
- 1,
1281
- 1,
1282
- null
1283
- ],
1284
- "/Users/karen/Gems/paid_up/spec/support/loaded_site/loaded_site.rb": [
1285
- 1,
1286
- 1,
1287
- 1,
1288
- 1,
1289
- 1,
1290
- 1,
1291
- 1,
1292
- null
1293
- ],
1294
- "/Users/karen/Gems/paid_up/spec/support/loaded_site/plans.rb": [
1295
- 1,
1296
- 32,
1297
- 32,
1298
- 32,
1299
- 1,
1300
- 31,
1301
- null,
1302
- 1,
1303
- 31,
1304
- null,
1305
- null
1306
- ],
1307
- "/Users/karen/Gems/paid_up/spec/support/loaded_site/posts.rb": [
1308
- 1,
1309
- 1,
1310
- 1,
1311
- 1,
1312
- 1,
1313
- 1,
1314
- null
1315
- ],
1316
- "/Users/karen/Gems/paid_up/spec/support/loaded_site/users.rb": [
1317
- 1,
1318
- 1,
1319
- 1,
1320
- 17,
1321
- 1,
1322
- 1,
1323
- 16,
1324
- null
1325
- ],
1326
- "/Users/karen/Gems/paid_up/spec/support/stripe.rb": [
1327
- 1,
1328
- 1,
1329
- null,
1330
- null,
1331
- null,
1332
- null,
1333
- null,
1334
- 0,
1335
- null,
1336
- null,
1337
- null,
1338
- 1,
1339
- 0,
1340
- 0,
1341
- 0,
1342
- 0,
1343
- 0,
1344
- null,
1345
- 0,
1346
- null
1347
- ],
1348
- "/Users/karen/Gems/paid_up/spec/dummy/lib/tasks/system.rake": [
1349
- 1,
1350
- 1,
1351
- 1,
1352
- 0,
1353
- 0,
1354
- 0,
1355
- 0,
1356
- 0,
1357
- 0,
1358
- 0,
1359
- null,
1360
- null
1361
- ],
1362
- "/Users/karen/Gems/paid_up/spec/dummy/db/seeds.rb": [
1363
- null,
1364
- null,
1365
- null,
1366
- null,
1367
- 1,
1368
- null,
1369
- null,
1370
- null,
1371
- null,
1372
- null,
1373
- null,
1374
- 1,
1375
- null,
1376
- null,
1377
- null,
1378
- null,
1379
- null,
1380
- 1,
1381
- null,
1382
- null,
1383
- null,
1384
- null,
1385
- null,
1386
- null,
1387
- 1,
1388
- null,
1389
- null,
1390
- null,
1391
- null,
1392
- null,
1393
- 1,
1394
- null,
1395
- null,
1396
- null,
1397
- null,
1398
- null,
1399
- null,
1400
- 1,
1401
- null,
1402
- null,
1403
- null,
1404
- null,
1405
- null,
1406
- 1,
1407
- null,
1408
- null,
1409
- null,
1410
- null,
1411
- null,
1412
- null,
1413
- 1,
1414
- null,
1415
- null,
1416
- null,
1417
- null,
1418
- null,
1419
- 1,
1420
- null,
1421
- null,
1422
- null,
1423
- null,
1424
- null,
1425
- null,
1426
- 1,
1427
- null,
1428
- null,
1429
- null,
1430
- null,
1431
- null,
1432
- null,
1433
- null,
1434
- null,
1435
- null,
1436
- null,
1437
- null,
1438
- 1,
1439
- null,
1440
- null,
1441
- null,
1442
- null,
1443
- null,
1444
- null,
1445
- 1,
1446
- null,
1447
- null,
1448
- null,
1449
- null,
1450
- null,
1451
- null,
1452
- null,
1453
- null,
1454
- null,
1455
- 1,
1456
- null,
1457
- null,
1458
- null,
1459
- null,
1460
- null,
1461
- null,
1462
- null,
1463
- null,
1464
- null,
1465
- 1,
1466
- null,
1467
- null,
1468
- null,
1469
- null,
1470
- null,
1471
- null,
1472
- 1,
1473
- null,
1474
- null,
1475
- null,
1476
- null,
1477
- 1,
1478
- null,
1479
- null,
1480
- null,
1481
- null,
1482
- null,
1483
- null,
1484
- 1,
1485
- null,
1486
- null,
1487
- null,
1488
- null,
1489
- 1,
1490
- null,
1491
- null,
1492
- null,
1493
- null,
1494
- 1,
1495
- null,
1496
- null,
1497
- null,
1498
- null,
1499
- 1,
1500
- null,
1501
- null,
1502
- null,
1503
- null,
1504
- null,
1505
- null,
1506
- 1,
1507
- null,
1508
- null,
1509
- null,
1510
- null,
1511
- 1,
1512
- null,
1513
- null,
1514
- null,
1515
- null,
1516
- 1,
1517
- null,
1518
- null,
1519
- null,
1520
- null,
1521
- 1,
1522
- null,
1523
- null,
1524
- null,
1525
- null,
1526
- null,
1527
- null,
1528
- null,
1529
- null,
1530
- null,
1531
- 1,
1532
- null,
1533
- null,
1534
- null,
1535
- null,
1536
- null,
1537
- 1,
1538
- null,
1539
- null,
1540
- null,
1541
- null,
1542
- null,
1543
- 1,
1544
- null,
1545
- null,
1546
- null,
1547
- null,
1548
- null,
1549
- 1,
1550
- null,
1551
- null,
1552
- null,
1553
- null,
1554
- null,
1555
- 1,
1556
- null,
1557
- null,
1558
- null,
1559
- null,
1560
- null,
1561
- 1,
1562
- null,
1563
- null,
1564
- null,
1565
- null,
1566
- null,
1567
- 1,
1568
- null,
1569
- null,
1570
- null,
1571
- null,
1572
- null,
1573
- null,
1574
- null,
1575
- null,
1576
- null,
1577
- null,
1578
- 1,
1579
- null,
1580
- null,
1581
- null,
1582
- null,
1583
- null,
1584
- null,
1585
- 1,
1586
- null,
1587
- null,
1588
- null,
1589
- null,
1590
- null,
1591
- null,
1592
- 1,
1593
- null,
1594
- null,
1595
- null,
1596
- null,
1597
- null,
1598
- null,
1599
- 1,
1600
- null,
1601
- null,
1602
- null,
1603
- null,
1604
- null,
1605
- null,
1606
- 1,
1607
- 1,
1608
- 1,
1609
- null,
1610
- 1,
1611
- null,
1612
- null,
1613
- null,
1614
- null,
1615
- null,
1616
- null,
1617
- 1,
1618
- null,
1619
- null,
1620
- null,
1621
- null,
1622
- null,
1623
- null,
1624
- null,
1625
- null,
1626
- null,
1627
- null,
1628
- 1,
1629
- null,
1630
- null,
1631
- null,
1632
- null,
1633
- null,
1634
- null,
1635
- 1,
1636
- null,
1637
- null,
1638
- null,
1639
- null,
1640
- null,
1641
- null,
1642
- 1,
1643
- null,
1644
- null,
1645
- null,
1646
- null,
1647
- null,
1648
- null,
1649
- 1,
1650
- null,
1651
- null,
1652
- null,
1653
- null,
1654
- null,
1655
- null,
1656
- 1,
1657
- null,
1658
- null,
1659
- null,
1660
- null,
1661
- null
1662
- ],
1663
- "/Users/karen/Gems/paid_up/app/models/paid_up/plan.rb": [
1664
- 1,
1665
- null,
1666
- 1,
1667
- 1,
1668
- null,
1669
- null,
1670
- null,
1671
- null,
1672
- null,
1673
- 1,
1674
- null,
1675
- 1,
1676
- 1,
1677
- null,
1678
- 1,
1679
- null,
1680
- 1,
1681
- 1,
1682
- null,
1683
- 378,
1684
- 1,
1685
- 1,
1686
- 0,
1687
- null,
1688
- null,
1689
- 1,
1690
- 0,
1691
- 0,
1692
- 0,
1693
- null,
1694
- null,
1695
- 1,
1696
- 217,
1697
- null,
1698
- 217,
1699
- 217,
1700
- null,
1701
- 31,
1702
- 0,
1703
- null,
1704
- 31,
1705
- null,
1706
- null,
1707
- 186,
1708
- 0,
1709
- null,
1710
- 186,
1711
- null,
1712
- null,
1713
- 0,
1714
- null,
1715
- null,
1716
- null,
1717
- 1,
1718
- 0,
1719
- null,
1720
- null,
1721
- 1,
1722
- 0,
1723
- 0,
1724
- null,
1725
- 0,
1726
- null,
1727
- null,
1728
- null,
1729
- 1,
1730
- 0,
1731
- 0,
1732
- null,
1733
- 0,
1734
- null,
1735
- null,
1736
- null,
1737
- 1,
1738
- 0,
1739
- 0,
1740
- null,
1741
- 0,
1742
- null,
1743
- null,
1744
- null,
1745
- 1,
1746
- 0,
1747
- null,
1748
- null,
1749
- 1,
1750
- 0,
1751
- null,
1752
- null,
1753
- 1,
1754
- 0,
1755
- 0,
1756
- null,
1757
- 0,
1758
- null,
1759
- null,
1760
- null,
1761
- 1,
1762
- null,
1763
- 1,
1764
- 377,
1765
- 377,
1766
- null,
1767
- null,
1768
- 160,
1769
- null,
1770
- null,
1771
- null,
1772
- null,
1773
- 1,
1774
- 5,
1775
- null,
1776
- null,
1777
- null
1778
- ],
1779
- "/Users/karen/Gems/paid_up/app/models/paid_up/plan_feature_setting.rb": [
1780
- 1,
1781
- null,
1782
- 1,
1783
- 1,
1784
- null,
1785
- null,
1786
- null,
1787
- null,
1788
- null,
1789
- 1,
1790
- null,
1791
- 1,
1792
- null,
1793
- 1,
1794
- null,
1795
- 1,
1796
- null,
1797
- 228,
1798
- null,
1799
- null,
1800
- null
1801
- ],
1802
- "/Users/karen/Gems/paid_up/app/models/paid_up/unlimited.rb": [
1803
- 1,
1804
- null,
1805
- null,
1806
- 1,
1807
- 1,
1808
- 0,
1809
- null,
1810
- null,
1811
- 1,
1812
- 232,
1813
- null,
1814
- null,
1815
- 1,
1816
- 0,
1817
- null,
1818
- null,
1819
- null
1820
- ],
1821
- "/Users/karen/Gems/paid_up/spec/dummy/app/models/group.rb": [
1822
- 1,
1823
- 1,
1824
- null,
1825
- 32,
1826
- null
1827
- ],
1828
- "/Users/karen/Gems/paid_up/spec/dummy/app/models/role.rb": [
1829
- 1,
1830
- 1,
1831
- 1,
1832
- null,
1833
- 1,
1834
- null,
1835
- null,
1836
- null,
1837
- 1,
1838
- null
1839
- ],
1840
- "/Users/karen/Gems/paid_up/spec/dummy/app/models/doodad.rb": [
1841
- 1,
1842
- 1,
1843
- null
1844
- ],
1845
- "/Users/karen/Gems/paid_up/spec/dummy/app/models/post.rb": [
1846
- 1,
1847
- 1,
1848
- null,
1849
- 32,
1850
- null
1851
- ],
1852
- "/Users/karen/Gems/paid_up/spec/dummy/app/models/ability.rb": [
1853
- 1,
1854
- 1,
1855
- 1,
1856
- null,
1857
- 1,
1858
- 31,
1859
- null,
1860
- null,
1861
- null,
1862
- 31,
1863
- null,
1864
- null
1865
- ],
1866
- "/Users/karen/Gems/paid_up/app/models/paid_up/ability.rb": [
1867
- 1,
1868
- null,
1869
- 1,
1870
- 1,
1871
- null,
1872
- 1,
1873
- 31,
1874
- 31,
1875
- 124,
1876
- null,
1877
- 62,
1878
- 62,
1879
- null,
1880
- 62,
1881
- 62,
1882
- 62,
1883
- 62,
1884
- null,
1885
- 62,
1886
- null,
1887
- 0,
1888
- 0,
1889
- 0,
1890
- 0,
1891
- null,
1892
- null,
1893
- 31,
1894
- 31,
1895
- null,
1896
- 31,
1897
- 31,
1898
- null,
1899
- null,
1900
- null,
1901
- null,
1902
- 31,
1903
- 31,
1904
- null,
1905
- 31,
1906
- null,
1907
- 0,
1908
- 0,
1909
- 0,
1910
- 0,
1911
- null,
1912
- null,
1913
- 31,
1914
- 31,
1915
- null,
1916
- null,
1917
- 0,
1918
- null,
1919
- null,
1920
- null,
1921
- null,
1922
- null
1923
- ]
1924
- },
1925
- "timestamp": 1487611828
1926
- }
1927
- }