whisk 0.2.2 → 0.2.3

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.
data/bin/whisk CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
2
  #
3
3
  # Author:: Mathieu Sauve-Frankel <msf@kisoku.net>
4
4
  # Copyright:: Copyright (c) 2012 Mathieu Sauve-Frankel
data/lib/whisk/cli.rb CHANGED
@@ -100,7 +100,7 @@ class Whisk
100
100
  desc: "Path to a Whiskfile to operate off of.",
101
101
  aliases: "-w",
102
102
  banner: "PATH"
103
- desc "upload", "upload the specifiec bowls to a chef server"
103
+ desc "upload", "upload the specified bowls to a chef server"
104
104
  def upload(filter=nil)
105
105
  runner = Whisk::Runner.new(options[:whiskfile], filter)
106
106
  runner.run('upload')
@@ -36,7 +36,7 @@ class Whisk
36
36
  def current_ref
37
37
  cref = run_command!("git rev-parse --abbrev-ref HEAD", :cwd => resource.name).stdout.chomp
38
38
  if cref == 'HEAD'
39
- return run_command!("git describe", :cwd => resource.name).stdout.chomp
39
+ return run_command!("git describe --tags", :cwd => resource.name).stdout.chomp
40
40
  else
41
41
  return cref
42
42
  end
data/lib/whisk/version.rb CHANGED
@@ -17,5 +17,5 @@
17
17
  #
18
18
 
19
19
  class Whisk
20
- VERSION = '0.2.2'
20
+ VERSION = '0.2.3'
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-23 00:00:00.000000000 Z
12
+ date: 2012-09-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef