ditty_bag 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c242638408f49b5aa90fd71628cf43398bf901dfab87149d29d2d3a9f264e2df
4
+ data.tar.gz: 468825c1eb815ee28a4da574921ad20bb5db8e6041f7bbf1fb6e8c4c0c82f8fc
5
+ SHA512:
6
+ metadata.gz: a6c2386fe1fa2a679088e01fa85d7909ba4449159dc55a32f3bb4f5f3a96af925746212834b6fd19c15468d426a3c25dfc7360f89cbd9cb398164a423d4a4886
7
+ data.tar.gz: ea860ea1f4a06ca1ecc02ed6718a00ba37d533b449e350abcfa201301afbcdded1ce6803ed1536fbcdb7be292a2c2a7abb41a7578c2b40793267e87afba6616b
data/bin/console ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "ditty_bag"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ require "irb"
11
+ IRB.start(__FILE__)
data/bin/gem_info ADDED
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ spec = Gem::Specification.load('ditty_bag.gemspec')
4
+
5
+ puts '=' * 80
6
+
7
+ pp spec
8
+
9
+ puts '-' * 80
10
+
11
+ [
12
+ :files,
13
+ :bindir,
14
+ :executables,
15
+ ].each do |method|
16
+ puts '%s = %s' % [
17
+ method.to_s.ljust(12),
18
+ spec.send(method).inspect,
19
+ ]
20
+ end
21
+
22
+ puts '=' * 80
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/changelog.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.0.1] - 2025-07-27
4
+
5
+ - Initial release
data/ditty_bag.gemspec ADDED
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/ditty_bag/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'ditty_bag'
7
+ spec.version = DittyBag::VERSION
8
+ spec.authors = ['Travis Herrick']
9
+ spec.email = ['tthetoad@gmail.com']
10
+
11
+ spec.summary = 'A collection of useful tools.'
12
+ spec.description = 'A collection of useful tools'
13
+ spec.homepage = 'https://github.com/toadjamb/ditty_bag'
14
+ spec.required_ruby_version = '>= 2.6.0'
15
+
16
+ spec.metadata['homepage_uri'] = spec.homepage
17
+ spec.metadata['source_code_uri'] = 'https://github.com/toadjamb/ditty_bag'
18
+
19
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
+ Dir['lib/**/*.*'] + Dir['bin/*'] + Dir['*'].reject do |path|
21
+ path.match(/gemfile/i)
22
+ end.reject{|path| File.directory?(path)}
23
+ end
24
+
25
+ spec.bindir = 'bin'
26
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
27
+ spec.require_paths = ['lib']
28
+
29
+ spec.add_dependency 'snagglepuss'
30
+ spec.add_dependency 'color_me_rad'
31
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DittyBag
4
+ VERSION = '0.0.1'
5
+ end
data/lib/ditty_bag.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'ditty_bag/version'
4
+
5
+ module DittyBag
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
data/rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/readme.md ADDED
@@ -0,0 +1,31 @@
1
+ # DittyBag
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/ditty_bag`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
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:
12
+
13
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by executing:
16
+
17
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
18
+
19
+ ## Usage
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 spec` 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]/ditty_bag.
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ditty_bag
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Travis Herrick
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2025-07-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: snagglepuss
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
+ - !ruby/object:Gem::Dependency
28
+ name: color_me_rad
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: A collection of useful tools
42
+ email:
43
+ - tthetoad@gmail.com
44
+ executables:
45
+ - console
46
+ - gem_info
47
+ - setup
48
+ extensions: []
49
+ extra_rdoc_files: []
50
+ files:
51
+ - bin/console
52
+ - bin/gem_info
53
+ - bin/setup
54
+ - changelog.md
55
+ - ditty_bag.gemspec
56
+ - lib/ditty_bag.rb
57
+ - lib/ditty_bag/version.rb
58
+ - rakefile
59
+ - readme.md
60
+ homepage: https://github.com/toadjamb/ditty_bag
61
+ licenses: []
62
+ metadata:
63
+ homepage_uri: https://github.com/toadjamb/ditty_bag
64
+ source_code_uri: https://github.com/toadjamb/ditty_bag
65
+ post_install_message:
66
+ rdoc_options: []
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 2.6.0
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ requirements: []
80
+ rubygems_version: 3.3.3
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: A collection of useful tools.
84
+ test_files: []