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 +4 -4
- data/conf/spec.yaml +5 -48
- data/lib/ruby_aem/resources/path.rb +0 -12
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12894ae583c726105705a9190528e65ac1809bc7
|
4
|
+
data.tar.gz: ccd3494f0e7f7243163e76a1cb06ee06944c8e44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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
|
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:
|
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:
|
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
|
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:
|
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-
|
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:
|
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:
|
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.
|
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
|
152
|
+
rubygems_version: 2.6.14
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: AEM API Ruby client
|