groundhog 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +8 -2
  2. data/lib/groundhog.rb +2 -0
  3. metadata +1 -1
data/README.md CHANGED
@@ -4,9 +4,15 @@
4
4
 
5
5
  A nice, little loop for rails console to keep your destructive changes in a transaction.
6
6
 
7
- Use it like this:
7
+ ### Get it
8
+
9
+ gem install groundhog
10
+
11
+ Or add <code>gem 'groundhog'</code> to your Gemfile.
12
+
13
+ ### Use it
8
14
 
9
15
  1. In a console, type <code>Groundhog.day</code> to start the loop.
10
16
  2. Go nuts! There are _literally_ no consequences to your actions.
11
- 3. Press <code>^D</code> to end it all wake up in your comfy bed.
17
+ 3. Press <code>^D</code> to end it all and wake up in your comfy bed.
12
18
  4. Quickly press <code>^D ^C</code> to get out of Punxsutawney and back to your normal life.
data/lib/groundhog.rb CHANGED
@@ -7,6 +7,8 @@
7
7
  # 3. Press ^D to end it all wake up in your comfy bed.
8
8
  # 4. Quickly press ^D ^C to get out of Punxsutawney and back to your normal life.
9
9
 
10
+ require 'pry'
11
+
10
12
  class Groundhog
11
13
  def self.day
12
14
  puts "\nOkay, campers, rise and shine, and don't forget your booties 'cause it's cooooold out there today!"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groundhog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: