wbase 0.2.6 → 0.2.7

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
  SHA1:
3
- metadata.gz: a242632803e11e04495162bfb5be9913ebc1a603
4
- data.tar.gz: d59495c62d31be6cef6106ad80ffa3f8f1552853
3
+ metadata.gz: ce8f4ef66b89e94ecbbdff1ac73a0891a5745aff
4
+ data.tar.gz: ff55e7e26dff6846e982cdc39d8fcae0e1efbea8
5
5
  SHA512:
6
- metadata.gz: 6c976d05c45c2c6e31b7c40fb8ddd3c403416f547509ebe29978f9fc138845aeace40b1dd8de4b6996de73deee76a9fd48460429758fb48b2ad1a000a3ae699c
7
- data.tar.gz: 727372d4c729177b9ddaceac68713ea2ab089bff66f37c155a639989e5019d0b562116d97d4598f68372ebb5fa41df39f471afda78290e1f32061a8ce921d82c
6
+ metadata.gz: 0e187b337d6f38b2b858b4baa39010726d1c6ee16eca8558dbf6bdec71ec7b5fe8d02f80425f813d1ea04bc3432df64401fa18eb387ab307cefe601f89409e79
7
+ data.tar.gz: 9616640ce8591832687e2621cfc62adc03d747eb1b60fbbff3069849a345679a94df5eb91c7c1efd73eb328da7ae3d27cb221f793e7f71624a1bf63b7b8de6af
@@ -31,6 +31,10 @@ module Wbase
31
31
  where('paid_thru > ?', 7.days.ago)
32
32
  end
33
33
 
34
+ def stripe_customer
35
+ @stripe_customer ||= Stripe::Customer.retrieve(stripe_id)
36
+ end
37
+
34
38
  def current?
35
39
  paid_thru && paid_thru > 7.days.ago
36
40
  end
data/lib/wbase/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wbase
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - CJ Avilla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-26 00:00:00.000000000 Z
11
+ date: 2016-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails