zinc-api 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/{console → zinc-api-console} +2 -2
- data/{zinc.gemspec → zinc-api.gemspec} +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ffc51cf3331f7b86f98587fd959364759f86bc0
|
4
|
+
data.tar.gz: 6f0f14976e3d1ce3435aabb2a222f20ec55bfe4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 671da3258b27e410da58153b5ac8715ba1de0b107d80d342bcd0183674cb9439e2757219c60ceb16619f6e3a9146f46d4b4caf454d0c8efc294ee77567d90c0e
|
7
|
+
data.tar.gz: 8ab4af2a1bad8f59c2d25f30b31004335476e817327a1e207acfd065415c9710373ab4030795f3b0afed44b025b93a61cfd3f22639ca0686b392d83471b1fab2
|
@@ -5,14 +5,14 @@ require 'rest-client'
|
|
5
5
|
require 'zinc'
|
6
6
|
|
7
7
|
begin
|
8
|
-
Zinc.api_path = File.read('
|
8
|
+
Zinc.api_path = File.read('/tmp/.zinc-api-path').chomp
|
9
9
|
puts "Zinc.api_path: #{Zinc.api_path}"
|
10
10
|
rescue Errno::ENOENT
|
11
11
|
puts "No .api_path file, using default: #{Zinc.api_path}"
|
12
12
|
end
|
13
13
|
|
14
14
|
begin
|
15
|
-
Zinc.access_token = File.read('
|
15
|
+
Zinc.access_token = File.read('/tmp/.zinc-access-token').chomp
|
16
16
|
puts "Zinc.access_token: #{Zinc.access_token}"
|
17
17
|
rescue Errno::ENOENT
|
18
18
|
puts "No .access_token file - you'll have to set Zinc.access_token manually from the console."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zinc-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Estreich
|
@@ -28,7 +28,7 @@ description: Ruby bindings for the Zinc API.
|
|
28
28
|
email:
|
29
29
|
- chris@tophatter.com
|
30
30
|
executables:
|
31
|
-
- console
|
31
|
+
- zinc-api-console
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files:
|
34
34
|
- README.md
|
@@ -42,7 +42,7 @@ files:
|
|
42
42
|
- LICENSE.md
|
43
43
|
- README.md
|
44
44
|
- Rakefile
|
45
|
-
- bin/console
|
45
|
+
- bin/zinc-api-console
|
46
46
|
- lib/zinc.rb
|
47
47
|
- lib/zinc/account_status.rb
|
48
48
|
- lib/zinc/address.rb
|
@@ -59,7 +59,7 @@ files:
|
|
59
59
|
- lib/zinc/tracking.rb
|
60
60
|
- spec/spec_helper.rb
|
61
61
|
- spec/zinc/order_spec.rb
|
62
|
-
- zinc.gemspec
|
62
|
+
- zinc-api.gemspec
|
63
63
|
homepage: https://github.com/tophatter/zinc-api-ruby
|
64
64
|
licenses:
|
65
65
|
- MIT
|