crafties 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4179136a176d6ef14e2381d288ff9eef44c7782a9b2ae2902eb5a1e437ecd81f
4
- data.tar.gz: 2145ba53eeb7213b6887afb7906c85b1540518803f486dce3a04a36987accfb7
3
+ metadata.gz: e34689d94993b68c43de9ca29db725b279141fac2386a5a03cd86b24147198c3
4
+ data.tar.gz: 0c9c6dd98bd2e98d13d1e2edb3b665f4567dfd572c0476bf4c431abda1818a1f
5
5
  SHA512:
6
- metadata.gz: 959005f908effaccc792984d1d46ac27574c514989feb17fc07aefca5dd84fc1c0c03fff31caa65dd112bc1131aac6031a4a350f22431a65b0e0e9aaff0491f2
7
- data.tar.gz: cea7d3daa72aca505b1941beda5d8208a9f3061114cb1d54425cdfa6293c65338b22ad3ff5b4abfa631b4e04ff88a854ec8e96a27eba7a7bcad33a4840ec34f2
6
+ metadata.gz: 4267fd5f6f4a609ff67c5d4f3e8bb4c830e4252cb602e78dd94322c6b2c0be0e70ac273d4ee20dd66b6686791b88fb62be80aec7b3b36bccc306b4e708064fd1
7
+ data.tar.gz: ace5d137d113d8c89ab88f4d8886114c0f88bb623e4e586fcbc31fbfb12ae1192020d0a84b691f04fd46119618948f7f21ac3a368c1aaadbddf168d9ff717739
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.0] - 2025-09-01
4
+
5
+ - Fix file reference
6
+
3
7
  ## [0.1.0] - 2025-09-01
4
8
 
5
9
  - Initial release
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Crafties
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/crafties`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ A Ruby gem to get Guitar Craft aphorisms.
6
4
 
7
5
  ## Installation
8
6
 
@@ -11,18 +9,24 @@ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_O
11
9
  Install the gem and add to the application's Gemfile by executing:
12
10
 
13
11
  ```bash
14
- bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
12
+ bundle add crafties
15
13
  ```
16
14
 
17
15
  If bundler is not being used to manage dependencies, install the gem by executing:
18
16
 
19
17
  ```bash
20
- gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+ gem install crafties
21
19
  ```
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ To get a random Guitar Craft aphorism, simply run:
24
+
25
+ ```bash
26
+ crafty
27
+ ```
28
+
29
+ This will display an aphorism.
26
30
 
27
31
  ## Development
28
32
 
data/aphorisms.yml CHANGED
@@ -229,9 +229,10 @@
229
229
  In mass culture, the musician addresses the lower parts of what we are.
230
230
  In popular culture, our musicians sing to us in our own voice.
231
231
  In mass culture they shout what we want to hear.
232
- - "In strange and uncertain times, sometimes a reasonable person might despair. \n
233
- \ But Hope is unreasonable.\n And Love is greater even
234
- than this."
232
+ - |-
233
+ - In strange and uncertain times, sometimes a reasonable person might despair.
234
+ But Hope is unreasonable.
235
+ And Love is greater even than this.
235
236
  - |-
236
237
  Intention determines the orientation.
237
238
  Commitment maintains the direction.
@@ -251,8 +252,9 @@
251
252
  of our life.
252
253
  - It is a folly to expect an open door to remain open forever.
253
254
  - It is difficult to exaggerate the power of habit.
255
+ - |-
254
256
  - It is necessary to know the next step;
255
- - but not the step after that.
257
+ but not the step after that.
256
258
  - |-
257
259
  It is not asked of us that we never fall.
258
260
  It is asked of us that we always get up.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Crafties
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/crafties.rb CHANGED
@@ -4,7 +4,7 @@ require_relative "crafties/version"
4
4
  require "yaml"
5
5
 
6
6
  module Crafties
7
- APHORISMS = YAML.load_file("aphorisms.yml")
7
+ APHORISMS = YAML.load_file(File.join(__dir__, "..", "aphorisms.yml"))
8
8
 
9
9
  def self.aphorism
10
10
  APHORISMS.sample
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crafties
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Rzezak
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.7.0
65
+ rubygems_version: 3.7.1
66
66
  specification_version: 4
67
67
  summary: Get a Guitar Craft aphorism.
68
68
  test_files: []