devu 0.1.0 → 1.0.0
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 +4 -4
- data/Gemfile +1 -2
- data/README.md +12 -20
- data/devu.gemspec +5 -4
- data/lib/devu/version.rb +1 -1
- data/lib/devu.rb +4 -3
- metadata +22 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d40def899e685dee3c037307e7ee92ab95307d740467b316a640f8d598080bb8
|
|
4
|
+
data.tar.gz: ee1f0612f9d997489de26a8fe77087b8583fd3950d9d76ce2523676cd22f4dde
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db7c0af4a6be42a44eb95c0c29ab033936e71e806343bdfb0d9e00faddfcd094e111d8368a94fb5f9ba5158def3474910387c869c9dd3ba90f2dc79a8080d45c
|
|
7
|
+
data.tar.gz: d7289f8fc932f50bd752c44e3239f14fe58dd2aa685141eb4d8a1e4ffe9ec57825f00af61aa92c87741b7a55f41d42644a62ef8a098f9de50f0629762d629494
|
data/Gemfile
CHANGED
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.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,19 +1,33 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.0.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: []
|
|
@@ -49,9 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
49
63
|
- !ruby/object:Gem::Version
|
|
50
64
|
version: '0'
|
|
51
65
|
requirements: []
|
|
52
|
-
rubygems_version: 3.
|
|
66
|
+
rubygems_version: 3.5.10
|
|
53
67
|
signing_key:
|
|
54
68
|
specification_version: 4
|
|
55
|
-
summary:
|
|
56
|
-
to help developers.
|
|
69
|
+
summary: Utility scripts for developers
|
|
57
70
|
test_files: []
|