mass_insert 0.2.6 → 0.2.7
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/.gitignore +10 -20
- data/.travis.yml +17 -10
- data/Appraisals +4 -8
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +0 -6
- data/LICENSE.txt +17 -18
- data/README.md +39 -27
- data/Rakefile +3 -3
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/gemfiles/rails_5.2.gemfile +0 -3
- data/gemfiles/rails_5.2.gemfile.lock +82 -89
- data/gemfiles/{rails_4.gemfile → rails_6.0.gemfile} +1 -4
- data/gemfiles/rails_6.0.gemfile.lock +171 -0
- data/lib/mass_insert/version.rb +1 -1
- data/mass_insert.gemspec +19 -12
- metadata +61 -57
- data/.rspec +0 -1
- data/gemfiles/rails_4.gemfile.lock +0 -147
- data/gemfiles/rails_5.gemfile +0 -10
- data/gemfiles/rails_5.gemfile.lock +0 -162
- data/test/adapters/mysql2/example_test.rb +0 -29
- data/test/adapters/postgresql/example_test.rb +0 -3
- data/test/adapters/sqlite3/example_test.rb +0 -3
- data/test/database.yml.example +0 -20
- data/test/models/kind.rb +0 -2
- data/test/models/post.rb +0 -2
- data/test/models/user.rb +0 -2
- data/test/schema.rb +0 -20
- data/test/support/adapters/mysql2.rb +0 -1
- data/test/support/adapters/postgresql.rb +0 -1
- data/test/support/adapters/sqlite3.rb +0 -1
- data/test/support/shared_examples.rb +0 -90
- data/test/test_helper.rb +0 -36
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: adf5bcdb2352d8394fac3f419157734416b263459335c2e9cdd7afab2fe7cc9b
|
|
4
|
+
data.tar.gz: 479d49e5399895513170ffa9b2fd42179b301b9ef2f0188a9e32b5cd53d005cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66fdcf8e7ecdf52d42ac898f0a19cf8d562ac274737356a589c72d65c832fa2f11dc75d5a73edf939ec3919061edac3b83f09fd6121696147a41241b4a57b7cd
|
|
7
|
+
data.tar.gz: 3dcdc0616c06c3c5e9d1feedf541ed34395154426548f7e1e77a7674e8535d1f5bab7282a6f24f8a6e3540008ee4eee7e4eeac979cab0d0e43527e6a0bc4042f
|
data/.gitignore
CHANGED
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
_yardoc
|
|
9
|
-
coverage
|
|
10
|
-
doc/
|
|
11
|
-
log/
|
|
12
|
-
lib/bundler/man
|
|
13
|
-
pkg
|
|
14
|
-
rdoc
|
|
15
|
-
spec/reports
|
|
16
|
-
test/tmp
|
|
17
|
-
test/version_tmp
|
|
1
|
+
/.bundle/
|
|
2
|
+
/.yardoc
|
|
3
|
+
/_yardoc/
|
|
4
|
+
/coverage/
|
|
5
|
+
/doc/
|
|
6
|
+
/pkg/
|
|
7
|
+
/spec/reports/
|
|
18
8
|
test/database.yml
|
|
19
|
-
tmp
|
|
20
|
-
|
|
9
|
+
/tmp/
|
|
10
|
+
coverage
|
|
21
11
|
.ruby-version
|
|
22
|
-
.
|
|
12
|
+
Gemfile.lock
|
data/.travis.yml
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
|
+
sudo: false
|
|
2
|
+
cache: bundler
|
|
1
3
|
language: ruby
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
- 2.5.0
|
|
5
|
+
services:
|
|
6
|
+
- mysql
|
|
7
|
+
- postgresql
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
- gemfiles/rails_5.2.gemfile
|
|
9
|
+
rvm:
|
|
10
|
+
- 2.5.5
|
|
11
|
+
- 2.6.3
|
|
12
12
|
|
|
13
13
|
before_script:
|
|
14
14
|
- cp test/database.yml.example test/database.yml
|
|
15
|
-
- mysql -e '
|
|
16
|
-
- psql -c '
|
|
15
|
+
- mysql -e 'create database mass_insert_test;'
|
|
16
|
+
- psql -c 'create database mass_insert_test;' -U postgres
|
|
17
|
+
|
|
18
|
+
before_install:
|
|
19
|
+
- gem install bundler -v 2.0.2
|
|
20
|
+
|
|
21
|
+
gemfile:
|
|
22
|
+
- gemfiles/rails_5.2.gemfile
|
|
23
|
+
- gemfiles/rails_6.0.gemfile
|
data/Appraisals
CHANGED
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
|
10
|
+
orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
* Using welcoming and inclusive language
|
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
|
19
|
+
* Gracefully accepting constructive criticism
|
|
20
|
+
* Focusing on what is best for the community
|
|
21
|
+
* Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
* Public or private harassment
|
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at alejandrodevs@gmail.com. All
|
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
|
63
|
+
|
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
+
members of the project's leadership.
|
|
67
|
+
|
|
68
|
+
## Attribution
|
|
69
|
+
|
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
|
72
|
+
|
|
73
|
+
[homepage]: http://contributor-covenant.org
|
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
CHANGED
data/LICENSE.txt
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2019 Alejandro Gutiérrez
|
|
4
4
|
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
the following conditions:
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
12
11
|
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
|
14
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
15
14
|
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
OF
|
|
22
|
-
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
# MassInsert
|
|
2
|
-
[](https://travis-ci.org/alejandrodevs/mass_insert) [](https://coveralls.io/github/alejandrodevs/mass_insert?branch=master)
|
|
6
3
|
|
|
4
|
+
This gem aims to provide an easy and faster way to do single database insertions in Rails. Support Mysql, PostgreSQL and SQLite3 adapters. It depends on ActiveRecord.
|
|
7
5
|
|
|
8
6
|
## Installation
|
|
7
|
+
|
|
9
8
|
Add this line to your application's Gemfile:
|
|
9
|
+
|
|
10
10
|
```ruby
|
|
11
11
|
gem 'mass_insert'
|
|
12
12
|
```
|
|
13
|
-
Run the bundle command to install it.
|
|
14
13
|
|
|
14
|
+
And then execute:
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
Faster. It's depending of the computer but these are some results...
|
|
18
|
-
* PostgreSQL - Saving 10,000 records in 0.49s
|
|
16
|
+
$ bundle
|
|
19
17
|
|
|
18
|
+
Or install it yourself as:
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
Since this is a single database insertion your model validations will be ignored,
|
|
23
|
-
then if you use this gem you need to be sure that information is OK to be persisted.
|
|
20
|
+
$ gem install mass_insert
|
|
24
21
|
|
|
22
|
+
## Usage
|
|
25
23
|
|
|
26
|
-
## Basic Usage
|
|
27
24
|
To use MassInsert gem you need to call `mass_insert` method from your ActiveRecord model
|
|
28
25
|
and pass it an array with the values that you want to persist into the database.
|
|
26
|
+
|
|
29
27
|
```ruby
|
|
30
28
|
values = [
|
|
31
29
|
{
|
|
@@ -43,11 +41,11 @@ values = [
|
|
|
43
41
|
User.mass_insert(values)
|
|
44
42
|
```
|
|
45
43
|
|
|
46
|
-
|
|
47
|
-
|
|
48
44
|
### Allow primary key
|
|
45
|
+
|
|
49
46
|
Sometimes you can need to insert records forcing primary keys.
|
|
50
47
|
Just pass the `primary_key` option with true. Example...
|
|
48
|
+
|
|
51
49
|
```ruby
|
|
52
50
|
values = [
|
|
53
51
|
{
|
|
@@ -61,19 +59,21 @@ values = [
|
|
|
61
59
|
User.mass_insert(values, primary_key: true)
|
|
62
60
|
```
|
|
63
61
|
|
|
64
|
-
|
|
65
62
|
### Insertion per batches
|
|
63
|
+
|
|
66
64
|
Due you can get a database timeout error you can specify that the insertion will be in batches.
|
|
67
65
|
Just pass the `per_batch` option with the records per batch. Example...
|
|
66
|
+
|
|
68
67
|
```ruby
|
|
69
68
|
User.mass_insert(values, per_batch: 1000)
|
|
70
69
|
```
|
|
71
70
|
|
|
72
|
-
|
|
73
71
|
### Handle unique index on MySQL
|
|
72
|
+
|
|
74
73
|
Sometimes we want to ignore errors when adding duplicated records. MySQL has
|
|
75
74
|
the ability to do that with `ON DUPLICATE KEY UPDATE`. By using the option
|
|
76
75
|
`handle_duplication` we will ignore the new values by doing:
|
|
76
|
+
|
|
77
77
|
```ruby
|
|
78
78
|
User.mass_insert(values, handle_duplication: true)
|
|
79
79
|
```
|
|
@@ -85,18 +85,30 @@ INSERT INTO table (a,b,c) VALUES (1,2,3)
|
|
|
85
85
|
|
|
86
86
|
[Read more about MySQL ON DUPLICATE KEY UPDATE...](http://dev.mysql.com/doc/refman/5.7/en/insert-on-duplicate.html)
|
|
87
87
|
|
|
88
|
+
## Advantages
|
|
88
89
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
Faster. It's depending of the computer but these are some results...
|
|
91
|
+
* PostgreSQL - Saving 10,000 records in 0.49s
|
|
92
|
+
|
|
93
|
+
## Attention
|
|
94
|
+
|
|
95
|
+
Since this is a single database insertion your model validations will be ignored,
|
|
96
|
+
then if you use this gem you need to be sure that information is OK to be persisted.
|
|
97
|
+
|
|
98
|
+
## Development
|
|
95
99
|
|
|
100
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
101
|
+
|
|
102
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
96
103
|
|
|
97
104
|
## Contributing
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
105
|
+
|
|
106
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/alejandrodevs/mass_insert. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
107
|
+
|
|
108
|
+
## License
|
|
109
|
+
|
|
110
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
111
|
+
|
|
112
|
+
## Code of Conduct
|
|
113
|
+
|
|
114
|
+
Everyone interacting in the MassInsert project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/alejandrodevs/mass_insert/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
require 'bundler/gem_tasks'
|
|
2
2
|
require 'rake/testtask'
|
|
3
3
|
|
|
4
|
-
ADAPTERS = %w(mysql2 postgresql sqlite3)
|
|
4
|
+
ADAPTERS = %w(mysql2 postgresql sqlite3).freeze
|
|
5
5
|
|
|
6
6
|
ADAPTERS.each do |adapter|
|
|
7
7
|
namespace :test do
|
|
8
8
|
desc "Runs #{adapter} tests."
|
|
9
9
|
Rake::TestTask.new(adapter) do |t|
|
|
10
10
|
t.libs << 'test'
|
|
11
|
+
t.libs << 'lib'
|
|
11
12
|
t.test_files = FileList[
|
|
12
13
|
"test/support/adapters/#{adapter}.rb",
|
|
13
14
|
"test/adapters/#{adapter}/**/*_test.rb"]
|
|
@@ -24,5 +25,4 @@ namespace :test do
|
|
|
24
25
|
end
|
|
25
26
|
end
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
task default: 'test:postgresql'
|
|
28
|
+
task default: 'test:all'
|
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "mass_insert"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/gemfiles/rails_5.2.gemfile
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ..
|
|
3
3
|
specs:
|
|
4
|
-
mass_insert (0.2.
|
|
5
|
-
activerecord (>= 4.
|
|
4
|
+
mass_insert (0.2.7)
|
|
5
|
+
activerecord (>= 4.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
actioncable (5.2.
|
|
11
|
-
actionpack (= 5.2.
|
|
10
|
+
actioncable (5.2.3)
|
|
11
|
+
actionpack (= 5.2.3)
|
|
12
12
|
nio4r (~> 2.0)
|
|
13
13
|
websocket-driver (>= 0.6.1)
|
|
14
|
-
actionmailer (5.2.
|
|
15
|
-
actionpack (= 5.2.
|
|
16
|
-
actionview (= 5.2.
|
|
17
|
-
activejob (= 5.2.
|
|
14
|
+
actionmailer (5.2.3)
|
|
15
|
+
actionpack (= 5.2.3)
|
|
16
|
+
actionview (= 5.2.3)
|
|
17
|
+
activejob (= 5.2.3)
|
|
18
18
|
mail (~> 2.5, >= 2.5.4)
|
|
19
19
|
rails-dom-testing (~> 2.0)
|
|
20
|
-
actionpack (5.2.
|
|
21
|
-
actionview (= 5.2.
|
|
22
|
-
activesupport (= 5.2.
|
|
20
|
+
actionpack (5.2.3)
|
|
21
|
+
actionview (= 5.2.3)
|
|
22
|
+
activesupport (= 5.2.3)
|
|
23
23
|
rack (~> 2.0)
|
|
24
24
|
rack-test (>= 0.6.3)
|
|
25
25
|
rails-dom-testing (~> 2.0)
|
|
26
26
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
27
|
-
actionview (5.2.
|
|
28
|
-
activesupport (= 5.2.
|
|
27
|
+
actionview (5.2.3)
|
|
28
|
+
activesupport (= 5.2.3)
|
|
29
29
|
builder (~> 3.1)
|
|
30
30
|
erubi (~> 1.4)
|
|
31
31
|
rails-dom-testing (~> 2.0)
|
|
32
32
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
33
|
-
activejob (5.2.
|
|
34
|
-
activesupport (= 5.2.
|
|
33
|
+
activejob (5.2.3)
|
|
34
|
+
activesupport (= 5.2.3)
|
|
35
35
|
globalid (>= 0.3.6)
|
|
36
|
-
activemodel (5.2.
|
|
37
|
-
activesupport (= 5.2.
|
|
38
|
-
activerecord (5.2.
|
|
39
|
-
activemodel (= 5.2.
|
|
40
|
-
activesupport (= 5.2.
|
|
36
|
+
activemodel (5.2.3)
|
|
37
|
+
activesupport (= 5.2.3)
|
|
38
|
+
activerecord (5.2.3)
|
|
39
|
+
activemodel (= 5.2.3)
|
|
40
|
+
activesupport (= 5.2.3)
|
|
41
41
|
arel (>= 9.0)
|
|
42
|
-
activestorage (5.2.
|
|
43
|
-
actionpack (= 5.2.
|
|
44
|
-
activerecord (= 5.2.
|
|
42
|
+
activestorage (5.2.3)
|
|
43
|
+
actionpack (= 5.2.3)
|
|
44
|
+
activerecord (= 5.2.3)
|
|
45
45
|
marcel (~> 0.3.1)
|
|
46
|
-
activesupport (5.2.
|
|
46
|
+
activesupport (5.2.3)
|
|
47
47
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
48
48
|
i18n (>= 0.7, < 2)
|
|
49
49
|
minitest (~> 5.1)
|
|
@@ -54,109 +54,102 @@ GEM
|
|
|
54
54
|
thor (>= 0.14.0)
|
|
55
55
|
arel (9.0.0)
|
|
56
56
|
builder (3.2.3)
|
|
57
|
-
concurrent-ruby (1.
|
|
58
|
-
coveralls (0.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
concurrent-ruby (1.1.5)
|
|
58
|
+
coveralls (0.8.23)
|
|
59
|
+
json (>= 1.8, < 3)
|
|
60
|
+
simplecov (~> 0.16.1)
|
|
61
|
+
term-ansicolor (~> 1.3)
|
|
62
|
+
thor (>= 0.19.4, < 2.0)
|
|
63
|
+
tins (~> 1.6)
|
|
64
64
|
crass (1.0.4)
|
|
65
|
-
docile (1.3.
|
|
66
|
-
erubi (1.
|
|
67
|
-
globalid (0.4.
|
|
65
|
+
docile (1.3.2)
|
|
66
|
+
erubi (1.8.0)
|
|
67
|
+
globalid (0.4.2)
|
|
68
68
|
activesupport (>= 4.2.0)
|
|
69
|
-
i18n (1.0
|
|
69
|
+
i18n (1.6.0)
|
|
70
70
|
concurrent-ruby (~> 1.0)
|
|
71
|
-
json (2.
|
|
72
|
-
loofah (2.2.
|
|
71
|
+
json (2.2.0)
|
|
72
|
+
loofah (2.2.3)
|
|
73
73
|
crass (~> 1.0.2)
|
|
74
74
|
nokogiri (>= 1.5.9)
|
|
75
|
-
mail (2.7.
|
|
75
|
+
mail (2.7.1)
|
|
76
76
|
mini_mime (>= 0.1.1)
|
|
77
|
-
marcel (0.3.
|
|
77
|
+
marcel (0.3.3)
|
|
78
78
|
mimemagic (~> 0.3.2)
|
|
79
|
-
method_source (0.9.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
mimemagic (0.3.2)
|
|
84
|
-
mini_mime (1.0.0)
|
|
85
|
-
mini_portile2 (2.3.0)
|
|
79
|
+
method_source (0.9.2)
|
|
80
|
+
mimemagic (0.3.3)
|
|
81
|
+
mini_mime (1.0.2)
|
|
82
|
+
mini_portile2 (2.4.0)
|
|
86
83
|
minitest (5.11.3)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
rack (
|
|
94
|
-
rack-test (1.0.0)
|
|
84
|
+
mysql2 (0.5.2)
|
|
85
|
+
nio4r (2.4.0)
|
|
86
|
+
nokogiri (1.10.4)
|
|
87
|
+
mini_portile2 (~> 2.4.0)
|
|
88
|
+
pg (1.1.4)
|
|
89
|
+
rack (2.0.7)
|
|
90
|
+
rack-test (1.1.0)
|
|
95
91
|
rack (>= 1.0, < 3)
|
|
96
|
-
rails (5.2.
|
|
97
|
-
actioncable (= 5.2.
|
|
98
|
-
actionmailer (= 5.2.
|
|
99
|
-
actionpack (= 5.2.
|
|
100
|
-
actionview (= 5.2.
|
|
101
|
-
activejob (= 5.2.
|
|
102
|
-
activemodel (= 5.2.
|
|
103
|
-
activerecord (= 5.2.
|
|
104
|
-
activestorage (= 5.2.
|
|
105
|
-
activesupport (= 5.2.
|
|
92
|
+
rails (5.2.3)
|
|
93
|
+
actioncable (= 5.2.3)
|
|
94
|
+
actionmailer (= 5.2.3)
|
|
95
|
+
actionpack (= 5.2.3)
|
|
96
|
+
actionview (= 5.2.3)
|
|
97
|
+
activejob (= 5.2.3)
|
|
98
|
+
activemodel (= 5.2.3)
|
|
99
|
+
activerecord (= 5.2.3)
|
|
100
|
+
activestorage (= 5.2.3)
|
|
101
|
+
activesupport (= 5.2.3)
|
|
106
102
|
bundler (>= 1.3.0)
|
|
107
|
-
railties (= 5.2.
|
|
103
|
+
railties (= 5.2.3)
|
|
108
104
|
sprockets-rails (>= 2.0.0)
|
|
109
105
|
rails-dom-testing (2.0.3)
|
|
110
106
|
activesupport (>= 4.2.0)
|
|
111
107
|
nokogiri (>= 1.6)
|
|
112
|
-
rails-html-sanitizer (1.0
|
|
108
|
+
rails-html-sanitizer (1.2.0)
|
|
113
109
|
loofah (~> 2.2, >= 2.2.2)
|
|
114
|
-
railties (5.2.
|
|
115
|
-
actionpack (= 5.2.
|
|
116
|
-
activesupport (= 5.2.
|
|
110
|
+
railties (5.2.3)
|
|
111
|
+
actionpack (= 5.2.3)
|
|
112
|
+
activesupport (= 5.2.3)
|
|
117
113
|
method_source
|
|
118
114
|
rake (>= 0.8.7)
|
|
119
|
-
thor (>= 0.
|
|
120
|
-
rake (
|
|
121
|
-
rest-client (1.6.7)
|
|
122
|
-
mime-types (>= 1.16)
|
|
115
|
+
thor (>= 0.19.0, < 2.0)
|
|
116
|
+
rake (12.3.3)
|
|
123
117
|
simplecov (0.16.1)
|
|
124
118
|
docile (~> 1.1)
|
|
125
119
|
json (>= 1.8, < 3)
|
|
126
120
|
simplecov-html (~> 0.10.0)
|
|
127
121
|
simplecov-html (0.10.2)
|
|
128
|
-
sprockets (3.7.
|
|
122
|
+
sprockets (3.7.2)
|
|
129
123
|
concurrent-ruby (~> 1.0)
|
|
130
124
|
rack (> 1, < 3)
|
|
131
125
|
sprockets-rails (3.2.1)
|
|
132
126
|
actionpack (>= 4.0)
|
|
133
127
|
activesupport (>= 4.0)
|
|
134
128
|
sprockets (>= 3.0.0)
|
|
135
|
-
sqlite3 (1.
|
|
136
|
-
term-ansicolor (1.
|
|
137
|
-
tins (~> 0
|
|
138
|
-
thor (0.
|
|
129
|
+
sqlite3 (1.4.1)
|
|
130
|
+
term-ansicolor (1.7.1)
|
|
131
|
+
tins (~> 1.0)
|
|
132
|
+
thor (0.20.3)
|
|
139
133
|
thread_safe (0.3.6)
|
|
140
|
-
tins (
|
|
134
|
+
tins (1.21.1)
|
|
141
135
|
tzinfo (1.2.5)
|
|
142
136
|
thread_safe (~> 0.1)
|
|
143
|
-
websocket-driver (0.7.
|
|
137
|
+
websocket-driver (0.7.1)
|
|
144
138
|
websocket-extensions (>= 0.1.0)
|
|
145
|
-
websocket-extensions (0.1.
|
|
139
|
+
websocket-extensions (0.1.4)
|
|
146
140
|
|
|
147
141
|
PLATFORMS
|
|
148
142
|
ruby
|
|
149
143
|
|
|
150
144
|
DEPENDENCIES
|
|
151
|
-
appraisal
|
|
152
|
-
coveralls
|
|
145
|
+
appraisal (~> 2.2)
|
|
146
|
+
coveralls (~> 0.8)
|
|
153
147
|
mass_insert!
|
|
154
|
-
mysql2 (~> 0.
|
|
155
|
-
pg (~>
|
|
148
|
+
mysql2 (~> 0.5)
|
|
149
|
+
pg (~> 1.1)
|
|
156
150
|
rails (~> 5.2)
|
|
157
|
-
rake (~>
|
|
158
|
-
|
|
159
|
-
sqlite3 (~> 1.3)
|
|
151
|
+
rake (~> 12.0)
|
|
152
|
+
sqlite3 (~> 1.4)
|
|
160
153
|
|
|
161
154
|
BUNDLED WITH
|
|
162
|
-
|
|
155
|
+
2.0.2
|