brew_lib 0.1.1 → 0.1.12

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: '056419d8c7ff31302ec7432159c2c12e70041cbf655a309813c86ba528c17094'
4
- data.tar.gz: cb7298df4930c7ab673b8495de48c12ba9c4b2a5147520eca2ffe24f92f1977e
3
+ metadata.gz: 24fe33a27cf094fc5bf68e5467537e0d1325ff5a841594b0cf060b9758754ba0
4
+ data.tar.gz: 4d5af37eb6f420cd2022d95820f2fcc27a87ef9e727ec3c62be8e613b84ed706
5
5
  SHA512:
6
- metadata.gz: f923fa13aca6064f7e1cf2a3841c20b116031d74fdfaf672b33eccd75f65b377f7276e5b7721c367eda8a66c70e7d906e521ff60834b645d3cdae4ab366df3c6
7
- data.tar.gz: 991cead3610cc914f250f18cab579f0acace3abb6b17d6140309ea46c817db11031373adbb33a9ae94264cfe0c2766b97a09b3bf95d86e909705e061c455b0dc
6
+ metadata.gz: f09157ec2501945e71e66888f21c6763fedd92cf0bd5edbdd697536061d50884e5c81538910245170ef79b7d97633a2d1e1a0bb05c1b4cffe3ac3fbaaa5faf2a
7
+ data.tar.gz: c5954292c5a6ba7270f2bc21a03305241327795fdd503d518c3b32b2788efea57abe6cb121f328d1744672aa5221c0c8604c1ea0436ed13cd5e9f7cd603def7c
data/.idea/brew_lib.iml CHANGED
@@ -52,18 +52,8 @@
52
52
  <orderEntry type="jdk" jdkName="ruby-2.6.8-p205" jdkType="RUBY_SDK" />
53
53
  <orderEntry type="sourceFolder" forTests="false" />
54
54
  <orderEntry type="library" name="Python 3.10 interpreter library" level="application" />
55
- <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, ruby-2.6.8-p205) [gem]" level="application" />
56
- <orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.9.2, ruby-2.6.8-p205) [gem]" level="application" />
55
+ <orderEntry type="library" scope="PROVIDED" name="bundle (v0.0.1, ruby-2.6.8-p205) [gem]" level="application" />
57
56
  <orderEntry type="library" scope="PROVIDED" name="bundler (v2.3.13, ruby-2.6.8-p205) [gem]" level="application" />
58
- <orderEntry type="library" scope="PROVIDED" name="parallel (v1.22.1, ruby-2.6.8-p205) [gem]" level="application" />
59
- <orderEntry type="library" scope="PROVIDED" name="parser (v3.1.2.0, ruby-2.6.8-p205) [gem]" level="application" />
60
- <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, ruby-2.6.8-p205) [gem]" level="application" />
61
- <orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.4.0, ruby-2.6.8-p205) [gem]" level="application" />
62
- <orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, ruby-2.6.8-p205) [gem]" level="application" />
63
- <orderEntry type="library" scope="PROVIDED" name="rubocop (v1.29.0, ruby-2.6.8-p205) [gem]" level="application" />
64
- <orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.18.0, ruby-2.6.8-p205) [gem]" level="application" />
65
- <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, ruby-2.6.8-p205) [gem]" level="application" />
66
- <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, ruby-2.6.8-p205) [gem]" level="application" />
67
57
  </component>
68
58
  <component name="RakeTasksCache">
69
59
  <option name="myRootTask">
data/.rubocop.yml CHANGED
@@ -1,13 +1,19 @@
1
1
  AllCops:
2
2
  TargetRubyVersion: 2.6
3
-
3
+ NewCops: enable
4
+ Gemspec/RequireMFA:
5
+ Enabled: false
6
+ Metrics/AbcSize:
7
+ Enabled: false
8
+ Metrics/MethodLength:
9
+ Enabled: false
10
+ Style/OpenStructUse:
11
+ Enabled: false
4
12
  Style/StringLiterals:
5
13
  Enabled: true
6
14
  EnforcedStyle: double_quotes
