dipswitch 0.1.1 → 0.1.2
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/lib/dipswitch/configuration.rb +6 -0
- data/lib/dipswitch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acebe6215d6359ccc928e6276b169a3145d38d80
|
4
|
+
data.tar.gz: 6d8411796aab7860576cfaee483f1359cd34043f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e39554a1e633eac20acaf6651e3036a541b542a6baac1f1422ef8d1277fc79924024f8def47d255ed020ab89ab25cf6442b61c811b0c3df5372d4c46e9830688
|
7
|
+
data.tar.gz: 041dfb18d1777c85a72d53ae3f73377b83d1b5c086c6df43581d5ee2abdfce8cea6a29acd5286b913186b482d9f2cdd3c9e06348d0f4f46d40f4a27fcb958161
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# TODO: Rethink all these static methods
|
2
|
+
#
|
1
3
|
module Dipswitch
|
2
4
|
|
3
5
|
def self.configure(&block)
|
@@ -18,6 +20,10 @@ module Dipswitch
|
|
18
20
|
configuration.features.with(name, *args, &block)
|
19
21
|
end
|
20
22
|
|
23
|
+
def self.for(*args)
|
24
|
+
configuration.features.for(*args)
|
25
|
+
end
|
26
|
+
|
21
27
|
def self.clear!
|
22
28
|
configuration.clear!
|
23
29
|
end
|
data/lib/dipswitch/version.rb
CHANGED