themes_for_rails 0.2.1

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 (75) hide show
  1. data/.gitignore +3 -0
  2. data/.rvmrc +5 -0
  3. data/Gemfile +11 -0
  4. data/Gemfile.lock +108 -0
  5. data/README.textile +155 -0
  6. data/Rakefile +33 -0
  7. data/init.rb +1 -0
  8. data/lib/generators/theme_for_rails/install_generator.rb +11 -0
  9. data/lib/generators/theme_for_rails/templates/theme/images/.gitkeep +0 -0
  10. data/lib/generators/theme_for_rails/templates/theme/javascripts/.gitkeep +0 -0
  11. data/lib/generators/theme_for_rails/templates/theme/stylesheets/.gitkeep +0 -0
  12. data/lib/generators/theme_for_rails/templates/theme/views/layouts/.gitkeep +0 -0
  13. data/lib/generators/theme_for_rails/theme_generator.rb +17 -0
  14. data/lib/tasks/themes_for_rails.rake +21 -0
  15. data/lib/themes_for_rails.rb +23 -0
  16. data/lib/themes_for_rails/assets_controller.rb +37 -0
  17. data/lib/themes_for_rails/common_methods.rb +48 -0
  18. data/lib/themes_for_rails/controller_methods.rb +23 -0
  19. data/lib/themes_for_rails/railtie.rb +18 -0
  20. data/lib/themes_for_rails/routes.rb +15 -0
  21. data/lib/themes_for_rails/url_helpers.rb +23 -0
  22. data/lib/themes_for_rails/version.rb +3 -0
  23. data/lib/themes_for_rails/view_helpers.rb +37 -0
  24. data/test/assets_controller_test.rb +46 -0
  25. data/test/controller_methods_test.rb +78 -0
  26. data/test/dummy_app/.gitignore +4 -0
  27. data/test/dummy_app/Gemfile +30 -0
  28. data/test/dummy_app/Rakefile +7 -0
  29. data/test/dummy_app/app/controllers/application_controller.rb +3 -0
  30. data/test/dummy_app/app/helpers/application_helper.rb +2 -0
  31. data/test/dummy_app/app/views/layouts/application.html.erb +14 -0
  32. data/test/dummy_app/config.ru +4 -0
  33. data/test/dummy_app/config/application.rb +42 -0
  34. data/test/dummy_app/config/boot.rb +13 -0
  35. data/test/dummy_app/config/database.yml +18 -0
  36. data/test/dummy_app/config/environment.rb +5 -0
  37. data/test/dummy_app/config/environments/development.rb +26 -0
  38. data/test/dummy_app/config/environments/production.rb +49 -0
  39. data/test/dummy_app/config/environments/test.rb +35 -0
  40. data/test/dummy_app/config/initializers/backtrace_silencers.rb +7 -0
  41. data/test/dummy_app/config/initializers/inflections.rb +10 -0
  42. data/test/dummy_app/config/initializers/mime_types.rb +5 -0
  43. data/test/dummy_app/config/initializers/secret_token.rb +7 -0
  44. data/test/dummy_app/config/initializers/session_store.rb +8 -0
  45. data/test/dummy_app/config/locales/en.yml +5 -0
  46. data/test/dummy_app/config/routes.rb +4 -0
  47. data/test/dummy_app/db/seeds.rb +7 -0
  48. data/test/dummy_app/lib/tasks/.gitkeep +0 -0
  49. data/test/dummy_app/public/404.html +26 -0
  50. data/test/dummy_app/public/422.html +26 -0
  51. data/test/dummy_app/public/500.html +26 -0
  52. data/test/dummy_app/public/favicon.ico +0 -0
  53. data/test/dummy_app/public/images/rails.png +0 -0
  54. data/test/dummy_app/public/index.html +239 -0
  55. data/test/dummy_app/public/javascripts/application.js +2 -0
  56. data/test/dummy_app/public/javascripts/controls.js +965 -0
  57. data/test/dummy_app/public/javascripts/dragdrop.js +974 -0
  58. data/test/dummy_app/public/javascripts/effects.js +1123 -0
  59. data/test/dummy_app/public/javascripts/prototype.js +6001 -0
  60. data/test/dummy_app/public/javascripts/rails.js +175 -0
  61. data/test/dummy_app/public/robots.txt +5 -0
  62. data/test/dummy_app/public/stylesheets/.gitkeep +0 -0
  63. data/test/dummy_app/script/rails +6 -0
  64. data/test/dummy_app/themes/default/images/logo.png +0 -0
  65. data/test/dummy_app/themes/default/javascripts/app.js +1 -0
  66. data/test/dummy_app/themes/default/stylesheets/style.css +0 -0
  67. data/test/dummy_app/themes/default/stylesheets/style2.css +3 -0
  68. data/test/dummy_app/themes/default/views/layouts/default.html.erb +10 -0
  69. data/test/dummy_app/themes/default/views/products/index.html.erb +0 -0
  70. data/test/routes_test.rb +33 -0
  71. data/test/support/extensions.rb +16 -0
  72. data/test/test_helper.rb +10 -0
  73. data/test/themes_for_rails_test.rb +7 -0
  74. data/themes_for_rails.gemspec +133 -0
  75. metadata +157 -0