7
-
8
15
  Style/StringLiteralsInInterpolation:
9
16
  Enabled: true
10
17
  EnforcedStyle: double_quotes
11
-
12
18
  Layout/LineLength:
13
19
  Max: 120
data/Gemfile CHANGED
@@ -8,5 +8,7 @@ gemspec
8
8
  gem "rake", "~> 13.0"
9
9
 
10
10
  gem "minitest", "~> 5.0"
11
-
12
- gem "rubocop", group: 'development'
11
+ gem "rubocop", group: "development"
12
+ gem "rubocop-minitest", group: "development"
13
+ gem "rubocop-rake", group: "development"
14
+ gem "rubocop-rspec", group: "development"
data/Gemfile.lock CHANGED
@@ -1,22 +1,95 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brew_lib (0.1.1)
4
+ brew_lib (0.1.10)
5
5
  awesome_print
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
+ aruba (2.0.1)
11
+ bundler (>= 1.17, < 3.0)
12
+ childprocess (>= 2.0, < 5.0)
13
+ contracts (>= 0.16.0, < 0.18.0)
14
+ cucumber (>= 4.0, < 8.0)
15
+ rspec-expectations (~> 3.4)
16
+ thor (~> 1.0)
10
17
  ast (2.4.2)
11
18
  awesome_print (1.9.2)
19
+ builder (3.2.4)
20
+ bundle (0.0.1)
21
+ bundler
22
+ childprocess (4.1.0)
23
+ coderay (1.1.3)
24
+ contracts (0.16.1)
25
+ cucumber (7.1.0)
26
+ builder (~> 3.2, >= 3.2.4)
27
+ cucumber-core (~> 10.1, >= 10.1.0)
28
+ cucumber-create-meta (~> 6.0, >= 6.0.1)
29
+ cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
30
+ cucumber-gherkin (~> 22.0, >= 22.0.0)
31
+ cucumber-html-formatter (~> 17.0, >= 17.0.0)
32
+ cucumber-messages (~> 17.1, >= 17.1.1)
33
+ cucumber-wire (~> 6.2, >= 6.2.0)
34
+ diff-lcs (~> 1.4, >= 1.4.4)
35
+ mime-types (~> 3.3, >= 3.3.1)
36
+ multi_test (~> 0.1, >= 0.1.2)
37
+ sys-uname (~> 1.2, >= 1.2.2)
38
+ cucumber-core (10.1.1)
39
+ cucumber-gherkin (~> 22.0, >= 22.0.0)
40
+ cucumber-messages (~> 17.1, >= 17.1.1)
41
+ cucumber-tag-expressions (~> 4.1, >= 4.1.0)
42
+ cucumber-create-meta (6.0.4)
43
+ cucumber-messages (~> 17.1, >= 17.1.1)
44
+ sys-uname (~> 1.2, >= 1.2.2)
45
+ cucumber-cucumber-expressions (14.0.0)
46
+ cucumber-gherkin (22.0.0)
47
+ cucumber-messages (~> 17.1, >= 17.1.1)
48
+ cucumber-html-formatter (17.0.0)
49
+ cucumber-messages (~> 17.1, >= 17.1.0)
50
+ cucumber-messages (17.1.1)
51
+ cucumber-tag-expressions (4.1.0)
52
+ cucumber-wire (6.2.1)
53
+ cucumber-core (~> 10.1, >= 10.1.0)
54
+ cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
55
+ diff-lcs (1.5.0)
56
+ ffi (1.15.5)
57
+ gem-release (2.2.2)
58
+ io-console (0.5.11)
59
+ irb (1.4.1)
60
+ reline (>= 0.3.0)
61
+ method_source (1.0.0)
62
+ mime-types (3.4.1)
63
+ mime-types-data (~> 3.2015)
64
+ mime-types-data (3.2022.0105)
12
65
  minitest (5.15.0)
66
+ multi_test (0.1.2)
13
67
  parallel (1.22.1)
14
68
  parser (3.1.2.0)
15
69
  ast (~> 2.4.1)
70
+ pry (0.14.1)
71
+ coderay (~> 1.1)
72
+ method_source (~> 1.0)
16
73
  rainbow (3.1.1)
17
74
  rake (13.0.6)
75
+ rb-readline (0.5.5)
18
76
  regexp_parser (2.4.0)
77
+ reline (0.3.1)
78
+ io-console (~> 0.5)
19
79
  rexml (3.2.5)
80
+ rspec (3.11.0)
81
+ rspec-core (~> 3.11.0)
82
+ rspec-expectations (~> 3.11.0)
83
+ rspec-mocks (~> 3.11.0)
84
+ rspec-core (3.11.0)
85
+ rspec-support (~> 3.11.0)
86
+ rspec-expectations (3.11.0)
87
+ diff-lcs (>= 1.2.0, < 2.0)
88
+ rspec-support (~> 3.11.0)
89
+ rspec-mocks (3.11.1)
90
+ diff-lcs (>= 1.2.0, < 2.0)
91
+ rspec-support (~> 3.11.0)
92
+ rspec-support (3.11.0)
20
93
  rubocop (1.29.1)
21
94
  parallel (~> 1.10)
22
95
  parser (>= 3.1.0.0)
@@ -28,17 +101,37 @@ GEM
28
101
  unicode-display_width (>= 1.4.0, < 3.0)
29
102
  rubocop-ast (1.18.0)
30
103
  parser (>= 3.1.1.0)
104
+ rubocop-minitest (0.19.1)
105
+ rubocop (>= 0.90, < 2.0)
106
+ rubocop-rake (0.6.0)
107
+ rubocop (~> 1.0)
108
+ rubocop-rspec (2.10.0)
109
+ rubocop (~> 1.19)
31
110
  ruby-progressbar (1.11.0)
111
+ sys-uname (1.2.2)
112
+ ffi (~> 1.1)
113
+ thor (1.2.1)
32
114
  unicode-display_width (2.1.0)
33
115
 
34
116
  PLATFORMS
35
117
  universal-darwin-21
36
118
 
37
119
  DEPENDENCIES
120
+ aruba
38
121
  brew_lib!
122
+ bundle
123
+ cucumber
124
+ gem-release
125
+ irb
39
126
  minitest (~> 5.0)
127
+ pry
40
128
  rake (~> 13.0)
129
+ rb-readline
130
+ rspec
41
131
  rubocop
132
+ rubocop-minitest
133
+ rubocop-rake
134
+ rubocop-rspec
42
135
 
43
136
  BUNDLED WITH
44
137
  2.3.13
data/README.md CHANGED
@@ -23,13 +23,20 @@ TODO: Write usage instructions here
23
23
 
24
24
  ## Development
25
25
 
26
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests.
27
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment.
27
28
 
