clearsaleID 1.0.6 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/clearsale.gemspec +1 -2
- data/lib/clearsale/analysis.rb +3 -3
- data/lib/clearsale/version.rb +1 -1
- metadata +6 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6acfa46f3dcf8cec6f420eb9745e2abd392ba6459a89c498592fdeabea5e25c3
|
4
|
+
data.tar.gz: 9a11da2af93f1399f3c4bffc92f946fd50450fa39e99d8cb7393195e62f2c93e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7829c72ec4fb186eed38ae601c2e1dab3c3cf197cf1c5ada84a3be9c7de40e54ffa3cd54c541615864204b972199c9108c36355ed71f2141fea7549a9eb07a21
|
7
|
+
data.tar.gz: ca798774ed48cc9e87f2ed3ff01463a7784b2bf73e51067da23af881866740bc755aa077961fe460525b60eba2e5127ace28574b8a875b6f923d044d66e750b5
|
data/clearsale.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
s.add_dependency "builder"
|
19
|
-
s.add_dependency "savon", "
|
19
|
+
s.add_dependency "savon", "~> 2.12.0"
|
20
20
|
|
21
21
|
s.add_development_dependency "rake"
|
22
22
|
s.add_development_dependency "rspec"
|
@@ -24,7 +24,6 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_development_dependency "vcr" , "~> 1.11.3"
|
25
25
|
s.add_development_dependency "guard-rspec"
|
26
26
|
s.add_development_dependency "guard-bundler"
|
27
|
-
s.add_development_dependency "debugger" , ">= 1.6.5"
|
28
27
|
s.add_development_dependency "activesupport"
|
29
28
|
s.add_development_dependency "i18n"
|
30
29
|
s.add_development_dependency "curb"
|
data/lib/clearsale/analysis.rb
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def self.send_order(order_hash, payment_hash, user_hash)
|
8
|
-
order =
|
9
|
-
payment =
|
10
|
-
user =
|
8
|
+
order = Object.new(order_hash)
|
9
|
+
payment = Object.new(payment_hash)
|
10
|
+
user = Object.new(user_hash)
|
11
11
|
|
12
12
|
order_xml = Clearsale::Order.to_xml(order, payment, user)
|
13
13
|
request = {"xml" => order_xml}
|
data/lib/clearsale/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clearsaleID
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: savon
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.12.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: 2.12.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,20 +122,6 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: debugger
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 1.6.5
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 1.6.5
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: activesupport
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|