brew_lib 0.1.15 → 0.1.19
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 +20 -1
- 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: abf76d647daf38a09822d685b389646db39aab062a1319aa698bafbdeffcdfd6
|
4
|
+
data.tar.gz: 2ecb7df2ed23fbd1babe2059ea096dfa0c70a1c91230da6b8f17d08da4fb0ca2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86aa787753f629db050c127ff3fd181bd8aecca184a84cdede6b8f125115d839bc8b6c097cfde4dc6d9a948e4ad876059f7493d6d63ff25282ff11055f581c24
|
7
|
+
data.tar.gz: 9358c72cd6d1da7cf9bab5e852a127b6bd2d7ea2fb2cca6543a70a1d2da44d174745e7f1ace65f40743d6c9ffdb00c257d6baa6f3948c064217e448b8aead26c
|
data/.idea/brew_lib.iml
CHANGED
@@ -52,8 +52,27 @@
|
|
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="
|
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" />
|
56
57
|
<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="coderay (v1.1.3, ruby-2.6.8-p205) [gem]" level="application" />
|
59
|
+
<orderEntry type="library" scope="PROVIDED" name="io-console (v0.5.11, ruby-2.6.8-p205) [gem]" level="application" />
|
60
|
+
<orderEntry type="library" scope="PROVIDED" name="irb (v1.4.1, ruby-2.6.8-p205) [gem]" level="application" />
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v1.0.0, ruby-2.6.8-p205) [gem]" level="application" />
|
62
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.15.0, ruby-2.6.8-p205) [gem]" level="application" />
|
63
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.22.1, ruby-2.6.8-p205) [gem]" level="application" />
|
64
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v3.1.2.0, ruby-2.6.8-p205) [gem]" level="application" />
|
65
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.14.1, ruby-2.6.8-p205) [gem]" level="application" />
|
66
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, ruby-2.6.8-p205) [gem]" level="application" />
|
67
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, ruby-2.6.8-p205) [gem]" level="application" />
|
68
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-readline (v0.5.5, ruby-2.6.8-p205) [gem]" level="application" />
|
69
|
+
<orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.4.0, ruby-2.6.8-p205) [gem]" level="application" />
|
70
|
+
<orderEntry type="library" scope="PROVIDED" name="reline (v0.3.1, ruby-2.6.8-p205) [gem]" level="application" />
|
71
|
+
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, ruby-2.6.8-p205) [gem]" level="application" />
|
72
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v1.29.1, ruby-2.6.8-p205) [gem]" level="application" />
|
73
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.18.0, ruby-2.6.8-p205) [gem]" level="application" />
|
74
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, ruby-2.6.8-p205) [gem]" level="application" />
|
75
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, ruby-2.6.8-p205) [gem]" level="application" />
|
57
76
|
</component>
|
58
77
|
<component name="RakeTasksCache">
|
59
78
|
<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.18)
|
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
|
-
sleep 10; gem install
|
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.19
|
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
|