knife-github-cookbooks 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ class Chef
32
32
  end
33
33
 
34
34
  banner "knife cookbook github compare COOKBOOK [USER/BRANCH] (options)"
35
- category "cookbook site"
35
+ category "cookbook"
36
36
 
37
37
  option :cookbook_path,
38
38
  :short => "-o PATH:PATH",
@@ -19,6 +19,7 @@
19
19
  #
20
20
 
21
21
  require 'chef/knife'
22
+ require 'tempfile'
22
23
 
23
24
  class Chef
24
25
  class Knife
@@ -32,7 +33,7 @@ class Chef
32
33
  end
33
34
 
34
35
  banner "knife cookbook github install USER/REPO [USER/REPO/BRANCH] (options)"
35
- category "cookbook site"
36
+ category "cookbook"
36
37
 
37
38
  option :ssh,
38
39
  :short => "-S",
@@ -112,7 +113,7 @@ class Chef
112
113
  end
113
114
 
114
115
  def tmpdir
115
- ENV['TMPDIR']
116
+ Dir.tmpdir
116
117
  end
117
118
 
118
119
  def clone_cookbook
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module GithubCookbooks
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-github-cookbooks
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jesse Newland
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-01 00:00:00 -04:00
18
+ date: 2011-06-10 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency