ruby_npm 0.1.0.pre.9 → 0.1.0.pre.11

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: 0a5f245422c59529399ac1d7291b6f8c31a6e82c07f1f34e89aea50d2c8f2974
4
- data.tar.gz: 340d0b9e0e3c0b38c72dea91c40f0d18f578d9a3bf08e5b2ef6cff3ccc718260
3
+ metadata.gz: cad093a253fb5d908013437b37e81d44f534f690e578d653a31cdbc2f9a75193
4
+ data.tar.gz: 67a2d7206231dde14cecd3d6f060ad3c3172fa475df05d025ff5114adcae2d71
5
5
  SHA512:
6
- metadata.gz: ef9ceef6e25bd8d8b850bd19aa29ccd66b5eb60a8e9dadb7d9412139358fe7f4e46b47a156d59428fbde63f18157dd1159be292b6555d3eb0b296ac571cef9a3
7
- data.tar.gz: 475df09eeb35ecc9dd02233b29b34a983e6acb3701ceba3bad0c90faa8927d3cc42e4c41baa545a5b498ae4559f789223fcd2d4daeaf88710ecf889674eec0f0
6
+ metadata.gz: 6a96febb89b94c082b0160e5b4a6687584ef5f617817016adf66e3311c06d073310617f6c1f2a30e779c16dfd373284e8df7b8e7d719cf595d5e504e2f7f3c21
7
+ data.tar.gz: 2d15854744ec4674d7907990930dc9d63cf85e9b51d0c620b236a37c94555518c8bc7f29a658346c9a3e5827e9bcfa13b07cc7bcbe5ac71dc312ac8ee3fb5306
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_npm (0.1.0.pre.9)
4
+ ruby_npm (0.1.0.pre.11)
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/
@@ -23,6 +23,7 @@ GEM
23
23
  ast (2.4.2)
24
24
  base64 (0.1.1)
25
25
  bigdecimal (3.1.4)
26
+ childprocess (5.0.0)
26
27
  coderay (1.1.3)
27
28
  colored2 (3.1.2)
28
29
  concurrent-ruby (1.2.2)
@@ -32,7 +33,7 @@ GEM
32
33
  drb (2.1.1)
33
34
  ruby2_keywords
34
35
  excon (0.104.0)
35
- faker (3.2.1)
36
+ faker (3.2.2)
36
37
  i18n (>= 1.8.11, < 2)
37
38
  faraday (2.7.11)
38
39
  base64
@@ -66,7 +67,8 @@ GEM
66
67
  immutable-struct (2.4.1)
67
68
  json (2.6.3)
68
69
  language_server-protocol (3.17.0.3)
69
- lino (3.1.0)
70
+ lino (3.2.0.pre.10)
71
+ childprocess (~> 5.0.0)
70
72
  hamster (~> 3.0)
71
73
  open4 (~> 1.3)
72
74
  listen (3.8.0)
@@ -80,7 +82,7 @@ GEM
80
82
  notiffany (0.1.3)
81
83
  nenv (~> 0.1)
82
84
  shellany (~> 0.0)
83
- octokit (6.1.1)
85
+ octokit (8.0.0)
84
86
  faraday (>= 1, < 3)
85
87
  sawyer (~> 0.9)
86
88
  open4 (1.3.4)
@@ -92,7 +94,7 @@ GEM
92
94
  coderay (~> 1.1)
93
95
  method_source (~> 1.0)
94
96
  public_suffix (5.0.3)
95
- racc (1.7.1)
97
+ racc (1.7.3)
96
98
  rainbow (3.1.1)
97
99
  rake (13.1.0)
98
100
  rake_circle_ci (0.11.0)
@@ -103,18 +105,18 @@ GEM
103
105
  rake_factory (0.32.0.pre.2)
104
106
  activesupport (>= 4)
105
107
  rake (~> 13.0)
106
- rake_git (0.1.0.pre.8)
108
+ rake_git (0.1.0.pre.10)
107
109
  colored2 (~> 3.1)
108
110
  git (~> 1.13, >= 1.13.2)
109
111
  rake_factory (= 0.32.0.pre.2)
110
- rake_git_crypt (0.1.0.pre.27)
112
+ rake_git_crypt (0.1.0.pre.29)
111
113
  colored2 (~> 3.1)
112
114
  rake_factory (= 0.32.0.pre.2)
113
- ruby_git_crypt (= 0.1.0.pre.2)
115
+ ruby_git_crypt (= 0.1.0.pre.4)
114
116
  ruby_gpg2 (~> 0.6)
115
- rake_github (0.11.0)
117
+ rake_github (0.13.0)
116
118
  colored2 (~> 3.1)
117
- octokit (>= 4.16, < 7.0)
119
+ octokit (>= 4.16, < 9.0)
118
120
  rake_factory (~> 0.23)
119
121
  sshkey (~> 2.0)
120
122
  rake_gpg (0.18.0)
@@ -168,7 +170,7 @@ GEM
168
170
  rubocop-factory_bot (~> 2.22)
169
171
  ruby-progressbar (1.13.0)
170
172
  ruby2_keywords (0.0.5)
171
- ruby_git_crypt (0.1.0.pre.2)
173
+ ruby_git_crypt (0.1.0.pre.4)
172
174
  immutable-struct (~> 2.4)
173
175
  lino (~> 3.0)
174
176
  ruby_gpg2 (0.10.0)
data/Rakefile CHANGED
@@ -171,7 +171,7 @@ end
171
171
  RakeGithub.define_repository_tasks(
172
172
  namespace: :github,
173
173
  repository: 'infrablocks/ruby_npm'
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 RubyNPM
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 RubyNPM
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)
@@ -79,7 +79,7 @@ module RubyNPM
79
79
  include: '--include'
80
80
  }.map do |key, name|
81
81
  definition(
82
- name: name, option_type: :standard, value_type: :string,
82
+ name:, option_type: :standard, value_type: :string,
83
83
  repeatable: true,
84
84
  override_keys: { singular: false, plural: key }
85
85
  )
@@ -8,7 +8,7 @@ module RubyNPM
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 RubyNPM
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 RubyNPM
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 RubyNPM
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 RubyNPM
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 RubyNPM
4
- VERSION = '0.1.0.pre.9'
4
+ VERSION = '0.1.0.pre.11'
5
5
  end
data/lib/ruby_npm.rb CHANGED
@@ -66,7 +66,7 @@ module RubyNPM
66
66
  @binary = 'npm'
67
67
  @logger = default_logger
68
68
  @options = default_options
69
- @stdin = ''
69
+ @stdin = nil
70
70
  @stdout = $stdout
71
71
  @stderr = $stderr
72
72
  end
data/ruby_npm.gemspec CHANGED
@@ -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_npm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.9
4
+ version: 0.1.0.pre.11
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-10 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
@@ -358,14 +358,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
358
358
  requirements:
359
359
  - - ">="
360
360
  - !ruby/object:Gem::Version
361
- version: '2.7'
361
+ version: '3.1'
362
362
  required_rubygems_version: !ruby/object:Gem::Requirement
363
363
  requirements:
364
364
  - - ">"
365
365
  - !ruby/object:Gem::Version
366
366
  version: 1.3.1
367
367
  requirements: []
368
- rubygems_version: 3.1.6
368
+ rubygems_version: 3.3.7
369
369
  signing_key:
370
370
  specification_version: 4
371
371
  summary: A simple Ruby wrapper for invoking NPM commands.