lite-report 1.1.0 → 1.1.1

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: 6c47012894f22e7cb6329fd29cd11d674436a26e0721042f92f8686827854ff2
4
- data.tar.gz: 5bc35bc9c3f4604121aeb9a9fe519a582f4da4ed5aa7aed0afbd64e8fba5591d
3
+ metadata.gz: 9559d49c8162d5c74d507ad986917f959add7da9a95d3566b36a3a3668194db5
4
+ data.tar.gz: acaf0fec27642dbb3b1d6244ece60467065adc76cdc8709eaa48766bb27198dc
5
5
  SHA512:
6
- metadata.gz: fb991fc839a2287a65de08bc70c3e44cc59a003618a2ef4db6eb2f05ece1e028c12ab71c86f6242c8423a723e6dd826414d2eb123fcd8af6b853146672aff5a9
7
- data.tar.gz: b957984a667255674fd66e2122e2c813b515cbe04daff7c5e0227eb74c44c3c0425024945012a857901b92e3131277c7774e812a04f8e59802afb4d52c25672a
6
+ metadata.gz: a8f6269d6985c6ade54c2c3a2efd73751053cb653341fdb96edeb9e2fea935b59afaebbc62eed75a30b13157bc4b16516f8a537f398d2e53b788cb8f9782ad6a
7
+ data.tar.gz: 6bce2655d3e3aec419000de951a65cd369136ee63d10933c5744e326ac49de884a2cd91cf8dce588cc220706c8f25118351a3801713e24b6611af46aec02bffd
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.1] - 2021-05-07
10
+ ### Changed
11
+ - Linter fixes
12
+
9
13
  ## [1.1.0] - 2021-01-06
10
14
  ### Added
11
15
  - Added Exporter helper class
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-report (1.1.0)
4
+ lite-report (1.1.1)
5
5
  activerecord
6
6
  activerecord-import
7
7
  deep_pluck
@@ -9,63 +9,68 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (6.1.0)
13
- actionview (= 6.1.0)
14
- activesupport (= 6.1.0)
12
+ actionpack (6.1.3.2)
13
+ actionview (= 6.1.3.2)
14
+ activesupport (= 6.1.3.2)
15
15
  rack (~> 2.0, >= 2.0.9)
16
16
  rack-test (>= 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
19
- actionview (6.1.0)
20
- activesupport (= 6.1.0)
19
+ actionview (6.1.3.2)
20
+ activesupport (= 6.1.3.2)
21
21
  builder (~> 3.1)
22
22
  erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
25
- activemodel (6.1.0)
26
- activesupport (= 6.1.0)
27
- activerecord (6.1.0)
28
- activemodel (= 6.1.0)
29
- activesupport (= 6.1.0)
30
- activerecord-import (1.0.7)
25
+ activemodel (6.1.3.2)
26
+ activesupport (= 6.1.3.2)
27
+ activerecord (6.1.3.2)
28
+ activemodel (= 6.1.3.2)
29
+ activesupport (= 6.1.3.2)
30
+ activerecord-import (1.0.8)
31
31
  activerecord (>= 3.2)
32
- activesupport (6.1.0)
32
+ activesupport (6.1.3.2)
33
33
  concurrent-ruby (~> 1.0, >= 1.0.2)
34
34
  i18n (>= 1.6, < 2)
35
35
  minitest (>= 5.1)
36
36
  tzinfo (~> 2.0)
37
37
  zeitwerk (~> 2.3)
38
- ast (2.4.1)
38
+ ast (2.4.2)
39
39
  builder (3.2.4)
40
40
  colorize (0.8.1)
41
- concurrent-ruby (1.1.7)
41
+ concurrent-ruby (1.1.8)
42
42
  crass (1.0.6)
43
- database_cleaner (1.8.5)
44
- deep_pluck (1.1.4)
43
+ database_cleaner (2.0.1)
44
+ database_cleaner-active_record (~> 2.0.0)
45
+ database_cleaner-active_record (2.0.0)
46
+ activerecord (>= 5.a)
47
+ database_cleaner-core (~> 2.0.0)
48
+ database_cleaner-core (2.0.1)
49
+ deep_pluck (1.1.7)
45
50
  activerecord (>= 3)
46
51
  pluck_all (>= 1.2.3)
47
- rails_compatibility (>= 0.0.1)
52
+ rails_compatibility (>= 0.0.4)
48
53
  diff-lcs (1.4.4)
49
54
  erubi (1.10.0)
50
- fasterer (0.8.3)
55
+ fasterer (0.9.0)
51
56
  colorize (~> 0.7)
52
57
  ruby_parser (>= 3.14.1)
53
58
  generator_spec (0.9.4)
54
59
  activesupport (>= 3.0.0)
55
60
  railties (>= 3.0.0)
56
- i18n (1.8.7)
61
+ i18n (1.8.10)
57
62
  concurrent-ruby (~> 1.0)
58
- loofah (2.8.0)
63
+ loofah (2.9.1)
59
64
  crass (~> 1.0.2)
60
65
  nokogiri (>= 1.5.9)
61
66
  method_source (1.0.0)
62
- mini_portile2 (2.5.0)
63
- minitest (5.14.3)
64
- nokogiri (1.11.1)
67
+ mini_portile2 (2.5.1)
68
+ minitest (5.14.4)
69
+ nokogiri (1.11.3)
65
70
  mini_portile2 (~> 2.5.0)
66
71
  racc (~> 1.4)
67
72
  parallel (1.20.1)
68
- parser (3.0.0.0)
73
+ parser (3.0.1.1)
69
74
  ast (~> 2.4.1)
70
75
  pluck_all (2.2.1)
71
76
  activesupport (>= 3.0.0)
@@ -79,22 +84,22 @@ GEM
79
84
  nokogiri (>= 1.6)
80
85
  rails-html-sanitizer (1.3.0)
81
86
  loofah (~> 2.3)
82
- rails_compatibility (0.0.2)
87
+ rails_compatibility (0.0.5)
83
88
  activerecord (>= 3)
84
- railties (6.1.0)
85
- actionpack (= 6.1.0)
86
- activesupport (= 6.1.0)
89
+ railties (6.1.3.2)
90
+ actionpack (= 6.1.3.2)
91
+ activesupport (= 6.1.3.2)
87
92
  method_source
88
93
  rake (>= 0.8.7)
89
94
  thor (~> 1.0)
90
95
  rainbow (3.0.0)
91
96
  rake (13.0.3)
92
- ransack (2.4.1)
97
+ ransack (2.4.2)
93
98
  activerecord (>= 5.2.4)
94
99
  activesupport (>= 5.2.4)
95
100
  i18n
96
- regexp_parser (2.0.3)
97
- rexml (3.2.4)
101
+ regexp_parser (2.1.1)
102
+ rexml (3.2.5)
98
103
  rspec (3.10.0)
99
104
  rspec-core (~> 3.10.0)
100
105
  rspec-expectations (~> 3.10.0)
@@ -104,46 +109,46 @@ GEM
104
109
  rspec-expectations (3.10.1)
105
110
  diff-lcs (>= 1.2.0, < 2.0)
106
111
  rspec-support (~> 3.10.0)
107
- rspec-mocks (3.10.1)
112
+ rspec-mocks (3.10.2)
108
113
  diff-lcs (>= 1.2.0, < 2.0)
109
114
  rspec-support (~> 3.10.0)
110
- rspec-rails (4.0.2)
111
- actionpack (>= 4.2)
112
- activesupport (>= 4.2)
113
- railties (>= 4.2)
115
+ rspec-rails (5.0.1)
116
+ actionpack (>= 5.2)
117
+ activesupport (>= 5.2)
118
+ railties (>= 5.2)
114
119
  rspec-core (~> 3.10)
115
120
  rspec-expectations (~> 3.10)
116
121
  rspec-mocks (~> 3.10)
117
122
  rspec-support (~> 3.10)
118
- rspec-support (3.10.1)
119
- rubocop (1.7.0)
123
+ rspec-support (3.10.2)
124
+ rubocop (1.14.0)
120
125
  parallel (~> 1.10)
121
- parser (>= 2.7.1.5)
126
+ parser (>= 3.0.0.0)
122
127
  rainbow (>= 2.2.2, < 4.0)
123
128
  regexp_parser (>= 1.8, < 3.0)
124
129
  rexml
125
- rubocop-ast (>= 1.2.0, < 2.0)
130
+ rubocop-ast (>= 1.5.0, < 2.0)
126
131
  ruby-progressbar (~> 1.7)
127
- unicode-display_width (>= 1.4.0, < 2.0)
128
- rubocop-ast (1.4.0)
129
- parser (>= 2.7.1.5)
130
- rubocop-performance (1.9.2)
131
- rubocop (>= 0.90.0, < 2.0)
132
+ unicode-display_width (>= 1.4.0, < 3.0)
133
+ rubocop-ast (1.5.0)
134
+ parser (>= 3.0.1.1)
135
+ rubocop-performance (1.11.3)
136
+ rubocop (>= 1.7.0, < 2.0)
132
137
  rubocop-ast (>= 0.4.0)
133
138
  rubocop-rake (0.5.1)
134
139
  rubocop
135
- rubocop-rspec (2.1.0)
140
+ rubocop-rspec (2.3.0)
136
141
  rubocop (~> 1.0)
137
142
  rubocop-ast (>= 1.1.0)
138
143
  ruby-progressbar (1.11.0)
139
- ruby_parser (3.15.0)
144
+ ruby_parser (3.15.1)
140
145
  sexp_processor (~> 4.9)
141
- sexp_processor (4.15.1)
146
+ sexp_processor (4.15.2)
142
147
  sqlite3 (1.4.2)
143
- thor (1.0.1)
148
+ thor (1.1.0)
144
149
  tzinfo (2.0.4)
145
150
  concurrent-ruby (~> 1.0)
146
- unicode-display_width (1.7.0)
151
+ unicode-display_width (2.0.0)
147
152
  zeitwerk (2.4.2)
148
153
 
149
154
  PLATFORMS
@@ -166,4 +171,4 @@ DEPENDENCIES
166
171
  sqlite3
167
172
 
168
173
  BUNDLED WITH
169
- 2.1.4
174
+ 2.2.17
@@ -16,7 +16,7 @@ module Lite
16
16
 
17
17
  def convert_to_hash!(row)
18
18
  case row.class.name
19
- when 'Array' then ::Hash[(0..(row.size - 1)).zip(row)]
19
+ when 'Array' then (0..(row.size - 1)).zip(row).to_h
20
20
  when 'CSV::Row' then row.to_hash
21
21
  else row
22
22
  end
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Report
5
5
 
6
- VERSION ||= '1.1.0'
6
+ VERSION = '1.1.1'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-report
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-06 00:00:00.000000000 Z
11
+ date: 2021-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  - !ruby/object:Gem::Version
295
295
  version: '0'
296
296
  requirements: []
297
- rubygems_version: 3.2.4
297
+ rubygems_version: 3.2.17
298
298
  signing_key:
299
299
  specification_version: 4
300
300
  summary: Import and export Ruby and Rails objects to flat files and vice versa