sprout 1.0.24.pre → 1.0.25.pre

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sprout might be problematic. Click here for more details.

@@ -4,7 +4,7 @@ module Sprout
4
4
 
5
5
  ##
6
6
  # The 3-part version for the new Ruby application.
7
- add_param :version, String, { :default => '0.0.pre' }
7
+ add_param :version, String, { :default => '0.0.0.pre' }
8
8
 
9
9
  ##
10
10
  # The name of the 'lib' directory - where your Ruby
@@ -4,7 +4,7 @@ gem 'sprout', '>= 1.0.0.pre'
4
4
 
5
5
  group :development do
6
6
  gem 'rake'
7
- gem "shoulda"
8
- gem "mocha"
7
+ gem 'shoulda'
8
+ gem 'mocha'
9
9
  end
10
10
 
@@ -6,7 +6,7 @@ module Sprout
6
6
  module VERSION #:nodoc:
7
7
  MAJOR = 1
8
8
  MINOR = 0
9
- TINY = 24
9
+ TINY = 25
10
10
  RELEASE = 'pre'
11
11
 
12
12
  STRING = [MAJOR, MINOR, TINY, RELEASE].join('.')
@@ -53,7 +53,7 @@ class GeneratorGeneratorTest < Test::Unit::TestCase
53
53
  templates_dir = File.join(generators_dir, 'templates')
54
54
  assert_directory templates_dir
55
55
 
56
- template_file = File.join(templates_dir, 'fwee.as')
56
+ template_file = File.join(templates_dir, 'Fwee.as')
57
57
  assert_file template_file
58
58
 
59
59
  bin_dir = File.join(@temp, 'bin')
@@ -24,12 +24,12 @@ class LibraryGeneratorTest < Test::Unit::TestCase
24
24
  @generator.version = '4.2.pre'
25
25
  @generator.execute
26
26
 
27
- assert_file @temp
28
27
  assert_file File.join(@temp, 'flexunit.gemspec') do |content|
29
28
  assert_matches /s.name\s+= Flexunit::NAME/, content
30
29
  assert_matches /s.version\s+= Flexunit::VERSION/, content
31
30
  assert_matches /s.author\s+= "Your Name"/, content
32
31
  end
32
+
33
33
  assert_file File.join(@temp, 'flexunit.rb') do |content|
34
34
  assert_matches /NAME\s+= 'flexunit'/, content
35
35
  assert_matches /VERSION\s+= '4.2.pre'/, content
@@ -21,7 +21,6 @@ class Test::Unit::TestCase
21
21
  # Only clear registrations in the Sprout core
22
22
  # project - not in child projects
23
23
  def teardown
24
- super
25
24
  Sprout::Executable.clear_entities!
26
25
  Sprout::Library.clear_entities!
27
26
  Sprout::Generator.clear_entities!
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout
3
3
  version: !ruby/object:Gem::Version
4
- hash: -878182139
4
+ hash: -1998136109
5
5
  prerelease: true
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 24
9
+ - 25
10
10
  - pre
11
- version: 1.0.24.pre
11
+ version: 1.0.25.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Luke Bayes
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-07-09 00:00:00 -07:00
19
+ date: 2010-07-19 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency