importance 0.2.6 → 0.2.7

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: 495f2f10d4834e86a1224ba0368b4642fb136c371dc79f635cd5d2187be756f9
4
- data.tar.gz: 9971a1b0c872ab7a4f1b705ff3b105b9217d95a7c1030043053f69a1ae95fc53
3
+ metadata.gz: eaa9c663497a1803a8073c007296562b853d4d1e97d6c8d8336210bd719db481
4
+ data.tar.gz: 43e5fc5fee72a4c57fbbf5838fdc1c3a83d1628433d5bdde457b01197d52b8ca
5
5
  SHA512:
6
- metadata.gz: f73128060f9b98baac9959e8a3f94ba3e061d019b7b2d06df6145afaec892ff4271a4f4b34052c4ac700010f52ef3603da750327e20006e0f40539a4b2dbdc10
7
- data.tar.gz: 131100a75c3ea0b074f3a097d759b77bd582b549c7206e469c7a180ce3b716c576bfa25fdaf0183d7b899cdce48c9297af9e71296f41d2af9021bddb65d99d4e
6
+ metadata.gz: 212918817607bb11fd2696f49f4997ff30e5ee92cd2f1f36e577b7346357bb8e0aa917f849e62f42898ba53b78aa513d3efbe7ead1c03b250d349467c5b4c0b2
7
+ data.tar.gz: e1ae1c63063963932f8ebcf67f263e1755bfbf722c1c399bc8a2d709e6705a6e1eb8f13e455994c72be017a6b2651812f3ffb7c1fffe812c8033a96e15f69aec
@@ -58,14 +58,13 @@ module Importance
58
58
  def import
59
59
  @layout = "Importance::#{Importance.configuration.layout.to_s.camelize}Layout".constantize
60
60
  @importer = Importance.configuration.importers[session[:importer].to_sym]
61
+ @importer.add_spreadsheet(session[:path])
61
62
 
62
63
  if @importer.nil?
63
64
  flash[:alert] = t("importance.errors.no_importer")
64
65
  render :map and return
65
66
  end
66
67
 
67
- @importer.add_spreadsheet(session[:path])
68
-
69
68
  if params[:mappings].nil?
70
69
  flash[:alert] = t("importance.errors.no_mappings")
71
70
  render :map and return
@@ -1,3 +1,3 @@
1
1
  module Importance
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: importance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas_Skywalker