sprout 0.7.233-x86-darwin-10 → 0.7.234-x86-darwin-10
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.
- data/lib/sprout.rb +6 -1
- data/lib/sprout/version.rb +1 -1
- data/rakefile.rb +16 -4
- metadata +3 -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
|
-
|
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'
|
data/lib/sprout/version.rb
CHANGED
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
|
-
|
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.
|
4
|
+
version: 0.7.234
|
5
5
|
platform: x86-darwin-10
|
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:
|
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:
|
63
|
+
version: 2.0.19
|
64
64
|
version:
|
65
65
|
- !ruby/object:Gem::Dependency
|
66
66
|
name: rake
|