halo-api 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a11b3b39ac1be76eaa4c74a309c0f426a91c4d00
4
- data.tar.gz: 213699928a19c61341082683d93fecd7f76298a5
3
+ metadata.gz: 97cb997518d9383589c461dc557b58f984acd9e2
4
+ data.tar.gz: 15b6f1efb59f428f50e4225ea61339811651a69d
5
5
  SHA512:
6
- metadata.gz: 0bb4d80a077baac394163ce1f077305f1f0d976163cd8dfb3916cce40f6a6100034264c1f77b927defcb639e6fa58bc6bcd7268c2e1817f5b32f11bf4784eb39
7
- data.tar.gz: b29f2e0251db8164f04188f8b3247354f73942cef671fadda57b72e22f4725affaab67f4d069dad5826af8d0a9d73e66ff95792859d4eada36724a585377419f
6
+ metadata.gz: 4b41ce8692aefae462c3572ad211be0d0191d2a470d1100f6d156d3bf7ddd600779197611fa81fa6bf12687899630c48fd20481168df62f4f4a99e9f6fcc5c73
7
+ data.tar.gz: 8ec874f4ee93c61f9aae76c905dcd98943c49e9bfb48a0fd7083abf5b2920dd6cef1e73c5c00c0dd5dd08bf7449d3e71dd268993c6ec736ce0dfdddb25b6df5d
@@ -1,5 +1,10 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
+ - 2.0.0
5
+ - 2.1.10
6
+ - 2.2.0
7
+ - 2.3.0
4
8
  - 2.4.1
9
+ - ruby-head
5
10
  before_install: gem install bundler -v 1.15.4
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # HaloAPI
2
- [![GitHub version](https://badge.fury.io/gh/xarlybovi%2Fhalo-api.png)](https://badge.fury.io/gh/xarlybovi%2Fhalo-api)
2
+ [![Gem Version](https://badge.fury.io/rb/halo-api.svg)](https://badge.fury.io/rb/halo-api)
3
3
  [![Dependency Status](https://gemnasium.com/badges/github.com/xarlybovi/halo-api.svg)](https://gemnasium.com/github.com/xarlybovi/halo-api)
4
4
  [![Code Climate](https://codeclimate.com/github/xarlybovi/halo-api.png)](https://codeclimate.com/github/xarlybovi/halo-api)
5
5
  [![Build Status](https://travis-ci.org/xarlybovi/halo-api.svg?branch=master)](https://travis-ci.org/xarlybovi/halo-api)
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'Wrapper for Halo Public API (BETA). https://developer.haloapi.com'
15
15
  spec.homepage = 'https://github.com/xarlybovi/halo-api.git'
16
16
  spec.license = 'MIT'
17
-
17
+
18
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
19
  f.match(%r{^(test|spec|features)/})
20
20
  end
@@ -22,6 +22,9 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
24
 
25
+ # This gem will work with 2.0.0 or greater
26
+ spec.required_ruby_version = '>= 2.0.0'
27
+
25
28
  spec.add_runtime_dependency 'httparty', '~> 0.15.6'
26
29
 
27
30
  spec.add_development_dependency 'bundler', '~> 1.15'
@@ -31,4 +34,5 @@ Gem::Specification.new do |spec|
31
34
  spec.add_development_dependency 'rubocop', '~> 0.49.1'
32
35
  spec.add_development_dependency 'coveralls', '~> 0.8.21'
33
36
  spec.add_development_dependency 'pry', '~> 0.10.3'
37
+ spec.add_development_dependency 'wwtd', '~> 1.3'
34
38
  end
@@ -33,8 +33,8 @@ module Halo
33
33
  def make_request(verb, path, params = {})
34
34
  options = {}
35
35
  headers = {
36
- 'Ocp-Apim-Subscription-Key': @api_key,
37
- 'Accept-Language': @region
36
+ 'Ocp-Apim-Subscription-Key' => @api_key,
37
+ 'Accept-Language' => @region
38
38
  }
39
39
 
40
40
  url = "https://www.haloapi.com#{path}"
@@ -1,3 +1,3 @@
1
1
  module Halo
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: halo-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Ruiz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-09 00:00:00.000000000 Z
11
+ date: 2017-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -128,6 +128,20 @@ dependencies:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: 0.10.3
131
+ - !ruby/object:Gem::Dependency
132
+ name: wwtd
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '1.3'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '1.3'
131
145
  description: Wrapper for Halo Public API (BETA). https://developer.haloapi.com
132
146
  email:
133
147
  - xarlybovi@gmail.com
@@ -212,7 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
226
  requirements:
213
227
  - - ">="
214
228
  - !ruby/object:Gem::Version
215
- version: '0'
229
+ version: 2.0.0
216
230
  required_rubygems_version: !ruby/object:Gem::Requirement
217
231
  requirements:
218
232
  - - ">="
@@ -220,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
234
  version: '0'
221
235
  requirements: []
222
236
  rubyforge_project:
223
- rubygems_version: 2.6.11
237
+ rubygems_version: 2.6.13
224
238
  signing_key:
225
239
  specification_version: 4
226
240
  summary: Wrapper for Halo Public API.