econfig-keychain 1.0.0 → 1.0.1

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: f3eaa6991696c10f88b4315f70df625725388f6d
4
- data.tar.gz: 14f599969e12a65bcb9e735da30aed531294a068
3
+ metadata.gz: 495ae65ae8b8e05d67d3eff3b472e20e0a022de9
4
+ data.tar.gz: a5492f0f83c3113c135e5731d4e17db7e1954485
5
5
  SHA512:
6
- metadata.gz: 7d4776ab25bc1678b46e7afb5b02aaafc6284d98621fa0a6c56f4f3fee66fbe936870ad1075e978ad1edf2b26d705b58a55f6c921c163416c198efce18a4af05
7
- data.tar.gz: e28c428795d06864daab308d8ef4e422fa1e1e8465def32acb5c1e3f36a85c2f5965954ff9e3898bc8ee2b34935b20c21c37a41a21749f25204b22bcf65c4a62
6
+ metadata.gz: fdd4492e96ef852ac396406f208662410156c6076083f9efaa28055e533ba8cfcf1bb74dfeeb2f5eae1527f20e013759a0b8e1b90ecd9d7a91e53fe8a4d0e331
7
+ data.tar.gz: 40e34cf65c50c24136801905f4458d2cda9f192aa446f5b11b1b2c27c01e43a52baa01131e453518ee85b92b826d157c31e00df8474b8cce7844be0fc7c09c86
@@ -0,0 +1,22 @@
1
+ [HEAD][]
2
+ --------
3
+
4
+ [v1.0.1][]
5
+ ----------
6
+
7
+ - Default project name no longer includes environment [257ee981]
8
+
9
+ If you wish to use the old naming, define the name explicitly as such:
10
+
11
+ ```
12
+ Econfig.instance.backends << Econfig::Keychain.new("thanks-a-latte", name: "myproject-development")
13
+ ```
14
+
15
+ [v1.0.0][]
16
+ ----------
17
+
18
+ Initial release!
19
+
20
+ [HEAD]: https://github.com/elabs/econfig-keychain/compare/v1.0.1...HEAD
21
+ [v1.0.1]: https://github.com/elabs/econfig-keychain/compare/v1.0.0...v1.0.1
22
+ [v1.0.0]: https://github.com/elabs/econfig-keychain/compare/f877fd49...v1.0.0
data/README.md CHANGED
@@ -34,7 +34,7 @@ MyApp.aws_access_key_id = "xyz"
34
34
  You can also edit your configuration manually using the Mellon CLI:
35
35
 
36
36
  ```
37
- bundle exec mellon edit myapp-development
37
+ bundle exec mellon edit myapp
38
38
  ```
39
39
 
40
40
  # License
@@ -4,7 +4,7 @@ require "econfig"
4
4
  module Econfig
5
5
  class Keychain
6
6
  def initialize(keychain, name: nil)
7
- name ||= [File.basename(Econfig.root), Econfig.env].join("-")
7
+ name ||= File.basename(Econfig.root)
8
8
  @store = ::Mellon::Store.new(name, keychain: keychain)
9
9
  end
10
10
 
@@ -1,5 +1,5 @@
1
1
  module Econfig
2
2
  class Keychain
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@ describe Econfig::Keychain do
19
19
 
20
20
  describe "#init" do
21
21
  it "creates the note in the keychain if it does not exist" do
22
- Econfig.stub(env: "different")
22
+ Econfig.stub(root: "different")
23
23
  expect { backend.init }.to change { keychain[backend.project_name] }
24
24
  .from(nil).to("")
25
25
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: econfig-keychain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kim Burgestrand
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-10 00:00:00.000000000 Z
12
+ date: 2014-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: econfig
@@ -90,6 +90,7 @@ extensions: []
90
90
  extra_rdoc_files: []
91
91
  files:
92
92
  - .gitignore
93
+ - CHANGELOG.md
93
94
  - Gemfile
94
95
  - LICENSE
95
96
  - README.md