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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0573e55f19dd3630b82109a083f349004e918ecb
4
- data.tar.gz: 7b1de8a55c673746ffcbef42cfa49631484406e5
3
+ metadata.gz: c091cee96b3744e58afb7f442814e6bf845e4889
4
+ data.tar.gz: 7ea0010369b9464a6245f0c374d09d3f6da61b4f
5
5
  SHA512:
6
- metadata.gz: a7acd91f79ac3c1a2cce59706f80b8abade9d088f951caee78f6c4883630deeee8a7b9afe6e67282c0ee9f963783204dcf8bf41f0189fb1598479170ad292046
7
- data.tar.gz: 8506e8b4cea0e388d30c913c22afde738412f9b83ed98a72ef5c997ce1a6e104c394454170ddf39aa9eb21d241af586eba16187fea04a9c168da0c7528e0efae
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
 
@@ -1,3 +1,3 @@
1
1
  module StreetCreds
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streetcreds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wesley Boynton