variant 0.1.0 → 0.1.1

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: 5730da4f5a0da8d3054369aeb2ce625008a8b2eb2edce3048b624c4bf2249e62
4
- data.tar.gz: 0e2090643dff445a506ce733d5dd2bd517bbdf264cd97d43dcb552759efde140
3
+ metadata.gz: ac5e1f99a0bb00995587ef479a1e655ad0dd9ab942872c77332401c73e225531
4
+ data.tar.gz: 9a6aaa976c30d9b45ede44327b2017263f7aa2a21ed3fffb51e136a76c91f098
5
5
  SHA512:
6
- metadata.gz: a9b48ab48027324be95a91dbbd878a12e033f2737a179ebf80747b0b524b49cb8edd3760cdfc0f01d624ef7998d8f833ac11bf72c293447992835bb16a5fc3a0
7
- data.tar.gz: 94bdf23c7aa5a3dd4cd6f0e390486c395fa3b229045700a40ba5c50f6d2383c77300e2173929e4cf285fe835c4eb07dcca2b228ea9f0fe4fe64f2346bfd7285b
6
+ metadata.gz: 5269436f7afbbf6e78e04ba8a33d42aab10e14bbcc7859934810a5066441a2e8f310faa4e6ff43d5ba68cc778f48ff0ee9a12932af62f515691bb3f8961e2a13
7
+ data.tar.gz: 366d4f0438812048690733c88ec461ba96f1021d1db33c72f2c56afb280804512628b072f601b21d74e6a938bfdaaa2db26b194e1b53101969285e4f10d71be8
@@ -65,7 +65,7 @@ module Variant
65
65
  @overrides['VARIANT'] = name
66
66
  end
67
67
 
68
- def variant_for(name, default = nil)
68
+ def variant_for(name, default = DEVELOPMENT)
69
69
  self.fetch(variant_key(name)) do
70
70
  self.fetch('VARIANT', default)
71
71
  end&.to_sym
@@ -21,5 +21,5 @@
21
21
  # THE SOFTWARE.
22
22
 
23
23
  module Variant
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.1"
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: variant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams