devu 0.1.0 → 1.0.0

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: 6afe573caf73b9f1c6bf606794acb22765fbb33fb68fcaf93ecbecc9bb0db7f3
4
- data.tar.gz: 0fe3977e572ca0619ba176199ef0a88abfb0e35b7d5e8e9fb2927bd3d5e2377f
3
+ metadata.gz: d40def899e685dee3c037307e7ee92ab95307d740467b316a640f8d598080bb8
4
+ data.tar.gz: ee1f0612f9d997489de26a8fe77087b8583fd3950d9d76ce2523676cd22f4dde
5
5
  SHA512:
6
- metadata.gz: 16ac377ee2800eaa4774dbe6c20d5e0241910209aaa09af3f8cee78765f0950cb67c82058ddf9e22113d3cb9aeaad638c1685b6d17352dc3f22aa7bb52db5d65
7
- data.tar.gz: 00ce533dd10030e68c86663d8fab76a725ae76d2532feec5f10786b09c71eb1224f93894f7cbee85a31fa39035a717f9f27eb54c0e38a1888eba759f8e952b7c
6
+ metadata.gz: db7c0af4a6be42a44eb95c0c29ab033936e71e806343bdfb0d9e00faddfcd094e111d8368a94fb5f9ba5158def3474910387c869c9dd3ba90f2dc79a8080d45c
7
+ data.tar.gz: d7289f8fc932f50bd752c44e3239f14fe58dd2aa685141eb4d8a1e4ffe9ec57825f00af61aa92c87741b7a55f41d42644a62ef8a098f9de50f0629762d629494
data/Gemfile CHANGED
@@ -5,6 +5,5 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in devu.gemspec
6
6
  gemspec
7
7
 
8
- gem "rake", "~> 13.0"
9
-
10
8
  gem "minitest", "~> 5.0"
9
+ gem "rake", "~> 13.0"
data/README.md CHANGED
@@ -1,34 +1,26 @@
1
1
  # Devu
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
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
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
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
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
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
- If bundler is not being used to manage dependencies, install the gem by executing:
11
+ ```
12
+ gem install devu
13
+ cp <install_dir>/bin/devu.sh ~/devu.sh
16
14
 
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
15
+ # In .bashrc, .zshrc, etc...
16
+ source ~/devu.sh
17
+ ```
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
22
-
23
- ## Development
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@gmail.com"]
10
+ spec.email = ["dan.legrand@proton.me"]
10
11
 
11
- spec.summary = "Develper Utilities (DEVU) is a collection of utility scripts written in Ruby to help developers."
12
- spec.description = "Includes utilities for working with git, creating issues, linting, and more. Extendable with custom commands and conventions for aliases."
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
- # spec.add_dependency "example-gem", "~> 1.0"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Devu
4
- VERSION = "0.1.0"
4
+ VERSION = "1.0.0"
5
5
  end
data/lib/devu.rb CHANGED
@@ -1,8 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "devu/version"
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: 0.1.0
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-06 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Includes utilities for working with git, creating issues, linting, and
14
- more. Extendable with custom commands and conventions for aliases.
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@gmail.com
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.4.10
66
+ rubygems_version: 3.5.10
53
67
  signing_key:
54
68
  specification_version: 4
55
- summary: Develper Utilities (DEVU) is a collection of utility scripts written in Ruby
56
- to help developers.
69
+ summary: Utility scripts for developers
57
70
  test_files: []