paxmex 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/paxmex/parser.rb +1 -1
- data/lib/paxmex/version.rb +1 -1
- metadata +2 -2
data/lib/paxmex/parser.rb
CHANGED
@@ -4,7 +4,7 @@ require 'paxmex/schema'
|
|
4
4
|
class Paxmex::Parser
|
5
5
|
SCHEMATA = %w(epraw eptrn).reduce({}) do |h, fn|
|
6
6
|
file = File.expand_path("../../config/#{fn}.yml", File.dirname(__FILE__))
|
7
|
-
h.merge(fn => Paxmex::Schema.new(YAML
|
7
|
+
h.merge(fn => Paxmex::Schema.new(YAML.load(File.open(file))))
|
8
8
|
end
|
9
9
|
|
10
10
|
attr_reader :schema
|
data/lib/paxmex/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paxmex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-04-
|
13
|
+
date: 2013-04-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|