ruby_aem 1.5.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5a7530cb1a55ffc4580e7b72078e859cdc95835
4
- data.tar.gz: 8a730e0be55e5d7a427755cb7989ac04eec50b88
3
+ metadata.gz: 12894ae583c726105705a9190528e65ac1809bc7
4
+ data.tar.gz: ccd3494f0e7f7243163e76a1cb06ee06944c8e44
5
5
  SHA512:
6
- metadata.gz: f29a78656d0da493757bcade4a1165cb4f5632fe1be1b2311df6f7f94cc91c15c468fa8bbab2c869022cebe546b16b8b9193391c4bae605770e0ea55c4e944dc
7
- data.tar.gz: 1607001cff49c1ce720edc0e7be09f5d832ac575a04a43df1761d2b51e77b684da46ec0907016898fe216a3bf2716050f4f82cafa3907eea76af6ccb82bee405
6
+ metadata.gz: 1f38f4fd0c187018aaa4be433045feb27a6303fb8023000fd293e37dcd7d3fa0a05dbb2e7e2ae10c04608c1f538c1e09f2a382e6235023e908f6b794649f9a4d
7
+ data.tar.gz: 619b61917d88a135f30da318cbda0af5183b8f9d96ba96494e3cfb0a61b7b0741bda2c526ab1b1e1efe5e968550499dd1e1110ecb468d80b3b95f6a7a84c9c52
data/conf/spec.yaml CHANGED
@@ -207,23 +207,15 @@ group:
207
207
  message: 'Group %{name} not found'
208
208
  delete:
209
209
  api: sling
210
- operation: postNode
210
+ operation: deleteNode
211
211
  params:
212
212
  required:
213
213
  path: '%{path}'
214
214
  name: '%{authorizable_id}'
215
- optional:
216
- delete_authorizable: ''
217
215
  responses:
218
- 200:
219
- handler: simple
220
- message: 'Group %{name} deleted at %{path}/%{authorizable_id}'
221
- 201:
222
- handler: simple
223
- message: 'Group %{name} deleted at %{path}/%{authorizable_id}'
224
216
  204:
225
217
  handler: simple
226
- message: 'Group %{name} deleted at %{path}/%{authorizable_id}'
218
+ message: 'Group %{name} deleted at /%{path}/%{authorizable_id}'
227
219
  exists:
228
220
  api: sling
229
221
  operation: getNode
@@ -285,20 +277,12 @@ node:
285
277
  message: 'Node %{path}/%{name} created'
286
278
  delete:
287
279
  api: sling
288
- operation: postNode
280
+ operation: deleteNode
289
281
  params:
290
282
  required:
291
283
  path: '%{path}'
292
284
  name: '%{name}'
293
- optional:
294
- operation: delete
295
285
  responses:
296
- 200:
297
- handler: simple
298
- message: 'Node %{path}/%{name} deleted'
299
- 201:
300
- handler: simple
301
- message: 'Node %{path}/%{name} deleted'
302
286
  204:
303
287
  handler: simple
304
288
  message: 'Node %{path}/%{name} deleted'
@@ -466,25 +450,6 @@ path:
466
450
  200:
467
451
  handler: simple
468
452
  message: 'Path %{name} activated'
469
- delete:
470
- api: sling
471
- operation: postNode
472
- params:
473
- required:
474
- path: '%{path}'
475
- name: '%{name}'
476
- optional:
477
- operation: delete
478
- responses:
479
- 200:
480
- handler: simple
481
- message: 'Path %{path} deleted'
482
- 201:
483
- handler: simple
484
- message: 'Path %{path} deleted'
485
- 204:
486
- handler: simple
487
- message: 'Path %{path} deleted'
488
453
  configproperty:
489
454
  actions:
490
455
  createapachefelixjettybasedhttpservice:
@@ -887,23 +852,15 @@ user:
887
852
  message: 'User %{name} not found'
888
853
  delete:
889
854
  api: sling
890
- operation: postNode
855
+ operation: deleteNode
891
856
  params:
892
857
  required:
893
858
  path: '%{path}'
894
859
  name: '%{authorizable_id}'
895
- optional:
896
- delete_authorizable: ''
897
860
  responses:
898
- 200:
899
- handler: simple
900
- message: 'User %{name} deleted at %{path}/%{authorizable_id}'
901
- 201:
902
- handler: simple
903
- message: 'User %{name} deleted at %{path}/%{authorizable_id}'
904
861
  204:
905
862
  handler: simple
906
- message: 'User %{name} deleted at %{path}/%{authorizable_id}'
863
+ message: 'User %{name} deleted at /%{path}/%{authorizable_id}'
907
864
  exists:
908
865
  api: sling
909
866
  operation: getNode
@@ -39,18 +39,6 @@ module RubyAem
39
39
 
40
40
  @client.call(self.class, __callee__.to_s, @call_params)
41
41
  end
42
-
43
- # Delete a path.
44
- #
45
- # @param path Define the path which contains the node to delete
46
- # @return RubyAem::Result
47
- def delete
48
- # The path parameter will be combined with the name parameter
49
- # in order to delete the full path.
50
- @call_params[:path] = @call_params[:name]
51
-
52
- @client.call(self.class, __callee__.to_s, @call_params)
53
- end
54
42
  end
55
43
  end
56
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_aem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shine Solutions
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-26 00:00:00.000000000 Z
12
+ date: 2018-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -59,14 +59,14 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 1.3.0
62
+ version: 2.0.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: 1.3.0
69
+ version: 2.0.0
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rspec
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - ">="
143
143
  - !ruby/object:Gem::Version
144
- version: '2.2'
144
+ version: '2.1'
145
145
  required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
147
  - - ">="
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.6.14.1
152
+ rubygems_version: 2.6.14
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: AEM API Ruby client