delphix 0.2.6 → 0.3.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49f150e35d4e554c2c970adce53346d6192b3019
4
- data.tar.gz: 4c1d1f6c4daa7d7b9dbb530f7f71c36fb86f78e2
3
+ metadata.gz: 6438a2c76a0fd92680418e6bb67cc39fcd4f855f
4
+ data.tar.gz: 2cccc342a30875f8d83e88ef128fd978c294f6c6
5
5
  SHA512:
6
- metadata.gz: d4902286fe013ce775b06a7b167845218ea842e76a3cc2e8643c1a20e2822a7238cee0364249b4efc47693aaec1a6adc18e40459e7a79f822606edc452e2519c
7
- data.tar.gz: 06a41a457ba93c9b7af842ef4fbd970ff74ec7774813934d49472bfa5e5cc1b052f3d8d9c0432c107bc2535d79b85a12c35b961d6e73dfca5326b28a399d536e
6
+ metadata.gz: 3081ac03de27b5194252a28e8e7597da9ad476dca192434b164d2511918c58fc22f9c2887c587f3097ccc225a924e4e3943967578c5f13aa08e8e1257bd739a8
7
+ data.tar.gz: dacbea05f1fd7bfef402e9a7104234327c6caa97f185e65a0b78988b9f7c8f49e957c7f0c8946075d3050eb22e639bad813411b54edb7e51edfb3082c39592ba
@@ -26,8 +26,8 @@ module Delphix
26
26
  # Contains information about this gem's version
27
27
  module Version
28
28
  MAJOR = 0
29
- MINOR = 2
30
- PATCH = 6
29
+ MINOR = 3
30
+ PATCH = 0
31
31
 
32
32
  # Returns a version string by joining MAJOR, MINOR, and PATCH with '.'
33
33
  #
data/lib/delphix.rb CHANGED
@@ -149,37 +149,95 @@ module Delphix
149
149
  type: 'LoginRequest', username: user, password: passwd
150
150
  end
151
151
 
152
- # @!method session
152
+ # @!method alert
153
153
  # A helper method to return the URL for the resource by using the
154
154
  # resource_url shorthand.
155
- # @return [String] The API path to session.
155
+ # @return [String] The API path to alert.
156
156
  #
157
- # @!method login
157
+ # @!method container
158
158
  # A helper method to return the URL for the resource by using the
159
159
  # resource_url shorthand.
160
- # @return [String] The API path to login.
160
+ # @return [String] The API path to container.
161
+ #
162
+ # @!method database
163
+ # A helper method to return the URL for the resource by using the
164
+ # resource_url shorthand.
165
+ # @return [String] The API path to database.
161
166
  #
162
167
  # @!method environment
163
168
  # A helper method to return the URL for the resource by using the
164
169
  # resource_url shorthand.
165
170
  # @return [String] The API path to environment.
166
171
  #
167
- # @!method alert
172
+ # @!method group
168
173
  # A helper method to return the URL for the resource by using the
169
174
  # resource_url shorthand.
170
- # @return [String] The API path to alert.
175
+ # @return [String] The API path to group.
171
176
  #
172
- # @!method database
177
+ # @!method host
173
178
  # A helper method to return the URL for the resource by using the
174
179
  # resource_url shorthand.
175
- # @return [String] The API path to database.
180
+ # @return [String] The API path to host.
181
+ #
182
+ # @!method job
183
+ # A helper method to return the URL for the resource by using the
184
+ # resource_url shorthand.
185
+ # @return [String] The API path to job.
186
+ #
187
+ # @!method login
188
+ # A helper method to return the URL for the resource by using the
189
+ # resource_url shorthand.
190
+ # @return [String] The API path to login.
191
+ #
192
+ # @!method policy
193
+ # A helper method to return the URL for the resource by using the
194
+ # resource_url shorthand.
195
+ # @return [String] The API path to policy.
196
+ #
197
+ # @!method repository
198
+ # A helper method to return the URL for the resource by using the
199
+ # resource_url shorthand.
200
+ # @return [String] The API path to repository.
201
+ #
202
+ # @!method session
203
+ # A helper method to return the URL for the resource by using the
204
+ # resource_url shorthand.
205
+ # @return [String] The API path to session.
206
+ #
207
+ # @!method snapshot
208
+ # A helper method to return the URL for the resource by using the
209
+ # resource_url shorthand.
210
+ # @return [String] The API path to snapshot.
176
211
  #
177
212
  # @!method source
178
213
  # A helper method to return the URL for the resource by using the
179
214
  # resource_url shorthand.
180
215
  # @return [String] The API path to source.
181
216
  #
182
- [:session, :login, :environment, :alert, :database, :source].each do |name|
217
+ # @!method sourceconfig
218
+ # A helper method to return the URL for the resource by using the
219
+ # resource_url shorthand.
220
+ # @return [String] The API path to sourceconfig.
221
+ #
222
+ # @!method template
223
+ # A helper method to return the URL for the resource by using the
224
+ # resource_url shorthand.
225
+ # @return [String] The API path to template.
226
+ #
227
+ # @!method timeflow
228
+ # A helper method to return the URL for the resource by using the
229
+ # resource_url shorthand.
230
+ # @return [String] The API path to timeflow.
231
+ #
232
+ # @!method user
233
+ # A helper method to return the URL for the resource by using the
234
+ # resource_url shorthand.
235
+ # @return [String] The API path to user.
236
+ #
237
+ [ :alert, :container, :database, :environment, :group, :host, :job,
238
+ :login, :policy, :repository, :session, :snapshot, :source,
239
+ :sourceconfig, :template, :timeflow :user
240
+ ].each do |name|
183
241
  define_singleton_method(name.to_s + '_url') do
184
242
  api_url('/resources/json/delphix/' + name.to_s)
185
243
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delphix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Harding
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hoodie