lite-uxid 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +20 -20
- data/lib/lite/uxid/configuration.rb +14 -8
- data/lib/lite/uxid/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: 8be203a82fb5be33425623c0bd52bc6110f4f97de51501da2c8c763b668dc465
|
|
4
|
+
data.tar.gz: 253bc5163a665d238902c9374d0dbe61d0fd12a6994bd26e4cc1747b171ebf2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b343368500c61fccbfc03b4abeae974fca94b48bb74582048e58abeec23b2b8dfb2693db1e5860c7b50f8477fb898b7574e32cec49da663a03cf3c295d823107
|
|
7
|
+
data.tar.gz: ed19875ca19e5619d328143373ddeb687a3b541fd14b9575bb3b233ec102b38faaa68ec4db736738b8e383ac9e4599933e21311ee39d00f21374b9e4fc1b0924
|
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.5] - 2019-08-24
|
|
10
|
+
### Changed
|
|
11
|
+
- Imporved how configuration works
|
|
12
|
+
|
|
9
13
|
## [1.0.4] - 2019-08-15
|
|
10
14
|
### Changed
|
|
11
15
|
- Underscore initializer file name
|
data/Gemfile.lock
CHANGED
|
@@ -1,36 +1,35 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lite-uxid (1.0.
|
|
4
|
+
lite-uxid (1.0.5)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
actionpack (
|
|
10
|
-
actionview (=
|
|
11
|
-
activesupport (=
|
|
9
|
+
actionpack (6.0.0)
|
|
10
|
+
actionview (= 6.0.0)
|
|
11
|
+
activesupport (= 6.0.0)
|
|
12
12
|
rack (~> 2.0)
|
|
13
13
|
rack-test (>= 0.6.3)
|
|
14
14
|
rails-dom-testing (~> 2.0)
|
|
15
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
|
16
|
-
actionview (
|
|
17
|
-
activesupport (=
|
|
15
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
16
|
+
actionview (6.0.0)
|
|
17
|
+
activesupport (= 6.0.0)
|
|
18
18
|
builder (~> 3.1)
|
|
19
19
|
erubi (~> 1.4)
|
|
20
20
|
rails-dom-testing (~> 2.0)
|
|
21
|
-
rails-html-sanitizer (~> 1.
|
|
22
|
-
activemodel (
|
|
23
|
-
activesupport (=
|
|
24
|
-
activerecord (
|
|
25
|
-
activemodel (=
|
|
26
|
-
activesupport (=
|
|
27
|
-
|
|
28
|
-
activesupport (5.2.3)
|
|
21
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
22
|
+
activemodel (6.0.0)
|
|
23
|
+
activesupport (= 6.0.0)
|
|
24
|
+
activerecord (6.0.0)
|
|
25
|
+
activemodel (= 6.0.0)
|
|
26
|
+
activesupport (= 6.0.0)
|
|
27
|
+
activesupport (6.0.0)
|
|
29
28
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
30
29
|
i18n (>= 0.7, < 2)
|
|
31
30
|
minitest (~> 5.1)
|
|
32
31
|
tzinfo (~> 1.1)
|
|
33
|
-
|
|
32
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
|
34
33
|
ast (2.4.0)
|
|
35
34
|
builder (3.2.3)
|
|
36
35
|
colorize (0.8.1)
|
|
@@ -67,12 +66,12 @@ GEM
|
|
|
67
66
|
nokogiri (>= 1.6)
|
|
68
67
|
rails-html-sanitizer (1.2.0)
|
|
69
68
|
loofah (~> 2.2, >= 2.2.2)
|
|
70
|
-
railties (
|
|
71
|
-
actionpack (=
|
|
72
|
-
activesupport (=
|
|
69
|
+
railties (6.0.0)
|
|
70
|
+
actionpack (= 6.0.0)
|
|
71
|
+
activesupport (= 6.0.0)
|
|
73
72
|
method_source
|
|
74
73
|
rake (>= 0.8.7)
|
|
75
|
-
thor (>= 0.
|
|
74
|
+
thor (>= 0.20.3, < 2.0)
|
|
76
75
|
rainbow (3.0.0)
|
|
77
76
|
rake (12.3.3)
|
|
78
77
|
rspec (3.8.0)
|
|
@@ -109,6 +108,7 @@ GEM
|
|
|
109
108
|
tzinfo (1.2.5)
|
|
110
109
|
thread_safe (~> 0.1)
|
|
111
110
|
unicode-display_width (1.6.0)
|
|
111
|
+
zeitwerk (2.1.9)
|
|
112
112
|
|
|
113
113
|
PLATFORMS
|
|
114
114
|
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/uxid/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lite-uxid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
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
|