config_templates 0.0.4 → 0.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
  SHA1:
3
- metadata.gz: d752207f0865213d7b12f3ba1eb62f4aecce85f0
4
- data.tar.gz: c11f18272a97dda4448a9f4d17d11bec99c092f1
3
+ metadata.gz: d0e8b0384a5b49145149a7a22c274deb6dfd7708
4
+ data.tar.gz: 06abbbe1f0ddc1ad8b474a588abe7e4293c0d0fc
5
5
  SHA512:
6
- metadata.gz: 4a67cecc7b557d6eaee4ec4ec8d0f8e05063add3737c7704b559cefb100de4dc764b0ddf5f61be842ce1953e323448ac109dd98533eed4ecd4263eb66e953de5
7
- data.tar.gz: 224d4ab9679466750e581474729b5473ffd0b84c18ddb23ff1324b819684557a0edae86e08f054773d1b14bbc7c741d16849623eeb95a0313400be911adf1f77
6
+ metadata.gz: 954fddea3bcc0464add1a165797eea6d9da7eab41d245e0b77d64cabf32b0d518c3a55da3f8ab8e592f70c3e32469af7e718c6b3e03038fbaaa4a79702d40a2f
7
+ data.tar.gz: c2fa906e27d3008b11de207023ac5ded0e2e202d7c9f1408e57f38f06ead004b03d45033674a42d4ec072ad94a8631c0d81c8f7ee80168c347fe11179c6b578e
@@ -11,6 +11,10 @@ module ConfigTemplates::Contexts
11
11
  default
12
12
  end
13
13
 
14
+ def stage
15
+ @config.stage
16
+ end
17
+
14
18
  def method_missing(method_name)
15
19
  stage_request = method_name[-1] == '?'
16
20
  stage = method_name[0..-2] if stage_request
@@ -1,3 +1,3 @@
1
1
  module ConfigTemplates
2
- VERSION = '0.0.4'.freeze
2
+ VERSION = '0.0.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - g.ivanov