smolt 0.3.2 → 0.3.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e74cd72ed609464f409a8160ccca924f60d0cad0aea19e8759069025ce134bd
4
- data.tar.gz: 697d6b920661062c75c89fe32374aff570760b95f4ab861abe02cea2bc697f2d
3
+ metadata.gz: '085840f722b4df85356344cf6368539752013fa51b09bca5c6cffa532ad1901c'
4
+ data.tar.gz: 5ef0706d694919115f54dde828d75c656ee4ebaa0094539a2876555b5418966d
5
5
  SHA512:
6
- metadata.gz: e928f596f4cff26e52f47dcb56c959c15a0f620febe084493d31032a03f4c915fe4041b88167e0d65b0f2af43029e1b7726de952de6f1cd62d1670302a207c6b
7
- data.tar.gz: 1f26499f146df3e6c3ac5d7ec2f1f4044209eb22cf39a69813532876d45ba82a2fcc4d0d576dfc22e2ebafa62bc77efd7873711e26e1b471515927d34c801aeb
6
+ metadata.gz: 7042a7b921a17b730b8150c3018ee3508331a35f76f373084f9c871d85f931150370d5ca4a71a2bf1c19ce3dbb8a55bf96fdae8a1f6feddfeedb97712c82fb8f
7
+ data.tar.gz: aa58f3751b588838fa550069d25845e3d3bc19724ad592917341eb142683eb4665dd2349a5f86598538d006443fac065ea3df3eeaf9c2db6e10a6b99df90138e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  ## [Unreleased]
2
2
 
3
3
  ## [0.1.0] - 2021-12-31
4
-
5
4
  - Initial release
5
+
6
+ ## [0.2.0] - 2022-01-03
7
+ - Fixed many bugs
8
+
9
+ ## [0.3.0] - 2022-05-18
10
+ ### Changed
11
+ - `full(brew)` method updated
12
+
13
+ usage example
14
+
15
+ $ smolt full ffmpeg
16
+
17
+ - `diff(brew)` method updated
18
+
19
+ usage example
20
+
21
+ $ smolt diff ffmpeg
22
+
23
+ ## [0.3.1] - 2022-05-19
24
+ ### Changed
25
+ - Fixed some codes accoding to rubocop
26
+
27
+ ## [0.3.2] - 2022-05-19
28
+ ### Added
29
+ - `version` command
30
+
31
+ usage
32
+
33
+ $ smolt version
data/README.md CHANGED
@@ -4,6 +4,10 @@ Smolt shows dependencies for homebrew.
4
4
 
5
5
  ## Installation
6
6
 
7
+ ### Using gem command
8
+ $ gem install smolt
9
+
10
+ ### Using Bundler
7
11
  Add this line to your application's Gemfile:
8
12
 
9
13
  ```ruby
@@ -19,20 +23,14 @@ Or install it yourself as:
19
23
  $ gem install smolt
20
24
 
21
25
  ## Usage
22
- ```ruby
23
- require 'smolt'
24
- Smolt.full('openssl')
25
- ```
26
+ $ smolt full {brew package name}
26
27
 
27
- This shows brews installed already and brews you need to install.
28
+ This shows dependencies of the brew is given as an argument.
28
29
  If you installed the brew, Smolt return the message like "{brew} is already installed."
29
30
 
30
- ```ruby
31
- require "smolt"
32
- Smolt.diff('openssl')
33
- ```
31
+ $ smolt diff {brew package name}
34
32
 
35
- This shows only brews you need to install.
33
+ This shows brews brews you need to install the brew is given as an argument.
36
34
  If you installed the brew, Smolt return the message like "{brew} is already installed."
37
35
 
38
36
  ## Development
data/lib/smolt/cli.rb CHANGED
@@ -16,7 +16,7 @@ module Smolt
16
16
  def full(brew)
17
17
  brew_params(brew)
18
18
  @installed_brews.grep(/#{brew}/)
19
- return "#{brew} is already installed." unless @installed_brews.grep(/#{brew}/).empty?
19
+ return puts "#{brew} is already installed." unless @installed_brews.grep(/#{brew}/).empty?
20
20
 
21
21
  puts @formatted_full
22
22
  end
@@ -24,7 +24,7 @@ module Smolt
24
24
  desc "diff Brew", "show differencies of dependencies"
25
25
  def diff(brew)
26
26
  brew_params(brew)
27
- return "#{brew} is already installed." unless @installed_brews.grep(/#{brew}/).empty?
27
+ return puts "#{brew} is already installed." unless @installed_brews.grep(/#{brew}/).empty?
28
28
 
29
29
  puts @formatted_diff
30
30
  end
data/lib/smolt/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Smolt
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naoyuki Ishida