importr 0.0.3 → 0.0.4

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
2
  SHA1:
3
- metadata.gz: 17a29355c196c8aac87b18a1d1aeb27d896897f2
4
- data.tar.gz: aba05d865b2156224475e6a1aa94e13342ad7bf1
3
+ metadata.gz: 56d186a586eff0f8223314cd8e4b0912433141ac
4
+ data.tar.gz: 8e995f5b953efda2ac713b74adcd454b67b4ee41
5
5
  SHA512:
6
- metadata.gz: 837ea81edf3b88a6ead963188b7d40b52e67f8614232118ea58745745de24efa7303cca5d00ede087253128e1e9039e7015605a184800e337e88330ff3328a66
7
- data.tar.gz: 51f72029dfa4253f11f1ea7b32c847a9f4c87b88dce0272fb88f1d074758df8c77df42874ec5b88d23bc22bee33da1c26c4f781922ccbdbe48c7649c1f368913
6
+ metadata.gz: 20a53b615bd4cbd9ee37e6ce4453586be7d7a5282c8b67d3ff6eecc573d341380175d49601e73f6ad66c68ba379d232499c33d905d521cae922330bfd3d23455
7
+ data.tar.gz: 1f0043c8d3d08ab227bdcb29e0910102369eaeb1a1c5ca6638a6e471924b3bc83ee1bf92aa5814dd8f915ae292ea8a118fdc5e9f0f8981e954dc1c482f70ef41
@@ -28,6 +28,10 @@ module Importr
28
28
  notify(:base, error: e.message)
29
29
  end
30
30
 
31
+ on :import_aborted do |message|
32
+ notify(:base, error: message)
33
+ end
34
+
31
35
  on :import_finished do
32
36
  data_import.update_attribute(:finished, true) if data_import
33
37
  end
@@ -47,7 +51,7 @@ module Importr
47
51
  total_rows: row_count,
48
52
  }
49
53
  if data_import
50
- data_import.update_attributes(@counters)
54
+ data_import.update_attributes(@counters)
51
55
  add_error(err) unless err.blank?
52
56
  end
53
57
  end
@@ -1,3 +1,3 @@
1
1
  module Importr
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: importr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernesto Garcia
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: 0.2.0
34
+ version: 0.2.4
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ~>
40
40
  - !ruby/object:Gem::Version
41
- version: 0.2.0
41
+ version: 0.2.4
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: carrierwave
44
44
  requirement: !ruby/object:Gem::Requirement