bill_forward 2.2016.227 → 2.2016.241
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/bill_forward/billing_entity.rb +2 -0
- data/lib/bill_forward/version.rb +1 -1
- data/spec/component/subscription_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 752e6974690183a9b72454f7dec99a61d27f2748
|
4
|
+
data.tar.gz: 19050e3844fdc11901de2c75f76ec4bd7ad05324
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e75189a5d2a6c0f033738a1868fa18fabbc495e842990e366e5edd5fd221f7228cd8dff9ab7e7ca72a6f296e2cdca9c5982aeb40375aa1961355c9805f09423
|
7
|
+
data.tar.gz: a09348ad90fcd5b7d716f5bd0b78883a73db46d56038f57eba36952e329c731d38b532a82c5ccf62d21fa1be91e5e4611e215d270c2361ea71b50ad95b5b1b6d
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ gem install bill_forward
|
|
27
27
|
|
28
28
|
### From RubyGems mirror
|
29
29
|
|
30
|
-
Add the `bill_forward` gem to your application's Gemfile and run `bundle`:
|
30
|
+
Add the [`bill_forward` gem](https://rubygems.org/gems/bill_forward) to your application's Gemfile and run `bundle`:
|
31
31
|
```bash
|
32
32
|
source 'https://rubygems.org'
|
33
33
|
gem 'bill_forward'
|
data/lib/bill_forward/version.rb
CHANGED
@@ -67,6 +67,11 @@ describe BillForward::Subscription do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end
|
70
|
+
|
71
|
+
describe '.as_json' do
|
72
|
+
specify { expect(subscription.as_json).to eq(subscription.to_ordered_hash) }
|
73
|
+
end
|
74
|
+
|
70
75
|
# NOTE: ideally no anonymous entity would exist, because we would register all known nested entities.
|
71
76
|
# they're sort of a 'last resort' for when the API has more fields than we realized (ie version change, or lack of parity).
|
72
77
|
# this test will soon self-deprecate, because we aim to register all entities that we support anyway.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bill_forward
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2016.
|
4
|
+
version: 2.2016.241
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BillForward
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|