sanctum 0.9.0 → 0.9.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
  SHA256:
3
- metadata.gz: a338909ae48988a1aa767c7843b37474cae20df8338d265ed725b660f0eeee59
4
- data.tar.gz: 69ac0d6bb8e1e362a22307a465c6d56d121e242f1a958a4cc8c5bfa67c45356d
3
+ metadata.gz: 391cfef346a6d793ccf4dbd4f9f8b573538b59f4f9d9034f3d69fa023e338343
4
+ data.tar.gz: a4c84b2d811d619a3ed346568cc3950fe6d9641ac6f1df4211efea768d4086cb
5
5
  SHA512:
6
- metadata.gz: 209242bfb15b0d1860d6f6165472755633f3af194ed360cfd416caeef37814d830e4fd940be6252f7d438b2d5d7235eefc75de11d34c9225e1c8f85adbc2ecd9
7
- data.tar.gz: 5efed2c7d4417d883e0991c1a3a4a53f0107fd63d17251c96606c1dae1c1c4fd4f203a9a156406043e4db56b98efd7b5857524bd355f12323bc4461a297bc1fe
6
+ metadata.gz: 29a00857295f0443c16deafaccf6873e66b14ea1830578659aea10391e1647bcc995ea763b57d39feb714c2fbc999e1d8d02637dfd4ae2518c9a54030f92533e
7
+ data.tar.gz: 7d563caa757ed8bf54d60fd6b0ff475f10e342a0ec48d8275a047f359d773b2ed59c0252177a98e71b266e7a8d693d526a2c62b4ec4e4aa1195ca523348cdd03
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sanctum (0.9.0)
4
+ sanctum (0.9.1)
5
5
  gli (~> 2.18)
6
- hashdiff (~> 0.3)
6
+ hashdiff (~> 1.0)
7
7
  tty-editor (~> 0.5)
8
8
  vault (~> 0.12)
9
9
 
@@ -12,88 +12,89 @@ GEM
12
12
  specs:
13
13
  ast (2.4.0)
14
14
  aws-eventstream (1.0.3)
15
- aws-sigv4 (1.1.0)
15
+ aws-sigv4 (1.1.1)
16
16
  aws-eventstream (~> 1.0, >= 1.0.2)
17
+ childprocess (3.0.0)
17
18
  coderay (1.1.2)
18
19
  diff-lcs (1.3)
19
- equatable (0.5.0)
20
- gli (2.18.0)
21
- hashdiff (0.3.9)
22
- jaro_winkler (1.5.2)
23
- method_source (0.9.2)
24
- necromancer (0.4.0)
25
- parallel (1.14.0)
26
- parser (2.6.0.0)
20
+ equatable (0.6.1)
21
+ gli (2.19.0)
22
+ hashdiff (1.0.1)
23
+ iniparse (1.5.0)
24
+ jaro_winkler (1.5.4)
25
+ method_source (1.0.0)
26
+ necromancer (0.5.1)
27
+ overcommit (0.52.1)
28
+ childprocess (>= 0.6.3, < 4)
29
+ iniparse (~> 1.4)
30
+ parallel (1.19.1)
31
+ parser (2.7.0.5)
27
32
  ast (~> 2.4.0)
28
- pastel (0.7.2)
29
- equatable (~> 0.5.0)
30
- tty-color (~> 0.4.0)
31
- powerpack (0.1.2)
32
- pry (0.12.2)
33
- coderay (~> 1.1.0)
34
- method_source (~> 0.9.0)
35
- psych (3.1.0)
33
+ pastel (0.7.3)
34
+ equatable (~> 0.6)
35
+ tty-color (~> 0.5)
36
+ pry (0.13.0)
37
+ coderay (~> 1.1)
38
+ method_source (~> 1.0)
36
39
  rainbow (3.0.0)
37
- rake (12.3.2)
38
- rspec (3.8.0)
39
- rspec-core (~> 3.8.0)
40
- rspec-expectations (~> 3.8.0)
41
- rspec-mocks (~> 3.8.0)
42
- rspec-core (3.8.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-expectations (3.8.2)
40
+ rake (13.0.1)
41
+ rexml (3.2.4)
42
+ rspec (3.9.0)
43
+ rspec-core (~> 3.9.0)
44
+ rspec-expectations (~> 3.9.0)
45
+ rspec-mocks (~> 3.9.0)
46
+ rspec-core (3.9.1)
47
+ rspec-support (~> 3.9.1)
48
+ rspec-expectations (3.9.1)
45
49
  diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.8.0)
47
- rspec-mocks (3.8.0)
50
+ rspec-support (~> 3.9.0)
51
+ rspec-mocks (3.9.1)
48
52
  diff-lcs (>= 1.2.0, < 2.0)
49
- rspec-support (~> 3.8.0)
50
- rspec-support (3.8.0)
51
- rubocop (0.65.0)
53
+ rspec-support (~> 3.9.0)
54
+ rspec-support (3.9.2)
55
+ rubocop (0.80.1)
52
56
  jaro_winkler (~> 1.5.1)
53
57
  parallel (~> 1.10)
54
- parser (>= 2.5, != 2.5.1.1)
55
- powerpack (~> 0.1)
56
- psych (>= 3.1.0)
58
+ parser (>= 2.7.0.1)
57
59
  rainbow (>= 2.2.2, < 4.0)
60
+ rexml
58
61
  ruby-progressbar (~> 1.7)
59
- unicode-display_width (~> 1.4.0)
60
- rubocop-rspec (1.32.0)
61
- rubocop (>= 0.60.0)
62
- ruby-progressbar (1.10.0)
63
- timers (4.3.0)
64
- tty-color (0.4.3)
65
- tty-cursor (0.6.1)
66
- tty-editor (0.5.0)
67
- tty-prompt (~> 0.18)
62
+ unicode-display_width (>= 1.4.0, < 1.7)
63
+ rubocop-rspec (1.38.1)
64
+ rubocop (>= 0.68.1)
65
+ ruby-progressbar (1.10.1)
66
+ tty-color (0.5.1)
67
+ tty-cursor (0.7.1)
68
+ tty-editor (0.5.1)
69
+ tty-prompt (~> 0.19)
68
70
  tty-which (~> 0.4)
69
- tty-prompt (0.18.1)
70
- necromancer (~> 0.4.0)
71
+ tty-prompt (0.21.0)
72
+ necromancer (~> 0.5.0)
71
73
  pastel (~> 0.7.0)
72
- timers (~> 4.0)
73
- tty-cursor (~> 0.6.0)
74
- tty-reader (~> 0.5.0)
75
- tty-reader (0.5.0)
76
- tty-cursor (~> 0.6.0)
77
- tty-screen (~> 0.6.4)
74
+ tty-reader (~> 0.7.0)
75
+ tty-reader (0.7.0)
76
+ tty-cursor (~> 0.7)
77
+ tty-screen (~> 0.7)
78
78
  wisper (~> 2.0.0)
79
- tty-screen (0.6.5)
80
- tty-which (0.4.0)
81
- unicode-display_width (1.4.1)
82
- vault (0.12.0)
79
+ tty-screen (0.7.1)
80
+ tty-which (0.4.2)
81
+ unicode-display_width (1.6.1)
82
+ vault (0.13.0)
83
83
  aws-sigv4
84
- wisper (2.0.0)
84
+ wisper (2.0.1)
85
85
 
86
86
  PLATFORMS
87
87
  ruby
88
88
 
89
89
  DEPENDENCIES
90
- bundler (~> 1.0)
91
- pry (~> 0.12.0)
92
- rake (~> 12.0)
90
+ bundler (~> 2.0)
91
+ overcommit (~> 0.52)
92
+ pry (~> 0.13.0)
93
+ rake (~> 13.0)
93
94
  rspec (~> 3.0)
94
- rubocop (~> 0.65.0)
95
- rubocop-rspec (~> 1.32.0)
95
+ rubocop (~> 0.80.0)
96
+ rubocop-rspec (~> 1.38.0)
96
97
  sanctum!
97
98
 
98
99
  BUNDLED WITH
99
- 1.17.2
100
+ 2.1.2
@@ -10,7 +10,7 @@ module Sanctum
10
10
  first_hash = first_hash.each { |_, v| v.transform_values!(&:to_s) }
11
11
  second_hash = second_hash.each { |_, v| v.transform_values!(&:to_s) }
12
12
 
13
- differences = HashDiff.best_diff(first_hash, second_hash, delimiter: " => ", array_path: true)
13
+ differences = Hashdiff.best_diff(first_hash, second_hash, delimiter: " => ", array_path: true)
14
14
 
