muck-engine 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.9
1
+ 0.1.10
@@ -53,8 +53,12 @@ module ActionController
53
53
  # 127.0.0.1 gr.application.local
54
54
  # in your /etc/hosts file to try this out locally
55
55
  def extract_locale_from_subdomain
56
- parsed_locale = request.subdomains.first
57
- (I18n.available_locales.include? parsed_locale.to_sym) ? parsed_locale.to_sym : nil
56
+ parsed_locale = request.subdomains.first
57
+ if !parsed_locale.blank?
58
+ I18n.available_locales.include?(parsed_locale.to_sym) ? parsed_locale.to_sym : nil
59
+ else
60
+ nil
61
+ end
58
62
  end
59
63
 
60
64
  def setup_paging
data/muck-engine.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{muck-engine}
5
- s.version = "0.1.9"
5
+ s.version = "0.1.10"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Justin Ball"]
data/rdoc/created.rid CHANGED
@@ -1 +1 @@
1
- Fri, 19 Jun 2009 00:51:04 -0600
1
+ Thu, 25 Jun 2009 01:05:05 -0600
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Thu Jun 18 18:52:57 -0600 2009</td>
59
+ <td>Tue Jun 23 10:45:06 -0600 2009</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -155,6 +155,12 @@ your layout or the javascript in the system won&#8216;t work:
155
155
  &lt;%= yield :javascript %&gt;
156
156
  &lt;/script&gt;
157
157
  </pre>
158
+ <p>
159
+ You can customize your email template by overriding the existing layouts.
160
+ Simply add email_default.text.html.erb and email_default.text.plain.erb
161
+ views/layouts. This will build templates for html and plain text emails.
162
+ For an example of each look at the views/layouts directory in this project.
163
+ </p>
158
164
  <h2>CSS</h2>
159
165
  <p>
160
166
  The css provided by the muck engine comes from blueprint: <a
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Thu Jun 18 21:31:06 -0600 2009</td>
59
+ <td>Thu Jun 25 01:00:26 -0600 2009</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball