lite-report 1.0.3 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +15 -3
- data/.travis.yml +1 -0
- data/CHANGELOG.md +21 -0
- data/Gemfile.lock +109 -93
- data/README.md +27 -0
- data/lib/lite/report.rb +1 -1
- data/lib/lite/report/array.rb +1 -1
- data/lib/lite/report/exporter.rb +42 -0
- data/lib/lite/report/hash.rb +1 -1
- data/lib/lite/report/helpers/converters.rb +1 -1
- data/lib/lite/report/helpers/encoders.rb +8 -1
- data/lib/lite/report/helpers/records.rb +1 -1
- data/lib/lite/report/helpers/transporters.rb +2 -2
- data/lib/lite/report/record.rb +2 -1
- data/lib/lite/report/version.rb +1 -1
- data/lite-report.gemspec +1 -0
- metadata +22 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9559d49c8162d5c74d507ad986917f959add7da9a95d3566b36a3a3668194db5
|
4
|
+
data.tar.gz: acaf0fec27642dbb3b1d6244ece60467065adc76cdc8709eaa48766bb27198dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8f6269d6985c6ade54c2c3a2efd73751053cb653341fdb96edeb9e2fea935b59afaebbc62eed75a30b13157bc4b16516f8a537f398d2e53b788cb8f9782ad6a
|
7
|
+
data.tar.gz: 6bce2655d3e3aec419000de951a65cd369136ee63d10933c5744e326ac49de884a2cd91cf8dce588cc220706c8f25118351a3801713e24b6611af46aec02bffd
|
data/.rubocop.yml
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-performance
|
3
|
+
- rubocop-rake
|
3
4
|
- rubocop-rspec
|
4
5
|
AllCops:
|
5
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.7
|
7
|
+
NewCops: enable
|
6
8
|
DisplayCopNames: true
|
7
9
|
DisplayStyleGuide: true
|
8
|
-
|
9
|
-
|
10
|
+
Gemspec/RequiredRubyVersion:
|
11
|
+
Enabled: false
|
12
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
13
|
+
Enabled: true
|
10
14
|
Layout/EmptyLinesAroundBlockBody:
|
11
15
|
Exclude:
|
12
16
|
- 'spec/**/**/*'
|
@@ -14,6 +18,14 @@ Layout/EmptyLinesAroundClassBody:
|
|
14
18
|
EnforcedStyle: empty_lines_except_namespace
|
15
19
|
Layout/EmptyLinesAroundModuleBody:
|
16
20
|
EnforcedStyle: empty_lines_except_namespace
|
21
|
+
Layout/LineLength:
|
22
|
+
Max: 100
|
23
|
+
Layout/SpaceAroundMethodCallOperator:
|
24
|
+
Enabled: true
|
25
|
+
Lint/RaiseException:
|
26
|
+
Enabled: true
|
27
|
+
Lint/StructNewOverride:
|
28
|
+
Enabled: true
|
17
29
|
Metrics/BlockLength:
|
18
30
|
Exclude:
|
19
31
|
- 'spec/**/**/*'
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,27 @@ 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
|
+
|
13
|
+
## [1.1.0] - 2021-01-06
|
14
|
+
### Added
|
15
|
+
- Added Exporter helper class
|
16
|
+
- Added rubocop-rake linter
|
17
|
+
|
18
|
+
## [1.0.6] - 2020-10-10
|
19
|
+
### Added
|
20
|
+
- Added improved Ruby 2.7 support
|
21
|
+
|
22
|
+
## [1.0.5] - 2020-07-03
|
23
|
+
### Added
|
24
|
+
- Added Ruby 2.7 support
|
25
|
+
|
26
|
+
## [1.0.4] - 2020-02-11
|
27
|
+
### Changed
|
28
|
+
- Fix record instance not generating
|
29
|
+
|
9
30
|
## [1.0.3] - 2019-08-24
|
10
31
|
### Changed
|
11
32
|
- Fix broken configuration option
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-report (1.
|
4
|
+
lite-report (1.1.1)
|
5
5
|
activerecord
|
6
6
|
activerecord-import
|
7
7
|
deep_pluck
|
@@ -9,132 +9,147 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionpack (6.
|
13
|
-
actionview (= 6.
|
14
|
-
activesupport (= 6.
|
15
|
-
rack (~> 2.0)
|
12
|
+
actionpack (6.1.3.2)
|
13
|
+
actionview (= 6.1.3.2)
|
14
|
+
activesupport (= 6.1.3.2)
|
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.
|
20
|
-
activesupport (= 6.
|
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.
|
26
|
-
activesupport (= 6.
|
27
|
-
activerecord (6.
|
28
|
-
activemodel (= 6.
|
29
|
-
activesupport (= 6.
|
30
|
-
activerecord-import (1.0.
|
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.
|
32
|
+
activesupport (6.1.3.2)
|
33
33
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
34
|
-
i18n (>=
|
35
|
-
minitest (
|
36
|
-
tzinfo (~>
|
37
|
-
zeitwerk (~> 2.
|
38
|
-
ast (2.4.
|
39
|
-
builder (3.2.
|
34
|
+
i18n (>= 1.6, < 2)
|
35
|
+
minitest (>= 5.1)
|
36
|
+
tzinfo (~> 2.0)
|
37
|
+
zeitwerk (~> 2.3)
|
38
|
+
ast (2.4.2)
|
39
|
+
builder (3.2.4)
|
40
40
|
colorize (0.8.1)
|
41
|
-
concurrent-ruby (1.1.
|
42
|
-
crass (1.0.
|
43
|
-
database_cleaner (
|
44
|
-
|
41
|
+
concurrent-ruby (1.1.8)
|
42
|
+
crass (1.0.6)
|
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
|
-
|
48
|
-
|
49
|
-
|
52
|
+
rails_compatibility (>= 0.0.4)
|
53
|
+
diff-lcs (1.4.4)
|
54
|
+
erubi (1.10.0)
|
55
|
+
fasterer (0.9.0)
|
50
56
|
colorize (~> 0.7)
|
51
|
-
ruby_parser (>= 3.
|
57
|
+
ruby_parser (>= 3.14.1)
|
52
58
|
generator_spec (0.9.4)
|
53
59
|
activesupport (>= 3.0.0)
|
54
60
|
railties (>= 3.0.0)
|
55
|
-
i18n (1.
|
61
|
+
i18n (1.8.10)
|
56
62
|
concurrent-ruby (~> 1.0)
|
57
|
-
|
58
|
-
loofah (2.2.3)
|
63
|
+
loofah (2.9.1)
|
59
64
|
crass (~> 1.0.2)
|
60
65
|
nokogiri (>= 1.5.9)
|
61
|
-
method_source (0.
|
62
|
-
mini_portile2 (2.
|
63
|
-
minitest (5.
|
64
|
-
nokogiri (1.
|
65
|
-
mini_portile2 (~> 2.
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
66
|
+
method_source (1.0.0)
|
67
|
+
mini_portile2 (2.5.1)
|
68
|
+
minitest (5.14.4)
|
69
|
+
nokogiri (1.11.3)
|
70
|
+
mini_portile2 (~> 2.5.0)
|
71
|
+
racc (~> 1.4)
|
72
|
+
parallel (1.20.1)
|
73
|
+
parser (3.0.1.1)
|
74
|
+
ast (~> 2.4.1)
|
75
|
+
pluck_all (2.2.1)
|
70
76
|
activesupport (>= 3.0.0)
|
71
|
-
|
72
|
-
|
73
|
-
rack (2.
|
77
|
+
rails_compatibility (>= 0.0.2)
|
78
|
+
racc (1.5.2)
|
79
|
+
rack (2.2.3)
|
74
80
|
rack-test (1.1.0)
|
75
81
|
rack (>= 1.0, < 3)
|
76
82
|
rails-dom-testing (2.0.3)
|
77
83
|
activesupport (>= 4.2.0)
|
78
84
|
nokogiri (>= 1.6)
|
79
|
-
rails-html-sanitizer (1.
|
80
|
-
loofah (~> 2.
|
81
|
-
|
82
|
-
|
83
|
-
|
85
|
+
rails-html-sanitizer (1.3.0)
|
86
|
+
loofah (~> 2.3)
|
87
|
+
rails_compatibility (0.0.5)
|
88
|
+
activerecord (>= 3)
|
89
|
+
railties (6.1.3.2)
|
90
|
+
actionpack (= 6.1.3.2)
|
91
|
+
activesupport (= 6.1.3.2)
|
84
92
|
method_source
|
85
93
|
rake (>= 0.8.7)
|
86
|
-
thor (
|
94
|
+
thor (~> 1.0)
|
87
95
|
rainbow (3.0.0)
|
88
|
-
rake (
|
89
|
-
ransack (2.
|
90
|
-
|
91
|
-
|
92
|
-
activesupport (>= 5.0)
|
96
|
+
rake (13.0.3)
|
97
|
+
ransack (2.4.2)
|
98
|
+
activerecord (>= 5.2.4)
|
99
|
+
activesupport (>= 5.2.4)
|
93
100
|
i18n
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
rspec-
|
98
|
-
rspec-
|
99
|
-
|
100
|
-
|
101
|
-
|
101
|
+
regexp_parser (2.1.1)
|
102
|
+
rexml (3.2.5)
|
103
|
+
rspec (3.10.0)
|
104
|
+
rspec-core (~> 3.10.0)
|
105
|
+
rspec-expectations (~> 3.10.0)
|
106
|
+
rspec-mocks (~> 3.10.0)
|
107
|
+
rspec-core (3.10.1)
|
108
|
+
rspec-support (~> 3.10.0)
|
109
|
+
rspec-expectations (3.10.1)
|
102
110
|
diff-lcs (>= 1.2.0, < 2.0)
|
103
|
-
rspec-support (~> 3.
|
104
|
-
rspec-mocks (3.
|
111
|
+
rspec-support (~> 3.10.0)
|
112
|
+
rspec-mocks (3.10.2)
|
105
113
|
diff-lcs (>= 1.2.0, < 2.0)
|
106
|
-
rspec-support (~> 3.
|
107
|
-
rspec-rails (
|
108
|
-
actionpack (>=
|
109
|
-
activesupport (>=
|
110
|
-
railties (>=
|
111
|
-
rspec-core (~> 3.
|
112
|
-
rspec-expectations (~> 3.
|
113
|
-
rspec-mocks (~> 3.
|
114
|
-
rspec-support (~> 3.
|
115
|
-
rspec-support (3.
|
116
|
-
rubocop (
|
117
|
-
jaro_winkler (~> 1.5.1)
|
114
|
+
rspec-support (~> 3.10.0)
|
115
|
+
rspec-rails (5.0.1)
|
116
|
+
actionpack (>= 5.2)
|
117
|
+
activesupport (>= 5.2)
|
118
|
+
railties (>= 5.2)
|
119
|
+
rspec-core (~> 3.10)
|
120
|
+
rspec-expectations (~> 3.10)
|
121
|
+
rspec-mocks (~> 3.10)
|
122
|
+
rspec-support (~> 3.10)
|
123
|
+
rspec-support (3.10.2)
|
124
|
+
rubocop (1.14.0)
|
118
125
|
parallel (~> 1.10)
|
119
|
-
parser (>=
|
126
|
+
parser (>= 3.0.0.0)
|
120
127
|
rainbow (>= 2.2.2, < 4.0)
|
128
|
+
regexp_parser (>= 1.8, < 3.0)
|
129
|
+
rexml
|
130
|
+
rubocop-ast (>= 1.5.0, < 2.0)
|
121
131
|
ruby-progressbar (~> 1.7)
|
122
|
-
unicode-display_width (>= 1.4.0, <
|
123
|
-
rubocop-
|
124
|
-
|
125
|
-
rubocop-
|
126
|
-
rubocop (>=
|
127
|
-
|
128
|
-
|
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)
|
137
|
+
rubocop-ast (>= 0.4.0)
|
138
|
+
rubocop-rake (0.5.1)
|
139
|
+
rubocop
|
140
|
+
rubocop-rspec (2.3.0)
|
141
|
+
rubocop (~> 1.0)
|
142
|
+
rubocop-ast (>= 1.1.0)
|
143
|
+
ruby-progressbar (1.11.0)
|
144
|
+
ruby_parser (3.15.1)
|
129
145
|
sexp_processor (~> 4.9)
|
130
|
-
sexp_processor (4.
|
131
|
-
sqlite3 (1.4.
|
132
|
-
thor (
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
zeitwerk (2.1.9)
|
146
|
+
sexp_processor (4.15.2)
|
147
|
+
sqlite3 (1.4.2)
|
148
|
+
thor (1.1.0)
|
149
|
+
tzinfo (2.0.4)
|
150
|
+
concurrent-ruby (~> 1.0)
|
151
|
+
unicode-display_width (2.0.0)
|
152
|
+
zeitwerk (2.4.2)
|
138
153
|
|
139
154
|
PLATFORMS
|
140
155
|
ruby
|
@@ -151,8 +166,9 @@ DEPENDENCIES
|
|
151
166
|
rspec-rails
|
152
167
|
rubocop
|
153
168
|
rubocop-performance
|
169
|
+
rubocop-rake
|
154
170
|
rubocop-rspec
|
155
171
|
sqlite3
|
156
172
|
|
157
173
|
BUNDLED WITH
|
158
|
-
2.
|
174
|
+
2.2.17
|
data/README.md
CHANGED
@@ -31,6 +31,7 @@ Or install it yourself as:
|
|
31
31
|
* [Array](#array)
|
32
32
|
* [Hash](#hash)
|
33
33
|
* [Record](#record)
|
34
|
+
* [Exporter](#exporter)
|
34
35
|
* [Stream](#stream)
|
35
36
|
* [Port](#port)
|
36
37
|
|
@@ -144,6 +145,32 @@ Lite::Report::Record.import(
|
|
144
145
|
)
|
145
146
|
```
|
146
147
|
|
148
|
+
## Exporter
|
149
|
+
|
150
|
+
Use exporters to filter, manipulate, and prepare data before final exportation.
|
151
|
+
These are very helpful when working with complex datasets.
|
152
|
+
|
153
|
+
```ruby
|
154
|
+
class LimitedExporter < Lite::Report::Exporter
|
155
|
+
|
156
|
+
private
|
157
|
+
|
158
|
+
def serialize(record)
|
159
|
+
{
|
160
|
+
'Id' => record.id,
|
161
|
+
'Name' => "#{record.first_name} #{record.last_name}",
|
162
|
+
'Speed' => record.speed.ceil,
|
163
|
+
'Date' => record.to_s(:short)
|
164
|
+
}
|
165
|
+
end
|
166
|
+
|
167
|
+
end
|
168
|
+
|
169
|
+
raw_data = User.where(age: 20..29)
|
170
|
+
limited_data = LimitedExporter.call(raw_data)
|
171
|
+
Lite::Report::Hash.export(limited_data)
|
172
|
+
```
|
173
|
+
|
147
174
|
## Stream
|
148
175
|
|
149
176
|
Stream is great option for preventing browser timeouts of downloading large CSV files by chunking
|
data/lib/lite/report.rb
CHANGED
@@ -7,7 +7,7 @@ require 'lite/report/version'
|
|
7
7
|
require "lite/report/helpers/#{file_name}"
|
8
8
|
end
|
9
9
|
|
10
|
-
%w[configuration base array hash record].each do |file_name|
|
10
|
+
%w[configuration base array hash record exporter].each do |file_name|
|
11
11
|
require "lite/report/#{file_name}"
|
12
12
|
end
|
13
13
|
|
data/lib/lite/report/array.rb
CHANGED
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class Lite::Report::Exporter
|
4
|
+
|
5
|
+
class NotImplementedError < StandardError; end
|
6
|
+
|
7
|
+
attr_reader :records
|
8
|
+
|
9
|
+
def initialize(records)
|
10
|
+
@records = records
|
11
|
+
end
|
12
|
+
|
13
|
+
class << self
|
14
|
+
|
15
|
+
def call(records)
|
16
|
+
instance = new(records)
|
17
|
+
instance.call
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
def call
|
23
|
+
results = []
|
24
|
+
|
25
|
+
if records.respond_to?(:find_each)
|
26
|
+
records.find_each { |record| results << serialize(record) }
|
27
|
+
elsif records.respond_to?(:each)
|
28
|
+
records.each { |record| results << serialize(record) }
|
29
|
+
else
|
30
|
+
results << serialize(records)
|
31
|
+
end
|
32
|
+
|
33
|
+
results
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
def serialize(record)
|
39
|
+
raise NotImplementedError
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
data/lib/lite/report/hash.rb
CHANGED
@@ -10,7 +10,14 @@ module Lite
|
|
10
10
|
def encode(cell)
|
11
11
|
return cell unless cell.is_a?(String)
|
12
12
|
|
13
|
-
cell.tr('"', '')
|
13
|
+
cell = cell.tr('"', '')
|
14
|
+
return cell if @data_options[:encode].empty?
|
15
|
+
|
16
|
+
cell.encode!(
|
17
|
+
@data_options[:encode][0],
|
18
|
+
@data_options[:encode][1],
|
19
|
+
**@data_options[:encode][2]
|
20
|
+
)
|
14
21
|
end
|
15
22
|
|
16
23
|
def encode?(delete: false)
|
@@ -8,7 +8,7 @@ module Lite
|
|
8
8
|
private
|
9
9
|
|
10
10
|
def generate_export!
|
11
|
-
CSV.generate(
|
11
|
+
CSV.generate(**@csv_options) do |csv|
|
12
12
|
@data.each do |row|
|
13
13
|
csv << process_export_row!(row)
|
14
14
|
end
|
@@ -33,7 +33,7 @@ module Lite
|
|
33
33
|
|
34
34
|
@data.each do |row|
|
35
35
|
row = process_export_row!(row)
|
36
|
-
csv << CSV.generate_line(row,
|
36
|
+
csv << CSV.generate_line(row, **@csv_options)
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
data/lib/lite/report/record.rb
CHANGED
@@ -18,7 +18,7 @@ class Lite::Report::Record < Lite::Report::Base
|
|
18
18
|
@data = Lite::Report::Hash.import(@data, csv_options: @csv_options, data_options: @data_options)
|
19
19
|
.each { |row| row.delete(:id) || row.delete('id') }
|
20
20
|
|
21
|
-
klass.import(@data,
|
21
|
+
klass.import(@data, **@import_options)
|
22
22
|
end
|
23
23
|
|
24
24
|
private
|
@@ -43,6 +43,7 @@ class Lite::Report::Record < Lite::Report::Base
|
|
43
43
|
columns = class_columns(@data)
|
44
44
|
@data = @data.result if ransack_class?(@data)
|
45
45
|
@data = @data.deep_pluck(*columns)
|
46
|
+
@data = [@data] if !@data.respond_to?(:each) || !@data.is_a?(Array)
|
46
47
|
end
|
47
48
|
|
48
49
|
def generate_export!
|
data/lib/lite/report/version.rb
CHANGED
data/lite-report.gemspec
CHANGED
@@ -51,6 +51,7 @@ Gem::Specification.new do |spec|
|
|
51
51
|
spec.add_development_dependency 'rspec-rails'
|
52
52
|
spec.add_development_dependency 'rubocop'
|
53
53
|
spec.add_development_dependency 'rubocop-performance'
|
54
|
+
spec.add_development_dependency 'rubocop-rake'
|
54
55
|
spec.add_development_dependency 'rubocop-rspec'
|
55
56
|
spec.add_development_dependency 'sqlite3'
|
56
57
|
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.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -192,6 +192,20 @@ dependencies:
|
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rubocop-rake
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
210
|
name: rubocop-rspec
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,7 +234,7 @@ dependencies:
|
|
220
234
|
- - ">="
|
221
235
|
- !ruby/object:Gem::Version
|
222
236
|
version: '0'
|
223
|
-
description:
|
237
|
+
description:
|
224
238
|
email:
|
225
239
|
- j.gomez@drexed.com
|
226
240
|
executables: []
|
@@ -249,6 +263,7 @@ files:
|
|
249
263
|
- lib/lite/report/array.rb
|
250
264
|
- lib/lite/report/base.rb
|
251
265
|
- lib/lite/report/configuration.rb
|
266
|
+
- lib/lite/report/exporter.rb
|
252
267
|
- lib/lite/report/hash.rb
|
253
268
|
- lib/lite/report/helpers/converters.rb
|
254
269
|
- lib/lite/report/helpers/encoders.rb
|
@@ -264,7 +279,7 @@ homepage: http://drexed.github.io/lite-report
|
|
264
279
|
licenses:
|
265
280
|
- MIT
|
266
281
|
metadata: {}
|
267
|
-
post_install_message:
|
282
|
+
post_install_message:
|
268
283
|
rdoc_options: []
|
269
284
|
require_paths:
|
270
285
|
- lib
|
@@ -279,8 +294,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
279
294
|
- !ruby/object:Gem::Version
|
280
295
|
version: '0'
|
281
296
|
requirements: []
|
282
|
-
rubygems_version: 3.
|
283
|
-
signing_key:
|
297
|
+
rubygems_version: 3.2.17
|
298
|
+
signing_key:
|
284
299
|
specification_version: 4
|
285
300
|
summary: Import and export Ruby and Rails objects to flat files and vice versa
|
286
301
|
test_files: []
|