kelredd-simple-gem 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,7 +47,7 @@ module SimpleGem
47
47
  end
48
48
 
49
49
  def generate_subdirectories
50
- ["lib/#{self.ruby_name}", 'test/unit', 'test/features/step_definitions/support'].each do |dir|
50
+ ["lib/#{self.ruby_name}", 'test/unit', 'test/support', 'test/features/step_definitions/support'].each do |dir|
51
51
  FileUtils.mkdir_p("#{self.root_path}/#{self.name}/#{dir}")
52
52
  end
53
53
  end
@@ -3,7 +3,7 @@ module SimpleGem
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 5
6
- TINY = 3
6
+ TINY = 4
7
7
 
8
8
  def self.to_s
9
9
  [MAJOR, MINOR, TINY].join('.')
@@ -1,9 +1,5 @@
1
- require 'test/unit/assertions'
1
+ require 'test/test_helper'
2
2
  World(Test::Unit::Assertions)
3
3
 
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
-
8
4
 
9
5
  # TODO: setup your feature environment here
@@ -2,5 +2,11 @@
2
2
  $:.reject! { |e| e.include? 'TextMate' }
3
3
 
4
4
  require 'rubygems'
5
+ require 'test/unit'
6
+ require 'shoulda'
5
7
 
6
- require File.dirname(__FILE__) + '/../lib/<%= self.ruby_name %>'
8
+ lib_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
9
+ $LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
10
+ require '<%= self.ruby_name %>'
11
+
12
+ # TODO: setup your test environment here
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.3
4
+ version: 0.5.4
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-09-02 00:00:00 -07:00
12
+ date: 2009-09-03 00:00:00 -07:00
13
13
  default_executable: simple-gem
14
14
  dependencies: []
15
15
 
@@ -41,7 +41,6 @@ files:
41
41
  - bin/simple-gem
42
42
  has_rdoc: false
43
43
  homepage: http://github.com/kelredd/simple-gem
44
- licenses:
45
44
  post_install_message:
46
45
  rdoc_options:
47
46
  - --main
@@ -63,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
62
  requirements: []
64
63
 
65
64
  rubyforge_project:
66
- rubygems_version: 1.3.5
65
+ rubygems_version: 1.2.0
67
66
  signing_key:
68
67
  specification_version: 3
69
68
  summary: A gem to help quickly generate a ruby gem project ready to build, test, and deploy.