apisync-rails 0.1.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/apisync-rails.gemspec +1 -1
- data/lib/apisync/rails/http.rb +1 -7
- data/lib/apisync/rails/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6305e93cf91b847fa8a363242461484f7e3ac049fbd2c05595a851ae8edfaa47
|
4
|
+
data.tar.gz: 425294082ce93a45d2a59ea76d03045234dfd6be5381693f05c239500e1a581c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8e90ddd3ddec84c1da0550283a551154f92116e19f766252a437612d5d09630d20c535afc4fbae51815a566dddf9968bace333ab92c6620f6cf883197531f37
|
7
|
+
data.tar.gz: '08b38007e9111b7eaa0ba5caebb0843176297b0a84efea57e58f245421380f0b0032a20ccb171e8b37d204d3d3651f77b4103cb323151431819b7a1bebe33b36'
|
data/apisync-rails.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.add_dependency "activesupport", ">= 4.2"
|
25
25
|
spec.add_dependency "activerecord", ">= 4.2"
|
26
|
-
spec.add_dependency "apisync", ">= 0.
|
26
|
+
spec.add_dependency "apisync", ">= 0.3.0"
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 1.15"
|
29
29
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/apisync/rails/http.rb
CHANGED
@@ -27,13 +27,7 @@ class Apisync
|
|
27
27
|
Apisync.logger = ::Rails.logger
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
verbose = ::Rails.env.development?
|
32
|
-
else
|
33
|
-
verbose = Apisync.verbose
|
34
|
-
end
|
35
|
-
|
36
|
-
client = Apisync.new(verbose: verbose)
|
30
|
+
client = Apisync.new
|
37
31
|
response = client.inventory_items.save(attributes: attrs, headers: headers)
|
38
32
|
|
39
33
|
unless response.success?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apisync-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandre de Oliveira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09
|
11
|
+
date: 2018-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.3.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.3.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
version: '0'
|
226
226
|
requirements: []
|
227
227
|
rubyforge_project:
|
228
|
-
rubygems_version: 2.6
|
228
|
+
rubygems_version: 2.7.6
|
229
229
|
signing_key:
|
230
230
|
specification_version: 4
|
231
231
|
summary: Official Rails client to apisync.io
|