donsgem 1.0.0 → 1.0.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/lib/donsgem.rb +4 -2
  2. data/lib/donsgem/turdpile.rb +10 -0
  3. metadata +4 -3
data/lib/donsgem.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  class DonsGem
2
- def self.hi
3
- puts "This is Don's gem!"
2
+ def self.hi(somethingorother)
3
+ turdpile = TurdPile.new(somethingorother)
4
4
  end
5
5
  end
6
+
7
+ require 'donsgem/turdpile'
@@ -0,0 +1,10 @@
1
+ class DonsGem::TurdPile
2
+ def initialize(somethingorother)
3
+ @somethingorother = somethingorother
4
+ maker
5
+ end
6
+
7
+ def maker
8
+ puts "Congratulations, you are the owner of a steaming pile of " + @somethingorother.to_s
9
+ end
10
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: donsgem
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Don Pflaster
@@ -28,6 +28,7 @@ extra_rdoc_files: []
28
28
 
29
29
  files:
30
30
  - lib/donsgem.rb
31
+ - lib/donsgem/turdpile.rb
31
32
  homepage: http://rubygems.org/gems/donsgem
32
33
  licenses: []
33
34