vorpal 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -0
  3. data/.travis.yml +18 -0
  4. data/Appraisals +7 -23
  5. data/README.md +27 -31
  6. data/Rakefile +32 -3
  7. data/docker-compose.yml +19 -0
  8. data/gemfiles/rails_5_1.gemfile +1 -1
  9. data/gemfiles/rails_5_1.gemfile.lock +27 -14
  10. data/gemfiles/rails_5_2.gemfile +1 -1
  11. data/gemfiles/rails_5_2.gemfile.lock +27 -14
  12. data/gemfiles/rails_6_0.gemfile +9 -0
  13. data/gemfiles/{rails_5_0.gemfile.lock → rails_6_0.gemfile.lock} +47 -34
  14. data/lib/vorpal/dsl/config_builder.rb +37 -22
  15. data/lib/vorpal/dsl/defaults_generator.rb +14 -4
  16. data/lib/vorpal/identity_map.rb +15 -14
  17. data/lib/vorpal/version.rb +1 -1
  18. data/spec/{vorpal/acceptance → acceptance/vorpal}/aggregate_mapper_spec.rb +0 -1
  19. data/spec/helpers/codecov_helper.rb +7 -0
  20. data/spec/helpers/db_helpers.rb +12 -9
  21. data/spec/{vorpal/integration → integration/vorpal}/driver/postgresql_spec.rb +0 -0
  22. data/spec/integration_spec_helper.rb +9 -16
  23. data/spec/{vorpal/performance → performance/vorpal}/performance_spec.rb +71 -1
  24. data/spec/{vorpal/unit → unit/vorpal}/configs_spec.rb +0 -0
  25. data/spec/{vorpal/unit → unit/vorpal}/db_loader_spec.rb +0 -0
  26. data/spec/{vorpal/unit → unit/vorpal}/dsl/config_builder_spec.rb +0 -0
  27. data/spec/{vorpal/unit → unit/vorpal}/dsl/defaults_generator_spec.rb +0 -0
  28. data/spec/{vorpal/unit → unit/vorpal}/identity_map_spec.rb +3 -3
  29. data/spec/{vorpal/unit → unit/vorpal}/loaded_objects_spec.rb +0 -0
  30. data/spec/{vorpal/unit → unit/vorpal}/util/string_utils_spec.rb +0 -0
  31. data/spec/unit_spec_helper.rb +1 -0
  32. data/vorpal.gemspec +6 -5
  33. metadata +59 -45
  34. data/gemfiles/rails_4_1.gemfile +0 -11
  35. data/gemfiles/rails_4_1.gemfile.lock +0 -92
  36. data/gemfiles/rails_4_2.gemfile +0 -11
  37. data/gemfiles/rails_4_2.gemfile.lock +0 -90
  38. data/gemfiles/rails_5_0.gemfile +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2bd60707eb3762666ed0ada9c456b5d54fbc73ca5d56eda9febd1c540ffc754
4
- data.tar.gz: a17bf33069fe5d44d2a9577da2d7e5457a18ab0703b7dfe14d67fc22f6f7d76c
3
+ metadata.gz: 6567d89919ba2836790c9d13fa729c43c21723fbcfa12ef8f77be2552e3f5df5
4
+ data.tar.gz: 3b5ebeea70138f7cf6e4e68c0e21d4024e3732c1cf6cbe1f04054a03fab815d0
5
5
  SHA512:
