active_model_exporters 0.5.2 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +22 -0
- data/Appraisals +6 -4
- data/CHANGELOG.md +57 -43
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +13 -1
- data/LICENSE.txt +1 -1
- data/Rakefile +12 -6
- data/active_model_exporters.gemspec +33 -29
- data/gemfiles/rails_6.1.gemfile +14 -0
- data/gemfiles/rails_6.1.gemfile.lock +196 -0
- data/gemfiles/rails_7.0.gemfile +14 -0
- data/gemfiles/rails_7.0.gemfile.lock +212 -0
- data/lib/action_controller/exportation/mime_types.rb +3 -1
- data/lib/action_controller/exportation/renderers.rb +4 -2
- data/lib/action_controller/exportation.rb +6 -5
- data/lib/active_model/array_exporter.rb +3 -1
- data/lib/active_model/exporter/types.rb +3 -1
- data/lib/active_model/exporter/version.rb +3 -1
- data/lib/active_model/exporter.rb +3 -1
- data/lib/active_model_exporters.rb +11 -9
- metadata +17 -100
- data/.gitignore +0 -11
- data/.travis.yml +0 -14
- data/gemfiles/rails_5.2.gemfile +0 -7
- data/gemfiles/rails_5.2.gemfile.lock +0 -153
- data/gemfiles/rails_6.0.gemfile +0 -7
- data/gemfiles/rails_6.0.gemfile.lock +0 -169
@@ -1,153 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
active_model_exporters (0.5.2)
|
5
|
-
rails (>= 4.2)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actioncable (5.2.3)
|
11
|
-
actionpack (= 5.2.3)
|
12
|
-
nio4r (~> 2.0)
|
13
|
-
websocket-driver (>= 0.6.1)
|
14
|
-
actionmailer (5.2.3)
|
15
|
-
actionpack (= 5.2.3)
|
16
|
-
actionview (= 5.2.3)
|
17
|
-
activejob (= 5.2.3)
|
18
|
-
mail (~> 2.5, >= 2.5.4)
|
19
|
-
rails-dom-testing (~> 2.0)
|
20
|
-
actionpack (5.2.3)
|
21
|
-
actionview (= 5.2.3)
|
22
|
-
activesupport (= 5.2.3)
|
23
|
-
rack (~> 2.0)
|
24
|
-
rack-test (>= 0.6.3)
|
25
|
-
rails-dom-testing (~> 2.0)
|
26
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
-
actionview (5.2.3)
|
28
|
-
activesupport (= 5.2.3)
|
29
|
-
builder (~> 3.1)
|
30
|
-
erubi (~> 1.4)
|
31
|
-
rails-dom-testing (~> 2.0)
|
32
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
-
activejob (5.2.3)
|
34
|
-
activesupport (= 5.2.3)
|
35
|
-
globalid (>= 0.3.6)
|
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
|
-
arel (>= 9.0)
|
42
|
-
activestorage (5.2.3)
|
43
|
-
actionpack (= 5.2.3)
|
44
|
-
activerecord (= 5.2.3)
|
45
|
-
marcel (~> 0.3.1)
|
46
|
-
activesupport (5.2.3)
|
47
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
48
|
-
i18n (>= 0.7, < 2)
|
49
|
-
minitest (~> 5.1)
|
50
|
-
tzinfo (~> 1.1)
|
51
|
-
appraisal (2.2.0)
|
52
|
-
bundler
|
53
|
-
rake
|
54
|
-
thor (>= 0.14.0)
|
55
|
-
arel (9.0.0)
|
56
|
-
builder (3.2.3)
|
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
|
-
crass (1.0.4)
|
65
|
-
docile (1.3.2)
|
66
|
-
erubi (1.8.0)
|
67
|
-
globalid (0.4.2)
|
68
|
-
activesupport (>= 4.2.0)
|
69
|
-
i18n (1.6.0)
|
70
|
-
concurrent-ruby (~> 1.0)
|
71
|
-
json (2.2.0)
|
72
|
-
loofah (2.2.3)
|
73
|
-
crass (~> 1.0.2)
|
74
|
-
nokogiri (>= 1.5.9)
|
75
|
-
mail (2.7.1)
|
76
|
-
mini_mime (>= 0.1.1)
|
77
|
-
marcel (0.3.3)
|
78
|
-
mimemagic (~> 0.3.2)
|
79
|
-
method_source (0.9.2)
|
80
|
-
mimemagic (0.3.3)
|
81
|
-
mini_mime (1.0.2)
|
82
|
-
mini_portile2 (2.4.0)
|
83
|
-
minitest (5.11.3)
|
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)
|
89
|
-
rack (>= 1.0, < 3)
|
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)
|
100
|
-
bundler (>= 1.3.0)
|
101
|
-
railties (= 5.2.3)
|
102
|
-
sprockets-rails (>= 2.0.0)
|
103
|
-
rails-dom-testing (2.0.3)
|
104
|
-
activesupport (>= 4.2.0)
|
105
|
-
nokogiri (>= 1.6)
|
106
|
-
rails-html-sanitizer (1.2.0)
|
107
|
-
loofah (~> 2.2, >= 2.2.2)
|
108
|
-
railties (5.2.3)
|
109
|
-
actionpack (= 5.2.3)
|
110
|
-
activesupport (= 5.2.3)
|
111
|
-
method_source
|
112
|
-
rake (>= 0.8.7)
|
113
|
-
thor (>= 0.19.0, < 2.0)
|
114
|
-
rake (12.3.3)
|
115
|
-
simplecov (0.16.1)
|
116
|
-
docile (~> 1.1)
|
117
|
-
json (>= 1.8, < 3)
|
118
|
-
simplecov-html (~> 0.10.0)
|
119
|
-
simplecov-html (0.10.2)
|
120
|
-
sprockets (3.7.2)
|
121
|
-
concurrent-ruby (~> 1.0)
|
122
|
-
rack (> 1, < 3)
|
123
|
-
sprockets-rails (3.2.1)
|
124
|
-
actionpack (>= 4.0)
|
125
|
-
activesupport (>= 4.0)
|
126
|
-
sprockets (>= 3.0.0)
|
127
|
-
sqlite3 (1.4.1)
|
128
|
-
term-ansicolor (1.7.1)
|
129
|
-
tins (~> 1.0)
|
130
|
-
thor (0.20.3)
|
131
|
-
thread_safe (0.3.6)
|
132
|
-
tins (1.21.1)
|
133
|
-
tzinfo (1.2.5)
|
134
|
-
thread_safe (~> 0.1)
|
135
|
-
websocket-driver (0.7.1)
|
136
|
-
websocket-extensions (>= 0.1.0)
|
137
|
-
websocket-extensions (0.1.4)
|
138
|
-
|
139
|
-
PLATFORMS
|
140
|
-
ruby
|
141
|
-
|
142
|
-
DEPENDENCIES
|
143
|
-
active_model_exporters!
|
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)
|
151
|
-
|
152
|
-
BUNDLED WITH
|
153
|
-
2.0.2
|
data/gemfiles/rails_6.0.gemfile
DELETED
@@ -1,169 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
active_model_exporters (0.5.2)
|
5
|
-
rails (>= 4.2)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actioncable (6.0.0)
|
11
|
-
actionpack (= 6.0.0)
|
12
|
-
nio4r (~> 2.0)
|
13
|
-
websocket-driver (>= 0.6.1)
|
14
|
-
actionmailbox (6.0.0)
|
15
|
-
actionpack (= 6.0.0)
|
16
|
-
activejob (= 6.0.0)
|
17
|
-
activerecord (= 6.0.0)
|
18
|
-
activestorage (= 6.0.0)
|
19
|
-
activesupport (= 6.0.0)
|
20
|
-
mail (>= 2.7.1)
|
21
|
-
actionmailer (6.0.0)
|
22
|
-
actionpack (= 6.0.0)
|
23
|
-
actionview (= 6.0.0)
|
24
|
-
activejob (= 6.0.0)
|
25
|
-
mail (~> 2.5, >= 2.5.4)
|
26
|
-
rails-dom-testing (~> 2.0)
|
27
|
-
actionpack (6.0.0)
|
28
|
-
actionview (= 6.0.0)
|
29
|
-
activesupport (= 6.0.0)
|
30
|
-
rack (~> 2.0)
|
31
|
-
rack-test (>= 0.6.3)
|
32
|
-
rails-dom-testing (~> 2.0)
|
33
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
34
|
-
actiontext (6.0.0)
|
35
|
-
actionpack (= 6.0.0)
|
36
|
-
activerecord (= 6.0.0)
|
37
|
-
activestorage (= 6.0.0)
|
38
|
-
activesupport (= 6.0.0)
|
39
|
-
nokogiri (>= 1.8.5)
|
40
|
-
actionview (6.0.0)
|
41
|
-
activesupport (= 6.0.0)
|
42
|
-
builder (~> 3.1)
|
43
|
-
erubi (~> 1.4)
|
44
|
-
rails-dom-testing (~> 2.0)
|
45
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
46
|
-
activejob (6.0.0)
|
47
|
-
activesupport (= 6.0.0)
|
48
|
-
globalid (>= 0.3.6)
|
49
|
-
activemodel (6.0.0)
|
50
|
-
activesupport (= 6.0.0)
|
51
|
-
activerecord (6.0.0)
|
52
|
-
activemodel (= 6.0.0)
|
53
|
-
activesupport (= 6.0.0)
|
54
|
-
activestorage (6.0.0)
|
55
|
-
actionpack (= 6.0.0)
|
56
|
-
activejob (= 6.0.0)
|
57
|
-
activerecord (= 6.0.0)
|
58
|
-
marcel (~> 0.3.1)
|
59
|
-
activesupport (6.0.0)
|
60
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
61
|
-
i18n (>= 0.7, < 2)
|
62
|
-
minitest (~> 5.1)
|
63
|
-
tzinfo (~> 1.1)
|
64
|
-
zeitwerk (~> 2.1, >= 2.1.8)
|
65
|
-
appraisal (2.2.0)
|
66
|
-
bundler
|
67
|
-
rake
|
68
|
-
thor (>= 0.14.0)
|
69
|
-
builder (3.2.3)
|
70
|
-
concurrent-ruby (1.1.5)
|
71
|
-
coveralls (0.8.23)
|
72
|
-
json (>= 1.8, < 3)
|
73
|
-
simplecov (~> 0.16.1)
|
74
|
-
term-ansicolor (~> 1.3)
|
75
|
-
thor (>= 0.19.4, < 2.0)
|
76
|
-
tins (~> 1.6)
|
77
|
-
crass (1.0.4)
|
78
|
-
docile (1.3.2)
|
79
|
-
erubi (1.8.0)
|
80
|
-
globalid (0.4.2)
|
81
|
-
activesupport (>= 4.2.0)
|
82
|
-
i18n (1.6.0)
|
83
|
-
concurrent-ruby (~> 1.0)
|
84
|
-
json (2.2.0)
|
85
|
-
loofah (2.2.3)
|
86
|
-
crass (~> 1.0.2)
|
87
|
-
nokogiri (>= 1.5.9)
|
88
|
-
mail (2.7.1)
|
89
|
-
mini_mime (>= 0.1.1)
|
90
|
-
marcel (0.3.3)
|
91
|
-
mimemagic (~> 0.3.2)
|
92
|
-
method_source (0.9.2)
|
93
|
-
mimemagic (0.3.3)
|
94
|
-
mini_mime (1.0.2)
|
95
|
-
mini_portile2 (2.4.0)
|
96
|
-
minitest (5.11.3)
|
97
|
-
nio4r (2.4.0)
|
98
|
-
nokogiri (1.10.4)
|
99
|
-
mini_portile2 (~> 2.4.0)
|
100
|
-
rack (2.0.7)
|
101
|
-
rack-test (1.1.0)
|
102
|
-
rack (>= 1.0, < 3)
|
103
|
-
rails (6.0.0)
|
104
|
-
actioncable (= 6.0.0)
|
105
|
-
actionmailbox (= 6.0.0)
|
106
|
-
actionmailer (= 6.0.0)
|
107
|
-
actionpack (= 6.0.0)
|
108
|
-
actiontext (= 6.0.0)
|
109
|
-
actionview (= 6.0.0)
|
110
|
-
activejob (= 6.0.0)
|
111
|
-
activemodel (= 6.0.0)
|
112
|
-
activerecord (= 6.0.0)
|
113
|
-
activestorage (= 6.0.0)
|
114
|
-
activesupport (= 6.0.0)
|
115
|
-
bundler (>= 1.3.0)
|
116
|
-
railties (= 6.0.0)
|
117
|
-
sprockets-rails (>= 2.0.0)
|
118
|
-
rails-dom-testing (2.0.3)
|
119
|
-
activesupport (>= 4.2.0)
|
120
|
-
nokogiri (>= 1.6)
|
121
|
-
rails-html-sanitizer (1.2.0)
|
122
|
-
loofah (~> 2.2, >= 2.2.2)
|
123
|
-
railties (6.0.0)
|
124
|
-
actionpack (= 6.0.0)
|
125
|
-
activesupport (= 6.0.0)
|
126
|
-
method_source
|
127
|
-
rake (>= 0.8.7)
|
128
|
-
thor (>= 0.20.3, < 2.0)
|
129
|
-
rake (12.3.3)
|
130
|
-
simplecov (0.16.1)
|
131
|
-
docile (~> 1.1)
|
132
|
-
json (>= 1.8, < 3)
|
133
|
-
simplecov-html (~> 0.10.0)
|
134
|
-
simplecov-html (0.10.2)
|
135
|
-
sprockets (3.7.2)
|
136
|
-
concurrent-ruby (~> 1.0)
|
137
|
-
rack (> 1, < 3)
|
138
|
-
sprockets-rails (3.2.1)
|
139
|
-
actionpack (>= 4.0)
|
140
|
-
activesupport (>= 4.0)
|
141
|
-
sprockets (>= 3.0.0)
|
142
|
-
sqlite3 (1.4.1)
|
143
|
-
term-ansicolor (1.7.1)
|
144
|
-
tins (~> 1.0)
|
145
|
-
thor (0.20.3)
|
146
|
-
thread_safe (0.3.6)
|
147
|
-
tins (1.21.1)
|
148
|
-
tzinfo (1.2.5)
|
149
|
-
thread_safe (~> 0.1)
|
150
|
-
websocket-driver (0.7.1)
|
151
|
-
websocket-extensions (>= 0.1.0)
|
152
|
-
websocket-extensions (0.1.4)
|
153
|
-
zeitwerk (2.1.9)
|
154
|
-
|
155
|
-
PLATFORMS
|
156
|
-
ruby
|
157
|
-
|
158
|
-
DEPENDENCIES
|
159
|
-
active_model_exporters!
|
160
|
-
appraisal (~> 2.2)
|
161
|
-
bundler (~> 2.0)
|
162
|
-
coveralls (~> 0.8)
|
163
|
-
minitest (~> 5.0)
|
164
|
-
rails (~> 6.0)
|
165
|
-
rake (~> 12.0)
|
166
|
-
sqlite3 (~> 1.4)
|
167
|
-
|
168
|
-
BUNDLED WITH
|
169
|
-
2.0.2
|