themes_for_rails 0.4.3 → 0.5.0.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. data/.gitignore +1 -0
  2. data/.travis.yml +2 -0
  3. data/Gemfile.lock +40 -35
  4. data/README.textile +11 -235
  5. data/Rakefile +1 -0
  6. data/doc/README.textile +363 -0
  7. data/{REVIEW_NOTES → doc/REVIEW_NOTES} +0 -0
  8. data/{RMU_REVIEW → doc/RMU_REVIEW} +0 -0
  9. data/{TODO.textile → doc/TODO.textile} +0 -0
  10. data/lib/themes_for_rails.rb +7 -6
  11. data/lib/themes_for_rails/{controller_methods.rb → action_controller.rb} +15 -9
  12. data/lib/themes_for_rails/action_mailer.rb +22 -0
  13. data/lib/themes_for_rails/action_view.rb +59 -0
  14. data/lib/themes_for_rails/assets_controller.rb +12 -13
  15. data/lib/themes_for_rails/common_methods.rb +28 -10
  16. data/lib/themes_for_rails/config.rb +44 -7
  17. data/lib/themes_for_rails/interpolation.rb +11 -0
  18. data/lib/themes_for_rails/railtie.rb +13 -2
  19. data/lib/themes_for_rails/routes.rb +15 -4
  20. data/lib/themes_for_rails/url_helpers.rb +16 -12
  21. data/lib/themes_for_rails/version.rb +2 -1
  22. data/test/lib/{controller_methods_test.rb → action_controller_test.rb} +59 -9
  23. data/test/lib/{mailer_methods_test.rb → action_mailer_test.rb} +2 -1
  24. data/test/lib/action_view_test.rb +54 -0
  25. data/test/lib/assets_controller_test.rb +11 -2
  26. data/test/lib/common_methods_test.rb +12 -6
  27. data/test/lib/config_test.rb +3 -2
  28. data/test/lib/integration_test.rb +12 -0
  29. data/test/lib/routes_test.rb +3 -2
  30. data/test/lib/themes_for_rails_test.rb +3 -2
  31. data/test/support/extensions.rb +1 -0
  32. data/test/test_helper.rb +1 -0
  33. data/themes_for_rails.gemspec +1 -0
  34. metadata +44 -28
  35. data/lib/themes_for_rails/mailer_methods.rb +0 -21
  36. data/lib/themes_for_rails/view_helpers.rb +0 -51
  37. data/test/lib/view_helpers_test.rb +0 -38
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  module ThemesForRails
2
- VERSION = "0.4.3"
3
+ VERSION = "0.5.0.pre"
3
4
  end
@@ -2,11 +2,15 @@
2
2
  require File.expand_path("test/test_helper.rb")
3
3
 
4
4
  class MyController < ActionController::Base
5
+
5
6
  def hello
6
7
  render :text => "Just a test"
7
8
  end
9
+
8
10
  end
11
+
9
12
  class CustomThemeController < ActionController::Base
13
+
10
14
  def hello
11
15
  render :text => "Just a test"
12
16
  end
@@ -14,8 +18,11 @@ class CustomThemeController < ActionController::Base
14
18
  def theme_selector
15
19
  'custom'
16
20
  end
21
+
17
22
  end
23
+
18
24
  class PrivateCustomThemeController < ActionController::Base
25
+
19
26
  def hello
20
27
  render :text => "Just a test"
21
28
  end
@@ -25,34 +32,41 @@ class PrivateCustomThemeController < ActionController::Base
25
32
  def private_theme_selector
26
33
  'private_custom'
27
34
  end
35
+
28
36
  end
29
37
 
30
38
  class ActionMailerInclusionTest < Test::Unit::TestCase
31
- should "include the ControllerMethods module" do
32
- assert ActionMailer::Base.included_modules.include?(ThemesForRails::ControllerMethods)
39
+
40
+ should "include the ActionController module" do
41
+ assert ActionMailer::Base.included_modules.include?(ThemesForRails::ActionController)
33
42
  end
43
+
34
44
  end
35
45
 
36
46
  class ActionControllerInclusionTest < Test::Unit::TestCase
37
- should "include the ControllerMethods module" do
38
- assert ActionController::Base.included_modules.include?(ThemesForRails::ControllerMethods)
47
+ should "include the ActionController module" do
48
+ assert ActionController::Base.included_modules.include?(ThemesForRails::ActionController)
39
49
  end
40
50
  end
41
51
 
42
52
  class ApplicationControllerInclusionTest < Test::Unit::TestCase
43
- should "include the ControllerMethods module" do
44
- assert ApplicationController.included_modules.include?(ThemesForRails::ControllerMethods)
53
+ should "include the ActionController module" do
54
+ assert ApplicationController.included_modules.include?(ThemesForRails::ActionController)
45
55
  end
46
56
  end
47
57
 
48
58
  module ThemesForRails
49
- class ControllerMethodsTest < ActionController::TestCase
59
+ class ActionControllerTest < ::ActionController::TestCase
50
60
  context "at class level" do
61
+
51
62
  should "respond_to theme" do
52
63
  assert ApplicationController.respond_to?(:theme)
53
64
  end
65
+
54
66
  context "setting the theme with a String" do
67
+
55
68
  tests MyController
69
+
56
70
  should "set the selected theme for all actions" do
57
71
  MyController.theme 'default'
58
72
  @controller.expects(:set_theme).with('default')
@@ -60,16 +74,22 @@ module ThemesForRails
60
74
  get :hello
61
75
  end
62
76
  end
77
+
63
78
  context "setting the theme with a Symbol" do
79
+
64
80
  tests CustomThemeController
81
+
65
82
  should "call the selected private method" do
66
83
  CustomThemeController.theme :theme_selector
67
84
  get :hello
68
85
  assert_equal 'custom', @controller.theme_name
69
86
  end
70
87
  end
88
+
71
89
  context "setting the theme with a Symbol (private)" do
90
+
72
91
  tests PrivateCustomThemeController
92
+
73
93
  should "call the selected private method" do
74
94
  PrivateCustomThemeController.theme :private_theme_selector
75
95
  get :hello
@@ -77,44 +97,74 @@ module ThemesForRails
77
97
  end
78
98
  end
79
99
  end
100
+
80
101
  context "at instance level" do
102
+
81
103
  tests ApplicationController
104
+
82
105
  should "respond_to theme" do
83
106
  assert @controller.respond_to?(:theme)
84
107
  end
108
+
85
109
  should "should store the theme's name" do
86
110
  @controller.theme 'default'
87
111
  assert_equal @controller.theme_name, 'default'
88
112
  end
113
+
89
114
  context "when a theme has been set" do
115
+
90
116
  tests ApplicationController
117
+
91
118
  should "add the theme's view path to the front of the general view paths" do
92
119
  antes = @controller.view_paths.size
93
120
  @controller.theme 'default'
94
121
  assert_equal antes + 1, @controller.view_paths.size
95
122
  end
123
+
96
124
  should "have a proper view path" do
97
125
  @controller.theme 'default'
98
126
  view_path = @controller.view_paths.first
99
- theme_path = File.expand_path(File.join("test", "dummy_app", "themes", "default", "views"))
100
- assert_equal view_path.to_s, theme_path
127
+ theme_view_path = File.expand_path(File.join("test", "dummy_app", "themes", "default", "views"))
128
+ assert_equal view_path.to_s, theme_view_path
101
129
  end
130
+
102
131
  end
103
132
  end
104
133
  context "using url helpers" do
134
+
105
135
  tests ApplicationController
136
+
106
137
  should "provide url method to access a given stylesheet file in the current theme" do
107
138
  @controller.theme 'default'
108
139
  assert_equal @controller.send(:current_theme_stylesheet_path, "style"), "/themes/default/stylesheets/style.css"
109
140
  end
141
+
110
142
  should "provide url method to access a given javascript file in the current theme" do
111
143
  @controller.theme 'default'
112
144
  assert_equal @controller.send(:current_theme_javascript_path, "app"), "/themes/default/javascripts/app.js"
113
145
  end
146
+
114
147
  should "provide url method to access a given image file in the current theme" do
115
148
  @controller.theme 'default'
116
149
  assert_equal @controller.send(:current_theme_image_path, "logo.png"), "/themes/default/images/logo.png"
117
150
  end
151
+
152
+ context "with multiple dots" do
153
+
154
+ tests ApplicationController
155
+
156
+ should "provide url method to access a given stylesheet file in the current theme" do
157
+ @controller.theme 'default'
158
+ assert_equal @controller.send(:current_theme_stylesheet_path, "style.compact"), "/themes/default/stylesheets/style.compact.css"
159
+ end
160
+
161
+ should "provide url method to access a given javascript file in the current theme" do
162
+ @controller.theme 'default'
163
+ assert_equal @controller.send(:current_theme_javascript_path, "app.min"), "/themes/default/javascripts/app.min.js"
164
+ end
165
+
166
+ end
167
+
118
168
  end
119
169
  end
120
170
  end
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  require File.expand_path("test/test_helper.rb")
2
3
 
3
4
  THEME = 'pink'
@@ -15,7 +16,7 @@ class Notifier < ActionMailer::Base
15
16
  end
16
17
 
17
18
  module ThemesForRails
18
- class MailerMethodsTest < ActionController::TestCase
19
+ class ActionMailerTest < ::ActionController::TestCase
19
20
 
20
21
  should "set theme using mail headers" do
21
22
  Notifier.any_instance.expects(:theme).with("purple")
@@ -0,0 +1,54 @@
1
+ # encoding: utf-8
2
+ require File.expand_path("test/test_helper.rb")
3
+
4
+ class ViewHelpersTest < ::ActionController::IntegrationTest
5
+
6
+ include ::ThemesForRails::ActionView
7
+ include ::ActionView::Helpers::AssetTagHelper
8
+ include ::ERB::Util
9
+ include ::ActionView::Helpers::TagHelper
10
+ include ::ActionView::Helpers::FormTagHelper
11
+ def theme_name
12
+ 'default'
13
+ end
14
+
15
+ def config
16
+ @config ||= stub({:perform_caching => false, :asset_path => "/assets", :asset_host => ''})
17
+ end
18
+ end
19
+
20
+ module ThemesForRails
21
+ class CommonViewHelpersTest < ViewHelpersTest
22
+
23
+ should "provide path helpers for a given theme name" do
24
+
25
+ assert_equal "/themes/sometheme/stylesheets/style.css", theme_stylesheet_path('style', "sometheme")
26
+ assert_equal "/themes/sometheme/javascripts/app.js", theme_javascript_path('app', "sometheme")
27
+ assert_equal "/themes/sometheme/images/logo.png", theme_image_path('logo.png', "sometheme")
28
+
29
+ end
30
+
31
+ should "provide path helpers for a given theme name with dots" do
32
+
33
+ assert_equal "/themes/some.theme/stylesheets/style.css", theme_stylesheet_path('style', "some.theme")
34
+ assert_equal "/themes/some.theme/javascripts/app.js", theme_javascript_path('app', "some.theme")
35
+ assert_equal "/themes/some.theme/images/logo.png", theme_image_path('logo.png', "some.theme")
36
+
37
+ end
38
+
39
+ should 'delegate to stylesheet_link_tag' do
40
+ assert_match /media=.screen/, theme_stylesheet_link_tag('cuac.css')
41
+ end
42
+
43
+ should 'delegate options (lazy testing, I know)' do
44
+ assert_match /media=.print/, theme_stylesheet_link_tag('cuac.css', :media => 'print')
45
+ end
46
+ should 'delegate options in image_tag' do
47
+ assert_match /width=.40/, theme_image_tag('image.css', :size => '40x50')
48
+ end
49
+
50
+ should 'delegate options in image_submit_tag' do
51
+ assert_match /class=.search_button/, theme_image_submit_tag('image.png', :class => 'search_button')
52
+ end
53
+ end
54
+ end
@@ -1,16 +1,20 @@
1
- require "test_helper"
1
+ # encoding: utf-8
2
+ require File.expand_path("test/test_helper.rb")
2
3
 
3
4
  module ThemesForRails
4
- class AssetsControllerTest < ActionController::TestCase
5
+ class AssetsControllerTest < ::ActionController::TestCase
5
6
  tests ThemesForRails::AssetsController
7
+
6
8
  should "respond to stylesheets" do
7
9
  assert @controller.respond_to?(:stylesheets)
8
10
  end
11
+
9
12
  should "respond with the right stylesheet file when requested" do
10
13
  get 'stylesheets', { :theme => 'default', :asset => 'style.css'}
11
14
  assert_response :success
12
15
  assert_equal @response.content_type, 'text/css'
13
16
  end
17
+
14
18
  should "not be success when the stylesheet file is not found" do
15
19
  get 'stylesheets', { :theme => 'default', :asset => 'oldstyle.css'}
16
20
  assert_response :missing
@@ -20,16 +24,19 @@ module ThemesForRails
20
24
  should "respond to javascripts" do
21
25
  assert @controller.respond_to?(:javascripts)
22
26
  end
27
+
23
28
  should "respond with the right javascript file when requested" do
24
29
  get 'javascripts', { :theme => 'default', :asset => 'app.js'}
25
30
  assert_response :success
26
31
  assert_equal @response.content_type, 'text/javascript'
27
32
  end
33
+
28
34
  should "respond with the right javascript file when requested (including multiple dot on the filename)" do
29
35
  get 'javascripts', { :theme => 'default', :asset => 'app.min.js'}
30
36
  assert_response :success
31
37
  assert_equal @response.content_type, 'text/javascript'
32
38
  end
39
+
33
40
  should "not be success when the javascript file is not found" do
34
41
  get 'javascripts', { :theme => 'default', :asset => 'oldapp.js'}
35
42
  assert_response :missing
@@ -39,11 +46,13 @@ module ThemesForRails
39
46
  should "respond to images" do
40
47
  assert @controller.respond_to?(:images)
41
48
  end
49
+
42
50
  should "respond with the right image file when requested" do
43
51
  get 'images', { :theme => 'default', :asset => 'logo.png'}
44
52
  assert_response :success
45
53
  assert_equal 'image/png', @response.content_type
46
54
  end
55
+
47
56
  should "not be success when the image file is not found" do
48
57
  get 'images', { :theme => 'default', :asset => 'i_am_not_here.jpg'}
49
58
  assert_response :missing
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  require File.expand_path("test/test_helper.rb")
2
3
 
3
4
  class ThemesForRailsTest < Test::Unit::TestCase
@@ -7,16 +8,21 @@ class ThemesForRailsTest < Test::Unit::TestCase
7
8
  @common.theme_name = "awesome"
8
9
  ThemesForRails.config.clear
9
10
  end
11
+
10
12
  should 'use config base_dir to build theme path' do
11
- ThemesForRails.config.base_dir ='some_path'
12
- assert_match /some_path/, @common.theme_path
13
+ ThemesForRails.config.base_dir = '/some_path'
14
+ assert_match /some_path/, @common.theme_view_path
13
15
  end
14
- should 'use config themes_dir to build theme path' do
15
- ThemesForRails.config.themes_dir ='skinner'
16
- assert_match /skinner/, @common.theme_path
16
+
17
+ should 'use config views_dir to build theme path' do
18
+ ThemesForRails.config.views_dir =':root/skinner/:name/views'
19
+ assert_match /skinner/, @common.theme_view_path_for('awesome')
20
+ assert_match /skinner/, @common.theme_view_path
17
21
  end
22
+
18
23
  should 'use config base_dir to build theme path for theme' do
19
24
  ThemesForRails.config.base_dir ='some_path'
20
- assert_match /some_path/, @common.theme_path_for('doodley')
25
+ assert_match /some_path/, @common.theme_view_path_for('doodley')
21
26
  end
27
+
22
28
  end
@@ -1,4 +1,5 @@
1
- require 'test_helper'
1
+ # encoding: utf-8
2
+ require File.expand_path("test/test_helper.rb")
2
3
 
3
4
  class ThemesForRailsTest < Test::Unit::TestCase
4
5
 
@@ -12,7 +13,7 @@ class ThemesForRailsTest < Test::Unit::TestCase
12
13
 
13
14
  should 'change the directory to views' do
14
15
  ThemesForRails.config do |config|
15
- config.themes_dir = 'another_themes'
16
+ config.themes_dir = ':root/another_themes'
16
17
  end
17
18
 
18
19
  assert_equal ['another_default'], ThemesForRails.available_theme_names
@@ -0,0 +1,12 @@
1
+ # encoding: utf-8
2
+ require File.expand_path("test/test_helper.rb")
3
+
4
+ class ThemesForRailsIntegrationTest < ::ActionController::IntegrationTest
5
+
6
+ should "work with Rails 3.0 default configuration" do
7
+ asset_path = "/themes/default/stylesheets/style.css"
8
+ get asset_path
9
+ assert_equal 200, status
10
+ assert_equal asset_path, path
11
+ end
12
+ end
@@ -1,7 +1,8 @@
1
- require "test_helper"
1
+ # encoding: utf-8
2
+ require File.expand_path("test/test_helper.rb")
2
3
 
3
4
  module ThemesForRails
4
- class RoutingTest < ActionController::TestCase
5
+ class RoutingTest < ::ActionController::TestCase
5
6
  should "recognize stylesheets route" do
6
7
  assert_generates('/themes/default/stylesheets/app.css', {
7
8
  :controller => 'themes_for_rails/assets',
@@ -1,4 +1,5 @@
1
- require "test_helper"
1
+ # encoding: utf-8
2
+ require File.expand_path("test/test_helper.rb")
2
3
 
3
4
  class ThemesForRailsTest < Test::Unit::TestCase
4
5
 
@@ -7,7 +8,7 @@ class ThemesForRailsTest < Test::Unit::TestCase
7
8
  end
8
9
 
9
10
  should 'use config for each_theme_dir' do
10
- ThemesForRails.config.themes_dir = 'another_themes'
11
+ ThemesForRails.config.themes_dir = ':root/another_themes'
11
12
  assert_equal %w(another_default), ThemesForRails.each_theme_dir.map {|theme| File.basename(theme) }
12
13
  end
13
14
 
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  require 'active_support/test_case'
2
3
 
3
4
  class ActiveSupport::TestCase
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  ENV["RAILS_ENV"] = "test"
2
3
 
3
4
  $:.unshift File.dirname(__FILE__)
@@ -21,4 +21,5 @@ Gem::Specification.new do |gem|
21
21
  gem.add_development_dependency "test-unit"
22
22
  gem.add_development_dependency "contest"
23
23
  gem.add_development_dependency "mocha"
24
+ gem.add_development_dependency('rails', ["= 3.0.11"])
24
25
  end
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: themes_for_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
5
- prerelease:
4
+ version: 0.5.0.pre
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Lucas Florio
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-27 00:00:00.000000000 Z
12
+ date: 2012-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70284078427120 !ruby/object:Gem::Requirement
16
+ requirement: &2153226820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70284078427120
24
+ version_requirements: *2153226820
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &70284078426700 !ruby/object:Gem::Requirement
27
+ requirement: &2153226400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70284078426700
35
+ version_requirements: *2153226400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: test-unit
38
- requirement: &70284078426220 !ruby/object:Gem::Requirement
38
+ requirement: &2153225940 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70284078426220
46
+ version_requirements: *2153225940
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: contest
49
- requirement: &70284078425800 !ruby/object:Gem::Requirement
49
+ requirement: &2153225520 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70284078425800
57
+ version_requirements: *2153225520
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: mocha
60
- requirement: &70284078425380 !ruby/object:Gem::Requirement
60
+ requirement: &2153225100 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,18 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70284078425380
68
+ version_requirements: *2153225100
69
+ - !ruby/object:Gem::Dependency
70
+ name: rails
71
+ requirement: &2153224580 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - =
75
+ - !ruby/object:Gem::Version
76
+ version: 3.0.11
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *2153224580
69
80
  description: It allows an application to have many different ways of rendering static
70
81
  assets and dynamic views.
71
82
  email:
@@ -77,14 +88,16 @@ files:
77
88
  - .gitignore
78
89
  - .rspec
79
90
  - .rvmrc
91
+ - .travis.yml
80
92
  - Gemfile
81
93
  - Gemfile.lock
82
94
  - LICENSE
83
95
  - README.textile
84
- - REVIEW_NOTES
85
- - RMU_REVIEW
86
96
  - Rakefile
87
- - TODO.textile
97
+ - doc/README.textile
98
+ - doc/REVIEW_NOTES
99
+ - doc/RMU_REVIEW
100
+ - doc/TODO.textile
88
101
  - lib/generators/themes_for_rails/install_generator.rb
89
102
  - lib/generators/themes_for_rails/templates/theme/images/.gitkeep
90
103
  - lib/generators/themes_for_rails/templates/theme/javascripts/.gitkeep
@@ -93,16 +106,17 @@ files:
93
106
  - lib/generators/themes_for_rails/theme_generator.rb
94
107
  - lib/tasks/themes_for_rails.rake
95
108
  - lib/themes_for_rails.rb
109
+ - lib/themes_for_rails/action_controller.rb
110
+ - lib/themes_for_rails/action_mailer.rb
111
+ - lib/themes_for_rails/action_view.rb
96
112
  - lib/themes_for_rails/assets_controller.rb
97
113
  - lib/themes_for_rails/common_methods.rb
98
114
  - lib/themes_for_rails/config.rb
99
- - lib/themes_for_rails/controller_methods.rb
100
- - lib/themes_for_rails/mailer_methods.rb
115
+ - lib/themes_for_rails/interpolation.rb
101
116
  - lib/themes_for_rails/railtie.rb
102
117
  - lib/themes_for_rails/routes.rb
103
118
  - lib/themes_for_rails/url_helpers.rb
104
119
  - lib/themes_for_rails/version.rb
105
- - lib/themes_for_rails/view_helpers.rb
106
120
  - test/dummy_app/.gitignore
107
121
  - test/dummy_app/Gemfile
108
122
  - test/dummy_app/Rakefile
@@ -158,14 +172,15 @@ files:
158
172
  - test/dummy_app/themes/default/stylesheets/style2.css
159
173
  - test/dummy_app/themes/default/views/layouts/default.html.erb
160
174
  - test/dummy_app/themes/default/views/products/index.html.erb
175
+ - test/lib/action_controller_test.rb
176
+ - test/lib/action_mailer_test.rb
177
+ - test/lib/action_view_test.rb
161
178
  - test/lib/assets_controller_test.rb
162
179
  - test/lib/common_methods_test.rb
163
180
  - test/lib/config_test.rb
164
- - test/lib/controller_methods_test.rb
165
- - test/lib/mailer_methods_test.rb
181
+ - test/lib/integration_test.rb
166
182
  - test/lib/routes_test.rb
167
183
  - test/lib/themes_for_rails_test.rb
168
- - test/lib/view_helpers_test.rb
169
184
  - test/support/extensions.rb
170
185
  - test/test_helper.rb
171
186
  - themes_for_rails.gemspec
@@ -184,12 +199,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
199
  required_rubygems_version: !ruby/object:Gem::Requirement
185
200
  none: false
186
201
  requirements:
187
- - - ! '>='
202
+ - - ! '>'
188
203
  - !ruby/object:Gem::Version
189
- version: '0'
204
+ version: 1.3.1
190
205
  requirements: []
191
206
  rubyforge_project:
192
- rubygems_version: 1.8.15
207
+ rubygems_version: 1.8.10
193
208
  signing_key:
194
209
  specification_version: 3
195
210
  summary: Theme Support for Rails 3
@@ -249,13 +264,14 @@ test_files:
249
264
  - test/dummy_app/themes/default/stylesheets/style2.css
250
265
  - test/dummy_app/themes/default/views/layouts/default.html.erb
251
266
  - test/dummy_app/themes/default/views/products/index.html.erb
267
+ - test/lib/action_controller_test.rb
268
+ - test/lib/action_mailer_test.rb
269
+ - test/lib/action_view_test.rb
252
270
  - test/lib/assets_controller_test.rb
253
271
  - test/lib/common_methods_test.rb
254
272
  - test/lib/config_test.rb
255
- - test/lib/controller_methods_test.rb
256
- - test/lib/mailer_methods_test.rb
273
+ - test/lib/integration_test.rb
257
274
  - test/lib/routes_test.rb
258
275
  - test/lib/themes_for_rails_test.rb
259
- - test/lib/view_helpers_test.rb
260
276
  - test/support/extensions.rb
261
277
  - test/test_helper.rb