themes_on_rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +110 -0
  4. data/Rakefile +60 -0
  5. data/lib/generators/themes_on_rails/templates/all.css +9 -0
  6. data/lib/generators/themes_on_rails/templates/all.js +7 -0
  7. data/lib/generators/themes_on_rails/templates/layout.html.erb +14 -0
  8. data/lib/generators/themes_on_rails/templates/layout.html.haml +9 -0
  9. data/lib/generators/themes_on_rails/theme_generator.rb +52 -0
  10. data/lib/themes_on_rails/action_controller.rb +61 -0
  11. data/lib/themes_on_rails/controller_additions.rb +13 -0
  12. data/lib/themes_on_rails/engine.rb +6 -0
  13. data/lib/themes_on_rails/railtie.rb +17 -0
  14. data/lib/themes_on_rails/version.rb +3 -0
  15. data/lib/themes_on_rails.rb +9 -0
  16. data/spec/dummy/README.rdoc +28 -0
  17. data/spec/dummy/Rakefile +6 -0
  18. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  19. data/spec/dummy/app/assets/javascripts/posts.js +2 -0
  20. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  21. data/spec/dummy/app/assets/stylesheets/posts.css +4 -0
  22. data/spec/dummy/app/assets/stylesheets/scaffold.css +56 -0
  23. data/spec/dummy/app/controllers/application_controller.rb +9 -0
  24. data/spec/dummy/app/controllers/posts_controller.rb +68 -0
  25. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  26. data/spec/dummy/app/helpers/posts_helper.rb +2 -0
  27. data/spec/dummy/app/models/post.rb +2 -0
  28. data/spec/dummy/app/themes/basic_blue/assets/javascripts/basic_blue/all.js +7 -0
  29. data/spec/dummy/app/themes/basic_blue/assets/stylesheets/basic_blue/all.css +9 -0
  30. data/spec/dummy/app/themes/basic_blue/views/layouts/basic_blue.html.haml +9 -0
  31. data/spec/dummy/app/themes/basic_blue/views/posts/_form.html.erb +25 -0
  32. data/spec/dummy/app/themes/basic_blue/views/posts/edit.html.erb +6 -0
  33. data/spec/dummy/app/themes/basic_blue/views/posts/index.html.erb +29 -0
  34. data/spec/dummy/app/themes/basic_blue/views/posts/new.html.erb +5 -0
  35. data/spec/dummy/app/themes/basic_blue/views/posts/show.html.erb +15 -0
  36. data/spec/dummy/app/themes/professional_blue/assets/javascripts/professional_blue/all.js +7 -0
  37. data/spec/dummy/app/themes/professional_blue/assets/stylesheets/professional_blue/all.css +9 -0
  38. data/spec/dummy/app/themes/professional_blue/views/layouts/professional_blue.html.haml +9 -0
  39. data/spec/dummy/app/themes/professional_blue/views/posts/_form.html.erb +25 -0
  40. data/spec/dummy/app/themes/professional_blue/views/posts/edit.html.erb +6 -0
  41. data/spec/dummy/app/themes/professional_blue/views/posts/index.html.erb +29 -0
  42. data/spec/dummy/app/themes/professional_blue/views/posts/new.html.erb +5 -0
  43. data/spec/dummy/app/themes/professional_blue/views/posts/show.html.erb +15 -0
  44. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  45. data/spec/dummy/app/views/posts/_form.html.erb +25 -0
  46. data/spec/dummy/app/views/posts/edit.html.erb +6 -0
  47. data/spec/dummy/app/views/posts/index.html.erb +29 -0
  48. data/spec/dummy/app/views/posts/new.html.erb +5 -0
  49. data/spec/dummy/app/views/posts/show.html.erb +14 -0
  50. data/spec/dummy/bin/bundle +3 -0
  51. data/spec/dummy/bin/rails +4 -0
  52. data/spec/dummy/bin/rake +4 -0
  53. data/spec/dummy/config/application.rb +22 -0
  54. data/spec/dummy/config/boot.rb +5 -0
  55. data/spec/dummy/config/database.yml +25 -0
  56. data/spec/dummy/config/environment.rb +5 -0
  57. data/spec/dummy/config/environments/development.rb +29 -0
  58. data/spec/dummy/config/environments/production.rb +80 -0
  59. data/spec/dummy/config/environments/test.rb +36 -0
  60. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  61. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  62. data/spec/dummy/config/initializers/inflections.rb +16 -0
  63. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  64. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  65. data/spec/dummy/config/initializers/session_store.rb +3 -0
  66. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  67. data/spec/dummy/config/locales/en.yml +23 -0
  68. data/spec/dummy/config/routes.rb +58 -0
  69. data/spec/dummy/config.ru +4 -0
  70. data/spec/dummy/db/development.sqlite3 +0 -0
  71. data/spec/dummy/db/migrate/20131120082307_create_posts.rb +10 -0
  72. data/spec/dummy/db/schema.rb +23 -0
  73. data/spec/dummy/db/test.sqlite3 +0 -0
  74. data/spec/dummy/log/development.log +1581 -0
  75. data/spec/dummy/log/test.log +4042 -0
  76. data/spec/dummy/public/404.html +58 -0
  77. data/spec/dummy/public/422.html +58 -0
  78. data/spec/dummy/public/500.html +57 -0
  79. data/spec/dummy/public/favicon.ico +0 -0
  80. data/spec/dummy/spec/controllers/posts_controller_spec.rb +47 -0
  81. data/spec/dummy/spec/spec_helper.rb +44 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/0cfcea8e64323f692964ade04baf71bf +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/1b2584b22e1970da0ea00056c0149492 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1 +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/301390a2f715e632e51eaceadc864bd8 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/3059f09ecb35a9d6a17cc629cf142cad +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/3773504c128301fa4ae43322c265863c +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/8b1b55ee928fcc1ca79651b5a54d12b1 +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/97b428fb2be48bdef1c2edc6895007e6 +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/a144f874a0fbcfbf57e914e54950b2b8 +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/a6505a19f1ef24ad643489939529b237 +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/aea240771414d6f51f0eeffa97de34c0 +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/c6062fc388a3fcd36f0407b7de58b073 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/fbce05c1fbdc18388ed134c8e4100ac8 +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/0cfcea8e64323f692964ade04baf71bf +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/1b2584b22e1970da0ea00056c0149492 +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/301390a2f715e632e51eaceadc864bd8 +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/3059f09ecb35a9d6a17cc629cf142cad +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/3773504c128301fa4ae43322c265863c +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/8b1b55ee928fcc1ca79651b5a54d12b1 +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/97b428fb2be48bdef1c2edc6895007e6 +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/a144f874a0fbcfbf57e914e54950b2b8 +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/a6505a19f1ef24ad643489939529b237 +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/aea240771414d6f51f0eeffa97de34c0 +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/c6062fc388a3fcd36f0407b7de58b073 +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/fbce05c1fbdc18388ed134c8e4100ac8 +0 -0
  133. data/spec/generators/themes_on_rails/theme_generator_spec.rb +67 -0
  134. data/spec/lib/action_controller_spec.rb +45 -0
  135. data/spec/lib/assets_path_spec.rb +15 -0
  136. data/spec/lib/controller_additions_spec.rb +22 -0
  137. data/spec/spec_helper.rb +22 -0
  138. metadata +330 -0
