radiant-reader-extension 3.0.29 → 3.0.30
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,12 +16,12 @@
|
|
16
16
|
- form.edit_email do
|
17
17
|
%p
|
18
18
|
= f.label :email
|
19
|
-
= f.text_field
|
19
|
+
= f.text_field :email, :class => 'textbox', :size => 32, :maxlength => 255
|
20
20
|
|
21
21
|
- form.edit_nickname do
|
22
22
|
%p
|
23
23
|
= f.label :nickname
|
24
|
-
= f.text_field
|
24
|
+
= f.text_field :nickname, :class => 'textbox', :size => 32, :maxlength => 255
|
25
25
|
|
26
26
|
- form.edit_password do
|
27
27
|
= render "password_fields", :f => f
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module RadiantReaderExtension
|
2
|
-
VERSION = '3.0.
|
2
|
+
VERSION = '3.0.30'
|
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
@@ -73,7 +73,7 @@ module ReaderTags
|
|
73
73
|
we are on an uncached page.
|
74
74
|
}
|
75
75
|
tag 'reader' do |tag|
|
76
|
-
tag.expand if get_reader(tag)
|
76
|
+
tag.expand if tag.locals.reader = get_reader(tag)
|
77
77
|
end
|
78
78
|
|
79
79
|
[:name, :forename, :surname, :nickname, :preferred_name, :preferred_informal_name, :email, :description, :login].each do |field|
|
@@ -178,7 +178,7 @@ module ReaderTags
|
|
178
178
|
private
|
179
179
|
|
180
180
|
def get_reader(tag)
|
181
|
-
|
181
|
+
if tag.attr['id']
|
182
182
|
Reader.find_by_id(tag.attr['id'].to_i)
|
183
183
|
elsif tag.locals.page.respond_to? :reader
|
184
184
|
tag.locals.page.reader
|
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:
|
4
|
+
hash: 59
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 30
|
10
|
+
version: 3.0.30
|
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-
|
18
|
+
date: 2011-11-02 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: radiant-layouts-extension
|
@@ -359,7 +359,7 @@ files:
|
|
359
359
|
homepage: http://radiant.spanner.org/reader
|
360
360
|
licenses: []
|
361
361
|
|
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.
|
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.30'\n\n and if you haven't already, remember to enable ActionMailer in your\n project's config/environment.rb.\n "
|
363
363
|
rdoc_options: []
|
364
364
|
|
365
365
|
require_paths:
|