refinerycms 0.9.6.24 → 0.9.6.25

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.6.24
1
+ 0.9.6.25
@@ -2,7 +2,7 @@
2
2
  RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
3
3
 
4
4
  # Specified gem version of Refinery to use when vendor/plugins/refinery/lib/refinery.rb is not present.
5
- REFINERY_GEM_VERSION = '0.9.6.24' unless defined? REFINERY_GEM_VERSION
5
+ REFINERY_GEM_VERSION = '0.9.6.25' unless defined? REFINERY_GEM_VERSION
6
6
 
7
7
  # Boot Rails
8
8
  require File.join(File.dirname(__FILE__), 'boot')
Binary file
@@ -10,8 +10,8 @@
10
10
  </div>
11
11
  <div class='field'>
12
12
  <%= f.label :password %>
13
- <%= f.password_field :password %><br />
14
- <span class="preview">Leaving password blank keeps the current password</span>
13
+ <%= f.password_field :password %>
14
+ <%= "<br /><span class='preview'>Leaving password blank keeps the current password</span>" unless @user.new_record? %>
15
15
  </div>
16
16
  <div class='field'>
17
17
  <%= f.label :password_confirmation %>
@@ -36,7 +36,7 @@ protected
36
36
  list = []
37
37
  page.children.each do |child|
38
38
  list << child
39
- list += add_pages_branch_to_parents_list if child.children.any?
39
+ list += add_pages_branch_to_parents_list(child) if child.children.any?
40
40
  end
41
41
  list
42
42
  end
@@ -22,7 +22,7 @@ module Refinery
22
22
  super
23
23
 
24
24
  # add plugin lib paths to the $LOAD_PATH so that rake tasks etc. can be run when using a gem for refinery or gems for plugins.
25
- search_for = Regexp.new(Refinery.root.join("vendor", "plugins", ".+?", "lib"))
25
+ search_for = Regexp.new(Refinery.root.join("vendor", "plugins", ".+?", "lib").to_s)
26
26
 
27
27
  # find all the plugin paths
28
28
  paths = plugins.collect{ |plugin| plugin.load_paths }.flatten
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 6
9
- - 24
10
- version: 0.9.6.24
9
+ - 25
10
+ version: 0.9.6.25
11
11
  platform: ruby
12
12
  authors:
13
13
  - Resolve Digital
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-03-27 00:00:00 +13:00
20
+ date: 2010-04-02 00:00:00 +13:00
21
21
  default_executable:
22
22
  dependencies: []
23
23