radiant_helper 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/bin/radiant_helper CHANGED
@@ -16,6 +16,8 @@ First we need to do a little configuration. We need to know a few details about
16
16
 
17
17
  If you are not using the application_configuration (loser), then you can configure this parameter by setting the constant 'RADIANT_SERVER_URL'.
18
18
 
19
+ You'll also need to set the 'radiant_server_time_out' config parameter so that your Rails app doesn't sit and spin waiting for a Radiant server that may be down.
20
+
19
21
  Now your Rails application has all it needs to start including dynamic sections of pages from your Radiant CMS.
20
22
 
21
23
  2.) Usage
@@ -27,7 +27,10 @@ module Radiant
27
27
  rescue Radiant::Helper::InvalidConfigurationError => e
28
28
  raise e
29
29
  rescue Exception => e
30
- Radiant::Helper.logger.error(e)
30
+ unless RAILS_ENV == 'test'
31
+ Radiant::Helper.logger.error("There was an error connecting to Radiant at: #{url}")
32
+ Radiant::Helper.logger.error(e)
33
+ end
31
34
  return Radiant::Helper::Response.new(url, 404)
32
35
  end
33
36
  end
@@ -2,4 +2,4 @@
2
2
  gem_name: radiant_helper
3
3
  package: radiant_helper
4
4
  project: magrathea
5
- version: 1.0.6
5
+ version: 1.0.7
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: radiant_helper
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.6
6
+ version: 1.0.7
7
7
  date: 2007-10-17 00:00:00 -04:00
8
8
  summary: radiant_helper
9
9
  require_paths: