whisk 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bin/whisk +36 -0
  2. data/lib/whisk/version.rb +1 -1
  3. metadata +7 -6
data/bin/whisk ADDED
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/ruby
2
+ #
3
+ # Author:: Mathieu Sauve-Frankel <msf@kisoku.net>
4
+ # Copyright:: Copyright (c) 2012 Mathieu Sauve-Frankel
5
+ # License:: Apache License, Version 2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+
20
+ $:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
21
+
22
+ require 'rubygems'
23
+ require 'logger'
24
+ require 'whisk/config'
25
+ require 'whisk/log'
26
+
27
+ Whisk::Log.logger = Logger.new(STDOUT)
28
+
29
+ whiskfile = File.join(ENV['HOME'], '.chef', 'whisk.rb')
30
+
31
+ Whisk::Config.from_file(whiskfile)
32
+
33
+ bowls = Whisk::Config.bowls
34
+ bowls.each do |name, bowl|
35
+ bowl.prepare
36
+ end
data/lib/whisk/version.rb CHANGED
@@ -17,5 +17,5 @@
17
17
  #
18
18
 
19
19
  class Whisk
20
- VERSION = '0.0.1'
20
+ VERSION = '0.0.2'
21
21
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whisk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mathieu Sauve-Frankel
@@ -67,8 +67,8 @@ dependencies:
67
67
  version_requirements: *id003
68
68
  description: A simple Chef cookbook dependency manager
69
69
  email: msf@kisoku.net
70
- executables: []
71
-
70
+ executables:
71
+ - whisk
72
72
  extensions: []
73
73
 
74
74
  extra_rdoc_files: []
@@ -85,7 +85,8 @@ files:
85
85
  - lib/whisk/log.rb
86
86
  - lib/whisk/version.rb
87
87
  - lib/whisk/ingredient.rb
88
- homepage: http://whisk.github.com
88
+ - bin/whisk
89
+ homepage: http://github.com/kisoku/whisk
89
90
  licenses: []
90
91
 
91
92
  post_install_message: