ruby-quilt 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/quilt.rb +2 -2
  2. metadata +2 -2
@@ -236,7 +236,7 @@ class Quilt
236
236
  begin
237
237
  res = fetch_remote(filename)
238
238
  if (res.status.to_i != 200)
239
- log_error("no version fetched : #{res.status.to_i}")
239
+ log_error("no version fetched : #{res.env[:url].to_s} - status #{res.status.to_i}")
240
240
  return nil
241
241
  end
242
242
  FileUtils.mkdir(version_dir) unless File.exists?(version_dir)
@@ -355,7 +355,7 @@ class Quilt
355
355
  res = fetch_remote('health_check.txt')
356
356
  if (res.status.to_i != 200)
357
357
  return [false,
358
- "Could not fetch heath check file: #{res.env.url.to_s} - status #{res.status.to_i}",
358
+ "Could not fetch heath check file: #{res.env[:url].to_s} - status #{res.status.to_i}",
359
359
  nil]
360
360
  end
361
361
  rescue Exception => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-quilt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-29 00:00:00.000000000 Z
12
+ date: 2012-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json