nexpose 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/nexpose/user.rb +2 -2
  2. metadata +2 -2
data/lib/nexpose/user.rb CHANGED
@@ -116,8 +116,8 @@ module Nexpose
116
116
  xml = '<UserConfig'
117
117
  xml << %Q{ id="#{@id}"}
118
118
  xml << %Q{ authsrcid="#{@authsrcid}"}
119
- xml << %Q{ name="#{@name}"}
120
- xml << %Q{ fullname="#{@full_name}"}
119
+ xml << %Q{ name="#{replace_entities(@name)}"}
120
+ xml << %Q{ fullname="#{replace_entities(@full_name)}"}
121
121
  xml << %Q{ role-name="#{@role_name}"}
122
122
  xml << %Q{ password="#{replace_entities(@password)}"} if @password
123
123
  xml << %Q{ email="#{@email}"} if @email
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexpose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-03-28 00:00:00.000000000 Z
14
+ date: 2013-04-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: librex