clearsaleID 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.rdoc +2 -1
- data/lib/clearsale/analysis.rb +3 -3
- data/lib/clearsale/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: 7928cd7e4e0ed91497d91682f0d6e4cdc3c95987d698336b07da5271d4f89765
|
4
|
+
data.tar.gz: 8e994729a771000bc77bbf31e9014db83247c290d9335786ea5e27edec687595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ca9f7eed0cf66deed06b82b862ededbf0acf0e03fb94b231a9b7296ce4df18324ecb04c5133d5f027074b898e9f5a68c771d501e293fc8f58dddf20311937f0
|
7
|
+
data.tar.gz: e5668d65355e46d8b2d1bec6515f907cf519d378597264ea8a3f6bcf65f1cd10515016c4384d0872a54d8e30d1fb4ec257829513a60b856b0895fd59fa75ad92
|
data/README.rdoc
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
{<img alt='Stories in Ready' src='https://badge.waffle.io/brunofrank/ClearSaleID.png?label=ready&title=Ready' />}[https://waffle.io/brunofrank/ClearSaleID]
|
1
2
|
= ClearsaleID
|
2
3
|
|
3
4
|
Esta gem foi inspirada na Gem https://github.com/Baby-com-br/clearsale, fiz apenas a mudança dos campos e URL conformo manual da clearsale, deixo um agradecimento ao Daniel Konishi, pelo esforço.
|
@@ -10,7 +11,7 @@ Defina a variavél de ambiente CLEARSALE_ENV
|
|
10
11
|
Clearsale::Config.env = 'production' ou 'holog'
|
11
12
|
|
12
13
|
Adicione no seu Gemfile
|
13
|
-
gem 'clearsaleID'
|
14
|
+
gem 'clearsaleID'
|
14
15
|
|
15
16
|
Execute
|
16
17
|
bundle install
|
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.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
263
|
rubyforge_project:
|
264
|
-
rubygems_version: 2.
|
264
|
+
rubygems_version: 2.7.7
|
265
265
|
signing_key:
|
266
266
|
specification_version: 4
|
267
267
|
summary: clearsale gem to use Clearsale ClearID service
|