berkshelf-bzr 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/berkshelf-bzr.gemspec +2 -2
- data/lib/berkshelf/bzr/version.rb +1 -1
- data/lib/berkshelf/locations/bzr.rb +1 -5
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99abd99af539c2d1aab45f98ce47cde5aea182c0
|
4
|
+
data.tar.gz: 8a947c8bf7ed24a0406375c95488e70e26282372
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca57bab4b4595ee215f61a7f8a5047abc15f9bce72c285b528c398769c7cc19e4175e872d6c12e3b3e899860ac7f9e81a7c7c59963e1546cadda9ad5b1d6c454
|
7
|
+
data.tar.gz: 12e7cd2b79b2ca5ce7df8bc530396b3b4c9e0e5f4fb99949cf0583b7fe06dc633b715ba4a5ede5876f6d91df9e2b070b0eb5370ca19c96a79ea2ff802f0cd680
|
data/berkshelf-bzr.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.summary = 'Bazaar support for Berkshelf'
|
12
12
|
spec.description = 'A Berkshelf plugin that adds support for downloading ' \
|
13
13
|
'Chef cookbooks from Bazaar locations.'
|
14
|
-
spec.homepage = 'https://github.com/
|
14
|
+
spec.homepage = 'https://github.com/berkshelf/berkshelf-bzr'
|
15
15
|
spec.license = 'Apache 2.0'
|
16
16
|
|
17
17
|
spec.files = `git ls-files`.split($/)
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
22
|
# Runtime dependencies
|
23
|
-
spec.add_dependency 'berkshelf', '~> 3.
|
23
|
+
spec.add_dependency 'berkshelf', '~> 3.1'
|
24
24
|
|
25
25
|
# Development dependencies
|
26
26
|
spec.add_development_dependency 'aruba', '~> 0.5'
|
@@ -5,7 +5,7 @@ require 'berkshelf'
|
|
5
5
|
|
6
6
|
module Berkshelf
|
7
7
|
class BzrLocation < BaseLocation
|
8
|
-
class BzrError < BerkshelfError;
|
8
|
+
class BzrError < BerkshelfError; set_status_code(600); end
|
9
9
|
|
10
10
|
class BzrNotInstalled < BzrError
|
11
11
|
def initialize
|
@@ -53,7 +53,6 @@ module Berkshelf
|
|
53
53
|
#
|
54
54
|
# @see BaseLocation#install
|
55
55
|
def install
|
56
|
-
|
57
56
|
if cached?
|
58
57
|
Dir.chdir(cache_path) do
|
59
58
|
bzr %|pull|
|
@@ -147,7 +146,6 @@ module Berkshelf
|
|
147
146
|
end
|
148
147
|
end
|
149
148
|
|
150
|
-
|
151
149
|
# Determine if this bazaar repo has already been downloaded.
|
152
150
|
#
|
153
151
|
# @return [Boolean]
|
@@ -155,7 +153,6 @@ module Berkshelf
|
|
155
153
|
cache_path.exist?
|
156
154
|
end
|
157
155
|
|
158
|
-
|
159
156
|
# The path where this cookbook would live in the store, if it were
|
160
157
|
# installed.
|
161
158
|
#
|
@@ -172,6 +169,5 @@ module Berkshelf
|
|
172
169
|
Pathname.new(Berkshelf.berkshelf_path)
|
173
170
|
.join('.cache', 'bzr', Digest::SHA1.hexdigest(uri))
|
174
171
|
end
|
175
|
-
|
176
172
|
end
|
177
173
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: berkshelf-bzr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chauviere
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: berkshelf
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aruba
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,7 +103,7 @@ files:
|
|
103
103
|
- lib/berkshelf/locations/bzr.rb
|
104
104
|
- spec/spec_helper.rb
|
105
105
|
- spec/unit/locations/bzr_spec.rb
|
106
|
-
homepage: https://github.com/
|
106
|
+
homepage: https://github.com/berkshelf/berkshelf-bzr
|
107
107
|
licenses:
|
108
108
|
- Apache 2.0
|
109
109
|
metadata: {}
|