active_model_exporters 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +9 -18
- data/.travis.yml +8 -5
- data/Appraisals +4 -8
- data/CHANGELOG.md +14 -3
- data/Gemfile +0 -7
- data/LICENSE.txt +17 -18
- data/README.md +48 -12
- data/Rakefile +3 -5
- data/active_model_exporters.gemspec +21 -8
- data/gemfiles/rails_5.2.gemfile +1 -5
- data/gemfiles/rails_5.2.gemfile.lock +81 -85
- data/gemfiles/rails_6.0.gemfile +7 -0
- data/gemfiles/rails_6.0.gemfile.lock +169 -0
- data/lib/active_model/exporter.rb +6 -7
- data/lib/active_model/exporter/version.rb +1 -1
- metadata +99 -33
- data/gemfiles/rails_4.gemfile +0 -11
- data/gemfiles/rails_4.gemfile.lock +0 -142
- data/gemfiles/rails_5.gemfile +0 -11
- data/gemfiles/rails_5.gemfile.lock +0 -149
- data/test/fixtures/active_record/exporters.rb +0 -3
- data/test/fixtures/active_record/models.rb +0 -18
- data/test/fixtures/exporters.rb +0 -23
- data/test/fixtures/locale.rb +0 -20
- data/test/fixtures/models.rb +0 -6
- data/test/integration/action_controller/exportation/csv_test.rb +0 -162
- data/test/integration/action_controller/exportation/xls_test.rb +0 -162
- data/test/integration/active_record/exportation/csv_test.rb +0 -23
- data/test/test_helper.rb +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3a6fc80c64e00ff107593eaa023150d1ddbd0cb30f10da7d0dc14bc97657f89
|
4
|
+
data.tar.gz: afe1171f8b6e765a173774d4e951fed11738bcd267ca07ca3dda23cce6cbc2aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1292910384366b09f86cfa67027ca92a8d8d5624d0ea99fd1b7d47c35b086ed6cb436923d1c8fae8b1793f56eb194246e99adbf7aa6cbe661881e6d73fcfe25e
|
7
|
+
data.tar.gz: 7f04a6f215299b781aec1a50e007cec9ae8b53e44b9172182a1f2548cbdc84e29eb9ecf3d589b9f298761a4cb8dbeb94912231d8eb203bb0217e1ab293c5c0d6
|
data/.gitignore
CHANGED
@@ -1,20 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/_yardoc/
|
4
|
+
/coverage/
|
5
|
+
/doc/
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/tmp/
|
9
9
|
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
.rvmrc
|
19
10
|
.ruby-version
|
20
|
-
.
|
11
|
+
Gemfile.lock
|
data/.travis.yml
CHANGED
@@ -1,11 +1,14 @@
|
|
1
|
+
sudo: false
|
2
|
+
cache: bundler
|
1
3
|
language: ruby
|
2
4
|
|
3
5
|
rvm:
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
|
6
|
+
- 2.5.5
|
7
|
+
- 2.6.3
|
8
|
+
|
9
|
+
before_install:
|
10
|
+
- gem install bundler -v 2.0.2
|
7
11
|
|
8
12
|
gemfile:
|
9
|
-
- gemfiles/rails_4.gemfile
|
10
|
-
- gemfiles/rails_5.gemfile
|
11
13
|
- gemfiles/rails_5.2.gemfile
|
14
|
+
- gemfiles/rails_6.0.gemfile
|
data/Appraisals
CHANGED
@@ -1,11 +1,7 @@
|
|
1
|
-
appraise 'rails-
|
2
|
-
gem 'rails', '~>
|
3
|
-
end
|
4
|
-
|
5
|
-
appraise 'rails-5' do
|
6
|
-
gem 'rails', '~> 5.0.0'
|
1
|
+
appraise 'rails-5.2' do
|
2
|
+
gem 'rails', '~> 5.2'
|
7
3
|
end
|
8
4
|
|
9
|
-
appraise 'rails-
|
10
|
-
gem 'rails', '~>
|
5
|
+
appraise 'rails-6.0' do
|
6
|
+
gem 'rails', '~> 6.0'
|
11
7
|
end
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
### Version 0.5.2
|
4
|
+
* Add rails version supported 6.
|
5
|
+
* Minimum ruby version supported 2.6.X.
|
6
|
+
* Remove support for ruby 2.4.X.
|
7
|
+
* Avoid defining new methods in exporter.
|
8
|
+
* Update code base to use bundler 2.X.X.
|
9
|
+
|
10
|
+
### Version 0.5.1
|
11
|
+
* Add rails version supported 5.2.X.
|
12
|
+
* Minimum ruby version supported 2.5.0.
|
13
|
+
|
3
14
|
### Version 0.5.0
|
4
|
-
* Rails versions supported 4
|
15
|
+
* Rails versions supported 4.X.X and 5.X.X.
|
5
16
|
* Minimum ruby version supported 2.2.2.
|
6
17
|
|
7
18
|
### Version 0.4.1
|
@@ -15,10 +26,10 @@
|
|
15
26
|
* Adding support to export a single resource.
|
16
27
|
|
17
28
|
### Version 0.3.1
|
18
|
-
* Fixing errors with rails 4.2
|
29
|
+
* Fixing errors with rails 4.2.X.
|
19
30
|
|
20
31
|
### Version 0.3.0
|
21
|
-
* Adding support to rails 4.2
|
32
|
+
* Adding support to rails 4.2.X.
|
22
33
|
|
23
34
|
### Version 0.2.0
|
24
35
|
* Using I18n translations in file headers.
|
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,22 +1,28 @@
|
|
1
1
|
# ActiveModel::Exporters
|
2
|
-
[![Build Status](https://travis-ci.
|
2
|
+
[![Build Status](https://travis-ci.com/alejandrodevs/active_model_exporters.svg?branch=master)](https://travis-ci.org/alejandrodevs/active_model_exporters) [![Coverage Status](https://coveralls.io/repos/github/alejandrodevs/active_model_exporters/badge.svg?branch=master)](https://coveralls.io/github/alejandrodevs/active_model_exporters?branch=master)
|
3
3
|
|
4
|
-
`ActiveModel::Exporters` aims to provide an easy way to export
|
5
|
-
collections of `ActiveModel` or `ActiveRecord` objects.
|
6
|
-
It's based on object-oriented development and inspired on
|
7
|
-
[active_model_serializers](https://github.com/rails-api/active_model_serializers).
|
4
|
+
`ActiveModel::Exporters` aims to provide an easy way to export collections of `ActiveModel` or `ActiveRecord` objects. It's based on object-oriented development and inspired on [active_model_serializers](https://github.com/rails-api/active_model_serializers).
|
8
5
|
|
9
6
|
## Installation
|
10
7
|
|
11
|
-
Add this line to your Gemfile:
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
12
10
|
```ruby
|
13
11
|
gem 'active_model_exporters'
|
14
12
|
```
|
15
|
-
Run the bundle command to install it.
|
16
13
|
|
17
|
-
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install active_model_exporters
|
21
|
+
|
22
|
+
## Usage
|
18
23
|
|
19
24
|
Generate an exporter in `app/exporters/post_exporter.rb`:
|
25
|
+
|
20
26
|
```ruby
|
21
27
|
class PostExporter < ActiveModel::Exporter
|
22
28
|
attributes :id, :title, :content
|
@@ -24,6 +30,7 @@ end
|
|
24
30
|
```
|
25
31
|
|
26
32
|
In your controller:
|
33
|
+
|
27
34
|
```ruby
|
28
35
|
class PostsController < ApplicationController
|
29
36
|
def index
|
@@ -38,26 +45,34 @@ end
|
|
38
45
|
```
|
39
46
|
|
40
47
|
### Custom exporter
|
48
|
+
|
41
49
|
To specify a custom exporter for each object, you can do the next in your controller:
|
50
|
+
|
42
51
|
```ruby
|
43
52
|
render csv: @posts, exporter: OtherPostExporter
|
44
53
|
```
|
45
54
|
|
46
55
|
### Custom filename
|
56
|
+
|
47
57
|
By default filename is the pluralized collection type. Example: `posts.xls`.
|
48
58
|
To specify another, you can do the next:
|
59
|
+
|
49
60
|
```ruby
|
50
61
|
render xls: @posts, filename: 'super_posts.xls'
|
51
62
|
```
|
52
63
|
|
53
64
|
### Custom encode format
|
65
|
+
|
54
66
|
By default encode format is `iso-8859-1`. You can change it doing the next:
|
67
|
+
|
55
68
|
```ruby
|
56
69
|
render csv: @posts, encode: 'UTF-8'
|
57
70
|
```
|
58
71
|
|
59
72
|
### Computed properties
|
73
|
+
|
60
74
|
As `ActiveModel::Serializers` does, you can access the object being exported as `object`.
|
75
|
+
|
61
76
|
```ruby
|
62
77
|
class UserExporter < ActiveModel::Exporter
|
63
78
|
attributes :first_name, :last_name, :full_name
|
@@ -71,7 +86,9 @@ end
|
|
71
86
|
### Exporter scope
|
72
87
|
|
73
88
|
#### 1. Default scope
|
89
|
+
|
74
90
|
As `ActiveModel::Serializers` does, you can access to the current user via `scope`.
|
91
|
+
|
75
92
|
```ruby
|
76
93
|
class UserExporter < ActiveModel::Exporter
|
77
94
|
attributes :name, :email
|
@@ -83,13 +100,17 @@ end
|
|
83
100
|
```
|
84
101
|
|
85
102
|
#### 2. Explicit scope
|
103
|
+
|
86
104
|
In your controller, include the scope option:
|
105
|
+
|
87
106
|
```ruby
|
88
107
|
render csv: @posts, scope: current_admin
|
89
108
|
```
|
90
109
|
|
91
110
|
#### 3. Calling exportation_scope
|
111
|
+
|
92
112
|
In your controller, set the exportation scope:
|
113
|
+
|
93
114
|
```ruby
|
94
115
|
class PostsController < ApplicationController
|
95
116
|
exportation_scope :current_admin
|
@@ -101,8 +122,9 @@ end
|
|
101
122
|
```
|
102
123
|
|
103
124
|
### Filter attributes
|
104
|
-
|
105
|
-
according to your business rules:
|
125
|
+
|
126
|
+
As `ActiveModel::Serializers` does, you can reject some attributes according to your business rules:
|
127
|
+
|
106
128
|
```ruby
|
107
129
|
class UserExporter < ActiveModel::Exporter
|
108
130
|
attributes :name, :email, :address
|
@@ -116,13 +138,27 @@ class UserExporter < ActiveModel::Exporter
|
|
116
138
|
end
|
117
139
|
end
|
118
140
|
```
|
141
|
+
|
119
142
|
Rejected attributes will be blank in the downloaded file.
|
120
143
|
|
121
144
|
### Headers
|
145
|
+
|
122
146
|
`ActiveModel::Exporters` uses I18n translations in file headers.
|
123
147
|
|
148
|
+
## Development
|
149
|
+
|
150
|
+
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.
|
151
|
+
|
152
|
+
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).
|
153
|
+
|
124
154
|
## Contributing
|
125
155
|
|
126
|
-
|
156
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/alejandrodevs/active_model_exporters. 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.
|
157
|
+
|
158
|
+
## License
|
159
|
+
|
160
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
161
|
+
|
162
|
+
## Code of Conduct
|
127
163
|
|
128
|
-
|
164
|
+
Everyone interacting in the ActiveModel::Exporters project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/alejandrodevs/active_model_exporters/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
@@ -1,12 +1,10 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler/setup'
|
3
1
|
require 'bundler/gem_tasks'
|
4
2
|
require 'rake/testtask'
|
5
3
|
|
6
|
-
Rake::TestTask.new do |t|
|
4
|
+
Rake::TestTask.new(:test) do |t|
|
7
5
|
t.libs << 'test'
|
8
|
-
t.
|
9
|
-
t.
|
6
|
+
t.libs << 'lib'
|
7
|
+
t.test_files = FileList['test/**/*_test.rb']
|
10
8
|
end
|
11
9
|
|
12
10
|
task default: :test
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
$:.unshift File.expand_path("../lib", __FILE__)
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require 'active_model/exporter/version'
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
@@ -8,16 +7,30 @@ Gem::Specification.new do |spec|
|
|
8
7
|
spec.version = ActiveModel::Exporter::VERSION
|
9
8
|
spec.authors = ['Alejandro Gutiérrez']
|
10
9
|
spec.email = ['alejandrodevs@gmail.com']
|
11
|
-
spec.description = 'A simple way to export data in Rails.'
|
12
10
|
spec.summary = 'A simple way to export data in Rails.'
|
11
|
+
spec.description = 'A simple way to export data in Rails.'
|
13
12
|
spec.homepage = 'https://github.com/alejandrodevs/active_model_exporters'
|
14
13
|
spec.license = 'MIT'
|
15
14
|
|
16
|
-
spec.
|
17
|
-
spec.
|
15
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
16
|
+
spec.metadata['source_code_uri'] = spec.homepage
|
17
|
+
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/master/LICENSE.txt"
|
18
|
+
|
19
|
+
# Specify which files should be added to the gem when it is released.
|
20
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
22
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
|
+
end
|
24
|
+
spec.bindir = 'exe'
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
26
|
spec.require_paths = ['lib']
|
19
27
|
|
20
|
-
spec.
|
28
|
+
spec.add_development_dependency 'rake', '~> 12.0'
|
29
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
30
|
+
spec.add_development_dependency 'sqlite3', '~> 1.4'
|
31
|
+
spec.add_development_dependency 'minitest', '~> 5.0'
|
32
|
+
spec.add_development_dependency 'appraisal', '~> 2.2'
|
33
|
+
spec.add_development_dependency 'coveralls', '~> 0.8'
|
21
34
|
|
22
|
-
spec.add_dependency '
|
35
|
+
spec.add_dependency 'rails', '>= 4.2'
|
23
36
|
end
|
data/gemfiles/rails_5.2.gemfile
CHANGED
@@ -1,49 +1,49 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
active_model_exporters (0.5.
|
5
|
-
|
4
|
+
active_model_exporters (0.5.2)
|
5
|
+
rails (>= 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,104 +54,100 @@ 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
|
-
rack (
|
92
|
-
rack-test (1.0.0)
|
84
|
+
nio4r (2.4.0)
|
85
|
+
nokogiri (1.10.4)
|
86
|
+
mini_portile2 (~> 2.4.0)
|
87
|
+
rack (2.0.7)
|
88
|
+
rack-test (1.1.0)
|
93
89
|
rack (>= 1.0, < 3)
|
94
|
-
rails (5.2.
|
95
|
-
actioncable (= 5.2.
|
96
|
-
actionmailer (= 5.2.
|
97
|
-
actionpack (= 5.2.
|
98
|
-
actionview (= 5.2.
|
99
|
-
activejob (= 5.2.
|
100
|
-
activemodel (= 5.2.
|
101
|
-
activerecord (= 5.2.
|
102
|
-
activestorage (= 5.2.
|
103
|
-
activesupport (= 5.2.
|
90
|
+
rails (5.2.3)
|
91
|
+
actioncable (= 5.2.3)
|
92
|
+
actionmailer (= 5.2.3)
|
93
|
+
actionpack (= 5.2.3)
|
94
|
+
actionview (= 5.2.3)
|
95
|
+
activejob (= 5.2.3)
|
96
|
+
activemodel (= 5.2.3)
|
97
|
+
activerecord (= 5.2.3)
|
98
|
+
activestorage (= 5.2.3)
|
99
|
+
activesupport (= 5.2.3)
|
104
100
|
bundler (>= 1.3.0)
|
105
|
-
railties (= 5.2.
|
101
|
+
railties (= 5.2.3)
|
106
102
|
sprockets-rails (>= 2.0.0)
|
107
103
|
rails-dom-testing (2.0.3)
|
108
104
|
activesupport (>= 4.2.0)
|
109
105
|
nokogiri (>= 1.6)
|
110
|
-
rails-html-sanitizer (1.0
|
106
|
+
rails-html-sanitizer (1.2.0)
|
111
107
|
loofah (~> 2.2, >= 2.2.2)
|
112
|
-
railties (5.2.
|
113
|
-
actionpack (= 5.2.
|
114
|
-
activesupport (= 5.2.
|
108
|
+
railties (5.2.3)
|
109
|
+
actionpack (= 5.2.3)
|
110
|
+
activesupport (= 5.2.3)
|
115
111
|
method_source
|
116
112
|
rake (>= 0.8.7)
|
117
|
-
thor (>= 0.
|
118
|
-
rake (12.3.
|
119
|
-
rest-client (1.6.7)
|
120
|
-
mime-types (>= 1.16)
|
113
|
+
thor (>= 0.19.0, < 2.0)
|
114
|
+
rake (12.3.3)
|
121
115
|
simplecov (0.16.1)
|
122
116
|
docile (~> 1.1)
|
123
117
|
json (>= 1.8, < 3)
|
124
118
|
simplecov-html (~> 0.10.0)
|
125
119
|
simplecov-html (0.10.2)
|
126
|
-
sprockets (3.7.
|
120
|
+
sprockets (3.7.2)
|
127
121
|
concurrent-ruby (~> 1.0)
|
128
122
|
rack (> 1, < 3)
|
129
123
|
sprockets-rails (3.2.1)
|
130
124
|
actionpack (>= 4.0)
|
131
125
|
activesupport (>= 4.0)
|
132
126
|
sprockets (>= 3.0.0)
|
133
|
-
sqlite3 (1.
|
134
|
-
term-ansicolor (1.
|
135
|
-
tins (~> 0
|
136
|
-
thor (0.
|
127
|
+
sqlite3 (1.4.1)
|
128
|
+
term-ansicolor (1.7.1)
|
129
|
+
tins (~> 1.0)
|
130
|
+
thor (0.20.3)
|
137
131
|
thread_safe (0.3.6)
|
138
|
-
tins (
|
132
|
+
tins (1.21.1)
|
139
133
|
tzinfo (1.2.5)
|
140
134
|
thread_safe (~> 0.1)
|
141
|
-
websocket-driver (0.7.
|
135
|
+
websocket-driver (0.7.1)
|
142
136
|
websocket-extensions (>= 0.1.0)
|
143
|
-
websocket-extensions (0.1.
|
137
|
+
websocket-extensions (0.1.4)
|
144
138
|
|
145
139
|
PLATFORMS
|
146
140
|
ruby
|
147
141
|
|
148
142
|
DEPENDENCIES
|
149
143
|
active_model_exporters!
|
150
|
-
appraisal
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
144
|
+
appraisal (~> 2.2)
|
145
|
+
bundler (~> 2.0)
|
146
|
+
coveralls (~> 0.8)
|
147
|
+
minitest (~> 5.0)
|
148
|
+
rails (~> 5.2)
|
149
|
+
rake (~> 12.0)
|
150
|
+
sqlite3 (~> 1.4)
|
155
151
|
|
156
152
|
BUNDLED WITH
|
157
|
-
|
153
|
+
2.0.2
|