rails-settings-ui 0.4.0 → 0.5.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 +4 -7
- data/app/controllers/rails_settings_ui/settings_controller.rb +2 -1
- data/app/helpers/rails_settings_ui/settings_helper.rb +9 -0
- data/app/views/layouts/rails_settings_ui/application.html.haml +0 -1
- data/lib/rails-settings-ui/engine.rb +0 -3
- data/lib/rails-settings-ui/version.rb +1 -1
- data/spec/dummy/log/test.log +375 -0
- data/spec/dummy/tmp/cache/702/EF0/settings%3Acompany +1 -1
- data/spec/dummy/tmp/capybara/capybara-20150806215043930368374.html +90 -0
- data/spec/dummy/tmp/capybara/capybara-20150806215052828612801.html +90 -0
- data/spec/dummy/tmp/capybara/capybara-201508062151043307563970.html +90 -0
- metadata +8 -31
- data/app/assets/stylesheets/rails_settings_ui/application.css.scss +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc72755cf22a10415d58b3854758ea9b01af316e
|
4
|
+
data.tar.gz: 77a112f4085d266714e08ddcb1348998db01d11e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 987c8bafcca25d32509aec2de3f6f57b18ef12f35038bab3d0e8fde4c9d0e29447db29735196de32f3f6cda5f9ee33bd4909f59079121fde9b2291a9115c64ae
|
7
|
+
data.tar.gz: 2cec2721aed657dd43a150adc1087e9cdbb34d5b5c90b2371ee9c998a74e0e0810d8d74a9ddab979326900c7f76b19aced1c9e13248bd9b9504b82b4dd0381fa
|
data/README.md
CHANGED
@@ -18,13 +18,7 @@ How to
|
|
18
18
|
|
19
19
|
Add to Gemfile
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
gem 'rails-settings-ui', '~> 0.2.0'
|
24
|
-
|
25
|
-
for bootstrap 3
|
26
|
-
|
27
|
-
gem 'rails-settings-ui', '~> 0.3.0'
|
21
|
+
gem 'rails-settings-ui'
|
28
22
|
|
29
23
|
then add
|
30
24
|
|
@@ -36,6 +30,9 @@ or
|
|
36
30
|
|
37
31
|
or your fork of rails-settings.
|
38
32
|
|
33
|
+
If you want to use bootstrap interface you need also include bootstrap stylesheets to your app.
|
34
|
+
You may use [bootstrap-sass](https://github.com/twbs/bootstrap-sass) gem for that.
|
35
|
+
|
39
36
|
Setup:
|
40
37
|
|
41
38
|
# adds initializer and route:
|
@@ -1,4 +1,5 @@
|
|
1
1
|
class RailsSettingsUi::SettingsController < RailsSettingsUi::ApplicationController
|
2
|
+
include RailsSettingsUi::SettingsHelper
|
2
3
|
before_filter :collection
|
3
4
|
before_filter :cast_settings_params, only: :update_all
|
4
5
|
|
@@ -17,7 +18,7 @@ class RailsSettingsUi::SettingsController < RailsSettingsUi::ApplicationControll
|
|
17
18
|
private
|
18
19
|
|
19
20
|
def collection
|
20
|
-
all_settings = RailsSettingsUi.settings_klass.defaults.merge(RailsSettingsUi.settings_klass.
|
21
|
+
all_settings = RailsSettingsUi.settings_klass.defaults.merge(RailsSettingsUi.settings_klass.public_send(get_collection_method))
|
21
22
|
all_settings_without_ignored = all_settings.reject{ |name, description| RailsSettingsUi.ignored_settings.include?(name.to_sym) }
|
22
23
|
@settings = Hash[all_settings_without_ignored]
|
23
24
|
end
|
@@ -55,4 +55,13 @@ module RailsSettingsUi::SettingsHelper
|
|
55
55
|
def message_for_default_value_missing
|
56
56
|
content_tag(:span, I18n.t("settings.errors.default_missing"), class: "label label-warning")
|
57
57
|
end
|
58
|
+
|
59
|
+
def get_collection_method
|
60
|
+
case Rails::VERSION::STRING
|
61
|
+
when /4\.0\.\d+/ || /3\..*/
|
62
|
+
:all
|
63
|
+
else
|
64
|
+
:get_all
|
65
|
+
end
|
66
|
+
end
|
58
67
|
end
|
@@ -5,7 +5,6 @@
|
|
5
5
|
%meta{:charset => "utf-8"}
|
6
6
|
%meta{"http-equiv" => "X-UA-Compatible", :content => "IE=edge,chrome=1"}
|
7
7
|
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
|
8
|
-
= stylesheet_link_tag "rails_settings_ui/application"
|
9
8
|
= csrf_meta_tags
|
10
9
|
%body
|
11
10
|
.container
|
data/spec/dummy/log/test.log
CHANGED
@@ -9427,3 +9427,378 @@ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
|
9427
9427
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9428
9428
|
[1m[35m (0.0ms)[0m begin transaction
|
9429
9429
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9430
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) [0m
|
9431
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
9432
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")[0m
|
9433
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9434
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9435
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
9436
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140320182332')[0m
|
9437
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9438
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9440
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9442
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9443
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9444
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9445
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9446
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9447
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9448
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9449
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9450
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9451
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9452
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9454
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9455
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9456
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9457
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9458
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9459
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9460
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9461
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9462
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9463
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9464
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9465
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9467
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "settings" ("created_at", "updated_at", "value", "var") VALUES (?, ?, ?, ?) [["created_at", "2015-08-06 18:50:43.353973"], ["updated_at", "2015-08-06 18:50:43.353973"], ["value", "--- apple\n...\n"], ["var", "company"]]
|
9468
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9469
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9470
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9471
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9472
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (7.0ms)
|
9473
|
+
Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 0.1ms)
|
9474
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
9475
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9476
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9477
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9478
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9479
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.3ms)
|
9480
|
+
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
|
9481
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9483
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9484
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9485
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9486
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.5ms)
|
9487
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
9488
|
+
Started PUT "/settings/update_all" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9489
|
+
Processing by RailsSettingsUi::SettingsController#update_all as HTML
|
9490
|
+
Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "style"=>"test", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}}, "commit"=>"Save all"}
|
9491
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9492
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.7ms)
|
9493
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
9494
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9496
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9497
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9498
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9499
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.6ms)
|
9500
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
9501
|
+
Started PUT "/settings/update_all" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9502
|
+
Processing by RailsSettingsUi::SettingsController#update_all as HTML
|
9503
|
+
Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"test", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}}, "commit"=>"Save all"}
|
9504
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9505
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.5ms)
|
9506
|
+
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)
|
9507
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9508
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9509
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9510
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9511
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9512
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.6ms)
|
9513
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms)
|
9514
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9516
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9517
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9518
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9519
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.9ms)
|
9520
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
9521
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9523
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9524
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9525
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9526
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.8ms)
|
9527
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
9528
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9530
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9531
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9532
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9533
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.4ms)
|
9534
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
|
9535
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9537
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:43 +0300
|
9538
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9539
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9540
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.1ms)
|
9541
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms)
|
9542
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9543
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9544
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9545
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9546
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9547
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9548
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9550
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9551
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9552
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9553
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9554
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9555
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) [0m
|
9556
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
9557
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")[0m
|
9558
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9559
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9560
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
9561
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140320182332')[0m
|
9562
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9563
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9564
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9565
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9566
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9567
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9569
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9570
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "settings" ("created_at", "updated_at", "value", "var") VALUES (?, ?, ?, ?) [["created_at", "2015-08-06 18:50:51.998603"], ["updated_at", "2015-08-06 18:50:51.998603"], ["value", "--- apple\n...\n"], ["var", "company"]]
|
9571
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9572
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9573
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9574
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9575
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (13.4ms)
|
9576
|
+
Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.1ms)
|
9577
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9578
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9579
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9580
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9581
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9582
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.6ms)
|
9583
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
9584
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9585
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9586
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9587
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9588
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9589
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.6ms)
|
9590
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
9591
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9592
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9593
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9594
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9595
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9596
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.6ms)
|
9597
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
9598
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9600
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9601
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9602
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9603
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.6ms)
|
9604
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
9605
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9606
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9607
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9608
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9609
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9610
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.9ms)
|
9611
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
9612
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9613
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9614
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9615
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9616
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9617
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.4ms)
|
9618
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
9619
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9621
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9622
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9623
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9624
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.5ms)
|
9625
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
9626
|
+
Started PUT "/settings/update_all" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9627
|
+
Processing by RailsSettingsUi::SettingsController#update_all as HTML
|
9628
|
+
Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "style"=>"test", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}}, "commit"=>"Save all"}
|
9629
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9630
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.3ms)
|
9631
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
9632
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
9633
|
+
[1m[35m (0.2ms)[0m begin transaction
|
9634
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9635
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9636
|
+
[1m[36mSettings Load (0.2ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9637
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.8ms)
|
9638
|
+
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
9639
|
+
Started PUT "/settings/update_all" for 127.0.0.1 at 2015-08-06 21:50:52 +0300
|
9640
|
+
Processing by RailsSettingsUi::SettingsController#update_all as HTML
|
9641
|
+
Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"test", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}}, "commit"=>"Save all"}
|
9642
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9643
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (4.0ms)
|
9644
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
|
9645
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9646
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9647
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9648
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9649
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9650
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9651
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9653
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9654
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9655
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9656
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9657
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9658
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9659
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9661
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9662
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9663
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9665
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9667
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9668
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9669
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9670
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9671
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9673
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9674
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9675
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9676
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9677
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9678
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9679
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9680
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "var" varchar(255) NOT NULL, "value" text, "thing_id" integer, "thing_type" varchar(30), "created_at" datetime, "updated_at" datetime) [0m
|
9681
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
9682
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")[0m
|
9683
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9684
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9685
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
9686
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140320182332')[0m
|
9687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9688
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9689
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9690
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9691
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9692
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9693
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9694
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9695
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9696
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9698
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9700
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
9701
|
+
[1m[35m (0.3ms)[0m begin transaction
|
9702
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9703
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9704
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9705
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (10.1ms)
|
9706
|
+
Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.3ms)
|
9707
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9709
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9710
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9711
|
+
[1m[35mSettings Load (0.2ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9712
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.4ms)
|
9713
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms)
|
9714
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9716
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9717
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9718
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9719
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.9ms)
|
9720
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
|
9721
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9722
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9723
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9724
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9725
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9726
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.5ms)
|
9727
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
9728
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9729
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9730
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9731
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9732
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9733
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.7ms)
|
9734
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
9735
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9736
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9737
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9738
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "settings" ("created_at", "updated_at", "value", "var") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-08-06 18:51:04.229342"], ["updated_at", "2015-08-06 18:51:04.229342"], ["value", "--- apple\n...\n"], ["var", "company"]]
|
9739
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9740
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9741
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9742
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9743
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.7ms)
|
9744
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
9745
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9747
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9748
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9749
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9750
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.6ms)
|
9751
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
|
9752
|
+
Started PUT "/settings/update_all" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9753
|
+
Processing by RailsSettingsUi::SettingsController#update_all as HTML
|
9754
|
+
Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"test", "style"=>"{\"border_color\"=>\"e0e0e0\", \"block_color\"=>\"ffffff\", \"title\"=>{\"font\"=>\"Tahoma\", \"size\"=>\"12\", \"color\"=>\"107821\"}}", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}}, "commit"=>"Save all"}
|
9755
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9756
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.9ms)
|
9757
|
+
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms)
|
9758
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9760
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9761
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9762
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9763
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.9ms)
|
9764
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
|
9765
|
+
Started PUT "/settings/update_all" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9766
|
+
Processing by RailsSettingsUi::SettingsController#update_all as HTML
|
9767
|
+
Parameters: {"utf8"=>"✓", "settings"=>{"project_name"=>"Dummy", "limit"=>"150", "style"=>"test", "check_something"=>"on", "description"=>"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.", "mode"=>{"auto"=>"on", "manual"=>"on"}}, "commit"=>"Save all"}
|
9768
|
+
[1m[36mSettings Load (0.1ms)[0m [1mSELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)[0m
|
9769
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.6ms)
|
9770
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
9771
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9773
|
+
Started GET "/settings" for 127.0.0.1 at 2015-08-06 21:51:04 +0300
|
9774
|
+
Processing by RailsSettingsUi::SettingsController#index as HTML
|
9775
|
+
[1m[35mSettings Load (0.1ms)[0m SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
|
9776
|
+
Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (2.2ms)
|
9777
|
+
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
9778
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9779
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9780
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9781
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9782
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9783
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9784
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9785
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9786
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9787
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9788
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9789
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9790
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9791
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9792
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9793
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9794
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9795
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9796
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9797
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9798
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9799
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9800
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9801
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9802
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9804
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
@@ -1,2 +1,2 @@
|
|
1
1
|
o: ActiveSupport::Cache::Entry:@valueI"
|
2
|
-
apple:ET:@created_atf
|
2
|
+
apple:ET:@created_atf1438887064.2359722:@expires_in0
|
@@ -0,0 +1,90 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Rails settings</title>
|
5
|
+
<meta charset='utf-8'>
|
6
|
+
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
|
7
|
+
<meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'>
|
8
|
+
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<div class='container'>
|
12
|
+
<div class='navbar navbar-default'>
|
13
|
+
<div class='container-fluid'>
|
14
|
+
<div class='navbar-header'>
|
15
|
+
<a class='navbar-brand' href='/'>Rails settings ui</a>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<div class='row'><ol class='breadcrumb'>
|
20
|
+
<li class='active'>Settings</li>
|
21
|
+
</ol>
|
22
|
+
<form accept-charset="UTF-8" action="/settings/update_all" class="form" method="post"><div style="display:none"><input name="utf8" type="hidden" value="✓" /><input name="_method" type="hidden" value="put" /></div>
|
23
|
+
<table class='table table-striped'>
|
24
|
+
<thead>
|
25
|
+
<tr>
|
26
|
+
<th>Description</th>
|
27
|
+
<th>Value</th>
|
28
|
+
</tr>
|
29
|
+
</thead>
|
30
|
+
<tbody>
|
31
|
+
<tr data-name='project_name'>
|
32
|
+
<td>translation missing: en.settings.attributes.project_name.name</td>
|
33
|
+
<td class='setting-value'>
|
34
|
+
<div class='form-group '>
|
35
|
+
<input class="form-control" id="settings_project_name" name="settings[project_name]" type="text" value="Dummy" />
|
36
|
+
</div>
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
<tr data-name='limit'>
|
40
|
+
<td>translation missing: en.settings.attributes.limit.name</td>
|
41
|
+
<td class='setting-value'>
|
42
|
+
<div class='form-group '>
|
43
|
+
<input class="form-control" id="settings_limit" name="settings[limit]" type="text" value="150" />
|
44
|
+
</div>
|
45
|
+
</td>
|
46
|
+
</tr>
|
47
|
+
<tr data-name='style'>
|
48
|
+
<td>translation missing: en.settings.attributes.style.name</td>
|
49
|
+
<td class='setting-value'>
|
50
|
+
<div class='form-group '>
|
51
|
+
<textarea class="form-control" id="settings_style" name="settings[style]" rows="10">
|
52
|
+
{"border_color"=>"e0e0e0", "block_color"=>"ffffff", "title"=>{"font"=>"Tahoma", "size"=>"12", "color"=>"107821"}}</textarea>
|
53
|
+
</div>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
<tr data-name='check_something'>
|
57
|
+
<td>Check This Out!</td>
|
58
|
+
<td class='setting-value'>
|
59
|
+
<div class='form-group '>
|
60
|
+
<input id="settings_check_something" name="settings[check_something]" type="hidden" value="off" /><input checked="checked" id="settings_check_something" name="settings[check_something]" type="checkbox" /><span class="help-block">You really should check it out!</span>
|
61
|
+
</div>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr data-name='description'>
|
65
|
+
<td>translation missing: en.settings.attributes.description.name</td>
|
66
|
+
<td class='setting-value'>
|
67
|
+
<div class='form-group '>
|
68
|
+
<textarea class="form-control" id="settings_description" name="settings[description]" rows="10">
|
69
|
+
But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.</textarea>
|
70
|
+
</div>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr data-name='mode'>
|
74
|
+
<td>translation missing: en.settings.attributes.mode.name</td>
|
75
|
+
<td class='setting-value'>
|
76
|
+
<div class='form-group '>
|
77
|
+
<input checked="checked" id="settings_mode_auto" name="settings[mode][auto]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_auto" style="display: inline-block;">auto</label><input checked="checked" id="settings_mode_manual" name="settings[mode][manual]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_manual" style="display: inline-block;">manual</label>
|
78
|
+
</div>
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
</tbody>
|
82
|
+
</table>
|
83
|
+
<input class="btn btn-primary btn-lg" name="commit" type="submit" value="Save all" />
|
84
|
+
</form>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
<footer></footer>
|
88
|
+
</div>
|
89
|
+
</body>
|
90
|
+
</html>
|
@@ -0,0 +1,90 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Rails settings</title>
|
5
|
+
<meta charset='utf-8'>
|
6
|
+
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
|
7
|
+
<meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'>
|
8
|
+
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<div class='container'>
|
12
|
+
<div class='navbar navbar-default'>
|
13
|
+
<div class='container-fluid'>
|
14
|
+
<div class='navbar-header'>
|
15
|
+
<a class='navbar-brand' href='/'>Rails settings ui</a>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<div class='row'><ol class='breadcrumb'>
|
20
|
+
<li class='active'>Settings</li>
|
21
|
+
</ol>
|
22
|
+
<form accept-charset="UTF-8" action="/settings/update_all" class="form" method="post"><div style="display:none"><input name="utf8" type="hidden" value="✓" /><input name="_method" type="hidden" value="put" /></div>
|
23
|
+
<table class='table table-striped'>
|
24
|
+
<thead>
|
25
|
+
<tr>
|
26
|
+
<th>Description</th>
|
27
|
+
<th>Value</th>
|
28
|
+
</tr>
|
29
|
+
</thead>
|
30
|
+
<tbody>
|
31
|
+
<tr data-name='project_name'>
|
32
|
+
<td>translation missing: en.settings.attributes.project_name.name</td>
|
33
|
+
<td class='setting-value'>
|
34
|
+
<div class='form-group '>
|
35
|
+
<input class="form-control" id="settings_project_name" name="settings[project_name]" type="text" value="Dummy" />
|
36
|
+
</div>
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
<tr data-name='limit'>
|
40
|
+
<td>translation missing: en.settings.attributes.limit.name</td>
|
41
|
+
<td class='setting-value'>
|
42
|
+
<div class='form-group '>
|
43
|
+
<input class="form-control" id="settings_limit" name="settings[limit]" type="text" value="150" />
|
44
|
+
</div>
|
45
|
+
</td>
|
46
|
+
</tr>
|
47
|
+
<tr data-name='style'>
|
48
|
+
<td>translation missing: en.settings.attributes.style.name</td>
|
49
|
+
<td class='setting-value'>
|
50
|
+
<div class='form-group '>
|
51
|
+
<textarea class="form-control" id="settings_style" name="settings[style]" rows="10">
|
52
|
+
{"border_color"=>"e0e0e0", "block_color"=>"ffffff", "title"=>{"font"=>"Tahoma", "size"=>"12", "color"=>"107821"}}</textarea>
|
53
|
+
</div>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
<tr data-name='check_something'>
|
57
|
+
<td>Check This Out!</td>
|
58
|
+
<td class='setting-value'>
|
59
|
+
<div class='form-group '>
|
60
|
+
<input id="settings_check_something" name="settings[check_something]" type="hidden" value="off" /><input checked="checked" id="settings_check_something" name="settings[check_something]" type="checkbox" /><span class="help-block">You really should check it out!</span>
|
61
|
+
</div>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr data-name='description'>
|
65
|
+
<td>translation missing: en.settings.attributes.description.name</td>
|
66
|
+
<td class='setting-value'>
|
67
|
+
<div class='form-group '>
|
68
|
+
<textarea class="form-control" id="settings_description" name="settings[description]" rows="10">
|
69
|
+
But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.</textarea>
|
70
|
+
</div>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr data-name='mode'>
|
74
|
+
<td>translation missing: en.settings.attributes.mode.name</td>
|
75
|
+
<td class='setting-value'>
|
76
|
+
<div class='form-group '>
|
77
|
+
<input checked="checked" id="settings_mode_auto" name="settings[mode][auto]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_auto" style="display: inline-block;">auto</label><input checked="checked" id="settings_mode_manual" name="settings[mode][manual]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_manual" style="display: inline-block;">manual</label>
|
78
|
+
</div>
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
</tbody>
|
82
|
+
</table>
|
83
|
+
<input class="btn btn-primary btn-lg" name="commit" type="submit" value="Save all" />
|
84
|
+
</form>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
<footer></footer>
|
88
|
+
</div>
|
89
|
+
</body>
|
90
|
+
</html>
|
@@ -0,0 +1,90 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Rails settings</title>
|
5
|
+
<meta charset='utf-8'>
|
6
|
+
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
|
7
|
+
<meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'>
|
8
|
+
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<div class='container'>
|
12
|
+
<div class='navbar navbar-default'>
|
13
|
+
<div class='container-fluid'>
|
14
|
+
<div class='navbar-header'>
|
15
|
+
<a class='navbar-brand' href='/'>Rails settings ui</a>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<div class='row'><ol class='breadcrumb'>
|
20
|
+
<li class='active'>Settings</li>
|
21
|
+
</ol>
|
22
|
+
<form accept-charset="UTF-8" action="/settings/update_all" class="form" method="post"><div style="display:none"><input name="utf8" type="hidden" value="✓" /><input name="_method" type="hidden" value="put" /></div>
|
23
|
+
<table class='table table-striped'>
|
24
|
+
<thead>
|
25
|
+
<tr>
|
26
|
+
<th>Description</th>
|
27
|
+
<th>Value</th>
|
28
|
+
</tr>
|
29
|
+
</thead>
|
30
|
+
<tbody>
|
31
|
+
<tr data-name='project_name'>
|
32
|
+
<td>translation missing: en.settings.attributes.project_name.name</td>
|
33
|
+
<td class='setting-value'>
|
34
|
+
<div class='form-group '>
|
35
|
+
<input class="form-control" id="settings_project_name" name="settings[project_name]" type="text" value="Dummy" />
|
36
|
+
</div>
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
<tr data-name='limit'>
|
40
|
+
<td>translation missing: en.settings.attributes.limit.name</td>
|
41
|
+
<td class='setting-value'>
|
42
|
+
<div class='form-group '>
|
43
|
+
<input class="form-control" id="settings_limit" name="settings[limit]" type="text" value="150" />
|
44
|
+
</div>
|
45
|
+
</td>
|
46
|
+
</tr>
|
47
|
+
<tr data-name='style'>
|
48
|
+
<td>translation missing: en.settings.attributes.style.name</td>
|
49
|
+
<td class='setting-value'>
|
50
|
+
<div class='form-group '>
|
51
|
+
<textarea class="form-control" id="settings_style" name="settings[style]" rows="10">
|
52
|
+
{"border_color"=>"e0e0e0", "block_color"=>"ffffff", "title"=>{"font"=>"Tahoma", "size"=>"12", "color"=>"107821"}}</textarea>
|
53
|
+
</div>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
<tr data-name='check_something'>
|
57
|
+
<td>Check This Out!</td>
|
58
|
+
<td class='setting-value'>
|
59
|
+
<div class='form-group '>
|
60
|
+
<input id="settings_check_something" name="settings[check_something]" type="hidden" value="off" /><input checked="checked" id="settings_check_something" name="settings[check_something]" type="checkbox" /><span class="help-block">You really should check it out!</span>
|
61
|
+
</div>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr data-name='description'>
|
65
|
+
<td>translation missing: en.settings.attributes.description.name</td>
|
66
|
+
<td class='setting-value'>
|
67
|
+
<div class='form-group '>
|
68
|
+
<textarea class="form-control" id="settings_description" name="settings[description]" rows="10">
|
69
|
+
But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.</textarea>
|
70
|
+
</div>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr data-name='mode'>
|
74
|
+
<td>translation missing: en.settings.attributes.mode.name</td>
|
75
|
+
<td class='setting-value'>
|
76
|
+
<div class='form-group '>
|
77
|
+
<input checked="checked" id="settings_mode_auto" name="settings[mode][auto]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_auto" style="display: inline-block;">auto</label><input checked="checked" id="settings_mode_manual" name="settings[mode][manual]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_manual" style="display: inline-block;">manual</label>
|
78
|
+
</div>
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
</tbody>
|
82
|
+
</table>
|
83
|
+
<input class="btn btn-primary btn-lg" name="commit" type="submit" value="Save all" />
|
84
|
+
</form>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
<footer></footer>
|
88
|
+
</div>
|
89
|
+
</body>
|
90
|
+
</html>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-settings-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Morskov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06
|
11
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -52,34 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: sass-rails
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 4.0.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 4.0.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: bootstrap-sass
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 3.2.0
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 3.2.0
|
83
55
|
- !ruby/object:Gem::Dependency
|
84
56
|
name: rspec-rails
|
85
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +118,6 @@ files:
|
|
146
118
|
- MIT-LICENSE
|
147
119
|
- README.md
|
148
120
|
- Rakefile
|
149
|
-
- app/assets/stylesheets/rails_settings_ui/application.css.scss
|
150
121
|
- app/controllers/rails_settings_ui/application_controller.rb
|
151
122
|
- app/controllers/rails_settings_ui/settings_controller.rb
|
152
123
|
- app/helpers/rails_settings_ui/settings_helper.rb
|
@@ -291,6 +262,9 @@ files:
|
|
291
262
|
- spec/dummy/tmp/capybara/capybara-201403251029034025293240.html
|
292
263
|
- spec/dummy/tmp/capybara/capybara-201407142218044166461911.html
|
293
264
|
- spec/dummy/tmp/capybara/capybara-201506232120315215937316.html
|
265
|
+
- spec/dummy/tmp/capybara/capybara-20150806215043930368374.html
|
266
|
+
- spec/dummy/tmp/capybara/capybara-20150806215052828612801.html
|
267
|
+
- spec/dummy/tmp/capybara/capybara-201508062151043307563970.html
|
294
268
|
- spec/features/settings_spec.rb
|
295
269
|
- spec/lib/rails-settings-ui/type_converter_spec.rb
|
296
270
|
- spec/lib/rails-settings-ui/value_types/array_spec.rb
|
@@ -446,6 +420,9 @@ test_files:
|
|
446
420
|
- spec/dummy/tmp/capybara/capybara-201403251029034025293240.html
|
447
421
|
- spec/dummy/tmp/capybara/capybara-201407142218044166461911.html
|
448
422
|
- spec/dummy/tmp/capybara/capybara-201506232120315215937316.html
|
423
|
+
- spec/dummy/tmp/capybara/capybara-20150806215043930368374.html
|
424
|
+
- spec/dummy/tmp/capybara/capybara-20150806215052828612801.html
|
425
|
+
- spec/dummy/tmp/capybara/capybara-201508062151043307563970.html
|
449
426
|
- spec/features/settings_spec.rb
|
450
427
|
- spec/lib/rails-settings-ui/type_converter_spec.rb
|
451
428
|
- spec/lib/rails-settings-ui/value_types/array_spec.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'bootstrap';
|