csv_step_importer 0.5.5 → 0.5.6

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
  SHA256:
3
- metadata.gz: 157cd45914a401dd9c7308d8c837bb9ecadac39936c5b45aa7d3beb8e55aeb96
4
- data.tar.gz: a48e45b36a1c253fa69d99ac16b64fc6db5060fa95a32a4a95b03209cc47c8a8
3
+ metadata.gz: 7e7c3bb7b6d774141652a025a241bb77d0fc2b94947bd34116c5a11d64cb38c2
4
+ data.tar.gz: cd7e7a5c4747ebe2cdca340b8f6ca153f4808ea75dd8e321ba76e78a397502aa
5
5
  SHA512:
6
- metadata.gz: 71d7e1579743048c1d2e1160d6de80813fc3d96c8df5dae28ad932d3c061a63555fec5b6b6c46864b41c849a182653f17eda9c9addf8a191a829e5c46f053651
7
- data.tar.gz: f51dde6eb5fde386789974cb87b290de9151810cc7b98be219935caddd2ec9affd37363ce366355c5ffa767d466d5a352d3d876c4a309f461f24da9ff5c15398
6
+ metadata.gz: 4d3212be52221ce5fdfe626f929dee576ed29b0795af264f57646487228d5832fc0f5535758068126334a86e72db726c15d764d7a2de2979e1447a700c676988
7
+ data.tar.gz: 98960ec1c7ae6a358272c43aefd81b07e250efd5731bd94c46b25535a6489e93ad39f2a711fce18b752050ec864db82bbba3f0aac5ab9dbef197f188aec21aa0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- csv_step_importer (0.5.0)
4
+ csv_step_importer (0.5.6)
5
5
  activemodel
6
6
  activerecord-import
7
7
  activesupport
@@ -10,40 +10,40 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionpack (5.1.6)
14
- actionview (= 5.1.6)
15
- activesupport (= 5.1.6)
13
+ actionpack (5.2.0)
14
+ actionview (= 5.2.0)
15
+ activesupport (= 5.2.0)
16
16
  rack (~> 2.0)
17
17
  rack-test (>= 0.6.3)
18
18
  rails-dom-testing (~> 2.0)
19
19
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
20
- actionview (5.1.6)
21
- activesupport (= 5.1.6)
20
+ actionview (5.2.0)
21
+ activesupport (= 5.2.0)
22
22
  builder (~> 3.1)
23
23
  erubi (~> 1.4)
24
24
  rails-dom-testing (~> 2.0)
25
25
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
26
- activemodel (5.1.6)
27
- activesupport (= 5.1.6)
28
- activerecord (5.1.6)
29
- activemodel (= 5.1.6)
30
- activesupport (= 5.1.6)
31
- arel (~> 8.0)
26
+ activemodel (5.2.0)
27
+ activesupport (= 5.2.0)
28
+ activerecord (5.2.0)
29
+ activemodel (= 5.2.0)
30
+ activesupport (= 5.2.0)
31
+ arel (>= 9.0)
32
32
  activerecord-import (0.22.0)
33
33
  activerecord (>= 3.2)
34
- activesupport (5.1.6)
34
+ activesupport (5.2.0)
35
35
  concurrent-ruby (~> 1.0, >= 1.0.2)
36
36
  i18n (>= 0.7, < 2)
37
37
  minitest (~> 5.1)
38
38
  tzinfo (~> 1.1)
39
- arel (8.0.0)
39
+ arel (9.0.0)
40
40
  ast (2.4.0)
41
41
  builder (3.2.3)
42
42
  concurrent-ruby (1.0.5)
43
- crass (1.0.3)
43
+ crass (1.0.4)
44
44
  diff-lcs (1.3)
45
45
  erubi (1.7.1)
46
- i18n (1.0.0)
46
+ i18n (1.0.1)
47
47
  concurrent-ruby (~> 1.0)
48
48
  loofah (2.2.2)
49
49
  crass (~> 1.0.2)
@@ -54,7 +54,7 @@ GEM
54
54
  nokogiri (1.8.2)
55
55
  mini_portile2 (~> 2.3.0)
56
56
  parallel (1.12.1)
57
- parser (2.5.0.5)
57
+ parser (2.5.1.0)
58
58
  ast (~> 2.4.0)
59
59
  powerpack (0.1.1)
60
60
  rack (2.0.4)
@@ -65,9 +65,9 @@ GEM
65
65
  nokogiri (>= 1.6)
66
66
  rails-html-sanitizer (1.0.4)
67
67
  loofah (~> 2.2, >= 2.2.2)
68
- railties (5.1.6)
69
- actionpack (= 5.1.6)
70
- activesupport (= 5.1.6)
68
+ railties (5.2.0)
69
+ actionpack (= 5.2.0)
70
+ activesupport (= 5.2.0)
71
71
  method_source
72
72
  rake (>= 0.8.7)
73
73
  thor (>= 0.18.1, < 2.0)
@@ -86,17 +86,17 @@ GEM
86
86
  diff-lcs (>= 1.2.0, < 2.0)
87
87
  rspec-support (~> 3.7.0)
88
88
  rspec-support (3.7.1)
89
- rubocop (0.54.0)
89
+ rubocop (0.55.0)
90
90
  parallel (~> 1.10)
91
91
  parser (>= 2.5)
92
92
  powerpack (~> 0.1)
93
93
  rainbow (>= 2.2.2, < 4.0)
94
94
  ruby-progressbar (~> 1.7)
95
95
  unicode-display_width (~> 1.0, >= 1.0.1)
96
- rubocop-rails (1.2.2)
96
+ rubocop-rails (1.3.0)
97
97
  railties (>= 3.0)
98
98
  rubocop (~> 0.49)
99
- rubocop-rspec (1.24.0)
99
+ rubocop-rspec (1.25.1)
100
100
  rubocop (>= 0.53.0)
101
101
  ruby-progressbar (1.9.0)
102
102
  smarter_csv (1.2.3)
@@ -31,7 +31,7 @@ module CSVStepImporter
31
31
  end
32
32
 
33
33
  def current_timestamp
34
- model.cache[:updated_at] ||= ::Time.current.to_s(:db)
34
+ model.cache[:updated_at] ||= (::ActiveRecord::Base.default_timezone == :utc ? ::Time.now.utc : ::Time.now).to_s(:db)
35
35
  end
36
36
 
37
37
  def created_at
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CSVStepImporter
4
- VERSION = "0.5.5"
4
+ VERSION = "0.5.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv_step_importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian-Manuel Butzke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-03 00:00:00.000000000 Z
11
+ date: 2018-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler