keepr 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +44 -0
  3. data/.travis.yml +9 -9
  4. data/Gemfile +2 -0
  5. data/LICENSE.txt +1 -1
  6. data/README.md +3 -3
  7. data/Rakefile +2 -0
  8. data/ci/Gemfile-rails-4-2 +3 -2
  9. data/ci/Gemfile-rails-5-0 +3 -2
  10. data/ci/Gemfile-rails-5-1 +3 -2
  11. data/ci/Gemfile-rails-5-2 +3 -2
  12. data/ci/{Gemfile-rails-4-1 → Gemfile-rails-6-0} +3 -2
  13. data/keepr.gemspec +14 -12
  14. data/lib/generators/keepr/migration/migration_generator.rb +5 -3
  15. data/lib/generators/keepr/migration/templates/migration.rb +2 -0
  16. data/lib/keepr.rb +6 -4
  17. data/lib/keepr/account.rb +37 -37
  18. data/lib/keepr/account_export.rb +10 -14
  19. data/lib/keepr/active_record_extension.rb +4 -2
  20. data/lib/keepr/contact_export.rb +6 -7
  21. data/lib/keepr/cost_center.rb +2 -0
  22. data/lib/keepr/group.rb +21 -20
  23. data/lib/keepr/groups_creator.rb +7 -7
  24. data/lib/keepr/journal.rb +14 -11
  25. data/lib/keepr/journal_export.rb +9 -6
  26. data/lib/keepr/posting.rb +21 -16
  27. data/lib/keepr/tax.rb +2 -0
  28. data/lib/keepr/version.rb +3 -1
  29. data/spec/factories/account.rb +5 -3
  30. data/spec/factories/cost_center.rb +4 -2
  31. data/spec/factories/group.rb +4 -2
  32. data/spec/factories/tax.rb +5 -3
  33. data/spec/keepr/account_export_spec.rb +22 -19
  34. data/spec/keepr/account_spec.rb +47 -42
  35. data/spec/keepr/active_record_extension_spec.rb +20 -18
  36. data/spec/keepr/contact_export_spec.rb +17 -14
  37. data/spec/keepr/cost_center_spec.rb +2 -0
  38. data/spec/keepr/group_spec.rb +39 -35
  39. data/spec/keepr/groups_creator_spec.rb +7 -4
  40. data/spec/keepr/journal_export_spec.rb +26 -25
  41. data/spec/keepr/journal_spec.rb +33 -31
  42. data/spec/keepr/posting_spec.rb +8 -6
  43. data/spec/keepr/tax_spec.rb +21 -14
  44. data/spec/spec_helper.rb +6 -5
  45. data/spec/support/contact.rb +2 -0
  46. data/spec/support/document.rb +2 -0
  47. data/spec/support/ledger.rb +2 -0
  48. data/spec/support/spec_migration.rb +2 -0
  49. metadata +28 -14
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Keepr::JournalExport do
@@ -13,22 +15,21 @@ describe Keepr::JournalExport do
13
15
  let(:account_4920) { FactoryBot.create :account, number: 4920, kind: :expense, keepr_tax: vst }
14
16
  let(:account_8400) { FactoryBot.create :account, number: 8400, kind: :revenue, keepr_tax: ust }
15
17
 
16
- let(:account_10000) { FactoryBot.create :account, number: 10000, kind: :debtor }
18
+ let(:account_10000) { FactoryBot.create :account, number: 10_000, kind: :debtor }
17
19
 
18
20
  let(:scope) { Keepr::Journal.reorder(:number) }
19
21
 
20
- let(:export) {
22
+ let(:export) do
21
23
  Keepr::JournalExport.new(scope,
22
- 'Berater' => 1234567,
23
- 'Mandant' => 78901,
24
- 'Datum vom' => Date.new(2016,6,1),
25
- 'Datum bis' => Date.new(2016,6,30),
26
- 'WJ-Beginn' => Date.new(2016,1,1),
27
- 'Bezeichnung' => 'Keepr-Buchungen'
28
- ) do |posting|
24
+ 'Berater' => 1_234_567,
25
+ 'Mandant' => 78_901,
26
+ 'Datum vom' => Date.new(2016, 6, 1),
27
+ 'Datum bis' => Date.new(2016, 6, 30),
28
+ 'WJ-Beginn' => Date.new(2016, 1, 1),
29
+ 'Bezeichnung' => 'Keepr-Buchungen') do |posting|
29
30
  { 'Identifikationsnummer' => "ID:#{posting.id}" }
30
31
  end
31
- }
32
+ end
32
33
 
33
34
  describe :to_s do
34
35
  subject { export.to_s }
@@ -37,30 +38,30 @@ describe Keepr::JournalExport do
37
38
  subject.lines[2..-1]
38
39
  end
39
40
 
40
- it "should return CSV lines" do
41
+ it 'should return CSV lines' do
41
42
  expect(subject.lines.count).to eq(2)
42
43
  subject.lines.each { |line| expect(line).to include(';') }
43
44
  end
44
45
 
45
- it "should include header data" do
46
+ it 'should include header data' do
46
47
  expect(subject.lines[0]).to include('1234567;')
47
48
  expect(subject.lines[0]).to include('78901;')
48
49
  expect(subject.lines[0]).to include('20160601;20160630;')
49
50
  expect(subject.lines[0]).to include('"Keepr-Buchungen";')
50
51
  end
51
52
 
52
- context "Journal without tax" do
53
+ context 'Journal without tax' do
53
54
  let!(:journal_without_tax) do
54
55
  Keepr::Journal.create! number: 'BELEG-1',
55
56
  subject: 'Geldautomat',
56
- date: Date.new(2016,06,23),
57
+ date: Date.new(2016, 0o6, 23),
57
58
  keepr_postings_attributes: [
58
59
  { keepr_account: account_1000, amount: 105, side: 'debit' },
59
60
  { keepr_account: account_1200, amount: 105, side: 'credit' }
60
61
  ]
61
62
  end
62
63
 
63
- it "should include data" do
64
+ it 'should include data' do
64
65
  expect(booking_lines.count).to eq(1)
65
66
 
66
67
  expect(booking_lines[0]).to include('"Geldautomat";')
@@ -73,11 +74,11 @@ describe Keepr::JournalExport do
73
74
  end
74
75
  end
75
76
 
76
- context "Journal with tax" do
77
+ context 'Journal with tax' do
77
78
  let!(:journal_with_tax) do
78
79
  Keepr::Journal.create! number: 'BELEG-2',
79
80
  subject: 'Telefonrechnung',
80
- date: Date.new(2016,06,24),
81
+ date: Date.new(2016, 0o6, 24),
81
82
  keepr_postings_attributes: [
82
83
  { keepr_account: account_4920, amount: 8.40, side: 'debit' },
83
84
  { keepr_account: account_1576, amount: 1.60, side: 'debit' },
@@ -85,7 +86,7 @@ describe Keepr::JournalExport do
85
86
  ]
86
87
  end
87
88
 
88
- it "should include data" do
89
+ it 'should include data' do
89
90
  expect(booking_lines.count).to eq(2)
90
91
 
91
92
  expect(booking_lines[0]).to include('"Telefonrechnung";')
@@ -106,22 +107,22 @@ describe Keepr::JournalExport do
106
107
  end
107
108
  end
108
109
 
109
- context "Journal with debtor" do
110
+ context 'Journal with debtor' do
110
111
  let!(:journal_with_debtor) do
111
112
  Keepr::Journal.create! number: 'BELEG-3',
112
113
  subject: 'Warenverkauf mit Anzahlung',
113
- date: Date.new(2016,06,25),
114
+ date: Date.new(2016, 0o6, 25),
114
115
  keepr_postings_attributes: [
115
116
  { keepr_account: account_10000, amount: 4760.00, side: 'debit' },
116
117
  { keepr_account: account_1718, amount: 1000.00, side: 'debit' },
117
- { keepr_account: account_1776, amount: 190.00, side: 'debit' },
118
+ { keepr_account: account_1776, amount: 190.00, side: 'debit' },
118
119
 
119
120
  { keepr_account: account_8400, amount: 5000.00, side: 'credit' },
120
- { keepr_account: account_1776, amount: 950.00, side: 'credit' }
121
+ { keepr_account: account_1776, amount: 950.00, side: 'credit' }
121
122
  ]
122
123
  end
123
124
 
124
- it "should include data" do
125
+ it 'should include data' do
125
126
  expect(booking_lines.count).to eq(4)
126
127
 
127
128
  expect(booking_lines[0]).to include('"Warenverkauf mit Anzahlung";')
@@ -157,7 +158,7 @@ describe Keepr::JournalExport do
157
158
  expect(booking_lines[3]).to include(';0;')
158
159
  end
159
160
 
160
- it "should include data from block" do
161
+ it 'should include data from block' do
161
162
  expect(booking_lines[0]).to include('ID:')
162
163
  expect(booking_lines[1]).to include('ID:')
163
164
  end
@@ -165,7 +166,7 @@ describe Keepr::JournalExport do
165
166
  end
166
167
 
167
168
  describe :to_file do
168
- it "should create CSV file" do
169
+ it 'should create CSV file' do
169
170
  Dir.mktmpdir do |dir|
170
171
  filename = "#{dir}/EXTF_Buchungsstapel.csv"
171
172
  export.to_file(filename)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Keepr::Journal do
@@ -11,17 +13,17 @@ describe Keepr::Journal do
11
13
 
12
14
  let :simple_journal do
13
15
  Keepr::Journal.create keepr_postings_attributes: [
14
- { keepr_account: account_1000, amount: 100.99, side: 'debit' },
15
- { keepr_account: account_1200, amount: 100.99, side: 'credit' }
16
- ]
16
+ { keepr_account: account_1000, amount: 100.99, side: 'debit' },
17
+ { keepr_account: account_1200, amount: 100.99, side: 'credit' }
18
+ ]
17
19
  end
18
20
 
19
21
  let :complex_journal do
20
22
  Keepr::Journal.create keepr_postings_attributes: [
21
- { keepr_account: account_4920, amount: 8.40, side: 'debit' },
22
- { keepr_account: account_1576, amount: 1.60, side: 'debit' },
23
- { keepr_account: account_1600, amount: 10.00, side: 'credit' }
24
- ]
23
+ { keepr_account: account_4920, amount: 8.40, side: 'debit' },
24
+ { keepr_account: account_1576, amount: 1.60, side: 'debit' },
25
+ { keepr_account: account_1600, amount: 10.00, side: 'credit' }
26
+ ]
25
27
  end
26
28
 
27
29
  describe :initialization do
@@ -33,7 +35,7 @@ describe Keepr::Journal do
33
35
 
34
36
  context 'with date given' do
35
37
  it 'should not modify the date' do
36
- old_date = Date.new(2013,10,1)
38
+ old_date = Date.new(2013, 10, 1)
37
39
  expect(Keepr::Journal.new(date: old_date).date).to eq(old_date)
38
40
  end
39
41
  end
@@ -54,53 +56,53 @@ describe Keepr::Journal do
54
56
 
55
57
  it 'should fail for journal with only one posting' do
56
58
  journal = Keepr::Journal.create keepr_postings_attributes: [
57
- { keepr_account: account_4920, amount: 8.40, side: 'debit' }
58
- ]
59
+ { keepr_account: account_4920, amount: 8.40, side: 'debit' }
60
+ ]
59
61
  expect(journal).not_to be_valid
60
- expect(journal.errors.added? :base, :account_missing).to eq(true)
62
+ expect(journal.errors.added?(:base, :account_missing)).to eq(true)
61
63
  end
62
64
 
63
65
  it 'should fail for booking the same account twice' do
64
66
  journal = Keepr::Journal.create keepr_postings_attributes: [
65
- { keepr_account: account_1000, amount: 10, side: 'debit' },
66
- { keepr_account: account_1000, amount: 10, side: 'credit' }
67
- ]
67
+ { keepr_account: account_1000, amount: 10, side: 'debit' },
68
+ { keepr_account: account_1000, amount: 10, side: 'credit' }
69
+ ]
68
70
  expect(journal).not_to be_valid
69
- expect(journal.errors.added? :base, :account_missing).to eq(true)
71
+ expect(journal.errors.added?(:base, :account_missing)).to eq(true)
70
72
  end
71
73
 
72
74
  it 'should fail for unbalanced journal' do
73
75
  journal = Keepr::Journal.create keepr_postings_attributes: [
74
- { keepr_account: account_1000, amount: 10, side: 'debit' },
75
- { keepr_account: account_1200, amount: 10, side: 'debit' }
76
- ]
76
+ { keepr_account: account_1000, amount: 10, side: 'debit' },
77
+ { keepr_account: account_1200, amount: 10, side: 'debit' }
78
+ ]
77
79
  expect(journal).not_to be_valid
78
- expect(journal.errors.added? :base, :amount_mismatch).to eq(true)
80
+ expect(journal.errors.added?(:base, :amount_mismatch)).to eq(true)
79
81
  end
80
82
 
81
83
  it 'should fail for nil amount' do
82
84
  journal = Keepr::Journal.create keepr_postings_attributes: [
83
- { keepr_account: account_1000, amount: 10, side: 'debit' },
84
- { keepr_account: account_1200, amount: nil, side: 'credit' }
85
- ]
85
+ { keepr_account: account_1000, amount: 10, side: 'debit' },
86
+ { keepr_account: account_1200, amount: nil, side: 'credit' }
87
+ ]
86
88
  expect(journal).not_to be_valid
