sake 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/lib/sake.rb +10 -3
  3. data/sake.gemspec +6 -6
  4. 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.0.1', 'ruby2ruby =1.1.7']
16
+ p.dependencies = ['ParseTree =2.1.1', 'ruby2ruby =1.1.8']
17
17
  end
18
18
 
19
19
  rescue LoadError => boom
@@ -9,9 +9,9 @@ require 'rake'
9
9
  require 'fileutils'
10
10
  require 'open-uri'
11
11
  begin
12
- gem 'ParseTree', '=2.0.1'
12
+ gem 'ParseTree', '=2.1.1'
13
13
  require 'parse_tree'
14
- gem 'ruby2ruby', '=1.1.7'
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 = '13'
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
@@ -1,11 +1,11 @@
1
1
 
2
- # Gem::Specification for Sake-1.0.13
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.13"
8
- s.date = %q{2008-02-06}
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.0.1"])
20
- s.add_dependency(%q<ruby2ruby>, ["= 1.1.7"])
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.0.1', 'ruby2ruby =1.1.7']
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.13
7
- date: 2008-02-06 00:00:00 -08:00
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.0.1
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.7
71
+ version: 1.1.8
72
72
  version: