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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17e2df35b414b9cd6d7e9020b3540638d208acdd
4
- data.tar.gz: 731065cd9ed01a6435b027cf8cd705e444a795fc
3
+ metadata.gz: 7ffc51cf3331f7b86f98587fd959364759f86bc0
4
+ data.tar.gz: 6f0f14976e3d1ce3435aabb2a222f20ec55bfe4f
5
5
  SHA512:
6
- metadata.gz: d8b3808422e089a9ddb4213904cd11e079b887adee93eec6a7aa5ee357e4a820ac8672a77d585174fabb53284b360d0f841e21c0493824ed64f986979bc0ef30
7
- data.tar.gz: 4b0ab1ab71c019dbe530588436a86e87c0e8840e751c3aa413be3b07dde6d84dd2323359396620f6eab15457056be0bdd0d8a296378e7dff680e3eedfb4def8d
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('.api_path').chomp
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('.access_token').chomp
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."
@@ -5,7 +5,7 @@
5
5
  # gem push zinc-api-{VERSION}.gem
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'zinc-api'
8
- s.version = '0.0.1'
8
+ s.version = '0.0.2'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.licenses = ['MIT']
11
11
  s.authors = ['Chris Estreich']
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.1
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