devu 0.1.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -2
- data/Gemfile.lock +25 -0
- data/README.md +12 -20
- data/devu-1.0.0.gem +0 -0
- data/devu.gemspec +5 -4
- data/lib/devu/version.rb +1 -1
- data/lib/devu.rb +4 -3
- metadata +24 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35af7e7109ca3ae8a388f075ab5a2de3f66f691372bed9b0f7102b70d8e24e40
|
4
|
+
data.tar.gz: 6fc1d4e6d77ccec69d4c5011a82f63acc6866a222e30d84f3e7643f247948f1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e824797477d74b5ed462f7e193c7d31abc63892d0a334e6696420ab36acd1720faa3d3616557b70558a8a1e2773c5602d21b2f9eb7ea51eeb6445c43b08a4e4e
|
7
|
+
data.tar.gz: bbefe5fe254cdf81da4895c1be7de01a28c9fe02f4a1a0e8b8273f47f1b6e3b75404141224f21af8895259b1162ade1b5986d050e88a598f925bfb0c7d85c493
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
devu (0.1.0)
|
5
|
+
thor
|
6
|
+
zeitwerk
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
minitest (5.22.3)
|
12
|
+
rake (13.2.1)
|
13
|
+
thor (1.3.1)
|
14
|
+
zeitwerk (2.6.13)
|
15
|
+
|
16
|
+
PLATFORMS
|
17
|
+
arm64-darwin-21
|
18
|
+
|
19
|
+
DEPENDENCIES
|
20
|
+
devu!
|
21
|
+
minitest (~> 5.0)
|
22
|
+
rake (~> 13.0)
|
23
|
+
|
24
|
+
BUNDLED WITH
|
25
|
+
2.4.10
|
data/README.md
CHANGED
@@ -1,34 +1,26 @@
|
|
1
1
|
# Devu
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/devu`. To experiment with that code, run `bin/console` for an interactive prompt.
|
3
|
+
DEVU Developer Utilities - useful shell functions.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
|
10
|
-
|
11
|
-
Install the gem and add to the application's Gemfile by executing:
|
7
|
+
This `1.0.0` release just includes a collection of shell functions defined in `bin/devu.sh`
|
12
8
|
|
13
|
-
|
9
|
+
Later version will create a more robust gem with executables and the power of Ruby, but for now it is just a shell script.
|
14
10
|
|
15
|
-
|
11
|
+
```
|
12
|
+
gem install devu
|
13
|
+
cp <install_dir>/bin/devu.sh ~/devu.sh
|
16
14
|
|
17
|
-
|
15
|
+
# In .bashrc, .zshrc, etc...
|
16
|
+
source ~/devu.sh
|
17
|
+
```
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
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
|
-
|
27
|
-
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).
|
28
|
-
|
29
|
-
## Contributing
|
30
|
-
|
31
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/devu.
|
21
|
+
```
|
22
|
+
$ devu # => output help and usage
|
23
|
+
```
|
32
24
|
|
33
25
|
## License
|
34
26
|
|
data/devu-1.0.0.gem
ADDED
Binary file
|
data/devu.gemspec
CHANGED
@@ -5,11 +5,12 @@ require_relative "lib/devu/version"
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "devu"
|
7
7
|
spec.version = Devu::VERSION
|
8
|
+
spec.platform = Gem::Platform::RUBY
|
8
9
|
spec.authors = ["Dan LeGrand"]
|
9
|
-
spec.email = ["dan.legrand@
|
10
|
+
spec.email = ["dan.legrand@proton.me"]
|
10
11
|
|
11
|
-
spec.summary = "
|
12
|
-
spec.description = "
|
12
|
+
spec.summary = "Utility scripts for developers"
|
13
|
+
spec.description = "DEVeloper Utilities (DEVU) is a collection of utility scripts written in Ruby to help developers."
|
13
14
|
spec.homepage = "https://github.com/dlegr250/devu"
|
14
15
|
spec.license = "MIT"
|
15
16
|
spec.required_ruby_version = ">= 2.6.0"
|
@@ -30,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
30
31
|
spec.require_paths = ["lib"]
|
31
32
|
|
32
33
|
# Uncomment to register a new dependency of your gem
|
33
|
-
|
34
|
+
spec.add_dependency "zeitwerk"
|
34
35
|
|
35
36
|
# For more information and examples about making a new gem, check out our
|
36
37
|
# guide at: https://bundler.io/guides/creating_gem.html
|
data/lib/devu/version.rb
CHANGED
data/lib/devu.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
# No more requiring files manually, Zeitwerk autoloads everything
|
4
|
+
require "zeitwerk"
|
5
|
+
loader = Zeitwerk::Loader.for_gem
|
6
|
+
loader.setup
|
4
7
|
|
5
8
|
module Devu
|
6
|
-
class Error < StandardError; end
|
7
|
-
# Your code goes here...
|
8
9
|
end
|
metadata
CHANGED
@@ -1,28 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan LeGrand
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
11
|
+
date: 2024-05-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: zeitwerk
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: DEVeloper Utilities (DEVU) is a collection of utility scripts written
|
28
|
+
in Ruby to help developers.
|
15
29
|
email:
|
16
|
-
- dan.legrand@
|
30
|
+
- dan.legrand@proton.me
|
17
31
|
executables: []
|
18
32
|
extensions: []
|
19
33
|
extra_rdoc_files: []
|
20
34
|
files:
|
21
35
|
- CHANGELOG.md
|
22
36
|
- Gemfile
|
37
|
+
- Gemfile.lock
|
23
38
|
- LICENSE.txt
|
24
39
|
- README.md
|
25
40
|
- Rakefile
|
41
|
+
- devu-1.0.0.gem
|
26
42
|
- devu.gemspec
|
27
43
|
- lib/devu.rb
|
28
44
|
- lib/devu/version.rb
|
@@ -49,9 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
65
|
- !ruby/object:Gem::Version
|
50
66
|
version: '0'
|
51
67
|
requirements: []
|
52
|
-
rubygems_version: 3.
|
68
|
+
rubygems_version: 3.5.10
|
53
69
|
signing_key:
|
54
70
|
specification_version: 4
|
55
|
-
summary:
|
56
|
-
to help developers.
|
71
|
+
summary: Utility scripts for developers
|
57
72
|
test_files: []
|