efo_nelfo 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/Guardfile +8 -0
- data/LICENSE.txt +22 -0
- data/README.md +46 -0
- data/Rakefile +8 -0
- data/efo_nelfo.gemspec +27 -0
- data/lib/efo_nelfo/array.rb +10 -0
- data/lib/efo_nelfo/attribute_assignment.rb +13 -0
- data/lib/efo_nelfo/errors.rb +4 -0
- data/lib/efo_nelfo/foo.rb +26 -0
- data/lib/efo_nelfo/post_type.rb +51 -0
- data/lib/efo_nelfo/property.rb +132 -0
- data/lib/efo_nelfo/reader/csv.rb +67 -0
- data/lib/efo_nelfo/v40/order/line.rb +38 -0
- data/lib/efo_nelfo/v40/order/order.rb +102 -0
- data/lib/efo_nelfo/v40/order/text.rb +22 -0
- data/lib/efo_nelfo/version.rb +3 -0
- data/lib/efo_nelfo.rb +35 -0
- data/spec/csv_writer_spec.rb +51 -0
- data/spec/efo_nelfo_spec.rb +114 -0
- data/spec/property_spec.rb +125 -0
- data/spec/samples/B028579.594.csv +2 -0
- data/spec/samples/B028579.595.csv +4 -0
- data/spec/samples/B028579.596.csv +9 -0
- data/spec/samples/B028579.597.csv +17 -0
- data/spec/samples/B123.V3.csv +2 -0
- data/spec/samples/B650517.030.csv +4 -0
- data/spec/samples/B650517.031.csv +2 -0
- data/spec/samples/B650517.032.csv +3 -0
- data/spec/samples/V4_varefil.csv +3139 -0
- data/spec/spec_helper.rb +6 -0
- metadata +173 -0
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: efo_nelfo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gudleik Rasch
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-02-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: awesome_print
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: guard-minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rb-fsevent
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: terminal-notifier-guard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Parser for EFONELFO format
|
98
|
+
email:
|
99
|
+
- gr@skalar.no
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- .gitignore
|
105
|
+
- Gemfile
|
106
|
+
- Guardfile
|
107
|
+
- LICENSE.txt
|
108
|
+
- README.md
|
109
|
+
- Rakefile
|
110
|
+
- efo_nelfo.gemspec
|
111
|
+
- lib/efo_nelfo.rb
|
112
|
+
- lib/efo_nelfo/array.rb
|
113
|
+
- lib/efo_nelfo/attribute_assignment.rb
|
114
|
+
- lib/efo_nelfo/errors.rb
|
115
|
+
- lib/efo_nelfo/foo.rb
|
116
|
+
- lib/efo_nelfo/post_type.rb
|
117
|
+
- lib/efo_nelfo/property.rb
|
118
|
+
- lib/efo_nelfo/reader/csv.rb
|
119
|
+
- lib/efo_nelfo/v40/order/line.rb
|
120
|
+
- lib/efo_nelfo/v40/order/order.rb
|
121
|
+
- lib/efo_nelfo/v40/order/text.rb
|
122
|
+
- lib/efo_nelfo/version.rb
|
123
|
+
- spec/csv_writer_spec.rb
|
124
|
+
- spec/efo_nelfo_spec.rb
|
125
|
+
- spec/property_spec.rb
|
126
|
+
- spec/samples/B028579.594.csv
|
127
|
+
- spec/samples/B028579.595.csv
|
128
|
+
- spec/samples/B028579.596.csv
|
129
|
+
- spec/samples/B028579.597.csv
|
130
|
+
- spec/samples/B123.V3.csv
|
131
|
+
- spec/samples/B650517.030.csv
|
132
|
+
- spec/samples/B650517.031.csv
|
133
|
+
- spec/samples/B650517.032.csv
|
134
|
+
- spec/samples/V4_varefil.csv
|
135
|
+
- spec/spec_helper.rb
|
136
|
+
homepage: http://efo.no
|
137
|
+
licenses:
|
138
|
+
- MIT
|
139
|
+
metadata: {}
|
140
|
+
post_install_message:
|
141
|
+
rdoc_options: []
|
142
|
+
require_paths:
|
143
|
+
- lib
|
144
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
requirements: []
|
155
|
+
rubyforge_project:
|
156
|
+
rubygems_version: 2.0.0
|
157
|
+
signing_key:
|
158
|
+
specification_version: 4
|
159
|
+
summary: Parser for EFONELFO format
|
160
|
+
test_files:
|
161
|
+
- spec/csv_writer_spec.rb
|
162
|
+
- spec/efo_nelfo_spec.rb
|
163
|
+
- spec/property_spec.rb
|
164
|
+
- spec/samples/B028579.594.csv
|
165
|
+
- spec/samples/B028579.595.csv
|
166
|
+
- spec/samples/B028579.596.csv
|
167
|
+
- spec/samples/B028579.597.csv
|
168
|
+
- spec/samples/B123.V3.csv
|
169
|
+
- spec/samples/B650517.030.csv
|
170
|
+
- spec/samples/B650517.031.csv
|
171
|
+
- spec/samples/B650517.032.csv
|
172
|
+
- spec/samples/V4_varefil.csv
|
173
|
+
- spec/spec_helper.rb
|