riif 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.coveralls.yml +2 -0
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +2 -2
- data/README.md +5 -2
- data/lib/riif/dsl/timerhdr.rb +14 -0
- data/lib/riif/iif.rb +1 -0
- data/lib/riif/version.rb +1 -1
- data/riif.gemspec +1 -0
- data/spec/fixtures/timeact.iif +2 -0
- data/spec/riif/dsl/timeact_spec.rb +10 -0
- data/spec/spec_helper.rb +3 -0
- metadata +20 -8
data/.coveralls.yml
ADDED
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2013 Jun Lin
|
2
2
|
|
3
3
|
MIT License
|
4
4
|
|
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
19
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
20
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
21
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -3,7 +3,10 @@
|
|
3
3
|
A simple DSL to generate IIF file.
|
4
4
|
|
5
5
|
[![Build Status](https://travis-ci.org/linjunpop/riif.png?branch=master)](https://travis-ci.org/linjunpop/riif)
|
6
|
-
[![
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/riif.png)](http://badge.fury.io/rb/riif)
|
7
|
+
[![Code Climate](https://codeclimate.com/github/linjunpop/riif.png)](https://codeclimate.com/github/linjunpop/riif)
|
8
|
+
[![Coverage Status](https://coveralls.io/repos/linjunpop/riif/badge.png?branch=master)](https://coveralls.io/r/linjunpop/riif)
|
9
|
+
[![endorse](http://api.coderwall.com/linjunpop/endorsecount.png)](http://coderwall.com/linjunpop)
|
7
10
|
|
8
11
|
## Installation
|
9
12
|
|
@@ -167,4 +170,4 @@ https://github.com/linjunpop/riif/graphs/contributors
|
|
167
170
|
|
168
171
|
## Changes
|
169
172
|
|
170
|
-
See [CHANGELOG.md]()
|
173
|
+
See [CHANGELOG.md](CHANGELOG.md)
|
data/lib/riif/iif.rb
CHANGED
data/lib/riif/version.rb
CHANGED
data/riif.gemspec
CHANGED
data/spec/fixtures/timeact.iif
CHANGED
@@ -5,6 +5,16 @@ describe Riif::DSL::Timeact do
|
|
5
5
|
|
6
6
|
let(:timeact) {
|
7
7
|
Riif::IIF.new do
|
8
|
+
timerhdr do
|
9
|
+
row do
|
10
|
+
ver 8
|
11
|
+
rel 0
|
12
|
+
companyname 'Import Test Company'
|
13
|
+
importedbefore 'N'
|
14
|
+
fromtimer 'Y'
|
15
|
+
companycreatetime '1208544781'
|
16
|
+
end
|
17
|
+
end
|
8
18
|
timeact do
|
9
19
|
row do
|
10
20
|
date '06/21/97'
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riif
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|
@@ -123,6 +123,22 @@ dependencies:
|
|
123
123
|
- - ! '>='
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: coveralls
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
126
142
|
description: A simple DSL to generate QuickBooks IIF file
|
127
143
|
email:
|
128
144
|
- linjunpop@gmail.com
|
@@ -130,6 +146,7 @@ executables: []
|
|
130
146
|
extensions: []
|
131
147
|
extra_rdoc_files: []
|
132
148
|
files:
|
149
|
+
- .coveralls.yml
|
133
150
|
- .gitignore
|
134
151
|
- .rspec
|
135
152
|
- .travis.yml
|
@@ -155,6 +172,7 @@ files:
|
|
155
172
|
- lib/riif/dsl/spl.rb
|
156
173
|
- lib/riif/dsl/terms.rb
|
157
174
|
- lib/riif/dsl/timeact.rb
|
175
|
+
- lib/riif/dsl/timerhdr.rb
|
158
176
|
- lib/riif/dsl/trns.rb
|
159
177
|
- lib/riif/dsl/vend.rb
|
160
178
|
- lib/riif/dsl/vtype.rb
|
@@ -220,18 +238,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
238
|
- - ! '>='
|
221
239
|
- !ruby/object:Gem::Version
|
222
240
|
version: '0'
|
223
|
-
segments:
|
224
|
-
- 0
|
225
|
-
hash: -1928803554965971745
|
226
241
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
242
|
none: false
|
228
243
|
requirements:
|
229
244
|
- - ! '>='
|
230
245
|
- !ruby/object:Gem::Version
|
231
246
|
version: '0'
|
232
|
-
segments:
|
233
|
-
- 0
|
234
|
-
hash: -1928803554965971745
|
235
247
|
requirements: []
|
236
248
|
rubyforge_project:
|
237
249
|
rubygems_version: 1.8.23
|