ruby_git_crypt 0.1.0.pre.5 → 0.1.0.pre.7

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: 183131902a993ad42fae39648220dd794aa74b65f1fc5596bb32b0a2793a0e31
4
- data.tar.gz: 6453f336ae3a1535dd582f018068949c87734efb80aed78a5c111c1a188294b5
3
+ metadata.gz: 79f3d32e9504a2270297c4f503c3cbf4a898c0278a6c2705928880c2e727ec95
4
+ data.tar.gz: 1d8e717d2c5c199bfbc7345795d1988df4f3a05a0ce60e5f242c9a48df45aaeb
5
5
  SHA512:
6
- metadata.gz: d168ac7dc49aae58d0ba1064e16a66f7bace3e192ccf7d618a5401f70d1676c117d2ebffd20e307a7dc7d704dcb97f2b3f515161ba130ab929e6b620b24dacbc
7
- data.tar.gz: 6ee2622db4f2a4964b321a3b6709dca9e0c3919b3d915d8dbe1747d0074b24d0ac7341cbd0f75d879ca8892b44c537f10de8ab2f7ed85ee3162d55f9997557cb
6
+ metadata.gz: bff8573b63e7ff71d0f7d7ab34702fe7c01c32d86b248a0b0d736aab7dc189b83f1f3c84362ad2bd31a93e801b0af64121d582336c0140b05faa434065843c06
7
+ data.tar.gz: 7ad3058596e9e3923111069d834f87a3311e9bf5037e541d2ac8a99ec59def599cb81923ce9519e2594c5a60395e0781c74fbe1f5a782c8f5934e99799785749
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_git_crypt (0.1.0.pre.5)
4
+ ruby_git_crypt (0.1.0.pre.7)
5
5
  immutable-struct (~> 2.4)
6
- lino (~> 3.0)
6
+ lino (~> 4.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.1.1)
11
+ activesupport (7.1.3.4)
12
12
  base64
13
13
  bigdecimal
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -18,31 +18,31 @@ GEM
18
18
  minitest (>= 5.1)
19
19
  mutex_m
20
20
  tzinfo (~> 2.0)
21
- addressable (2.8.5)
22
- public_suffix (>= 2.0.2, < 6.0)
21
+ addressable (2.8.7)
22
+ public_suffix (>= 2.0.2, < 7.0)
23
23
  ast (2.4.2)
24
- base64 (0.1.1)
25
- bigdecimal (3.1.4)
24
+ base64 (0.2.0)
25
+ bigdecimal (3.1.8)
26
+ childprocess (5.0.0)
26
27
  coderay (1.1.3)
27
28
  colored2 (3.1.2)
28
- concurrent-ruby (1.2.2)
29
+ concurrent-ruby (1.3.3)
29
30
  connection_pool (2.4.1)
30
- diff-lcs (1.5.0)
31
+ diff-lcs (1.5.1)
31
32
  docile (1.4.0)
32
- drb (2.1.1)
33
- ruby2_keywords
34
- excon (0.104.0)
35
- faker (3.2.2)
33
+ drb (2.2.1)
34
+ excon (0.111.0)
35
+ faker (3.4.1)
36
36
  i18n (>= 1.8.11, < 2)
37
- faraday (2.7.11)
38
- base64
39
- faraday-net_http (>= 2.0, < 3.1)
40
- ruby2_keywords (>= 0.0.4)
41
- faraday-net_http (3.0.2)
42
- ffi (1.16.3)
37
+ faraday (2.10.0)
38
+ faraday-net_http (>= 2.0, < 3.2)
39
+ logger
40
+ faraday-net_http (3.1.0)
41
+ net-http
42
+ ffi (1.17.0)
43
43
  formatador (1.1.0)
44
44
  gem-release (2.2.2)
45
- git (1.18.0)
45
+ git (1.19.1)
46
46
  addressable (~> 2.8)
47
47
  rchardet (~> 1.8)
48
48
  guard (2.18.1)
@@ -61,40 +61,45 @@ GEM
61
61
  rspec (>= 2.99.0, < 4.0)
62
62
  hamster (3.0.0)
63
63
  concurrent-ruby (~> 1.0)
64
- i18n (1.14.1)
64
+ i18n (1.14.5)
65
65
  concurrent-ruby (~> 1.0)
66
66
  immutable-struct (2.4.1)
67
- json (2.6.3)
67
+ json (2.7.2)
68
68
  language_server-protocol (3.17.0.3)
69
- lino (3.1.0)
69
+ lino (4.0.0)
70
+ childprocess (~> 5.0.0)
70
71
  hamster (~> 3.0)
71
72
  open4 (~> 1.3)
72
- listen (3.8.0)
73
+ listen (3.9.0)
73
74
  rb-fsevent (~> 0.10, >= 0.10.3)
74
75
  rb-inotify (~> 0.9, >= 0.9.10)
75
- lumberjack (1.2.9)
76
- method_source (1.0.0)
77
- minitest (5.20.0)
78
- mutex_m (0.1.2)
76
+ logger (1.6.0)
77
+ lumberjack (1.2.10)
78
+ method_source (1.1.0)
79
+ minitest (5.24.1)
80
+ mutex_m (0.2.0)
79
81
  nenv (0.3.0)
82
+ net-http (0.4.1)
83
+ uri
80
84
  notiffany (0.1.3)
81
85
  nenv (~> 0.1)
82
86
  shellany (~> 0.0)
83
- octokit (8.0.0)
87
+ octokit (8.1.0)
88
+ base64
84
89
  faraday (>= 1, < 3)
85
90
  sawyer (~> 0.9)
86
91
  open4 (1.3.4)
87
- parallel (1.23.0)
88
- parser (3.2.2.4)
92
+ parallel (1.25.1)
93
+ parser (3.3.4.0)
89
94
  ast (~> 2.4.1)
90
95
  racc
91
96
  pry (0.14.2)
92
97
  coderay (~> 1.1)
93
98
  method_source (~> 1.0)
94
- public_suffix (5.0.3)
95
- racc (1.7.3)
99
+ public_suffix (6.0.0)
100
+ racc (1.8.0)
96
101
  rainbow (3.1.1)
97
- rake (13.1.0)
102
+ rake (13.2.1)
98
103
  rake_circle_ci (0.11.0)
99
104
  colored2 (~> 3.1)
100
105
  excon (~> 0.72)
@@ -125,51 +130,45 @@ GEM
125
130
  rake_factory (~> 0.23)
126
131
  sshkey (~> 2.0)
127
132
  rb-fsevent (0.11.2)
128
- rb-inotify (0.10.1)
133
+ rb-inotify (0.11.1)
129
134
  ffi (~> 1.0)
130
135
  rchardet (1.8.0)
131
- regexp_parser (2.8.2)
132
- rexml (3.2.6)
133
- rspec (3.12.0)
134
- rspec-core (~> 3.12.0)
135
- rspec-expectations (~> 3.12.0)
136
- rspec-mocks (~> 3.12.0)
137
- rspec-core (3.12.2)
138
- rspec-support (~> 3.12.0)
139
- rspec-expectations (3.12.3)
136
+ regexp_parser (2.9.2)
137
+ rexml (3.3.1)
138
+ strscan
139
+ rspec (3.13.0)
140
+ rspec-core (~> 3.13.0)
141
+ rspec-expectations (~> 3.13.0)
142
+ rspec-mocks (~> 3.13.0)
143
+ rspec-core (3.13.0)
144
+ rspec-support (~> 3.13.0)
145
+ rspec-expectations (3.13.1)
140
146
  diff-lcs (>= 1.2.0, < 2.0)
141
- rspec-support (~> 3.12.0)
142
- rspec-mocks (3.12.6)
147
+ rspec-support (~> 3.13.0)
148
+ rspec-mocks (3.13.1)
143
149
  diff-lcs (>= 1.2.0, < 2.0)
144
- rspec-support (~> 3.12.0)
145
- rspec-support (3.12.1)
146
- rubocop (1.57.2)
150
+ rspec-support (~> 3.13.0)
151
+ rspec-support (3.13.1)
152
+ rubocop (1.65.0)
147
153
  json (~> 2.3)
148
154
  language_server-protocol (>= 3.17.0)
149
155
  parallel (~> 1.10)
150
- parser (>= 3.2.2.4)
156
+ parser (>= 3.3.0.2)
151
157
  rainbow (>= 2.2.2, < 4.0)
152
- regexp_parser (>= 1.8, < 3.0)
158
+ regexp_parser (>= 2.4, < 3.0)
153
159
  rexml (>= 3.2.5, < 4.0)
154
- rubocop-ast (>= 1.28.1, < 2.0)
160
+ rubocop-ast (>= 1.31.1, < 2.0)
155
161
  ruby-progressbar (~> 1.7)
156
162
  unicode-display_width (>= 2.4.0, < 3.0)
157
- rubocop-ast (1.30.0)
158
- parser (>= 3.2.1.0)
159
- rubocop-capybara (2.19.0)
160
- rubocop (~> 1.41)
161
- rubocop-factory_bot (2.24.0)
162
- rubocop (~> 1.33)
163
+ rubocop-ast (1.31.3)
164
+ parser (>= 3.3.1.0)
163
165
  rubocop-rake (0.6.0)
164
166
  rubocop (~> 1.0)
165
- rubocop-rspec (2.25.0)
166
- rubocop (~> 1.40)
167
- rubocop-capybara (~> 2.17)
168
- rubocop-factory_bot (~> 2.22)
167
+ rubocop-rspec (3.0.3)
168
+ rubocop (~> 1.61)
169
169
  ruby-progressbar (1.13.0)
170
- ruby2_keywords (0.0.5)
171
- ruby_gpg2 (0.10.0)
172
- lino (~> 3.0)
170
+ ruby_gpg2 (0.8.0)
171
+ lino (>= 1.5)
173
172
  sawyer (0.9.2)
174
173
  addressable (>= 2.3.5)
175
174
  faraday (>= 0.17.3, < 3)
