safety_pin 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/safety_pin/node.rb +1 -2
- data/lib/safety_pin/version.rb +1 -1
- metadata +2 -2
data/lib/safety_pin/node.rb
CHANGED
@@ -122,12 +122,11 @@ module SafetyPin
|
|
122
122
|
|
123
123
|
def write_attribute(name, value)
|
124
124
|
raise PropertyError.new("Illegal operation: cannot change jcr:primaryType property") if name == "jcr:primaryType"
|
125
|
+
name = name.to_s
|
125
126
|
|
126
127
|
if value.nil? and not j_node.has_property(name)
|
127
128
|
return nil
|
128
129
|
end
|
129
|
-
|
130
|
-
name = name.to_s
|
131
130
|
|
132
131
|
if value.is_a? Array
|
133
132
|
values = value
|
data/lib/safety_pin/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: safety_pin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jordan Raine
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-05-
|
13
|
+
date: 2012-05-18 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: An easy-to-use JCR connector for JRuby
|