printreleaf 1.3.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -2
- data/lib/printreleaf/quote.rb +2 -2
- data/lib/printreleaf/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 700791471cde85900bd951be404e578ac5be11c9f802601ca141c29143e07519
|
4
|
+
data.tar.gz: 1746ed0312c4e94461cb529ba798f93750647732ecbcfd6e60c86072b74f4e85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f3d91b3a8978c6a65803638c90172be2e88f1d377061a91ed538a04b5a158a21ae302cd178153402ece6ecf56590380ec5b9edac80680561b85a8535e544c07
|
7
|
+
data.tar.gz: c699329aec17cc2ee39f1b6bf1ec4883bd1e3076b7dd3f54be7bd1baa7aaa64264905f2b0f3680e066d0d446700e88bf0f1dbdc3b5444e479546c7502f72e6ce
|
data/README.md
CHANGED
@@ -238,8 +238,8 @@ quote.transaction_id #=> "70af5540-e3ec-4db7-bc45-4fb65b74368b"
|
|
238
238
|
quote.transaction #=> #<PrintReleaf::Transaction>
|
239
239
|
quote.trees #=> 63.048
|
240
240
|
quote.standard_pages #=> 525377
|
241
|
-
quote.
|
242
|
-
quote.
|
241
|
+
quote.rate #=> 0.0003
|
242
|
+
quote.price #=> 157.61
|
243
243
|
quote.items #=> [#<PrintReleaf::QuoteItem>, #<PrintReleaf::QuoteItem>]
|
244
244
|
```
|
245
245
|
|
data/lib/printreleaf/quote.rb
CHANGED
@@ -14,8 +14,8 @@ module PrintReleaf
|
|
14
14
|
property :created_at, transform_with: Transforms::Date
|
15
15
|
property :standard_pages, transform_with: Transforms::Integer
|
16
16
|
property :trees, transform_with: Transforms::Float
|
17
|
-
property :
|
18
|
-
property :
|
17
|
+
property :rate, transform_with: Transforms::Float
|
18
|
+
property :price, transform_with: Transforms::Float
|
19
19
|
property :items
|
20
20
|
coerce_key :items, Array[QuoteItem]
|
21
21
|
|
data/lib/printreleaf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: printreleaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Casey O'Hara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.7.8
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Ruby toolkit for the PrintReleaf API
|