lite-archive 1.0.3 → 1.0.4

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: d2a6f55bd7fd94f308b8855e5b5dd2ae4e0ba77e91699906311377f7a48d15e4
4
- data.tar.gz: 0d840ca115ece5771e947b05a941a596952d0702232a3cfe828667df04e9a756
3
+ metadata.gz: 873f15c2b22fb7736e415dec8decbcea243a1d424e6b761adde077be80a01d33
4
+ data.tar.gz: 91e072b1c993b6af4dd725001e816c9ffd714daf756b401d9f07fca91d1041f4
5
5
  SHA512:
6
- metadata.gz: c6c1f09b6d9a0dd39a2ac7857c7d04812d6950c7d1598bf757159f3b20a97da7b0c64ae238bc716beae1f6109d55a1763feffc6f0105caf54838b2f4166e75c7
7
- data.tar.gz: 5b4e52ed02b3ccd5a97289f7245179ad02ff708f4b5b3f550318810dd8a42b9fe361776430c1e292833b9398e455fc202ea8faf5dcb066c2a99f898ca1a20921
6
+ metadata.gz: df58d79095d1a2f44c86811f3588526949edeeb98f687e3edc4158209893f5e3d36d117d31e1a21bee8571d15a063404b4d426e243cd0cd0674d56f631f45061
7
+ data.tar.gz: a90d9e3b20761c40415ef351a79f1c0f6a92fda35266beb8f2b6c170efef29ebf26dabf10af5d50ee99a81f122d5aaa93975f98145552b3f870be0aef9435a5f
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.4] - 2019-08-24
10
+ ### Changed
11
+ - Imporved how configuration works
12
+
9
13
  ## [1.0.3] - 2019-08-15
10
14
  ### Changed
11
15
  - Underscore initializer file name
data/Gemfile.lock CHANGED
@@ -1,38 +1,37 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-archive (1.0.3)
4
+ lite-archive (1.0.4)
5
5
  activerecord
6
6
  activesupport
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (5.2.3)
12
- actionview (= 5.2.3)
13
- activesupport (= 5.2.3)
11
+ actionpack (6.0.0)
12
+ actionview (= 6.0.0)
13
+ activesupport (= 6.0.0)
14
14
  rack (~> 2.0)
15
15
  rack-test (>= 0.6.3)
16
16
  rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
- actionview (5.2.3)
19
- activesupport (= 5.2.3)
17
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
+ actionview (6.0.0)
19
+ activesupport (= 6.0.0)
20
20
  builder (~> 3.1)
21
21
  erubi (~> 1.4)
22
22
  rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
- activemodel (5.2.3)
25
- activesupport (= 5.2.3)
26
- activerecord (5.2.3)
27
- activemodel (= 5.2.3)
28
- activesupport (= 5.2.3)
29
- arel (>= 9.0)
30
- activesupport (5.2.3)
23
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
+ activemodel (6.0.0)
25
+ activesupport (= 6.0.0)
26
+ activerecord (6.0.0)
27
+ activemodel (= 6.0.0)
28
+ activesupport (= 6.0.0)
29
+ activesupport (6.0.0)
31
30
  concurrent-ruby (~> 1.0, >= 1.0.2)
32
31
  i18n (>= 0.7, < 2)
33
32
  minitest (~> 5.1)
34
33
  tzinfo (~> 1.1)
35
- arel (9.0.0)
34
+ zeitwerk (~> 2.1, >= 2.1.8)
36
35
  ast (2.4.0)
37
36
  builder (3.2.3)
38
37
  colorize (0.8.1)
@@ -69,12 +68,12 @@ GEM
69
68
  nokogiri (>= 1.6)
70
69
  rails-html-sanitizer (1.2.0)
71
70
  loofah (~> 2.2, >= 2.2.2)
72
- railties (5.2.3)
73
- actionpack (= 5.2.3)
74
- activesupport (= 5.2.3)
71
+ railties (6.0.0)
72
+ actionpack (= 6.0.0)
73
+ activesupport (= 6.0.0)
75
74
  method_source
76
75
  rake (>= 0.8.7)
77
- thor (>= 0.19.0, < 2.0)
76
+ thor (>= 0.20.3, < 2.0)
78
77
  rainbow (3.0.0)
79
78
  rake (12.3.3)
80
79
  rspec (3.8.0)
@@ -119,6 +118,7 @@ GEM
119
118
  tzinfo (1.2.5)
120
119
  thread_safe (~> 0.1)
121
120
  unicode-display_width (1.6.0)
121
+ zeitwerk (2.1.9)
122
122
 
123
123
  PLATFORMS
124
124
  ruby
@@ -13,16 +13,22 @@ module Lite
13
13
 
14
14
  end
15
15
 
16
- def self.configuration
17
- @configuration ||= Configuration.new
18
- end
16
+ class << self
19
17
 
20
- def self.configuration=(config)
21
- @configuration = config
22
- end
18
+ attr_writer :configuration
19
+
20
+ def configuration
21
+ @configuration ||= Configuration.new
22
+ end
23
+
24
+ def configure
25
+ yield(configuration)
26
+ end
27
+
28
+ def reset_configuration!
29
+ @configuration = Configuration.new
30
+ end
23
31
 
24
- def self.configure
25
- yield(configuration)
26
32
  end
27
33
 
28
34
  end
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Archive
5
5
 
6
- VERSION ||= '1.0.3'
6
+ VERSION ||= '1.0.4'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
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