6
- metadata.gz: 8a9b2b133c7db7523153b290d3422e84db785856a12d37d863608f017366dd0f06ddad3e4f9b261e28a6c7cd66a72dc54c52b05425715146165d7573118b84bc
7
- data.tar.gz: da8970a533f9fce8e3cd3b3bcdd2464abd2b6c8fa0cb06fd8ced941d6c61115cea3df3523679a01722dcd7e641503628b76140bd553b0e167623021bd7e937fe
6
+ metadata.gz: 7f991b2d7a25ebf9d85bc7a2af59c02e7105ff981724372167e13e6a30ffcd4a9bfdcd7db5a886b22bbbd9c86e52065a69a9e8c072e805420d16b1cdb4ed0151
7
+ data.tar.gz: 5bdcb19c91b9ce1de724caa2231d86903e472d65ebd6a47a7fe39c705b31437b6b797e9a0df70c841251581ea882a5d0a33c1fdc236030fe951fc9bb1cf3c723
@@ -0,0 +1 @@
1
+ 2.7.0
@@ -0,0 +1,18 @@
1
+ language: ruby
2
+ services:
3
+ - postgresql
4
+ matrix:
5
+ include:
6
+ - rvm: 2.5.7
7
+ gemfile: gemfiles/rails_5_1.gemfile
8
+ - rvm: 2.6
9
+ gemfile: gemfiles/rails_5_1.gemfile
10
+ - rvm: 2.6
11
+ gemfile: gemfiles/rails_5_2.gemfile
12
+ - rvm: 2.7
13
+ gemfile: gemfiles/rails_6_0.gemfile
14
+ cache:
15
+ - bundler
16
+ script: "bundle exec rake"
17
+ env:
18
+ - CODECOV_TOKEN="fab4ddb8-ba2c-47cb-a407-941209ad54a4"
data/Appraisals CHANGED
@@ -1,34 +1,18 @@
1
- appraise "rails-4-1" do
2
- ruby ">= 2.1.6"
3
- gem "activerecord", "~> 4.1.0"
4
- gem "pg", "~> 0.17.0"
5
- gem "activerecord-import", "~> 0.10.0"
1
+ appraise "rails-6-0" do
2
+ ruby ">= 2.7.0"
3
+ gem "activerecord", "~> 6.0.0"
6
4
  end
7
5
 
8
- appraise "rails-4-2" do
9
- ruby ">= 2.1.6"
10
- gem "activerecord", "~> 4.2.0"
11
- gem "pg", "~> 0.17.0"
12
- gem "activerecord-import", "~> 0.10.0"
13
- end
14
-
15
- appraise "rails-5-0" do
16
- ruby ">= 2.2.2"
17
- gem "activerecord", "~> 5.0.0"
6
+ appraise "rails-5-2" do
7
+ ruby ">= 2.5.7"
8
+ gem "activerecord", "~> 5.2.0"
18
9
  gem "pg", "~> 0.18.0"
19
10
  gem "activerecord-import", "= 0.13.0"
20
11
  end
21
12
 
22
13
  appraise "rails-5-1" do
23
- ruby ">= 2.2.2"
14
+ ruby ">= 2.5.7"
24
15
  gem "activerecord", "~> 5.1.0"
25
16
  gem "pg", "~> 0.18.0"
26
17
  gem "activerecord-import", "= 0.13.0"
27
18
  end
28
-
29
- appraise "rails-5-2" do
30
- ruby ">= 2.2.2"
31
- gem "activerecord", "~> 5.2.0"
32
- gem "pg", "~> 0.18.0"
33
- gem "activerecord-import", "= 0.13.0"
34
- end
data/README.md CHANGED
@@ -1,16 +1,13 @@
1
- # Vorpal [![Build Status](https://travis-ci.org/nulogy/vorpal.svg?branch=master)](https://travis-ci.org/nulogy/vorpal) [![Code Climate](https://codeclimate.com/github/nulogy/vorpal/badges/gpa.svg)](https://codeclimate.com/github/nulogy/vorpal)
1
+ # Vorpal [![Build Status](https://travis-ci.org/nulogy/vorpal.svg?branch=master)](https://travis-ci.org/nulogy/vorpal) [![Code Climate](https://codeclimate.com/github/nulogy/vorpal/badges/gpa.svg)](https://codeclimate.com/github/nulogy/vorpal) [![Code Coverage](https://codecov.io/gh/nulogy/vorpal/branch/master/graph/badge.svg)](https://codecov.io/gh/nulogy/vorpal/branch/master/graph/badge.svg)
2
2
 
3
3
  Separate your domain model from your persistence mechanism. Some problems call for a really sharp tool.
4
4
 
5
-
6
- > One, two! One, two! and through and through
7
-
8
- > The vorpal blade went snicker-snack!
9
-
10
- > He left it dead, and with its head
11
-
5
+ > One, two! One, two! and through and through<br/>
6
+ > The vorpal blade went snicker-snack!<br/>
7
+ > He left it dead, and with its head<br/>
12
8
  > He went galumphing back.
