clearsaleID 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/clearsale.gemspec +2 -1
- data/lib/clearsale/analysis.rb +3 -3
- data/lib/clearsale/version.rb +1 -1
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 206ba1559bfbadcdd22eb7e2ec19d33e2acdf3e1fe863639b1c5eecd65e12530
|
4
|
+
data.tar.gz: 5f08d4b2dfec326c625a67d9824d55c6cafd9c0c012278f26ba3e9621d36b78b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dec142c1afd5271bb95285981d295759e6886db8d8f0109aeace631bb86d1f0759e78a304a7f7ecc535b694e18524dbebcd58fa92ea291cf66f4a548e84aab69
|
7
|
+
data.tar.gz: e836f75b2a01743801c548147f59bed0d085cb64a26c868003f8f42687c8b485328c95351449068612ecfa51e444764a4e3ab34ac681736d673bcfb65686fd12
|
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.6.0"
|
20
20
|
|
21
21
|
s.add_development_dependency "rake"
|
22
22
|
s.add_development_dependency "rspec"
|
@@ -24,6 +24,7 @@ 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"
|
27
28
|
s.add_development_dependency "activesupport"
|
28
29
|
s.add_development_dependency "i18n"
|
29
30
|
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 = Object.new(order_hash)
|
9
|
-
payment = Object.new(payment_hash)
|
10
|
-
user = Object.new(user_hash)
|
8
|
+
order = Clearsale::Object.new(order_hash)
|
9
|
+
payment = Clearsale::Object.new(payment_hash)
|
10
|
+
user = Clearsale::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.1.
|
4
|
+
version: 1.1.1
|
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-12-30 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.6.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.6.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +122,20 @@ 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
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: activesupport
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|