zumata_v3 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: 57ac69048696ee15e681d791d65ecc3a8c71578f
4
- data.tar.gz: f8d06cf7abb1cef0ad3d01d668316d07ae08ae0b
3
+ metadata.gz: 31f011596a1d70bd42e23608fcd5a0ce4da7861d
4
+ data.tar.gz: 4e0f27c1aaca4f07a463e69274134af1dde3b20f
5
5
  SHA512:
6
- metadata.gz: 5b4fc73126b7ee31f3579026413728bad33edd12b890c51110bca51d353f937a7da8879932ef7a1861801fec43cbaa429b8a94b59dc573590eb5475d101f81f2
7
- data.tar.gz: 6ee6ec75e6ec9c312ec49a0d776272cb6900be51594a305762e900302e36e59c32cf37111aebc544c2fa7d6f88a407fce48b704d8b546348e7990801165bedc2
6
+ metadata.gz: cf63b87a5cdb7a6e89e759e9ac8e334fe81052c171f1f2cd6c3325d6f26f07534c956d54c56852bc4a345beafd81e240b3b1b9a69ecf8de4a2f3362a86fc3c95
7
+ data.tar.gz: b9d0c34342c374b9592179a95bc13695fd21c676cda96008b6925425917d3b54a7e06ad2e3bb9568a1d63e1efa767ade9f634a57c1491a7a63b38abf69e3e9b5
data/README.md CHANGED
@@ -1,13 +1,19 @@
1
1
  # Zumata
2
2
 
3
3
  For interaction with the Zumata API 3.0
4
- [insert docs link]
4
+ [Documentation](http://docs.api-v3.zumata.com)
5
5
 
6
- ## Configuration
6
+ ### Installation
7
+ `gem install zumata_v3`
8
+
9
+ ### Configuration
7
10
  ```
8
- Zumata.configure do |config|
9
- config.api_url = "http://INSERT_API_URL"
10
- config.api_key = "YOUR_SECRET_API_KEY"
11
+ API_KEY = "YOUR API KEY"
12
+ API_URL = "https://test.api-v3.zumata.com
13
+
14
+ ZumataV3.configure do |config|
15
+ config.api_url = API_URL
16
+ config.api_key = API_KEY
11
17
  end
12
18
  ```
13
19
 
@@ -1,6 +1,5 @@
1
1
  require 'httparty'
2
2
  require 'time'
3
- require 'awesome_print'
4
3
  require 'json'
5
4
 
6
5
  module ZumataV3
@@ -101,6 +100,7 @@ module ZumataV3
101
100
  if opts[:headers] != nil && opts[:headers].class == Hash
102
101
  headers = headers.merge(opts[:headers])
103
102
  end
103
+ headers
104
104
  end
105
105
 
106
106
  end
@@ -1,5 +1,4 @@
1
1
  require 'json'
2
- require 'awesome_print'
3
2
 
4
3
  module ZumataV3
5
4
 
@@ -47,4 +46,4 @@ module ZumataV3
47
46
 
48
47
  end
49
48
 
50
- end
49
+ end
@@ -1,3 +1,3 @@
1
1
  module ZumataV3
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/zumata_v3.gemspec CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "bundler", "~> 1.6"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_development_dependency "rspec", "3.1.0"
24
- spec.add_development_dependency "awesome_print", "1.2.0"
25
24
  spec.add_development_dependency "vcr", "2.9.3"
26
25
  spec.add_development_dependency "webmock", "1.18.0"
27
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zumata_v3
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
  - Jonathan Gomez
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-28 00:00:00.000000000 Z
12
+ date: 2015-09-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -53,20 +53,6 @@ dependencies:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
55
  version: 3.1.0
56
- - !ruby/object:Gem::Dependency
57
- name: awesome_print
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - '='
61
- - !ruby/object:Gem::Version
62
- version: 1.2.0
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - '='
68
- - !ruby/object:Gem::Version
69
- version: 1.2.0
70
56
  - !ruby/object:Gem::Dependency
71
57
  name: vcr
72
58
  requirement: !ruby/object:Gem::Requirement