stripe-rails 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +4 -0
- data/README.md +4 -1
- data/lib/stripe/engine.rb +1 -1
- data/lib/stripe/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4a7eac7d10775e60ee3126217ab3be27d21b313fd88ca2a5e77a2e61bcbed0e
|
4
|
+
data.tar.gz: 5901613af7a05eb5afd8e2237da50fc22e65d83cd7dea25a4e1bf170faef86b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76cf79f26a6735b324a300f474279c2b5492b5adbfa0e51e0bfd7b94741c7bb8f437c3548f45d095fe4df03a970662ca3730dc25788596740c4938b929b5b973
|
7
|
+
data.tar.gz: 810cfa6937be5136a37ff9bdf04335411e47e3dd5c7651f55304ca83ebf6664087ef4f84f7fd1ea3bdb87de6017cf56011df9a25ace9e579ba2033ffb8f7f335
|
data/Changelog.md
CHANGED
data/README.md
CHANGED
@@ -200,7 +200,10 @@ defining the plan, but provide the name for the constant to define with `constan
|
|
200
200
|
|
201
201
|
```ruby
|
202
202
|
Stripe.plan "Silver-Plan".to_sym do |plan|
|
203
|
-
plan.constant_name = 'SILVER_PLAN'
|
203
|
+
plan.constant_name = 'SILVER_PLAN' # <---
|
204
|
+
plan.name = 'ACME Silver'
|
205
|
+
plan.amount = 699
|
206
|
+
plan.interval = 'month'
|
204
207
|
end
|
205
208
|
|
206
209
|
Stripe::Plans::SILVER_PLAN # => will be defined
|
data/lib/stripe/engine.rb
CHANGED
data/lib/stripe/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Lowell
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-05-
|
13
|
+
date: 2019-05-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|