librarian-chef-nochef 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +4 -4
- data/lib/librarian/chef/source/site.rb +1 -0
- data/lib/librarian/chef/templates/Cheffile +1 -1
- data/lib/librarian/chef/version.rb +1 -1
- data/librarian-chef-nochef.gemspec +1 -1
- data/spec/functional/chef/source/site_spec.rb +1 -1
- data/spec/integration/chef/source/git_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c990b8450e34a85db9e411d2c956e6727f4961a
|
4
|
+
data.tar.gz: 0953d98084f7a1f9d97f0ab8dc1827e0202dfff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dda802b6b1af6381fa2528494b3f3fe18418c45d8a7c5b4d04639ea00525b029b75c7f854b5a908f4e5ad490696fe4c44c6ca64b434261b9a45c6664c47281a
|
7
|
+
data.tar.gz: 7e997ab0cfd15fff9ba0fa98dea6e7ce0309a2f525b61922643787bc4b24e458c7d8af84c4548c327d3e08658fe8933d27b859d25d89050f5323a591b96b9b88
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.0.4
|
4
|
+
|
5
|
+
* Support HTTPS endpoints better. Thanks @onddo.
|
6
|
+
|
7
|
+
## 0.0.3
|
8
|
+
|
9
|
+
* Support HTTPS endpoints. Thanks @sl4m.
|
10
|
+
* Support cookbooks with long paths.
|
11
|
+
|
3
12
|
## 0.0.2
|
4
13
|
|
5
14
|
* Support tar cookbook archives in addition to targz cookbook archives.
|
data/README.md
CHANGED
@@ -52,7 +52,7 @@ depends will go here.
|
|
52
52
|
|
53
53
|
Here's an example `Cheffile`:
|
54
54
|
|
55
|
-
site "
|
55
|
+
site "https://supermarket.getchef.com/api/v1"
|
56
56
|
|
57
57
|
cookbook "ntp"
|
58
58
|
cookbook "timezone", "0.0.1"
|
@@ -68,7 +68,7 @@ Here's how it works:
|
|
68
68
|
|
69
69
|
We start off by declaring the *default source* for this `Cheffile`.
|
70
70
|
|
71
|
-
site "
|
71
|
+
site "https://supermarket.getchef.com/api/v1"
|
72
72
|
|
73
73
|
This default source in this example is the Opscode Community Site API. This is
|
74
74
|
most likely what you will want for your default source. However, you can
|
@@ -171,7 +171,7 @@ default source.
|
|
171
171
|
Add dependencies and their sources to the `Cheffile`:
|
172
172
|
|
173
173
|
$ cat Cheffile
|
174
|
-
site '
|
174
|
+
site 'https://supermarket.getchef.com/api/v1'
|
175
175
|
cookbook 'ntp'
|
176
176
|
cookbook 'timezone', '0.0.1'
|
177
177
|
cookbook 'rvm',
|
@@ -221,7 +221,7 @@ Inspect the details of specific resolved dependencies with:
|
|
221
221
|
Update your `Cheffile` with new/changed/removed constraints/sources/dependencies:
|
222
222
|
|
223
223
|
$ cat Cheffile
|
224
|
-
site '
|
224
|
+
site 'https://supermarket.getchef.com/api/v1'
|
225
225
|
cookbook 'ntp'
|
226
226
|
cookbook 'timezone', '0.0.1'
|
227
227
|
cookbook 'rvm',
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "librarian-chef-nochef"
|
7
|
-
gem.version = "0.
|
7
|
+
gem.version = "0.2.0"
|
8
8
|
gem.authors = ["Emiliano Ticci", "Jay Feldblum"]
|
9
9
|
gem.email = ["emiticci@gmail.com", "y_feldblum@yahoo.com"]
|
10
10
|
gem.summary = %q{A Bundler for your Chef Cookbooks that does not depends on chef.}
|
@@ -118,7 +118,7 @@ module Librarian
|
|
118
118
|
describe "#manifests" do
|
119
119
|
it "gives a list of all manifests" do
|
120
120
|
manifests = source.manifests("sample")
|
121
|
-
manifests.should
|
121
|
+
manifests.size.should == 1
|
122
122
|
manifest = manifests.first
|
123
123
|
manifest.source.should be source
|
124
124
|
manifest.version.should == Manifest::Version.new("0.6.5")
|
@@ -362,8 +362,8 @@ module Librarian
|
|
362
362
|
version "0.6.5"
|
363
363
|
METADATA
|
364
364
|
end
|
365
|
-
before do
|
366
365
|
|
366
|
+
before do
|
367
367
|
# set up the git repo as normal, but let's also set up a release-stable branch
|
368
368
|
# from which our Cheffile will only pull stable releases
|
369
369
|
git_path.rmtree if git_path.exist?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librarian-chef-nochef
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emiliano Ticci
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-07-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: librarian
|