@@ -0,0 +1,45 @@
1
+ require "spec_helper"
2
+
3
+ describe ThemesOnRails::ActionController do
4
+ let(:controller) { controller_class.new }
5
+ let(:controller_class) { Class.new }
6
+
7
+ it "initializes with theme as string" do
8
+ action_controller = ThemesOnRails::ActionController.new(controller, "basic_blue")
9
+
10
+ expect(action_controller.theme_name).to eq("basic_blue")
11
+ end
12
+
13
+ it "initializes with theme as symbol method" do
14
+ def controller.theme_resolver
15
+ "basic_blue"
16
+ end
17
+ action_controller = ThemesOnRails::ActionController.new(controller, :theme_resolver)
18
+
19
+ expect(action_controller.theme_name).to eq("basic_blue")
20
+ end
21
+
22
+ it "initializes with theme as symbol" do
23
+ action_controller = ThemesOnRails::ActionController.new(controller, :basic_blue)
24
+
25
+ expect(action_controller.theme_name).to eq("basic_blue")
26
+ end
27
+
28
+ it "initializes with theme as proc or lambda" do
29
+ action_controller = ThemesOnRails::ActionController.new(controller, lambda { |con| "basic_blue" })
30
+
31
+ expect(action_controller.theme_name).to eq("basic_blue")
32
+ end
33
+
34
+ it "initializes with theme as nil" do
35
+ expect {
36
+ ThemesOnRails::ActionController.new(controller, nil)
37
+ }.to raise_error(ArgumentError)
38
+ end
39
+
40
+ it "#theme_view_path" do
41
+ action_controller = ThemesOnRails::ActionController.new(controller, "basic_blue")
42
+
43
+ expect(action_controller.theme_view_path).to eq("#{Rails.root}/app/themes/basic_blue/views")
44
+ end
45
+ end
@@ -0,0 +1,15 @@
1
+ require "spec_helper"
2
+
3
+ describe "Asset search paths" do
4
+ it "includes `basic_blue`: images, javascripts, stylesheets" do
5
+ expect(Rails.application.config.assets.paths.to_s).to match(/basic_blue\/assets\/images/)
6
+ expect(Rails.application.config.assets.paths.to_s).to match(/basic_blue\/assets\/javascripts/)
7
+ expect(Rails.application.config.assets.paths.to_s).to match(/basic_blue\/assets\/stylesheets/)
8
+ end
9
+
10
+ it "includes `professional_blue`: images, javascripts, stylesheets" do
11
+ expect(Rails.application.config.assets.paths.to_s).to match(/professional_blue\/assets\/images/)
12
+ expect(Rails.application.config.assets.paths.to_s).to match(/professional_blue\/assets\/javascripts/)
13
+ expect(Rails.application.config.assets.paths.to_s).to match(/professional_blue\/assets\/stylesheets/)
14
+ end
15
+ end
@@ -0,0 +1,22 @@
1
+ require 'spec_helper'
2
+
3
+ describe ThemesOnRails::ControllerAdditions do
4
+ let(:controller_class) { Class.new }
5
+ let(:controller) { controller_class.new }
6
+
7
+ before do
8
+ controller_class.send(:include, ThemesOnRails::ControllerAdditions)
9
+ end
10
+
11
+ it "invokes #apply_theme without options" do
12
+ ThemesOnRails::ActionController.should_receive(:apply_theme).with(controller_class, "basic_blue", {})
13
+
14
+ controller_class.theme "basic_blue"
15
+ end
16
+
17
+ it "invokes #apply_theme with options" do
18
+ ThemesOnRails::ActionController.should_receive(:apply_theme).with(controller_class, :theme_resolver, { only: [:show] })
19
+
20
+ controller_class.theme :theme_resolver, only: [:show]
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ require 'coveralls'
2
+ require 'simplecov'
3
+ SimpleCov.add_filter 'spec'
4
+ Coveralls.wear!
5
+
6
+ # Configure Rails Environment
7
+ ENV["RAILS_ENV"] = "test"
8
+
9
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
10
+ require "themes_on_rails"
11
+ require "rspec/rails"
12
+ require "ammeter/init"
13
+ Rails.backtrace_cleaner.remove_silencers!
14
+
15
+ # Load support files
16
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
17
+
18
+ RSpec.configure do |config|
19
+ config.filter_run focus: true
20
+ config.run_all_when_everything_filtered = true
21
+ config.treat_symbols_as_metadata_keys_with_true_values = true
22
+ end
metadata ADDED
@@ -0,0 +1,330 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: themes_on_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Chamnap Chhorn
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-01-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ammeter
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.9
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.9
41
+ description: Adds multi themes support to your Rails 3/4 application
42
+ email:
43
+ - chamnapchhorn@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - MIT-LICENSE
49
+ - README.md
50
+ - Rakefile
51
+ - lib/generators/themes_on_rails/templates/all.css
52
+ - lib/generators/themes_on_rails/templates/all.js
53
+ - lib/generators/themes_on_rails/templates/layout.html.erb
54
+ - lib/generators/themes_on_rails/templates/layout.html.haml
55
+ - lib/generators/themes_on_rails/theme_generator.rb
56
+ - lib/themes_on_rails.rb
57
+ - lib/themes_on_rails/action_controller.rb
58
+ - lib/themes_on_rails/controller_additions.rb
59
+ - lib/themes_on_rails/engine.rb
60
+ - lib/themes_on_rails/railtie.rb
61
+ - lib/themes_on_rails/version.rb
62
+ - spec/dummy/README.rdoc
63
+ - spec/dummy/Rakefile
64
+ - spec/dummy/app/assets/javascripts/application.js
65
+ - spec/dummy/app/assets/javascripts/posts.js
66
+ - spec/dummy/app/assets/stylesheets/application.css
67
+ - spec/dummy/app/assets/stylesheets/posts.css
68
+ - spec/dummy/app/assets/stylesheets/scaffold.css
69
+ - spec/dummy/app/controllers/application_controller.rb
70
+ - spec/dummy/app/controllers/posts_controller.rb
71
+ - spec/dummy/app/helpers/application_helper.rb
72
+ - spec/dummy/app/helpers/posts_helper.rb
73
+ - spec/dummy/app/models/post.rb
74
+ - spec/dummy/app/themes/basic_blue/assets/javascripts/basic_blue/all.js
75
+ - spec/dummy/app/themes/basic_blue/assets/stylesheets/basic_blue/all.css
76
+ - spec/dummy/app/themes/basic_blue/views/layouts/basic_blue.html.haml
77
+ - spec/dummy/app/themes/basic_blue/views/posts/_form.html.erb
78
+ - spec/dummy/app/themes/basic_blue/views/posts/edit.html.erb
79
+ - spec/dummy/app/themes/basic_blue/views/posts/index.html.erb
80
+ - spec/dummy/app/themes/basic_blue/views/posts/new.html.erb
81
+ - spec/dummy/app/themes/basic_blue/views/posts/show.html.erb
82
+ - spec/dummy/app/themes/professional_blue/assets/javascripts/professional_blue/all.js
83
+ - spec/dummy/app/themes/professional_blue/assets/stylesheets/professional_blue/all.css
84
+ - spec/dummy/app/themes/professional_blue/views/layouts/professional_blue.html.haml
85
+ - spec/dummy/app/themes/professional_blue/views/posts/_form.html.erb
86
+ - spec/dummy/app/themes/professional_blue/views/posts/edit.html.erb
87
+ - spec/dummy/app/themes/professional_blue/views/posts/index.html.erb
88
+ - spec/dummy/app/themes/professional_blue/views/posts/new.html.erb
89
+ - spec/dummy/app/themes/professional_blue/views/posts/show.html.erb
90
+ - spec/dummy/app/views/layouts/application.html.erb
91
+ - spec/dummy/app/views/posts/_form.html.erb
92
+ - spec/dummy/app/views/posts/edit.html.erb
93
+ - spec/dummy/app/views/posts/index.html.erb
94
+ - spec/dummy/app/views/posts/new.html.erb
95
+ - spec/dummy/app/views/posts/show.html.erb
96
+ - spec/dummy/bin/bundle
97
+ - spec/dummy/bin/rails
98
+ - spec/dummy/bin/rake
99
+ - spec/dummy/config.ru
100
+ - spec/dummy/config/application.rb
101
+ - spec/dummy/config/boot.rb
102
+ - spec/dummy/config/database.yml
103
+ - spec/dummy/config/environment.rb
104
+ - spec/dummy/config/environments/development.rb
105
+ - spec/dummy/config/environments/production.rb
106
+ - spec/dummy/config/environments/test.rb
107
+ - spec/dummy/config/initializers/backtrace_silencers.rb
108
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
109
+ - spec/dummy/config/initializers/inflections.rb
110
+ - spec/dummy/config/initializers/mime_types.rb
111
+ - spec/dummy/config/initializers/secret_token.rb
112
+ - spec/dummy/config/initializers/session_store.rb
113
+ - spec/dummy/config/initializers/wrap_parameters.rb
114
+ - spec/dummy/config/locales/en.yml
115
+ - spec/dummy/config/routes.rb
116
+ - spec/dummy/db/development.sqlite3
117
+ - spec/dummy/db/migrate/20131120082307_create_posts.rb
118
+ - spec/dummy/db/schema.rb
119
+ - spec/dummy/db/test.sqlite3
120
+ - spec/dummy/log/development.log
121
+ - spec/dummy/log/test.log
122
+ - spec/dummy/public/404.html
123
+ - spec/dummy/public/422.html
124
+ - spec/dummy/public/500.html
125
+ - spec/dummy/public/favicon.ico
126
+ - spec/dummy/spec/controllers/posts_controller_spec.rb
127
+ - spec/dummy/spec/spec_helper.rb
128
+ - spec/dummy/tmp/cache/assets/development/sprockets/0cfcea8e64323f692964ade04baf71bf
129
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
130
+ - spec/dummy/tmp/cache/assets/development/sprockets/1b2584b22e1970da0ea00056c0149492
131
+ - spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1
132
+ - spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f
133
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
134
+ - spec/dummy/tmp/cache/assets/development/sprockets/301390a2f715e632e51eaceadc864bd8
135
+ - spec/dummy/tmp/cache/assets/development/sprockets/3059f09ecb35a9d6a17cc629cf142cad
136
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
137
+ - spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
138
+ - spec/dummy/tmp/cache/assets/development/sprockets/3773504c128301fa4ae43322c265863c
139
+ - spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6
140
+ - spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
141
+ - spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4
142
+ - spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
143
+ - spec/dummy/tmp/cache/assets/development/sprockets/8b1b55ee928fcc1ca79651b5a54d12b1
144
+ - spec/dummy/tmp/cache/assets/development/sprockets/97b428fb2be48bdef1c2edc6895007e6
145
+ - spec/dummy/tmp/cache/assets/development/sprockets/a144f874a0fbcfbf57e914e54950b2b8
146
+ - spec/dummy/tmp/cache/assets/development/sprockets/a6505a19f1ef24ad643489939529b237
147
+ - spec/dummy/tmp/cache/assets/development/sprockets/aea240771414d6f51f0eeffa97de34c0
148
+ - spec/dummy/tmp/cache/assets/development/sprockets/c6062fc388a3fcd36f0407b7de58b073
149
+ - spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b
150
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
151
+ - spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145
152
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
153
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
154
+ - spec/dummy/tmp/cache/assets/development/sprockets/fbce05c1fbdc18388ed134c8e4100ac8
155
+ - spec/dummy/tmp/cache/assets/test/sprockets/0cfcea8e64323f692964ade04baf71bf
156
+ - spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
157
+ - spec/dummy/tmp/cache/assets/test/sprockets/1b2584b22e1970da0ea00056c0149492
158
+ - spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
159
+ - spec/dummy/tmp/cache/assets/test/sprockets/301390a2f715e632e51eaceadc864bd8
160
+ - spec/dummy/tmp/cache/assets/test/sprockets/3059f09ecb35a9d6a17cc629cf142cad
161
+ - spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
162
+ - spec/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212
163
+ - spec/dummy/tmp/cache/assets/test/sprockets/3773504c128301fa4ae43322c265863c
164
+ - spec/dummy/tmp/cache/assets/test/sprockets/416150dc3ac35079c94273cc46e90aa6
165
+ - spec/dummy/tmp/cache/assets/test/sprockets/5384ad85f52d3272dbc64d46ef3876a4
166
+ - spec/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2
167
+ - spec/dummy/tmp/cache/assets/test/sprockets/8b1b55ee928fcc1ca79651b5a54d12b1
168
+ - spec/dummy/tmp/cache/assets/test/sprockets/97b428fb2be48bdef1c2edc6895007e6
169
+ - spec/dummy/tmp/cache/assets/test/sprockets/a144f874a0fbcfbf57e914e54950b2b8
170
+ - spec/dummy/tmp/cache/assets/test/sprockets/a6505a19f1ef24ad643489939529b237
171
+ - spec/dummy/tmp/cache/assets/test/sprockets/aea240771414d6f51f0eeffa97de34c0
172
+ - spec/dummy/tmp/cache/assets/test/sprockets/c6062fc388a3fcd36f0407b7de58b073
173
+ - spec/dummy/tmp/cache/assets/test/sprockets/c85016e7bbd4f3adbb7635d01f85d39b
174
+ - spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
175
+ - spec/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145
176
+ - spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
177
+ - spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
178
+ - spec/dummy/tmp/cache/assets/test/sprockets/fbce05c1fbdc18388ed134c8e4100ac8
179
+ - spec/generators/themes_on_rails/theme_generator_spec.rb
180
+ - spec/lib/action_controller_spec.rb
181
+ - spec/lib/assets_path_spec.rb
182
+ - spec/lib/controller_additions_spec.rb
183
+ - spec/spec_helper.rb
184
+ homepage: https://github.com/chamnap/themes_on_rails
185
+ licenses:
186
+ - MIT
187
+ metadata: {}
188
+ post_install_message:
189
+ rdoc_options: []
190
+ require_paths:
191
+ - lib
192
+ required_ruby_version: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: 1.9.3
197
+ required_rubygems_version: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: 1.8.11
202
+ requirements: []
203
+ rubyforge_project:
204
+ rubygems_version: 2.2.0
205
+ signing_key:
206
+ specification_version: 4
207
+ summary: Adds multi themes support to your Rails 3/4 application
208
+ test_files:
209
+ - spec/dummy/app/assets/javascripts/application.js
210
+ - spec/dummy/app/assets/javascripts/posts.js
211
+ - spec/dummy/app/assets/stylesheets/application.css
212
+ - spec/dummy/app/assets/stylesheets/posts.css
213
+ - spec/dummy/app/assets/stylesheets/scaffold.css
214
+ - spec/dummy/app/controllers/application_controller.rb
215
+ - spec/dummy/app/controllers/posts_controller.rb
216
+ - spec/dummy/app/helpers/application_helper.rb
217
+ - spec/dummy/app/helpers/posts_helper.rb
218
+ - spec/dummy/app/models/post.rb
219
+ - spec/dummy/app/themes/basic_blue/assets/javascripts/basic_blue/all.js
220
+ - spec/dummy/app/themes/basic_blue/assets/stylesheets/basic_blue/all.css
221
+ - spec/dummy/app/themes/basic_blue/views/layouts/basic_blue.html.haml
222
+ - spec/dummy/app/themes/basic_blue/views/posts/_form.html.erb
223
+ - spec/dummy/app/themes/basic_blue/views/posts/edit.html.erb
224
+ - spec/dummy/app/themes/basic_blue/views/posts/index.html.erb
225
+ - spec/dummy/app/themes/basic_blue/views/posts/new.html.erb
226
+ - spec/dummy/app/themes/basic_blue/views/posts/show.html.erb
227
+ - spec/dummy/app/themes/professional_blue/assets/javascripts/professional_blue/all.js
228
+ - spec/dummy/app/themes/professional_blue/assets/stylesheets/professional_blue/all.css
229
+ - spec/dummy/app/themes/professional_blue/views/layouts/professional_blue.html.haml
230
+ - spec/dummy/app/themes/professional_blue/views/posts/_form.html.erb
231
+ - spec/dummy/app/themes/professional_blue/views/posts/edit.html.erb
232
+ - spec/dummy/app/themes/professional_blue/views/posts/index.html.erb
233
+ - spec/dummy/app/themes/professional_blue/views/posts/new.html.erb
234
+ - spec/dummy/app/themes/professional_blue/views/posts/show.html.erb
235
+ - spec/dummy/app/views/layouts/application.html.erb
236
+ - spec/dummy/app/views/posts/_form.html.erb
237
+ - spec/dummy/app/views/posts/edit.html.erb
238
+ - spec/dummy/app/views/posts/index.html.erb
239
+ - spec/dummy/app/views/posts/new.html.erb
240
+ - spec/dummy/app/views/posts/show.html.erb
241
+ - spec/dummy/bin/bundle
242
+ - spec/dummy/bin/rails
243
+ - spec/dummy/bin/rake
244
+ - spec/dummy/config/application.rb
245
+ - spec/dummy/config/boot.rb
246
+ - spec/dummy/config/database.yml
247
+ - spec/dummy/config/environment.rb
248
+ - spec/dummy/config/environments/development.rb
249
+ - spec/dummy/config/environments/production.rb
250
+ - spec/dummy/config/environments/test.rb
251
+ - spec/dummy/config/initializers/backtrace_silencers.rb
252
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
253
+ - spec/dummy/config/initializers/inflections.rb
254
+ - spec/dummy/config/initializers/mime_types.rb
255
+ - spec/dummy/config/initializers/secret_token.rb
256
+ - spec/dummy/config/initializers/session_store.rb
257
+ - spec/dummy/config/initializers/wrap_parameters.rb
258
+ - spec/dummy/config/locales/en.yml
259
+ - spec/dummy/config/routes.rb
260
+ - spec/dummy/config.ru
261
+ - spec/dummy/db/development.sqlite3
262
+ - spec/dummy/db/migrate/20131120082307_create_posts.rb
263
+ - spec/dummy/db/schema.rb
264
+ - spec/dummy/db/test.sqlite3
265
+ - spec/dummy/log/development.log
266
+ - spec/dummy/log/test.log
267
+ - spec/dummy/public/404.html
268
+ - spec/dummy/public/422.html
269
+ - spec/dummy/public/500.html
270
+ - spec/dummy/public/favicon.ico
271
+ - spec/dummy/Rakefile
272
+ - spec/dummy/README.rdoc
273
+ - spec/dummy/spec/controllers/posts_controller_spec.rb
274
+ - spec/dummy/spec/spec_helper.rb
275
+ - spec/dummy/tmp/cache/assets/development/sprockets/0cfcea8e64323f692964ade04baf71bf
276
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
277
+ - spec/dummy/tmp/cache/assets/development/sprockets/1b2584b22e1970da0ea00056c0149492
278
+ - spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1
279
+ - spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f
280
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
281
+ - spec/dummy/tmp/cache/assets/development/sprockets/301390a2f715e632e51eaceadc864bd8
282
+ - spec/dummy/tmp/cache/assets/development/sprockets/3059f09ecb35a9d6a17cc629cf142cad
283
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
284
+ - spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
285
+ - spec/dummy/tmp/cache/assets/development/sprockets/3773504c128301fa4ae43322c265863c
286
+ - spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6
287
+ - spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
288
+ - spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4
289
+ - spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
290
+ - spec/dummy/tmp/cache/assets/development/sprockets/8b1b55ee928fcc1ca79651b5a54d12b1
291
+ - spec/dummy/tmp/cache/assets/development/sprockets/97b428fb2be48bdef1c2edc6895007e6
292
+ - spec/dummy/tmp/cache/assets/development/sprockets/a144f874a0fbcfbf57e914e54950b2b8
293
+ - spec/dummy/tmp/cache/assets/development/sprockets/a6505a19f1ef24ad643489939529b237
294
+ - spec/dummy/tmp/cache/assets/development/sprockets/aea240771414d6f51f0eeffa97de34c0
295
+ - spec/dummy/tmp/cache/assets/development/sprockets/c6062fc388a3fcd36f0407b7de58b073
296
+ - spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b
297
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
298
+ - spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145
299
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
300
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
301
+ - spec/dummy/tmp/cache/assets/development/sprockets/fbce05c1fbdc18388ed134c8e4100ac8
302
+ - spec/dummy/tmp/cache/assets/test/sprockets/0cfcea8e64323f692964ade04baf71bf
303
+ - spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
304
+ - spec/dummy/tmp/cache/assets/test/sprockets/1b2584b22e1970da0ea00056c0149492
305
+ - spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
306
+ - spec/dummy/tmp/cache/assets/test/sprockets/301390a2f715e632e51eaceadc864bd8
307
+ - spec/dummy/tmp/cache/assets/test/sprockets/3059f09ecb35a9d6a17cc629cf142cad
308
+ - spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
309
+ - spec/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212
310
+ - spec/dummy/tmp/cache/assets/test/sprockets/3773504c128301fa4ae43322c265863c
311
+ - spec/dummy/tmp/cache/assets/test/sprockets/416150dc3ac35079c94273cc46e90aa6
312
+ - spec/dummy/tmp/cache/assets/test/sprockets/5384ad85f52d3272dbc64d46ef3876a4
313
+ - spec/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2
314
+ - spec/dummy/tmp/cache/assets/test/sprockets/8b1b55ee928fcc1ca79651b5a54d12b1
315
+ - spec/dummy/tmp/cache/assets/test/sprockets/97b428fb2be48bdef1c2edc6895007e6
316
+ - spec/dummy/tmp/cache/assets/test/sprockets/a144f874a0fbcfbf57e914e54950b2b8
317
+ - spec/dummy/tmp/cache/assets/test/sprockets/a6505a19f1ef24ad643489939529b237
318
+ - spec/dummy/tmp/cache/assets/test/sprockets/aea240771414d6f51f0eeffa97de34c0
319
+ - spec/dummy/tmp/cache/assets/test/sprockets/c6062fc388a3fcd36f0407b7de58b073
320
+ - spec/dummy/tmp/cache/assets/test/sprockets/c85016e7bbd4f3adbb7635d01f85d39b
321
+ - spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
322
+ - spec/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145
323
+ - spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
324
+ - spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
325
+ - spec/dummy/tmp/cache/assets/test/sprockets/fbce05c1fbdc18388ed134c8e4100ac8
326
+ - spec/generators/themes_on_rails/theme_generator_spec.rb
327
+ - spec/lib/action_controller_spec.rb
328
+ - spec/lib/assets_path_spec.rb
329
+ - spec/lib/controller_additions_spec.rb
330
+ - spec/spec_helper.rb