ruby_aem 1.1.0 → 1.1.1

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: 97851edf1e7a4b4c838864604a991355c9ef0071
4
- data.tar.gz: 99b3c4f1f07766110d9174c36e37f60b44cd0975
3
+ metadata.gz: 823f974f5a1146769e9ab7bbfe51dea0c38948cb
4
+ data.tar.gz: 7164628b902c3266eb807e040b2655c12964bc3c
5
5
  SHA512:
6
- metadata.gz: f8ac2b962b2c7a669e2cdf366b29e827b64e9bc3b1fd489e7d6e66cd04b01d4e2b98b4056c96473406508de9a88ffa9d97a2d0df17222816d7b56e83b104177c
7
- data.tar.gz: 67bf883b2bac58be4328c2d96b68b6e1dba2bc7730bb2b39b35e933e05f692fe3062f984d918ddb649e19b914204083c61b57a82ea3af22c75be80032fa9461f
6
+ metadata.gz: 45c1641be9f0aa31395888c11414b718739942f2dadfb15e43e65d3495ca80b9e102af0cdba807fc2e2aef7a05ead1cfb1bc1faf22093956c81dc5206fc2b044
7
+ data.tar.gz: 7f7ee5b7d11eb6f3c874e92dca3b9bdadcfb8e059f0ae49f0555ce54bf19aafefbf9fc899b87bc72576716cdf8d786ad3c4e1f042da2bde8695a142d85b8100c
data/conf/spec.yaml CHANGED
@@ -95,6 +95,8 @@ flushagent:
95
95
  jcrcontentcqtemplate: /libs/cq/replication/templates/agent
96
96
  jcrcontentenabled: true
97
97
  jcrcontentssl: '%{ssl}'
98
+ jcrcontentcqdistribute: false
99
+ jcrcontentcqdistribute_type_hint: Boolean
98
100
  responses:
99
101
  200:
100
102
  handler: simple
@@ -160,7 +162,7 @@ group:
160
162
  message: 'Group %{name} created at %{path}/%{authorizable_id}'
161
163
  find_authorizable_id:
162
164
  api: sling
163
- operation: postQuery
165
+ operation: getQuery
164
166
  params:
165
167
  required:
166
168
  path: '%{path}'
@@ -574,6 +576,8 @@ replicationagent:
574
576
  jcrcontentretry_delay: '%{retry_delay}'
575
577
  jcrcontentcqtemplate: /libs/cq/replication/templates/agent
576
578
  jcrcontentenabled: true
579
+ jcrcontentcqdistribute: false
580
+ jcrcontentcqdistribute_type_hint: Boolean
577
581
  responses:
578
582
  200:
579
583
  handler: simple
@@ -803,7 +807,7 @@ user:
803
807
  message: 'User %{name} created at %{path}/%{authorizable_id}'
804
808
  find_authorizable_id:
805
809
  api: sling
806
- operation: postQuery
810
+ operation: getQuery
807
811
  params:
808
812
  required:
809
813
  path: '%{path}'
@@ -94,6 +94,9 @@ module RubyAem
94
94
  #
95
95
  # @return RubyAem::Result
96
96
  def find_authorizable_id()
97
+ if !@call_params[:path].match(/^\//)
98
+ @call_params[:path] = "/#{@call_params[:path]}"
99
+ end
97
100
  @client.call(self.class, __callee__.to_s, @call_params)
98
101
  end
99
102
 
@@ -107,6 +107,9 @@ module RubyAem
107
107
  #
108
108
  # @return RubyAem::Result
109
109
  def find_authorizable_id()
110
+ if !@call_params[:path].match(/^\//)
111
+ @call_params[:path] = "/#{@call_params[:path]}"
112
+ end
110
113
  @client.call(self.class, __callee__.to_s, @call_params)
111
114
  end
112
115
 
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.1.0
4
+ version: 1.1.1
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: 2017-05-09 00:00:00.000000000 Z
12
+ date: 2017-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -51,14 +51,14 @@ dependencies:
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 0.9.12
54
+ version: 1.0.0
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 0.9.12
61
+ version: 1.0.0
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rspec
64
64
  requirement: !ruby/object:Gem::Requirement