right_api_client 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +3 -0
- data/lib/right_api_client/client.rb +1 -1
- data/lib/right_api_client/helper.rb +3 -2
- data/lib/right_api_client/version.rb +1 -1
- data/right_api_client.gemspec +2 -2
- data/right_api_client.rconf +2 -2
- metadata +11 -17
data/CHANGELOG.rdoc
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
= right_api_client - CHANGELOG.rdoc
|
2
2
|
|
3
3
|
|
4
|
+
== right_api_client - 1.5.3
|
5
|
+
Add support for audit_entries resources. Update RConf ruby version to ruby-1.9.2-p290.
|
6
|
+
|
4
7
|
== right_api_client - 1.5.2
|
5
8
|
Fix issues with client when using Ruby 1.8.7 (note that right_api_client has not been fully tested with 1.8.7 yet).
|
6
9
|
|
@@ -7,12 +7,13 @@ module RightApi::Helper
|
|
7
7
|
'setting' => 'multi_cloud_image_setting'
|
8
8
|
}
|
9
9
|
|
10
|
+
# TODO: add this information to the API instead
|
10
11
|
# The API does not provide information about the basic actions that can be
|
11
12
|
# performed on a resource so define them here:
|
12
13
|
RESOURCE_ACTIONS = {
|
13
|
-
:create => ['deployments', 'server_arrays', 'servers', 'ssh_keys', 'volumes', 'volume_snapshots', 'volume_attachments', 'backups'],
|
14
|
+
:create => ['deployments', 'server_arrays', 'servers', 'ssh_keys', 'volumes', 'volume_snapshots', 'volume_attachments', 'backups', 'audit_entries'],
|
14
15
|
:destroy => ['deployment', 'server_array', 'server', 'ssh_key', 'volume', 'volume_snapshot', 'volume_attachment', 'backup'],
|
15
|
-
:update => ['deployment', 'instance', 'server_array', 'server', 'backup'],
|
16
|
+
:update => ['deployment', 'instance', 'server_array', 'server', 'backup', 'audit_entries'],
|
16
17
|
:no_index => ['tags', 'tasks', 'monitoring_metric_data'], # Easier to specify those that don't need an index call
|
17
18
|
:no_show => ['input', 'session', 'resource_tag'] # Once again, easier to define those that don't have a show call
|
18
19
|
}
|
data/right_api_client.gemspec
CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.date = Time.now.utc.strftime("%Y-%m-%d")
|
8
8
|
s.require_path = 'lib'
|
9
|
-
s.authors = [ '
|
10
|
-
s.email = [ '
|
9
|
+
s.authors = [ 'RightScale, Inc.' ]
|
10
|
+
s.email = [ 'rubygems@rightscale.com' ]
|
11
11
|
s.homepage = 'https://github.com/rightscale/right_api_client'
|
12
12
|
s.summary = 'RightScale MultiCloud API HTTP Client'
|
13
13
|
s.description = %{
|
data/right_api_client.rconf
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
ruby do
|
2
|
-
version 'ruby-1.9.2-
|
2
|
+
version 'ruby-1.9.2-p290'
|
3
3
|
rubygems '1.6.2'
|
4
4
|
gemset 'right_api_client'
|
5
5
|
end
|
6
6
|
bundler do
|
7
7
|
version '1.0.10'
|
8
8
|
exclusions 'deployment'
|
9
|
-
bundle_path File.join(ENV["HOME"], '.
|
9
|
+
bundle_path File.join(ENV["HOME"], '.rightscale_bundle', 'right_api_client')
|
10
10
|
end
|
metadata
CHANGED
@@ -2,19 +2,20 @@
|
|
2
2
|
name: right_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.5.
|
5
|
+
version: 1.5.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- RightScale, Inc.
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-10-04 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: json
|
18
|
+
prerelease: false
|
18
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
19
20
|
none: false
|
20
21
|
requirements:
|
@@ -22,10 +23,10 @@ dependencies:
|
|
22
23
|
- !ruby/object:Gem::Version
|
23
24
|
version: "0"
|
24
25
|
type: :runtime
|
25
|
-
prerelease: false
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rest-client
|
29
|
+
prerelease: false
|
29
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
31
|
none: false
|
31
32
|
requirements:
|
@@ -33,10 +34,10 @@ dependencies:
|
|
33
34
|
- !ruby/object:Gem::Version
|
34
35
|
version: 1.6.3
|
35
36
|
type: :runtime
|
36
|
-
prerelease: false
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: rake
|
40
|
+
prerelease: false
|
40
41
|
requirement: &id003 !ruby/object:Gem::Requirement
|
41
42
|
none: false
|
42
43
|
requirements:
|
@@ -44,10 +45,10 @@ dependencies:
|
|
44
45
|
- !ruby/object:Gem::Version
|
45
46
|
version: 0.8.7
|
46
47
|
type: :development
|
47
|
-
prerelease: false
|
48
48
|
version_requirements: *id003
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: rspec
|
51
|
+
prerelease: false
|
51
52
|
requirement: &id004 !ruby/object:Gem::Requirement
|
52
53
|
none: false
|
53
54
|
requirements:
|
@@ -55,10 +56,10 @@ dependencies:
|
|
55
56
|
- !ruby/object:Gem::Version
|
56
57
|
version: 1.3.0
|
57
58
|
type: :development
|
58
|
-
prerelease: false
|
59
59
|
version_requirements: *id004
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: flexmock
|
62
|
+
prerelease: false
|
62
63
|
requirement: &id005 !ruby/object:Gem::Requirement
|
63
64
|
none: false
|
64
65
|
requirements:
|
@@ -66,10 +67,10 @@ dependencies:
|
|
66
67
|
- !ruby/object:Gem::Version
|
67
68
|
version: 0.8.7
|
68
69
|
type: :development
|
69
|
-
prerelease: false
|
70
70
|
version_requirements: *id005
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: simplecov
|
73
|
+
prerelease: false
|
73
74
|
requirement: &id006 !ruby/object:Gem::Requirement
|
74
75
|
none: false
|
75
76
|
requirements:
|
@@ -77,10 +78,10 @@ dependencies:
|
|
77
78
|
- !ruby/object:Gem::Version
|
78
79
|
version: 0.4.2
|
79
80
|
type: :development
|
80
|
-
prerelease: false
|
81
81
|
version_requirements: *id006
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: bundler
|
84
|
+
prerelease: false
|
84
85
|
requirement: &id007 !ruby/object:Gem::Requirement
|
85
86
|
none: false
|
86
87
|
requirements:
|
@@ -88,14 +89,13 @@ dependencies:
|
|
88
89
|
- !ruby/object:Gem::Version
|
89
90
|
version: "0"
|
90
91
|
type: :development
|
91
|
-
prerelease: false
|
92
92
|
version_requirements: *id007
|
93
93
|
description: "\n\
|
94
94
|
The right_api_client gem simplifies the use of RightScale's MultiCloud API. It provides\n\
|
95
95
|
a simple object model of the API resources, and handles all of the fine details involved\n\
|
96
96
|
in making HTTP calls and translating their responses.\n "
|
97
97
|
email:
|
98
|
-
-
|
98
|
+
- rubygems@rightscale.com
|
99
99
|
executables: []
|
100
100
|
|
101
101
|
extensions: []
|
@@ -140,18 +140,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
140
140
|
requirements:
|
141
141
|
- - ">="
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
hash: -1047381825894058411
|
144
|
-
segments:
|
145
|
-
- 0
|
146
143
|
version: "0"
|
147
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
145
|
none: false
|
149
146
|
requirements:
|
150
147
|
- - ">="
|
151
148
|
- !ruby/object:Gem::Version
|
152
|
-
hash: -1047381825894058411
|
153
|
-
segments:
|
154
|
-
- 0
|
155
149
|
version: "0"
|
156
150
|
requirements: []
|
157
151
|
|