heroku-api 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/changelog.txt +6 -1
- data/lib/heroku/api/mock/keys.rb +1 -1
- data/lib/heroku/api/mock/user.rb +1 -1
- data/lib/heroku/api/version.rb +1 -1
- metadata +7 -13
data/changelog.txt
CHANGED
@@ -1,7 +1,12 @@
|
|
1
|
+
0.2.4 05/31/2012
|
2
|
+
================
|
3
|
+
|
4
|
+
fix overly lax GET /user stub reveealed by changes in excon 0.14.0
|
5
|
+
|
1
6
|
0.2.3 05/31/2012
|
2
7
|
================
|
3
8
|
|
4
|
-
fix overly lax stub revealed by changes in excon 0.14.0
|
9
|
+
fix overly lax DELETE /user/keys stub revealed by changes in excon 0.14.0
|
5
10
|
|
6
11
|
0.2.2 05/31/2012
|
7
12
|
================
|
data/lib/heroku/api/mock/keys.rb
CHANGED
@@ -19,7 +19,7 @@ module Heroku
|
|
19
19
|
Excon.stub(:expects => 200, :method => :delete, :path => %r{^/user/keys$}) do |params|
|
20
20
|
request_params, mock_data = parse_stub_params(params)
|
21
21
|
mock_data[:keys] = []
|
22
|
-
{ :status => 200}
|
22
|
+
{ :status => 200 }
|
23
23
|
end
|
24
24
|
|
25
25
|
# stub GET /user/keys
|
data/lib/heroku/api/mock/user.rb
CHANGED
@@ -3,7 +3,7 @@ module Heroku
|
|
3
3
|
module Mock
|
4
4
|
|
5
5
|
# stub GET /user
|
6
|
-
Excon.stub(:expects => 200, :method => :get, :path => %r{^/user}) do |params|
|
6
|
+
Excon.stub(:expects => 200, :method => :get, :path => %r{^/user$}) do |params|
|
7
7
|
request_params, mock_data = parse_stub_params(params)
|
8
8
|
{
|
9
9
|
:body => File.read("#{File.dirname(__FILE__)}/cache/get_user.json"),
|
data/lib/heroku/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: excon
|
16
|
-
requirement: &
|
16
|
+
requirement: &70256555193800 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.14.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70256555193800
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: minitest
|
27
|
-
requirement: &
|
27
|
+
requirement: &70256555193240 !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: *
|
35
|
+
version_requirements: *70256555193240
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70256555192640 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70256555192640
|
47
47
|
description: Ruby Client for the Heroku API
|
48
48
|
email:
|
49
49
|
- wesley@heroku.com
|
@@ -119,18 +119,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- - ! '>='
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
|
-
segments:
|
123
|
-
- 0
|
124
|
-
hash: 4201235761072845697
|
125
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
123
|
none: false
|
127
124
|
requirements:
|
128
125
|
- - ! '>='
|
129
126
|
- !ruby/object:Gem::Version
|
130
127
|
version: '0'
|
131
|
-
segments:
|
132
|
-
- 0
|
133
|
-
hash: 4201235761072845697
|
134
128
|
requirements: []
|
135
129
|
rubyforge_project:
|
136
130
|
rubygems_version: 1.8.15
|