g5_sibling_deployer_engine 0.4.1 → 0.4.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: 4f9bd9f53b8bd1cc7a8749e578071e969d50e6e6
4
- data.tar.gz: 3bcb8d3883ce3c6c13c336d5fb536df0bb08f30f
3
+ metadata.gz: 244c259c827a32d335f6c25ebc03a4ca5d4c340d
4
+ data.tar.gz: 4639a8b1f8602bba137b78797626799b080fc9fe
5
5
  SHA512:
6
- metadata.gz: f0c56311995e9fd80ee5e5c74e8ff470b6ffb399eeaaf44094f855ab3d9afb550085d0d82d740dbbf2ac4f43a1092ea55e26b74641de2f3eaefb00cbdba0b0d2
7
- data.tar.gz: f9fbf850b892f1d45c24ffa0cb2db3864b28cdd97c8abe528ddb241fab6aab83d554f36ef2506ed601e19c8fd3bc3e1ba385309f39c43488fed38ad0c791e481
6
+ metadata.gz: 1e206383198f16e02a6cdc69fb85e78086807d0011a7f204cda3c4df08827a852172bfd0e59c3cf0d4433f5d684fed25ae46c87c8ac9c6b2953c93ba5490ad8f
7
+ data.tar.gz: 9dc37ef8a14cb806d0397dd5e2e9cdcbcac78cf51ccaa353e2ad38e2da4c64db6ce7e95dfe7f76030060da5664228f49546a6ce1bc42fc631fee47956fb4289c
data/README.md CHANGED
@@ -8,7 +8,7 @@ Provides models, views, controllers, routes, and rake tasks for deploying Siblin
8
8
 
9
9
  ## Current Version
10
10
 
11
- 0.4.1
11
+ 0.4.2
12
12
 
13
13
 
14
14
  ## Requirements
@@ -21,7 +21,8 @@ class Sibling < ActiveRecord::Base
21
21
  main_app_hcard.g5_siblings.map do |sibling|
22
22
  find_or_create_from_hcard(sibling.format)
23
23
  end.compact if main_app_hcard
24
- rescue OpenURI::HTTPError, "304 Not Modified"
24
+ rescue OpenURI::HTTPError => e
25
+ raise e unless /304 Not Modified/ =~ e.message
25
26
  end
26
27
 
27
28
  def async_consume
@@ -1,3 +1,3 @@
1
1
  module G5SiblingDeployerEngine
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
@@ -20,7 +20,7 @@ describe Sibling do
20
20
  end
21
21
  it "swallows 304 errors" do
22
22
  error = OpenURI::HTTPError.new("304 Not Modified", nil)
23
- Sibling.stub(:find_or_create_from_hcard).and_raise(error)
23
+ Sibling.stub(:main_app_hcard).and_raise(error)
24
24
  Sibling.consume_main_app_hcard.should be_nil
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_sibling_deployer_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jessica Lynn Suttles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-30 00:00:00.000000000 Z
11
+ date: 2014-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails