keepr 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,19 +2,19 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe Keepr::Tax do
5
- let!(:tax_account) { Keepr::Account.create! :number => 1776,
6
- :name => 'Umsatzsteuer 19%',
7
- :kind => :asset }
5
+ let!(:tax_account) { Keepr::Account.create! number: 1776,
6
+ name: 'Umsatzsteuer 19%',
7
+ kind: :asset }
8
8
 
9
- let!(:tax) { Keepr::Tax.create! :name => 'USt19',
10
- :description => 'Umsatzsteuer 19%',
11
- :value => 19.0,
12
- :keepr_account => tax_account }
9
+ let!(:tax) { Keepr::Tax.create! name: 'USt19',
10
+ description: 'Umsatzsteuer 19%',
11
+ value: 19.0,
12
+ keepr_account: tax_account }
13
13
 
14
- let!(:account) { Keepr::Account.create! :number => 8400,
15
- :name => 'Erlöse 19% USt',
16
- :kind => :revenue,
17
- :keepr_tax => tax }
14
+ let!(:account) { Keepr::Account.create! number: 8400,
15
+ name: 'Erlöse 19% USt',
16
+ kind: :revenue,
17
+ keepr_tax: tax }
18
18
 
19
19
  it 'should be direct linked from account' do
20
20
  expect(tax.keepr_accounts).to eq([account])
@@ -19,8 +19,8 @@ require 'database_cleaner'
19
19
  require 'keepr'
20
20
  require 'generators/keepr/migration/templates/migration.rb'
21
21
 
22
- require 'factory_girl'
23
- FactoryGirl.find_definitions
22
+ require 'factory_bot'
23
+ FactoryBot.find_definitions
24
24
 
25
25
  # Avoid warning message
26
26
  I18n.enforce_available_locales = false
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.3.2
4
+ version: 0.4.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: 2017-04-29 00:00:00.000000000 Z
11
+ date: 2018-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -123,7 +123,7 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: factory_girl
126
+ name: factory_bot
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
@@ -180,6 +180,7 @@ files:
180
180
  - ci/Gemfile-rails-4-2
181
181
  - ci/Gemfile-rails-5-0
182
182
  - ci/Gemfile-rails-5-1
183
+ - ci/Gemfile-rails-5-2
183
184
  - keepr.gemspec
184
185
  - lib/generators/keepr/migration/migration_generator.rb
185
186
  - lib/generators/keepr/migration/templates/migration.rb
@@ -232,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
232
233
  requirements:
233
234
  - - ">="
234
235
  - !ruby/object:Gem::Version
235
- version: 2.0.0
236
+ version: 2.2.2
236
237
  required_rubygems_version: !ruby/object:Gem::Requirement
237
238
  requirements:
238
239
  - - ">="
@@ -240,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
241
  version: '0'
241
242
  requirements: []
242
243
  rubyforge_project:
243
- rubygems_version: 2.6.11
244
+ rubygems_version: 2.7.6
244
245
  signing_key:
245
246
  specification_version: 4
246
247
  summary: Some basic ActiveRecord models to build a double entry bookkeeping application