streetcreds 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/streetcreds/cred_file.rb +2 -1
- data/lib/streetcreds/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c091cee96b3744e58afb7f442814e6bf845e4889
|
4
|
+
data.tar.gz: 7ea0010369b9464a6245f0c374d09d3f6da61b4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43bec2164b265fb5f8edcb57457152b785fcd10f85482532b25c8e8b5f86172bf066d5f72b32404af23020ec4ed4e45335ca32abaeada4659f08cb6b9f561ede
|
7
|
+
data.tar.gz: f8db05359831be99e312e35c4e1832b76b1b37ada5b3f4f50bdf1f84b4921adc2acf35b3c57699d46ee41d9a61e53154525094f8998e76b2de8ba27c7fdba947
|
@@ -12,8 +12,9 @@ module StreetCred
|
|
12
12
|
File.open(filepath, 'w+') { |f| f.write(decrypted_contents) }
|
13
13
|
end
|
14
14
|
|
15
|
-
def initialize(filepath:, hash: nil, convert_on_valid: false)
|
15
|
+
def initialize(filepath:, hash: nil, convert_on_valid: false, password: nil)
|
16
16
|
@filepath = self.class.full_path(filepath)
|
17
|
+
@password = password
|
17
18
|
load_file(hash: hash, convert_on_valid: convert_on_valid)
|
18
19
|
end
|
19
20
|
|
data/lib/streetcreds/version.rb
CHANGED