gemgen 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Gemgen
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/test/gemgen_test.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require 'test_helper'
2
2
  require 'gemgen/generator'
3
- require 'pry'
4
3
 
5
4
  module Gemgen
6
5
  class GemgenTest < MiniTest::Unit::TestCase
@@ -14,9 +13,10 @@ module Gemgen
14
13
  def test_that_minitest_unit_tests_runs
15
14
  gem_name = 'minitest_unit'
16
15
  Dir.chdir(tmp_dir) do |dir|
17
- @cli = Gemgen::Generator.new([gem_name])
16
+ @cli = Generator.new([gem_name])
18
17
  @cli.invoke_all
19
- assert(File.exist? 'minitest_test')
18
+
19
+ assert(File.exist? 'minitest_unit')
20
20
 
21
21
  Dir.chdir(gem_name) do
22
22
  output = `bundle exec rake`
@@ -28,7 +28,7 @@ module Gemgen
28
28
  def test_that_minitest_spec_tests_runs
29
29
  gem_name = 'minitest_spec'
30
30
  Dir.chdir(tmp_dir) do |dir|
31
- @cli = Gemgen::Generator.new([gem_name], :test_type => "spec")
31
+ @cli = Generator.new([gem_name], :test_type => "spec")
32
32
  @cli.invoke_all
33
33
  assert(File.exist? 'minitest_spec')
34
34
  Dir.chdir(gem_name) do
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: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
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-28 00:00:00 Z
18
+ date: 2012-08-29 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false