brew_lib 0.1.14 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/brew_lib.iml +48 -0
- data/Gemfile.lock +3 -1
- data/README.md +12 -0
- data/Rakefile +9 -1
- data/lib/brew_lib/version.rb +1 -1
- data/lib/rubygems_plugin.rb +0 -6
- 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: ee5a884f26e1c95edfb9c63aa30f4b9efba003d99c29234218f2faa7126eb44f
|
4
|
+
data.tar.gz: f3b2399865e9021242a57c0846ac59577f80340474ac458f379e4a084bdae399
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2305018cf0cb5306d4d8312988fed098ac0a73c6c4556d2685d79e6d6fed75402a2c910c38bf8969de966fb99b4f5dcb4d501c05bc5e78e0d978213fbd258c32
|
7
|
+
data.tar.gz: 70e4d26cfa4295516654d2c695e823eac387512b9ffab7d775bc7d7a505b91a38074075490477a82c5785f600dc54336bd0eb0cac267958926e127f5b5e6d730
|
data/.idea/brew_lib.iml
CHANGED
@@ -52,8 +52,56 @@
|
|
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="aruba (v2.0.1, ruby-2.6.8-p205) [gem]" level="application" />
|
56
|
+
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, ruby-2.6.8-p205) [gem]" level="application" />
|
57
|
+
<orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.9.2, ruby-2.6.8-p205) [gem]" level="application" />
|
58
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.4, ruby-2.6.8-p205) [gem]" level="application" />
|
55
59
|
<orderEntry type="library" scope="PROVIDED" name="bundle (v0.0.1, ruby-2.6.8-p205) [gem]" level="application" />
|
56
60
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.3.13, ruby-2.6.8-p205) [gem]" level="application" />
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="childprocess (v4.1.0, ruby-2.6.8-p205) [gem]" level="application" />
|
62
|
+
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.3, ruby-2.6.8-p205) [gem]" level="application" />
|
63
|
+
<orderEntry type="library" scope="PROVIDED" name="contracts (v0.16.1, ruby-2.6.8-p205) [gem]" level="application" />
|
64
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber (v7.1.0, ruby-2.6.8-p205) [gem]" level="application" />
|
65
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-core (v10.1.1, ruby-2.6.8-p205) [gem]" level="application" />
|
66
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-create-meta (v6.0.4, ruby-2.6.8-p205) [gem]" level="application" />
|
67
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-cucumber-expressions (v14.0.0, ruby-2.6.8-p205) [gem]" level="application" />
|
68
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-gherkin (v22.0.0, ruby-2.6.8-p205) [gem]" level="application" />
|
69
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-html-formatter (v17.0.0, ruby-2.6.8-p205) [gem]" level="application" />
|
70
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-messages (v17.1.1, ruby-2.6.8-p205) [gem]" level="application" />
|
71
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-tag-expressions (v4.1.0, ruby-2.6.8-p205) [gem]" level="application" />
|
72
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-wire (v6.2.1, ruby-2.6.8-p205) [gem]" level="application" />
|
73
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.0, ruby-2.6.8-p205) [gem]" level="application" />
|
74
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.15.5, ruby-2.6.8-p205) [gem]" level="application" />
|
75
|
+
<orderEntry type="library" scope="PROVIDED" name="gem-release (v2.2.2, ruby-2.6.8-p205) [gem]" level="application" />
|
76
|
+
<orderEntry type="library" scope="PROVIDED" name="io-console (v0.5.11, ruby-2.6.8-p205) [gem]" level="application" />
|
77
|
+
<orderEntry type="library" scope="PROVIDED" name="irb (v1.4.1, ruby-2.6.8-p205) [gem]" level="application" />
|
78
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v1.0.0, ruby-2.6.8-p205) [gem]" level="application" />
|
79
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.4.1, ruby-2.6.8-p205) [gem]" level="application" />
|
80
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2022.0105, ruby-2.6.8-p205) [gem]" level="application" />
|
81
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.15.0, ruby-2.6.8-p205) [gem]" level="application" />
|
82
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_test (v0.1.2, ruby-2.6.8-p205) [gem]" level="application" />
|
83
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.22.1, ruby-2.6.8-p205) [gem]" level="application" />
|
84
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v3.1.2.0, ruby-2.6.8-p205) [gem]" level="application" />
|
85
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.14.1, ruby-2.6.8-p205) [gem]" level="application" />
|
86
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, ruby-2.6.8-p205) [gem]" level="application" />
|
87
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, ruby-2.6.8-p205) [gem]" level="application" />
|
88
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-readline (v0.5.5, ruby-2.6.8-p205) [gem]" level="application" />
|
89
|
+
<orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.4.0, ruby-2.6.8-p205) [gem]" level="application" />
|
90
|
+
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, ruby-2.6.8-p205) [gem]" level="application" />
|
91
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.11.0, ruby-2.6.8-p205) [gem]" level="application" />
|
92
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.11.0, ruby-2.6.8-p205) [gem]" level="application" />
|
93
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.11.0, ruby-2.6.8-p205) [gem]" level="application" />
|
94
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.11.1, ruby-2.6.8-p205) [gem]" level="application" />
|
95
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.11.0, ruby-2.6.8-p205) [gem]" level="application" />
|
96
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v1.29.1, ruby-2.6.8-p205) [gem]" level="application" />
|
97
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.18.0, ruby-2.6.8-p205) [gem]" level="application" />
|
98
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-minitest (v0.19.1, ruby-2.6.8-p205) [gem]" level="application" />
|
99
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-rake (v0.6.0, ruby-2.6.8-p205) [gem]" level="application" />
|
100
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-rspec (v2.10.0, ruby-2.6.8-p205) [gem]" level="application" />
|
101
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, ruby-2.6.8-p205) [gem]" level="application" />
|
102
|
+
<orderEntry type="library" scope="PROVIDED" name="sys-uname (v1.2.2, ruby-2.6.8-p205) [gem]" level="application" />
|
103
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v1.2.1, ruby-2.6.8-p205) [gem]" level="application" />
|
104
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, ruby-2.6.8-p205) [gem]" level="application" />
|
57
105
|
</component>
|
58
106
|
<component name="RakeTasksCache">
|
59
107
|
<option name="myRootTask">
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
brew_lib (0.1.
|
4
|
+
brew_lib (0.1.16)
|
5
5
|
awesome_print
|
6
6
|
|
7
7
|
GEM
|
@@ -55,6 +55,7 @@ GEM
|
|
55
55
|
diff-lcs (1.5.0)
|
56
56
|
ffi (1.15.5)
|
57
57
|
gem-release (2.2.2)
|
58
|
+
gems (1.2.0)
|
58
59
|
io-console (0.5.11)
|
59
60
|
irb (1.4.1)
|
60
61
|
reline (>= 0.3.0)
|
@@ -122,6 +123,7 @@ DEPENDENCIES
|
|
122
123
|
bundle
|
123
124
|
cucumber
|
124
125
|
gem-release
|
126
|
+
gems
|
125
127
|
irb
|
126
128
|
minitest (~> 5.0)
|
127
129
|
pry
|
data/README.md
CHANGED
@@ -31,6 +31,18 @@ To release a new version, update the version number in `version.rb`, and then ru
|
|
31
31
|
which will create a git tag for the version, push git commits and the created tag,
|
32
32
|
and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
33
33
|
|
34
|
+
### Clean
|
35
|
+
```shell
|
36
|
+
bundle clean --force
|
37
|
+
gem uninstall --ignore-dependencies --all -x
|
38
|
+
gem install bundle bundler irb
|
39
|
+
bundle install
|
40
|
+
```
|
41
|
+
|
42
|
+
### Publish
|
43
|
+
```shell
|
44
|
+
rake bump
|
45
|
+
```
|
34
46
|
## Contributing
|
35
47
|
|
36
48
|
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/brew_lib.
|
data/Rakefile
CHANGED
@@ -23,11 +23,19 @@ task bump: [:test] do |_, args|
|
|
23
23
|
sh "{ git add -A && git commit --quiet -m 'bump #{part}' >/dev/null &&
|
24
24
|
gem bump --silent --quiet --tag --push --release &&
|
25
25
|
gh release create $(git describe --tags --abbrev=0) --generate-notes &&
|
26
|
-
gem install brew_lib; } || true"
|
26
|
+
sleep 10; gem install brew_lib -v $(git describe --tags --abbrev=0 | sed 's/v//g'); } || true"
|
27
27
|
end
|
28
28
|
|
29
29
|
task default: %i[test rubocop]
|
30
30
|
|
31
|
+
desc "Clean all system installed gems and install gems"
|
32
|
+
task :setup do
|
33
|
+
sh "bundle clean --force || true"
|
34
|
+
sh "gem uninstall --ignore-dependencies --all -x"
|
35
|
+
sh "gem install bundle bundler irb"
|
36
|
+
sh "bundle install"
|
37
|
+
end
|
38
|
+
|
31
39
|
desc "Show tasks in current Rakefile, to see descriptions rake -T or rake -D"
|
32
40
|
task :tasks do
|
33
41
|
sh "rake", "--tasks"
|
data/lib/brew_lib/version.rb
CHANGED
data/lib/rubygems_plugin.rb
CHANGED
@@ -37,9 +37,3 @@ end
|
|
37
37
|
Gem.post_uninstall do |installer|
|
38
38
|
run "post_uninstall", installer
|
39
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.
|
4
|
+
version: 0.1.17
|
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-
|
11
|
+
date: 2022-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: gems
|
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'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: irb
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|