refinerycms 0.9.4 → 0.9.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -37,4 +37,15 @@ ruby script/server
37
37
 
38
38
  Now in your browser go to http://localhost:3000 and your site should be running.
39
39
 
40
- You will be prompted to setup your first user.
40
+ You will be prompted to setup your first user.
41
+
42
+ == Environment required
43
+
44
+ Refinery runs using a number of gems which (as of version 0.9.4.1) are outlined below:
45
+
46
+ - "rake", :version => ">= 0.8.3"
47
+ - "friendly_id", :version => ">= 2.1.4"
48
+ - "mislav-will_paginate", :version => ">= 2.3.11"
49
+ - "rails", :version => ">= 2.3.4"
50
+ - "rubyist-aasm", :version => ">= 2.1.1"
51
+ - "unicode", :version => ">= 0.1"
@@ -912,7 +912,7 @@ ul#page_parts li a {
912
912
  margin-top: 6px;
913
913
  }
914
914
 
915
- ul#page_parts li.active a {
915
+ ul#page_parts li.active a, ul#page_parts li a.active {
916
916
  background: #808080;
917
917
  line-height: 33px;
918
918
  color: white;
@@ -3,7 +3,7 @@ class InquiryMailer < ActionMailer::Base
3
3
  def confirmation(inquiry, request)
4
4
  @subject = "Thank you for your inquiry"
5
5
  @recipients = inquiry.email
6
- @from = "#{RefinerySetting[:site_name]} <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
6
+ @from = "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
7
7
  @sent_on = Time.now
8
8
  @body[:inquiry] = inquiry
9
9
  end
@@ -11,7 +11,7 @@ class InquiryMailer < ActionMailer::Base
11
11
  def notification(inquiry, request)
12
12
  @subject = "New inquiry from your website"
13
13
  @recipients = InquirySetting.notification_recipients.value
14
- @from = "#{RefinerySetting[:site_name]} <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
14
+ @from = "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
15
15
  @sent_on = Time.now
16
16
  @body[:inquiry] = inquiry
17
17
  end
@@ -29,7 +29,7 @@
29
29
  <div id='page_part_editors'>
30
30
  <% part_index = -1 %>
31
31
  <% f.fields_for :parts do |p| %>
32
- <%= render :partial => "page_part_field", :locals => {:title => p.object.title, :body => p.object.body, :part_index => (part_index += 1), :new_part => false} %>
32
+ <%= render :partial => "page_part_field", :locals => {:title => p.object.title, :body => p.object.body, :part_index => (part_index += 1), :new_part => @page.new_record?} %>
33
33
  <% end %>
34
34
  </div>
35
35
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Resolve Digital