faction 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6b289e5d7b4b727c31146ba332a748670e707f2
4
- data.tar.gz: 01f0faecca07c48910f49d2f905c88c8833b0d4c
3
+ metadata.gz: 61aabada462f3e5865f4c255571bcfde3bcc8e7d
4
+ data.tar.gz: 3c898bad23b794c5dcdc0043c8dc474896dd23f6
5
5
  SHA512:
6
- metadata.gz: d7b940ed6e9f928533804d3431f64978e2e569ea8df342847d0efc102b0e24c9cfdcf74382024aca9e7b7cf3be27f9f00cb1eaacf91c9d13ce7b2acce366aef8
7
- data.tar.gz: 00b06eefdf3dc1700c761d6adf1484ba5c0f1159c525282e34f837f8848ea5bfa4b4e7115507b057c155f80bc31d58702982ea077fc404d2b00957d6f9f0e686
6
+ metadata.gz: 6bfdc2a927376767088056e9e776ebb5b194c6203f168eb0235ff96ce323ee5e4e0371a8b062bd3e26dcf508283c4f243be6329ea676df3ba98cbbb446492485
7
+ data.tar.gz: 977542810abc3cf2e0cd993b2e5b5d70f83cc94250b494471d0f827e0dd7991cacf61afa217bb521ffa5159f800bdefd535ead007f9e4c62407372b546680b8f
@@ -174,13 +174,13 @@ module Faction #:nodoc:
174
174
 
175
175
  def add_principal(username, password, description, active, attributes)
176
176
  soap_attributes = attributes.map do |name, value|
177
- {'p:SOAPAttribute' => {'p:name' => name, 'p:values' => {'wsdl:string' => value}}}
177
+ {'p:name' => name, 'p:values' => {'wsdl:string' => value}}
178
178
  end
179
179
  soap_principal = {
180
180
  'p:active' => active,
181
181
  'p:name' => username,
182
182
  'p:description' => description,
183
- 'p:attributes' => soap_attributes
183
+ 'p:attributes' => {'p:SOAPAttribute' => soap_attributes}
184
184
  }
185
185
  credential = {
186
186
  'auth:credential' => password,
@@ -1,3 +1,3 @@
1
1
  module Faction
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faction
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olli Helenius
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-10 00:00:00.000000000 Z
11
+ date: 2014-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler