checkout_ru 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -0
- data/CHANGELOG.md +4 -0
- data/checkout_ru.gemspec +1 -1
- data/lib/checkout_ru.rb +0 -2
- data/lib/checkout_ru/order.rb +1 -0
- data/lib/checkout_ru/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c8db6b60c632ebd68bb99e630499b8224558da8
|
4
|
+
data.tar.gz: a69756438cd509f77b4df9e8e16ac26d0abfaf1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88f5ae2090debddebdaf6c08ce4e10e358f4b913401f2162d1f56d05dc1e5db8d7f80842eee5959365a1bf9bfff8449e5d8ab354b1508cc4360da16c33f209d8
|
7
|
+
data.tar.gz: 61ae4e76d89b80171b33662993e9c1f2f0be8a9ef6584c81056e0a3f4bf3c714c64647387d2bc6e864d7c7918ce5a618ed94b5e9b253d82c6ebb19f7455036b1
|
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
data/checkout_ru.gemspec
CHANGED
@@ -34,5 +34,5 @@ Gem::Specification.new do |spec|
|
|
34
34
|
# Temporary spec dependency due to bug in Faraday 0.9.x. Also referred to from
|
35
35
|
# test/test_helper.rb:
|
36
36
|
# https://github.com/vcr/vcr/issues/386
|
37
|
-
spec.add_development_dependency 'webmock'
|
37
|
+
spec.add_development_dependency 'webmock', '~> 1.21'
|
38
38
|
end
|
data/lib/checkout_ru.rb
CHANGED
data/lib/checkout_ru/order.rb
CHANGED
@@ -21,6 +21,7 @@ module CheckoutRu
|
|
21
21
|
property :comment
|
22
22
|
property :shop_order_id, :from => :shopOrderId
|
23
23
|
property :payment_method, :required => true, :from => :paymentMethod
|
24
|
+
property :forced_cost, :from => :forcedCost
|
24
25
|
|
25
26
|
coerce_key :goods, Item
|
26
27
|
coerce_key :delivery, Delivery
|
data/lib/checkout_ru/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkout_ru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxim Chernyak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -168,16 +168,16 @@ dependencies:
|
|
168
168
|
name: webmock
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
173
|
+
version: '1.21'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
180
|
+
version: '1.21'
|
181
181
|
description: Ruby client for checkout.ru.
|
182
182
|
email:
|
183
183
|
- max@bitsonnet.com
|
@@ -186,6 +186,7 @@ extensions: []
|
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
188
|
- ".gitignore"
|
189
|
+
- ".travis.yml"
|
189
190
|
- CHANGELOG.md
|
190
191
|
- Gemfile
|
191
192
|
- LICENSE.txt
|
@@ -240,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
241
|
version: '0'
|
241
242
|
requirements: []
|
242
243
|
rubyforge_project:
|
243
|
-
rubygems_version: 2.
|
244
|
+
rubygems_version: 2.5.1
|
244
245
|
signing_key:
|
245
246
|
specification_version: 4
|
246
247
|
summary: Ruby client for checkout.ru
|
@@ -262,4 +263,3 @@ test_files:
|
|
262
263
|
- test/fixtures/status_history.yml
|
263
264
|
- test/fixtures/update_order.yml
|
264
265
|
- test/test_helper.rb
|
265
|
-
has_rdoc:
|