sprout 0.3.36 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/platform.rb CHANGED
@@ -62,7 +62,7 @@ module Platform
62
62
  os = :win32
63
63
  impl = :mswin
64
64
  elsif RUBY_PLATFORM =~ /cygwin/i
65
- os = :unix
65
+ os = :win32
66
66
  impl = :cygwin
67
67
  elsif RUBY_PLATFORM =~ /mingw/i
68
68
  os = :win32
@@ -1,8 +1,8 @@
1
1
  module Sprout #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 3
5
- TINY = 37
4
+ MINOR = 5
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/user.rb CHANGED
@@ -117,7 +117,13 @@ module PatternPark
117
117
  end
118
118
 
119
119
  def platform
120
- return Platform::IMPL
120
+ if(Platform::OS == :win32)
121
+ return :win32
122
+ elsif(Platform::IMPL == :macosx)
123
+ return :macosx
124
+ else
125
+ return Platform::IMPL
126
+ end
121
127
  end
122
128
 
123
129
  def execute(tool, options='')
data/rakefile.rb CHANGED
@@ -107,7 +107,7 @@ end
107
107
  desc "Publish and release files to RubyForge."
108
108
  task :release => [:release_confirmation, :package] do
109
109
  system("svn commit -m 'Created release #{VERS}'")
110
- system("svn copy -m 'Created tag for release #{VERS}' https://asproject.googlecode.com/svn/trunk/ https://asproject.googlecode.com/svn/tags/#{VERS}")
110
+ system("svn copy -m 'Created tag for release #{VERS}' https://projectsprouts.googlecode.com/svn/trunk/ https://projectsprouts.googlecode.com/svn/tags/#{VERS}")
111
111
 
112
112
  system('rubyforge login')
113
113
  for ext in RELEASE_TYPES
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: sprout
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.36
6
+ version: 0.5.0
7
7
  date: 2007-06-10 00:00:00 -07:00
8
8
  summary: "Sprouts is an open-source, cross-platform project generation and configuration
9
9
  tool."