themes_on_rails 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -1
- data/lib/themes_on_rails/railtie.rb +8 -0
- data/lib/themes_on_rails/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +364 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0cfcea8e64323f692964ade04baf71bf +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1b2584b22e1970da0ea00056c0149492 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/301390a2f715e632e51eaceadc864bd8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3059f09ecb35a9d6a17cc629cf142cad +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3773504c128301fa4ae43322c265863c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8b1b55ee928fcc1ca79651b5a54d12b1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/97b428fb2be48bdef1c2edc6895007e6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a144f874a0fbcfbf57e914e54950b2b8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a6505a19f1ef24ad643489939529b237 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aea240771414d6f51f0eeffa97de34c0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c6062fc388a3fcd36f0407b7de58b073 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fbce05c1fbdc18388ed134c8e4100ac8 +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aefc651e1f496146d1e2fda6904cd45b6c9503aa
|
4
|
+
data.tar.gz: 6f1855c02c262724efa864597b68003e1aabdbdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0364d60aa3a93fe407c76db70ffe98f6295e59964d8955d9d31ae65ea09563f3ab4b2bdd1bcea158258a0b5c0db5637defdc97c219b5a4a0faee0d501be0e0e
|
7
|
+
data.tar.gz: 0e7186cfd981de0760fea3e0682a68353d7a6f02ed35191e84f86f3e3bd5f45257e780b4b7dea37e427ce09a2eb003bb672231abc857a36eed600433a97451cd
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ThemesOnRails [![Build Status](https://travis-ci.org/yoolk/themes_on_rails.png?branch=master)](https://travis-ci.org/yoolk/themes_on_rails) [![Dependency Status](https://gemnasium.com/yoolk/themes_on_rails.png)](https://gemnasium.com/yoolk/themes_on_rails) [![Code Climate](https://codeclimate.com/github/yoolk/themes_on_rails.png)](https://codeclimate.com/github/yoolk/themes_on_rails) [![Coverage Status](https://coveralls.io/repos/yoolk/themes_on_rails/badge.png?branch=master)](https://coveralls.io/r/yoolk/themes_on_rails?branch=master)
|
1
|
+
# ThemesOnRails [![Build Status](https://travis-ci.org/yoolk/themes_on_rails.png?branch=master)](https://travis-ci.org/yoolk/themes_on_rails) [![Dependency Status](https://gemnasium.com/yoolk/themes_on_rails.png)](https://gemnasium.com/yoolk/themes_on_rails) [![Code Climate](https://codeclimate.com/github/yoolk/themes_on_rails.png)](https://codeclimate.com/github/yoolk/themes_on_rails) [![Coverage Status](https://coveralls.io/repos/yoolk/themes_on_rails/badge.png?branch=master)](https://coveralls.io/r/yoolk/themes_on_rails?branch=master) [![Gem Version](https://badge.fury.io/rb/themes_on_rails.png)](http://badge.fury.io/rb/themes_on_rails)
|
2
2
|
|
3
3
|
## Installation
|
4
4
|
|
@@ -43,6 +43,8 @@ app/
|
|
43
43
|
[theme_name].html.erb
|
44
44
|
</pre>
|
45
45
|
|
46
|
+
After you invoke the above command, make sure you restart your rails process.
|
47
|
+
|
46
48
|
It's best advisable to namespace your assets directory so that it won't conflict with assets in other themes.
|
47
49
|
|
48
50
|
```ruby
|
@@ -51,6 +53,8 @@ javascript_link_tag "professional_blue/all" # => app/themes/professional_bl
|
|
51
53
|
stylesheet_link_tag "professional_blue/all" # => app/themes/professional_blue/assets/stylesheets/professional_blue/all.css
|
52
54
|
```
|
53
55
|
|
56
|
+
There is an example app at https://github.com/chamnap/themes_on_rails_example.
|
57
|
+
|
54
58
|
### Controller
|
55
59
|
|
56
60
|
You can set theme in your controllers by using the `theme` declaration. For example:
|
@@ -105,6 +109,16 @@ end
|
|
105
109
|
|
106
110
|
With this declaration, the **basic** theme would be used for everything but the `rss` index methods.
|
107
111
|
|
112
|
+
## Asset Pipeline
|
113
|
+
|
114
|
+
Add this to your staging.rb or production.rb
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
config.assets.precompile += [ Proc.new { |path, fn| fn =~ /app\/themes/ && !%w(.js .css).include?(File.extname(path)) } ]
|
118
|
+
config.assets.precompile += Dir["app/themes/*"].map { |path| "#{path.split('/').last}/all.css" }
|
119
|
+
config.assets.precompile += Dir["app/themes/*"].map { |path| "#{path.split('/').last}/all.css" }
|
120
|
+
```
|
121
|
+
|
108
122
|
## Authors
|
109
123
|
|
110
124
|
* [Chamnap Chhorn](https://github.com/chamnap)
|
@@ -13,5 +13,13 @@ module ThemesOnRails
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
+
if Rails.env.production? || Rails.env.beta? || Rails.env.staging?
|
17
|
+
initializer "themes_on_rails.precompile" do |app|
|
18
|
+
config.assets.precompile += [ Proc.new { |path, fn| fn =~ /app\/themes/ && !%w(.js .css).include?(File.extname(path)) } ]
|
19
|
+
config.assets.precompile += Dir["app/themes/*"].map { |path| "#{path.split('/').last}/all.js" }
|
20
|
+
config.assets.precompile += Dir["app/themes/*"].map { |path| "#{path.split('/').last}/all.css" }
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
16
24
|
end
|
17
25
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -4040,3 +4040,367 @@ Processing by PostsController#new as HTML
|
|
4040
4040
|
Parameters: {"theme"=>"basic_blue"}
|
4041
4041
|
Rendered posts/_form.html.erb (2.1ms)
|
4042
4042
|
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
4043
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4044
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4045
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4046
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4047
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4048
|
+
Processing by PostsController#index as HTML
|
4049
|
+
Parameters: {"theme"=>"professional_blue"}
|
4050
|
+
[1m[36mPost Load (1.0ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4051
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (3.6ms)
|
4052
|
+
Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 1.0ms)
|
4053
|
+
Processing by PostsController#index as HTML
|
4054
|
+
Parameters: {"theme"=>"professional_blue"}
|
4055
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4056
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
|
4057
|
+
Processing by PostsController#index as HTML
|
4058
|
+
Parameters: {"theme"=>"basic_blue"}
|
4059
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4060
|
+
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.2ms)
|
4061
|
+
Processing by PostsController#index as HTML
|
4062
|
+
Parameters: {"theme"=>"basic_blue"}
|
4063
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4064
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms)
|
4065
|
+
Processing by PostsController#new as HTML
|
4066
|
+
Parameters: {"theme"=>"basic_blue"}
|
4067
|
+
Rendered posts/_form.html.erb (17.2ms)
|
4068
|
+
Completed 200 OK in 31ms (Views: 29.5ms | ActiveRecord: 0.3ms)
|
4069
|
+
Processing by PostsController#new as HTML
|
4070
|
+
Parameters: {"theme"=>"basic_blue"}
|
4071
|
+
Rendered posts/_form.html.erb (1.7ms)
|
4072
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
4073
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4074
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4075
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4076
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4077
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4078
|
+
Processing by PostsController#index as HTML
|
4079
|
+
Parameters: {"theme"=>"professional_blue"}
|
4080
|
+
[1m[36mPost Load (0.9ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4081
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (2.9ms)
|
4082
|
+
Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.9ms)
|
4083
|
+
Processing by PostsController#index as HTML
|
4084
|
+
Parameters: {"theme"=>"professional_blue"}
|
4085
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4086
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms)
|
4087
|
+
Processing by PostsController#index as HTML
|
4088
|
+
Parameters: {"theme"=>"basic_blue"}
|
4089
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4090
|
+
Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.1ms)
|
4091
|
+
Processing by PostsController#index as HTML
|
4092
|
+
Parameters: {"theme"=>"basic_blue"}
|
4093
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4094
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
4095
|
+
Processing by PostsController#new as HTML
|
4096
|
+
Parameters: {"theme"=>"basic_blue"}
|
4097
|
+
Rendered posts/_form.html.erb (11.7ms)
|
4098
|
+
Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.2ms)
|
4099
|
+
Processing by PostsController#new as HTML
|
4100
|
+
Parameters: {"theme"=>"basic_blue"}
|
4101
|
+
Rendered posts/_form.html.erb (1.8ms)
|
4102
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
4103
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4104
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4105
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4106
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4107
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4108
|
+
Processing by PostsController#index as HTML
|
4109
|
+
Parameters: {"theme"=>"professional_blue"}
|
4110
|
+
[1m[36mPost Load (1.0ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4111
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (3.2ms)
|
4112
|
+
Completed 200 OK in 23ms (Views: 20.3ms | ActiveRecord: 1.0ms)
|
4113
|
+
Processing by PostsController#index as HTML
|
4114
|
+
Parameters: {"theme"=>"professional_blue"}
|
4115
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4116
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.1ms)
|
4117
|
+
Processing by PostsController#index as HTML
|
4118
|
+
Parameters: {"theme"=>"basic_blue"}
|
4119
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4120
|
+
Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.1ms)
|
4121
|
+
Processing by PostsController#index as HTML
|
4122
|
+
Parameters: {"theme"=>"basic_blue"}
|
4123
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4124
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms)
|
4125
|
+
Processing by PostsController#new as HTML
|
4126
|
+
Parameters: {"theme"=>"basic_blue"}
|
4127
|
+
Rendered posts/_form.html.erb (12.3ms)
|
4128
|
+
Completed 200 OK in 39ms (Views: 38.0ms | ActiveRecord: 0.3ms)
|
4129
|
+
Processing by PostsController#new as HTML
|
4130
|
+
Parameters: {"theme"=>"basic_blue"}
|
4131
|
+
Rendered posts/_form.html.erb (1.7ms)
|
4132
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
4133
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4134
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4135
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4136
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4137
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4138
|
+
Processing by PostsController#index as HTML
|
4139
|
+
Parameters: {"theme"=>"professional_blue"}
|
4140
|
+
[1m[36mPost Load (0.9ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4141
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (2.8ms)
|
4142
|
+
Completed 200 OK in 24ms (Views: 21.6ms | ActiveRecord: 0.9ms)
|
4143
|
+
Processing by PostsController#index as HTML
|
4144
|
+
Parameters: {"theme"=>"professional_blue"}
|
4145
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
4146
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
4147
|
+
Processing by PostsController#index as HTML
|
4148
|
+
Parameters: {"theme"=>"basic_blue"}
|
4149
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4150
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.1ms)
|
4151
|
+
Processing by PostsController#index as HTML
|
4152
|
+
Parameters: {"theme"=>"basic_blue"}
|
4153
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4154
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms)
|
4155
|
+
Processing by PostsController#new as HTML
|
4156
|
+
Parameters: {"theme"=>"basic_blue"}
|
4157
|
+
Rendered posts/_form.html.erb (19.0ms)
|
4158
|
+
Completed 200 OK in 39ms (Views: 37.5ms | ActiveRecord: 0.3ms)
|
4159
|
+
Processing by PostsController#new as HTML
|
4160
|
+
Parameters: {"theme"=>"basic_blue"}
|
4161
|
+
Rendered posts/_form.html.erb (1.7ms)
|
4162
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
4163
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4164
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4165
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4166
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4167
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4168
|
+
Processing by PostsController#index as HTML
|
4169
|
+
Parameters: {"theme"=>"professional_blue"}
|
4170
|
+
[1m[36mPost Load (1.0ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4171
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (2.9ms)
|
4172
|
+
Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 1.0ms)
|
4173
|
+
Processing by PostsController#index as HTML
|
4174
|
+
Parameters: {"theme"=>"professional_blue"}
|
4175
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
4176
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.2ms)
|
4177
|
+
Processing by PostsController#index as HTML
|
4178
|
+
Parameters: {"theme"=>"basic_blue"}
|
4179
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4180
|
+
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms)
|
4181
|
+
Processing by PostsController#index as HTML
|
4182
|
+
Parameters: {"theme"=>"basic_blue"}
|
4183
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4184
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.1ms)
|
4185
|
+
Processing by PostsController#new as HTML
|
4186
|
+
Parameters: {"theme"=>"basic_blue"}
|
4187
|
+
Rendered posts/_form.html.erb (12.4ms)
|
4188
|
+
Completed 200 OK in 38ms (Views: 37.4ms | ActiveRecord: 0.3ms)
|
4189
|
+
Processing by PostsController#new as HTML
|
4190
|
+
Parameters: {"theme"=>"basic_blue"}
|
4191
|
+
Rendered posts/_form.html.erb (1.8ms)
|
4192
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
4193
|
+
Connecting to database specified by database.yml
|
4194
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
4195
|
+
[1m[35m (2.1ms)[0m select sqlite_version(*)
|
4196
|
+
[1m[36m (2.4ms)[0m [1mDROP TABLE "posts"[0m
|
4197
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)
|
4198
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
4199
|
+
Connecting to database specified by database.yml
|
4200
|
+
Processing by PostsController#index as HTML
|
4201
|
+
Parameters: {"theme"=>"professional_blue"}
|
4202
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
4203
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (1.6ms)
|
4204
|
+
Completed 200 OK in 10.6ms (Views: 9.3ms | ActiveRecord: 0.1ms)
|
4205
|
+
Processing by PostsController#index as HTML
|
4206
|
+
Parameters: {"theme"=>"professional_blue"}
|
4207
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4208
|
+
Completed 200 OK in 4.5ms (Views: 3.8ms | ActiveRecord: 0.1ms)
|
4209
|
+
Processing by PostsController#index as HTML
|
4210
|
+
Parameters: {"theme"=>"basic_blue"}
|
4211
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
4212
|
+
Completed 200 OK in 4.9ms (Views: 4.1ms | ActiveRecord: 0.1ms)
|
4213
|
+
Processing by PostsController#index as HTML
|
4214
|
+
Parameters: {"theme"=>"basic_blue"}
|
4215
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4216
|
+
Completed 200 OK in 4.7ms (Views: 4.0ms | ActiveRecord: 0.1ms)
|
4217
|
+
Processing by PostsController#new as HTML
|
4218
|
+
Parameters: {"theme"=>"basic_blue"}
|
4219
|
+
Rendered posts/_form.html.erb (9.5ms)
|
4220
|
+
Completed 200 OK in 18.8ms (Views: 14.8ms | ActiveRecord: 0.0ms)
|
4221
|
+
Processing by PostsController#new as HTML
|
4222
|
+
Parameters: {"theme"=>"basic_blue"}
|
4223
|
+
Rendered posts/_form.html.erb (1.5ms)
|
4224
|
+
Completed 200 OK in 2.8ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
4225
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4226
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4227
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4228
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4229
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4230
|
+
Processing by PostsController#index as HTML
|
4231
|
+
Parameters: {"theme"=>"professional_blue"}
|
4232
|
+
[1m[36mPost Load (1.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4233
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (3.8ms)
|
4234
|
+
Completed 200 OK in 24ms (Views: 21.4ms | ActiveRecord: 1.1ms)
|
4235
|
+
Processing by PostsController#index as HTML
|
4236
|
+
Parameters: {"theme"=>"professional_blue"}
|
4237
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4238
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)
|
4239
|
+
Processing by PostsController#index as HTML
|
4240
|
+
Parameters: {"theme"=>"basic_blue"}
|
4241
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4242
|
+
Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.1ms)
|
4243
|
+
Processing by PostsController#index as HTML
|
4244
|
+
Parameters: {"theme"=>"basic_blue"}
|
4245
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4246
|
+
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.1ms)
|
4247
|
+
Processing by PostsController#new as HTML
|
4248
|
+
Parameters: {"theme"=>"basic_blue"}
|
4249
|
+
Rendered posts/_form.html.erb (16.4ms)
|
4250
|
+
Completed 200 OK in 38ms (Views: 37.0ms | ActiveRecord: 0.3ms)
|
4251
|
+
Processing by PostsController#new as HTML
|
4252
|
+
Parameters: {"theme"=>"basic_blue"}
|
4253
|
+
Rendered posts/_form.html.erb (1.6ms)
|
4254
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
4255
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4256
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4257
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4258
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4259
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4260
|
+
Processing by PostsController#index as HTML
|
4261
|
+
Parameters: {"theme"=>"professional_blue"}
|
4262
|
+
[1m[36mPost Load (0.9ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4263
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (3.0ms)
|
4264
|
+
Completed 200 OK in 25ms (Views: 22.1ms | ActiveRecord: 0.9ms)
|
4265
|
+
Processing by PostsController#index as HTML
|
4266
|
+
Parameters: {"theme"=>"professional_blue"}
|
4267
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4268
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
|
4269
|
+
Processing by PostsController#index as HTML
|
4270
|
+
Parameters: {"theme"=>"basic_blue"}
|
4271
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4272
|
+
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.1ms)
|
4273
|
+
Processing by PostsController#index as HTML
|
4274
|
+
Parameters: {"theme"=>"basic_blue"}
|
4275
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4276
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
|
4277
|
+
Processing by PostsController#new as HTML
|
4278
|
+
Parameters: {"theme"=>"basic_blue"}
|
4279
|
+
Rendered posts/_form.html.erb (16.9ms)
|
4280
|
+
Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.2ms)
|
4281
|
+
Processing by PostsController#new as HTML
|
4282
|
+
Parameters: {"theme"=>"basic_blue"}
|
4283
|
+
Rendered posts/_form.html.erb (1.6ms)
|
4284
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
4285
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4286
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4287
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4288
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4289
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4290
|
+
Processing by PostsController#index as HTML
|
4291
|
+
Parameters: {"theme"=>"professional_blue"}
|
4292
|
+
[1m[36mPost Load (8.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4293
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (11.3ms)
|
4294
|
+
Completed 200 OK in 34ms (Views: 24.2ms | ActiveRecord: 8.2ms)
|
4295
|
+
Processing by PostsController#index as HTML
|
4296
|
+
Parameters: {"theme"=>"professional_blue"}
|
4297
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4298
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)
|
4299
|
+
Processing by PostsController#index as HTML
|
4300
|
+
Parameters: {"theme"=>"basic_blue"}
|
4301
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4302
|
+
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.1ms)
|
4303
|
+
Processing by PostsController#index as HTML
|
4304
|
+
Parameters: {"theme"=>"basic_blue"}
|
4305
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4306
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms)
|
4307
|
+
Processing by PostsController#new as HTML
|
4308
|
+
Parameters: {"theme"=>"basic_blue"}
|
4309
|
+
Rendered posts/_form.html.erb (16.6ms)
|
4310
|
+
Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.2ms)
|
4311
|
+
Processing by PostsController#new as HTML
|
4312
|
+
Parameters: {"theme"=>"basic_blue"}
|
4313
|
+
Rendered posts/_form.html.erb (1.7ms)
|
4314
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
4315
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4316
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4317
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4318
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4319
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4320
|
+
Processing by PostsController#index as HTML
|
4321
|
+
Parameters: {"theme"=>"professional_blue"}
|
4322
|
+
[1m[36mPost Load (1.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4323
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (4.1ms)
|
4324
|
+
Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 1.1ms)
|
4325
|
+
Processing by PostsController#index as HTML
|
4326
|
+
Parameters: {"theme"=>"professional_blue"}
|
4327
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4328
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
|
4329
|
+
Processing by PostsController#index as HTML
|
4330
|
+
Parameters: {"theme"=>"basic_blue"}
|
4331
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4332
|
+
Completed 200 OK in 23ms (Views: 22.2ms | ActiveRecord: 0.1ms)
|
4333
|
+
Processing by PostsController#index as HTML
|
4334
|
+
Parameters: {"theme"=>"basic_blue"}
|
4335
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
|
4336
|
+
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
|
4337
|
+
Processing by PostsController#new as HTML
|
4338
|
+
Parameters: {"theme"=>"basic_blue"}
|
4339
|
+
Rendered posts/_form.html.erb (16.9ms)
|
4340
|
+
Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.3ms)
|
4341
|
+
Processing by PostsController#new as HTML
|
4342
|
+
Parameters: {"theme"=>"basic_blue"}
|
4343
|
+
Rendered posts/_form.html.erb (3.6ms)
|
4344
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
4345
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4346
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4347
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4348
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4349
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131120082307')[0m
|
4350
|
+
Processing by PostsController#index as HTML
|
4351
|
+
Parameters: {"theme"=>"professional_blue"}
|
4352
|
+
[1m[36mPost Load (1.0ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4353
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (3.7ms)
|
4354
|
+
Completed 200 OK in 28ms (Views: 25.8ms | ActiveRecord: 1.0ms)
|
4355
|
+
Processing by PostsController#index as HTML
|
4356
|
+
Parameters: {"theme"=>"professional_blue"}
|
4357
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4358
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
|
4359
|
+
Processing by PostsController#index as HTML
|
4360
|
+
Parameters: {"theme"=>"basic_blue"}
|
4361
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
4362
|
+
Completed 200 OK in 22ms (Views: 21.8ms | ActiveRecord: 0.1ms)
|
4363
|
+
Processing by PostsController#index as HTML
|
4364
|
+
Parameters: {"theme"=>"basic_blue"}
|
4365
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4366
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)
|
4367
|
+
Processing by PostsController#new as HTML
|
4368
|
+
Parameters: {"theme"=>"basic_blue"}
|
4369
|
+
Rendered posts/_form.html.erb (15.2ms)
|
4370
|
+
Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.3ms)
|
4371
|
+
Processing by PostsController#new as HTML
|
4372
|
+
Parameters: {"theme"=>"basic_blue"}
|
4373
|
+
Rendered posts/_form.html.erb (1.8ms)
|
4374
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
4375
|
+
Connecting to database specified by database.yml
|
4376
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
4377
|
+
[1m[35m (0.6ms)[0m select sqlite_version(*)
|
4378
|
+
[1m[36m (2.4ms)[0m [1mDROP TABLE "posts"[0m
|
4379
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)
|
4380
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
4381
|
+
Connecting to database specified by database.yml
|
4382
|
+
Processing by PostsController#index as HTML
|
4383
|
+
Parameters: {"theme"=>"professional_blue"}
|
4384
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
4385
|
+
Rendered app/themes/professional_blue/views/posts/index.html.erb within layouts/professional_blue (2.0ms)
|
4386
|
+
Completed 200 OK in 15.1ms (Views: 13.7ms | ActiveRecord: 0.1ms)
|
4387
|
+
Processing by PostsController#index as HTML
|
4388
|
+
Parameters: {"theme"=>"professional_blue"}
|
4389
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4390
|
+
Completed 200 OK in 5.2ms (Views: 4.1ms | ActiveRecord: 0.1ms)
|
4391
|
+
Processing by PostsController#index as HTML
|
4392
|
+
Parameters: {"theme"=>"basic_blue"}
|
4393
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
4394
|
+
Completed 200 OK in 11.3ms (Views: 10.5ms | ActiveRecord: 0.1ms)
|
4395
|
+
Processing by PostsController#index as HTML
|
4396
|
+
Parameters: {"theme"=>"basic_blue"}
|
4397
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
|
4398
|
+
Completed 200 OK in 4.9ms (Views: 4.1ms | ActiveRecord: 0.1ms)
|
4399
|
+
Processing by PostsController#new as HTML
|
4400
|
+
Parameters: {"theme"=>"basic_blue"}
|
4401
|
+
Rendered posts/_form.html.erb (11.9ms)
|
4402
|
+
Completed 200 OK in 21.7ms (Views: 17.8ms | ActiveRecord: 0.0ms)
|
4403
|
+
Processing by PostsController#new as HTML
|
4404
|
+
Parameters: {"theme"=>"basic_blue"}
|
4405
|
+
Rendered posts/_form.html.erb (1.7ms)
|
4406
|
+
Completed 200 OK in 3.2ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: themes_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chamnap Chhorn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
201
|
version: 1.8.11
|
202
202
|
requirements: []
|
203
203
|
rubyforge_project:
|
204
|
-
rubygems_version: 2.2.
|
204
|
+
rubygems_version: 2.2.2
|
205
205
|
signing_key:
|
206
206
|
specification_version: 4
|
207
207
|
summary: Adds multi themes support to your Rails 3/4 application
|