radiant-reader-extension 3.0.24 → 3.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -104,7 +104,7 @@ protected
104
104
 
105
105
  def set_expiry
106
106
  if Radiant.config['directory.visibility'] == 'public'
107
- expires_in 1.day
107
+ expires_in 1.day, :public => true, :private => false
108
108
  else
109
109
  expires_now
110
110
  end
@@ -1,5 +1,5 @@
1
1
  module RadiantReaderExtension
2
- VERSION = '3.0.24'
2
+ VERSION = '3.0.25'
3
3
  SUMMARY = %q{Reader/viewer/visitor registration, login and access-control for Radiant CMS}
4
4
  DESCRIPTION = %q{Provides reader/member/user registration and management functions including password-reminder, group-based page access control and administrative email.}
5
5
  URL = "http://radiant.spanner.org/reader"
data/lib/reader_tags.rb CHANGED
@@ -107,7 +107,7 @@ module ReaderTags
107
107
  <pre><code><r:reader_welcome /></code></pre>
108
108
  }
109
109
  tag "reader_welcome" do |tag|
110
- if tag.locals.page.cache?
110
+ if tag.locals.page.cache? && !tag.locals.page.is_a?(RailsPage)
111
111
  %{<div class="remote_controls"></div>}
112
112
  else
113
113
  if tag.locals.reader = Reader.current
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-reader-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 24
10
- version: 3.0.24
9
+ - 25
10
+ version: 3.0.25
11
11
  platform: ruby
12
12
  authors:
13
13
  - William Ross
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-13 00:00:00 Z
18
+ date: 2011-10-14 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: radiant-layouts-extension
@@ -331,8 +331,6 @@ files:
331
331
  - public/stylesheets/sass/admin/reader.sass
332
332
  - public/stylesheets/sass/admin/reader_group.sass
333
333
  - public/stylesheets/sass/reader.sass
334
- - radiant-reader-extension-3.0.23.gem
335
- - radiant-reader-extension-3.1.0.gem
336
334
  - radiant-reader-extension.gemspec
337
335
  - Rakefile
338
336
  - reader_extension.rb
@@ -361,7 +359,7 @@ files:
361
359
  homepage: http://radiant.spanner.org/reader
362
360
  licenses: []
363
361
 
364
- post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-reader-extension', '~> 3.0.24'\n\n and if you haven't already, remember to enable ActionMailer in your\n project's config/environment.rb.\n "
362
+ post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-reader-extension', '~> 3.0.25'\n\n and if you haven't already, remember to enable ActionMailer in your\n project's config/environment.rb.\n "
365
363
  rdoc_options: []
366
364
 
367
365
  require_paths:
Binary file
Binary file