15
15
  differences.each do |diff|
16
16
  if diff[0] == "+"
@@ -25,7 +25,7 @@ module Sanctum
25
25
  differences = compare_secrets(vault_secrets, local_secrets, target[:name], "pull")
26
26
  next if differences.nil?
27
27
 
28
- #Get uniq array of HashDiff returned paths
28
+ #Get uniq array of Hashdiff returned paths
29
29
  diff_paths = differences.map{|x| x[1][0]}.uniq
30
30
 
31
31
  #Only sync the differences
@@ -26,7 +26,7 @@ module Sanctum
26
26
  differences = compare_secrets(vault_secrets, local_secrets, target[:name], "push")
27
27
  next if differences.nil?
28
28
 
29
- # Get uniq array of HashDiff returned paths
29
+ # Get uniq array of Hashdiff returned paths
30
30
  diff_paths = differences.map{|x| x[1][0]}.uniq
31
31
 
32
32
  # Only write changes
@@ -1,3 +1,3 @@
1
1
  module Sanctum
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.required_ruby_version = '>=2.5.0'
18
18
 
19
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
- exclude = [%r{^(test|spec|features|examples)/}, %r{docker.*}i, %r{\.gitlab-ci.yml}]
20
+ exclude = [%r{^(test|spec|features|examples)/}, %r{docker.*}i, %r{\.nix}, %r{\.gitlab-ci.yml}]
21
21
  f.match(Regexp.union(exclude))
22
22
  end
23
23
  spec.bindir = "bin"
@@ -25,14 +25,15 @@ Gem::Specification.new do |spec|
25
25
  spec.require_paths = ["lib"]
26
26
 
27
27
  spec.add_dependency 'gli', '~> 2.18'
28
- spec.add_dependency 'hashdiff', '~> 0.3'
28
+ spec.add_dependency 'hashdiff', '~> 1.0'
29
29
  spec.add_dependency 'tty-editor', '~> 0.5'
30
30
  spec.add_dependency 'vault', '~> 0.12'
31
31
 
32
- spec.add_development_dependency 'bundler', '~> 1.0'
33
- spec.add_development_dependency 'pry', '~> 0.12.0'
34
- spec.add_development_dependency 'rake', '~> 12.0'
32
+ spec.add_development_dependency 'bundler', '~> 2.0'
33
+ spec.add_development_dependency 'overcommit', '~> 0.52'
34
+ spec.add_development_dependency 'pry', '~> 0.13.0'
35
+ spec.add_development_dependency 'rake', '~> 13.0'
35
36
  spec.add_development_dependency 'rspec', '~> 3.0'
36
- spec.add_development_dependency 'rubocop', '~> 0.65.0'
37
- spec.add_development_dependency 'rubocop-rspec', '~> 1.32.0'
37
+ spec.add_development_dependency 'rubocop', '~> 0.80.0'
38
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.38.0'
38
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanctum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corban Raun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-08 00:00:00.000000000 Z
11
+ date: 2020-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.3'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.3'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: tty-editor
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,42 +72,56 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.0'
75
+ version: '2.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.0'
82
+ version: '2.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: overcommit
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.52'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.52'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: pry
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: 0.12.0
103
+ version: 0.13.0
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: 0.12.0
110
+ version: 0.13.0
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rake
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '12.0'
117
+ version: '13.0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: '12.0'
124
+ version: '13.0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rspec
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -128,28 +142,28 @@ dependencies:
128
142
  requirements:
129
143
  - - "~>"
130
144
  - !ruby/object:Gem::Version
131
- version: 0.65.0
145
+ version: 0.80.0
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: 0.65.0
152
+ version: 0.80.0
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: rubocop-rspec
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
157
  - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: 1.32.0
159
+ version: 1.38.0
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - "~>"
151
165
  - !ruby/object:Gem::Version
152
- version: 1.32.0
166
+ version: 1.38.0
153
167
  description: Syncs encrypted content from the filesystem to the Vault secrets store.
154
168
  email:
155
169
  - corban@raunco.co
@@ -218,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
232
  - !ruby/object:Gem::Version
219
233
  version: '0'
220
234
  requirements: []
221
- rubygems_version: 3.0.3
235
+ rubygems_version: 3.1.2
222
236
  signing_key:
223
237
  specification_version: 4
224
238
  summary: Simple and secure filesystem-to-Vault secrets synchronization