smolt 0.4.3 → 0.4.4
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/CHANGELOG.md +8 -0
- data/README.md +3 -0
- data/lib/smolt/cli.rb +2 -5
- data/lib/smolt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab6dca77e1b9c47173eadfc55dfc42b2382e4e71f5858acc97db8958d29715c2
|
|
4
|
+
data.tar.gz: 13495526cbf5dbcbf4d39c77e1a8814bf33036454f30b5029b4108337dc4898b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35fb1a8c70a4eaec67d6475060ec0fe918df5fdf1b2e1a1ad370ee1246725118737290c11768da04c12bcef6f7a63cbee268410e01b8d2752943c5eb1ff80aac
|
|
7
|
+
data.tar.gz: d3c55961665d9df36050049f5e49ade9b63cdac70e54173a793bc991038c064f2a45ede47025561e216fda2cfa0353bbf94882ff4f708baf6c2729ce60f1bee2
|
data/CHANGELOG.md
CHANGED
|
@@ -53,3 +53,11 @@ usage
|
|
|
53
53
|
### Change
|
|
54
54
|
- path for `require` in lib/smolt.rb
|
|
55
55
|
- path for `require` in lib/smolt/cli.rb
|
|
56
|
+
|
|
57
|
+
## [0.4.3] - 2022-05-28
|
|
58
|
+
### Fixed
|
|
59
|
+
- the error that is shown when the formula is not found
|
|
60
|
+
|
|
61
|
+
## [0.4.4] - 2022-05-28
|
|
62
|
+
### Fixed
|
|
63
|
+
- too many lines in `brew_deps`method
|
data/README.md
CHANGED
|
@@ -26,8 +26,11 @@ Or install it yourself as:
|
|
|
26
26
|
$ smolt diff {formula}
|
|
27
27
|
|
|
28
28
|
This will show any additional dependent packages that need to be installed in order to install the package given in the argument.
|
|
29
|
+
|
|
29
30
|
If you don't need any additional packeges, Smolt returns the message like "{formula} does not require any additional dependencies."
|
|
30
31
|
|
|
32
|
+
Smolt returns "{formula} is not found.", when the formula specified as an argumant is not found in homebrew.
|
|
33
|
+
|
|
31
34
|
## Development
|
|
32
35
|
|
|
33
36
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/smolt/cli.rb
CHANGED
|
@@ -29,11 +29,8 @@ module Smolt
|
|
|
29
29
|
deps = []
|
|
30
30
|
begin
|
|
31
31
|
deps_array.each { |f| deps << f unless installed.include?(f) }
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
else
|
|
35
|
-
":::Differencies of dependencies:::\n#{deps}"
|
|
36
|
-
end
|
|
32
|
+
no_deps = "#{formula} does not require any additional dependencies."
|
|
33
|
+
deps.empty? ? no_deps : ":::Differencies of dependencies:::\n#{deps}"
|
|
37
34
|
rescue NoMethodError
|
|
38
35
|
"#{formula} is not found."
|
|
39
36
|
end
|
data/lib/smolt/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smolt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Naoyuki Ishida
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-05-
|
|
11
|
+
date: 2022-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|