woopy 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/woopy/client.rb CHANGED
@@ -10,7 +10,7 @@ module Woopy
10
10
  end
11
11
 
12
12
  def verify
13
- Resource.connection.get(Resource.prefix + 'verify', Resource.headers).code == 200
13
+ Resource.connection.get(Resource.prefix + 'verify', Resource.headers).code == '200'
14
14
  end
15
15
 
16
16
  end
data/lib/woopy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Woopy
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -29,7 +29,7 @@ describe Woopy::Client do
29
29
  describe '#verify' do
30
30
 
31
31
  context 'given valid token' do
32
- before { mock_verify(200) }
32
+ before { mock_verify('200') }
33
33
 
34
34
  subject { Woopy(token: @token).verify }
35
35
 
@@ -37,7 +37,7 @@ describe Woopy::Client do
37
37
  end
38
38
 
39
39
  context 'given invalid token' do
40
- before { mock_verify(401) }
40
+ before { mock_verify('401') }
41
41
 
42
42
  subject { Woopy(token: @token).verify }
43
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woopy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
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-01-16 00:00:00.000000000 Z
12
+ date: 2012-01-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70128121314100 !ruby/object:Gem::Requirement
16
+ requirement: &70273797845620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.8'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70128121314100
24
+ version_requirements: *70273797845620
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &70128121313680 !ruby/object:Gem::Requirement
27
+ requirement: &70273797844140 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70128121313680
35
+ version_requirements: *70273797844140
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: gem-release
38
- requirement: &70128121329600 !ruby/object:Gem::Requirement
38
+ requirement: &70273797837340 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70128121329600
46
+ version_requirements: *70273797837340
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: activeresource
49
- requirement: &70128121329020 !ruby/object:Gem::Requirement
49
+ requirement: &70273797832340 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '3.1'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70128121329020
57
+ version_requirements: *70273797832340
58
58
  description: Wraps the Woople API as ActiveResources
59
59
  email:
60
60
  - developers@bigbangtechnology.com
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  requirements: []
102
102
  rubyforge_project: woopy
103
- rubygems_version: 1.8.10
103
+ rubygems_version: 1.8.15
104
104
  signing_key:
105
105
  specification_version: 3
106
106
  summary: Woople API Wrapper
@@ -109,4 +109,3 @@ test_files:
109
109
  - spec/woopy/account_spec.rb
110
110
  - spec/woopy/client_spec.rb
111
111
  - spec/woopy/user_spec.rb
112
- has_rdoc: