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.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module SafetyPin
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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.3
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-12 00:00:00 Z
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