kelredd-simple-gem 0.5.1 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -25,6 +25,13 @@ Your new gem provides some Rake tasks for convenience:
25
25
 
26
26
  That's it. Enjoy.
27
27
 
28
+ == Acceptance Testing
29
+
30
+ # clone this repo
31
+ $ gem install jeremymcanally-context
32
+ $ gem install mhennemeyer-matchy
33
+ $ rake test
34
+
28
35
  == Credit
29
36
  Many thanks to Patrick Reagan (mailto:reaganpr@gmail.com) who is the original author of this gem. The source and credit is largely his. I simply forked his source on Github and extended it for my purposes. The original source can be found here: http://github.com/reagent/simple-gem/tree/master.
30
37
 
@@ -3,7 +3,7 @@ module SimpleGem
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 5
6
- TINY = 1
6
+ TINY = 3
7
7
 
8
8
  def self.to_s
9
9
  [MAJOR, MINOR, TINY].join('.')
@@ -1,6 +1,9 @@
1
1
  require 'test/unit/assertions'
2
2
  World(Test::Unit::Assertions)
3
3
 
4
- require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'lib', '<%= self.ruby_name %>.rb'))
4
+ lib_path = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'lib'))
5
+ $LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
6
+ require '<%= self.ruby_name %>'
7
+
5
8
 
6
9
  # TODO: setup your feature environment here
data/templates/lib.rb.erb CHANGED
@@ -1,3 +1 @@
1
- $:.unshift File.dirname(__FILE__)
2
-
3
1
  # require '<%= self.ruby_name %>/...'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-simple-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding (and Patrick Reagan)
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-29 00:00:00 -07:00
12
+ date: 2009-09-02 00:00:00 -07:00
13
13
  default_executable: simple-gem
14
14
  dependencies: []
15
15