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

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: 86125ca36b0736699a67678cf8171a5f14e6b743f3d4eb75995d976600dbb33e
4
+ data.tar.gz: ddc12ccfa8475c22f46befbf64e28edf9b71129c93aa02b6958083be56eae6fe
5
5
  SHA512:
6
- metadata.gz: ca3d5ebc1cb3b11bacd1360caaa6b27004eb75e0dd27edc2d0f557ec1745841256ee493a60ad632d0a290ce769ecc76a53d884eba867915a6f06cb903ab8e569
7
- data.tar.gz: f0bdad4b986d66aa8440bef0b5265965ce7942ab15617e7d186d2542644bbb98a94e49f32b724e8b62d1476abfb447432af1b9c46ef36631f171a8b4a3dfac50
6
+ metadata.gz: 65032254a73e4aaf14421cf3d41c545855ea4afee65a471483d3ff9b7da57e96a7549b0059b8d5ac85bf5c017bf8aea499243edebb6132d9e6fd77034bb4132f
7
+ data.tar.gz: 82590cb01273d3c016c9934e8714c6d092d24c56bb048559c7cfe8638e7d038482b6dbd0898780a632a22c30840c55ece43bcd9988b2716bd7fd4283e2d0288c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.0.3] - 2025-01-07
2
+
3
+ - Bump Ruby to 3.4.1
4
+
5
+ ## [0.0.2] - 2024-07-24
6
+
7
+ - Fix bundle install bug
8
+
1
9
  ## [0.0.1] - 2024-06-17
2
10
 
3
11
  - 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,13 @@
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-18 00:00:00.000000000 Z
10
+ date: 2025-01-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: foobara
@@ -38,7 +37,6 @@ dependencies:
38
37
  - - ">="
39
38
  - !ruby/object:Gem::Version
40
39
  version: '0'
41
- description:
42
40
  email:
43
41
  - azimux@gmail.com
44
42
  executables: []
@@ -68,7 +66,6 @@ metadata:
68
66
  source_code_uri: https://github.com/foobara/generators-sh-cli-connector-generator
69
67
  changelog_uri: https://github.com/foobara/generators-sh-cli-connector-generator/blob/main/CHANGELOG.md
70
68
  rubygems_mfa_required: 'true'
71
- post_install_message:
72
69
  rdoc_options: []
73
70
  require_paths:
74
71
  - lib
@@ -76,15 +73,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
73
  requirements:
77
74
  - - ">="
78
75
  - !ruby/object:Gem::Version
79
- version: 3.2.2
76
+ version: 3.4.0
80
77
  required_rubygems_version: !ruby/object:Gem::Requirement
81
78
  requirements:
82
79
  - - ">="
83
80
  - !ruby/object:Gem::Version
84
81
  version: '0'
85
82
  requirements: []
86
- rubygems_version: 3.4.10
87
- signing_key:
83
+ rubygems_version: 3.6.2
88
84
  specification_version: 4
89
85
  summary: Generates a Foobara sh_cli_connector
90
86
  test_files: []