configuron 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/configuron/configurable.rb +3 -1
- data/lib/configuron/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 477c60a65d5019417f251e21ce2c899ae7a428b28259ce9b4dde684ee45266fb
|
4
|
+
data.tar.gz: e90df8bd68bc7c341d9de8e8381ea712bdab679d6570d54930f3759be278cc50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec5dfe0a242805166505afd6eb56b9100f7b8800274488e3725865caf69c40af7bee6471348ecef6e820b8dcc9be5427a38accd6e2255369257f891af8828d21
|
7
|
+
data.tar.gz: 6df847470334d954e800f3e77285786e3bcc4b98338157b01f0d8a79bbf678d0809db85b7218eef67ec97658154337684bda2788388a847dd52f8325307e9fdc
|
@@ -4,10 +4,12 @@ module Configuron
|
|
4
4
|
@configuration ||= self::Configuration.new
|
5
5
|
end #TT
|
6
6
|
|
7
|
-
def
|
7
|
+
def reset_configuration!
|
8
8
|
@configuration = self::Configuration.new
|
9
9
|
end #TT
|
10
10
|
|
11
|
+
alias_method :reset!, :reset_configuration! #TT
|
12
|
+
|
11
13
|
def configure
|
12
14
|
yield(configuration)
|
13
15
|
end #TT
|
data/lib/configuron/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configuron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Hadik
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.7.7
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: Lightweight library to make your module configurable!
|