chamber 2.12.1 → 2.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d011ecf798a096955973578378738749ac725a94
4
- data.tar.gz: 4b3f812e48ee2233690804f2e67eeab9e18ff698
3
+ metadata.gz: 1f671936a687a78a5158ba433948759423662cc5
4
+ data.tar.gz: 8395757567a109bc9de779e8e6f2236c08596d90
5
5
  SHA512:
6
- metadata.gz: 01ed9e16872a0a0e1776e46be282e845310b00c60825c467286b65ee1d3711bfe21100cafcfded3e013fa9eb3743043123079d124c70e189b6906a182358f2f7
7
- data.tar.gz: 1e4f5a76c6b62db04ce0b961061c3529593dae29699ece7fd5834007e3d915b136424357526a6960f72290f69a4ce6070b1b4fe0ab26fc7a5c20cef84bcefba6
6
+ metadata.gz: ed8dccddba2ab1d5b06d193ef24127f54ce37272d4da9201278a6a4f8ec1938e8883cc37b50677471cae03fae35bac41a2c14d9352e6ac59a5073b252c4f2610
7
+ data.tar.gz: 501c4461a230a2a82a362bc54c15c83cebaaf4fbd7dba1802f428fe408901147ede15dc4fb579a0df5f3308fac87a62938122ba5c68e1db7223f189ef9f19ca2
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- T��W�V\��D��=�����Q�A+Na�k�g�M�5��YJFKS�!��|�9j:���Gc����G�a8����M��T��%��R$akx���b���Yk4�5t�����%T޼L��h�D�@�`,����,t9�&��K�t�
2
- 5̊&nkHm��J|g��~��@��c��%��t��Ǎ�����bŵ��Pf�ܙ�<6�\] Ap�|d�� ���[ M(Ӿ>��rwP]p�ⳏ b�?���^�B+S/mz
1
+ �+�{]�Ҧ�cGK�Tn��W
2
+ n����@�m�s�F�&>� -Ժ+�2�e�KJQU�$G� ^g����� �lg����<b��F+!�]��qUJ�CN��n��t�b�4�b��ࡂX�y�Ғqi�1����u}@ Z@�hB�k7&1<sճ�樃�V+��UW�e��k���*�{
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2018 The Kompanee, Ltd
1
+ Copyright (c) 2010-2016 The Kompanee, Ltd
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -2,8 +2,8 @@
2
2
 
3
3
  require 'pathname'
4
4
  require 'socket'
5
- require 'hashie/mash'
6
5
 
6
+ require 'chamber/core_ext/hash'
7
7
  require 'chamber/keys/decryption'
8
8
  require 'chamber/keys/encryption'
9
9
 
@@ -12,7 +12,7 @@ class ContextResolver
12
12
  attr_accessor :options
13
13
 
14
14
  def initialize(options = {})
15
- self.options = options.dup
15
+ self.options = options.transform_keys(&:to_sym)
16
16
  end
17
17
 
18
18
  # rubocop:disable Metrics/AbcSize, Metrics/LineLength
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Hash
4
+ def transform_keys
5
+ return enum_for(:transform_keys) { size } unless block_given?
6
+
7
+ result = {}
8
+
9
+ each_key do |key|
10
+ result[yield(key)] = self[key]
11
+ end
12
+
13
+ result
14
+ end
15
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Chamber
4
- VERSION = '2.12.1'
4
+ VERSION = '2.12.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chamber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.1
4
+ version: 2.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - thekompanee
@@ -34,28 +34,28 @@ cert_chain:
34
34
  etYUO0DlNY/qYfSfExrgt0W5dZeT09V++WPlYauHw/EZtAB0AsJwVdtIscq0HSvX
35
35
  yH9AFp3KIe0v70EXzao/94n+XoDULrHEhqGMo34iS+37ZA==
36
36
  -----END CERTIFICATE-----
37
- date: 2018-01-16 00:00:00.000000000 Z
37
+ date: 2018-01-24 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: thor
41
41
  requirement: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: 0.19.1
46
43
  - - "<"
47
44
  - !ruby/object:Gem::Version
48
45
  version: '0.21'
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: 0.19.1
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: 0.19.1
56
53
  - - "<"
57
54
  - !ruby/object:Gem::Version
58
55
  version: '0.21'
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: 0.19.1
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: hashie
61
61
  requirement: !ruby/object:Gem::Requirement
@@ -143,7 +143,8 @@ dependencies:
143
143
  description: Chamber lets you source your Settings from an arbitrary number of YAML
144
144
  files and provides a simple mechanism for overriding settings from the ENV, which
145
145
  is friendly to how Heroku addons work.
146
- email: hello@thekompanee.com
146
+ email:
147
+ - hello@thekompanee.com
147
148
  executables:
148
149
  - chamber
149
150
  extensions: []
@@ -175,6 +176,7 @@ files:
175
176
  - lib/chamber/commands/verify.rb
176
177
  - lib/chamber/configuration.rb
177
178
  - lib/chamber/context_resolver.rb
179
+ - lib/chamber/core_ext/hash.rb
178
180
  - lib/chamber/encryption_methods/none.rb
179
181
  - lib/chamber/encryption_methods/public_key.rb
180
182
  - lib/chamber/encryption_methods/ssl.rb
metadata.gz.sig CHANGED
Binary file