jesus_christ 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7b8c9cc34e201526cfd1eed5955ccdcbf59ea6582b849117a0d2b084dc7abca
4
- data.tar.gz: fa4c4d0fef029ccae9592ede92238e77318d5d6ed590a712118ece15e9315d24
3
+ metadata.gz: b55680152eac73deb37f7d7e52e9c3a6b079bb86c530db4cbb058cc758785474
4
+ data.tar.gz: f5c08cd73df4247399acf766f8d472edeb302b510229ee96a7e1a3c9e0b921d8
5
5
  SHA512:
6
- metadata.gz: 2dc486eef7be8bd038aeff9fe7900f934991a881a6917e9a71f4dd6971bd2ed2a1e0df9f8df2caadfcc54f7b29dfc48af90a1a081cc3fe20def301f6cd8933ea
7
- data.tar.gz: c0a81d04e70a818199c0b4ca9eac0f8d49733d01377ce0a7f28d77235cd722740f0df2833c4cf79b15992442a1c361ec87f0e33ef1c604deb596f8e4d65f78e4
6
+ metadata.gz: 5c66dbfee0f568422e7cc5ab181ea2f109bb76773d62c7bd515ba9a68dee1d9ae1326cb54795a413bf2a340f64f0c3f4959f682ca2afcbd3241720760935e8ce
7
+ data.tar.gz: 301613b22fe8681d99ef7095f1b290557c08ce309d10f04373e8bba84b66bf3899c41ba83c06abfef307c738a467dc8f98a4e665a9349e350a7d16d9d47b2f28
data/README.md CHANGED
@@ -1,35 +1,63 @@
1
1
  # JesusChrist
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
3
+ > *"This code is protected by Jesus Christ."*
4
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/jesus_christ`. To experiment with that code, run `bin/console` for an interactive prompt.
5
+ Provides prayers, scripture blessings, and spiritual protection helpers for Ruby and Ruby on Rails applications.
6
6
 
7
7
  ## Installation
8
8
 
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_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.
9
+ Add this line to your application's `Gemfile`:
10
10
 
11
- Install the gem and add to the application's Gemfile by executing:
11
+ ```ruby
12
+ gem "jesus_christ"
13
+ ```
14
+
15
+ And then execute:
12
16
 
13
17
  ```bash
14
- bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+ bundle install
15
19
  ```
16
20
 
17
- If bundler is not being used to manage dependencies, install the gem by executing:
21
+ Or install it directly:
18
22
 
19
23
  ```bash
20
- gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
24
+ gem install jesus_christ
21
25
  ```
22
26
 
23
27
  ## Usage
24
28
 
25
- TODO: Write usage instructions here
29
+ ### Protection & Exception Handling
30
+ ```ruby
31
+ require "jesus_christ"
32
+
33
+ # Print the protection banner
34
+ JesusChrist.protect!
26
35
 
27
- ## Development
36
+ # Wrap risky code blocks
37
+ JesusChrist.take_the_wheel do
38
+ # risky operation
39
+ end
40
+ ```
28
41
 
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
42
+ ### Prayers & Blessings
43
+ ```ruby
44
+ JesusChrist.pray # Code, database, and anti-evil protection prayer
45
+ JesusChrist.lords_prayer # The Lord's Prayer (Matthew 6:9-13)
46
+ JesusChrist.apostles_creed # The Apostles' Creed
47
+ JesusChrist.thanksgiving # Jesus' thanksgiving prayers in the Gospels
48
+ JesusChrist.prayers_on_the_cross # Jesus' three prayers from the cross
49
+ JesusChrist.gethsemane # The Prayer in Gethsemane (Matthew 26:39)
50
+ JesusChrist.high_priestly_prayer # The High Priestly Prayer (John 17)
51
+ JesusChrist.pray_all # Run every prayer and blessing in sequence
52
+ ```
30
53
 
31
- 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).
54
+ ### Rails Auto-Startup
55
+ Create `config/initializers/jesus_christ.rb`:
56
+ ```ruby
57
+ JesusChrist.protect!
58
+ JesusChrist.pray
59
+ ```
32
60
 
33
- ## Contributing
61
+ ## License
34
62
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jesus_christ.
63
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JesusChrist
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/jesus_christ.rb CHANGED
@@ -15,6 +15,28 @@ require_relative "jesus_christ/version"
15
15
  module JesusChrist
16
16
  class Error < StandardError; end
17
17
 
18
+ def self.help
19
+ puts <<~HELP
20
+ ✝ JesusChrist Gem (v#{VERSION}) — Available Methods:
21
+
22
+ Protection & Helpers:
23
+ JesusChrist.protect! # Print the protection banner
24
+ JesusChrist.take_the_wheel { } # Rescue and forgive StandardErrors in a block
25
+ JesusChrist.help # Show this help message
26
+
27
+ Prayers & Scripture:
28
+ JesusChrist.pray # Code, database, and anti-evil prayer
29
+ JesusChrist.lords_prayer # The Lord's Prayer (Matthew 6:9-13)
30
+ JesusChrist.apostles_creed # The Apostles' Creed
31
+ JesusChrist.thanksgiving # Jesus' thanksgiving blessings
32
+ JesusChrist.prayers_on_the_cross # Prayers spoken on the cross
33
+ JesusChrist.gethsemane # The Prayer in Gethsemane
34
+ JesusChrist.high_priestly_prayer # The High Priestly Prayer (John 17)
35
+ JesusChrist.pray_all # Pray all prayers in sequence (alias: bless_all)
36
+ HELP
37
+ end
38
+
39
+
18
40
  def self.protect!
19
41
  puts "✝ This code is now protected by Jesus Christ. Heavenly Father, I come to you in the name of Jesus, acknowledging your power and sovereignty. I pray for your divine protection over me and my loved ones. Surround us with your angels and create a hedge of safety around us. Guard us from harm, both seen and unseen, and keep us secure in your loving care. I trust in your promise that no weapon formed against us shall prosper. In Jesus' name, I pray. Amen."
20
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jesus_christ
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fewer Cards