infopark_reactor 1.22.4 → 1.22.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reactor/cm/editorial_group.rb +6 -4
- data/lib/reactor/cm/group.rb +1 -1
- data/lib/reactor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a9e143ee816eacbc2f0432347dda891a0f6484f
|
4
|
+
data.tar.gz: 87aab58e69637be98ca5ff72dcb3a5646276072a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75f268a458653f8d8233f76654fe8200df705b3c4f769b1f6085675439b02add96ad945a5d2f3b063b1f61967e0efbd6b533f1e2f83d2734d63c7c8d1c6feeaf
|
7
|
+
data.tar.gz: ec9925bdc617d7bd897a8bbec323d462c8dc15517cf69f90597eed0163be4e15e0dba462e6a1902fa8cb7f7062c0e0bae1da82862fe3f1927cf3bfa35405eb78
|
@@ -4,11 +4,13 @@ require 'reactor/cm/group'
|
|
4
4
|
module Reactor
|
5
5
|
|
6
6
|
module Cm
|
7
|
-
|
7
|
+
|
8
8
|
# The EditorialGroup class respects the user management configured in the content manager and
|
9
9
|
# handles all editorial groups. See @Group for further details.
|
10
10
|
class EditorialGroup < Group
|
11
|
-
|
11
|
+
|
12
|
+
primary_key :name
|
13
|
+
|
12
14
|
protected
|
13
15
|
|
14
16
|
# Overwritten method from +Group+.
|
@@ -17,7 +19,7 @@ module Reactor
|
|
17
19
|
end
|
18
20
|
|
19
21
|
end
|
20
|
-
|
22
|
+
|
21
23
|
end
|
22
|
-
|
24
|
+
|
23
25
|
end
|
data/lib/reactor/cm/group.rb
CHANGED
@@ -46,7 +46,7 @@ module Reactor
|
|
46
46
|
|
47
47
|
begin
|
48
48
|
response = request.execute!
|
49
|
-
groups = ResponseHandler::String.new.get(response,
|
49
|
+
groups = ResponseHandler::String.new.get(response, "//#{base_name}/name/text()")
|
50
50
|
|
51
51
|
groups.is_a?(Array) ? groups : [groups]
|
52
52
|
rescue XmlRequestError
|
data/lib/reactor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_reactor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.22.
|
4
|
+
version: 1.22.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Przedmojski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|