greenhouse_io 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,20 +1,20 @@
1
- # Greenhouse
1
+ # Greenhouse IO
2
2
 
3
3
  [![Gem
4
- Version](https://badge.fury.io/rb/greenhouse-io.png)](http://badge.fury.io/rb/greenhouse-io)
4
+ Version](https://badge.fury.io/rb/greenhouse_io.png)](http://badge.fury.io/rb/greenhouse_io)
5
5
  [![Build
6
- Status](https://travis-ci.org/adrianbautista/greenhouse.png)](https://travis-ci.org/adrianbautista/greenhouse)
7
- [![Coverage Status](https://coveralls.io/repos/adrianbautista/greenhouse/badge.png)](https://coveralls.io/r/adrianbautista/greenhouse)
6
+ Status](https://travis-ci.org/adrianbautista/greenhouse_io.png)](https://travis-ci.org/adrianbautista/greenhouse_io)
7
+ [![Coverage Status](https://coveralls.io/repos/adrianbautista/greenhouse_io/badge.png)](https://coveralls.io/r/adrianbautista/greenhouse_io)
8
8
 
9
9
  A Ruby interface to
10
10
  [Greenhouse.io's](https://app.greenhouse.io/jobboard/jsonp_instructions)
11
- API.
11
+ API (requires Ruby 1.9.3 or greater).
12
12
 
13
13
  ## Installation
14
14
 
15
15
  Add this line to your application's Gemfile:
16
16
 
17
- gem 'greenhouse-io'
17
+ gem 'greenhouse_io'
18
18
 
19
19
  And then execute:
20
20
 
@@ -22,7 +22,7 @@ And then execute:
22
22
 
23
23
  Or install it yourself as:
24
24
 
25
- $ gem install greenhouse-io
25
+ $ gem install greenhouse_io
26
26
 
27
27
  ## Usage
28
28
 
@@ -17,8 +17,9 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency('httparty')
20
+ spec.add_dependency('httmultiparty')
21
21
  spec.add_dependency('multi_json', '~> 1.8.0')
22
+ spec.required_ruby_version = '>= 1.9.3'
22
23
 
23
24
  spec.add_development_dependency "bundler", "~> 1.3"
24
25
  spec.add_development_dependency "rake"
@@ -2,7 +2,7 @@ module GreenhouseIo
2
2
  class API
3
3
  attr_accessor :api_token, :organization
4
4
 
5
- include HTTParty
5
+ include HTTMultiParty
6
6
  base_uri 'https://api.greenhouse.io/v1'
7
7
 
8
8
  def initialize(api_token = nil, default_options = {})
@@ -1,3 +1,3 @@
1
1
  module GreenhouseIo
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/greenhouse_io.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'httparty'
1
+ require 'httmultiparty'
2
2
  require 'multi_json'
3
3
  require 'cgi'
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: greenhouse_io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,10 +9,10 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-22 00:00:00.000000000 Z
12
+ date: 2014-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: httparty
15
+ name: httmultiparty
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
@@ -169,10 +169,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - ! '>='
171
171
  - !ruby/object:Gem::Version
172
- version: '0'
173
- segments:
174
- - 0
175
- hash: -4105880940564324566
172
+ version: 1.9.3
176
173
  required_rubygems_version: !ruby/object:Gem::Requirement
177
174
  none: false
178
175
  requirements:
@@ -181,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
178
  version: '0'
182
179
  segments:
183
180
  - 0
184
- hash: -4105880940564324566
181
+ hash: 2703060272255099255
185
182
  requirements: []
186
183
  rubyforge_project:
187
184
  rubygems_version: 1.8.25