lite-uxid 1.0.4 → 1.0.5

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: 5ecf8afce18e8eec2bc9344e2055cf5892121d81b1400f93e0571064d4fd1a32
4
- data.tar.gz: ec3057fa0e7f062a943076c90148a6a73390e9213aa7fc9be74ea0c9ceb981a2
3
+ metadata.gz: 8be203a82fb5be33425623c0bd52bc6110f4f97de51501da2c8c763b668dc465
4
+ data.tar.gz: 253bc5163a665d238902c9374d0dbe61d0fd12a6994bd26e4cc1747b171ebf2a
5
5
  SHA512:
6
- metadata.gz: e9b853fb213850e98c7f0f6671a37d3fe0f9b1dc6a087adb2c2931b1181106557fc2b9c381fbc4dc4ae1ef963ef4f1d994d34fd2f75141a7765bddc87aa86b84
7
- data.tar.gz: 0fc7f898fdf5b41c9d7db9737660c66cf31854b0ed9c32c3ed7c9f76edcc6a3268cf756b1d9f1fa1c5c8183ab807cb7f170cc80465ac553e7088994abff9a246
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)
4
+ lite-uxid (1.0.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actionpack (5.2.3)
10
- actionview (= 5.2.3)
11
- activesupport (= 5.2.3)
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.2)
16
- actionview (5.2.3)
17
- activesupport (= 5.2.3)
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.0, >= 1.0.3)
22
- activemodel (5.2.3)
23
- activesupport (= 5.2.3)
24
- activerecord (5.2.3)
25
- activemodel (= 5.2.3)
26
- activesupport (= 5.2.3)
27
- arel (>= 9.0)
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
- arel (9.0.0)
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 (5.2.3)
71
- actionpack (= 5.2.3)
72
- activesupport (= 5.2.3)
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.19.0, < 2.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
- def self.configuration
19
- @configuration ||= Configuration.new
20
- end
18
+ class << self
21
19
 
22
- def self.configuration=(config)
23
- @configuration = config
24
- end
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
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Uxid
5
5
 
6
- VERSION ||= '1.0.4'
6
+ VERSION ||= '1.0.5'
7
7
 
8
8
  end
9
9
  end
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
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-15 00:00:00.000000000 Z
11
+ date: 2019-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord