active_admin_import 5.1.0 → 7.0.0

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.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin_import
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Fedoronchuk
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-11-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activerecord-import
@@ -16,14 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '0.27'
18
+ version: '2.0'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: '0.27'
25
+ version: '2.0'
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: rchardet
29
28
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +57,20 @@ dependencies:
58
57
  requirements:
59
58
  - - ">="
60
59
  - !ruby/object:Gem::Version
61
- version: 1.0.0
60
+ version: '3.0'
61
+ - - "<"
62
+ - !ruby/object:Gem::Version
63
+ version: '4.1'
62
64
  type: :runtime
63
65
  prerelease: false
64
66
  version_requirements: !ruby/object:Gem::Requirement
65
67
  requirements:
66
68
  - - ">="
67
69
  - !ruby/object:Gem::Version
68
- version: 1.0.0
70
+ version: '3.0'
71
+ - - "<"
72
+ - !ruby/object:Gem::Version
73
+ version: '4.1'
69
74
  description: The most efficient way to import for Active Admin
70
75
  email:
71
76
  - fedoronchuk@gmail.com
@@ -76,7 +81,6 @@ files:
76
81
  - ".github/workflows/test.yml"
77
82
  - ".gitignore"
78
83
  - ".rubocop.yml"
79
- - CHANGELOG.md
80
84
  - Gemfile
81
85
  - LICENSE
82
86
  - README.md
@@ -108,6 +112,7 @@ files:
108
112
  - spec/fixtures/files/author.csv
109
113
  - spec/fixtures/files/author_broken_header.csv
110
114
  - spec/fixtures/files/author_invalid.csv
115
+ - spec/fixtures/files/author_invalid_format.txt
111
116
  - spec/fixtures/files/authors.csv
112
117
  - spec/fixtures/files/authors_bom.csv
113
118
  - spec/fixtures/files/authors_invalid_db.csv
@@ -120,6 +125,7 @@ files:
120
125
  - spec/fixtures/files/authors_with_tabs.tsv
121
126
  - spec/fixtures/files/empty.csv
122
127
  - spec/fixtures/files/only_headers.csv
128
+ - spec/fixtures/files/post_comments.csv
123
129
  - spec/fixtures/files/posts.csv
124
130
  - spec/fixtures/files/posts_for_author.csv
125
131
  - spec/fixtures/files/posts_for_author_no_headers.csv
@@ -129,13 +135,14 @@ files:
129
135
  - spec/spec_helper.rb
130
136
  - spec/support/active_model_lint.rb
131
137
  - spec/support/admin.rb
138
+ - spec/support/import_form_selectors.rb
132
139
  - spec/support/rails_template.rb
140
+ - spec/support/test_app_paths.rb
133
141
  - tasks/test.rake
134
- homepage: http://github.com/Fivell/active_admin_import
142
+ homepage: https://github.com/activeadmin-plugins/active_admin_import
135
143
  licenses:
136
144
  - MIT
137
145
  metadata: {}
138
- post_install_message:
139
146
  rdoc_options: []
140
147
  require_paths:
141
148
  - lib
@@ -143,41 +150,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
150
  requirements:
144
151
  - - ">="
145
152
  - !ruby/object:Gem::Version
146
- version: '0'
153
+ version: 3.1.0
147
154
  required_rubygems_version: !ruby/object:Gem::Requirement
148
155
  requirements:
149
156
  - - ">="
150
157
  - !ruby/object:Gem::Version
151
158
  version: '0'
152
159
  requirements: []
153
- rubyforge_project:
154
- rubygems_version: 2.7.6.2
155
- signing_key:
160
+ rubygems_version: 3.7.1
156
161
  specification_version: 4
157
162
  summary: ActiveAdmin import based on activerecord-import gem.
158
- test_files:
159
- - spec/fixtures/files/author.csv
160
- - spec/fixtures/files/author_broken_header.csv
161
- - spec/fixtures/files/author_invalid.csv
162
- - spec/fixtures/files/authors.csv
163
- - spec/fixtures/files/authors_bom.csv
164
- - spec/fixtures/files/authors_invalid_db.csv
165
- - spec/fixtures/files/authors_invalid_model.csv
166
- - spec/fixtures/files/authors_no_headers.csv
167
- - spec/fixtures/files/authors_values_exceeded_headers.csv
168
- - spec/fixtures/files/authors_win1251_win_endline.csv
169
- - spec/fixtures/files/authors_with_ids.csv
170
- - spec/fixtures/files/authors_with_semicolons.csv
171
- - spec/fixtures/files/authors_with_tabs.tsv
172
- - spec/fixtures/files/empty.csv
173
- - spec/fixtures/files/only_headers.csv
174
- - spec/fixtures/files/posts.csv
175
- - spec/fixtures/files/posts_for_author.csv
176
- - spec/fixtures/files/posts_for_author_no_headers.csv
177
- - spec/import_result_spec.rb
178
- - spec/import_spec.rb
179
- - spec/model_spec.rb
180
- - spec/spec_helper.rb
181
- - spec/support/active_model_lint.rb
182
- - spec/support/admin.rb
183
- - spec/support/rails_template.rb
163
+ test_files: []
data/CHANGELOG.md DELETED
@@ -1,33 +0,0 @@
1
- # Changelog
2
- ## [5.0.0] - 2021-11-16
3
- - Ruby 3 compatibility added #190 | @clinejj
4
- - Support for a non UTF-8 file when zip uploading #185| @naokirin
5
- - Rails 6 supported #183 | @pnghai
6
- - Drop ruby 2.4 support #192 | @Fivell
7
-
8
-
9
- ## [4.2.0] - 2020-02-05
10
- - generic exception for import added #175 | @linqueta
11
-
12
- ## [4.1.2] - 2019-12-16
13
- - allow application/octet-stream content-type #172 | @dmitry-sinina
14
- - Allow activerecord-import >= 0.27 #171 | @sagium
15
-
16
- ## [4.1.1] - 2019-09-20
17
- - Fix column slicing #168 | @doredesign
18
- - Handle errors on base #163
19
-
20
- ## [4.1.0] - 2019-01-15
21
- - Upgrade dependencies: `activerecord-import` to >=0.27.1 | @jkowens
22
-
23
- ## [4.0.0] - 2018-07-19
24
- - Adde German translation | @morris-frank
25
- - Remove support for Ruby 2.1 and Rails 4
26
-
27
- ## [3.1.0] - 2018-04-10
28
- - Lower dependency of ActiveAdmin to >= 1.0.0.pre2
29
- - Add possibility to skip columns/values in CSV (batch_slice_columns method)
30
-
31
- [Unreleased]: https://github.com/activeadmin-plugins/active_admin_import/compare/v4.0.0...HEAD
32
- [4.0.0]: https://github.com/activeadmin-plugins/active_admin_import/compare/v3.1.0...v4.0.0
33
- [3.1.0]: https://github.com/activeadmin-plugins/active_admin_import/compare/3.0.0...v3.1.0