riif 0.6.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -0,0 +1,4 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: [linjunpop]
4
+ patreon: linjunpop
data/.gitignore CHANGED
@@ -3,6 +3,7 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
+ .rbenv-gemsets
6
7
  Gemfile.lock
7
8
  InstalledFiles
8
9
  _yardoc
@@ -19,3 +20,5 @@ tmp
19
20
  spec/dummy/log/*.log
20
21
  spec/dummy/tmp/
21
22
  spec/dummy/.sass-cache
23
+
24
+ .vscode
@@ -0,0 +1 @@
1
+ ruby 2.6.0
@@ -1,9 +1,6 @@
1
1
  language: ruby
2
2
  script: "bundle exec rspec spec"
3
3
  rvm:
4
- - 1.9.3
5
- - 1.9.2
6
- - rbx-19mode
7
- - jruby-19mode
8
- - 2.0.0
9
- - ruby-head
4
+ - 2.5.7
5
+ - 2.6.5
6
+ - 2.7.0
@@ -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
- * #10 Add option to pass an argument to `Riif.new`. [@ghiculescu](https://github.com/ghiculescu)
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
- * #9 Implement TIMERHDR. [@ghiculescu](https://github.com/ghiculescu)
34
+ - #9 Implement TIMERHDR. [@ghiculescu](https://github.com/ghiculescu)
12
35
 
13
36
  ## 0.4.0
14
37
 
15
- * #7 Add missing paymeth to transaction type. [@jphpsf](https://github.com/jphpsf)
38
+ - #7 Add missing paymeth to transaction type. [@jphpsf](https://github.com/jphpsf)
16
39
 
17
40
  ## 0.3.0
18
41
 
19
- * #6 by [@jphpsf](https://github.com/jphpsf)
20
- * Shipping address (SADDR1 to SADDR5)
21
- * Sales rep (rep)
22
- * Invoice title and memo (INVTITLE and INVMEMO)
23
- * Purchase order number (PONUM)
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
- * #4 - Add support to customize filename
27
- * #5 - Separate different lists into groups
49
+
50
+ - #4 - Add support to customize filename
51
+ - #5 - Separate different lists into groups
28
52
 
29
53
  ## 0.1.0
30
- * #2 - Implement Mixed document in one IIF file. (DSL had been changed)
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Jun Lin
1
+ Copyright (c) 2012-2018 Jun Lin
2
2
 
3
3
  MIT License
4
4
 
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.png?branch=master)](https://travis-ci.org/linjunpop/riif)
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)
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
- [Use Intuit Interchange Format (.iif) files](http://support.quickbooks.intuit.com/support/articles/HOW12778)
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
 
@@ -1,6 +1,10 @@
1
1
  require 'riif/version'
2
2
  require 'riif/iif'
3
- require 'riif/railtie' if defined?(Rails)
3
+ if defined?(Rails)
4
+ if Rails::VERSION::MAJOR > 2
5
+ require 'riif/railtie'
6
+ end
7
+ end
4
8
 
5
9
  module Riif
6
10
  end
@@ -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
- instance_eval(&block)
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
- instance_eval(&block)
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
@@ -30,8 +30,7 @@ module Riif::DSL
30
30
  :custfld5,
31
31
  :custfld6,
32
32
  :custfld7,
33
- :_1099,
34
- :note
33
+ :"1099"
35
34
  ]
36
35
  START_COLUMN = 'VEND'
37
36
  END_COLUMN = ''
@@ -6,7 +6,7 @@ module Riif
6
6
  send_data(
7
7
  iif_string,
8
8
  filename: "#{filename}.iif",
9
- type: Mime::IIF,
9
+ type: Mime[:iif],
10
10
  disposition: 'attachment'
11
11
  )
12
12
  end
@@ -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::IIF
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
- #{template.source}
13
+ #{source}
12
14
 
13
15
  iif.output
14
16
  RUBY
@@ -1,3 +1,3 @@
1
1
  module Riif
2
- VERSION = "0.6.0"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -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 = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
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.add_development_dependency 'pry'
21
- gem.add_development_dependency 'rails'
22
- gem.add_development_dependency 'rspec'
23
- gem.add_development_dependency 'rspec-rails'
24
- gem.add_development_dependency 'awesome_print'
25
- gem.add_development_dependency 'combustion', '~> 0.3.1'
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 EZ -300 12345 N
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
@@ -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 klass 1 0
4
+ TIMEACT 06/21/97 job 1 Jun item 1 13:40 class 1 0
@@ -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 20 1 N N Baker Customer Watson Recipient BOB
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
@@ -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 _1099 NOTE
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 { render iif: render_to_string, filename: 'batman'}
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
@@ -4,7 +4,7 @@ iif.trns do
4
4
  trnstype 'BILL'
5
5
  date '3/14/1984'
6
6
  accnt 'Accounts Payable'
7
- name 'EZ'
7
+ name awesome
8
8
  amount -300
9
9
  docnum 12345
10
10
  clear 'N'
@@ -22,7 +22,7 @@ describe Riif::DSL::Timeact do
22
22
  emp 'Jun'
23
23
  item 'item 1'
24
24
  duration '13:40'
25
- proj 'klass 1'
25
+ proj 'class 1'
26
26
  billingstatus 0
27
27
  end
28
28
  end
@@ -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
@@ -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.treat_symbols_as_metadata_keys_with_true_values = true
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: 0.6.0
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: 2013-06-14 00:00:00.000000000 Z
11
+ date: 2020-11-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: pry
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: rails
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: '0'
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: '0'
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: '0'
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: '0'
54
+ version: '3.5'
62
55
  - !ruby/object:Gem::Dependency
63
- name: rspec-rails
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: '0'
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: '0'
68
+ version: '1.2'
78
69
  - !ruby/object:Gem::Dependency
79
- name: awesome_print
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: 0.3.1
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: 0.3.1
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
- - .gitignore
151
- - .rspec
152
- - .travis.yml
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
- post_install_message:
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: '0'
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
- rubyforge_project:
255
- rubygems_version: 1.8.25
256
- signing_key:
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