active_model_exporters 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "active_model_exporters"
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
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.2.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,155 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ active_model_exporters (0.6.0)
5
+ rails (>= 5.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.2.5)
11
+ actionpack (= 5.2.5)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailer (5.2.5)
15
+ actionpack (= 5.2.5)
16
+ actionview (= 5.2.5)
17
+ activejob (= 5.2.5)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.2.5)
21
+ actionview (= 5.2.5)
22
+ activesupport (= 5.2.5)
23
+ rack (~> 2.0, >= 2.0.8)
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.5)
28
+ activesupport (= 5.2.5)
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.5)
34
+ activesupport (= 5.2.5)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.2.5)
37
+ activesupport (= 5.2.5)
38
+ activerecord (5.2.5)
39
+ activemodel (= 5.2.5)
40
+ activesupport (= 5.2.5)
41
+ arel (>= 9.0)
42
+ activestorage (5.2.5)
43
+ actionpack (= 5.2.5)
44
+ activerecord (= 5.2.5)
45
+ marcel (~> 1.0.0)
46
+ activesupport (5.2.5)
47
+ concurrent-ruby (~> 1.0, >= 1.0.2)
48
+ i18n (>= 0.7, < 2)
49
+ minitest (~> 5.1)
50
+ tzinfo (~> 1.1)
51
+ appraisal (2.4.0)
52
+ bundler
53
+ rake
54
+ thor (>= 0.14.0)
55
+ arel (9.0.0)
56
+ builder (3.2.4)
57
+ concurrent-ruby (1.1.8)
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.6)
65
+ docile (1.3.5)
66
+ erubi (1.10.0)
67
+ globalid (0.4.2)
68
+ activesupport (>= 4.2.0)
69
+ i18n (1.8.10)
70
+ concurrent-ruby (~> 1.0)
71
+ json (2.5.1)
72
+ loofah (2.9.0)
73
+ crass (~> 1.0.2)
74
+ nokogiri (>= 1.5.9)
75
+ mail (2.7.1)
76
+ mini_mime (>= 0.1.1)
77
+ marcel (1.0.1)
78
+ method_source (1.0.0)
79
+ mini_mime (1.1.0)
80
+ mini_portile2 (2.5.0)
81
+ minitest (5.14.4)
82
+ nio4r (2.5.7)
83
+ nokogiri (1.11.2)
84
+ mini_portile2 (~> 2.5.0)
85
+ racc (~> 1.4)
86
+ racc (1.5.2)
87
+ rack (2.2.3)
88
+ rack-test (1.1.0)
89
+ rack (>= 1.0, < 3)
90
+ rails (5.2.5)
91
+ actioncable (= 5.2.5)
92
+ actionmailer (= 5.2.5)
93
+ actionpack (= 5.2.5)
94
+ actionview (= 5.2.5)
95
+ activejob (= 5.2.5)
96
+ activemodel (= 5.2.5)
97
+ activerecord (= 5.2.5)
98
+ activestorage (= 5.2.5)
99
+ activesupport (= 5.2.5)
100
+ bundler (>= 1.3.0)
101
+ railties (= 5.2.5)
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.3.0)
107
+ loofah (~> 2.3)
108
+ railties (5.2.5)
109
+ actionpack (= 5.2.5)
110
+ activesupport (= 5.2.5)
111
+ method_source
112
+ rake (>= 0.8.7)
113
+ thor (>= 0.19.0, < 2.0)
114
+ rake (13.0.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 (4.0.2)
121
+ concurrent-ruby (~> 1.0)
122
+ rack (> 1, < 3)
123
+ sprockets-rails (3.2.2)
124
+ actionpack (>= 4.0)
125
+ activesupport (>= 4.0)
126
+ sprockets (>= 3.0.0)
127
+ sqlite3 (1.4.2)
128
+ sync (0.5.0)
129
+ term-ansicolor (1.7.1)
130
+ tins (~> 1.0)
131
+ thor (1.1.0)
132
+ thread_safe (0.3.6)
133
+ tins (1.28.0)
134
+ sync
135
+ tzinfo (1.2.9)
136
+ thread_safe (~> 0.1)
137
+ websocket-driver (0.7.3)
138
+ websocket-extensions (>= 0.1.0)
139
+ websocket-extensions (0.1.5)
140
+
141
+ PLATFORMS
142
+ ruby
143
+
144
+ DEPENDENCIES
145
+ active_model_exporters!
146
+ appraisal (~> 2.4)
147
+ bundler (~> 2.2)
148
+ coveralls (~> 0.8)
149
+ minitest (~> 5.14)
150
+ rails (~> 5.2.0)
151
+ rake (~> 13.0)
152
+ sqlite3 (~> 1.4)
153
+
154
+ BUNDLED WITH
155
+ 2.2.15
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 6.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,171 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ active_model_exporters (0.6.0)
5
+ rails (>= 5.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (6.0.3.6)
11
+ actionpack (= 6.0.3.6)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.0.3.6)
15
+ actionpack (= 6.0.3.6)
16
+ activejob (= 6.0.3.6)
17
+ activerecord (= 6.0.3.6)
18
+ activestorage (= 6.0.3.6)
19
+ activesupport (= 6.0.3.6)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.0.3.6)
22
+ actionpack (= 6.0.3.6)
23
+ actionview (= 6.0.3.6)
24
+ activejob (= 6.0.3.6)
25
+ mail (~> 2.5, >= 2.5.4)
26
+ rails-dom-testing (~> 2.0)
27
+ actionpack (6.0.3.6)
28
+ actionview (= 6.0.3.6)
29
+ activesupport (= 6.0.3.6)
30
+ rack (~> 2.0, >= 2.0.8)
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.3.6)
35
+ actionpack (= 6.0.3.6)
36
+ activerecord (= 6.0.3.6)
37
+ activestorage (= 6.0.3.6)
38
+ activesupport (= 6.0.3.6)
39
+ nokogiri (>= 1.8.5)
40
+ actionview (6.0.3.6)
41
+ activesupport (= 6.0.3.6)
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.3.6)
47
+ activesupport (= 6.0.3.6)
48
+ globalid (>= 0.3.6)
49
+ activemodel (6.0.3.6)
50
+ activesupport (= 6.0.3.6)
51
+ activerecord (6.0.3.6)
52
+ activemodel (= 6.0.3.6)
53
+ activesupport (= 6.0.3.6)
54
+ activestorage (6.0.3.6)
55
+ actionpack (= 6.0.3.6)
56
+ activejob (= 6.0.3.6)
57
+ activerecord (= 6.0.3.6)
58
+ marcel (~> 1.0.0)
59
+ activesupport (6.0.3.6)
60
+ concurrent-ruby (~> 1.0, >= 1.0.2)
61
+ i18n (>= 0.7, < 2)
62
+ minitest (~> 5.1)
63
+ tzinfo (~> 1.1)
64
+ zeitwerk (~> 2.2, >= 2.2.2)
65
+ appraisal (2.4.0)
66
+ bundler
67
+ rake
68
+ thor (>= 0.14.0)
69
+ builder (3.2.4)
70
+ concurrent-ruby (1.1.8)
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.6)
78
+ docile (1.3.5)
79
+ erubi (1.10.0)
80
+ globalid (0.4.2)
81
+ activesupport (>= 4.2.0)
82
+ i18n (1.8.10)
83
+ concurrent-ruby (~> 1.0)
84
+ json (2.5.1)
85
+ loofah (2.9.0)
86
+ crass (~> 1.0.2)
87
+ nokogiri (>= 1.5.9)
88
+ mail (2.7.1)
89
+ mini_mime (>= 0.1.1)
90
+ marcel (1.0.1)
91
+ method_source (1.0.0)
92
+ mini_mime (1.1.0)
93
+ mini_portile2 (2.5.0)
94
+ minitest (5.14.4)
95
+ nio4r (2.5.7)
96
+ nokogiri (1.11.2)
97
+ mini_portile2 (~> 2.5.0)
98
+ racc (~> 1.4)
99
+ racc (1.5.2)
100
+ rack (2.2.3)
101
+ rack-test (1.1.0)
102
+ rack (>= 1.0, < 3)
103
+ rails (6.0.3.6)
104
+ actioncable (= 6.0.3.6)
105
+ actionmailbox (= 6.0.3.6)
106
+ actionmailer (= 6.0.3.6)
107
+ actionpack (= 6.0.3.6)
108
+ actiontext (= 6.0.3.6)
109
+ actionview (= 6.0.3.6)
110
+ activejob (= 6.0.3.6)
111
+ activemodel (= 6.0.3.6)
112
+ activerecord (= 6.0.3.6)
113
+ activestorage (= 6.0.3.6)
114
+ activesupport (= 6.0.3.6)
115
+ bundler (>= 1.3.0)
116
+ railties (= 6.0.3.6)
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.3.0)
122
+ loofah (~> 2.3)
123
+ railties (6.0.3.6)
124
+ actionpack (= 6.0.3.6)
125
+ activesupport (= 6.0.3.6)
126
+ method_source
127
+ rake (>= 0.8.7)
128
+ thor (>= 0.20.3, < 2.0)
129
+ rake (13.0.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 (4.0.2)
136
+ concurrent-ruby (~> 1.0)
137
+ rack (> 1, < 3)
138
+ sprockets-rails (3.2.2)
139
+ actionpack (>= 4.0)
140
+ activesupport (>= 4.0)
141
+ sprockets (>= 3.0.0)
142
+ sqlite3 (1.4.2)
143
+ sync (0.5.0)
144
+ term-ansicolor (1.7.1)
145
+ tins (~> 1.0)
146
+ thor (1.1.0)
147
+ thread_safe (0.3.6)
148
+ tins (1.28.0)
149
+ sync
150
+ tzinfo (1.2.9)
151
+ thread_safe (~> 0.1)
152
+ websocket-driver (0.7.3)
153
+ websocket-extensions (>= 0.1.0)
154
+ websocket-extensions (0.1.5)
155
+ zeitwerk (2.4.2)
156
+
157
+ PLATFORMS
158
+ ruby
159
+
160
+ DEPENDENCIES
161
+ active_model_exporters!
162
+ appraisal (~> 2.4)
163
+ bundler (~> 2.2)
164
+ coveralls (~> 0.8)
165
+ minitest (~> 5.14)
166
+ rails (~> 6.0.0)
167
+ rake (~> 13.0)
168
+ sqlite3 (~> 1.4)
169
+
170
+ BUNDLED WITH
171
+ 2.2.15
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 6.1.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,174 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ active_model_exporters (0.6.0)
5
+ rails (>= 5.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (6.1.3.1)
11
+ actionpack (= 6.1.3.1)
12
+ activesupport (= 6.1.3.1)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailbox (6.1.3.1)
16
+ actionpack (= 6.1.3.1)
17
+ activejob (= 6.1.3.1)
18
+ activerecord (= 6.1.3.1)
19
+ activestorage (= 6.1.3.1)
20
+ activesupport (= 6.1.3.1)
21
+ mail (>= 2.7.1)
22
+ actionmailer (6.1.3.1)
23
+ actionpack (= 6.1.3.1)
24
+ actionview (= 6.1.3.1)
25
+ activejob (= 6.1.3.1)
26
+ activesupport (= 6.1.3.1)
27
+ mail (~> 2.5, >= 2.5.4)
28
+ rails-dom-testing (~> 2.0)
29
+ actionpack (6.1.3.1)
30
+ actionview (= 6.1.3.1)
31
+ activesupport (= 6.1.3.1)
32
+ rack (~> 2.0, >= 2.0.9)
33
+ rack-test (>= 0.6.3)
34
+ rails-dom-testing (~> 2.0)
35
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
+ actiontext (6.1.3.1)
37
+ actionpack (= 6.1.3.1)
38
+ activerecord (= 6.1.3.1)
39
+ activestorage (= 6.1.3.1)
40
+ activesupport (= 6.1.3.1)
41
+ nokogiri (>= 1.8.5)
42
+ actionview (6.1.3.1)
43
+ activesupport (= 6.1.3.1)
44
+ builder (~> 3.1)
45
+ erubi (~> 1.4)
46
+ rails-dom-testing (~> 2.0)
47
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
+ activejob (6.1.3.1)
49
+ activesupport (= 6.1.3.1)
50
+ globalid (>= 0.3.6)
51
+ activemodel (6.1.3.1)
52
+ activesupport (= 6.1.3.1)
53
+ activerecord (6.1.3.1)
54
+ activemodel (= 6.1.3.1)
55
+ activesupport (= 6.1.3.1)
56
+ activestorage (6.1.3.1)
57
+ actionpack (= 6.1.3.1)
58
+ activejob (= 6.1.3.1)
59
+ activerecord (= 6.1.3.1)
60
+ activesupport (= 6.1.3.1)
61
+ marcel (~> 1.0.0)
62
+ mini_mime (~> 1.0.2)
63
+ activesupport (6.1.3.1)
64
+ concurrent-ruby (~> 1.0, >= 1.0.2)
65
+ i18n (>= 1.6, < 2)
66
+ minitest (>= 5.1)
67
+ tzinfo (~> 2.0)
68
+ zeitwerk (~> 2.3)
69
+ appraisal (2.4.0)
70
+ bundler
71
+ rake
72
+ thor (>= 0.14.0)
73
+ builder (3.2.4)
74
+ concurrent-ruby (1.1.8)
75
+ coveralls (0.8.23)
76
+ json (>= 1.8, < 3)
77
+ simplecov (~> 0.16.1)
78
+ term-ansicolor (~> 1.3)
79
+ thor (>= 0.19.4, < 2.0)
80
+ tins (~> 1.6)
81
+ crass (1.0.6)
82
+ docile (1.3.5)
83
+ erubi (1.10.0)
84
+ globalid (0.4.2)
85
+ activesupport (>= 4.2.0)
86
+ i18n (1.8.10)
87
+ concurrent-ruby (~> 1.0)
88
+ json (2.5.1)
89
+ loofah (2.9.0)
90
+ crass (~> 1.0.2)
91
+ nokogiri (>= 1.5.9)
92
+ mail (2.7.1)
93
+ mini_mime (>= 0.1.1)
94
+ marcel (1.0.1)
95
+ method_source (1.0.0)
96
+ mini_mime (1.0.3)
97
+ mini_portile2 (2.5.0)
98
+ minitest (5.14.4)
99
+ nio4r (2.5.7)
100
+ nokogiri (1.11.2)
101
+ mini_portile2 (~> 2.5.0)
102
+ racc (~> 1.4)
103
+ racc (1.5.2)
104
+ rack (2.2.3)
105
+ rack-test (1.1.0)
106
+ rack (>= 1.0, < 3)
107
+ rails (6.1.3.1)
108
+ actioncable (= 6.1.3.1)
109
+ actionmailbox (= 6.1.3.1)
110
+ actionmailer (= 6.1.3.1)
111
+ actionpack (= 6.1.3.1)
112
+ actiontext (= 6.1.3.1)
113
+ actionview (= 6.1.3.1)
114
+ activejob (= 6.1.3.1)
115
+ activemodel (= 6.1.3.1)
116
+ activerecord (= 6.1.3.1)
117
+ activestorage (= 6.1.3.1)
118
+ activesupport (= 6.1.3.1)
119
+ bundler (>= 1.15.0)
120
+ railties (= 6.1.3.1)
121
+ sprockets-rails (>= 2.0.0)
122
+ rails-dom-testing (2.0.3)
123
+ activesupport (>= 4.2.0)
124
+ nokogiri (>= 1.6)
125
+ rails-html-sanitizer (1.3.0)
126
+ loofah (~> 2.3)
127
+ railties (6.1.3.1)
128
+ actionpack (= 6.1.3.1)
129
+ activesupport (= 6.1.3.1)
130
+ method_source
131
+ rake (>= 0.8.7)
132
+ thor (~> 1.0)
133
+ rake (13.0.3)
134
+ simplecov (0.16.1)
135
+ docile (~> 1.1)
136
+ json (>= 1.8, < 3)
137
+ simplecov-html (~> 0.10.0)
138
+ simplecov-html (0.10.2)
139
+ sprockets (4.0.2)
140
+ concurrent-ruby (~> 1.0)
141
+ rack (> 1, < 3)
142
+ sprockets-rails (3.2.2)
143
+ actionpack (>= 4.0)
144
+ activesupport (>= 4.0)
145
+ sprockets (>= 3.0.0)
146
+ sqlite3 (1.4.2)
147
+ sync (0.5.0)
148
+ term-ansicolor (1.7.1)
149
+ tins (~> 1.0)
150
+ thor (1.1.0)
151
+ tins (1.28.0)
152
+ sync
153
+ tzinfo (2.0.4)
154
+ concurrent-ruby (~> 1.0)
155
+ websocket-driver (0.7.3)
156
+ websocket-extensions (>= 0.1.0)
157
+ websocket-extensions (0.1.5)
158
+ zeitwerk (2.4.2)
159
+
160
+ PLATFORMS
161
+ ruby
162
+
163
+ DEPENDENCIES
164
+ active_model_exporters!
165
+ appraisal (~> 2.4)
166
+ bundler (~> 2.2)
167
+ coveralls (~> 0.8)
168
+ minitest (~> 5.14)
169
+ rails (~> 6.1.0)
170
+ rake (~> 13.0)
171
+ sqlite3 (~> 1.4)
172
+
173
+ BUNDLED WITH
174
+ 2.2.15