gemgen 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -18,7 +18,8 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ $ gemgen gem_name
22
+
22
23
 
23
24
  ## Contributing
24
25
 
@@ -62,11 +62,14 @@ EOF
62
62
  create_file test_path + "#{gem_name}_#{test}.rb" do
63
63
  str = <<EOF
64
64
  require '#{File.basename(helper_file, ".rb")}'
65
- class #{module_name}Test < MiniTest::Unit::TestCase
66
- def test_truth
67
- assert true
68
- end
69
- end
65
+
66
+ module #{module_name}
67
+ class #{module_name}Test < MiniTest::Unit::TestCase
68
+ def test_truth
69
+ assert true
70
+ end
71
+ end
72
+ end
70
73
  EOF
71
74
  end
72
75
  commit("Create test scaffold file")
@@ -1,3 +1,3 @@
1
1
  module Gemgen
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemgen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Martin Chabot
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-27 00:00:00 Z
18
+ date: 2012-08-28 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false