@@ -181,12 +180,14 @@ GEM
181
180
  simplecov-html (0.12.3)
182
181
  simplecov_json_formatter (0.1.4)
183
182
  sshkey (2.0.0)
183
+ strscan (3.1.0)
184
184
  terminal-notifier-guard (1.7.0)
185
- thor (1.3.0)
185
+ thor (1.3.1)
186
186
  tzinfo (2.0.6)
187
187
  concurrent-ruby (~> 1.0)
188
188
  unicode-display_width (2.5.0)
189
- yard (0.9.34)
189
+ uri (0.13.0)
190
+ yard (0.9.36)
190
191
 
191
192
  PLATFORMS
192
193
  arm64-darwin-21
@@ -50,9 +50,9 @@ module RubyGitCrypt
50
50
 
51
51
  logger.debug("Running '#{command}'.")
52
52
  command.execute(
53
- stdin: stdin,
54
- stdout: stdout,
55
- stderr: stderr
53
+ stdin:,
54
+ stdout:,
55
+ stderr:
56
56
  )
57
57
  end
58
58
 
@@ -100,8 +100,8 @@ module RubyGitCrypt
100
100
  end
101
101
 
102
102
  def build_option(value)
103
- option_type.new(name, value, separator: separator,
104
- placement: placement)
103
+ option_type.new(name, value, separator:,
104
+ placement:)
105
105
  end
106
106
 
107
107
  def build_value(value)
@@ -18,7 +18,7 @@ module RubyGitCrypt
18
18
  end
19
19
 
20
20
  def as_plural_key
21
- "#{snake_case}s".to_sym
21
+ :"#{snake_case}s"
22
22
  end
23
23
 
24
24
  private
@@ -8,7 +8,7 @@ module RubyGitCrypt
8
8
  :value
9
9
  )
10
10
  def initialize(name, value, **_opts)
11
- super(name: name, value: value)
11
+ super(name:, value:)
12
12
  end
13
13
 
14
14
  def apply(builder)
@@ -11,7 +11,7 @@ module RubyGitCrypt
11
11
  )
12
12
  def initialize(name, value, **opts)
13
13
  super(
14
- name: name, value: value,
14
+ name:, value:,
15
15
  separator: opts[:separator],
16
16
  placement: opts[:placement]
17
17
  )
@@ -21,8 +21,8 @@ module RubyGitCrypt
21
21
  builder.with_option(
22
22
  name,
23
23
  value.render,
24
- separator: separator,
25
- placement: placement
24
+ separator:,
25
+ placement:
26
26
  )
27
27
  end
28
28
  end
@@ -7,7 +7,7 @@ module RubyGitCrypt
7
7
  module Values
8
8
  class Base < ImmutableStruct.new(:value)
9
9
  def initialize(value)
10
- super(value: value)
10
+ super(value:)
11
11
  end
12
12
  end
13
13
  end
@@ -7,7 +7,7 @@ module RubyGitCrypt
7
7
  module Values
8
8
  class KeyValue < ImmutableStruct.new(:key, :value)
9
9
  def initialize(key, value)
10
- super(key: key, value: value)
10
+ super(key:, value:)
11
11
  end
12
12
 
13
13
  def resolve
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyGitCrypt
4
- VERSION = '0.1.0.pre.5'
4
+ VERSION = '0.1.0.pre.7'
5
5
  end
@@ -81,7 +81,7 @@ module RubyGitCrypt
81
81
  @binary = 'git-crypt'
82
82
  @logger = default_logger
83
83
  @options = default_options
84
- @stdin = ''
84
+ @stdin = nil
85
85
  @stdout = $stdout
86
86
  @stderr = $stderr
87
87
  end
@@ -36,10 +36,10 @@ Gem::Specification.new do |spec|
36
36
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
37
  spec.require_paths = ['lib']
38
38
 
39
- spec.required_ruby_version = '>= 2.7'
39
+ spec.required_ruby_version = '>= 3.1'
40
40
 
41
41
  spec.add_dependency 'immutable-struct', '~> 2.4'
42
- spec.add_dependency 'lino', '~> 3.0'
42
+ spec.add_dependency 'lino', '~> 4.0'
43
43
 
44
44
  spec.add_development_dependency 'bundler'
45
45
  spec.add_development_dependency 'faker'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_git_crypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.5
4
+ version: 0.1.0.pre.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2024-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: immutable-struct
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.0'
33
+ version: '4.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: '3.0'
40
+ version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -361,14 +361,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
361
361
  requirements:
362
362
  - - ">="
363
363
  - !ruby/object:Gem::Version
364
- version: '2.7'
364
+ version: '3.1'
365
365
  required_rubygems_version: !ruby/object:Gem::Requirement
366
366
  requirements:
367
367
  - - ">"
368
368
  - !ruby/object:Gem::Version
369
369
  version: 1.3.1
370
370
  requirements: []
371
- rubygems_version: 3.1.6
371
+ rubygems_version: 3.3.7
372
372
  signing_key:
373
373
  specification_version: 4
374
374
  summary: A simple Ruby wrapper for invoking git-crypt commands.