sprout 0.7.233-mswin32 → 0.7.234-mswin32

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.

Files changed (4) hide show
  1. data/lib/sprout.rb +6 -1
  2. data/lib/sprout/version.rb +1 -1
  3. data/rakefile.rb +16 -4
  4. metadata +23 -3
data/lib/sprout.rb CHANGED
@@ -9,10 +9,15 @@ require 'rake/clean'
9
9
  # includes open-uri, while older versions do not.
10
10
  # When open-uri is included twice, we get a bunch of nasty
11
11
  # warnings because constants are being overwritten.
12
- if(Gem::Version.new(Gem::RubyGemsVersion) != Gem::Version.new('1.0.1'))
12
+ gem_version = Gem::Version.new(Gem::RubyGemsVersion)
13
+ if(gem_version != Gem::Version.new('1.0.1'))
13
14
  require 'open-uri'
14
15
  end
15
16
 
17
+ if(gem_version < Gem::Version.new('1.3.5'))
18
+ puts "[WARNING] You need to update your version of RubyGems: sudo gem update --system"
19
+ end
20
+
16
21
  $:.unshift(File.dirname(__FILE__))
17
22
  require 'sprout/dynamic_accessors'
18
23
  require 'progress_bar'
@@ -3,7 +3,7 @@ module Sprout
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 7
6
- TINY = 233
6
+ TINY = 234
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
data/rakefile.rb CHANGED
@@ -58,8 +58,8 @@ def apply_shared_spec(s)
58
58
  s.add_dependency('rubyzip', '>= 0.9.1')
59
59
  s.add_dependency('archive-tar-minitar', '>= 0.5.1')
60
60
  s.add_dependency('rubigen', '1.5.2')
61
- s.add_dependency('net-sftp')
62
- s.add_dependency('net-ssh')
61
+ s.add_dependency('net-sftp', '>= 2.0.4')
62
+ s.add_dependency('net-ssh', '>= 2.0.19')
63
63
  s.add_dependency('rake')
64
64
  end
65
65
 
@@ -83,7 +83,6 @@ osx_snow_leopard_spec = Gem::Specification.new do |s|
83
83
  s.add_dependency('open4', '>= 0.9.6')
84
84
  end
85
85
 
86
-
87
86
  nix_spec = Gem::Specification.new do |s|
88
87
  apply_shared_spec(s)
89
88
  s.platform = 'x86-linux'
@@ -96,6 +95,10 @@ win_spec = Gem::Specification.new do |s|
96
95
  s.platform = 'mswin32'
97
96
  # Add win-specific dependencies here
98
97
  s.add_dependency('win32-open3', '0.2.5')
98
+ # Added again here b/c win users report
99
+ # having to install these manually:
100
+ s.add_dependency('net-sftp', '>= 2.0.4')
101
+ s.add_dependency('net-ssh', '>= 2.0.19')
99
102
  end
100
103
 
101
104
  ruby_spec = Gem::Specification.new do |s|
@@ -147,4 +150,13 @@ task :package do
147
150
  fix_x86_mswin
148
151
  end
149
152
 
150
- #task :release => :release_rubyforge
153
+ task :release_to_gemcutter do
154
+ files = FileList.new('pkg/*.gem')
155
+ files.each do |file|
156
+ sh "gem push #{file}"
157
+ end
158
+ end
159
+
160
+ desc 'Clean, Package and Release gems to Gemcutter'
161
+ task :release => [:clean, :package, :release_to_gemcutter]
162
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.233
4
+ version: 0.7.234
5
5
  platform: mswin32
6
6
  authors:
7
7
  - Luke Bayes
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: "0"
53
+ version: 2.0.4
54
54
  version:
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: net-ssh
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: "0"
63
+ version: 2.0.19
64
64
  version:
65
65
  - !ruby/object:Gem::Dependency
66
66
  name: rake
@@ -82,6 +82,26 @@ dependencies:
82
82
  - !ruby/object:Gem::Version
83
83
  version: 0.2.5
84
84
  version:
85
+ - !ruby/object:Gem::Dependency
86
+ name: net-sftp
87
+ type: :runtime
88
+ version_requirement:
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: 2.0.4
94
+ version:
95
+ - !ruby/object:Gem::Dependency
96
+ name: net-ssh
97
+ type: :runtime
98
+ version_requirement:
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 2.0.19
104
+ version:
85
105
  description: |
86
106
  Sprout is a modular set of tools that take the tedium and frustration out of creating and managing programming projects by automatically installing and configuring external tools, libraries, commands and build tasks. Bundles are currently available to support ActionScript 2, ActionScript 3, Flex and AIR development.
87
107