puppet-forge-server 1.5.1 → 1.5.2

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: 66499fceb2274a842e4c601f4b3f6423d80f1624
4
- data.tar.gz: b9a1793c7af32a076d4ccd500c85433e798f9728
3
+ metadata.gz: 71e518f35e77735a3e20323222e1548b70430d26
4
+ data.tar.gz: 7a16c19204d54a3580f1db6f35407e15d7df0941
5
5
  SHA512:
6
- metadata.gz: 9937a3de2686cc718de8433ed11cec71b78021d636e5d53da31bc2d1fe4402c60f814f8041bd5d12fc81999a86a0412210b167f5f9346ca631542234c626281b
7
- data.tar.gz: 983f03cbc02b4de4827b1debadd938af31a2583d41fb39b97eeaeef5e43cad9d7daa53c9a962cb18857c42cec5a9debac4dc3da89dedf2fd5cb6421209dbb4c2
6
+ metadata.gz: 09c87541adb70276ab97a9ad796715992622e07815443eab152085b178a6b11bfe05a6d48a99133d5e779999fff462058df3d9a4a21a44a2a86b0fcf520ee29a
7
+ data.tar.gz: 331ed99665447be1f90a14a13ef86af8c4a3829f52157bcec6345fa2d3c730a796a27662f2160286ca6b7bc7733e5618ebd978d33de54a9cd5d96b4716469702
@@ -73,7 +73,7 @@ module PuppetForgeServer::Backends
73
73
  Dir["#{@module_dir}/**/#{file_name}"].map do |path|
74
74
  {
75
75
  :metadata => parse_dependencies(PuppetForgeServer::Models::Metadata.new(read_metadata(path))),
76
- :checksum => options[:with_checksum] == true ? Digest::MD5.hexdigest(File.read(path)) : nil,
76
+ :checksum => options[:with_checksum] == true ? Digest::MD5.file(path).hexdigest : nil,
77
77
  :path => "/#{Pathname.new(path).relative_path_from(Pathname.new(@module_dir))}"
78
78
  }
79
79
  end
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module PuppetForgeServer
18
- VERSION = '1.5.1'
18
+ VERSION = '1.5.2'
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-forge-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilja Bobkevic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-27 00:00:00.000000000 Z
11
+ date: 2015-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra