secretfile 1.0.3 → 1.0.4

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
  SHA256:
3
- metadata.gz: 8bcb4899c1b254241f93c56d5d0a253966de6d3e240f7b4292218226baaf3944
4
- data.tar.gz: 7ed8dd7e32922ef84768b205e42ef9d9b6219593d4a89a39fed453fccb79306d
3
+ metadata.gz: 1faf0efa8e924c393fe22a8ab42edd2f42a1a91ba9925481efc88cfd9cb02696
4
+ data.tar.gz: 0d82ca7d5fdd714dcd591106a870831b788ea2a1419827095db333662ac66065
5
5
  SHA512:
6
- metadata.gz: e8cf90dab0c5ef771a2e0f5c45723b4d174734dc620ec27f0c6332714ac5e05673a61bcbebd04c6dffb7bb87dafeb3aaf39d239db7bb4e96dab90bc82ab8eaad
7
- data.tar.gz: 5caed65d89a51db272a3f1b71c22fe8041d212d0306a22f4462c0abe9a33a191588a982156de1fb8884f68b606e2d4eb4f8713b0b4b8fe5f916f21bdb0ce509d
6
+ metadata.gz: c702a51fb30e1538d06100265281c12518e60ba74929a93c23315f75296380b6de1838ae1d97097ea4c8e9e7660307feb31b939902eb71574f04b54f5e1fe7ea
7
+ data.tar.gz: 664b3cf47b240b6bf6cc546969b53e2d2e01366f71aee1ca156a7fdfdeb2a84057ac528c7fd4c5146c57a12578a751015f98de57537df9b531f60355c0505c10
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 1.0.4 / 2021-12-17
2
+
3
+ * Enhancements
4
+
5
+ * Don't hide fs error if Secretfile not readable
6
+
1
7
  1.0.3 / 2021-02-24
2
8
 
3
9
  * Bug fixes
@@ -1,3 +1,3 @@
1
1
  class Secretfile
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
data/lib/secretfile.rb CHANGED
@@ -62,7 +62,6 @@ class Secretfile
62
62
 
63
63
  VALID_LINE = /\A\w+\s+[\w\-\/]+:\w+\z/
64
64
  def read_spec
65
- raise "Expected Secretfile" unless File.readable?(spec_path)
66
65
  @spec = IO.readlines(spec_path).inject({}) do |memo, line|
67
66
  line.chomp!
68
67
  next memo if line =~ /\A\s*\z/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secretfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seamus Abshere
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.1.4
143
+ rubygems_version: 3.1.6
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Define secret mapping in a Secretfile.