csv_import_magic 0.0.5 → 0.0.6
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b6c9d63d455903c43e03449e4f96e054f3392aabbf835f9df0b8442a6282889
|
|
4
|
+
data.tar.gz: 9dbbb5f642dd72894eb371e5f4853f86dd8ff295fe7d35ab0dc0a01aff594697
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '003840bbdd1717b658b3ecfd0b510c021c0368ba1674cd72f91264db8eaad0b6686e37570aaa46b0e9a0c52e950cfb0b0a7f161f52ed966eb131dfbf8ad1e882'
|
|
7
|
+
data.tar.gz: 8e9b13f1617db4c3d1617f9bf81c97ede9c4786848a5dd2055c210b994058fe92ef7fc9796d439382fc24ef6b4cbe41818fdaa993d1d80002341591949f2d788
|
|
@@ -14,7 +14,7 @@ module CsvImportMagic
|
|
|
14
14
|
redirect_to edit_importer_path(@importer), alert: t('csv_import_magic.importers_controller.create.alert')
|
|
15
15
|
end
|
|
16
16
|
rescue ActiveRecord::RecordInvalid, CSV::MalformedCSVError => e
|
|
17
|
-
|
|
17
|
+
redirect_back fallback_location: '/', flash: { error: e.message }
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def edit
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: csv_import_magic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Saulo Santiago
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-04-
|
|
11
|
+
date: 2018-04-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|