rest_connection 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -14
- data/lib/rest_connection/version.rb +1 -1
- data/rest_connection.gemspec +2 -0
- data/rest_connection.rconf +1 -2
- metadata +49 -48
- data/LICENSE +0 -10
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# RightScale REST Connection
|
2
2
|
|
3
|
+
This gem is deprecated!
|
4
|
+
|
5
|
+
If you only use API 1.5, you should use the [right_api_client](https://rubygems.org/gems/right_api_client) gem instead.
|
6
|
+
|
3
7
|
The rest_connection gem is a Ruby library for RightScale's API 0.1, 1.0 and 1.5.
|
4
8
|
|
5
9
|
Legacy clusters:
|
@@ -15,17 +19,10 @@ This gem also supports RightScale's instance facing API 1.0, which use the insta
|
|
15
19
|
The instance token is found in the instance's user data as 'RS_rn_auth' or alternatively as part of 'RS_api_url'.
|
16
20
|
The user data is available under the 'Info' tab on the server's page in the RightScale Dashboard.
|
17
21
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
- API 1.0 Documentation: http://support.rightscale.com/12-Guides/03-RightScale_API
|
24
|
-
- API 1.0 Reference Docs: http://reference.rightscale.com/api1.0
|
25
|
-
- API 1.5 Documentation: http://support.rightscale.com/12-Guides/RightScale_API_1.5
|
26
|
-
- API 1.5 Reference Docs: http://reference.rightscale.com/api1.5
|
27
|
-
|
28
|
-
Maintained by the RightScale "Yellow_team"
|
22
|
+
- [API 1.0 Documentation](http://support.rightscale.com/12-Guides/03-RightScale_API)
|
23
|
+
- [API 1.0 Reference Docs](http://reference.rightscale.com/api1.0/index.html)
|
24
|
+
- [API 1.5 Documentation](http://support.rightscale.com/12-Guides/RightScale_API_1.5)
|
25
|
+
- [API 1.5 Reference Docs](http://reference.rightscale.com/api1.5/index.html)
|
29
26
|
|
30
27
|
## Installation
|
31
28
|
|
@@ -45,8 +42,8 @@ Ruby 1.8.7 or higher is required.
|
|
45
42
|
|
46
43
|
## Versioning
|
47
44
|
|
48
|
-
This gem follows semantic versioning
|
49
|
-
|
45
|
+
This gem follows [semantic versioning](http://semver.org).
|
46
|
+
|
50
47
|
## Usage Instructions
|
51
48
|
|
52
49
|
You must setup '~/.rest_connection/rest_api_config.yaml' or '/etc/rest_connection/rest_api_config.yaml'
|
@@ -137,4 +134,4 @@ Edit lib/rest_connection/version.rb with semantic version number.
|
|
137
134
|
"cd -"
|
138
135
|
"bundle exec gem push rest_connection-X.Y.Z.gem"
|
139
136
|
|
140
|
-
Check it out: https://rubygems.org/gems/rest_connection
|
137
|
+
Check it out: [rest_connection](https://rubygems.org/gems/rest_connection)
|
data/rest_connection.gemspec
CHANGED
@@ -10,7 +10,9 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.email = [ 'rubygems@rightscale.com' ]
|
11
11
|
s.homepage = 'https://github.com/rightscale/rest_connection'
|
12
12
|
s.summary = 'A Modular RESTful API library.'
|
13
|
+
s.license = 'MIT'
|
13
14
|
s.description = %{
|
15
|
+
This gem is deprecated! Please use right_api_client instead.
|
14
16
|
The rest_connection gem simplifies the use of RESTful APIs.
|
15
17
|
It currently has support for RightScale API 1.0 and 1.5.
|
16
18
|
}
|
data/rest_connection.rconf
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest_connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 12
|
10
|
+
version: 1.0.12
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- RightScale, Inc.
|
@@ -15,10 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2014-04-03 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
21
|
+
name: net-ssh
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
22
24
|
none: false
|
23
25
|
requirements:
|
24
26
|
- - ">="
|
@@ -28,11 +30,11 @@ dependencies:
|
|
28
30
|
- 0
|
29
31
|
version: "0"
|
30
32
|
type: :runtime
|
31
|
-
|
32
|
-
prerelease: false
|
33
|
-
name: net-ssh
|
33
|
+
version_requirements: *id001
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
|
-
|
35
|
+
name: json
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
38
|
none: false
|
37
39
|
requirements:
|
38
40
|
- - ">="
|
@@ -42,11 +44,11 @@ dependencies:
|
|
42
44
|
- 0
|
43
45
|
version: "0"
|
44
46
|
type: :runtime
|
45
|
-
|
46
|
-
prerelease: false
|
47
|
-
name: json
|
47
|
+
version_requirements: *id002
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
|
-
|
49
|
+
name: highline
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
52
|
none: false
|
51
53
|
requirements:
|
52
54
|
- - ">="
|
@@ -56,11 +58,11 @@ dependencies:
|
|
56
58
|
- 0
|
57
59
|
version: "0"
|
58
60
|
type: :runtime
|
59
|
-
|
60
|
-
prerelease: false
|
61
|
-
name: highline
|
61
|
+
version_requirements: *id003
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
-
|
63
|
+
name: rest-client
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
64
66
|
none: false
|
65
67
|
requirements:
|
66
68
|
- - ">="
|
@@ -70,11 +72,11 @@ dependencies:
|
|
70
72
|
- 0
|
71
73
|
version: "0"
|
72
74
|
type: :runtime
|
73
|
-
|
74
|
-
prerelease: false
|
75
|
-
name: rest-client
|
75
|
+
version_requirements: *id004
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
|
-
|
77
|
+
name: rake
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
78
80
|
none: false
|
79
81
|
requirements:
|
80
82
|
- - "="
|
@@ -86,11 +88,11 @@ dependencies:
|
|
86
88
|
- 7
|
87
89
|
version: 0.8.7
|
88
90
|
type: :development
|
89
|
-
|
90
|
-
prerelease: false
|
91
|
-
name: rake
|
91
|
+
version_requirements: *id005
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
|
-
|
93
|
+
name: bundler
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
94
96
|
none: false
|
95
97
|
requirements:
|
96
98
|
- - ">="
|
@@ -100,11 +102,11 @@ dependencies:
|
|
100
102
|
- 0
|
101
103
|
version: "0"
|
102
104
|
type: :development
|
103
|
-
|
104
|
-
prerelease: false
|
105
|
-
name: bundler
|
105
|
+
version_requirements: *id006
|
106
106
|
- !ruby/object:Gem::Dependency
|
107
|
-
|
107
|
+
name: rspec
|
108
|
+
prerelease: false
|
109
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
108
110
|
none: false
|
109
111
|
requirements:
|
110
112
|
- - "="
|
@@ -116,11 +118,11 @@ dependencies:
|
|
116
118
|
- 0
|
117
119
|
version: 1.3.0
|
118
120
|
type: :development
|
119
|
-
|
120
|
-
prerelease: false
|
121
|
-
name: rspec
|
121
|
+
version_requirements: *id007
|
122
122
|
- !ruby/object:Gem::Dependency
|
123
|
-
|
123
|
+
name: nokogiri
|
124
|
+
prerelease: false
|
125
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
124
126
|
none: false
|
125
127
|
requirements:
|
126
128
|
- - <
|
@@ -132,11 +134,11 @@ dependencies:
|
|
132
134
|
- 0
|
133
135
|
version: 1.6.0
|
134
136
|
type: :runtime
|
135
|
-
|
136
|
-
prerelease: false
|
137
|
-
name: nokogiri
|
137
|
+
version_requirements: *id008
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
|
-
|
139
|
+
name: activesupport
|
140
|
+
prerelease: false
|
141
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
140
142
|
none: false
|
141
143
|
requirements:
|
142
144
|
- - <
|
@@ -148,11 +150,11 @@ dependencies:
|
|
148
150
|
- 0
|
149
151
|
version: 4.0.0
|
150
152
|
type: :runtime
|
151
|
-
|
152
|
-
prerelease: false
|
153
|
-
name: activesupport
|
153
|
+
version_requirements: *id009
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
|
-
|
155
|
+
name: ruby-debug
|
156
|
+
prerelease: false
|
157
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
156
158
|
none: false
|
157
159
|
requirements:
|
158
160
|
- - ">="
|
@@ -162,10 +164,9 @@ dependencies:
|
|
162
164
|
- 0
|
163
165
|
version: "0"
|
164
166
|
type: :development
|
165
|
-
|
166
|
-
prerelease: false
|
167
|
-
name: ruby-debug
|
167
|
+
version_requirements: *id010
|
168
168
|
description: "\n\
|
169
|
+
This gem is deprecated! Please use right_api_client instead.\n\
|
169
170
|
The rest_connection gem simplifies the use of RESTful APIs.\n\
|
170
171
|
It currently has support for RightScale API 1.0 and 1.5.\n "
|
171
172
|
email:
|
@@ -179,7 +180,6 @@ extra_rdoc_files: []
|
|
179
180
|
files:
|
180
181
|
- .gitignore
|
181
182
|
- Gemfile
|
182
|
-
- LICENSE
|
183
183
|
- README.md
|
184
184
|
- Rakefile
|
185
185
|
- config/rest_api_config.yaml.sample
|
@@ -286,8 +286,8 @@ files:
|
|
286
286
|
- spec/spec_helper.rb
|
287
287
|
- spec/tag_spec.rb
|
288
288
|
homepage: https://github.com/rightscale/rest_connection
|
289
|
-
licenses:
|
290
|
-
|
289
|
+
licenses:
|
290
|
+
- MIT
|
291
291
|
post_install_message:
|
292
292
|
rdoc_options: []
|
293
293
|
|
@@ -314,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
314
314
|
requirements: []
|
315
315
|
|
316
316
|
rubyforge_project:
|
317
|
-
rubygems_version: 1.8.
|
317
|
+
rubygems_version: 1.8.28
|
318
318
|
signing_key:
|
319
319
|
specification_version: 3
|
320
320
|
summary: A Modular RESTful API library.
|
@@ -334,3 +334,4 @@ test_files:
|
|
334
334
|
- spec/server_template_internal.rb
|
335
335
|
- spec/spec_helper.rb
|
336
336
|
- spec/tag_spec.rb
|
337
|
+
has_rdoc:
|
data/LICENSE
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
Copyright (c) 2012 RightScale, Inc, All Rights Reserved Worldwide.
|
2
|
-
|
3
|
-
THIS PROGRAM IS CONFIDENTIAL AND PROPRIETARY TO RIGHTSCALE
|
4
|
-
AND CONSTITUTES A VALUABLE TRADE SECRET. Any unauthorized use,
|
5
|
-
reproduction, modification, or disclosure of this program is
|
6
|
-
strictly prohibited. Any use of this program by an authorized
|
7
|
-
licensee is strictly subject to the terms and conditions,
|
8
|
-
including confidentiality obligations, set forth in the applicable
|
9
|
-
License Agreement between RightScale, Inc. and
|
10
|
-
the licensee.
|