fluid_cli 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fluid_cli/version.rb +1 -1
- data/packaging/homebrew/fluid_cli.base.rb +5 -9
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39496963783ba12fb089641810d44260036093bf7e121eefeafe89ba16f16bd4
|
|
4
|
+
data.tar.gz: 2cd9b659c66fcfd2e0528d0ebf4557d582ac0cbe24a06a0ee82661e4f1a492fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3dacffb2699fa9faeadff7db9954c9e69f5328d26b85cc43483ea689600d2fbf28d2a47a3b39a7dc646b4237e8d48b28c667209af36a579735b347266103ef31
|
|
7
|
+
data.tar.gz: 711eb67efb8300f67bd9eb9614f4cb0edf5fac99358a3a348dbd319e3c284217c1c3b7ec003e303735178811069b14142b17d6a1827495b81e8068fbbf0c7f1e
|
data/lib/fluid_cli/version.rb
CHANGED
|
@@ -20,9 +20,7 @@ class FluidCli < Formula
|
|
|
20
20
|
ENV["GEM_SPEC_CACHE"] = "#{cache}/gem_spec_cache"
|
|
21
21
|
|
|
22
22
|
_, err, status = Open3.capture3("gem", "fetch", "fluid_cli", "--version", gem_version)
|
|
23
|
-
unless status.success?
|
|
24
|
-
odie err
|
|
25
|
-
end
|
|
23
|
+
odie err unless status.success?
|
|
26
24
|
end
|
|
27
25
|
end
|
|
28
26
|
|
|
@@ -37,6 +35,7 @@ class FluidCli < Formula
|
|
|
37
35
|
def gem_version
|
|
38
36
|
@version ||= @resource&.version if defined?(@resource)
|
|
39
37
|
raise "Unable to determine version; did Homebrew change?" unless @version
|
|
38
|
+
|
|
40
39
|
@version
|
|
41
40
|
end
|
|
42
41
|
|
|
@@ -53,7 +52,6 @@ class FluidCli < Formula
|
|
|
53
52
|
version "FLUID_CLI_VERSION"
|
|
54
53
|
sha256 "FLUID_CLI_GEM_CHECKSUM"
|
|
55
54
|
depends_on "ruby"
|
|
56
|
-
depends_on "git"
|
|
57
55
|
|
|
58
56
|
def install
|
|
59
57
|
# set GEM_HOME and GEM_PATH to make sure we package all the dependent gems
|
|
@@ -64,9 +62,7 @@ class FluidCli < Formula
|
|
|
64
62
|
|
|
65
63
|
# Use /usr/local/bin at the front of the path instead of Homebrew shims,
|
|
66
64
|
# which mess with Ruby's own compiler config when building native extensions
|
|
67
|
-
if defined?(HOMEBREW_SHIMS_PATH)
|
|
68
|
-
ENV["PATH"] = ENV["PATH"].sub(HOMEBREW_SHIMS_PATH.to_s, "/usr/local/bin")
|
|
69
|
-
end
|
|
65
|
+
ENV["PATH"] = ENV["PATH"].sub(HOMEBREW_SHIMS_PATH.to_s, "/usr/local/bin") if defined?(HOMEBREW_SHIMS_PATH)
|
|
70
66
|
|
|
71
67
|
system(
|
|
72
68
|
"gem",
|
|
@@ -83,7 +79,7 @@ class FluidCli < Formula
|
|
|
83
79
|
|
|
84
80
|
raise "gem install 'fluid_cli' failed with status #{$CHILD_STATUS.exitstatus}" unless $CHILD_STATUS.success?
|
|
85
81
|
|
|
86
|
-
bin
|
|
82
|
+
rm_r(bin) if bin.exist?
|
|
87
83
|
bin.mkpath
|
|
88
84
|
|
|
89
85
|
brew_gem_prefix = "#{prefix}/gems/fluid_cli-#{version}"
|
|
@@ -91,7 +87,7 @@ class FluidCli < Formula
|
|
|
91
87
|
ruby_libs = Dir.glob("#{prefix}/gems/*/lib")
|
|
92
88
|
exe = "fluid"
|
|
93
89
|
file = Pathname.new("#{brew_gem_prefix}/exe/#{exe}")
|
|
94
|
-
(bin +
|
|
90
|
+
(bin + file.basename.to_s).open("w") do |f|
|
|
95
91
|
f << <<~RUBY
|
|
96
92
|
#!#{ruby_bin}/ruby -rjson --disable-gems
|
|
97
93
|
ENV['ORIGINAL_ENV']=ENV.to_h.to_json
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluid_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fluid
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-11-
|
|
10
|
+
date: 2025-11-13 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: bugsnag
|
|
@@ -37,6 +37,20 @@ dependencies:
|
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: 3.7.0
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: observer
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 0.1.2
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 0.1.2
|
|
40
54
|
- !ruby/object:Gem::Dependency
|
|
41
55
|
name: multipart-post
|
|
42
56
|
requirement: !ruby/object:Gem::Requirement
|