sherry 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use 1.9.2@sherry
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in sherry.gemspec
4
+ gemspec
@@ -0,0 +1,14 @@
1
+ h1. Sherry?
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."
4
+
5
+ h2. Acknowledgements
6
+
7
+ Written by: Bradley Grzesiak of "Bendyworks":http://bendyworks.com
8
+
9
+ Inspired by a night after RailsConf 2011 with:
10
+ * "Devin Walters":http://github.com/devn
11
+ * "Jason Stirk":http://github.com/jstirk
12
+ * "Mark Glossop":http://github.com/Cueball
13
+ * "Mikel Lindsaar":http://github.com/mikel
14
+ * "Ryan Bigg":http://github.com/radar
@@ -0,0 +1,9 @@
1
+ require 'bundler'
2
+ require 'rspec/core/rake_task'
3
+
4
+ Bundler::GemHelper.install_tasks
5
+
6
+ desc 'Run RSpec'
7
+ RSpec::Core::RakeTask.new
8
+
9
+ task :default => :spec
@@ -0,0 +1,5 @@
1
+ module Kernel
2
+ def sherry?
3
+ "Rather."
4
+ end
5
+ end
@@ -0,0 +1 @@
1
+ require 'core_ext/kernel'
@@ -0,0 +1,3 @@
1
+ module Sherry
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "sherry/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "sherry"
7
+ s.version = Sherry::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Bradley Grzesiak"]
10
+ s.email = ["brad@bendyworks.com"]
11
+ s.homepage = ""
12
+ s.summary = %q{Add a little class to your ruby environment}
13
+ s.description = %q{Monkey-patches Kernel to respond to ".sherry?" with "Rather."}
14
+
15
+ s.rubyforge_project = "sherry"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+
22
+ s.add_development_dependency('rspec')
23
+ end
@@ -0,0 +1,7 @@
1
+ require 'sherry'
2
+
3
+ describe 'the proper response to sherry?' do
4
+ it 'is always "Rather."' do
5
+ sherry?.should == 'Rather.'
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sherry
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Bradley Grzesiak
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-05-20 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rspec
17
+ prerelease: false
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ type: :development
25
+ version_requirements: *id001
26
+ description: Monkey-patches Kernel to respond to ".sherry?" with "Rather."
27
+ email:
28
+ - brad@bendyworks.com
29
+ executables: []
30
+
31
+ extensions: []
32
+
33
+ extra_rdoc_files: []
34
+
35
+ files:
36
+ - .gitignore
37
+ - .rvmrc
38
+ - Gemfile
39
+ - README.textile
40
+ - Rakefile
41
+ - lib/core_ext/kernel.rb
42
+ - lib/sherry.rb
43
+ - lib/sherry/version.rb
44
+ - sherry.gemspec
45
+ - spec/sherry_spec.rb
46
+ homepage: ""
47
+ licenses: []
48
+
49
+ post_install_message:
50
+ rdoc_options: []
51
+
52
+ require_paths:
53
+ - lib
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: "0"
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: "0"
66
+ requirements: []
67
+
68
+ rubyforge_project: sherry
69
+ rubygems_version: 1.8.3
70
+ signing_key:
71
+ specification_version: 3
72
+ summary: Add a little class to your ruby environment
73
+ test_files:
74
+ - spec/sherry_spec.rb