themes_for_rails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- themes_for_rails (0.2.5)
4
+ themes_for_rails (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -20,4 +20,7 @@ module ThemesForRails
20
20
  end
21
21
  end
22
22
 
23
- ActiveSupport.on_load(:action_controller) { include ThemesForRails::ControllerMethods }
23
+ ActiveSupport.on_load(:action_controller) { include ThemesForRails::ControllerMethods }
24
+
25
+ ActiveSupport.on_load(:action_mailer) { include ThemesForRails::ControllerMethods }
26
+
@@ -1,3 +1,3 @@
1
1
  module ThemesForRails
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -10,6 +10,25 @@ class CustomThemeController < ActionController::Base
10
10
  render :text => "Just a test"
11
11
  end
12
12
  end
13
+
14
+ class ActionMailerInclusionTest < Test::Unit::TestCase
15
+ should "include the ControllerMethods module" do
16
+ assert ActionMailer::Base.included_modules.include?(ThemesForRails::ControllerMethods)
17
+ end
18
+ end
19
+
20
+ class ActionControllerInclusionTest < Test::Unit::TestCase
21
+ should "include the ControllerMethods module" do
22
+ assert ActionController::Base.included_modules.include?(ThemesForRails::ControllerMethods)
23
+ end
24
+ end
25
+
26
+ class ApplicationControllerInclusionTest < Test::Unit::TestCase
27
+ should "include the ControllerMethods module" do
28
+ assert ApplicationController.included_modules.include?(ThemesForRails::ControllerMethods)
29
+ end
30
+ end
31
+
13
32
  module ThemesForRails
14
33
  class ControllerMethodsTest < ActionController::TestCase
15
34
  context "at class level" do
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{themes_for_rails}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Lucas Florio"]
12
- s.date = %q{2010-11-01}
12
+ s.date = %q{2010-12-23}
13
13
  s.description = %q{It allows an application to have many different ways of rendering static assets and dynamic views. }
14
14
  s.email = %q{lucasefe@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Lucas Florio
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-01 00:00:00 -03:00
17
+ date: 2010-12-23 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies: []
20
20