ruby_git_crypt 0.1.0.pre.4 → 0.1.0.pre.6

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: f0df1991d22e1ad0046977682a2dbbd5647f12df0b3877004811bfedfde7b5d0
4
- data.tar.gz: 8214db53cf08e1b85dc59df1e1de6d498e1a763ac63dcbcef73a5d4e28b15e45
3
+ metadata.gz: abfa9c95950e36bb27ac1053491c776627474182f561ea0fdd7e4b472de7fc39
4
+ data.tar.gz: f3a5080bc96c0dda6c98430346d91647c362efb74888bab506c15d279ef1dfd2
5
5
  SHA512:
6
- metadata.gz: 9a2ec9216889b34f0ed46635531b91aff17c797f54f277fadbac48139afa7439faf4e5c427aabe5b2d0776c4d15c7fb6565b71e65a2ab9825cebafa9170a2bf8
7
- data.tar.gz: 230ab9587fd4fa377cccf5de6505db9c7847537fec4f69d816ea8ed9d73e8b106b480d2edc5d6d1fed4a0fa2669d1b6f92fcbccd8c7a4c5024b2264ba2007d4b
6
+ metadata.gz: 25e42214790bf307b745ddad0f8abe5db0fd070f30c959085e6de4d75030561c4dfe77b1db074ca7b1eb0cd107f0ca75a99955cba2567fca7bf24585695b73ef
7
+ data.tar.gz: 653fa4ab64836cfbfdb5a99e27f5d0f18418421ce13c1c1b9505f2050de2a05f291853728e34cd218a0a47f9c4f7ffe1ad3c01914285baf53e2daeefa4e42d85
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.4)
4
+ ruby_git_crypt (0.1.0.pre.6)
5
5
  immutable-struct (~> 2.4)
6
- lino (~> 3.0)
6
+ lino (= 3.2.0.pre.10)
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.1)
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 (3.2.0.pre.10)
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 (6.1.1)
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.1)
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)
@@ -103,18 +108,18 @@ GEM
103
108
  rake_factory (0.32.0.pre.2)
104
109
  activesupport (>= 4)
105
110
  rake (~> 13.0)
106
- rake_git (0.1.0.pre.8)
111
+ rake_git (0.1.0.pre.10)
107
112
  colored2 (~> 3.1)
108
113
  git (~> 1.13, >= 1.13.2)
109
114
  rake_factory (= 0.32.0.pre.2)
110
- rake_git_crypt (0.1.0.pre.27)
115
+ rake_git_crypt (0.1.0.pre.29)
111
116
  colored2 (~> 3.1)
112
117
  rake_factory (= 0.32.0.pre.2)
113
- ruby_git_crypt (= 0.1.0.pre.2)
118
+ ruby_git_crypt (= 0.1.0.pre.4)
114
119
  ruby_gpg2 (~> 0.6)
115
- rake_github (0.11.0)
120
+ rake_github (0.13.0)
116
121
  colored2 (~> 3.1)
117
- octokit (>= 4.16, < 7.0)
122
+ octokit (>= 4.16, < 9.0)
118
123
  rake_factory (~> 0.23)
119
124
  sshkey (~> 2.0)
120
125
  rake_gpg (0.18.0)
@@ -125,49 +130,43 @@ 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
170
  ruby_gpg2 (0.10.0)
172
171
  lino (~> 3.0)
173
172
  sawyer (0.9.2)
@@ -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
data/Rakefile CHANGED
@@ -171,7 +171,7 @@ end
171
171
  RakeGithub.define_repository_tasks(
172
172
  namespace: :github,
173
173
  repository: 'infrablocks/ruby_git_crypt'
174
- ) do |t, args|
174
+ ) do |t|
175
175
  github_config =
176
176
  YAML.load_file('config/secrets/github/config.yaml')
177
177
 
@@ -182,8 +182,6 @@ RakeGithub.define_repository_tasks(
182
182
  public_key: File.read('config/secrets/ci/ssh.public')
183
183
  }
184
184
  ]
185
- t.branch_name = args.branch_name
186
- t.commit_message = args.commit_message
187
185
  end
188
186
 
189
187
  namespace :pipeline do
@@ -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.4'
4
+ VERSION = '0.1.0.pre.6'
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', '3.2.0.pre.10'
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.4
4
+ version: 0.1.0.pre.6
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-10-30 00:00:00.000000000 Z
11
+ date: 2024-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: immutable-struct
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: lino
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: '3.0'
33
+ version: 3.2.0.pre.10
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: 3.2.0.pre.10
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.