promptcraft 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/exe/promptcraft +3 -0
- data/lib/promptcraft/version.rb +1 -1
- data/lib/tasks/release.rake +6 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03ceb8ec85a855e2bc5fd2e23983c7a975dca780e4f449a70742c7451fc0d7f3
|
4
|
+
data.tar.gz: 937d12936d5c7349f4d3f1596c579d7b2c5065760f937e7627ac4b59db5d75fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36d690630e1383037a2273a3e9cf7c18914e313c36b25d3f26f00b42af63e732980011b3f19e2045a0b2b710e4023b445db3540ab78992eb74130de14d50a6bc
|
7
|
+
data.tar.gz: 9f81ce9b1e40fb93e24b85fe16ff9fabfc6d1cf93ee961e552365f6d24aaa34ab346b8a7a32ab4724feb80ac716c93ef569df1af3a4a17e3b7c688e5e0ab463c
|
data/README.md
CHANGED
@@ -517,7 +517,11 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
517
517
|
To set new version number:
|
518
518
|
|
519
519
|
```plain
|
520
|
+
gem install gem-release
|
520
521
|
gem bump --version [patch|minor|major]
|
522
|
+
bundle install
|
523
|
+
git add Gemfile.lock; git commit --amend --no-edit
|
524
|
+
git push
|
521
525
|
```
|
522
526
|
|
523
527
|
To tag and release Rubygem to <Rubygems.org>:
|
@@ -536,6 +540,13 @@ rake release:generate_homebrew_formula
|
|
536
540
|
|
537
541
|
Now copy `tmp/promptcraft.rb` formula into <https://github.com/drnic/homebrew-ai> and push.
|
538
542
|
|
543
|
+
```plain
|
544
|
+
git clone https://github.com/drnic/homebrew-ai tmp/homebrew-ai
|
545
|
+
cp tmp/promptcraft.rb tmp/homebrew-ai
|
546
|
+
( cd tmp/homebrew-ai; git add .; gca -m "Bump promptcraft"; git push )
|
547
|
+
rm -rf tmp/homebrew-ai
|
548
|
+
```
|
549
|
+
|
539
550
|
## Contributing
|
540
551
|
|
541
552
|
Bug reports and pull requests are welcome on GitHub at https://github.com/drnic/promptcraft. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/drnic/promptcraft/blob/develop/CODE_OF_CONDUCT.md).
|
data/exe/promptcraft
CHANGED
data/lib/promptcraft/version.rb
CHANGED
data/lib/tasks/release.rake
CHANGED
@@ -45,13 +45,16 @@ namespace :release do
|
|
45
45
|
url "#{url}"
|
46
46
|
sha256 "#{sha256sum}"
|
47
47
|
|
48
|
-
depends_on "ruby
|
48
|
+
depends_on "ruby"
|
49
49
|
|
50
50
|
def install
|
51
|
+
ENV["GEM_HOME"] = libexec
|
52
|
+
|
51
53
|
# Extract all files to libexec, which is a common Homebrew practice for third-party tools
|
52
54
|
libexec.install Dir["*"]
|
53
|
-
|
54
|
-
bin.
|
55
|
+
|
56
|
+
bin.install libexec/"exe/promptcraft"
|
57
|
+
bin.env_script_all_files(libexec/"bin", GEM_HOME: ENV.fetch("GEM_HOME"))
|
55
58
|
end
|
56
59
|
|
57
60
|
test do
|