radiant-reader-extension 3.0.9 → 3.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/app/models/reader.rb CHANGED
@@ -247,7 +247,7 @@ class Reader < ActiveRecord::Base
247
247
  end
248
248
 
249
249
  def create_password!
250
- self.clear_password = self.randomize_password # randomize_password is provided by authlogic
250
+ self.clear_password = self.password_confirmation = self.randomize_password # randomize_password is provided by authlogic
251
251
  self.save! unless self.new_record?
252
252
  self.clear_password
253
253
  end
@@ -306,7 +306,7 @@ private
306
306
  def update_user
307
307
  if self.user
308
308
  user_columns.each { |att| self.user.send("#{att.to_s}=", send(att)) if send("#{att.to_s}_changed?") }
309
- self.user.password_confirmation = password_confirmation if password_changed?
309
+ self.user.password_confirmation = password if password_changed?
310
310
  self.user.save! if self.user.changed?
311
311
  end
312
312
  end
@@ -1,5 +1,5 @@
1
1
  module RadiantReaderExtension
2
- VERSION = '3.0.9'
2
+ VERSION = '3.0.10'
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_user.rb CHANGED
@@ -10,7 +10,7 @@ module ReaderUser
10
10
  def update_reader
11
11
  if self.reader
12
12
  Reader.user_columns.each { |att| self.reader.send("#{att.to_s}=", send(att)) if send("#{att.to_s}_changed?") }
13
- self.reader.password_confirmation = password_confirmation if password_changed?
13
+ self.reader.password_confirmation = password if password_changed?
14
14
  self.reader.save! if self.reader.changed?
15
15
  end
16
16
  end
Binary file
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 9
10
- version: 3.0.9
9
+ - 10
10
+ version: 3.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - William Ross
@@ -330,6 +330,7 @@ files:
330
330
  - public/stylesheets/sass/reader.sass
331
331
  - radiant-reader-extension-3.0.7.gem
332
332
  - radiant-reader-extension-3.0.8.gem
333
+ - radiant-reader-extension-3.0.9.gem
333
334
  - radiant-reader-extension.gemspec
334
335
  - Rakefile
335
336
  - reader_extension.rb
@@ -358,7 +359,7 @@ files:
358
359
  homepage: http://radiant.spanner.org/reader
359
360
  licenses: []
360
361
 
361
- post_install_message: "\n Add this to your radiant project with:\n\n config.gem 'radiant-reader-extension', :version => '~> 3.0.9'\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:\n\n config.gem 'radiant-reader-extension', :version => '~> 3.0.10'\n\n and if you haven't already, remember to enable ActionMailer in your\n project's config/environment.rb.\n "
362
363
  rdoc_options: []
363
364
 
364
365
  require_paths: