active_admin_import 3.1.0 → 4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0752ed26da2e640bbef43504a32bb98550d230d4f3c8cab9c1ff3fc6cd8f8eee
4
- data.tar.gz: 441866fbf6ba23fdf49f1232f56ca5545f9ee1c1f1f71402be42261d8c2df72d
3
+ metadata.gz: ceb587969539ca4f08107e7f2c4d4ce154c5f0ace6cc25dc9b316cdf01c43bdc
4
+ data.tar.gz: 57c7f8d83303f5a32b7f86101902a52a63c5f9fd142484d8bbe9bebcf84e5d1b
5
5
  SHA512:
6
- metadata.gz: 5ca717644add0b286d26eb6f97f4be627954576cd9cb4153f5f97e9e849719495c266add21a033ca906636e2373c42b2452350586c52af95ee1dbb8acc1a7696
7
- data.tar.gz: 00e6d0d6c689254eadd789a987d7aec3d6742f1988aec2f3373b867af3ac5bdf6e2077f272ba80cbae847750cc996d1ac5b7e08fc7ed664991ffd38733779066
6
+ metadata.gz: 320b4eb7bc7b2072ddd38d1792964dfbbf76843708beab319d385802467e5932ae55b16ce01636dbc9b6cd8d7cbdf9568468063e973dd5b99e90ff4bf65caf00
7
+ data.tar.gz: 309b12058621656173a45359513509701f9e785d52e92ebac95adebd74083fe8c4e6e17bdbe54535a25d7bd656c73315aed7f026e448c06b0103c821f6f86b70
@@ -1,13 +1,8 @@
1
1
  script: bundle exec rspec spec
2
2
  env:
3
3
  matrix:
4
- - RAILS=4.2.6
5
4
  - RAILS=5.0.0
5
+ - RAILS=5.1.0
6
6
  rvm:
7
- - 2.1.9
8
7
  - 2.2.5
9
8
  - 2.3.1
10
- matrix:
11
- exclude:
12
- - rvm: 2.1.9
13
- env: RAILS=5.0.0 # Rails 5.0 requires Ruby 2.2.2 or newer
@@ -0,0 +1,15 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased]
4
+
5
+ ## [4.0.0] - 2018-07-19
6
+ - Adde German translation | @morris-frank
7
+ - Remove support for Ruby 2.1 and Rails 4
8
+
9
+ ## [3.1.0] - 2018-04-10
10
+ - Lower dependency of ActiveAdmin to >= 1.0.0.pre2
11
+ - Add possibility to skip columns/values in CSV (batch_slice_columns method)
12
+
13
+ [Unreleased]: https://github.com/activeadmin-plugins/active_admin_import/compare/v4.0.0...HEAD
14
+ [4.0.0]: https://github.com/activeadmin-plugins/active_admin_import/compare/v3.1.0...v4.0.0
15
+ [3.1.0]: https://github.com/activeadmin-plugins/active_admin_import/compare/3.0.0...v3.1.0
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ gemspec
6
6
 
7
7
 
8
8
  group :test do
9
- default_rails_version = '4.2.8'
9
+ default_rails_version = "~> 5.1"
10
10
  rails_version = ENV['RAILS'] || default_rails_version
11
11
  gem 'rails', rails_version
12
12
  gem 'rspec-rails'
@@ -0,0 +1,23 @@
1
+ de:
2
+ active_admin:
3
+ import: "Importieren"
4
+ active_admin_import:
5
+ file: 'File'
6
+ file_error: "Error: %{message}"
7
+ file_format_error: "Sie können nur valide CSV Dateien importieren"
8
+ file_empty_error: "Sie können keine leere Datei importieren"
9
+ no_file_error: "Bitte wählen sie eine Datei für den Upload aus"
10
+ details: "Bitte wählen sie eine Datei aus"
11
+ imported:
12
+ one: "Erfolgreich 1 %{model} importiert"
13
+ other: "Erfolgreich %{count} %{plural_model} importiert"
14
+ failed:
15
+ one: "Konnte nicht 1 %{model} importieren: %{message}"
16
+ other: "Konnte nicht %{count} %{plural_model} importieren: %{message}"
17
+ import_model: "Importiere %{plural_model}"
18
+ import_btn: "Importieren"
19
+ import_btn_disabled: "Warten..."
20
+ csv_options: "CSV Optionen"
21
+ col_sep: 'Spalten sep'
22
+ row_sep: 'Reihen sep'
23
+ quote_char: 'Ausrufezeichen'
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ActiveAdminImport
3
- VERSION = "3.1.0"
3
+ VERSION = "4.0.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin_import
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Fedoronchuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-10 00:00:00.000000000 Z
11
+ date: 2018-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-import
@@ -76,12 +76,14 @@ files:
76
76
  - ".gitignore"
77
77
  - ".rubocop.yml"
78
78
  - ".travis.yml"
79
+ - CHANGELOG.md
79
80
  - Gemfile
80
81
  - LICENSE
81
82
  - README.md
82
83
  - Rakefile
83
84
  - active_admin_import.gemspec
84
85
  - app/views/admin/import.html.erb
86
+ - config/locales/de.yml
85
87
  - config/locales/en.yml
86
88
  - config/locales/es.yml
87
89
  - config/locales/fr.yml
@@ -147,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
149
  version: '0'
148
150
  requirements: []
149
151
  rubyforge_project:
150
- rubygems_version: 2.7.6
152
+ rubygems_version: 2.7.7
151
153
  signing_key:
152
154
  specification_version: 4
153
155
  summary: ActiveAdmin import based on activerecord-import gem.