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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70fd9f986a8ccfe616158b8704b0e017ced8c473
4
- data.tar.gz: afe5b3c353323921853e1e8390f2f2f17f3e27c3
3
+ metadata.gz: 3a9e143ee816eacbc2f0432347dda891a0f6484f
4
+ data.tar.gz: 87aab58e69637be98ca5ff72dcb3a5646276072a
5
5
  SHA512:
6
- metadata.gz: 9917a34ff2d5070b5111887bd6ee86ef5bb9c5fc3c1b220351aaa60b8639a3169ac479fe21b3ebfdbe709b5f07a5fc3edb1e81c541555f50cf9a9d7e689559d8
7
- data.tar.gz: dc9a1d8a6768a9880b2d906585319bff1d27a2cf88d57cb3f6fbd7daaf95c2d7d19a48c213e421fb673b1cca8a91bb01dafe693577309b2fb1134a390674f5b8
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
@@ -46,7 +46,7 @@ module Reactor
46
46
 
47
47
  begin
48
48
  response = request.execute!
49
- groups = ResponseHandler::String.new.get(response, '//group/name/text()')
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
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Reactor
3
- VERSION = "1.22.4"
3
+ VERSION = "1.22.5"
4
4
  end
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
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-02 00:00:00.000000000 Z
11
+ date: 2016-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails