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.
- data/lib/simple_gem/gem.rb +1 -1
- data/lib/simple_gem/version.rb +1 -1
- data/templates/feature_env.rb.erb +1 -5
- data/templates/test_helper.rb.erb +7 -1
- metadata +3 -4
data/lib/simple_gem/gem.rb
CHANGED
@@ -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
|
data/lib/simple_gem/version.rb
CHANGED
@@ -1,9 +1,5 @@
|
|
1
|
-
require 'test/
|
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
|
-
|
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.
|
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-
|
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.
|
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.
|