28
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
29
+ To install this gem onto your local machine, run `bundle exec rake install`.
30
+ To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`,
31
+ which will create a git tag for the version, push git commits and the created tag,
32
+ and push the `.gem` file to [rubygems.org](https://rubygems.org).
29
33
 
30
34
  ## Contributing
31
35
 
32
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/brew_lib. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/brew_lib/blob/main/CODE_OF_CONDUCT.md).
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/brew_lib.
37
+ This project is intended to be a safe, welcoming space for collaboration,
38
+ and contributors are expected to adhere
39
+ to the [code of conduct](https://github.com/[USERNAME]/brew_lib/blob/main/CODE_OF_CONDUCT.md).
33
40
 
34
41
  ## License
35
42
 
@@ -37,4 +44,6 @@ The gem is available as open source under the terms of the [MIT License](https:/
37
44
 
38
45
  ## Code of Conduct
39
46
 
40
- Everyone interacting in the brew_lib project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/brew_lib/blob/main/CODE_OF_CONDUCT.md).
47
+ Everyone interacts in the brew_lib project's codebases, issue trackers,
48
+ chat rooms and mailing lists is expected
49
+ to follow the [code of conduct](https://github.com/[USERNAME]/brew_lib/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  require "bundler/gem_tasks"
4
4
  require "rake/testtask"
5
+ require "rubocop/rake_task"
6
+ require_relative "lib/brew_lib"
5
7
 
6
8
  Rake::TestTask.new(:test) do |t|
7
9
  t.libs << "test"
@@ -9,8 +11,22 @@ Rake::TestTask.new(:test) do |t|
9
11
  t.test_files = FileList["test/**/test_*.rb"]
10
12
  end
11
13
 
12
- require "rubocop/rake_task"
13
-
14
14
  RuboCop::RakeTask.new
15
15
 
16
+ def version
17
+ `git describe --tags --abbrev=0`.chomp
18
+ end
19
+
20
+ desc "Create a new release, push and system install [patch|minor|major], default is patch"
21
+ task bump: [:test] do |_, args|
22
+ part = args.to_a.fetch(0, "patch")
23
+ sh "{ git add -A && git commit --quiet -m 'bump #{part}' >/dev/null &&
24
+ gem bump --silent --quiet --tag --push --release && gh release create #{version} --generate-notes; } || true"
25
+ end
26
+
16
27
  task default: %i[test rubocop]
28
+
29
+ desc "Show tasks in current Rakefile, to see descriptions rake -T or rake -D"
30
+ task :tasks do
31
+ sh "rake", "--tasks"
32
+ end
data/exe/brew_lib CHANGED
@@ -1,3 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
4
+ require "pathname"
5
+
6
+ $LOAD_PATH.unshift File.expand_path("../lib", Pathname.new(__FILE__).dirname)
3
7
  require "brew_lib"
8
+
9
+ BrewLib::CLI.new(ARGV)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrewLib
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.12"
5
5
  end
data/lib/brew_lib.rb CHANGED
@@ -1,9 +1,108 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "optparse"
4
+ require "ostruct"
5
+ require "pathname"
6
+
3
7
  require_relative "brew_lib/version"
4
8
 
9
+ # BrewLib
5
10
  module BrewLib
11
+ NAME = Pathname.new(__FILE__).basename.sub_ext("").to_s
6
12
  class Error < StandardError; end
13
+
14
+ def self.pre_install
15
+ # noinspection RubyNilAnalysis
16
+ puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
17
+ end
18
+
19
+ def self.pre_uninstall
20
+ # noinspection RubyNilAnalysis
21
+ puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
22
+ end
23
+
24
+ def self.post_build
25
+ # noinspection RubyNilAnalysis
26
+ puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
27
+ end
28
+
29
+ def self.post_install
30
+ # noinspection RubyNilAnalysis
31
+ puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
32
+ end
33
+
34
+ def self.post_uninstall
35
+ # noinspection RubyNilAnalysis
36
+ puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
37
+ end
38
+
39
+ # BrewLib::CLI
40
+ class CLI
41
+ def initialize(argv = ARGV)
42
+ exception_handling do
43
+ options_set_default
44
+ OptionParser.new do |opts|
45
+ # noinspection RubyNilAnalysis
46
+ opts.banner = "#{NAME} {options}"
47
+ opts.separator ""
48
+ opts.separator "Options:"
49
+
50
+ opts.on_tail("-h", "--help", "-H", "Display this help message.") do
51
+ puts opts
52
+ exit
53
+ end
54
+
55
+ options_spec.each { |args| opts.on(*args) }
56
+ end.parse(argv)
57
+ end
58
+ BrewLib.post if options.post
59
+ end
60
+
61
+ # A list of all the standard options used in rake, suitable for
62
+ # passing to OptionParser.
63
+ def options_spec # :nodoc:
64
+ [
65
+ ["--post", "-p", "Post install ", ->(_) { options.post = true }],
66
+ ["--silent", "-s", "Like --quiet, but also suppresses the 'in directory' announcement.",
67
+ ->(_) { options.silent = true }],
68
+ ["--verbose", "-v", "Log message to standard output.", ->(_) { options.verbose = true }],
69
+ ["--version", "-V", "Display the program version.",
70
+ lambda { |_|
71
+ puts BrewLib::VERSION
72
+ exit
73
+ }]
74
+ ]
75
+ end
76
+
77
+ # Application options from the command line
78
+ def options
79
+ @options ||= OpenStruct.new
80
+ end
81
+
82
+ # set default values for options
83
+ def options_set_default
84
+ options.post = false
85
+ options.silent = false
86
+ options.verbose = false
87
+ end
88
+
89
+ # Provide standard exception handling for the given block.
90
+ def exception_handling
91
+ yield
92
+ rescue SystemExit
93
+ # Exit silently with current status
94
+ raise
95
+ rescue OptionParser::InvalidOption => e
96
+ warn e.message
97
+ exit(false)
98
+ rescue StandardError => e
99
+ # Exit with error message
100
+ puts e
101
+ puts e.backtrace unless e.backtrace.nil?
102
+ puts e.cause unless e.cause.nil?
103
+ puts e.chain unless e.chain.nil?
104
+ exit(false)
105
+ end
106
+ end
7
107
  # Your code goes here...
8
- puts VERSION
9
108
  end
data/lib/post_build.rb ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "brew_lib"
4
+
5
+ BrewLib.post_build
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "brew_lib"
4
+
5
+ BrewLib.post_install
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "brew_lib"
4
+
5
+ BrewLib.post_uninstall
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "brew_lib"
4
+
5
+ BrewLib.pre_install
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "brew_lib"
4
+
5
+ BrewLib.pre_uninstall
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # https://guides.rubygems.org/plugins/
4
+ # https://github.com/rvm/executable-hooks/blob/master/lib/rubygems_plugin.rb
5
+ require "pathname"
6
+ def run(action, installer)
7
+ path = Pathname.new(installer.spec.lib_dirs_glob) / "#{action}.rb"
8
+ return unless path.exist?
9
+
10
+ delete = false
11
+ unless $LOAD_PATH.include?(installer.spec.lib_dirs_glob)
12
+ $LOAD_PATH.unshift installer.spec.lib_dirs_glob
13
+ delete = true
14
+ end
15
+ # noinspection RubyResolve
16
+ require action
17
+ $LOAD_PATH.delete installer.spec.lib_dirs_glob if delete
18
+ true
19
+ end
20
+
21
+ Gem.pre_install do |installer|
22
+ run "pre_install", installer
23
+ end
24
+
25
+ Gem.pre_uninstall do |installer|
26
+ run "pre_uninstall", installer
27
+ end
28
+
29
+ Gem.post_build do |installer|
30
+ run "post_build", installer
31
+ end
32
+
33
+ Gem.post_install do |installer|
34
+ run "post_install", installer
35
+ end
36
+
37
+ Gem.post_uninstall do |installer|
38
+ run "post_uninstall", installer
39
+ end
40
+
41
+ # TODO: el caller o que solo se haga una vez
42
+ # bundle clean --force
43
+ # gem uninstall --ignore-dependencies --all -x
44
+ # gem install bundle bundler irb
45
+ # bundle install
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brew_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - root
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-15 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -24,7 +24,203 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: Brew lib.
27
+ - !ruby/object:Gem::Dependency
28
+ name: aruba
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundle
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: cucumber
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: gem-release
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: irb
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: minitest
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rb-readline
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rubocop
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rubocop-minitest
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: rubocop-rake
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rubocop-rspec
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ description: BrewLib
28
224
  email:
29
225
  - root@example.com
30
226
  executables:
@@ -57,6 +253,12 @@ files:
57
253
  - exe/brew_lib
58
254
  - lib/brew_lib.rb
59
255
  - lib/brew_lib/version.rb
256
+ - lib/post_build.rb
257
+ - lib/post_install.rb
258
+ - lib/post_uninstall.rb
259
+ - lib/pre_install.rb
260
+ - lib/pre_uninstall.rb
261
+ - lib/rubygems_plugin.rb
60
262
  - sig/brew_lib.rbs
61
263
  homepage: https://github.com/j5pu/brew_lib
62
264
  licenses:
@@ -82,5 +284,5 @@ requirements: []
82
284
  rubygems_version: 3.0.3.1
83
285
  signing_key:
84
286
  specification_version: 4
85
- summary: Brew lib.
287
+ summary: BrewLib
86
288
  test_files: []