sherry 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,31 @@
1
1
  h1. Sherry?
2
2
 
3
- The proper response to this is always "Rather." Therefore, this gem, when loaded, attaches the method @sherry?@ to all objects. It will always return the string "Rather."
3
+ The proper response to this is always "Rather." Therefore, this gem, when loaded, attaches the method @sherry?@ and @alfred?@ to all objects. @sherry?@ will always return the string "Rather." @alfred?@ will always return the string "Yes, m'lord?"
4
+
5
+ h2. Install
6
+
7
+ bc. gem install sherry
8
+
9
+ or in your Gemfile:
10
+
11
+ bc. gem 'sherry'
12
+
13
+ h2. Usage
14
+
15
+ bc. irb> require 'sherry'
16
+ => true
17
+
18
+ bc. irb> Object.sherry?
19
+ => "Rather."
20
+
21
+ bc. irb> Object.alfred?
22
+ => "Yes, m'lord?"
4
23
 
5
24
  h2. Acknowledgements
6
25
 
7
- Written by: Bradley Grzesiak of "Bendyworks":http://bendyworks.com
26
+ Written by: "Bradley Grzesiak":http://github.com/listrophy and "Devin Walters":http://github.com/devn of "Bendyworks":http://bendyworks.com
8
27
 
9
28
  Inspired by a night after RailsConf 2011 with:
10
- * "Devin Walters":http://github.com/devn
11
29
  * "Jason Stirk":http://github.com/jstirk
12
30
  * "Mark Glossop":http://github.com/Cueball
13
31
  * "Mikel Lindsaar":http://github.com/mikel
@@ -2,4 +2,8 @@ module Kernel
2
2
  def sherry?
3
3
  "Rather."
4
4
  end
5
+
6
+ def alfred?
7
+ "Yes, m'lord?"
8
+ end
5
9
  end
@@ -1,3 +1,3 @@
1
1
  module Sherry
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -5,3 +5,9 @@ describe 'the proper response to sherry?' do
5
5
  sherry?.should == 'Rather.'
6
6
  end
7
7
  end
8
+
9
+ describe 'the help' do
10
+ it 'always replies courteously' do
11
+ alfred?.should == "Yes, m'lord?"
12
+ end
13
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sherry
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bradley Grzesiak