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 +1 -1
- data/lib/whisk/cli.rb +1 -1
- data/lib/whisk/provider/ingredient.rb +1 -1
- data/lib/whisk/version.rb +1 -1
- metadata +2 -2
data/bin/whisk
CHANGED
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
|
|
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
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.
|
|
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-
|
|
12
|
+
date: 2012-09-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: chef
|