riif 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/README.md +16 -0
- data/lib/riif/iif.rb +5 -1
- data/lib/riif/version.rb +1 -1
- metadata +9 -3
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -142,6 +142,22 @@ SPL 888
|
|
142
142
|
ENDTRNS
|
143
143
|
```
|
144
144
|
|
145
|
+
If you prefer, you can pass an argument along with your block:
|
146
|
+
|
147
|
+
```ruby
|
148
|
+
Riif::IIF.new do |riif|
|
149
|
+
riif.trns do |trns|
|
150
|
+
trns.row do |row|
|
151
|
+
row.trnsid 123
|
152
|
+
row.trnstype 'INVOICE'
|
153
|
+
row.date '8/31/1988'
|
154
|
+
row.accnt 'Accounts Receivable'
|
155
|
+
row.name 'Customer'
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
```
|
160
|
+
|
145
161
|
## Editors
|
146
162
|
|
147
163
|
### Vim
|
data/lib/riif/iif.rb
CHANGED
data/lib/riif/version.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.6.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-06-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|
@@ -238,15 +238,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
238
238
|
- - ! '>='
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: '0'
|
241
|
+
segments:
|
242
|
+
- 0
|
243
|
+
hash: -2664562977683222870
|
241
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
245
|
none: false
|
243
246
|
requirements:
|
244
247
|
- - ! '>='
|
245
248
|
- !ruby/object:Gem::Version
|
246
249
|
version: '0'
|
250
|
+
segments:
|
251
|
+
- 0
|
252
|
+
hash: -2664562977683222870
|
247
253
|
requirements: []
|
248
254
|
rubyforge_project:
|
249
|
-
rubygems_version: 1.8.
|
255
|
+
rubygems_version: 1.8.25
|
250
256
|
signing_key:
|
251
257
|
specification_version: 3
|
252
258
|
summary: A simple DSL to generate QuickBooks IIF file
|