zillion 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zillion/mapper.rb +1 -1
- data/spec/plans_spec.rb +1 -1
- data/zillion.gemspec +1 -1
- 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: 7fef69b4dcb670819f377e543956b6cabaa4c6e0
|
|
4
|
+
data.tar.gz: 49a029d8c973d5f1334d42537f43165512c11a71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c49e7090c1c6df0ee532eef34287e19dc15ee20281b384b9765acc2beefe079975ddd87fbf6bee56f347fc123f43e478c2c40ffe2e4b800590002727d83202f4
|
|
7
|
+
data.tar.gz: d4bf6e6958fa1581f6a018f2c24c71b4d062ae4ad2b2772c64bdc9545a63c8baeb0c3ac7c7f235e378e87e42e72d45bdc5116e0816d48bc44b6322a0475d8bb1
|
data/lib/zillion/mapper.rb
CHANGED
data/spec/plans_spec.rb
CHANGED
|
@@ -456,7 +456,7 @@ describe 'MeteredPlan', 'Multiple tiers' do
|
|
|
456
456
|
end
|
|
457
457
|
|
|
458
458
|
it 'raises if not within limits' do
|
|
459
|
-
expect { plan.amounts_for({ products: 250, orders: 5
|
|
459
|
+
expect { plan.amounts_for({ products: 250, orders: 5 }) }.to raise_error(Zillion::Plan::TierNotFoundError)
|
|
460
460
|
end
|
|
461
461
|
|
|
462
462
|
it 'doesnt raise if not within limits but second arg is true' do
|
data/zillion.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zillion
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomás Pollak
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|