pifano_config 0.2.1 → 0.2.2

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: fac4c5883861603405e2bf63071cc3a1896a961e1d29a063efae4b562c72d56c
4
- data.tar.gz: 0e823fb70099e1410b41f75627531508317ade972a5b42114a736af69634d5a3
3
+ metadata.gz: 0d59fad3206c8bc809de95828df9e981ae6a00e2bdcc5d8cff1971f504753538
4
+ data.tar.gz: bb3fcb7650dd3505e8ee62cc39961225650a19a8206dffd6fa48397f6ac4403e
5
5
  SHA512:
6
- metadata.gz: e7300421ecc51cb4010235a5a6db91c2875dcf12e15d1936a660fbbc6b06c3c691ef18453e80158b61a6e5df66db6a370017f3269c9ffa7cc32e7be7ec12831b
7
- data.tar.gz: 7dda5b00d1e9cfb674c4532e8d62d492a842c5fd1426ff3cf99a51821e1d73c185c4b771fdfa6030813db3e8fdd71f08e71c43eee760ec66959945e0ead43fc3
6
+ metadata.gz: dfc55b3ff029fc2326eb899d366e2af5b680fe4ed679f9fa559a506b9e057c9c79582fa6d1a6ebc06a4a038ae8451bdd24b9da7f0f1356b90cbccd63228c2a8e
7
+ data.tar.gz: 56ac2f81de2e4c2478a181a78332322b147bcd87571aa6277f6e15d5c4c877a3eec8f0273503508a1b827865ca65d74c1a8e5e410bcdc09f77512b1f00c7047e
data/lib/pifano/config.rb CHANGED
@@ -49,7 +49,7 @@ module Pifano
49
49
 
50
50
  @env = env_name
51
51
  if block_given?
52
- yield @options[env_name]
52
+ yield @options[env_name].merge(environment: @env)
53
53
  @env = nil
54
54
  else
55
55
  result = @options[env_name]
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2023, by Aristóteles Coutinho.
5
5
 
6
6
  module PifanoConfig
7
- VERSION = '0.2.1'
7
+ VERSION = '0.2.2'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pifano_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aristóteles Coutinho