administrate_exportable 0.1.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 55c0bdfe3b210474339bc39070f7610646c0b2c3
4
- data.tar.gz: 3569c8037f32ed5196b81805abbf322a7a3c61cd
2
+ SHA256:
3
+ metadata.gz: 33e2014ed28365718d8ce43cced3e3ca72b00fbf67bc3b040ae31613f6092020
4
+ data.tar.gz: 871c01a9249f34872fcf3d6303be6e7f8c568b3a6991fcc6357abd0ac5ea5e09
5
5
  SHA512:
6
- metadata.gz: 947b15a467c2c1dfa1d51c7a4b08409963a0123f22deb148883aa7d0029e7f8d8bbad1525e106c53d4e9dfafa6f1e4e70e189d0f14a9db7cc5290fd30f6f2e28
7
- data.tar.gz: 27bb3cf01b756f046adfaa451f93a8e180231bb6658ae1bdf390e8ee7c2cab2da2dca268a980b0a91aff764a5e4c3e68845fa0ddb94e618de5e7908ad768a171
6
+ metadata.gz: 1c6c4f35005d9cc8fea9a29433f4ffca4a633152bc2c6763da7adaa149fcd1579be8477539763e5be2f50dde6fb5a7b13508b670b1b081635966804de29f0e83
7
+ data.tar.gz: 2588222728d3bc595f3aeb536a5c309aa6f3322e0d1108efad78021fed8d1808b7db5fee2166736adaa845001babb8934f860f1f69a7707efa8f8c3fd85f58ef
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 2.7.2
data/Gemfile.lock CHANGED
@@ -1,106 +1,108 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- administrate_exportable (0.1.0)
5
- administrate (> 0.10.0)
6
- rails (>= 4.2, < 6.0)
4
+ administrate_exportable (0.3.1)
5
+ actionview (>= 5.2.2.1)
6
+ administrate (>= 0.13.0)
7
+ rails (>= 4.2)
8
+ railties (>= 5.2.2.1)
7
9
 
8
10
  GEM
9
11
  remote: https://rubygems.org/
10
12
  specs:
11
- actioncable (5.2.1)
12
- actionpack (= 5.2.1)
13
+ actioncable (5.2.4.5)
14
+ actionpack (= 5.2.4.5)
13
15
  nio4r (~> 2.0)
14
16
  websocket-driver (>= 0.6.1)
15
- actionmailer (5.2.1)
16
- actionpack (= 5.2.1)
17
- actionview (= 5.2.1)
18
- activejob (= 5.2.1)
17
+ actionmailer (5.2.4.5)
18
+ actionpack (= 5.2.4.5)
19
+ actionview (= 5.2.4.5)
20
+ activejob (= 5.2.4.5)
19
21
  mail (~> 2.5, >= 2.5.4)
20
22
  rails-dom-testing (~> 2.0)
21
- actionpack (5.2.1)
22
- actionview (= 5.2.1)
23
- activesupport (= 5.2.1)
24
- rack (~> 2.0)
23
+ actionpack (5.2.4.5)
24
+ actionview (= 5.2.4.5)
25
+ activesupport (= 5.2.4.5)
26
+ rack (~> 2.0, >= 2.0.8)
25
27
  rack-test (>= 0.6.3)
26
28
  rails-dom-testing (~> 2.0)
27
29
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.2.1)
29
- activesupport (= 5.2.1)
30
+ actionview (5.2.4.5)
31
+ activesupport (= 5.2.4.5)
30
32
  builder (~> 3.1)
31
33
  erubi (~> 1.4)
32
34
  rails-dom-testing (~> 2.0)
33
35
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.2.1)
35
- activesupport (= 5.2.1)
36
+ activejob (5.2.4.5)
37
+ activesupport (= 5.2.4.5)
36
38
  globalid (>= 0.3.6)
37
- activemodel (5.2.1)
38
- activesupport (= 5.2.1)
39
- activerecord (5.2.1)
40
- activemodel (= 5.2.1)
41
- activesupport (= 5.2.1)
39
+ activemodel (5.2.4.5)
40
+ activesupport (= 5.2.4.5)
41
+ activerecord (5.2.4.5)
42
+ activemodel (= 5.2.4.5)
43
+ activesupport (= 5.2.4.5)
42
44
  arel (>= 9.0)
43
- activestorage (5.2.1)
44
- actionpack (= 5.2.1)
45
- activerecord (= 5.2.1)
45
+ activestorage (5.2.4.5)
46
+ actionpack (= 5.2.4.5)
47
+ activerecord (= 5.2.4.5)
46
48
  marcel (~> 0.3.1)
47
- activesupport (5.2.1)
49
+ activesupport (5.2.4.5)
48
50
  concurrent-ruby (~> 1.0, >= 1.0.2)
49
51
  i18n (>= 0.7, < 2)
50
52
  minitest (~> 5.1)
51
53
  tzinfo (~> 1.1)
52
- administrate (0.11.0)
53
- actionpack (>= 4.2, < 6.0)
54
- actionview (>= 4.2, < 6.0)
55
- activerecord (>= 4.2, < 6.0)
54
+ administrate (0.13.0)
55
+ actionpack (>= 4.2)
56
+ actionview (>= 4.2)
57
+ activerecord (>= 4.2)
56
58
  autoprefixer-rails (>= 6.0)
57
59
  datetime_picker_rails (~> 0.0.7)
58
60
  jquery-rails (>= 4.0)
59
61
  kaminari (>= 1.0)
60
62
  momentjs-rails (~> 2.8)
61
- sass-rails (~> 5.0)
63
+ sassc-rails (~> 2.1)
62
64
  selectize-rails (~> 0.6)
63
65
  administrate-field-enumerate (0.0.1)
64
66
  administrate
65
67
  enumerate_it
66
68
  rails (>= 4.2, < 6.0)
67
69
  arel (9.0.0)
68
- autoprefixer-rails (9.3.1)
70
+ autoprefixer-rails (10.2.4.0)
69
71
  execjs
70
- builder (3.2.3)
71
- byebug (10.0.2)
72
+ builder (3.2.4)
73
+ byebug (11.0.1)
72
74
  coderay (1.1.2)
73
- concurrent-ruby (1.1.3)
74
- crass (1.0.4)
75
+ concurrent-ruby (1.1.8)
76
+ crass (1.0.6)
75
77
  datetime_picker_rails (0.0.7)
76
78
  momentjs-rails (>= 2.8.1)
77
79
  diff-lcs (1.3)
78
- enumerate_it (1.7.0)
79
- activesupport (>= 3.0.0)
80
- erubi (1.7.1)
80
+ enumerate_it (2.0.0)
81
+ activesupport (>= 4.0.0)
82
+ erubi (1.10.0)
81
83
  execjs (2.7.0)
82
- ffi (1.9.25)
83
- globalid (0.4.1)
84
+ ffi (1.15.0)
85
+ globalid (0.4.2)
84
86
  activesupport (>= 4.2.0)
85
- i18n (1.1.1)
87
+ i18n (1.8.9)
86
88
  concurrent-ruby (~> 1.0)
87
- jquery-rails (4.3.3)
89
+ jquery-rails (4.4.0)
88
90
  rails-dom-testing (>= 1, < 3)
89
91
  railties (>= 4.2.0)
90
92
  thor (>= 0.14, < 2.0)
91
- kaminari (1.1.1)
93
+ kaminari (1.2.1)
92
94
  activesupport (>= 4.1.0)
93
- kaminari-actionview (= 1.1.1)
94
- kaminari-activerecord (= 1.1.1)
95
- kaminari-core (= 1.1.1)
96
- kaminari-actionview (1.1.1)
95
+ kaminari-actionview (= 1.2.1)
96
+ kaminari-activerecord (= 1.2.1)
97
+ kaminari-core (= 1.2.1)
98
+ kaminari-actionview (1.2.1)
97
99
  actionview
98
- kaminari-core (= 1.1.1)
99
- kaminari-activerecord (1.1.1)
100
+ kaminari-core (= 1.2.1)
101
+ kaminari-activerecord (1.2.1)
100
102
  activerecord
101
- kaminari-core (= 1.1.1)
102
- kaminari-core (1.1.1)
103
- loofah (2.2.3)
103
+ kaminari-core (= 1.2.1)
104
+ kaminari-core (1.2.1)
105
+ loofah (2.9.0)
104
106
  crass (~> 1.0.2)
105
107
  nokogiri (>= 1.5.9)
106
108
  mail (2.7.1)
@@ -108,61 +110,61 @@ GEM
108
110
  marcel (0.3.3)
109
111
  mimemagic (~> 0.3.2)
110
112
  method_source (0.9.2)
111
- mimemagic (0.3.2)
112
- mini_mime (1.0.1)
113
- mini_portile2 (2.3.0)
114
- minitest (5.11.3)
113
+ mimemagic (0.3.5)
114
+ mini_mime (1.0.2)
115
+ mini_portile2 (2.5.0)
116
+ minitest (5.14.4)
115
117
  momentjs-rails (2.20.1)
116
118
  railties (>= 3.1)
117
- nio4r (2.3.1)
118
- nokogiri (1.8.5)
119
- mini_portile2 (~> 2.3.0)
119
+ nio4r (2.5.7)
120
+ nokogiri (1.11.1)
121
+ mini_portile2 (~> 2.5.0)
122
+ racc (~> 1.4)
120
123
  pry (0.12.2)
121
124
  coderay (~> 1.1.0)
122
125
  method_source (~> 0.9.0)
123
- pry-byebug (3.6.0)
124
- byebug (~> 10.0)
126
+ pry-byebug (3.7.0)
127
+ byebug (~> 11.0)
125
128
  pry (~> 0.10)
126
- rack (2.0.6)
129
+ racc (1.5.2)
130
+ rack (2.2.3)
127
131
  rack-test (1.1.0)
128
132
  rack (>= 1.0, < 3)
129
- rails (5.2.1)
130
- actioncable (= 5.2.1)
131
- actionmailer (= 5.2.1)
132
- actionpack (= 5.2.1)
133
- actionview (= 5.2.1)
134
- activejob (= 5.2.1)
135
- activemodel (= 5.2.1)
136
- activerecord (= 5.2.1)
137
- activestorage (= 5.2.1)
138
- activesupport (= 5.2.1)
133
+ rails (5.2.4.5)
134
+ actioncable (= 5.2.4.5)
135
+ actionmailer (= 5.2.4.5)
136
+ actionpack (= 5.2.4.5)
137
+ actionview (= 5.2.4.5)
138
+ activejob (= 5.2.4.5)
139
+ activemodel (= 5.2.4.5)
140
+ activerecord (= 5.2.4.5)
141
+ activestorage (= 5.2.4.5)
142
+ activesupport (= 5.2.4.5)
139
143
  bundler (>= 1.3.0)
140
- railties (= 5.2.1)
144
+ railties (= 5.2.4.5)
141
145
  sprockets-rails (>= 2.0.0)
142
146
  rails-dom-testing (2.0.3)
143
147
  activesupport (>= 4.2.0)
144
148
  nokogiri (>= 1.6)
145
- rails-html-sanitizer (1.0.4)
146
- loofah (~> 2.2, >= 2.2.2)
147
- railties (5.2.1)
148
- actionpack (= 5.2.1)
149
- activesupport (= 5.2.1)
149
+ rails-html-sanitizer (1.3.0)
150
+ loofah (~> 2.3)
151
+ railties (5.2.4.5)
152
+ actionpack (= 5.2.4.5)
153
+ activesupport (= 5.2.4.5)
150
154
  method_source
151
155
  rake (>= 0.8.7)
152
156
  thor (>= 0.19.0, < 2.0)
153
- rake (10.5.0)
154
- rb-fsevent (0.10.3)
155
- rb-inotify (0.9.10)
156
- ffi (>= 0.5.0, < 2)
157
- rspec-core (3.8.0)
157
+ rake (13.0.3)
158
+ rb-readline (0.5.5)
159
+ rspec-core (3.8.2)
158
160
  rspec-support (~> 3.8.0)
159
- rspec-expectations (3.8.2)
161
+ rspec-expectations (3.8.4)
160
162
  diff-lcs (>= 1.2.0, < 2.0)
161
163
  rspec-support (~> 3.8.0)
162
- rspec-mocks (3.8.0)
164
+ rspec-mocks (3.8.1)
163
165
  diff-lcs (>= 1.2.0, < 2.0)
164
166
  rspec-support (~> 3.8.0)
165
- rspec-rails (3.8.1)
167
+ rspec-rails (3.8.2)
166
168
  actionpack (>= 3.0)
167
169
  activesupport (>= 3.0)
168
170
  railties (>= 3.0)
@@ -170,51 +172,49 @@ GEM
170
172
  rspec-expectations (~> 3.8.0)
171
173
  rspec-mocks (~> 3.8.0)
172
174
  rspec-support (~> 3.8.0)
173
- rspec-support (3.8.0)
174
- sass (3.7.2)
175
- sass-listen (~> 4.0.0)
176
- sass-listen (4.0.0)
177
- rb-fsevent (~> 0.9, >= 0.9.4)
178
- rb-inotify (~> 0.9, >= 0.9.7)
179
- sass-rails (5.0.7)
180
- railties (>= 4.0.0, < 6)
181
- sass (~> 3.1)
182
- sprockets (>= 2.8, < 4.0)
183
- sprockets-rails (>= 2.0, < 4.0)
184
- tilt (>= 1.1, < 3)
175
+ rspec-support (3.8.2)
176
+ sassc (2.4.0)
177
+ ffi (~> 1.9)
178
+ sassc-rails (2.1.2)
179
+ railties (>= 4.0.0)
180
+ sassc (>= 2.0)
181
+ sprockets (> 3.0)
182
+ sprockets-rails
183
+ tilt
185
184
  selectize-rails (0.12.6)
186
- sprockets (3.7.2)
185
+ sprockets (4.0.2)
187
186
  concurrent-ruby (~> 1.0)
188
187
  rack (> 1, < 3)
189
- sprockets-rails (3.2.1)
188
+ sprockets-rails (3.2.2)
190
189
  actionpack (>= 4.0)
191
190
  activesupport (>= 4.0)
192
191
  sprockets (>= 3.0.0)
193
- sqlite3 (1.3.13)
194
- thor (0.20.3)
192
+ sqlite3 (1.4.1)
193
+ thor (1.1.0)
195
194
  thread_safe (0.3.6)
196
- tilt (2.0.8)
197
- tzinfo (1.2.5)
195
+ tilt (2.0.10)
196
+ tzinfo (1.2.9)
198
197
  thread_safe (~> 0.1)
199
- websocket-driver (0.7.0)
198
+ websocket-driver (0.7.3)
200
199
  websocket-extensions (>= 0.1.0)
201
- websocket-extensions (0.1.3)
200
+ websocket-extensions (0.1.5)
202
201
 
203
202
  PLATFORMS
204
203
  ruby
205
204
 
206
205
  DEPENDENCIES
207
- administrate
206
+ administrate (~> 0.13.0)
208
207
  administrate-field-enumerate
209
208
  administrate_exportable!
210
209
  byebug
211
210
  pry-byebug
212
- rails (~> 5.2.1)
211
+ rails (~> 5.2.3)
212
+ rb-readline
213
213
  rspec-rails (~> 3.8)
214
214
  sqlite3
215
215
 
216
216
  RUBY VERSION
217
- ruby 2.4.2p198
217
+ ruby 2.7.2p137
218
218
 
219
219
  BUNDLED WITH
220
- 1.17.1
220
+ 2.1.4
data/README.md CHANGED
@@ -20,7 +20,7 @@ For each resource you want to be exportable, add the following line to the their
20
20
  ```ruby
21
21
  include AdministrateExportable::Exporter
22
22
  ```
23
- and the following line in the `db/routes.rb` file, correctly nested on resources
23
+ and the following line in the `config/routes.rb` file, correctly nested on resources
24
24
  ```ruby
25
25
  get :export, on: :collection
26
26
  ```
@@ -56,7 +56,7 @@ ATTRIBUTE_TYPES = {
56
56
 
57
57
  By default the gem adds the Export button to the view `views/admin/application/index.html.erb`. But if you have your own Administrate `index` views, you can add the link manually:
58
58
  ```ruby
59
- link_to 'Export', [:export, namespace, page.resource_path], class: 'button'
59
+ link_to('Export', [:export, namespace, page.resource_name.to_s.pluralize, sanitized_order_params(page, :id).to_h.merge(format: :csv)], class: 'button') if valid_action?(:export)
60
60
  ```
61
61
 
62
62
  Example:
@@ -72,7 +72,12 @@ Example:
72
72
  [:new, namespace, page.resource_path],
73
73
  class: "button",
74
74
  ) if valid_action?(:new) && show_action?(:new, new_resource) %>
75
- <%= link_to 'Export', [:export, namespace, page.resource_path], class: 'button' %>
75
+
76
+ <%= link_to(
77
+ 'Export',
78
+ [:export, namespace, page.resource_name.to_s.pluralize, sanitized_order_params(page, :id).to_h.merge(format: :csv)],
79
+ class: 'button'
80
+ ) if valid_action?(:export) %>
76
81
  </div>
77
82
  ....
78
83
  ```
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = AdministrateExportable::VERSION
9
9
  spec.authors = ["Jônatas Rancan", "Andrei Bondarev"]
10
10
  spec.email = ["hello@sourcelabs.io"]
11
- spec.homepage = 'https://github.com/SourceLabsLLC/administrate_exportable'
11
+ spec.homepage = 'https://github.com/SourceLabsLLC/administrate_exportable'
12
12
  spec.summary = "Simple plugin to add CSV export feature to Administrate"
13
13
  spec.description = spec.summary
14
14
  spec.license = "MIT"
@@ -32,6 +32,9 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "bundler", "~> 1.16"
33
33
  spec.add_development_dependency "rake", "~> 10.0"
34
34
  spec.add_development_dependency "rspec", "~> 3.0"
35
- spec.add_dependency 'administrate','> 0.10.0'
36
- spec.add_dependency 'rails', '>= 4.2', '< 6.0'
35
+ spec.add_development_dependency "pry-byebug", "~> 3.0"
36
+ spec.add_dependency 'administrate','>= 0.13.0'
37
+ spec.add_dependency 'rails', '>= 4.2'
38
+ spec.add_dependency 'actionview', '>= 5.2.2.1'
39
+ spec.add_dependency 'railties', '>= 5.2.2.1'
37
40
  end
@@ -47,9 +47,9 @@ It renders the `_table` partial to display details about the resources.
47
47
  ) if valid_action?(:new) && show_action?(:new, new_resource) %>
48
48
  <%= link_to(
49
49
  'Export',
50
- [:export, namespace, page.resource_name.to_s.pluralize, { format: :csv }],
50
+ [:export, namespace, page.resource_name.to_s.pluralize, sanitized_order_params(page, :id).to_h.merge(format: :csv)],
51
51
  class: 'button'
52
- ) if valid_action?(:export) %>
52
+ ) if valid_action?(:export) && show_action?(:export, resource_name) %>
53
53
  </div>
54
54
  </header>
55
55
 
@@ -9,7 +9,14 @@ module AdministrateExportable
9
9
  class_methods do
10
10
  def exportable
11
11
  define_method(:export) do
12
- csv_data = ExporterService.csv(dashboard, resource_class)
12
+ search_term = params[:search].to_s.strip
13
+ resources = Administrate::Search.new(scoped_resource,
14
+ dashboard_class,
15
+ search_term).run
16
+ resources = apply_collection_includes(resources)
17
+ resources = order.apply(resources)
18
+
19
+ csv_data = ExporterService.csv(dashboard, resource_class, resources)
13
20
 
14
21
  respond_to do |format|
15
22
  format.csv { send_data csv_data, filename: "#{resource_name.to_s.pluralize}-#{Date.today}.csv" }
@@ -2,13 +2,14 @@ require 'csv'
2
2
 
3
3
  module AdministrateExportable
4
4
  class ExporterService
5
- def self.csv(dashboard, resource_class)
6
- new(dashboard, resource_class).csv
5
+ def self.csv(dashboard, resource_class, resources)
6
+ new(dashboard, resource_class, resources).csv
7
7
  end
8
8
 
9
- def initialize(dashboard, resource_class)
9
+ def initialize(dashboard, resource_class, resources)
10
10
  @dashboard = dashboard
11
11
  @resource_class = resource_class
12
+ @resources = resources
12
13
  end
13
14
 
14
15
  def csv
@@ -26,7 +27,7 @@ module AdministrateExportable
26
27
 
27
28
  private
28
29
 
29
- attr_reader :dashboard, :resource_class, :sanitizer
30
+ attr_reader :dashboard, :resource_class, :resources, :sanitizer
30
31
 
31
32
  def record_attribute(record, attribute_key, attribute_type)
32
33
  field = attribute_type.new(attribute_key, record.send(attribute_key), 'index', resource: record)
@@ -43,6 +44,8 @@ module AdministrateExportable
43
44
  field.data.count if field.data
44
45
  when Administrate::Field::DateTime.to_s
45
46
  field.datetime if field.data
47
+ when Administrate::Field::Date.to_s
48
+ field.date if field.data
46
49
  when Administrate::Field::Email.to_s, Administrate::Field::Select.to_s
47
50
  field.data
48
51
  when Administrate::Field::Password.to_s, Administrate::Field::String.to_s, Administrate::Field::Text.to_s
@@ -80,12 +83,7 @@ module AdministrateExportable
80
83
  end
81
84
 
82
85
  def collection
83
- relation = resource_class.default_scoped
84
- resource_includes = dashboard.association_includes
85
-
86
- return relation if resource_includes.empty?
87
-
88
- relation.includes(*resource_includes)
86
+ resources
89
87
  end
90
88
  end
91
89
  end
@@ -1,3 +1,3 @@
1
1
  module AdministrateExportable
2
- VERSION = "0.1.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate_exportable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jônatas Rancan
8
8
  - Andrei Bondarev
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-11-22 00:00:00.000000000 Z
12
+ date: 2021-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -53,20 +53,34 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '3.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: pry-byebug
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.0'
56
70
  - !ruby/object:Gem::Dependency
57
71
  name: administrate
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
- - - ">"
74
+ - - ">="
61
75
  - !ruby/object:Gem::Version
62
- version: 0.10.0
76
+ version: 0.13.0
63
77
  type: :runtime
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
- - - ">"
81
+ - - ">="
68
82
  - !ruby/object:Gem::Version
69
- version: 0.10.0
83
+ version: 0.13.0
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: rails
72
86
  requirement: !ruby/object:Gem::Requirement
@@ -74,9 +88,6 @@ dependencies:
74
88
  - - ">="
75
89
  - !ruby/object:Gem::Version
76
90
  version: '4.2'
77
- - - "<"
78
- - !ruby/object:Gem::Version
79
- version: '6.0'
80
91
  type: :runtime
81
92
  prerelease: false
82
93
  version_requirements: !ruby/object:Gem::Requirement
@@ -84,9 +95,34 @@ dependencies:
84
95
  - - ">="
85
96
  - !ruby/object:Gem::Version
86
97
  version: '4.2'
87
- - - "<"
98
+ - !ruby/object:Gem::Dependency
99
+ name: actionview
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 5.2.2.1
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 5.2.2.1
112
+ - !ruby/object:Gem::Dependency
113
+ name: railties
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: 5.2.2.1
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
88
124
  - !ruby/object:Gem::Version
89
- version: '6.0'
125
+ version: 5.2.2.1
90
126
  description: Simple plugin to add CSV export feature to Administrate
91
127
  email:
92
128
  - hello@sourcelabs.io
@@ -96,6 +132,7 @@ extra_rdoc_files: []
96
132
  files:
97
133
  - ".gitignore"
98
134
  - ".rspec"
135
+ - ".tool-versions"
99
136
  - ".travis.yml"
100
137
  - Gemfile
101
138
  - Gemfile.lock
@@ -114,7 +151,7 @@ homepage: https://github.com/SourceLabsLLC/administrate_exportable
114
151
  licenses:
115
152
  - MIT
116
153
  metadata: {}
117
- post_install_message:
154
+ post_install_message:
118
155
  rdoc_options: []
119
156
  require_paths:
120
157
  - lib
@@ -129,9 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
166
  - !ruby/object:Gem::Version
130
167
  version: '0'
131
168
  requirements: []
132
- rubyforge_project:
133
- rubygems_version: 2.6.13
134
- signing_key:
169
+ rubygems_version: 3.1.4
170
+ signing_key:
135
171
  specification_version: 4
136
172
  summary: Simple plugin to add CSV export feature to Administrate
137
173
  test_files: []