87
- expect(journal.errors.added? :base, :amount_mismatch).to eq(true)
89
+ expect(journal.errors.added?(:base, :amount_mismatch)).to eq(true)
88
90
  end
89
91
  end
90
92
 
91
93
  describe :permanent do
92
94
  before :each do
93
- simple_journal.update_attributes! permanent: true
95
+ simple_journal.update! permanent: true
94
96
  end
95
97
 
96
- it "should not allow update" do
97
- expect(simple_journal.update_attributes subject: 'foo').to eq(false)
98
- expect(simple_journal.errors.added? :base, :changes_not_allowed).to eq(true)
98
+ it 'should not allow update' do
99
+ expect(simple_journal.update(subject: 'foo')).to eq(false)
100
+ expect(simple_journal.errors.added?(:base, :changes_not_allowed)).to eq(true)
99
101
  end
100
102
 
101
- it "should not allow destroy" do
103
+ it 'should not allow destroy' do
102
104
  expect(simple_journal.destroy).to eq(false)
103
- expect(simple_journal.errors.added? :base, :changes_not_allowed).to eq(true)
105
+ expect(simple_journal.errors.added?(:base, :changes_not_allowed)).to eq(true)
104
106
  end
105
107
  end
106
108
 
@@ -111,8 +113,8 @@ describe Keepr::Journal do
111
113
  end
112
114
 
113
115
  it 'should order postings' do
114
- expect(simple_journal.keepr_postings.map(&:side)).to eq(['debit','credit'])
115
- expect(complex_journal.keepr_postings.map(&:side)).to eq(['debit','debit','credit'])
116
+ expect(simple_journal.keepr_postings.map(&:side)).to eq(%w[debit credit])
117
+ expect(complex_journal.keepr_postings.map(&:side)).to eq(%w[debit debit credit])
116
118
  end
117
119
  end
118
120
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Keepr::Posting do
@@ -85,15 +87,15 @@ describe Keepr::Posting do
85
87
  end
86
88
 
87
89
  it 'should fail for negative amount' do
88
- expect {
90
+ expect do
89
91
  Keepr::Posting.new(amount: -10)
90
- }.to raise_error(ArgumentError)
92
+ end.to raise_error(ArgumentError)
91
93
  end
92
94
 
93
95
  it 'should fail for unknown side' do
94
- expect {
96
+ expect do
95
97
  Keepr::Posting.new(side: 'foo')
96
- }.to raise_error(ArgumentError)
98
+ end.to raise_error(ArgumentError)
97
99
  end
98
100
  end
99
101
 
@@ -111,12 +113,12 @@ describe Keepr::Posting do
111
113
  let!(:cost_center) { FactoryBot.create(:cost_center) }
112
114
  let!(:account_8400) { FactoryBot.create(:account, number: 8400, kind: :revenue) }
113
115
 
114
- it "should allow cost_center" do
116
+ it 'should allow cost_center' do
115
117
  posting = Keepr::Posting.new keepr_account: account_8400, amount: 100, keepr_cost_center: cost_center
116
118
  expect(posting).to be_valid
117
119
  end
118
120
 
119
- it "should not allow cost_center" do
121
+ it 'should not allow cost_center' do
120
122
  posting = Keepr::Posting.new keepr_account: account_1000, amount: 100, keepr_cost_center: cost_center
121
123
  expect(posting).to_not be_valid
122
124
  end
@@ -1,20 +1,27 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
+
2
3
  require 'spec_helper'
3
4
 
4
5
  describe Keepr::Tax do
5
- let!(:tax_account) { Keepr::Account.create! number: 1776,
6
- name: 'Umsatzsteuer 19%',
7
- kind: :asset }
6
+ let!(:tax_account) do
7
+ Keepr::Account.create! number: 1776,
8
+ name: 'Umsatzsteuer 19%',
9
+ kind: :asset
10
+ end
8
11
 
9
- let!(:tax) { Keepr::Tax.create! name: 'USt19',
10
- description: 'Umsatzsteuer 19%',
11
- value: 19.0,
12
- keepr_account: tax_account }
12
+ let!(:tax) do
13
+ Keepr::Tax.create! name: 'USt19',
14
+ description: 'Umsatzsteuer 19%',
15
+ value: 19.0,
16
+ keepr_account: tax_account
17
+ end
13
18
 
14
- let!(:account) { Keepr::Account.create! number: 8400,
15
- name: 'Erlöse 19% USt',
16
- kind: :revenue,
17
- keepr_tax: tax }
19
+ let!(:account) do
20
+ Keepr::Account.create! number: 8400,
21
+ name: 'Erlöse 19% USt',
22
+ kind: :revenue,
23
+ keepr_tax: tax
24
+ end
18
25
 
19
26
  it 'should be direct linked from account' do
20
27
  expect(tax.keepr_accounts).to eq([account])
@@ -22,12 +29,12 @@ describe Keepr::Tax do
22
29
  expect(tax_account.keepr_tax).to eq(nil)
23
30
  end
24
31
 
25
- it "should be reverse found from account" do
32
+ it 'should be reverse found from account' do
26
33
  expect(tax_account.keepr_taxes).to eq([tax])
27
34
  expect(account.keepr_taxes).to eq([])
28
35
  end
29
36
 
30
- it "should avoid circular reference" do
37
+ it 'should avoid circular reference' do
31
38
  tax.keepr_account = account
32
39
  expect(tax).to be_invalid
33
40
  expect(tax.errors[:keepr_account_id]).to be_present
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'simplecov'
2
4
  require 'coveralls'
3
5
 
4
6
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
5
- SimpleCov::Formatter::HTMLFormatter,
6
- Coveralls::SimpleCov::Formatter
7
- ])
7
+ SimpleCov::Formatter::HTMLFormatter,
8
+ Coveralls::SimpleCov::Formatter
9
+ ])
8
10
  SimpleCov.start do
9
11
  add_filter '/spec/'
10
12
  end
@@ -27,7 +29,7 @@ I18n.enforce_available_locales = false
27
29
 
28
30
  # Requires supporting ruby files with custom matchers and macros, etc,
29
31
  # in spec/support/ and its subdirectories.
30
- Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}
32
+ Dir[File.expand_path(File.join(File.dirname(__FILE__), 'support', '**', '*.rb'))].each { |f| require f }
31
33
 
32
34
  # This file was generated by the `rspec --init` command. Conventionally, all
33
35
  # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
@@ -63,4 +65,3 @@ RSpec.configure do |config|
63
65
  DatabaseCleaner.clean
64
66
  end
65
67
  end
66
-
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class Contact < ActiveRecord::Base
2
4
  has_many_keepr_accounts
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class Document < ActiveRecord::Base
2
4
  has_keepr_journals
3
5
  has_keepr_postings
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class Ledger < ActiveRecord::Base
2
4
  has_one_keepr_account
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class SpecMigration < Keepr::MIGRATION_BASE_CLASS
2
4
  def self.up
3
5
  create_table Contact, force: true do |t|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keepr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Ledermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-24 00:00:00.000000000 Z
11
+ date: 2019-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.1'
19
+ version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '4.1'
26
+ version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ancestry
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rake
70
+ name: coveralls
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: sqlite3
84
+ name: database_cleaner
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: rspec
98
+ name: factory_bot
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: database_cleaner
112
+ name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -123,7 +123,7 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: factory_bot
126
+ name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
@@ -137,7 +137,7 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: coveralls
140
+ name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
@@ -164,6 +164,20 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: sqlite3
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
167
181
  description: Double entry bookkeeping with Rails
168
182
  email: mail@georg-ledermann.de
169
183
  executables: []
@@ -171,16 +185,17 @@ extensions: []
171
185
  extra_rdoc_files: []
172
186
  files:
173
187
  - ".gitignore"
188
+ - ".rubocop.yml"
174
189
  - ".travis.yml"
175
190
  - Gemfile
176
191
  - LICENSE.txt
177
192
  - README.md
178
193
  - Rakefile
179
- - ci/Gemfile-rails-4-1
180
194
  - ci/Gemfile-rails-4-2
181
195
  - ci/Gemfile-rails-5-0
182
196
  - ci/Gemfile-rails-5-1
183
197
  - ci/Gemfile-rails-5-2
198
+ - ci/Gemfile-rails-6-0
184
199
  - keepr.gemspec
185
200
  - lib/generators/keepr/migration/migration_generator.rb
186
201
  - lib/generators/keepr/migration/templates/migration.rb
@@ -233,15 +248,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
233
248
  requirements:
234
249
  - - ">="
235
250
  - !ruby/object:Gem::Version
236
- version: 2.2.2
251
+ version: '2.4'
237
252
  required_rubygems_version: !ruby/object:Gem::Requirement
238
253
  requirements:
239
254
  - - ">="
240
255
  - !ruby/object:Gem::Version
241
256
  version: '0'
242
257
  requirements: []
243
- rubyforge_project:
244
- rubygems_version: 2.7.6
258
+ rubygems_version: 3.0.6
245
259
  signing_key:
246
260
  specification_version: 4
247
261
  summary: Some basic ActiveRecord models to build a double entry bookkeeping application