foobara-sh-cli-connector-generator 0.0.1 → 0.0.2

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: fc71e79540fb7efa13beb2ec564a93c5417dc9f3937a8295ac20d36afa37152f
4
- data.tar.gz: 8922ae649cb9eb16d68ecf8f9c321144efba52c9cf0668d23e1e93efcbe79a1b
3
+ metadata.gz: 0af77c9318e06b9b0ad186d7db1d28c5968783b1a49ea5af93ac23927688e77e
4
+ data.tar.gz: e2117c818961a9f183ed94711cbd029a0bcc058a26d3265d73e216e0d67ef183
5
5
  SHA512:
6
- metadata.gz: ca3d5ebc1cb3b11bacd1360caaa6b27004eb75e0dd27edc2d0f557ec1745841256ee493a60ad632d0a290ce769ecc76a53d884eba867915a6f06cb903ab8e569
7
- data.tar.gz: f0bdad4b986d66aa8440bef0b5265965ce7942ab15617e7d186d2542644bbb98a94e49f32b724e8b62d1476abfb447432af1b9c46ef36631f171a8b4a3dfac50
6
+ metadata.gz: 3698eee5e46fb6492b8c19919a89247a78fc73ea42eaca421325132ce415bfef7108bab1fc95e1bc6b8fc3d4a9ca2090fa76a5fa25389891993ea61935a178d6
7
+ data.tar.gz: d9fff047e96a9fe0616374f30df49b6b07b0f4f7ae90cb2b318bb654038619ee9cb37e96a535d2d7030ee7aff5d1b36ea2726cdb7756e17fbeab0e169050fd13
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.2] - 2024-07-24
2
+
3
+ - Fix bundle install bug
4
+
1
5
  ## [0.0.1] - 2024-06-17
2
6
 
3
7
  - Add Apache-2.0 license
@@ -1,9 +1,12 @@
1
1
  require_relative "generate_sh_cli_connector"
2
+ require "foobara/files_generator/bundler_actions"
2
3
 
3
4
  module Foobara
4
5
  module Generators
5
6
  module ShCliConnectorGenerator
6
7
  class WriteShCliConnectorToDisk < Foobara::Generators::WriteGeneratedFilesToDisk
8
+ include Foobara::FilesGenerator::BundlerActions
9
+
7
10
  class << self
8
11
  def generator_key
9
12
  "sh-cli-connector"
@@ -47,22 +50,6 @@ module Foobara
47
50
  end
48
51
  end
49
52
 
50
- def bundle_install
51
- cmd = "bundle install"
52
-
53
- Bundler.with_unbundled_env do
54
- Open3.popen3(cmd) do |_stdin, _stdout, stderr, wait_thr|
55
- exit_status = wait_thr.value
56
-
57
- unless exit_status.success?
58
- # :nocov:
59
- warn "WARNING: could not #{cmd}\n#{stderr.read}"
60
- # :nocov:puts "bundling..."
61
- end
62
- end
63
- end
64
- end
65
-
66
53
  def rubocop_autocorrect
67
54
  Open3.popen3("bundle exec rubocop --no-server -A") do |_stdin, _stdout, stderr, wait_thr|
68
55
  exit_status = wait_thr.value
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-sh-cli-connector-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-18 00:00:00.000000000 Z
11
+ date: 2024-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.4.10
86
+ rubygems_version: 3.5.16
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: Generates a Foobara sh_cli_connector