13
9
 
10
+ \- [Jabberwocky](https://www.poetryfoundation.org/poems/42916/jabberwocky) by Lewis Carroll
14
11
 
15
12
  ## Overview
16
13
  Vorpal is a [Data Mapper](http://martinfowler.com/eaaCatalog/dataMapper.html)-style ORM (object relational mapper) framelet that persists POROs (plain old Ruby objects) to a relational DB. It has been heavily influenced by concepts from [Domain Driven Design](http://www.infoq.com/minibooks/domain-driven-design-quickly).
@@ -143,7 +140,8 @@ module TreeRepository
143
140
  end
144
141
  ```
145
142
 
146
- Here we've used the `owned` flag on the `belongs_to` from the Tree to the Gardener to show that the Gardener is on the aggregate boundary.
143
+ Here we've used the `owned: false` flag on the `belongs_to` from the Tree to the Gardener to show
144
+ that the Gardener is on the aggregate boundary.
147
145
 
148
146
  And use it:
149
147
 
@@ -174,7 +172,7 @@ It also does not do some things that you might expect from other ORMs:
174
172
  1. No lazy loading of associations. This might sound like a big deal, but with [correctly designed aggregates](http://dddcommunity.org/library/vernon_2011/) it turns out not to be.
175
173
  1. No managing of transactions. It is the strong opinion of the authors that managing transactions is an application-level concern.
176
174
  1. No support for validations. Validations are not a persistence concern.
177
- 1. No AR-style callbacks. Use Infrastructure, Application, or Domain [services](http://martinfowler.com/bliki/EvansClassification.html) instead.
175
+ 1. No AR-style callbacks. Use [Infrastructure, Application, or Domain services](http://martinfowler.com/bliki/EvansClassification.html) instead.
178
176
  1. No has-many-through associations. Use two has-many associations to a join entity instead.
179
177
  1. The `id` attribute is reserved for database primary keys. If you have a natural key/id on your domain model, name it something that makes sense for your domain. It is the strong opinion of the authors that using natural keys as foreign keys is a bad idea. This mixes domain and persistence concerns.
180
178
 
@@ -239,33 +237,31 @@ For example:
239
237
  4. Push to the branch (`git push origin my-new-feature`)
240
238
  5. Create a new Pull Request
241
239
 
242
- ### Setup DirEnv
243
-
244
- Using this gem's bin stubs (contained in the `bin` dir) is much easier if [DirEnv](https://github.com/direnv/direnv) is installed.
245
-
246
- On OSX using ZSH DirEnv can be installed like so:
247
-
248
- 1. `brew install direnv`
249
- 2. `echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc`
240
+ ## OSX Environment setup
250
241
 
251
- Please see the [DirEnv docs](https://direnv.net/) if your environment is different.
242
+ 1. Install [Homebrew](https://brew.sh/)
243
+ 2. Install [rbenv](https://github.com/rbenv/rbenv#installation) ([RVM](https://rvm.io/) can work too)
244
+ 3. Install [DirEnv](https://direnv.net/docs/installation.html) (`brew install direnv`)
245
+ 4. Install Docker Desktop Community Edition (`brew cask install docker`)
246
+ 5. Start Docker Desktop Community Edition (`CMD+space docker ENTER`)
247
+ 6. Install Ruby (`rbenv install 2.7.0`)
248
+ 7. Install PostgreSQL (`brew install postgresql`)
249
+ 8. Clone the repo (`git clone git@github.com:nulogy/vorpal.git`) and `cd` to the project root.
250
+ 8. Copy the contents of `gemfiles/rails_<version>.gemfile.lock` into a `Gemfile.lock` file
251
+ at the root of the project. (`cp gemfiles/rails_6_0.gemfile.lock gemfile.lock`)
252
+ 9. `bundle`
252
253
 
253
254
  ### Running Tests
254
255
 
255
- 1. Start a PostgreSQL server.
256
- 2. Either:
257
- * Create a DB user called `vorpal` with password `pass`. OR:
258
- * Modify `spec/helpers/db_helpers.rb`.
259
- 3. Run `rake` from the terminal.
256
+ 1. Start a PostgreSQL server using `docker-compose up`
257
+ 3. Run `rake` from the terminal to run all specs or `rspec <path to spec file>` to
258
+ run a single spec.
260
259
 
261
- ### Running Tests for the non-default versions of Rails
260
+ ### Running Tests for a specific version of Rails
262
261
 
263
- 1. Start a PostgreSQL server.
264
- 2. Either:
265
- * Create a DB user called `vorpal` with password `pass`. OR:
266
- * Modify `spec/helpers/db_helpers.rb`.
267
- 3. Run `appraisal <rails version> rake` from the terminal.
268
- * Where `<rails version>` is one of the options defined in the `./Appraisal` file.
262
+ 1. Start a PostgreSQL server using `docker-compose up`
263
+ 2. Run `appraisal rails-5-2 rake` from the terminal to run all specs or
264
+ `appraisal rails-5-2 rspec <path to spec file>` to run a single spec.
269
265
 
270
266
  Please see the [Appraisal gem docs](https://github.com/thoughtbot/appraisal) for more information.
271
267
 
data/Rakefile CHANGED
@@ -5,6 +5,35 @@ rescue LoadError
5
5
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks associated with creating new versions of the gem.'
6
6
  end
7
7
 
8
- require 'rspec/core/rake_task'
9
- RSpec::Core::RakeTask.new(:spec)
10
- task :default => :spec
8
+ begin
9
+ require 'rspec/core/rake_task'
10
+
11
+ namespace :spec do
12
+ RSpec::Core::RakeTask.new(:acceptance) do |t|
13
+ t.pattern = "spec/acceptance/**/*_spec.rb"
14
+ end
15
+
16
+ RSpec::Core::RakeTask.new(:integration) do |t|
17
+ t.pattern = "spec/integration/**/*_spec.rb"
18
+ end
19
+
20
+ RSpec::Core::RakeTask.new(:performance) do |t|
21
+ t.pattern = "spec/performance/**/*_spec.rb"
22
+ end
23
+
24
+ RSpec::Core::RakeTask.new(:unit) do |t|
25
+ t.pattern = "spec/unit/**/*_spec.rb"
26
+ end
27
+
28
+ desc "Run all non-performance related specs"
29
+ task non_perf: [:unit, :integration, :acceptance]
30
+
31
+ desc "Run all specs"
32
+ task all: [:acceptance, :integration, :unit, :performance]
33
+ end
34
+
35
+ task default: :'spec:all'
36
+ rescue LoadError
37
+ # Allow the Rakefile to be used in environments where the RSpec gem is unavailable
38
+ # (e.g. Production)
39
+ end
@@ -0,0 +1,19 @@
1
+ version: "3.6"
2
+
3
+ services:
4
+ vorpal_postgres:
5
+ hostname: vorpal_postgres
6
+ command: -p 55433
7
+ image: postgres:11.4
8
+ ports:
9
+ - "55433:55433"
10
+ volumes:
11
+ - vorpal_postgres_volume:/var/lib/postgresql/data
12
+ environment:
13
+ POSTGRES_USER: vorpal
14
+ POSTGRES_PASSWORD: pass
15
+ POSTGRES_DB: vorpal_development
16
+ restart: unless-stopped
17
+
18
+ volumes:
19
+ vorpal_postgres_volume:
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- ruby ">= 2.2.2"
5
+ ruby ">= 2.5.7"
6
6
 
7
7
  gem "activerecord", "~> 5.1.0"
8
8
  gem "pg", "~> 0.18.0"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- vorpal (1.0.0)
4
+ vorpal (1.0.1)
5
5
  activesupport
6
6
  equalizer
7
7
  simple_serializer (~> 1.0)
@@ -9,15 +9,15 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activemodel (5.1.6)
13
- activesupport (= 5.1.6)
14
- activerecord (5.1.6)
15
- activemodel (= 5.1.6)
16
- activesupport (= 5.1.6)
12
+ activemodel (5.1.7)
13
+ activesupport (= 5.1.7)
14
+ activerecord (5.1.7)
15
+ activemodel (= 5.1.7)
16
+ activesupport (= 5.1.7)
17
17
  arel (~> 8.0)
18
18
  activerecord-import (0.13.0)
19
19
  activerecord (>= 3.0)
20
- activesupport (5.1.6)
20
+ activesupport (5.1.7)
21
21
  concurrent-ruby (~> 1.0, >= 1.0.2)
22
22
  i18n (>= 0.7, < 2)
23
23
  minitest (~> 5.1)
@@ -31,17 +31,23 @@ GEM
31
31
  descendants_tracker (~> 0.0.4)
32
32
  ice_nine (~> 0.11.0)
33
33
  thread_safe (~> 0.3, >= 0.3.1)
34
+ codecov (0.1.16)
35
+ json
36
+ simplecov
37
+ url
34
38
  coercible (1.0.0)
35
39
  descendants_tracker (~> 0.0.1)
36
- concurrent-ruby (1.0.5)
40
+ concurrent-ruby (1.1.5)
37
41
  descendants_tracker (0.0.4)
38
42
  thread_safe (~> 0.3, >= 0.3.1)
39
43
  diff-lcs (1.3)
44
+ docile (1.3.2)
40
45
  equalizer (0.0.11)
41
- i18n (1.1.0)
46
+ i18n (1.8.2)
42
47
  concurrent-ruby (~> 1.0)
43
48
  ice_nine (0.11.2)
44
- minitest (5.11.3)
49
+ json (2.3.0)
50
+ minitest (5.14.0)
45
51
  pg (0.18.4)
46
52
  rake (10.5.0)
47
53
  rspec (3.8.0)
@@ -58,10 +64,16 @@ GEM
58
64
  rspec-support (~> 3.8.0)
59
65
  rspec-support (3.8.0)
60
66
  simple_serializer (1.0.2)
67
+ simplecov (0.17.1)
68
+ docile (~> 1.1)
69
+ json (>= 1.8, < 3)
70
+ simplecov-html (~> 0.10.0)
71
+ simplecov-html (0.10.2)
61
72
  thor (0.20.0)
62
73
  thread_safe (0.3.6)
63
- tzinfo (1.2.5)
74
+ tzinfo (1.2.6)
64
75
  thread_safe (~> 0.1)
76
+ url (0.3.2)
65
77
  virtus (1.0.5)
66
78
  axiom-types (~> 0.1)
67
79
  coercible (~> 1.0)
@@ -75,14 +87,15 @@ DEPENDENCIES
75
87
  activerecord (~> 5.1.0)
76
88
  activerecord-import (= 0.13.0)
77
89
  appraisal (~> 2.2)
90
+ codecov
78
91
  pg (~> 0.18.0)
79
- rake (~> 10.0)
92
+ rake (~> 10)
80
93
  rspec (~> 3.0)
81
94
  virtus (~> 1.0)
82
95
  vorpal!
83
96
 
84
97
  RUBY VERSION
85
- ruby 2.3.3p222
98
+ ruby 2.6.3p62
86
99
 
87
100
  BUNDLED WITH
88
- 1.16.2
101
+ 1.17.2
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- ruby ">= 2.2.2"
5
+ ruby ">= 2.5.7"
6
6
 
7
7
  gem "activerecord", "~> 5.2.0"
8
8
  gem "pg", "~> 0.18.0"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- vorpal (1.0.0)
4
+ vorpal (1.0.1)
5
5
  activesupport
6
6
  equalizer
7
7
  simple_serializer (~> 1.0)
@@ -9,15 +9,15 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activemodel (5.2.1)
13
- activesupport (= 5.2.1)
14
- activerecord (5.2.1)
15
- activemodel (= 5.2.1)
16
- activesupport (= 5.2.1)
12
+ activemodel (5.2.4.1)
13
+ activesupport (= 5.2.4.1)
14
+ activerecord (5.2.4.1)
15
+ activemodel (= 5.2.4.1)
16
+ activesupport (= 5.2.4.1)
17
17
  arel (>= 9.0)
18
18
  activerecord-import (0.13.0)
19
19
  activerecord (>= 3.0)
20
- activesupport (5.2.1)
20
+ activesupport (5.2.4.1)
21
21
  concurrent-ruby (~> 1.0, >= 1.0.2)
22
22
  i18n (>= 0.7, < 2)
23
23
  minitest (~> 5.1)
@@ -31,17 +31,23 @@ GEM
31
31
  descendants_tracker (~> 0.0.4)
32
32
  ice_nine (~> 0.11.0)
33
33
  thread_safe (~> 0.3, >= 0.3.1)
34
+ codecov (0.1.16)
35
+ json
36
+ simplecov
37
+ url
34
38
  coercible (1.0.0)
35
39
  descendants_tracker (~> 0.0.1)
36
- concurrent-ruby (1.0.5)
40
+ concurrent-ruby (1.1.5)
37
41
  descendants_tracker (0.0.4)
38
42
  thread_safe (~> 0.3, >= 0.3.1)
39
43
  diff-lcs (1.3)
44
+ docile (1.3.2)
40
45
  equalizer (0.0.11)
41
- i18n (1.1.0)
46
+ i18n (1.8.2)
42
47
  concurrent-ruby (~> 1.0)
43
48
  ice_nine (0.11.2)
44
- minitest (5.11.3)
49
+ json (2.3.0)
50
+ minitest (5.14.0)
45
51
  pg (0.18.4)
46
52
  rake (10.5.0)
47
53
  rspec (3.8.0)
@@ -58,10 +64,16 @@ GEM
58
64
  rspec-support (~> 3.8.0)
59
65
  rspec-support (3.8.0)
60
66
  simple_serializer (1.0.2)
67
+ simplecov (0.17.1)
68
+ docile (~> 1.1)
69
+ json (>= 1.8, < 3)
70
+ simplecov-html (~> 0.10.0)
71
+ simplecov-html (0.10.2)
61
72
  thor (0.20.0)
62
73
  thread_safe (0.3.6)
63
- tzinfo (1.2.5)
74
+ tzinfo (1.2.6)
64
75
  thread_safe (~> 0.1)
76
+ url (0.3.2)
65
77
  virtus (1.0.5)
66
78
  axiom-types (~> 0.1)
67
79
  coercible (~> 1.0)
@@ -75,14 +87,15 @@ DEPENDENCIES
75
87
  activerecord (~> 5.2.0)
76
88
  activerecord-import (= 0.13.0)
77
89
  appraisal (~> 2.2)
90
+ codecov
78
91
  pg (~> 0.18.0)
79
- rake (~> 10.0)
92
+ rake (~> 10)
80
93
  rspec (~> 3.0)
81
94
  virtus (~> 1.0)
82
95
  vorpal!
83
96
 
84
97
  RUBY VERSION
85
- ruby 2.3.3p222
98
+ ruby 2.6.3p62
86
99
 
87
100
  BUNDLED WITH
88
- 1.16.2
101
+ 1.17.2
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ ruby ">= 2.7.0"
6
+
7
+ gem "activerecord", "~> 6.0.0"
8
+
9
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- vorpal (1.0.0)
4
+ vorpal (1.0.1)
5
5
  activesupport
6
6
  equalizer
7
7
  simple_serializer (~> 1.0)
@@ -9,80 +9,93 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activemodel (5.0.7)
13
- activesupport (= 5.0.7)
14
- activerecord (5.0.7)
15
- activemodel (= 5.0.7)
16
- activesupport (= 5.0.7)
17
- arel (~> 7.0)
18
- activerecord-import (0.13.0)
19
- activerecord (>= 3.0)
20
- activesupport (5.0.7)
12
+ activemodel (6.0.2.1)
13
+ activesupport (= 6.0.2.1)
14
+ activerecord (6.0.2.1)
15
+ activemodel (= 6.0.2.1)
16
+ activesupport (= 6.0.2.1)
17
+ activerecord-import (1.0.4)
18
+ activerecord (>= 3.2)
19
+ activesupport (6.0.2.1)
21
20
  concurrent-ruby (~> 1.0, >= 1.0.2)
22
21
  i18n (>= 0.7, < 2)
23
22
  minitest (~> 5.1)
24
23
  tzinfo (~> 1.1)
24
+ zeitwerk (~> 2.2)
25
25
  appraisal (2.2.0)
26
26
  bundler
27
27
  rake
28
28
  thor (>= 0.14.0)
29
- arel (7.1.4)
30
29
  axiom-types (0.1.1)
31
30
  descendants_tracker (~> 0.0.4)
32
31
  ice_nine (~> 0.11.0)
33
32
  thread_safe (~> 0.3, >= 0.3.1)
33
+ codecov (0.1.16)
34
+ json
35
+ simplecov
36
+ url
34
37
  coercible (1.0.0)
35
38
  descendants_tracker (~> 0.0.1)
36
- concurrent-ruby (1.0.5)
39
+ concurrent-ruby (1.1.5)
37
40
  descendants_tracker (0.0.4)
38
41
  thread_safe (~> 0.3, >= 0.3.1)
39
42
  diff-lcs (1.3)
43
+ docile (1.3.2)
40
44
  equalizer (0.0.11)
41
- i18n (1.1.0)
45
+ i18n (1.8.2)
42
46
  concurrent-ruby (~> 1.0)
43
47
  ice_nine (0.11.2)
44
- minitest (5.11.3)
45
- pg (0.18.4)
48
+ json (2.3.0)
49
+ minitest (5.14.0)
50
+ pg (1.2.2)
46
51
  rake (10.5.0)
47
- rspec (3.8.0)
48
- rspec-core (~> 3.8.0)
49
- rspec-expectations (~> 3.8.0)
50
- rspec-mocks (~> 3.8.0)
51
- rspec-core (3.8.0)
52
- rspec-support (~> 3.8.0)
53
- rspec-expectations (3.8.1)
52
+ rspec (3.9.0)
53
+ rspec-core (~> 3.9.0)
54
+ rspec-expectations (~> 3.9.0)
55
+ rspec-mocks (~> 3.9.0)
56
+ rspec-core (3.9.1)
57
+ rspec-support (~> 3.9.1)
58
+ rspec-expectations (3.9.0)
54
59
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.8.0)
56
- rspec-mocks (3.8.0)
60
+ rspec-support (~> 3.9.0)
61
+ rspec-mocks (3.9.1)
57
62
  diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.8.0)
59
- rspec-support (3.8.0)
63
+ rspec-support (~> 3.9.0)
64
+ rspec-support (3.9.2)
60
65
  simple_serializer (1.0.2)
61
- thor (0.20.0)
66
+ simplecov (0.17.1)
67
+ docile (~> 1.1)
68
+ json (>= 1.8, < 3)
69
+ simplecov-html (~> 0.10.0)
70
+ simplecov-html (0.10.2)
71
+ thor (1.0.1)
62
72
  thread_safe (0.3.6)
63
- tzinfo (1.2.5)
73
+ tzinfo (1.2.6)
64
74
  thread_safe (~> 0.1)
75
+ url (0.3.2)
65
76
  virtus (1.0.5)
66
77
  axiom-types (~> 0.1)
67
78
  coercible (~> 1.0)
68
79
  descendants_tracker (~> 0.0, >= 0.0.3)
69
80
  equalizer (~> 0.0, >= 0.0.9)
81
+ zeitwerk (2.2.2)
70
82
 
71
83
  PLATFORMS
72
84
  ruby
73
85
 
74
86
  DEPENDENCIES
75
- activerecord (~> 5.0.0)
76
- activerecord-import (= 0.13.0)
87
+ activerecord (~> 6.0.0)
88
+ activerecord-import
77
89
  appraisal (~> 2.2)
78
- pg (~> 0.18.0)
79
- rake (~> 10.0)
90
+ codecov
91
+ pg
92
+ rake (~> 10)
80
93
  rspec (~> 3.0)
81
94
  virtus (~> 1.0)
82
95
  vorpal!
83
96
 
84
97
  RUBY VERSION
85
- ruby 2.3.3p222
98
+ ruby 2.7.0p0
86
99
 
87
100
  BUNDLED WITH
88
- 1.16.2
101
+ 2.1.4