@@ -0,0 +1,175 @@
1
+ (function() {
2
+ // Technique from Juriy Zaytsev
3
+ // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
4
+ function isEventSupported(eventName) {
5
+ var el = document.createElement('div');
6
+ eventName = 'on' + eventName;
7
+ var isSupported = (eventName in el);
8
+ if (!isSupported) {
9
+ el.setAttribute(eventName, 'return;');
10
+ isSupported = typeof el[eventName] == 'function';
11
+ }
12
+ el = null;
13
+ return isSupported;
14
+ }
15
+
16
+ function isForm(element) {
17
+ return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM'
18
+ }
19
+
20
+ function isInput(element) {
21
+ if (Object.isElement(element)) {
22
+ var name = element.nodeName.toUpperCase()
23
+ return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA'
24
+ }
25
+ else return false
26
+ }
27
+
28
+ var submitBubbles = isEventSupported('submit'),
29
+ changeBubbles = isEventSupported('change')
30
+
31
+ if (!submitBubbles || !changeBubbles) {
32
+ // augment the Event.Handler class to observe custom events when needed
33
+ Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
34
+ function(init, element, eventName, selector, callback) {
35
+ init(element, eventName, selector, callback)
36
+ // is the handler being attached to an element that doesn't support this event?
37
+ if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
38
+ (!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
39
+ // "submit" => "emulated:submit"
40
+ this.eventName = 'emulated:' + this.eventName
41
+ }
42
+ }
43
+ )
44
+ }
45
+
46
+ if (!submitBubbles) {
47
+ // discover forms on the page by observing focus events which always bubble
48
+ document.on('focusin', 'form', function(focusEvent, form) {
49
+ // special handler for the real "submit" event (one-time operation)
50
+ if (!form.retrieve('emulated:submit')) {
51
+ form.on('submit', function(submitEvent) {
52
+ var emulated = form.fire('emulated:submit', submitEvent, true)
53
+ // if custom event received preventDefault, cancel the real one too
54
+ if (emulated.returnValue === false) submitEvent.preventDefault()
55
+ })
56
+ form.store('emulated:submit', true)
57
+ }
58
+ })
59
+ }
60
+
61
+ if (!changeBubbles) {
62
+ // discover form inputs on the page
63
+ document.on('focusin', 'input, select, texarea', function(focusEvent, input) {
64
+ // special handler for real "change" events
65
+ if (!input.retrieve('emulated:change')) {
66
+ input.on('change', function(changeEvent) {
67
+ input.fire('emulated:change', changeEvent, true)
68
+ })
69
+ input.store('emulated:change', true)
70
+ }
71
+ })
72
+ }
73
+
74
+ function handleRemote(element) {
75
+ var method, url, params;
76
+
77
+ var event = element.fire("ajax:before");
78
+ if (event.stopped) return false;
79
+
80
+ if (element.tagName.toLowerCase() === 'form') {
81
+ method = element.readAttribute('method') || 'post';
82
+ url = element.readAttribute('action');
83
+ params = element.serialize();
84
+ } else {
85
+ method = element.readAttribute('data-method') || 'get';
86
+ url = element.readAttribute('href');
87
+ params = {};
88
+ }
89
+
90
+ new Ajax.Request(url, {
91
+ method: method,
92
+ parameters: params,
93
+ evalScripts: true,
94
+
95
+ onComplete: function(request) { element.fire("ajax:complete", request); },
96
+ onSuccess: function(request) { element.fire("ajax:success", request); },
97
+ onFailure: function(request) { element.fire("ajax:failure", request); }
98
+ });
99
+
100
+ element.fire("ajax:after");
101
+ }
102
+
103
+ function handleMethod(element) {
104
+ var method = element.readAttribute('data-method'),
105
+ url = element.readAttribute('href'),
106
+ csrf_param = $$('meta[name=csrf-param]')[0],
107
+ csrf_token = $$('meta[name=csrf-token]')[0];
108
+
109
+ var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
110
+ element.parentNode.insert(form);
111
+
112
+ if (method !== 'post') {
113
+ var field = new Element('input', { type: 'hidden', name: '_method', value: method });
114
+ form.insert(field);
115
+ }
116
+
117
+ if (csrf_param) {
118
+ var param = csrf_param.readAttribute('content'),
119
+ token = csrf_token.readAttribute('content'),
120
+ field = new Element('input', { type: 'hidden', name: param, value: token });
121
+ form.insert(field);
122
+ }
123
+
124
+ form.submit();
125
+ }
126
+
127
+
128
+ document.on("click", "*[data-confirm]", function(event, element) {
129
+ var message = element.readAttribute('data-confirm');
130
+ if (!confirm(message)) event.stop();
131
+ });
132
+
133
+ document.on("click", "a[data-remote]", function(event, element) {
134
+ if (event.stopped) return;
135
+ handleRemote(element);
136
+ event.stop();
137
+ });
138
+
139
+ document.on("click", "a[data-method]", function(event, element) {
140
+ if (event.stopped) return;
141
+ handleMethod(element);
142
+ event.stop();
143
+ });
144
+
145
+ document.on("submit", function(event) {
146
+ var element = event.findElement(),
147
+ message = element.readAttribute('data-confirm');
148
+ if (message && !confirm(message)) {
149
+ event.stop();
150
+ return false;
151
+ }
152
+
153
+ var inputs = element.select("input[type=submit][data-disable-with]");
154
+ inputs.each(function(input) {
155
+ input.disabled = true;
156
+ input.writeAttribute('data-original-value', input.value);
157
+ input.value = input.readAttribute('data-disable-with');
158
+ });
159
+
160
+ var element = event.findElement("form[data-remote]");
161
+ if (element) {
162
+ handleRemote(element);
163
+ event.stop();
164
+ }
165
+ });
166
+
167
+ document.on("ajax:after", "form", function(event, element) {
168
+ var inputs = element.select("input[type=submit][disabled=true][data-disable-with]");
169
+ inputs.each(function(input) {
170
+ input.value = input.readAttribute('data-original-value');
171
+ input.removeAttribute('data-original-value');
172
+ input.disabled = false;
173
+ });
174
+ });
175
+ })();
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,3 @@
1
+ a {
2
+ color: green;
3
+ }
@@ -0,0 +1,10 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html>
4
+ <head>
5
+ <title>App!</title>
6
+ </head>
7
+ <body>
8
+
9
+ </body>
10
+ </html>
@@ -0,0 +1,33 @@
1
+ require "test_helper"
2
+
3
+ module ThemesForRails
4
+ class RoutingTest < ActionController::TestCase
5
+ should "recognize stylesheets route" do
6
+ assert_generates('/themes/default/stylesheets/app.css', {
7
+ :controller => 'themes_for_rails/assets',
8
+ :action => 'stylesheets',
9
+ :theme => 'default',
10
+ :asset => 'app',
11
+ :extension => 'css'
12
+ })
13
+ end
14
+ should "recognize javascripts route" do
15
+ assert_generates('/themes/default/javascripts/app.js', {
16
+ :controller => 'themes_for_rails/assets',
17
+ :action => 'javascripts',
18
+ :theme => 'default',
19
+ :asset => 'app',
20
+ :extension => 'js'
21
+ })
22
+ end
23
+ should "recognize images route" do
24
+ assert_generates('/themes/default/images/logo.png', {
25
+ :controller => 'themes_for_rails/assets',
26
+ :action => 'images',
27
+ :theme => 'default',
28
+ :asset => 'logo',
29
+ :extension => 'png'
30
+ })
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,16 @@
1
+ require 'active_support/test_case'
2
+
3
+ class ActiveSupport::TestCase
4
+ def assert_named_route(result, name)
5
+ assert_equal result, @routes.url_helpers.send(name)
6
+ end
7
+ def assert_send_file(result)
8
+ assert(@response.body.is_a? Proc)
9
+ require 'stringio'
10
+ output = StringIO.new
11
+ output.binmode
12
+ assert_nothing_raised { @response.body.call(@response, output) }
13
+ puts "OUT: #{output.output}"
14
+ assert_equal(result, output.string)
15
+ end
16
+ end
@@ -0,0 +1,10 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+
3
+ $:.unshift File.dirname(__FILE__)
4
+
5
+ require "dummy_app/config/environment"
6
+ require "rails/test_help"
7
+ require 'mocha'
8
+
9
+ $:.unshift File.expand_path('../support', __FILE__)
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
@@ -0,0 +1,7 @@
1
+ require "test_helper"
2
+
3
+ class ThemesForRailsTest < Test::Unit::TestCase
4
+ should 'know the available themes' do
5
+ assert_equal ThemesForRails.available_theme_names, ['default']
6
+ end
7
+ end
@@ -0,0 +1,133 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{themes_for_rails}
8
+ s.version = "0.2.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Lucas Florio"]
12
+ s.date = %q{2010-09-14}
13
+ s.description = %q{It allows an application to have many different ways of rendering static assets and dynamic views. }
14
+ s.email = %q{lucasefe@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "README.textile"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ ".rvmrc",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "README.textile",
24
+ "Rakefile",
25
+ "init.rb",
26
+ "lib/generators/theme_for_rails/install_generator.rb",
27
+ "lib/generators/theme_for_rails/templates/theme/images/.gitkeep",
28
+ "lib/generators/theme_for_rails/templates/theme/javascripts/.gitkeep",
29
+ "lib/generators/theme_for_rails/templates/theme/stylesheets/.gitkeep",
30
+ "lib/generators/theme_for_rails/templates/theme/views/layouts/.gitkeep",
31
+ "lib/generators/theme_for_rails/theme_generator.rb",
32
+ "lib/tasks/themes_for_rails.rake",
33
+ "lib/themes_for_rails.rb",
34
+ "lib/themes_for_rails/assets_controller.rb",
35
+ "lib/themes_for_rails/common_methods.rb",
36
+ "lib/themes_for_rails/controller_methods.rb",
37
+ "lib/themes_for_rails/railtie.rb",
38
+ "lib/themes_for_rails/routes.rb",
39
+ "lib/themes_for_rails/url_helpers.rb",
40
+ "lib/themes_for_rails/version.rb",
41
+ "lib/themes_for_rails/view_helpers.rb",
42
+ "test/assets_controller_test.rb",
43
+ "test/controller_methods_test.rb",
44
+ "test/dummy_app/.gitignore",
45
+ "test/dummy_app/Gemfile",
46
+ "test/dummy_app/Rakefile",
47
+ "test/dummy_app/app/controllers/application_controller.rb",
48
+ "test/dummy_app/app/helpers/application_helper.rb",
49
+ "test/dummy_app/app/views/layouts/application.html.erb",
50
+ "test/dummy_app/config.ru",
51
+ "test/dummy_app/config/application.rb",
52
+ "test/dummy_app/config/boot.rb",
53
+ "test/dummy_app/config/database.yml",
54
+ "test/dummy_app/config/environment.rb",
55
+ "test/dummy_app/config/environments/development.rb",
56
+ "test/dummy_app/config/environments/production.rb",
57
+ "test/dummy_app/config/environments/test.rb",
58
+ "test/dummy_app/config/initializers/backtrace_silencers.rb",
59
+ "test/dummy_app/config/initializers/inflections.rb",
60
+ "test/dummy_app/config/initializers/mime_types.rb",
61
+ "test/dummy_app/config/initializers/secret_token.rb",
62
+ "test/dummy_app/config/initializers/session_store.rb",
63
+ "test/dummy_app/config/locales/en.yml",
64
+ "test/dummy_app/config/routes.rb",
65
+ "test/dummy_app/db/seeds.rb",
66
+ "test/dummy_app/lib/tasks/.gitkeep",
67
+ "test/dummy_app/public/404.html",
68
+ "test/dummy_app/public/422.html",
69
+ "test/dummy_app/public/500.html",
70
+ "test/dummy_app/public/favicon.ico",
71
+ "test/dummy_app/public/images/rails.png",
72
+ "test/dummy_app/public/index.html",
73
+ "test/dummy_app/public/javascripts/application.js",
74
+ "test/dummy_app/public/javascripts/controls.js",
75
+ "test/dummy_app/public/javascripts/dragdrop.js",
76
+ "test/dummy_app/public/javascripts/effects.js",
77
+ "test/dummy_app/public/javascripts/prototype.js",
78
+ "test/dummy_app/public/javascripts/rails.js",
79
+ "test/dummy_app/public/robots.txt",
80
+ "test/dummy_app/public/stylesheets/.gitkeep",
81
+ "test/dummy_app/script/rails",
82
+ "test/dummy_app/themes/default/images/logo.png",
83
+ "test/dummy_app/themes/default/javascripts/app.js",
84
+ "test/dummy_app/themes/default/stylesheets/style.css",
85
+ "test/dummy_app/themes/default/stylesheets/style2.css",
86
+ "test/dummy_app/themes/default/views/layouts/default.html.erb",
87
+ "test/dummy_app/themes/default/views/products/index.html.erb",
88
+ "test/routes_test.rb",
89
+ "test/support/extensions.rb",
90
+ "test/test_helper.rb",
91
+ "test/themes_for_rails_test.rb",
92
+ "themes_for_rails.gemspec"
93
+ ]
94
+ s.homepage = %q{http://github.com/lucasefe/themes_for_rails}
95
+ s.rdoc_options = ["--charset=UTF-8"]
96
+ s.require_paths = ["lib"]
97
+ s.rubygems_version = %q{1.3.7}
98
+ s.summary = %q{Themes support for rails (3)}
99
+ s.test_files = [
100
+ "test/assets_controller_test.rb",
101
+ "test/controller_methods_test.rb",
102
+ "test/dummy_app/app/controllers/application_controller.rb",
103
+ "test/dummy_app/app/helpers/application_helper.rb",
104
+ "test/dummy_app/config/application.rb",
105
+ "test/dummy_app/config/boot.rb",
106
+ "test/dummy_app/config/environment.rb",
107
+ "test/dummy_app/config/environments/development.rb",
108
+ "test/dummy_app/config/environments/production.rb",
109
+ "test/dummy_app/config/environments/test.rb",
110
+ "test/dummy_app/config/initializers/backtrace_silencers.rb",
111
+ "test/dummy_app/config/initializers/inflections.rb",
112
+ "test/dummy_app/config/initializers/mime_types.rb",
113
+ "test/dummy_app/config/initializers/secret_token.rb",
114
+ "test/dummy_app/config/initializers/session_store.rb",
115
+ "test/dummy_app/config/routes.rb",
116
+ "test/dummy_app/db/seeds.rb",
117
+ "test/routes_test.rb",
118
+ "test/support/extensions.rb",
119
+ "test/test_helper.rb",
120
+ "test/themes_for_rails_test.rb"
121
+ ]
122
+
123
+ if s.respond_to? :specification_version then
124
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
125
+ s.specification_version = 3
126
+
127
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
128
+ else
129
+ end
130
+ else
131
+ end
132
+ end
133
+
metadata ADDED
@@ -0,0 +1,157 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: themes_for_rails
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 1
9
+ version: 0.2.1
10
+ platform: ruby
11
+ authors:
12
+ - Lucas Florio
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-09-14 00:00:00 -03:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: "It allows an application to have many different ways of rendering static assets and dynamic views. "
22
+ email: lucasefe@gmail.com
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files:
28
+ - README.textile
29
+ files:
30
+ - .gitignore
31
+ - .rvmrc
32
+ - Gemfile
33
+ - Gemfile.lock
34
+ - README.textile
35
+ - Rakefile
36
+ - init.rb
37
+ - lib/generators/theme_for_rails/install_generator.rb
38
+ - lib/generators/theme_for_rails/templates/theme/images/.gitkeep
39
+ - lib/generators/theme_for_rails/templates/theme/javascripts/.gitkeep
40
+ - lib/generators/theme_for_rails/templates/theme/stylesheets/.gitkeep
41
+ - lib/generators/theme_for_rails/templates/theme/views/layouts/.gitkeep
42
+ - lib/generators/theme_for_rails/theme_generator.rb
43
+ - lib/tasks/themes_for_rails.rake
44
+ - lib/themes_for_rails.rb
45
+ - lib/themes_for_rails/assets_controller.rb
46
+ - lib/themes_for_rails/common_methods.rb
47
+ - lib/themes_for_rails/controller_methods.rb
48
+ - lib/themes_for_rails/railtie.rb
49
+ - lib/themes_for_rails/routes.rb
50
+ - lib/themes_for_rails/url_helpers.rb
51
+ - lib/themes_for_rails/version.rb
52
+ - lib/themes_for_rails/view_helpers.rb
53
+ - test/assets_controller_test.rb
54
+ - test/controller_methods_test.rb
55
+ - test/dummy_app/.gitignore
56
+ - test/dummy_app/Gemfile
57
+ - test/dummy_app/Rakefile
58
+ - test/dummy_app/app/controllers/application_controller.rb
59
+ - test/dummy_app/app/helpers/application_helper.rb
60
+ - test/dummy_app/app/views/layouts/application.html.erb
61
+ - test/dummy_app/config.ru
62
+ - test/dummy_app/config/application.rb
63
+ - test/dummy_app/config/boot.rb
64
+ - test/dummy_app/config/database.yml
65
+ - test/dummy_app/config/environment.rb
66
+ - test/dummy_app/config/environments/development.rb
67
+ - test/dummy_app/config/environments/production.rb
68
+ - test/dummy_app/config/environments/test.rb
69
+ - test/dummy_app/config/initializers/backtrace_silencers.rb
70
+ - test/dummy_app/config/initializers/inflections.rb
71
+ - test/dummy_app/config/initializers/mime_types.rb
72
+ - test/dummy_app/config/initializers/secret_token.rb
73
+ - test/dummy_app/config/initializers/session_store.rb
74
+ - test/dummy_app/config/locales/en.yml
75
+ - test/dummy_app/config/routes.rb
76
+ - test/dummy_app/db/seeds.rb
77
+ - test/dummy_app/lib/tasks/.gitkeep
78
+ - test/dummy_app/public/404.html
79
+ - test/dummy_app/public/422.html
80
+ - test/dummy_app/public/500.html
81
+ - test/dummy_app/public/favicon.ico
82
+ - test/dummy_app/public/images/rails.png
83
+ - test/dummy_app/public/index.html
84
+ - test/dummy_app/public/javascripts/application.js
85
+ - test/dummy_app/public/javascripts/controls.js
86
+ - test/dummy_app/public/javascripts/dragdrop.js
87
+ - test/dummy_app/public/javascripts/effects.js
88
+ - test/dummy_app/public/javascripts/prototype.js
89
+ - test/dummy_app/public/javascripts/rails.js
90
+ - test/dummy_app/public/robots.txt
91
+ - test/dummy_app/public/stylesheets/.gitkeep
92
+ - test/dummy_app/script/rails
93
+ - test/dummy_app/themes/default/images/logo.png
94
+ - test/dummy_app/themes/default/javascripts/app.js
95
+ - test/dummy_app/themes/default/stylesheets/style.css
96
+ - test/dummy_app/themes/default/stylesheets/style2.css
97
+ - test/dummy_app/themes/default/views/layouts/default.html.erb
98
+ - test/dummy_app/themes/default/views/products/index.html.erb
99
+ - test/routes_test.rb
100
+ - test/support/extensions.rb
101
+ - test/test_helper.rb
102
+ - test/themes_for_rails_test.rb
103
+ - themes_for_rails.gemspec
104
+ has_rdoc: true
105
+ homepage: http://github.com/lucasefe/themes_for_rails
106
+ licenses: []
107
+
108
+ post_install_message:
109
+ rdoc_options:
110
+ - --charset=UTF-8
111
+ require_paths:
112
+ - lib
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ segments:
119
+ - 0
120
+ version: "0"
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ segments:
127
+ - 0
128
+ version: "0"
129
+ requirements: []
130
+
131
+ rubyforge_project:
132
+ rubygems_version: 1.3.7
133
+ signing_key:
134
+ specification_version: 3
135
+ summary: Themes support for rails (3)
136
+ test_files:
137
+ - test/assets_controller_test.rb
138
+ - test/controller_methods_test.rb
139
+ - test/dummy_app/app/controllers/application_controller.rb
140
+ - test/dummy_app/app/helpers/application_helper.rb
141
+ - test/dummy_app/config/application.rb
142
+ - test/dummy_app/config/boot.rb
143
+ - test/dummy_app/config/environment.rb
144
+ - test/dummy_app/config/environments/development.rb
145
+ - test/dummy_app/config/environments/production.rb
146
+ - test/dummy_app/config/environments/test.rb
147
+ - test/dummy_app/config/initializers/backtrace_silencers.rb
148
+ - test/dummy_app/config/initializers/inflections.rb
149
+ - test/dummy_app/config/initializers/mime_types.rb
150
+ - test/dummy_app/config/initializers/secret_token.rb
151
+ - test/dummy_app/config/initializers/session_store.rb
152
+ - test/dummy_app/config/routes.rb
153
+ - test/dummy_app/db/seeds.rb
154
+ - test/routes_test.rb
155
+ - test/support/extensions.rb
156
+ - test/test_helper.rb
157
+ - test/themes_for_rails_test.rb