credentials_manager 0.2.1 → 0.3.0

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: 3d14b0866c34dcc958061c344f250c21e66fe2b6
4
- data.tar.gz: 8bd28a8b328297c2f055f287a59fee92a98c307a
3
+ metadata.gz: a840c0a00e0731f49aa0b6135a109af8e7a5e827
4
+ data.tar.gz: e9678b59c780e0dc23f01df9641855036b0cdcb1
5
5
  SHA512:
6
- metadata.gz: 6f7e653abaed357d1438d7bf578eb8b1c8efafae42f84daf3fd12239f9850ddc3044eadd644a620865706775e187c269e6bf00d3e8c46e0561e81a84ae48191f
7
- data.tar.gz: 601df2e93c515fcd648de2cf03880ba5fb8b65c7ff4c462866ada8b29609f54705010ebacbc0150f0019c572f9c03afde328690b45fdedb5a6bc50d48f7d89d8
6
+ metadata.gz: 7d88926d2da4b657e049659f9c6d678c0475a1829154ad4fc755959f541b768025ed71b61e225476eac27775cd6023842adc6da37e6a332f42adc20a9294455b
7
+ data.tar.gz: 7b19f7e7d5395ad10b5de9a3d8be67bfa5c87957e0cc8de5d57f07cbd0b121ff0e4722bf4e9834b30b48e0b8a7dce858e7a1f619abfb815e7f17f4ea357cf978
data/README.md CHANGED
@@ -1,25 +1,29 @@
1
1
  CredentialsManager
2
2
  ===================
3
3
 
4
- ```CredentialsManager``` is used by most of the tools part of the [fastlane.tools](https://fastlane.tools) toolchain.
4
+ ```CredentialsManager``` is used by most components in the [fastlane.tools](https://fastlane.tools) toolchain.
5
5
 
6
- Every code, related to your username and password can be found here: [password_manager.rb](https://github.com/KrauseFx/CredentialsManager/blob/master/lib/credentials_manager/password_manager.rb)
6
+ All code related to your username and password can be found here: [password_manager.rb](https://github.com/KrauseFx/CredentialsManager/blob/master/lib/credentials_manager/password_manager.rb)
7
7
 
8
- ## Storing in the Keychain
9
- By default, when entering your Apple credentials, they will be stored in the Keychain from Mac OS X. You can easily delete them, by opening the "Keychain App" switching to *All Items* and searching for "*deliver*".
8
+ ## Storing in the keychain
9
+
10
+ By default, your Apple credentials are stored in the OS X Keychain. You can easily delete them by opening the "Keychain Access" app, switching to *All Items*, and searching for "*deliver*".
11
+
12
+ ## Using environment variables
10
13
 
11
- ## Passing using environment variables
12
14
  ```
13
15
  DELIVER_USER
14
16
  DELIVER_PASSWORD
15
17
  ```
16
18
 
17
- ## Implement your custom solution
18
- All ```fastlane``` tools are based on Ruby, you can take a look at the source to easily implement your own authentication solution.
19
+ ## Implementing a custom solution
20
+
21
+ All ```fastlane``` tools are Ruby-based, and you can take a look at the source code to easily implement your own authentication solution.
19
22
 
20
- Your password will only be stored locally on your computer.
23
+ Your password is only stored locally on your computer.
21
24
 
22
25
  # License
26
+
23
27
  This project is licensed under the terms of the MIT license. See the LICENSE file.
24
28
 
25
29
  # Contributing
@@ -30,4 +34,3 @@ This project is licensed under the terms of the MIT license. See the LICENSE fil
30
34
  4. Commit your changes (`git commit -am 'Add some feature'`)
31
35
  5. Push to the branch (`git push origin my-new-feature`)
32
36
  6. Create a new Pull Request
33
-
@@ -19,6 +19,10 @@ module CredentialsManager
19
19
  @@instance ||= PasswordManager.new(id_to_use)
20
20
  end
21
21
 
22
+ def self.logout
23
+ @@instance = nil
24
+ end
25
+
22
26
  # A new instance of PasswordManager.
23
27
  #
24
28
  # This already check the Keychain if there is a username and password stored.
@@ -1,3 +1,3 @@
1
1
  module CredentialsManager
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: credentials_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-02 00:00:00.000000000 Z
11
+ date: 2015-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.7.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 1.7.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: colored
29
29
  requirement: !ruby/object:Gem::Requirement