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 +4 -4
- data/README.md +12 -9
- data/lib/credentials_manager/password_manager.rb +4 -0
- data/lib/credentials_manager/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a840c0a00e0731f49aa0b6135a109af8e7a5e827
|
|
4
|
+
data.tar.gz: e9678b59c780e0dc23f01df9641855036b0cdcb1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
4
|
+
```CredentialsManager``` is used by most components in the [fastlane.tools](https://fastlane.tools) toolchain.
|
|
5
5
|
|
|
6
|
-
|
|
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
|
|
9
|
-
|
|
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
|
-
##
|
|
18
|
-
|
|
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
|
|
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.
|
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.
|
|
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-
|
|
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:
|
|
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:
|
|
26
|
+
version: 1.7.1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: colored
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|