keepr 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +44 -0
- data/.travis.yml +9 -9
- data/Gemfile +2 -0
- data/LICENSE.txt +1 -1
- data/README.md +3 -3
- data/Rakefile +2 -0
- data/ci/Gemfile-rails-4-2 +3 -2
- data/ci/Gemfile-rails-5-0 +3 -2
- data/ci/Gemfile-rails-5-1 +3 -2
- data/ci/Gemfile-rails-5-2 +3 -2
- data/ci/{Gemfile-rails-4-1 → Gemfile-rails-6-0} +3 -2
- data/keepr.gemspec +14 -12
- data/lib/generators/keepr/migration/migration_generator.rb +5 -3
- data/lib/generators/keepr/migration/templates/migration.rb +2 -0
- data/lib/keepr.rb +6 -4
- data/lib/keepr/account.rb +37 -37
- data/lib/keepr/account_export.rb +10 -14
- data/lib/keepr/active_record_extension.rb +4 -2
- data/lib/keepr/contact_export.rb +6 -7
- data/lib/keepr/cost_center.rb +2 -0
- data/lib/keepr/group.rb +21 -20
- data/lib/keepr/groups_creator.rb +7 -7
- data/lib/keepr/journal.rb +14 -11
- data/lib/keepr/journal_export.rb +9 -6
- data/lib/keepr/posting.rb +21 -16
- data/lib/keepr/tax.rb +2 -0
- data/lib/keepr/version.rb +3 -1
- data/spec/factories/account.rb +5 -3
- data/spec/factories/cost_center.rb +4 -2
- data/spec/factories/group.rb +4 -2
- data/spec/factories/tax.rb +5 -3
- data/spec/keepr/account_export_spec.rb +22 -19
- data/spec/keepr/account_spec.rb +47 -42
- data/spec/keepr/active_record_extension_spec.rb +20 -18
- data/spec/keepr/contact_export_spec.rb +17 -14
- data/spec/keepr/cost_center_spec.rb +2 -0
- data/spec/keepr/group_spec.rb +39 -35
- data/spec/keepr/groups_creator_spec.rb +7 -4
- data/spec/keepr/journal_export_spec.rb +26 -25
- data/spec/keepr/journal_spec.rb +33 -31
- data/spec/keepr/posting_spec.rb +8 -6
- data/spec/keepr/tax_spec.rb +21 -14
- data/spec/spec_helper.rb +6 -5
- data/spec/support/contact.rb +2 -0
- data/spec/support/document.rb +2 -0
- data/spec/support/ledger.rb +2 -0
- data/spec/support/spec_migration.rb +2 -0
- 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:
|
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
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
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
|
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
|
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,
|
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
|
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
|
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,
|
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
|
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
|
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,
|
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:
|
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:
|
121
|
+
{ keepr_account: account_1776, amount: 950.00, side: 'credit' }
|
121
122
|
]
|
122
123
|
end
|
123
124
|
|
124
|
-
it
|
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
|
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
|
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)
|
data/spec/keepr/journal_spec.rb
CHANGED
@@ -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
|
-
|
15
|
-
|
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
|
-
|
22
|
-
|
23
|
-
|
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
|
-
|
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?
|
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
|
-
|
66
|
-
|
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?
|
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
|
-
|
75
|
-
|
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?
|
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
|
-
|
84
|
-
|
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?
|
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.
|
95
|
+
simple_journal.update! permanent: true
|
94
96
|
end
|
95
97
|
|
96
|
-
it
|
97
|
-
expect(simple_journal.
|
98
|
-
expect(simple_journal.errors.added?
|
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
|
103
|
+
it 'should not allow destroy' do
|
102
104
|
expect(simple_journal.destroy).to eq(false)
|
103
|
-
expect(simple_journal.errors.added?
|
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([
|
115
|
-
expect(complex_journal.keepr_postings.map(&:side)).to eq([
|
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
|
|
data/spec/keepr/posting_spec.rb
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|
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
|
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
|
data/spec/keepr/tax_spec.rb
CHANGED
@@ -1,20 +1,27 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
2
3
|
require 'spec_helper'
|
3
4
|
|
4
5
|
describe Keepr::Tax do
|
5
|
-
let!(:tax_account)
|
6
|
-
|
7
|
-
|
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)
|
10
|
-
|
11
|
-
|
12
|
-
|
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)
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|
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
|
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
|
data/spec/spec_helper.rb
CHANGED
@@ -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
|
-
|
6
|
-
|
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
|
-
|
data/spec/support/contact.rb
CHANGED
data/spec/support/document.rb
CHANGED
data/spec/support/ledger.rb
CHANGED
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
|
+
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:
|
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.
|
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.
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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.
|
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
|
-
|
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
|