std_rules 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module StdRules
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/std_rules.rb CHANGED
@@ -131,7 +131,7 @@ module StdRules
131
131
  def file_read
132
132
  filename = @data_stack.pop
133
133
  id = unique_id
134
- @objects[id] = File.open(filename, "rb:UTF-8").read.encode('UTF-8').split("\n")
134
+ @objects[id] = File.open(filename, "rb:UTF-8").read.encode('UTF-8').split(/[\n\r]*/)
135
135
  @data_stack.push id
136
136
  end
137
137
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: std_rules
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: