paid_up 0.13.10 → 0.13.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 190f8e3cccb7803e7b0b41c0e32949fbab57943bb7b6b1c6077435a1e26047b9
4
- data.tar.gz: 7edf4a9c282c68c57b00544a4f5159e0e1384125d2398955a70a6dc100cb6d8d
3
+ metadata.gz: a9152408dc0d2f4f9fa44e505e460a58dcaf8c576250c55f0a51e8d6737f0362
4
+ data.tar.gz: ed394624d086af0936aa41f8e1fb0d81b364a6f1d7b824d800253ded11106587
5
5
  SHA512:
6
- metadata.gz: d31259ba34e6d998e024dbaa4bc64503925b4b509d7e52b8c6c2a7cb0fa436aab9f49abe24aa30e905ceab8bb56bbcc77463317dba14f118e0469b50e2a3fba5
7
- data.tar.gz: a69b0a79d9944e9a974b9bae17a026f85a2d26211ef962b323564d27a94935d83cb4a9c7c19683a4760cf082404cc28a17d862fb937f38762918a48eda81a526
6
+ metadata.gz: 344ef3396a7a7c68fc38f97d1a96aeda2895b6b3d19112f986cd47ab7065e2aa460b7b002b0ec33d2116605a4b5aec550a45a41307e8869d6146ba7b705e3660
7
+ data.tar.gz: 31e4e4b09062699a59f819961186ebf90f0c413136569370743bcb561514b9295c2dc3195995f202855c6da74332dcd571baa40a48952ea3e9fb25677a734968
data/Gemfile CHANGED
@@ -6,21 +6,22 @@ group :test, :development do
6
6
  gem 'dotenv-rails', '~> 2.2', require: 'dotenv/rails-now'
7
7
  end
8
8
 
9
- gem 'haml-rails', '>= 1', '< 2'
9
+ gem 'haml-rails', '>= 1', '< 3'
10
+ gem 'haml', '>= 5', '< 6'
10
11
  gem 'jquery-rails', '~> 4'
11
- gem 'rails', '>= 4', '< 6'
12
- gem 'rails-i18n', '>= 4', '< 6'
13
- gem 'uglifier', '>= 2.7', '< 4'
12
+ gem 'rails', '>= 6', '< 7'
13
+ gem 'rails-i18n', '>= 6', '< 7'
14
+ gem 'uglifier', '>= 2.7', '< 5'
14
15
 
15
- gem 'bootstrap_leather', '~> 0.9'
16
+ gem 'bootstrap_leather', '>= 0.10.13'
16
17
 
17
18
  gem 'chronic', '~> 0.10'
18
19
  gem 'money', '~> 6.5'
19
20
 
20
- gem 'cancancan', '>= 1', '< 3'
21
+ gem 'cancancan', '>= 1', '< 4'
21
22
  gem 'devise', '>= 3.4', '< 5'
22
23
  gem 'rolify', '~> 5'
23
- gem 'stripe', '>= 4.8', '< 5'
24
+ gem 'stripe', '>= 5', '< 6'
24
25
 
25
26
  group :development do
26
27
  gem 'coffeelint', '~> 1.14'
@@ -28,18 +29,17 @@ group :development do
28
29
  gem 'nokogiri', '>= 1.7', '< 2'
29
30
  gem 'pre-commit', '~> 0.32'
30
31
  gem 'rubocop', '>= 0.49', '< 1'
31
- gem 'scss_lint', '>= 0.52.0', '< 1', require: false
32
- gem 'web-console', '~> 3'
32
+ gem 'web-console', '>= 3', '< 5'
33
33
  end
34
34
 
35
35
  group :test, :development do
36
36
  gem 'bootstrap-sass', '>= 3.3', '< 4'
37
- gem 'factory_bot_rails', '>= 4.8', '< 5'
37
+ gem 'factory_bot_rails', '>= 4.8', '< 6'
38
38
  gem 'forgery', '~> 0.6'
39
39
  gem 'rails-controller-testing', '~> 1'
40
- gem 'rspec-rails', '~> 3'
40
+ gem 'rspec-rails', '>= 4.0.0.beta3'
41
41
  gem 'sass-rails', '>= 5', '< 7'
42
- gem 'sqlite3', '>= 1.3', '< 1.4'
42
+ gem 'sqlite3', '>= 1.4'
43
43
  end
44
44
 
45
45
  group :test do
@@ -48,5 +48,5 @@ group :test do
48
48
  gem 'database_cleaner', '~> 1'
49
49
  gem 'launchy', '~> 2.4', require: false
50
50
  gem 'rspec-collection_matchers', '~> 1.1'
51
- gem 'shoulda-matchers', '>= 2', '< 4'
51
+ gem 'shoulda-matchers', '>= 2', '< 5'
52
52
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.10
1
+ 0.13.11
File without changes
@@ -21,15 +21,15 @@ module PaidUp
21
21
 
22
22
  default_scope { order('sort_order ASC') }
23
23
  scope :subscribable, -> { where('sort_order >= ?', 0) }
24
- scope :including, ->(ids) { where(id: ids) }
25
- scope :excluding, ->(ids) { where.not(id: ids) }
24
+ scope :including_ids, ->(ids) { where(id: ids) }
25
+ scope :excluding_ids, ->(ids) { where.not(id: ids) }
26
26
  scope :free, (lambda do
27
27
  find_by_stripe_id(PaidUp.configuration.free_plan_stripe_id)
28
28
  end)
29
29
  scope :display, (lambda do |including, excluding|
30
30
  plans = subscribable
31
- plans = plans.including(including) if including.present?
32
- plans = plans.excluding(excluding) if excluding.present?
31
+ plans = plans.including_ids(including) if including.present?
32
+ plans = plans.excluding_ids(excluding) if excluding.present?
33
33
  plans
34
34
  end)
35
35
 
@@ -7,4 +7,6 @@ Rails.configuration.stripe = {
7
7
 
8
8
  Stripe.api_key = Rails.configuration.stripe[:secret_key]
9
9
 
10
- Stripe.set_app_info('Rails PaidUp', version: PaidUp::VERSION, url: 'https://www.gemvein.com/museum/cases/paid_up')
10
+ Stripe.set_app_info('Rails PaidUp', version: PaidUp::VERSION, url: 'https://www.gemvein.com/museum/cases/paid_up')
11
+
12
+ Money.rounding_mode = BigDecimal::ROUND_HALF_UP
@@ -33,7 +33,7 @@ module PaidUp
33
33
  end
34
34
 
35
35
  def cards
36
- stripe_data.present? && stripe_data.sources.all(object: 'card')
36
+ stripe_data.present? && stripe_data.sources.list(object: 'card')
37
37
  end
38
38
 
39
39
  def subscribe_to_plan(
@@ -26,6 +26,7 @@ module PaidUp
26
26
  end
27
27
 
28
28
  def update(plan, stripe_token = nil, coupon = nil, trial_end = nil)
29
+ return if stripe_data.nil?
29
30
  update_stripe_token(stripe_token)
30
31
  update_coupon(coupon)
31
32
  update_trial_end(trial_end)
data/paid_up.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: paid_up 0.13.10 ruby lib
5
+ # stub: paid_up 0.13.11 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "paid_up".freeze
9
- s.version = "0.13.10"
9
+ s.version = "0.13.11"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Karen Lundgren".freeze]
14
- s.date = "2019-02-11"
14
+ s.date = "2020-01-10"
15
15
  s.description = "Allows a model of your choosing (such as users) to subscribe to a plan, which enables features.".freeze
16
16
  s.email = "karen.e.lundgren@gmail.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29
29
  "README.md",
30
30
  "Rakefile",
31
31
  "VERSION",
32
+ "app/assets/config/manifest.js",
32
33
  "app/controllers/paid_up/paid_up_controller.rb",
33
34
  "app/controllers/paid_up/plans_controller.rb",
34
35
  "app/controllers/paid_up/subscriptions_controller.rb",
@@ -81,6 +82,7 @@ Gem::Specification.new do |s|
81
82
  "spec/controllers/paid_up/plans_spec.rb",
82
83
  "spec/controllers/paid_up/subscriptions_spec.rb",
83
84
  "spec/dummy/Rakefile",
85
+ "spec/dummy/app/assets/config/manifest.js",
84
86
  "spec/dummy/app/assets/javascripts/application.js",
85
87
  "spec/dummy/app/assets/stylesheets/application.css.scss",
86
88
  "spec/dummy/app/controllers/application_controller.rb",
@@ -178,97 +180,97 @@ Gem::Specification.new do |s|
178
180
  ]
179
181
  s.homepage = "http://www.gemvein.com/museum/cases/paid_up".freeze
180
182
  s.licenses = ["MIT".freeze]
181
- s.rubygems_version = "2.7.7".freeze
183
+ s.rubygems_version = "3.0.3".freeze
182
184
  s.summary = "Allows a model of your choosing to subscribe to a plan, which enables features.".freeze
183
185
 
184
186
  if s.respond_to? :specification_version then
185
187
  s.specification_version = 4
186
188
 
187
189
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
188
- s.add_runtime_dependency(%q<haml-rails>.freeze, ["< 2", ">= 1"])
190
+ s.add_runtime_dependency(%q<haml-rails>.freeze, [">= 1", "< 3"])
191
+ s.add_runtime_dependency(%q<haml>.freeze, [">= 5", "< 6"])
189
192
  s.add_runtime_dependency(%q<jquery-rails>.freeze, ["~> 4"])
190
- s.add_runtime_dependency(%q<rails>.freeze, ["< 6", ">= 4"])
191
- s.add_runtime_dependency(%q<rails-i18n>.freeze, ["< 6", ">= 4"])
192
- s.add_runtime_dependency(%q<uglifier>.freeze, ["< 4", ">= 2.7"])
193
- s.add_runtime_dependency(%q<bootstrap_leather>.freeze, ["~> 0.9"])
193
+ s.add_runtime_dependency(%q<rails>.freeze, [">= 6", "< 7"])
194
+ s.add_runtime_dependency(%q<rails-i18n>.freeze, [">= 6", "< 7"])
195
+ s.add_runtime_dependency(%q<uglifier>.freeze, [">= 2.7", "< 5"])
196
+ s.add_runtime_dependency(%q<bootstrap_leather>.freeze, [">= 0.10.13"])
194
197
  s.add_runtime_dependency(%q<chronic>.freeze, ["~> 0.10"])
195
198
  s.add_runtime_dependency(%q<money>.freeze, ["~> 6.5"])
196
- s.add_runtime_dependency(%q<cancancan>.freeze, ["< 3", ">= 1"])
197
- s.add_runtime_dependency(%q<devise>.freeze, ["< 5", ">= 3.4"])
199
+ s.add_runtime_dependency(%q<cancancan>.freeze, [">= 1", "< 4"])
200
+ s.add_runtime_dependency(%q<devise>.freeze, [">= 3.4", "< 5"])
198
201
  s.add_runtime_dependency(%q<rolify>.freeze, ["~> 5"])
199
- s.add_runtime_dependency(%q<stripe>.freeze, ["< 5", ">= 4.8"])
202
+ s.add_runtime_dependency(%q<stripe>.freeze, [">= 5", "< 6"])
200
203
  s.add_development_dependency(%q<dotenv-rails>.freeze, ["~> 2.2"])
201
204
  s.add_development_dependency(%q<coffeelint>.freeze, ["~> 1.14"])
202
205
  s.add_development_dependency(%q<juwelier>.freeze, ["~> 2"])
203
- s.add_development_dependency(%q<nokogiri>.freeze, ["< 2", ">= 1.7"])
206
+ s.add_development_dependency(%q<nokogiri>.freeze, [">= 1.7", "< 2"])
204
207
  s.add_development_dependency(%q<pre-commit>.freeze, ["~> 0.32"])
205
- s.add_development_dependency(%q<rubocop>.freeze, ["< 1", ">= 0.49"])
206
- s.add_development_dependency(%q<scss_lint>.freeze, ["< 1", ">= 0.52.0"])
207
- s.add_development_dependency(%q<web-console>.freeze, ["~> 3"])
208
- s.add_development_dependency(%q<bootstrap-sass>.freeze, ["< 4", ">= 3.3"])
209
- s.add_development_dependency(%q<factory_bot_rails>.freeze, ["< 5", ">= 4.8"])
208
+ s.add_development_dependency(%q<rubocop>.freeze, [">= 0.49", "< 1"])
209
+ s.add_development_dependency(%q<web-console>.freeze, [">= 3", "< 5"])
210
+ s.add_development_dependency(%q<bootstrap-sass>.freeze, [">= 3.3", "< 4"])
211
+ s.add_development_dependency(%q<factory_bot_rails>.freeze, [">= 4.8", "< 6"])
210
212
  s.add_development_dependency(%q<forgery>.freeze, ["~> 0.6"])
211
213
  s.add_development_dependency(%q<rails-controller-testing>.freeze, ["~> 1"])
212
- s.add_development_dependency(%q<rspec-rails>.freeze, ["~> 3"])
213
- s.add_development_dependency(%q<sass-rails>.freeze, ["< 7", ">= 5"])
214
- s.add_development_dependency(%q<sqlite3>.freeze, ["< 1.4", ">= 1.3"])
214
+ s.add_development_dependency(%q<rspec-rails>.freeze, [">= 4.0.0.beta3"])
215
+ s.add_development_dependency(%q<sass-rails>.freeze, [">= 5", "< 7"])
216
+ s.add_development_dependency(%q<sqlite3>.freeze, [">= 1.4"])
215
217
  else
216
- s.add_dependency(%q<haml-rails>.freeze, ["< 2", ">= 1"])
218
+ s.add_dependency(%q<haml-rails>.freeze, [">= 1", "< 3"])
219
+ s.add_dependency(%q<haml>.freeze, [">= 5", "< 6"])
217
220
  s.add_dependency(%q<jquery-rails>.freeze, ["~> 4"])
218
- s.add_dependency(%q<rails>.freeze, ["< 6", ">= 4"])
219
- s.add_dependency(%q<rails-i18n>.freeze, ["< 6", ">= 4"])
220
- s.add_dependency(%q<uglifier>.freeze, ["< 4", ">= 2.7"])
221
- s.add_dependency(%q<bootstrap_leather>.freeze, ["~> 0.9"])
221
+ s.add_dependency(%q<rails>.freeze, [">= 6", "< 7"])
222
+ s.add_dependency(%q<rails-i18n>.freeze, [">= 6", "< 7"])
223
+ s.add_dependency(%q<uglifier>.freeze, [">= 2.7", "< 5"])
224
+ s.add_dependency(%q<bootstrap_leather>.freeze, [">= 0.10.13"])
222
225
  s.add_dependency(%q<chronic>.freeze, ["~> 0.10"])
223
226
  s.add_dependency(%q<money>.freeze, ["~> 6.5"])
224
- s.add_dependency(%q<cancancan>.freeze, ["< 3", ">= 1"])
225
- s.add_dependency(%q<devise>.freeze, ["< 5", ">= 3.4"])
227
+ s.add_dependency(%q<cancancan>.freeze, [">= 1", "< 4"])
228
+ s.add_dependency(%q<devise>.freeze, [">= 3.4", "< 5"])
226
229
  s.add_dependency(%q<rolify>.freeze, ["~> 5"])
227
- s.add_dependency(%q<stripe>.freeze, ["< 5", ">= 4.8"])
230
+ s.add_dependency(%q<stripe>.freeze, [">= 5", "< 6"])
228
231
  s.add_dependency(%q<dotenv-rails>.freeze, ["~> 2.2"])
229
232
  s.add_dependency(%q<coffeelint>.freeze, ["~> 1.14"])
230
233
  s.add_dependency(%q<juwelier>.freeze, ["~> 2"])
231
- s.add_dependency(%q<nokogiri>.freeze, ["< 2", ">= 1.7"])
234
+ s.add_dependency(%q<nokogiri>.freeze, [">= 1.7", "< 2"])
232
235
  s.add_dependency(%q<pre-commit>.freeze, ["~> 0.32"])
233
- s.add_dependency(%q<rubocop>.freeze, ["< 1", ">= 0.49"])
234
- s.add_dependency(%q<scss_lint>.freeze, ["< 1", ">= 0.52.0"])
235
- s.add_dependency(%q<web-console>.freeze, ["~> 3"])
236
- s.add_dependency(%q<bootstrap-sass>.freeze, ["< 4", ">= 3.3"])
237
- s.add_dependency(%q<factory_bot_rails>.freeze, ["< 5", ">= 4.8"])
236
+ s.add_dependency(%q<rubocop>.freeze, [">= 0.49", "< 1"])
237
+ s.add_dependency(%q<web-console>.freeze, [">= 3", "< 5"])
238
+ s.add_dependency(%q<bootstrap-sass>.freeze, [">= 3.3", "< 4"])
239
+ s.add_dependency(%q<factory_bot_rails>.freeze, [">= 4.8", "< 6"])
238
240
  s.add_dependency(%q<forgery>.freeze, ["~> 0.6"])
239
241
  s.add_dependency(%q<rails-controller-testing>.freeze, ["~> 1"])
240
- s.add_dependency(%q<rspec-rails>.freeze, ["~> 3"])
241
- s.add_dependency(%q<sass-rails>.freeze, ["< 7", ">= 5"])
242
- s.add_dependency(%q<sqlite3>.freeze, ["< 1.4", ">= 1.3"])
242
+ s.add_dependency(%q<rspec-rails>.freeze, [">= 4.0.0.beta3"])
243
+ s.add_dependency(%q<sass-rails>.freeze, [">= 5", "< 7"])
244
+ s.add_dependency(%q<sqlite3>.freeze, [">= 1.4"])
243
245
  end
244
246
  else
245
- s.add_dependency(%q<haml-rails>.freeze, ["< 2", ">= 1"])
247
+ s.add_dependency(%q<haml-rails>.freeze, [">= 1", "< 3"])
248
+ s.add_dependency(%q<haml>.freeze, [">= 5", "< 6"])
246
249
  s.add_dependency(%q<jquery-rails>.freeze, ["~> 4"])
247
- s.add_dependency(%q<rails>.freeze, ["< 6", ">= 4"])
248
- s.add_dependency(%q<rails-i18n>.freeze, ["< 6", ">= 4"])
249
- s.add_dependency(%q<uglifier>.freeze, ["< 4", ">= 2.7"])
250
- s.add_dependency(%q<bootstrap_leather>.freeze, ["~> 0.9"])
250
+ s.add_dependency(%q<rails>.freeze, [">= 6", "< 7"])
251
+ s.add_dependency(%q<rails-i18n>.freeze, [">= 6", "< 7"])
252
+ s.add_dependency(%q<uglifier>.freeze, [">= 2.7", "< 5"])
253
+ s.add_dependency(%q<bootstrap_leather>.freeze, [">= 0.10.13"])
251
254
  s.add_dependency(%q<chronic>.freeze, ["~> 0.10"])
252
255
  s.add_dependency(%q<money>.freeze, ["~> 6.5"])
253
- s.add_dependency(%q<cancancan>.freeze, ["< 3", ">= 1"])
254
- s.add_dependency(%q<devise>.freeze, ["< 5", ">= 3.4"])
256
+ s.add_dependency(%q<cancancan>.freeze, [">= 1", "< 4"])
257
+ s.add_dependency(%q<devise>.freeze, [">= 3.4", "< 5"])
255
258
  s.add_dependency(%q<rolify>.freeze, ["~> 5"])
256
- s.add_dependency(%q<stripe>.freeze, ["< 5", ">= 4.8"])
259
+ s.add_dependency(%q<stripe>.freeze, [">= 5", "< 6"])
257
260
  s.add_dependency(%q<dotenv-rails>.freeze, ["~> 2.2"])
258
261
  s.add_dependency(%q<coffeelint>.freeze, ["~> 1.14"])
259
262
  s.add_dependency(%q<juwelier>.freeze, ["~> 2"])
260
- s.add_dependency(%q<nokogiri>.freeze, ["< 2", ">= 1.7"])
263
+ s.add_dependency(%q<nokogiri>.freeze, [">= 1.7", "< 2"])
261
264
  s.add_dependency(%q<pre-commit>.freeze, ["~> 0.32"])
262
- s.add_dependency(%q<rubocop>.freeze, ["< 1", ">= 0.49"])
263
- s.add_dependency(%q<scss_lint>.freeze, ["< 1", ">= 0.52.0"])
264
- s.add_dependency(%q<web-console>.freeze, ["~> 3"])
265
- s.add_dependency(%q<bootstrap-sass>.freeze, ["< 4", ">= 3.3"])
266
- s.add_dependency(%q<factory_bot_rails>.freeze, ["< 5", ">= 4.8"])
265
+ s.add_dependency(%q<rubocop>.freeze, [">= 0.49", "< 1"])
266
+ s.add_dependency(%q<web-console>.freeze, [">= 3", "< 5"])
267
+ s.add_dependency(%q<bootstrap-sass>.freeze, [">= 3.3", "< 4"])
268
+ s.add_dependency(%q<factory_bot_rails>.freeze, [">= 4.8", "< 6"])
267
269
  s.add_dependency(%q<forgery>.freeze, ["~> 0.6"])
268
270
  s.add_dependency(%q<rails-controller-testing>.freeze, ["~> 1"])
269
- s.add_dependency(%q<rspec-rails>.freeze, ["~> 3"])
270
- s.add_dependency(%q<sass-rails>.freeze, ["< 7", ">= 5"])
271
- s.add_dependency(%q<sqlite3>.freeze, ["< 1.4", ">= 1.3"])
271
+ s.add_dependency(%q<rspec-rails>.freeze, [">= 4.0.0.beta3"])
272
+ s.add_dependency(%q<sass-rails>.freeze, [">= 5", "< 7"])
273
+ s.add_dependency(%q<sqlite3>.freeze, [">= 1.4"])
272
274
  end
273
275
  end
274
276
 
File without changes
@@ -43,11 +43,4 @@ module Dummy
43
43
  g.helper_specs false
44
44
  end
45
45
  end
46
- end
47
-
48
- Rails
49
- .application
50
- .config
51
- .active_record
52
- .sqlite3
53
- .represent_boolean_as_integer = true
46
+ end
Binary file
metadata CHANGED
@@ -1,35 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paid_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.10
4
+ version: 0.13.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2020-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml-rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "<"
18
- - !ruby/object:Gem::Version
19
- version: '2'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
19
  version: '1'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1'
27
30
  - - "<"
28
31
  - !ruby/object:Gem::Version
29
- version: '2'
32
+ version: '3'
33
+ - !ruby/object:Gem::Dependency
34
+ name: haml
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
30
37
  - - ">="
31
38
  - !ruby/object:Gem::Version
32
- version: '1'
39
+ version: '5'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '6'
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '5'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '6'
33
53
  - !ruby/object:Gem::Dependency
34
54
  name: jquery-rails
35
55
  requirement: !ruby/object:Gem::Requirement
@@ -48,76 +68,76 @@ dependencies:
48
68
  name: rails
49
69
  requirement: !ruby/object:Gem::Requirement
50
70
  requirements:
51
- - - "<"
71
+ - - ">="
52
72
  - !ruby/object:Gem::Version
53
73
  version: '6'
54
- - - ">="
74
+ - - "<"
55
75
  - !ruby/object:Gem::Version
56
- version: '4'
76
+ version: '7'
57
77
  type: :runtime
58
78
  prerelease: false
59
79
  version_requirements: !ruby/object:Gem::Requirement
60
80
  requirements:
61
- - - "<"
81
+ - - ">="
62
82
  - !ruby/object:Gem::Version
63
83
  version: '6'
64
- - - ">="
84
+ - - "<"
65
85
  - !ruby/object:Gem::Version
66
- version: '4'
86
+ version: '7'
67
87
  - !ruby/object:Gem::Dependency
68
88
  name: rails-i18n
69
89
  requirement: !ruby/object:Gem::Requirement
70
90
  requirements:
71
- - - "<"
91
+ - - ">="
72
92
  - !ruby/object:Gem::Version
73
93
  version: '6'
74
- - - ">="
94
+ - - "<"
75
95
  - !ruby/object:Gem::Version
76
- version: '4'
96
+ version: '7'
77
97
  type: :runtime
78
98
  prerelease: false
79
99
  version_requirements: !ruby/object:Gem::Requirement
80
100
  requirements:
81
- - - "<"
101
+ - - ">="
82
102
  - !ruby/object:Gem::Version
83
103
  version: '6'
84
- - - ">="
104
+ - - "<"
85
105
  - !ruby/object:Gem::Version
86
- version: '4'
106
+ version: '7'
87
107
  - !ruby/object:Gem::Dependency
88
108
  name: uglifier
89
109
  requirement: !ruby/object:Gem::Requirement
90
110
  requirements:
91
- - - "<"
92
- - !ruby/object:Gem::Version
93
- version: '4'
94
111
  - - ">="
95
112
  - !ruby/object:Gem::Version
96
113
  version: '2.7'
114
+ - - "<"
115
+ - !ruby/object:Gem::Version
116
+ version: '5'
97
117
  type: :runtime
98
118
  prerelease: false
99
119
  version_requirements: !ruby/object:Gem::Requirement
100
120
  requirements:
101
- - - "<"
102
- - !ruby/object:Gem::Version
103
- version: '4'
104
121
  - - ">="
105
122
  - !ruby/object:Gem::Version
106
123
  version: '2.7'
124
+ - - "<"
125
+ - !ruby/object:Gem::Version
126
+ version: '5'
107
127
  - !ruby/object:Gem::Dependency
108
128
  name: bootstrap_leather
109
129
  requirement: !ruby/object:Gem::Requirement
110
130
  requirements:
111
- - - "~>"
131
+ - - ">="
112
132
  - !ruby/object:Gem::Version
113
- version: '0.9'
133
+ version: 0.10.13
114
134
  type: :runtime
115
135
  prerelease: false
116
136
  version_requirements: !ruby/object:Gem::Requirement
117
137
  requirements:
118
- - - "~>"
138
+ - - ">="
119
139
  - !ruby/object:Gem::Version
120
- version: '0.9'
140
+ version: 0.10.13
121
141
  - !ruby/object:Gem::Dependency
122
142
  name: chronic
123
143
  requirement: !ruby/object:Gem::Requirement
@@ -150,42 +170,42 @@ dependencies:
150
170
  name: cancancan
151
171
  requirement: !ruby/object:Gem::Requirement
152
172
  requirements:
153
- - - "<"
154
- - !ruby/object:Gem::Version
155
- version: '3'
156
173
  - - ">="
157
174
  - !ruby/object:Gem::Version
158
175
  version: '1'
176
+ - - "<"
177
+ - !ruby/object:Gem::Version
178
+ version: '4'
159
179
  type: :runtime
160
180
  prerelease: false
161
181
  version_requirements: !ruby/object:Gem::Requirement
162
182
  requirements:
163
- - - "<"
164
- - !ruby/object:Gem::Version
165
- version: '3'
166
183
  - - ">="
167
184
  - !ruby/object:Gem::Version
168
185
  version: '1'
186
+ - - "<"
187
+ - !ruby/object:Gem::Version
188
+ version: '4'
169
189
  - !ruby/object:Gem::Dependency
170
190
  name: devise
171
191
  requirement: !ruby/object:Gem::Requirement
172
192
  requirements:
173
- - - "<"
174
- - !ruby/object:Gem::Version
175
- version: '5'
176
193
  - - ">="
177
194
  - !ruby/object:Gem::Version
178
195
  version: '3.4'
196
+ - - "<"
197
+ - !ruby/object:Gem::Version
198
+ version: '5'
179
199
  type: :runtime
180
200
  prerelease: false
181
201
  version_requirements: !ruby/object:Gem::Requirement
182
202
  requirements:
183
- - - "<"
184
- - !ruby/object:Gem::Version
185
- version: '5'
186
203
  - - ">="
187
204
  - !ruby/object:Gem::Version
188
205
  version: '3.4'
206
+ - - "<"
207
+ - !ruby/object:Gem::Version
208
+ version: '5'
189
209
  - !ruby/object:Gem::Dependency
190
210
  name: rolify
191
211
  requirement: !ruby/object:Gem::Requirement
@@ -204,22 +224,22 @@ dependencies:
204
224
  name: stripe
205
225
  requirement: !ruby/object:Gem::Requirement
206
226
  requirements:
207
- - - "<"
227
+ - - ">="
208
228
  - !ruby/object:Gem::Version
209
229
  version: '5'
210
- - - ">="
230
+ - - "<"
211
231
  - !ruby/object:Gem::Version
212
- version: '4.8'
232
+ version: '6'
213
233
  type: :runtime
214
234
  prerelease: false
215
235
  version_requirements: !ruby/object:Gem::Requirement
216
236
  requirements:
217
- - - "<"
237
+ - - ">="
218
238
  - !ruby/object:Gem::Version
219
239
  version: '5'
220
- - - ">="
240
+ - - "<"
221
241
  - !ruby/object:Gem::Version
222
- version: '4.8'
242
+ version: '6'
223
243
  - !ruby/object:Gem::Dependency
224
244
  name: dotenv-rails
225
245
  requirement: !ruby/object:Gem::Requirement
@@ -266,22 +286,22 @@ dependencies:
266
286
  name: nokogiri
267
287
  requirement: !ruby/object:Gem::Requirement
268
288
  requirements:
269
- - - "<"
270
- - !ruby/object:Gem::Version
271
- version: '2'
272
289
  - - ">="
273
290
  - !ruby/object:Gem::Version
274
291
  version: '1.7'
292
+ - - "<"
293
+ - !ruby/object:Gem::Version
294
+ version: '2'
275
295
  type: :development
276
296
  prerelease: false
277
297
  version_requirements: !ruby/object:Gem::Requirement
278
298
  requirements:
279
- - - "<"
280
- - !ruby/object:Gem::Version
281
- version: '2'
282
299
  - - ">="
283
300
  - !ruby/object:Gem::Version
284
301
  version: '1.7'
302
+ - - "<"
303
+ - !ruby/object:Gem::Version
304
+ version: '2'
285
305
  - !ruby/object:Gem::Dependency
286
306
  name: pre-commit
287
307
  requirement: !ruby/object:Gem::Requirement
@@ -300,96 +320,82 @@ dependencies:
300
320
  name: rubocop
301
321
  requirement: !ruby/object:Gem::Requirement
302
322
  requirements:
303
- - - "<"
304
- - !ruby/object:Gem::Version
305
- version: '1'
306
- - - ">="
307
- - !ruby/object:Gem::Version
308
- version: '0.49'
309
- type: :development
310
- prerelease: false
311
- version_requirements: !ruby/object:Gem::Requirement
312
- requirements:
313
- - - "<"
314
- - !ruby/object:Gem::Version
315
- version: '1'
316
323
  - - ">="
317
324
  - !ruby/object:Gem::Version
318
325
  version: '0.49'
319
- - !ruby/object:Gem::Dependency
320
- name: scss_lint
321
- requirement: !ruby/object:Gem::Requirement
322
- requirements:
323
326
  - - "<"
324
327
  - !ruby/object:Gem::Version
325
328
  version: '1'
326
- - - ">="
327
- - !ruby/object:Gem::Version
328
- version: 0.52.0
329
329
  type: :development
330
330
  prerelease: false
331
331
  version_requirements: !ruby/object:Gem::Requirement
332
332
  requirements:
333
+ - - ">="
334
+ - !ruby/object:Gem::Version
335
+ version: '0.49'
333
336
  - - "<"
334
337
  - !ruby/object:Gem::Version
335
338
  version: '1'
336
- - - ">="
337
- - !ruby/object:Gem::Version
338
- version: 0.52.0
339
339
  - !ruby/object:Gem::Dependency
340
340
  name: web-console
341
341
  requirement: !ruby/object:Gem::Requirement
342
342
  requirements:
343
- - - "~>"
343
+ - - ">="
344
344
  - !ruby/object:Gem::Version
345
345
  version: '3'
346
+ - - "<"
347
+ - !ruby/object:Gem::Version
348
+ version: '5'
346
349
  type: :development
347
350
  prerelease: false
348
351
  version_requirements: !ruby/object:Gem::Requirement
349
352
  requirements:
350
- - - "~>"
353
+ - - ">="
351
354
  - !ruby/object:Gem::Version
352
355
  version: '3'
356
+ - - "<"
357
+ - !ruby/object:Gem::Version
358
+ version: '5'
353
359
  - !ruby/object:Gem::Dependency
354
360
  name: bootstrap-sass
355
361
  requirement: !ruby/object:Gem::Requirement
356
362
  requirements:
357
- - - "<"
358
- - !ruby/object:Gem::Version
359
- version: '4'
360
363
  - - ">="
361
364
  - !ruby/object:Gem::Version
362
365
  version: '3.3'
366
+ - - "<"
367
+ - !ruby/object:Gem::Version
368
+ version: '4'
363
369
  type: :development
364
370
  prerelease: false
365
371
  version_requirements: !ruby/object:Gem::Requirement
366
372
  requirements:
367
- - - "<"
368
- - !ruby/object:Gem::Version
369
- version: '4'
370
373
  - - ">="
371
374
  - !ruby/object:Gem::Version
372
375
  version: '3.3'
376
+ - - "<"
377
+ - !ruby/object:Gem::Version
378
+ version: '4'
373
379
  - !ruby/object:Gem::Dependency
374
380
  name: factory_bot_rails
375
381
  requirement: !ruby/object:Gem::Requirement
376
382
  requirements:
377
- - - "<"
378
- - !ruby/object:Gem::Version
379
- version: '5'
380
383
  - - ">="
381
384
  - !ruby/object:Gem::Version
382
385
  version: '4.8'
386
+ - - "<"
387
+ - !ruby/object:Gem::Version
388
+ version: '6'
383
389
  type: :development
384
390
  prerelease: false
385
391
  version_requirements: !ruby/object:Gem::Requirement
386
392
  requirements:
387
- - - "<"
388
- - !ruby/object:Gem::Version
389
- version: '5'
390
393
  - - ">="
391
394
  - !ruby/object:Gem::Version
392
395
  version: '4.8'
396
+ - - "<"
397
+ - !ruby/object:Gem::Version
398
+ version: '6'
393
399
  - !ruby/object:Gem::Dependency
394
400
  name: forgery
395
401
  requirement: !ruby/object:Gem::Requirement
@@ -422,56 +428,50 @@ dependencies:
422
428
  name: rspec-rails
423
429
  requirement: !ruby/object:Gem::Requirement
424
430
  requirements:
425
- - - "~>"
431
+ - - ">="
426
432
  - !ruby/object:Gem::Version
427
- version: '3'
433
+ version: 4.0.0.beta3
428
434
  type: :development
429
435
  prerelease: false
430
436
  version_requirements: !ruby/object:Gem::Requirement
431
437
  requirements:
432
- - - "~>"
438
+ - - ">="
433
439
  - !ruby/object:Gem::Version
434
- version: '3'
440
+ version: 4.0.0.beta3
435
441
  - !ruby/object:Gem::Dependency
436
442
  name: sass-rails
437
443
  requirement: !ruby/object:Gem::Requirement
438
444
  requirements:
439
- - - "<"
440
- - !ruby/object:Gem::Version
441
- version: '7'
442
445
  - - ">="
443
446
  - !ruby/object:Gem::Version
444
447
  version: '5'
448
+ - - "<"
449
+ - !ruby/object:Gem::Version
450
+ version: '7'
445
451
  type: :development
446
452
  prerelease: false
447
453
  version_requirements: !ruby/object:Gem::Requirement
448
454
  requirements:
449
- - - "<"
450
- - !ruby/object:Gem::Version
451
- version: '7'
452
455
  - - ">="
453
456
  - !ruby/object:Gem::Version
454
457
  version: '5'
458
+ - - "<"
459
+ - !ruby/object:Gem::Version
460
+ version: '7'
455
461
  - !ruby/object:Gem::Dependency
456
462
  name: sqlite3
457
463
  requirement: !ruby/object:Gem::Requirement
458
464
  requirements:
459
- - - "<"
460
- - !ruby/object:Gem::Version
461
- version: '1.4'
462
465
  - - ">="
463
466
  - !ruby/object:Gem::Version
464
- version: '1.3'
467
+ version: '1.4'
465
468
  type: :development
466
469
  prerelease: false
467
470
  version_requirements: !ruby/object:Gem::Requirement
468
471
  requirements:
469
- - - "<"
470
- - !ruby/object:Gem::Version
471
- version: '1.4'
472
472
  - - ">="
473
473
  - !ruby/object:Gem::Version
474
- version: '1.3'
474
+ version: '1.4'
475
475
  description: Allows a model of your choosing (such as users) to subscribe to a plan,
476
476
  which enables features.
477
477
  email: karen.e.lundgren@gmail.com
@@ -491,6 +491,7 @@ files:
491
491
  - README.md
492
492
  - Rakefile
493
493
  - VERSION
494
+ - app/assets/config/manifest.js
494
495
  - app/controllers/paid_up/paid_up_controller.rb
495
496
  - app/controllers/paid_up/plans_controller.rb
496
497
  - app/controllers/paid_up/subscriptions_controller.rb
@@ -543,6 +544,7 @@ files:
543
544
  - spec/controllers/paid_up/plans_spec.rb
544
545
  - spec/controllers/paid_up/subscriptions_spec.rb
545
546
  - spec/dummy/Rakefile
547
+ - spec/dummy/app/assets/config/manifest.js
546
548
  - spec/dummy/app/assets/javascripts/application.js
547
549
  - spec/dummy/app/assets/stylesheets/application.css.scss
548
550
  - spec/dummy/app/controllers/application_controller.rb
@@ -656,8 +658,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
656
658
  - !ruby/object:Gem::Version
657
659
  version: '0'
658
660
  requirements: []
659
- rubyforge_project:
660
- rubygems_version: 2.7.7
661
+ rubygems_version: 3.0.3
661
662
  signing_key:
662
663
  specification_version: 4
663
664
  summary: Allows a model of your choosing to subscribe to a plan, which enables features.