berktacular 0.1.1 → 0.1.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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzNiYWFhMGQ4YTY3ZTM5Zjg3Y2E1MDRjYjA2MWY2Yzg5OTk2MWIwNQ==
4
+ NGYzNTEyMDVhOTg4NzViYWQxOTM3MjNlZDI2NWQ0MWQzY2E2MDIxZQ==
5
5
  data.tar.gz: !binary |-
6
- ZjI0MmRhODJmYmM1YWVmNjNiYjE4YTY5Y2EzMGVhNDQwNDkyODBjNg==
6
+ YTIyZTIyODlkM2JiNmY1N2IyZWY5NGViOTEzY2ZhZGUwMDM3ZTBmZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjI2ZWIyZGFmZjgxYWY1ZDEzYjZlMDlmYzk4NjRkNDNiMTk1MTMzODc0ZDU2
10
- NTgzODU1NmM1Y2JjNTk1ZmI3YTc4ODhkMThjNWQ0NWNjZmMxNDFkMDZhM2Qy
11
- OTFkZGRmMzRmYTYzZTk4MWE3NDE1OWY0ODViYzdjYmQ3N2QyNDg=
9
+ YTEyYjcwZjQ4ZjEwMTc1ZGMxYzcwYWYwYzZiNDFmZDI2N2M1YmIwN2FhMDk4
10
+ ZDdkOTVkY2E1ZjYzM2E1MWYyOTVhZWM5NTI2OGJjZGMyMWM1YzJhNTJlYjkx
11
+ MDMzMDk1NDYzNmZjOTQ0YTk0MGZjMTBlMTBmMzNmMTA0OTAxOGI=
12
12
  data.tar.gz: !binary |-
13
- ODcxYmUwODZlZjNkM2M0YjkxZmIwMDkxYTJhNmI0ZDMyYWUxM2VhYWI0ZDg3
14
- YzcyNTcwMjBmOWEwYjAwY2VmY2Y5YzA4MmIyN2ViNjBiZTRkYTRlN2I1NWIw
15
- MWQwNGE3YmMxZGVhMGUwNTRkZGExN2QzNzdkZmIyOTI2ZjA2MDQ=
13
+ NjJhM2EzYzczMDczMWE1OTQxNjFhNGM5NTBkZGYwYTBiMTM0NDJlNWEyYWYx
14
+ YzZiMzY5OWUzMmVlYjU2NThhNGE5YjI0OWQ0ZDQyMjk0MDU4OTY1ODQ2NTNl
15
+ ZTZkM2JlNjYyYzkzMzI0ZDQxYzk3ODg0YzQ4M2YyNWZjNGM4MzA=
@@ -76,7 +76,7 @@ module Berktacular
76
76
  workdir
77
77
  end
78
78
 
79
- # @params workdir [String] the directory in which to install. If nill, Berktacular.best_temp_dir is used.
79
+ # @params workdir [String] the directory in which to install. If nil, Berktacular.best_temp_dir is used.
80
80
  # @return [True,False] the status of the verify.
81
81
  def verify(workdir = nil)
82
82
  require 'ridley'
@@ -20,8 +20,8 @@ module Berktacular
20
20
  # @param version_spec [String] the exact version number as in a chef environment file. eg. '= 1.2.3'
21
21
  # @param config [Hash,nil] the cookbook_location hash to for this cookbook. Optional.
22
22
  # @option opts [Octokit::Client] :git_client (nil) the github client to use.
23
- # @option opts [True,False] :upgrade (False) whether or not to check for updates. auto_upgrade must also be enbaled for the updated entry to be used.
24
- # @option opts [True,False] :verbose (False) be more vervose.
23
+ # @option opts [True,False] :upgrade (False) whether or not to check for updates. auto_upgrade must also be enabled for the updated entry to be used.
24
+ # @option opts [True,False] :verbose (False) be more verbose.
25
25
  def initialize( name, version_spec, config = nil, opts = {} )
26
26
  @name = name || raise( "Missing cookbook name" )
27
27
  @version_spec = version_spec || raise( "Missing cookbook version" )
@@ -1,4 +1,4 @@
1
1
  module Berktacular
2
2
  # the gem version.
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
data/lib/berktacular.rb CHANGED
@@ -19,6 +19,7 @@ module Berktacular
19
19
  unless system(cmd)
20
20
  raise "Command failed with exit code #{$?.exitstatus}: #{cmd}"
21
21
  end
22
+ true
22
23
  end
23
24
 
24
25
  # @return [String] the best tmpdir to use for this machine. Prefers /dev/shm if available.
@@ -36,7 +37,7 @@ module Berktacular
36
37
  Dir.mktmpdir(pat, tmp)
37
38
  end
38
39
 
39
- # Matches the numric version information from a tag.
40
+ # Matches the numeric version information from a tag.
40
41
  VERSION_RE = Regexp.new(/\d+(?:\.\d+)*/)
41
42
 
42
43
  autoload :Cookbook, 'berktacular/cookbook'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berktacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Harvey-Smith