rest 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 2
4
+ :patch: 3
5
5
  :build: !!null
@@ -32,7 +32,7 @@ module Rest
32
32
  Rest.gem = :typhoeus
33
33
  require_relative 'wrappers/typhoeus_wrapper'
34
34
  rescue LoadError => ex
35
- puts "Could not load typhoeus. #{ex.class.name}: #{ex.message}. Falling back to rest-client. Please install 'typhoeus' gem for best performance."
35
+ puts "Could not load typhoeus, falling back to rest-client. Please install 'typhoeus' gem for best performance."
36
36
  require 'rest_client'
37
37
  Rest.gem = :rest_client
38
38
  require_relative 'wrappers/rest_client_wrapper'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rest"
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Travis Reeder"]
12
- s.date = "2012-02-27"
12
+ s.date = "2012-02-29"
13
13
  s.description = "Rest client wrapper that chooses best installed client."
14
14
  s.email = "travis@iron.io"
15
15
  s.extra_rdoc_files = [
@@ -14,7 +14,9 @@ class TestTests < TestBase
14
14
 
15
15
  def test_basics
16
16
  response = @rest.get("http://www.github.com")
17
- p response.body
17
+ assert response.code == 200
18
+ assert response.body
19
+ #p response.body
18
20
 
19
21
  end
20
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-27 00:00:00.000000000Z
12
+ date: 2012-02-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
- requirement: &13172840 !ruby/object:Gem::Requirement
16
+ requirement: &11020600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *13172840
24
+ version_requirements: *11020600
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rest-client
27
- requirement: &13172240 !ruby/object:Gem::Requirement
27
+ requirement: &11019860 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *13172240
35
+ version_requirements: *11019860
36
36
  description: Rest client wrapper that chooses best installed client.
37
37
  email: travis@iron.io
38
38
  executables: []