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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1776eedb3577464019f6b232c891e4b7752db83e
4
- data.tar.gz: affadaade23fec033ef69e590fc65ae60993c47d
3
+ metadata.gz: 6c990b8450e34a85db9e411d2c956e6727f4961a
4
+ data.tar.gz: 0953d98084f7a1f9d97f0ab8dc1827e0202dfff3
5
5
  SHA512:
6
- metadata.gz: 28bcb8ec76bc92c0ad61410461c770e69dbe4d8eec4e757adbbd434cc9f60fb3c808a8cb9d4642b02b67eb87c229a360b45cee3071cd08757d3a3d9bfa8ec7d1
7
- data.tar.gz: a1df6245778085613b90dd9a8aa8fc98fec1a3d8713a8d505388940372ff9b5d0228cc29cc14afdc578955a52df14c2d38f027793108571e22204a5d1b83d83f
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 "http://community.opscode.com/api/v1"
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 "http://community.opscode.com/api/v1"
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 'http://community.opscode.com/api/v1'
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 'http://community.opscode.com/api/v1'
224
+ site 'https://supermarket.getchef.com/api/v1'
225
225
  cookbook 'ntp'
226
226
  cookbook 'timezone', '0.0.1'
227
227
  cookbook 'rvm',
@@ -349,6 +349,7 @@ module Librarian
349
349
  loop do
350
350
  debug { "Performing http-get for #{uri}" }
351
351
  http = http(uri)
352
+ http.use_ssl = uri.scheme == 'https'
352
353
  request = Net::HTTP::Get.new(uri.path)
353
354
  response = http.start{|http| http.request(request)}
354
355
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  #^syntax detection
3
3
 
4
- site 'http://community.opscode.com/api/v1'
4
+ site 'https://supermarket.getchef.com/api/v1'
5
5
 
6
6
  # cookbook 'chef-client'
7
7
 
@@ -1,5 +1,5 @@
1
1
  module Librarian
2
2
  module Chef
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -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.1.2"
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 have(1).item
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.1.2
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-05-21 00:00:00.000000000 Z
12
+ date: 2014-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: librarian