lite-report 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +24 -21
- data/lib/lite/report/configuration.rb +14 -8
- data/lib/lite/report/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fec247c1ce8a3f5a03f01b9d389c50be4400c02ec1e4cc8fc2de8092b0d67747
|
4
|
+
data.tar.gz: 78f4d4b3d9f1557f2c26447ac6223affc786f8938e5d0b442d8c233530051ffb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b016454a0f0f3e9eada7b1db8bb0c177b23e85cae65c01f23c024c6ece93b3e741f1a358ab5e0fff845db8c016904dda1c8da2ee5b13756374ca43173915a2e7
|
7
|
+
data.tar.gz: acb39fcfdd3c6e61482b3ccb789e706c8160e3beadacba090e289a3e7d1225231c490de249ddba1910e83c10bf9463c1adb1e754de6f06636290150acf7f87f0
|
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.0.2] - 2019-08-24
|
10
|
+
### Changed
|
11
|
+
- Imporved how configuration works
|
12
|
+
|
9
13
|
## [1.0.1] - 2019-08-15
|
10
14
|
### Changed
|
11
15
|
- Underscore initializer file name
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-report (1.0.
|
4
|
+
lite-report (1.0.2)
|
5
5
|
activerecord
|
6
6
|
activerecord-import
|
7
7
|
deep_pluck
|
@@ -9,33 +9,32 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionpack (
|
13
|
-
actionview (=
|
14
|
-
activesupport (=
|
12
|
+
actionpack (6.0.0)
|
13
|
+
actionview (= 6.0.0)
|
14
|
+
activesupport (= 6.0.0)
|
15
15
|
rack (~> 2.0)
|
16
16
|
rack-test (>= 0.6.3)
|
17
17
|
rails-dom-testing (~> 2.0)
|
18
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
19
|
-
actionview (
|
20
|
-
activesupport (=
|
18
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
19
|
+
actionview (6.0.0)
|
20
|
+
activesupport (= 6.0.0)
|
21
21
|
builder (~> 3.1)
|
22
22
|
erubi (~> 1.4)
|
23
23
|
rails-dom-testing (~> 2.0)
|
24
|
-
rails-html-sanitizer (~> 1.
|
25
|
-
activemodel (
|
26
|
-
activesupport (=
|
27
|
-
activerecord (
|
28
|
-
activemodel (=
|
29
|
-
activesupport (=
|
30
|
-
arel (>= 9.0)
|
24
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
25
|
+
activemodel (6.0.0)
|
26
|
+
activesupport (= 6.0.0)
|
27
|
+
activerecord (6.0.0)
|
28
|
+
activemodel (= 6.0.0)
|
29
|
+
activesupport (= 6.0.0)
|
31
30
|
activerecord-import (1.0.2)
|
32
31
|
activerecord (>= 3.2)
|
33
|
-
activesupport (
|
32
|
+
activesupport (6.0.0)
|
34
33
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
35
34
|
i18n (>= 0.7, < 2)
|
36
35
|
minitest (~> 5.1)
|
37
36
|
tzinfo (~> 1.1)
|
38
|
-
|
37
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
39
38
|
ast (2.4.0)
|
40
39
|
builder (3.2.3)
|
41
40
|
colorize (0.8.1)
|
@@ -69,6 +68,8 @@ GEM
|
|
69
68
|
ast (~> 2.4.0)
|
70
69
|
pluck_all (2.0.4)
|
71
70
|
activesupport (>= 3.0.0)
|
71
|
+
polyamorous (2.3.0)
|
72
|
+
activerecord (>= 5.0)
|
72
73
|
rack (2.0.7)
|
73
74
|
rack-test (1.1.0)
|
74
75
|
rack (>= 1.0, < 3)
|
@@ -77,19 +78,20 @@ GEM
|
|
77
78
|
nokogiri (>= 1.6)
|
78
79
|
rails-html-sanitizer (1.2.0)
|
79
80
|
loofah (~> 2.2, >= 2.2.2)
|
80
|
-
railties (
|
81
|
-
actionpack (=
|
82
|
-
activesupport (=
|
81
|
+
railties (6.0.0)
|
82
|
+
actionpack (= 6.0.0)
|
83
|
+
activesupport (= 6.0.0)
|
83
84
|
method_source
|
84
85
|
rake (>= 0.8.7)
|
85
|
-
thor (>= 0.
|
86
|
+
thor (>= 0.20.3, < 2.0)
|
86
87
|
rainbow (3.0.0)
|
87
88
|
rake (12.3.3)
|
88
|
-
ransack (2.
|
89
|
+
ransack (2.3.0)
|
89
90
|
actionpack (>= 5.0)
|
90
91
|
activerecord (>= 5.0)
|
91
92
|
activesupport (>= 5.0)
|
92
93
|
i18n
|
94
|
+
polyamorous (= 2.3.0)
|
93
95
|
rspec (3.8.0)
|
94
96
|
rspec-core (~> 3.8.0)
|
95
97
|
rspec-expectations (~> 3.8.0)
|
@@ -132,6 +134,7 @@ GEM
|
|
132
134
|
tzinfo (1.2.5)
|
133
135
|
thread_safe (~> 0.1)
|
134
136
|
unicode-display_width (1.6.0)
|
137
|
+
zeitwerk (2.1.9)
|
135
138
|
|
136
139
|
PLATFORMS
|
137
140
|
ruby
|
@@ -15,16 +15,22 @@ module Lite
|
|
15
15
|
|
16
16
|
end
|
17
17
|
|
18
|
-
|
19
|
-
@configuration ||= Configuration.new
|
20
|
-
end
|
18
|
+
class << self
|
21
19
|
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
attr_writer :configuration
|
21
|
+
|
22
|
+
def configuration
|
23
|
+
@configuration ||= Configuration.new
|
24
|
+
end
|
25
|
+
|
26
|
+
def configure
|
27
|
+
yield(configuration)
|
28
|
+
end
|
29
|
+
|
30
|
+
def reset_configuration!
|
31
|
+
@configuration = Configuration.new
|
32
|
+
end
|
25
33
|
|
26
|
-
def self.configure
|
27
|
-
yield(configuration)
|
28
34
|
end
|
29
35
|
|
30
36
|
end
|
data/lib/lite/report/version.rb
CHANGED
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.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|