jackdempsey-beet 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/TODO +0 -1
  2. data/VERSION +1 -1
  3. data/beet.gemspec +2 -2
  4. data/bin/beet +11 -0
  5. data/lib/beet/executor.rb +2 -0
  6. metadata +2 -2
data/TODO CHANGED
@@ -15,4 +15,3 @@ and want to verify things worked correctly
15
15
 
16
16
  * create a "if gem_exists?('browsercms')" type method
17
17
 
18
- * print out a warning message if a recipe isn't found
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.9
1
+ 0.2.0
data/beet.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{beet}
5
- s.version = "0.1.9"
5
+ s.version = "0.2.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jack Dempsey"]
9
- s.date = %q{2009-06-07}
9
+ s.date = %q{2009-06-08}
10
10
  s.default_executable = %q{beet}
11
11
  s.email = %q{jack.dempsey@gmail.com}
12
12
  s.executables = ["beet"]
data/bin/beet CHANGED
@@ -93,4 +93,15 @@ Example:
93
93
  }
94
94
  end
95
95
  end
96
+ def method_missing(*args)
97
+ unless @activesupport_required
98
+ require 'activesupport'
99
+ @activesupport_required = true
100
+ m = args.shift
101
+ send(m, *args)
102
+ else
103
+ super
104
+ end
105
+ end
106
+
96
107
  BeetRunner.start
data/lib/beet/executor.rb CHANGED
@@ -137,6 +137,8 @@ module Beet
137
137
  @options[:recipes].split(/[\s,]+/).each do |recipe|
138
138
  if file = recipe_location(recipe)
139
139
  @recipes << file
140
+ else
141
+ puts "Can't find recipe #{recipe}"
140
142
  end
141
143
  end
142
144
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jackdempsey-beet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Dempsey
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-07 00:00:00 -07:00
12
+ date: 2009-06-08 00:00:00 -07:00
13
13
  default_executable: beet
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency