dynarex 1.1.26 → 1.1.27

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.
Files changed (2) hide show
  1. data/lib/dynarex.rb +1 -1
  2. metadata +1 -1
@@ -246,7 +246,7 @@ EOF
246
246
  xml.send(@record_name, {id: item[:id], created: item[:created], \
247
247
  last_modified: item[:last_modified]}, '') do
248
248
  item[:body].each do |name,value|
249
- name.prepend '._' if reserved_keywords.include? name.to_sym
249
+ name = name.to_s.prepend('._').to_sym if reserved_keywords.include? name
250
250
  xml.send name, value
251
251
  end
252
252
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.26
5
+ version: 1.1.27
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson