librarian-chef 0.0.3 → 0.0.4

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: b59a3da03ffcb2136feeecb521cc12df1421f171
4
- data.tar.gz: d8eb2efdb1bc0883f25724056d6842a3374bd22a
3
+ metadata.gz: e892d9247cd87153e65af8e371ce8090a5269a3d
4
+ data.tar.gz: 22db4574b0ca5269081c51f153f8fa9622a3e8c6
5
5
  SHA512:
6
- metadata.gz: 43754256753f5c95abdcd22e452d90fcc5c0125f7006f7a897721f52c9e04d0b02658172e4984730f400e0ae6410469a9c525eb59eb9a818c26041f4a9478e35
7
- data.tar.gz: 10b75a52059ff714d2cc6e5100c4fceeb69baedbb298576027679e6736a5408369d081527638aae12e5e184f34aeca5dcd9149548d030aa8253a260a43e10e27
6
+ metadata.gz: eed5c1f0206bc76450683a1f82f6130e8cdb627563ab776546f28ae85b7631c90122da6293fe086d01bd5206baff58fbad2330791c0c5997d65fa7b45ec5cc77
7
+ data.tar.gz: e832af7f099e834b6f39b393ab234b7f07155fb849d23ca0dd11b124d47978abe221a63723010d34b55d198989e655587c5c304a00aaef816597a0351e78e097
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.0.4
4
+
5
+ * Support HTTPS endpoints better. Thanks @onddo.
6
+
3
7
  ## 0.0.3
4
8
 
5
9
  * Support HTTPS endpoints. Thanks @sl4m.
data/README.md CHANGED
@@ -42,7 +42,7 @@ depends will go here.
42
42
 
43
43
  Here's an example `Cheffile`:
44
44
 
45
- site "http://community.opscode.com/api/v1"
45
+ site "https://supermarket.getchef.com/api/v1"
46
46
 
47
47
  cookbook "ntp"
48
48
  cookbook "timezone", "0.0.1"
@@ -58,7 +58,7 @@ Here's how it works:
58
58
 
59
59
  We start off by declaring the *default source* for this `Cheffile`.
60
60
 
61
- site "http://community.opscode.com/api/v1"
61
+ site "https://supermarket.getchef.com/api/v1"
62
62
 
63
63
  This default source in this example is the Opscode Community Site API. This is
64
64
  most likely what you will want for your default source. However, you can
@@ -161,7 +161,7 @@ default source.
161
161
  Add dependencies and their sources to the `Cheffile`:
162
162
 
163
163
  $ cat Cheffile
164
- site 'http://community.opscode.com/api/v1'
164
+ site 'https://supermarket.getchef.com/api/v1'
165
165
  cookbook 'ntp'
166
166
  cookbook 'timezone', '0.0.1'
167
167
  cookbook 'rvm',
@@ -211,7 +211,7 @@ Inspect the details of specific resolved dependencies with:
211
211
  Update your `Cheffile` with new/changed/removed constraints/sources/dependencies:
212
212
 
213
213
  $ cat Cheffile
214
- site 'http://community.opscode.com/api/v1'
214
+ site 'https://supermarket.getchef.com/api/v1'
215
215
  cookbook 'ntp'
216
216
  cookbook 'timezone', '0.0.1'
217
217
  cookbook 'rvm',
@@ -348,6 +348,7 @@ module Librarian
348
348
  loop do
349
349
  debug { "Performing http-get for #{uri}" }
350
350
  http = http(uri)
351
+ http.use_ssl = uri.scheme == 'https'
351
352
  request = Net::HTTP::Get.new(uri.path)
352
353
  response = http.start{|http| http.request(request)}
353
354
 
@@ -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.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -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")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librarian-chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Feldblum
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: librarian