sake 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/sake.rb +10 -3
- data/sake.gemspec +6 -6
- metadata +4 -4
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ begin
|
|
13
13
|
p.url = "http://errtheblog.com/"
|
14
14
|
p.author = 'Chris Wanstrath'
|
15
15
|
p.email = "chris@ozmm.org"
|
16
|
-
p.dependencies = ['ParseTree =2.
|
16
|
+
p.dependencies = ['ParseTree =2.1.1', 'ruby2ruby =1.1.8']
|
17
17
|
end
|
18
18
|
|
19
19
|
rescue LoadError => boom
|
data/lib/sake.rb
CHANGED
@@ -9,9 +9,9 @@ require 'rake'
|
|
9
9
|
require 'fileutils'
|
10
10
|
require 'open-uri'
|
11
11
|
begin
|
12
|
-
gem 'ParseTree', '=2.
|
12
|
+
gem 'ParseTree', '=2.1.1'
|
13
13
|
require 'parse_tree'
|
14
|
-
gem 'ruby2ruby', '=1.1.
|
14
|
+
gem 'ruby2ruby', '=1.1.8'
|
15
15
|
require 'ruby2ruby'
|
16
16
|
rescue LoadError
|
17
17
|
puts "# Sake requires the ruby2ruby gem and Ruby 1.8.6."
|
@@ -77,7 +77,7 @@ class Sake
|
|
77
77
|
module Version #:nodoc:
|
78
78
|
Major = '1'
|
79
79
|
Minor = '0'
|
80
|
-
Tweak = '
|
80
|
+
Tweak = '14'
|
81
81
|
String = [ Major, Minor, Tweak ].join('.')
|
82
82
|
end
|
83
83
|
|
@@ -322,6 +322,13 @@ class Sake
|
|
322
322
|
instance = new
|
323
323
|
Thread.new { instance.instance_eval "$SAFE = 3\n#{body}" }.join
|
324
324
|
instance
|
325
|
+
|
326
|
+
rescue Errno::ENOENT
|
327
|
+
STDERR.puts "Error: The file '#{file}' doesn't exist!"
|
328
|
+
exit 1
|
329
|
+
rescue OpenURI::HTTPError
|
330
|
+
STDERR.puts "Error: '#{file}' not found! (OpenURI::HTTPError)"
|
331
|
+
exit 1
|
325
332
|
end
|
326
333
|
|
327
334
|
def initialize
|
data/sake.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
|
-
# Gem::Specification for Sake-1.0.
|
2
|
+
# Gem::Specification for Sake-1.0.14
|
3
3
|
# Originally generated by Echoe
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = %q{sake}
|
7
|
-
s.version = "1.0.
|
8
|
-
s.date = %q{2008-
|
7
|
+
s.version = "1.0.14"
|
8
|
+
s.date = %q{2008-03-16}
|
9
9
|
s.summary = %q{Sake tastes great and helps maintain system-level Rake files.}
|
10
10
|
s.email = %q{chris@ozmm.org}
|
11
11
|
s.homepage = %q{http://errtheblog.com/}
|
@@ -16,8 +16,8 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.authors = ["Chris Wanstrath"]
|
17
17
|
s.files = ["bin/sake", "lib/help.rb", "lib/pastie.rb", "lib/sake.rb", "lib/server.rb", "Manifest", "Rakefile", "README", "LICENSE", "sake.gemspec"]
|
18
18
|
s.executables = ["sake"]
|
19
|
-
s.add_dependency(%q<ParseTree>, ["= 2.
|
20
|
-
s.add_dependency(%q<ruby2ruby>, ["= 1.1.
|
19
|
+
s.add_dependency(%q<ParseTree>, ["= 2.1.1"])
|
20
|
+
s.add_dependency(%q<ruby2ruby>, ["= 1.1.8"])
|
21
21
|
end
|
22
22
|
|
23
23
|
|
@@ -38,7 +38,7 @@ end
|
|
38
38
|
# p.url = "http://errtheblog.com/"
|
39
39
|
# p.author = 'Chris Wanstrath'
|
40
40
|
# p.email = "chris@ozmm.org"
|
41
|
-
# p.dependencies = ['ParseTree =2.
|
41
|
+
# p.dependencies = ['ParseTree =2.1.1', 'ruby2ruby =1.1.8']
|
42
42
|
# end
|
43
43
|
#
|
44
44
|
# rescue LoadError => boom
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: sake
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2008-
|
6
|
+
version: 1.0.14
|
7
|
+
date: 2008-03-16 00:00:00 -07:00
|
8
8
|
summary: Sake tastes great and helps maintain system-level Rake files.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 2.
|
62
|
+
version: 2.1.1
|
63
63
|
version:
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: ruby2ruby
|
@@ -68,5 +68,5 @@ dependencies:
|
|
68
68
|
requirements:
|
69
69
|
- - "="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 1.1.
|
71
|
+
version: 1.1.8
|
72
72
|
version:
|