riif 0.6.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/FUNDING.yml +4 -0
- data/.gitignore +3 -0
- data/.tool-versions +1 -0
- data/.travis.yml +3 -6
- data/CHANGELOG.md +51 -26
- data/LICENSE.txt +1 -1
- data/README.md +5 -6
- data/lib/riif.rb +5 -1
- data/lib/riif/dsl/base.rb +17 -4
- data/lib/riif/dsl/vend.rb +1 -2
- data/lib/riif/rails/renderer.rb +1 -1
- data/lib/riif/rails/template_handler.rb +5 -3
- data/lib/riif/version.rb +1 -1
- data/riif.gemspec +9 -7
- data/spec/fixtures/rails/invoices.iif +1 -1
- data/spec/fixtures/timeact.iif +1 -1
- data/spec/fixtures/trns.iif +1 -1
- data/spec/fixtures/vend.iif +1 -1
- data/spec/internal/app/controllers/invoices_controller.rb +4 -1
- data/spec/internal/app/views/invoices/index.iif.riif +1 -1
- data/spec/riif/dsl/timeact_spec.rb +1 -1
- data/spec/riif/dsl/trns_spec.rb +54 -4
- data/spec/spec_helper.rb +3 -1
- metadata +50 -73
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1a56ccfe5ea0177e0d909f225c82b3c109f0c67a81ecada953dc53a662297532
|
4
|
+
data.tar.gz: a12775175aa7214a7ddea3bff6b36646fc591d7f05a543b6706bcb87b4ff54f8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c8d2308744c322019ee558d536fbf877beacac33e152b936e787307900a0204b6bba273e209d99194a13a5f1572df2553a618701405d7606450c0a161fe57a6a
|
7
|
+
data.tar.gz: bdf9f39f3ceb8410010fc0d45f75d80c83736d606ff90ed7a591493cf365d19debc7769c983366fe585ee763eb3df584cf5931d2ffc6b4c604a1ad529cae0a4a
|
data/.github/FUNDING.yml
ADDED
data/.gitignore
CHANGED
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.6.0
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,47 +2,72 @@
|
|
2
2
|
|
3
3
|
## NEXT (unreleased)
|
4
4
|
|
5
|
+
## 1.1.0
|
6
|
+
|
7
|
+
- #45 DSL inner blocks accept argument to yield. [@mcelicalderon](https://github.com/mcelicalderon)
|
8
|
+
|
9
|
+
## 1.0.0
|
10
|
+
|
11
|
+
- Requires Ruby >= 2.5.0.
|
12
|
+
- #43 Remove duplicate key 'note' in VEND object. [@montulli](https://github.com/montulli)
|
13
|
+
|
14
|
+
## 0.9.0
|
15
|
+
|
16
|
+
- #40 Stop shipping a gem that overwrites the 'rake' executable from the official 'rake' gem
|
17
|
+
when installing this gem through Bundler. [@rg-3](https://github.com/rg-3)
|
18
|
+
|
19
|
+
## 0.8.0
|
20
|
+
|
21
|
+
- #38 Deprecation warning on Rails 6.0.0.rc1. [@jaredmoody](https://github.com/jaredmoody)
|
22
|
+
|
23
|
+
## 0.7.0
|
24
|
+
|
25
|
+
- #34 Resolved issues on Rails 2. [@newmedio](https://github.com/newmedio)
|
26
|
+
- #34 Fixes class & 1099 issues. [@newmedio](https://github.com/newmedio)
|
27
|
+
|
5
28
|
## 0.6.0
|
6
29
|
|
7
|
-
|
30
|
+
- #10 Add option to pass an argument to `Riif.new`. [@ghiculescu](https://github.com/ghiculescu)
|
8
31
|
|
9
32
|
## 0.5.0
|
10
33
|
|
11
|
-
|
34
|
+
- #9 Implement TIMERHDR. [@ghiculescu](https://github.com/ghiculescu)
|
12
35
|
|
13
36
|
## 0.4.0
|
14
37
|
|
15
|
-
|
38
|
+
- #7 Add missing paymeth to transaction type. [@jphpsf](https://github.com/jphpsf)
|
16
39
|
|
17
40
|
## 0.3.0
|
18
41
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
42
|
+
- #6 by [@jphpsf](https://github.com/jphpsf)
|
43
|
+
- Shipping address (SADDR1 to SADDR5)
|
44
|
+
- Sales rep (rep)
|
45
|
+
- Invoice title and memo (INVTITLE and INVMEMO)
|
46
|
+
- Purchase order number (PONUM)
|
24
47
|
|
25
48
|
## 0.2.0
|
26
|
-
|
27
|
-
|
49
|
+
|
50
|
+
- #4 - Add support to customize filename
|
51
|
+
- #5 - Separate different lists into groups
|
28
52
|
|
29
53
|
## 0.1.0
|
30
|
-
|
54
|
+
|
55
|
+
- #2 - Implement Mixed document in one IIF file. (DSL had been changed)
|
31
56
|
|
32
57
|
## 0.0.1
|
33
|
-
* Implement OTHERNAME
|
34
|
-
* Implement TIMEACT
|
35
|
-
* Implement TERMS
|
36
|
-
* Implement VEND
|
37
|
-
* Implement VTYPE
|
38
|
-
* Implement SHIPMETH
|
39
|
-
* Implement PAYMETH
|
40
|
-
* Implement INVMEMO
|
41
|
-
* Implement INVITEM
|
42
|
-
* Implement CTYPE
|
43
|
-
* Implement CLASS
|
44
|
-
* Implement ACCNT
|
45
|
-
* Implement EMP
|
46
|
-
* Implement CUST
|
47
|
-
* Implement TRNS and SPL
|
48
58
|
|
59
|
+
- Implement OTHERNAME
|
60
|
+
- Implement TIMEACT
|
61
|
+
- Implement TERMS
|
62
|
+
- Implement VEND
|
63
|
+
- Implement VTYPE
|
64
|
+
- Implement SHIPMETH
|
65
|
+
- Implement PAYMETH
|
66
|
+
- Implement INVMEMO
|
67
|
+
- Implement INVITEM
|
68
|
+
- Implement CTYPE
|
69
|
+
- Implement CLASS
|
70
|
+
- Implement ACCNT
|
71
|
+
- Implement EMP
|
72
|
+
- Implement CUST
|
73
|
+
- Implement TRNS and SPL
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -2,11 +2,10 @@
|
|
2
2
|
|
3
3
|
A simple DSL to generate IIF file.
|
4
4
|
|
5
|
-
[![Build Status](https://travis-ci.org/linjunpop/riif.
|
6
|
-
[![Gem Version](https://badge.fury.io/rb/riif.
|
7
|
-
[![Code Climate](https://codeclimate.com/github/linjunpop/riif.
|
8
|
-
[![Coverage Status](https://coveralls.io/repos/linjunpop/riif/badge.
|
9
|
-
[![endorse](http://api.coderwall.com/linjunpop/endorsecount.png)](http://coderwall.com/linjunpop)
|
5
|
+
[![Build Status](https://travis-ci.org/linjunpop/riif.svg?branch=master)](https://travis-ci.org/linjunpop/riif)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/riif.svg)](http://badge.fury.io/rb/riif)
|
7
|
+
[![Code Climate](https://codeclimate.com/github/linjunpop/riif.svg)](https://codeclimate.com/github/linjunpop/riif)
|
8
|
+
[![Coverage Status](https://coveralls.io/repos/linjunpop/riif/badge.svg?branch=master)](https://coveralls.io/r/linjunpop/riif)
|
10
9
|
|
11
10
|
## Installation
|
12
11
|
|
@@ -168,7 +167,7 @@ au BufWinEnter,BufRead,BufNewFile *.riif set filetype=ruby
|
|
168
167
|
|
169
168
|
## Resources
|
170
169
|
|
171
|
-
[
|
170
|
+
[Export or import Intuit Interchange Format (.IIF) files](https://quickbooks.intuit.com/community/Reports-and-accounting/Export-or-import-Intuit-Interchange-Format-IIF-files/m-p/203229)
|
172
171
|
|
173
172
|
## Contributing
|
174
173
|
|
data/lib/riif.rb
CHANGED
data/lib/riif/dsl/base.rb
CHANGED
@@ -1,14 +1,18 @@
|
|
1
1
|
module Riif::DSL
|
2
2
|
class Base
|
3
|
-
|
4
3
|
def initialize
|
5
4
|
@rows = []
|
6
5
|
@current_row = []
|
7
6
|
end
|
8
7
|
|
9
8
|
def build(&block)
|
10
|
-
|
11
|
-
|
9
|
+
if block_given?
|
10
|
+
if block.arity == 1
|
11
|
+
yield(self)
|
12
|
+
else
|
13
|
+
instance_eval(&block)
|
14
|
+
end
|
15
|
+
end
|
12
16
|
|
13
17
|
output
|
14
18
|
end
|
@@ -16,7 +20,13 @@ module Riif::DSL
|
|
16
20
|
def row(&block)
|
17
21
|
@current_row = [self.class::START_COLUMN]
|
18
22
|
|
19
|
-
|
23
|
+
if block_given?
|
24
|
+
if block.arity == 1
|
25
|
+
yield(self)
|
26
|
+
else
|
27
|
+
instance_eval(&block)
|
28
|
+
end
|
29
|
+
end
|
20
30
|
|
21
31
|
@rows << @current_row
|
22
32
|
end
|
@@ -41,6 +51,9 @@ module Riif::DSL
|
|
41
51
|
end
|
42
52
|
|
43
53
|
def method_missing(method_name, *args, &block)
|
54
|
+
method_name = :class if method_name == :klass
|
55
|
+
method_name = "1099".to_sym if method_name == :_1099
|
56
|
+
|
44
57
|
if self.class::HEADER_COLUMNS.include?(method_name)
|
45
58
|
@current_row[self.class::HEADER_COLUMNS.index(method_name) + 1] = args[0]
|
46
59
|
else
|
data/lib/riif/dsl/vend.rb
CHANGED
data/lib/riif/rails/renderer.rb
CHANGED
@@ -2,13 +2,15 @@ module Riif
|
|
2
2
|
module Rails
|
3
3
|
class TemplateHandler
|
4
4
|
cattr_accessor :default_format
|
5
|
-
self.default_format = Mime
|
5
|
+
self.default_format = Mime[:iif]
|
6
|
+
|
7
|
+
def self.call(template, source = nil)
|
8
|
+
source ||= template.source
|
6
9
|
|
7
|
-
def self.call(template)
|
8
10
|
<<-RUBY
|
9
11
|
iif = ::Riif::IIF.new
|
10
12
|
|
11
|
-
#{
|
13
|
+
#{source}
|
12
14
|
|
13
15
|
iif.output
|
14
16
|
RUBY
|
data/lib/riif/version.rb
CHANGED
data/riif.gemspec
CHANGED
@@ -13,16 +13,18 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.homepage = "https://github.com/linjunpop/riif"
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
16
|
-
gem.executables =
|
16
|
+
gem.executables = []
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
|
20
|
-
gem.
|
21
|
-
|
22
|
-
gem.add_development_dependency '
|
23
|
-
gem.add_development_dependency 'rspec
|
24
|
-
gem.add_development_dependency '
|
25
|
-
gem.add_development_dependency '
|
20
|
+
gem.required_ruby_version = '>= 2.5.0'
|
21
|
+
|
22
|
+
gem.add_development_dependency 'rails', '~> 6.0'
|
23
|
+
gem.add_development_dependency 'rspec', '~> 3.5'
|
24
|
+
gem.add_development_dependency 'rspec-rails', '~> 3.5'
|
25
|
+
gem.add_development_dependency 'rspec-its', '~> 1.2'
|
26
|
+
gem.add_development_dependency 'rails-controller-testing', '~> 1.0'
|
27
|
+
gem.add_development_dependency 'combustion', '~> 1.1'
|
26
28
|
gem.add_development_dependency 'fuubar'
|
27
29
|
gem.add_development_dependency 'coveralls'
|
28
30
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
!TRNS TRNSID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR TOPRINT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 DUEDATE TERMS PAID PAYMETH SHIPDATE REP PONUM INVTITLE INVMEMO
|
2
2
|
!SPL SPLID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR QNTY PRICE INVITEM PAYMETH TAXABLE REIMBEXP EXTRA
|
3
3
|
!ENDTRNS
|
4
|
-
TRNS 12345 BILL 3/14/1984 Accounts Payable
|
4
|
+
TRNS 12345 BILL 3/14/1984 Accounts Payable Bender -300 12345 N
|
5
5
|
SPL 1 BILL 3/14/1984 Payable CMA 300 foo 3 150 Base Rate
|
6
6
|
ENDTRNS
|
data/spec/fixtures/timeact.iif
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
!TIMERHDR VER REL COMPANYNAME IMPORTEDBEFORE FROMTIMER COMPANYCREATETIME
|
2
2
|
TIMERHDR 8 0 Import Test Company N Y 1208544781
|
3
3
|
!TIMEACT DATE JOB EMP ITEM PITEM DURATION PROJ NOTE BILLINGSTATUS
|
4
|
-
TIMEACT 06/21/97 job 1 Jun item 1 13:40
|
4
|
+
TIMEACT 06/21/97 job 1 Jun item 1 13:40 class 1 0
|
data/spec/fixtures/trns.iif
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
!TRNS TRNSID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR TOPRINT ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 SADDR1 SADDR2 SADDR3 SADDR4 SADDR5 DUEDATE TERMS PAID PAYMETH SHIPDATE REP PONUM INVTITLE INVMEMO
|
2
2
|
!SPL SPLID TRNSTYPE DATE ACCNT NAME CLASS AMOUNT DOCNUM MEMO CLEAR QNTY PRICE INVITEM PAYMETH TAXABLE REIMBEXP EXTRA
|
3
3
|
!ENDTRNS
|
4
|
-
TRNS 123 INVOICE 8/31/1988 Accounts Receivable Customer
|
4
|
+
TRNS 123 INVOICE 8/31/1988 Accounts Receivable Customer foobar 20 1 N N Baker Customer Watson Recipient BOB
|
5
5
|
SPL 777 INVOICE 8/31/1988 Income Account -20 N -2 10 Sales Item N
|
6
6
|
SPL 888
|
7
7
|
ENDTRNS
|
data/spec/fixtures/vend.iif
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
!VEND NAME PRINTAS ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 VTYPE CONT1 PHONE1 PHONE2 FAXNUM NOTE TAXID LIMIT TERMS NOTEPAD SALUTATION COMPANYNAME FIRSTNAME MIDINIT LASTNAME CUSTFLD1 CUSTFLD2 CUSTFLD3 CUSTFLD4 CUSTFLD5 CUSTFLD6 CUSTFLD7
|
1
|
+
!VEND NAME PRINTAS ADDR1 ADDR2 ADDR3 ADDR4 ADDR5 VTYPE CONT1 PHONE1 PHONE2 FAXNUM NOTE TAXID LIMIT TERMS NOTEPAD SALUTATION COMPANYNAME FIRSTNAME MIDINIT LASTNAME CUSTFLD1 CUSTFLD2 CUSTFLD3 CUSTFLD4 CUSTFLD5 CUSTFLD6 CUSTFLD7 1099
|
2
2
|
VEND Jun Lin 12312323242 Y
|
@@ -1,7 +1,10 @@
|
|
1
1
|
class InvoicesController < ActionController::Base
|
2
2
|
def index
|
3
3
|
respond_to do |format|
|
4
|
-
format.iif {
|
4
|
+
format.iif {
|
5
|
+
render iif: render_to_string(locals: {awesome: "Bender"}),
|
6
|
+
filename: 'batman'
|
7
|
+
}
|
5
8
|
end
|
6
9
|
end
|
7
10
|
end
|
data/spec/riif/dsl/trns_spec.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Riif::DSL::Trns do
|
4
|
+
subject { trns }
|
4
5
|
|
5
6
|
let(:expected) { File.read('spec/fixtures/trns.iif') }
|
6
7
|
|
7
|
-
let(:trns)
|
8
|
+
let(:trns) do
|
8
9
|
Riif::IIF.new do
|
9
10
|
trns do
|
10
11
|
row do
|
@@ -16,6 +17,7 @@ describe Riif::DSL::Trns do
|
|
16
17
|
amount 20
|
17
18
|
docnum 1
|
18
19
|
clear 'N'
|
20
|
+
klass 'foobar'
|
19
21
|
toprint 'N'
|
20
22
|
addr1 'Baker'
|
21
23
|
addr2 'Customer'
|
@@ -46,9 +48,57 @@ describe Riif::DSL::Trns do
|
|
46
48
|
end
|
47
49
|
end
|
48
50
|
end
|
49
|
-
|
50
|
-
|
51
|
-
subject { trns }
|
51
|
+
end
|
52
52
|
|
53
53
|
its(:output) { should eq expected }
|
54
|
+
|
55
|
+
context 'when arguments are passed to the block' do
|
56
|
+
let(:account) { 'Accounts Receivable' }
|
57
|
+
let(:trns) do
|
58
|
+
Riif::IIF.new do |riif|
|
59
|
+
riif.trns do |trns|
|
60
|
+
trns.row do |row|
|
61
|
+
row.trnsid 123
|
62
|
+
row.trnstype 'INVOICE'
|
63
|
+
row.date '8/31/1988'
|
64
|
+
row.accnt account
|
65
|
+
row.name 'Customer'
|
66
|
+
row.amount 20
|
67
|
+
row.docnum 1
|
68
|
+
row.clear 'N'
|
69
|
+
row.klass 'foobar'
|
70
|
+
row.toprint 'N'
|
71
|
+
row.addr1 'Baker'
|
72
|
+
row.addr2 'Customer'
|
73
|
+
row.saddr1 'Watson'
|
74
|
+
row.saddr2 'Recipient'
|
75
|
+
row.rep 'BOB'
|
76
|
+
end
|
77
|
+
|
78
|
+
trns.spl do
|
79
|
+
row do
|
80
|
+
splid '777'
|
81
|
+
trnstype 'INVOICE'
|
82
|
+
date '8/31/1988'
|
83
|
+
accnt 'Income Account'
|
84
|
+
amount '-20'
|
85
|
+
clear 'N'
|
86
|
+
qnty '-2'
|
87
|
+
price 10
|
88
|
+
invitem 'Sales Item'
|
89
|
+
taxable 'N'
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
trns.spl do
|
94
|
+
row do
|
95
|
+
splid '888'
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
its(:output) { should eq expected }
|
103
|
+
end
|
54
104
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -12,8 +12,10 @@ Combustion.initialize! :action_controller, :action_view
|
|
12
12
|
require 'rspec/rails'
|
13
13
|
|
14
14
|
RSpec.configure do |config|
|
15
|
-
config.
|
15
|
+
config.expect_with(:rspec) { |c| c.syntax = :should }
|
16
|
+
config.infer_spec_type_from_file_location!
|
16
17
|
config.run_all_when_everything_filtered = true
|
17
18
|
config.filter_run :focus
|
18
19
|
config.order = 'random'
|
20
|
+
config.infer_spec_type_from_file_location!
|
19
21
|
end
|
metadata
CHANGED
@@ -1,142 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riif
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jun Lin
|
9
|
-
autorequire:
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2020-11-17 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
14
|
+
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
19
|
+
version: '6.0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
26
|
+
version: '6.0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
28
|
+
name: rspec
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
33
|
+
version: '3.5'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
40
|
+
version: '3.5'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
name: rspec
|
42
|
+
name: rspec-rails
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
47
|
+
version: '3.5'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
54
|
+
version: '3.5'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
|
-
name: rspec-
|
56
|
+
name: rspec-its
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
61
|
+
version: '1.2'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - "~>"
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
68
|
+
version: '1.2'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
70
|
+
name: rails-controller-testing
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - "~>"
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
75
|
+
version: '1.0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - "~>"
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
82
|
+
version: '1.0'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: combustion
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- - ~>
|
87
|
+
- - "~>"
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
89
|
+
version: '1.1'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- - ~>
|
94
|
+
- - "~>"
|
108
95
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
96
|
+
version: '1.1'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: fuubar
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - ">="
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: coveralls
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- -
|
115
|
+
- - ">="
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: '0'
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- -
|
122
|
+
- - ">="
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: '0'
|
142
125
|
description: A simple DSL to generate QuickBooks IIF file
|
@@ -146,10 +129,12 @@ executables: []
|
|
146
129
|
extensions: []
|
147
130
|
extra_rdoc_files: []
|
148
131
|
files:
|
149
|
-
- .coveralls.yml
|
150
|
-
- .
|
151
|
-
- .
|
152
|
-
- .
|
132
|
+
- ".coveralls.yml"
|
133
|
+
- ".github/FUNDING.yml"
|
134
|
+
- ".gitignore"
|
135
|
+
- ".rspec"
|
136
|
+
- ".tool-versions"
|
137
|
+
- ".travis.yml"
|
153
138
|
- CHANGELOG.md
|
154
139
|
- Gemfile
|
155
140
|
- LICENSE.txt
|
@@ -228,33 +213,25 @@ files:
|
|
228
213
|
- spec/spec_helper.rb
|
229
214
|
homepage: https://github.com/linjunpop/riif
|
230
215
|
licenses: []
|
231
|
-
|
216
|
+
metadata: {}
|
217
|
+
post_install_message:
|
232
218
|
rdoc_options: []
|
233
219
|
require_paths:
|
234
220
|
- lib
|
235
221
|
required_ruby_version: !ruby/object:Gem::Requirement
|
236
|
-
none: false
|
237
222
|
requirements:
|
238
|
-
- -
|
223
|
+
- - ">="
|
239
224
|
- !ruby/object:Gem::Version
|
240
|
-
version:
|
241
|
-
segments:
|
242
|
-
- 0
|
243
|
-
hash: -2664562977683222870
|
225
|
+
version: 2.5.0
|
244
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
|
-
none: false
|
246
227
|
requirements:
|
247
|
-
- -
|
228
|
+
- - ">="
|
248
229
|
- !ruby/object:Gem::Version
|
249
230
|
version: '0'
|
250
|
-
segments:
|
251
|
-
- 0
|
252
|
-
hash: -2664562977683222870
|
253
231
|
requirements: []
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
specification_version: 3
|
232
|
+
rubygems_version: 3.0.1
|
233
|
+
signing_key:
|
234
|
+
specification_version: 4
|
258
235
|
summary: A simple DSL to generate QuickBooks IIF file
|
259
236
|
test_files:
|
260
237
|
- spec/controllers/invoices_controller_spec.rb
|