disguise 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. data/README.rdoc +5 -1
  2. data/Rakefile +6 -5
  3. data/VERSION +1 -1
  4. data/disguise.gemspec +122 -8
  5. data/generators/theme/templates/views/_footer.html.erb +1 -5
  6. data/generators/theme/templates/views/_head.html.erb +3 -4
  7. data/generators/theme/templates/views/_header.html.erb +0 -25
  8. data/generators/theme/templates/views/default.html.erb +0 -1
  9. data/generators/theme/theme_generator.rb +1 -1
  10. data/rails/init.rb +1 -2
  11. data/test/rails_root/.gitignore +8 -0
  12. data/test/rails_root/.rake_tasks +103 -0
  13. data/test/rails_root/Capfile +3 -0
  14. data/test/rails_root/Rakefile +10 -0
  15. data/test/rails_root/app/controllers/admin/themes_controller.rb +4 -0
  16. data/test/rails_root/app/controllers/application_controller.rb +4 -0
  17. data/test/rails_root/app/controllers/default_controller.rb +6 -0
  18. data/test/rails_root/app/models/.keep +0 -0
  19. data/test/rails_root/app/models/user.rb +9 -0
  20. data/test/rails_root/app/views/default/index.html.erb +1 -0
  21. data/test/rails_root/app/views/layouts/default.html.erb +26 -0
  22. data/test/rails_root/config/amazon_s3.yml +14 -0
  23. data/test/rails_root/config/boot.rb +109 -0
  24. data/test/rails_root/config/database.yml +14 -0
  25. data/test/rails_root/config/environment.rb +21 -0
  26. data/test/rails_root/config/environments/development.rb +19 -0
  27. data/test/rails_root/config/environments/production.rb +1 -0
  28. data/test/rails_root/config/environments/test.rb +33 -0
  29. data/test/rails_root/config/global_config.yml +18 -0
  30. data/test/rails_root/config/initializers/inflections.rb +10 -0
  31. data/test/rails_root/config/initializers/mime_types.rb +5 -0
  32. data/test/rails_root/config/initializers/requires.rb +13 -0
  33. data/test/rails_root/config/initializers/s3_credentials.rb +9 -0
  34. data/test/rails_root/config/initializers/session_store.rb +8 -0
  35. data/test/rails_root/config/routes.rb +7 -0
  36. data/test/rails_root/db/.keep +0 -0
  37. data/test/rails_root/db/migrate/20090530170040_create_themes.rb +11 -0
  38. data/test/rails_root/db/migrate/20090602041838_create_users.rb +12 -0
  39. data/test/rails_root/features/step_definitions/webrat_steps.rb +99 -0
  40. data/test/rails_root/features/support/env.rb +14 -0
  41. data/test/rails_root/public/.htaccess +40 -0
  42. data/test/rails_root/public/404.html +30 -0
  43. data/test/rails_root/public/422.html +30 -0
  44. data/test/rails_root/public/500.html +30 -0
  45. data/test/rails_root/public/dispatch.rb +10 -0
  46. data/test/rails_root/public/favicon.ico +0 -0
  47. data/test/rails_root/public/images/blue/preview.gif +0 -0
  48. data/test/rails_root/public/images/rails.png +0 -0
  49. data/test/rails_root/public/images/red/preview.gif +0 -0
  50. data/test/rails_root/public/javascripts/application.js +2 -0
  51. data/test/rails_root/public/javascripts/builder.js +136 -0
  52. data/test/rails_root/public/javascripts/controls.js +963 -0
  53. data/test/rails_root/public/javascripts/dragdrop.js +972 -0
  54. data/test/rails_root/public/javascripts/effects.js +1120 -0
  55. data/test/rails_root/public/javascripts/prototype.js +4225 -0
  56. data/test/rails_root/public/javascripts/scriptaculous.js +58 -0
  57. data/test/rails_root/public/javascripts/slider.js +277 -0
  58. data/test/rails_root/public/javascripts/sound.js +60 -0
  59. data/test/rails_root/public/robots.txt +1 -0
  60. data/test/rails_root/public/stylesheets/.keep +0 -0
  61. data/test/rails_root/public/stylesheets/themes/blue/styles.css +1 -0
  62. data/test/rails_root/public/stylesheets/themes/red/styles.css +1 -0
  63. data/test/rails_root/script/about +3 -0
  64. data/test/rails_root/script/breakpointer +3 -0
  65. data/test/rails_root/script/console +3 -0
  66. data/test/rails_root/script/create_project.rb +52 -0
  67. data/test/rails_root/script/cucumber +7 -0
  68. data/test/rails_root/script/dbconsole +3 -0
  69. data/test/rails_root/script/destroy +3 -0
  70. data/test/rails_root/script/generate +3 -0
  71. data/test/rails_root/script/performance/benchmarker +3 -0
  72. data/test/rails_root/script/performance/profiler +3 -0
  73. data/test/rails_root/script/performance/request +3 -0
  74. data/test/rails_root/script/plugin +3 -0
  75. data/test/rails_root/script/process/inspector +3 -0
  76. data/test/rails_root/script/process/reaper +3 -0
  77. data/test/rails_root/script/process/spawner +3 -0
  78. data/test/rails_root/script/runner +3 -0
  79. data/test/rails_root/script/server +3 -0
  80. data/test/rails_root/test/factories.rb +7 -0
  81. data/test/rails_root/test/functional/.keep +0 -0
  82. data/test/rails_root/test/functional/admin/themes_controller_test.rb +42 -0
  83. data/test/rails_root/test/functional/default_controller_test.rb +60 -0
  84. data/test/rails_root/test/integration/.keep +0 -0
  85. data/test/rails_root/test/mocks/development/.keep +0 -0
  86. data/test/rails_root/test/mocks/test/.keep +0 -0
  87. data/test/rails_root/test/test_helper.rb +35 -0
  88. data/test/rails_root/test/unit/.keep +0 -0
  89. data/test/rails_root/test/unit/theme_test.rb +25 -0
  90. data/test/rails_root/themes/blue/description.txt +1 -0
  91. data/test/rails_root/themes/blue/locales/blue.yml +2 -0
  92. data/test/rails_root/themes/blue/locales/en.yml +2 -0
  93. data/test/rails_root/themes/blue/views/default/index.html.erb +1 -0
  94. data/test/rails_root/themes/blue/views/layouts/default.html.erb +17 -0
  95. data/test/rails_root/themes/blue/views/layouts/global/_footer.html.erb +2 -0
  96. data/test/rails_root/themes/blue/views/layouts/global/_head.html.erb +7 -0
  97. data/test/rails_root/themes/blue/views/layouts/global/_header.html.erb +4 -0
  98. data/test/rails_root/themes/red/description.txt +1 -0
  99. data/test/rails_root/themes/red/locales/en.yml +2 -0
  100. data/test/rails_root/themes/red/views/layouts/default.html.erb +17 -0
  101. data/test/rails_root/themes/red/views/layouts/global/_footer.html.erb +3 -0
  102. data/test/rails_root/themes/red/views/layouts/global/_head.html.erb +7 -0
  103. data/test/rails_root/themes/red/views/layouts/global/_header.html.erb +4 -0
  104. metadata +122 -6
  105. data/test/disguise_test.rb +0 -7
  106. data/test/test_helper.rb +0 -18
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ begin
3
+ load File.expand_path(File.dirname(__FILE__) + "/../vendor/plugins/cucumber/bin/cucumber")
4
+ rescue LoadError
5
+ require "rubygems"
6
+ load File.join(Gem.bindir, "cucumber")
7
+ end
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/dbconsole'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/destroy'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/generate'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/performance/benchmarker'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/performance/profiler'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/performance/request'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/plugin'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/process/inspector'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/process/reaper'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../../config/boot'
3
+ require 'commands/process/spawner'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/runner'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require 'commands/server'
@@ -0,0 +1,7 @@
1
+ Factory.sequence :name do |n|
2
+ "a_name#{n}"
3
+ end
4
+
5
+ Factory.define :user do |f|
6
+ f.name { Factory.next(:name) }
7
+ end
File without changes
@@ -0,0 +1,42 @@
1
+ require File.dirname(__FILE__) + '/../../test_helper'
2
+
3
+ class Admin::ThemesControllerTest < ActionController::TestCase
4
+
5
+ def setup
6
+ @controller = Admin::ThemesController.new
7
+ @request = ActionController::TestRequest.new
8
+ @response = ActionController::TestResponse.new
9
+ end
10
+
11
+ context "get edit page - no themes" do
12
+ setup do
13
+ @themes = mock()
14
+ @current_theme = mock()
15
+ @themes.stubs(:empty?).returns(true)
16
+ Theme.stubs(:available_themes).returns([@current_theme, @themes])
17
+ get :edit
18
+ end
19
+ should_respond_with :success
20
+ should_render_template 'admin/themes/no_themes'
21
+ end
22
+
23
+ context "get edit page" do
24
+ setup do
25
+ get :edit
26
+ end
27
+ should_respond_with :success
28
+ should_render_template 'admin/themes/edit'
29
+ end
30
+
31
+ context "update the current theme" do
32
+ setup do
33
+ setup_theme
34
+ put :update, :theme => { :current => 'red' }
35
+ end
36
+ should "change the current theme" do
37
+ assert_equal Theme.first.current, 'red'
38
+ end
39
+ should_set_the_flash_to(I18n.t("disguise.theme_updated"))
40
+ should_redirect_to("edit theme") { edit_admin_theme_path }
41
+ end
42
+ end
@@ -0,0 +1,60 @@
1
+ require File.dirname(__FILE__) + '/../test_helper'
2
+
3
+ class DefaultControllerTest < ActionController::TestCase
4
+
5
+ def setup
6
+ @controller = DefaultController.new
7
+ @request = ActionController::TestRequest.new
8
+ @response = ActionController::TestResponse.new
9
+ end
10
+
11
+ context "get home page" do
12
+ setup do
13
+ get :index
14
+ end
15
+ should_respond_with :success
16
+ should_render_template :index # rendering the default home page
17
+ end
18
+
19
+ context "requests" do
20
+ setup do
21
+ setup_theme
22
+ get :index
23
+ end
24
+
25
+ should "not add more than one item to the view path" do
26
+ assert @controller.view_paths.length == 3
27
+ end
28
+
29
+ context "second request" do
30
+ setup do
31
+ clean_theme_view_path(@controller)
32
+ get :index
33
+ end
34
+ should "not add any more items to the viewpath" do
35
+ assert @controller.view_paths.length == 3
36
+ end
37
+ end
38
+
39
+ should "have blue in the view path" do
40
+ assert @controller.view_paths[0].to_s.include?('themes/blue/views'), "The blue theme should be first in the view paths but was #{@controller.view_paths[0]}"
41
+ end
42
+
43
+ end
44
+
45
+ context "multiple requests" do
46
+ setup do
47
+ clean_theme_locale
48
+ @default_locales_length = I18n.load_path.length
49
+ @default_locales_length.freeze
50
+ setup_theme
51
+ get :index
52
+ get :index
53
+ get :index
54
+ end
55
+ should "not add extra locales" do
56
+ assert_equal @default_locales_length + @theme.locales.length, I18n.load_path.length
57
+ end
58
+ end
59
+
60
+ end
File without changes
File without changes
File without changes
@@ -0,0 +1,35 @@
1
+ $:.reject! { |e| e.include? 'TextMate' }
2
+ ENV["RAILS_ENV"] = "test"
3
+ require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
4
+
5
+ require 'test_help'
6
+ gem 'thoughtbot-factory_girl' # from github
7
+ require 'factory_girl'
8
+ require 'ruby-debug'
9
+ require 'mocha'
10
+ require 'redgreen' rescue LoadError
11
+ require File.expand_path(File.dirname(__FILE__) + '/factories')
12
+ class ActiveSupport::TestCase
13
+
14
+ self.use_transactional_fixtures = true
15
+ self.use_instantiated_fixtures = false
16
+
17
+ def ensure_flash(val)
18
+ assert_contains flash.values, val, ", Flash: #{flash.inspect}"
19
+ end
20
+
21
+ def setup_theme
22
+ @theme = Theme.first || Theme.create
23
+ @theme.current = 'blue'
24
+ @theme.save!
25
+ end
26
+
27
+ def clean_theme_view_path(controller)
28
+ controller.view_paths.delete_if {|view_path| view_path.to_s.index(Disguise::THEME_PATH) == 0}
29
+ end
30
+
31
+ def clean_theme_locale
32
+ I18n.load_path.delete_if {|localization_path| localization_path.index(Disguise::THEME_FULL_BASE_PATH) == 0}
33
+ end
34
+
35
+ end
File without changes
@@ -0,0 +1,25 @@
1
+ require 'test_helper'
2
+
3
+ class ThemeTest < ActiveSupport::TestCase
4
+
5
+ context "theme" do
6
+ setup do
7
+ @theme = Theme.first || Theme.create
8
+ @theme.current = 'blue'
9
+ @blue_theme_hash = {:name=>"blue", :description=>"Put information about your theme here", :preview_image=>"/images/blue/preview.gif"}
10
+ end
11
+ context "locales" do
12
+ should "get the locales for the current theme" do
13
+ assert @theme.locales.any? {|locale| locale.index('blue') > 0}, "locales for the blue theme did not contain blue.yml"
14
+ end
15
+ end
16
+ context "available themes" do
17
+ should "find 2 themes" do
18
+ current_theme, themes = Theme.available_themes(@theme)
19
+ assert themes.length == 2
20
+ assert_equal current_theme, @blue_theme_hash
21
+ end
22
+ end
23
+ end
24
+
25
+ end
@@ -0,0 +1 @@
1
+ Put information about your theme here
@@ -0,0 +1,2 @@
1
+ blue:
2
+ nothing_here: nothing
@@ -0,0 +1,2 @@
1
+ en:
2
+ start: 'put strings to be translated in this file'
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
+ <head>
4
+ <%= render :partial => 'layouts/global/head' %>
5
+ </head>
6
+ <body>
7
+ <div id="header">
8
+ <%= render :partial => 'layouts/global/header' %>
9
+ </div>
10
+ <div id="main">
11
+ <div id="content">
12
+ <%= yield %>
13
+ </div>
14
+ </div>
15
+ <%= render :partial => 'layouts/global/footer' %>
16
+ </body>
17
+ </html>
@@ -0,0 +1,2 @@
1
+ <div id="footer">
2
+ </div>
@@ -0,0 +1,7 @@
1
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
2
+ <title>blue</title>
3
+ <%= stylesheet_link_tag 'application', :cache=>true -%>
4
+ <%= javascript_include_tag 'application' -%>
5
+ <%= javascript_tag %[const AUTH_TOKEN = #{form_authenticity_token.inspect};] if protect_against_forgery? -%>
6
+ <%= yield :head -%>
7
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
@@ -0,0 +1,4 @@
1
+ <div id="top-navigation">
2
+ </div>
3
+
4
+ <div class="clear"></div>
@@ -0,0 +1 @@
1
+ Put information about your theme here
@@ -0,0 +1,2 @@
1
+ en:
2
+ start: 'put strings to be translated in this file'
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
+ <head>
4
+ <%= render :partial => 'layouts/global/head' %>
5
+ </head>
6
+ <body>
7
+ <div id="header">
8
+ <%= render :partial => 'layouts/global/header' %>
9
+ </div>
10
+ <div id="main">
11
+ <div id="content">
12
+ <%= yield %>
13
+ </div>
14
+ </div>
15
+ <%= render :partial => 'layouts/global/footer' %>
16
+ </body>
17
+ </html>
@@ -0,0 +1,3 @@
1
+ <div id="footer">
2
+
3
+ </div>
@@ -0,0 +1,7 @@
1
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
2
+ <title>red</title>
3
+ <%= stylesheet_link_tag 'application', :cache=>true -%>
4
+ <%= javascript_include_tag 'application' -%>
5
+ <%= javascript_tag %[const AUTH_TOKEN = #{form_authenticity_token.inspect};] if protect_against_forgery? -%>
6
+ <%= yield :head -%>
7
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
@@ -0,0 +1,4 @@
1
+ <div id="top-navigation">
2
+ </div>
3
+
4
+ <div class="clear"></div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: disguise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-31 00:00:00 -06:00
12
+ date: 2009-06-04 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -86,8 +86,99 @@ files:
86
86
  - locales/zh.yml
87
87
  - rails/init.rb
88
88
  - tasks/rails.rake
89
- - test/disguise_test.rb
90
- - test/test_helper.rb
89
+ - test/rails_root/.gitignore
90
+ - test/rails_root/.rake_tasks
91
+ - test/rails_root/Capfile
92
+ - test/rails_root/Rakefile
93
+ - test/rails_root/app/controllers/admin/themes_controller.rb
94
+ - test/rails_root/app/controllers/application_controller.rb
95
+ - test/rails_root/app/controllers/default_controller.rb
96
+ - test/rails_root/app/models/.keep
97
+ - test/rails_root/app/models/user.rb
98
+ - test/rails_root/app/views/default/index.html.erb
99
+ - test/rails_root/app/views/layouts/default.html.erb
100
+ - test/rails_root/config/amazon_s3.yml
101
+ - test/rails_root/config/boot.rb
102
+ - test/rails_root/config/database.yml
103
+ - test/rails_root/config/environment.rb
104
+ - test/rails_root/config/environments/development.rb
105
+ - test/rails_root/config/environments/production.rb
106
+ - test/rails_root/config/environments/test.rb
107
+ - test/rails_root/config/global_config.yml
108
+ - test/rails_root/config/initializers/inflections.rb
109
+ - test/rails_root/config/initializers/mime_types.rb
110
+ - test/rails_root/config/initializers/requires.rb
111
+ - test/rails_root/config/initializers/s3_credentials.rb
112
+ - test/rails_root/config/initializers/session_store.rb
113
+ - test/rails_root/config/routes.rb
114
+ - test/rails_root/db/.keep
115
+ - test/rails_root/db/migrate/20090530170040_create_themes.rb
116
+ - test/rails_root/db/migrate/20090602041838_create_users.rb
117
+ - test/rails_root/features/step_definitions/webrat_steps.rb
118
+ - test/rails_root/features/support/env.rb
119
+ - test/rails_root/public/.htaccess
120
+ - test/rails_root/public/404.html
121
+ - test/rails_root/public/422.html
122
+ - test/rails_root/public/500.html
123
+ - test/rails_root/public/dispatch.rb
124
+ - test/rails_root/public/favicon.ico
125
+ - test/rails_root/public/images/blue/preview.gif
126
+ - test/rails_root/public/images/rails.png
127
+ - test/rails_root/public/images/red/preview.gif
128
+ - test/rails_root/public/javascripts/application.js
129
+ - test/rails_root/public/javascripts/builder.js
130
+ - test/rails_root/public/javascripts/controls.js
131
+ - test/rails_root/public/javascripts/dragdrop.js
132
+ - test/rails_root/public/javascripts/effects.js
133
+ - test/rails_root/public/javascripts/prototype.js
134
+ - test/rails_root/public/javascripts/scriptaculous.js
135
+ - test/rails_root/public/javascripts/slider.js
136
+ - test/rails_root/public/javascripts/sound.js
137
+ - test/rails_root/public/robots.txt
138
+ - test/rails_root/public/stylesheets/.keep
139
+ - test/rails_root/public/stylesheets/themes/blue/styles.css
140
+ - test/rails_root/public/stylesheets/themes/red/styles.css
141
+ - test/rails_root/script/about
142
+ - test/rails_root/script/breakpointer
143
+ - test/rails_root/script/console
144
+ - test/rails_root/script/create_project.rb
145
+ - test/rails_root/script/cucumber
146
+ - test/rails_root/script/dbconsole
147
+ - test/rails_root/script/destroy
148
+ - test/rails_root/script/generate
149
+ - test/rails_root/script/performance/benchmarker
150
+ - test/rails_root/script/performance/profiler
151
+ - test/rails_root/script/performance/request
152
+ - test/rails_root/script/plugin
153
+ - test/rails_root/script/process/inspector
154
+ - test/rails_root/script/process/reaper
155
+ - test/rails_root/script/process/spawner
156
+ - test/rails_root/script/runner
157
+ - test/rails_root/script/server
158
+ - test/rails_root/test/factories.rb
159
+ - test/rails_root/test/functional/.keep
160
+ - test/rails_root/test/functional/admin/themes_controller_test.rb
161
+ - test/rails_root/test/functional/default_controller_test.rb
162
+ - test/rails_root/test/integration/.keep
163
+ - test/rails_root/test/mocks/development/.keep
164
+ - test/rails_root/test/mocks/test/.keep
165
+ - test/rails_root/test/test_helper.rb
166
+ - test/rails_root/test/unit/.keep
167
+ - test/rails_root/test/unit/theme_test.rb
168
+ - test/rails_root/themes/blue/description.txt
169
+ - test/rails_root/themes/blue/locales/blue.yml
170
+ - test/rails_root/themes/blue/locales/en.yml
171
+ - test/rails_root/themes/blue/views/default/index.html.erb
172
+ - test/rails_root/themes/blue/views/layouts/default.html.erb
173
+ - test/rails_root/themes/blue/views/layouts/global/_footer.html.erb
174
+ - test/rails_root/themes/blue/views/layouts/global/_head.html.erb
175
+ - test/rails_root/themes/blue/views/layouts/global/_header.html.erb
176
+ - test/rails_root/themes/red/description.txt
177
+ - test/rails_root/themes/red/locales/en.yml
178
+ - test/rails_root/themes/red/views/layouts/default.html.erb
179
+ - test/rails_root/themes/red/views/layouts/global/_footer.html.erb
180
+ - test/rails_root/themes/red/views/layouts/global/_head.html.erb
181
+ - test/rails_root/themes/red/views/layouts/global/_header.html.erb
91
182
  has_rdoc: true
92
183
  homepage: http://github.com/jbasdf/disguise
93
184
  post_install_message:
@@ -115,5 +206,30 @@ signing_key:
115
206
  specification_version: 2
116
207
  summary: Easy to use view theme system for Rails
117
208
  test_files:
118
- - test/disguise_test.rb
119
- - test/test_helper.rb
209
+ - test/rails_root/app/controllers/admin/themes_controller.rb
210
+ - test/rails_root/app/controllers/application_controller.rb
211
+ - test/rails_root/app/controllers/default_controller.rb
212
+ - test/rails_root/app/models/user.rb
213
+ - test/rails_root/config/boot.rb
214
+ - test/rails_root/config/environment.rb
215
+ - test/rails_root/config/environments/development.rb
216
+ - test/rails_root/config/environments/production.rb
217
+ - test/rails_root/config/environments/test.rb
218
+ - test/rails_root/config/initializers/inflections.rb
219
+ - test/rails_root/config/initializers/mime_types.rb
220
+ - test/rails_root/config/initializers/requires.rb
221
+ - test/rails_root/config/initializers/s3_credentials.rb
222
+ - test/rails_root/config/initializers/session_store.rb
223
+ - test/rails_root/config/routes.rb
224
+ - test/rails_root/db/migrate/20090530170040_create_themes.rb
225
+ - test/rails_root/db/migrate/20090602041838_create_users.rb
226
+ - test/rails_root/db/schema.rb
227
+ - test/rails_root/features/step_definitions/webrat_steps.rb
228
+ - test/rails_root/features/support/env.rb
229
+ - test/rails_root/public/dispatch.rb
230
+ - test/rails_root/script/create_project.rb
231
+ - test/rails_root/test/factories.rb
232
+ - test/rails_root/test/functional/admin/themes_controller_test.rb
233
+ - test/rails_root/test/functional/default_controller_test.rb
234
+ - test/rails_root/test/test_helper.rb
235
+ - test/rails_root/test/unit/theme_test.rb