rails-settings-ui 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d3a038194e89a8a7763fe2006fe8b94a29fbb16
4
- data.tar.gz: 72815478e3fd16400fca0df170a1677958b2a211
3
+ metadata.gz: 2af9b45ff596a83abad6bbdc0a8c567199c3bc6a
4
+ data.tar.gz: b134ea0e83b9c7644ea2acbd00b5f93254518860
5
5
  SHA512:
6
- metadata.gz: 4ee0a49062d8163ed58825f9a37f86bc9a0624dc7cb65f1ab64f57eb45d12df104aae2a44da016c3e51097a9adac770f57b44bebcb020db273bb88ded1b21666
7
- data.tar.gz: a9427ec7b832c29951567f7a679b44389db06894f395184ae59b8c773448a4ce4b0aa50c6ac3bd6948f40f470bb123a1621e59d6f0fbacb676ea1c86e4842e56
6
+ metadata.gz: 7b165789e8b71a0c4157aa07e35aeef024da04a47ee4a00a82226e0c4c99df0a3b66ef601828a08754880ee6b49b106797dfcf3c97f5416561c0e4fb8a8dd0dd
7
+ data.tar.gz: dd9b49f16a96e8f7bb9a1d4c929775f4807e1cc28ae09b71ea4504101b0981b84bc8aa77fc257fd8ad6e6daf05fd0146c99a19e0f9a6491062b38692c43ddaa1
data/README.md CHANGED
@@ -11,6 +11,8 @@ Preview:
11
11
 
12
12
  ![ScreenShot](https://raw.github.com/accessd/rails-settings-ui/master/doc/img/settings-page.png)
13
13
 
14
+ Live example: http://rails-settings-ui.herokuapp.com/
15
+
14
16
  How to
15
17
  -----
16
18
 
@@ -27,7 +27,7 @@ module RailsSettingsUi
27
27
  type = setting_value_type(name, value)
28
28
  settings[name] = type.cast
29
29
  if type.errors.any?
30
- errors[name.to_sym] = type.errors
30
+ errors[name.to_sym] = type.errors.join(', ')
31
31
  end
32
32
  end
33
33
  settings = set_non_presented_boolean_settings_to_false(settings)
@@ -1,3 +1,3 @@
1
1
  module RailsSettingsUi
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
@@ -7539,3 +7539,241 @@ Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.1ms)
7539
7539
   (0.0ms) rollback transaction
7540
7540
   (0.0ms) begin transaction
7541
7541
   (0.0ms) rollback transaction
7542
+  (0.6ms) CREATE 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) 
7543
+  (0.4ms) select sqlite_version(*)
7544
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
7545
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
7546
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7547
+  (0.0ms) SELECT version FROM "schema_migrations"
7548
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
7549
+  (0.1ms) begin transaction
7550
+  (0.1ms) rollback transaction
7551
+  (0.1ms) begin transaction
7552
+  (0.1ms) rollback transaction
7553
+  (0.1ms) begin transaction
7554
+  (0.1ms) rollback transaction
7555
+  (0.1ms) begin transaction
7556
+  (0.2ms) rollback transaction
7557
+  (0.1ms) begin transaction
7558
+  (0.1ms) rollback transaction
7559
+  (0.1ms) begin transaction
7560
+  (0.0ms) rollback transaction
7561
+  (0.1ms) begin transaction
7562
+  (0.1ms) rollback transaction
7563
+  (0.1ms) begin transaction
7564
+  (0.1ms) rollback transaction
7565
+  (0.1ms) begin transaction
7566
+  (0.1ms) rollback transaction
7567
+  (0.1ms) begin transaction
7568
+  (0.0ms) rollback transaction
7569
+  (0.1ms) begin transaction
7570
+  (0.0ms) rollback transaction
7571
+  (0.1ms) begin transaction
7572
+  (0.1ms) rollback transaction
7573
+  (0.1ms) begin transaction
7574
+  (0.1ms) rollback transaction
7575
+  (0.1ms) begin transaction
7576
+  (0.1ms) rollback transaction
7577
+  (0.1ms) begin transaction
7578
+  (0.1ms) rollback transaction
7579
+  (0.2ms) begin transaction
7580
+  (0.1ms) rollback transaction
7581
+  (0.1ms) begin transaction
7582
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7583
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7584
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7585
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (12.7ms)
7586
+ Completed 200 OK in 53ms (Views: 46.8ms | ActiveRecord: 0.7ms)
7587
+  (0.2ms) rollback transaction
7588
+  (0.1ms) begin transaction
7589
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7590
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7591
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7592
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.5ms)
7593
+ Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.2ms)
7594
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7595
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
7596
+ 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"}
7597
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7598
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.5ms)
7599
+ Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms)
7600
+  (0.1ms) rollback transaction
7601
+  (0.0ms) begin transaction
7602
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7603
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7604
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7605
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (5.3ms)
7606
+ Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.1ms)
7607
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7608
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
7609
+ 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"}
7610
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7611
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (5.2ms)
7612
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.1ms)
7613
+  (0.1ms) rollback transaction
7614
+  (0.1ms) begin transaction
7615
+  (0.1ms) SAVEPOINT active_record_1
7616
+ SQL (0.2ms) INSERT INTO "settings" ("created_at", "updated_at", "value", "var") VALUES (?, ?, ?, ?) [["created_at", "2014-08-06 18:34:58.344815"], ["updated_at", "2014-08-06 18:34:58.344815"], ["value", "--- apple\n...\n"], ["var", "company"]]
7617
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7618
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7619
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7620
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7621
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (4.6ms)
7622
+ Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.2ms)
7623
+  (0.4ms) rollback transaction
7624
+  (0.1ms) begin transaction
7625
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7626
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7627
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7628
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (5.4ms)
7629
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.1ms)
7630
+  (0.2ms) rollback transaction
7631
+  (0.1ms) begin transaction
7632
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7633
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7634
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7635
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (4.6ms)
7636
+ Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms)
7637
+  (0.1ms) rollback transaction
7638
+  (0.1ms) begin transaction
7639
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7640
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7641
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7642
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (5.2ms)
7643
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms)
7644
+  (0.1ms) rollback transaction
7645
+  (0.1ms) begin transaction
7646
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7647
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7648
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7649
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (4.0ms)
7650
+ Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)
7651
+  (0.1ms) rollback transaction
7652
+  (0.1ms) begin transaction
7653
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:34:58 +0400
7654
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7655
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7656
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (6.3ms)
7657
+ Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms)
7658
+  (0.1ms) rollback transaction
7659
+  (0.1ms) begin transaction
7660
+  (0.1ms) rollback transaction
7661
+  (0.6ms) CREATE 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) 
7662
+  (0.1ms) select sqlite_version(*)
7663
+  (0.2ms) CREATE UNIQUE INDEX "index_settings_on_thing_type_and_thing_id_and_var" ON "settings" ("thing_type", "thing_id", "var")
7664
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
7665
+  (0.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7666
+  (0.1ms) SELECT version FROM "schema_migrations"
7667
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140320182332')
7668
+  (0.1ms) begin transaction
7669
+  (0.1ms) rollback transaction
7670
+  (0.1ms) begin transaction
7671
+  (0.0ms) rollback transaction
7672
+  (0.1ms) begin transaction
7673
+  (0.1ms) rollback transaction
7674
+  (0.0ms) begin transaction
7675
+  (0.1ms) rollback transaction
7676
+  (0.1ms) begin transaction
7677
+  (0.1ms) rollback transaction
7678
+  (0.1ms) begin transaction
7679
+  (0.1ms) rollback transaction
7680
+  (0.1ms) begin transaction
7681
+  (0.1ms) rollback transaction
7682
+  (0.1ms) begin transaction
7683
+  (0.1ms) rollback transaction
7684
+  (0.1ms) begin transaction
7685
+  (0.1ms) rollback transaction
7686
+  (0.1ms) begin transaction
7687
+  (0.1ms) rollback transaction
7688
+  (0.1ms) begin transaction
7689
+  (0.1ms) rollback transaction
7690
+  (0.1ms) begin transaction
7691
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:06 +0400
7692
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7693
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7694
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (11.8ms)
7695
+ Completed 200 OK in 45ms (Views: 42.1ms | ActiveRecord: 0.3ms)
7696
+  (0.1ms) rollback transaction
7697
+  (0.1ms) begin transaction
7698
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:06 +0400
7699
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7700
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7701
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (6.0ms)
7702
+ Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.2ms)
7703
+  (0.1ms) rollback transaction
7704
+  (0.1ms) begin transaction
7705
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7706
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7707
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7708
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (4.9ms)
7709
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms)
7710
+  (0.1ms) rollback transaction
7711
+  (0.2ms) begin transaction
7712
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7713
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7714
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7715
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (5.9ms)
7716
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.1ms)
7717
+  (0.1ms) rollback transaction
7718
+  (0.1ms) begin transaction
7719
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7720
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7721
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7722
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (4.1ms)
7723
+ Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.1ms)
7724
+  (0.1ms) rollback transaction
7725
+  (0.1ms) begin transaction
7726
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7727
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7728
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7729
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (5.7ms)
7730
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.2ms)
7731
+  (0.1ms) rollback transaction
7732
+  (0.1ms) begin transaction
7733
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7734
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7735
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7736
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (5.0ms)
7737
+ Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.2ms)
7738
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7739
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
7740
+ 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"}
7741
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7742
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.9ms)
7743
+ Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.1ms)
7744
+  (0.2ms) rollback transaction
7745
+  (0.2ms) begin transaction
7746
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7747
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7748
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7749
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (3.8ms)
7750
+ Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.1ms)
7751
+ Started PUT "/settings/update_all" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7752
+ Processing by RailsSettingsUi::SettingsController#update_all as HTML
7753
+ 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"}
7754
+ Settings Load (0.1ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7755
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (6.3ms)
7756
+ Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.1ms)
7757
+  (0.2ms) rollback transaction
7758
+  (0.2ms) begin transaction
7759
+  (0.1ms) SAVEPOINT active_record_1
7760
+ SQL (0.3ms) INSERT INTO "settings" ("created_at", "updated_at", "value", "var") VALUES (?, ?, ?, ?) [["created_at", "2014-08-06 18:35:07.177447"], ["updated_at", "2014-08-06 18:35:07.177447"], ["value", "--- apple\n...\n"], ["var", "company"]]
7761
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7762
+ Started GET "/settings" for 127.0.0.1 at 2014-08-06 22:35:07 +0400
7763
+ Processing by RailsSettingsUi::SettingsController#index as HTML
7764
+ Settings Load (0.2ms) SELECT var,value FROM "settings" WHERE (thing_type is NULL and thing_id is NULL)
7765
+ Rendered /Users/accessd/projects/rails-settings-ui/app/views/rails_settings_ui/settings/index.html.haml within layouts/rails_settings_ui/application (4.8ms)
7766
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.2ms)
7767
+  (0.2ms) rollback transaction
7768
+  (0.1ms) begin transaction
7769
+  (0.1ms) rollback transaction
7770
+  (0.1ms) begin transaction
7771
+  (0.1ms) rollback transaction
7772
+  (0.1ms) begin transaction
7773
+  (0.1ms) rollback transaction
7774
+  (0.1ms) begin transaction
7775
+  (0.1ms) rollback transaction
7776
+  (0.0ms) begin transaction
7777
+  (0.1ms) rollback transaction
7778
+  (0.1ms) begin transaction
7779
+  (0.0ms) rollback transaction
@@ -1,2 +1,2 @@
1
1
  o: ActiveSupport::Cache::Entry: @valueI"
2
- apple:ET:@created_atf1406654333.705139:@expires_in0
2
+ apple:ET:@created_atf1407350107.182223:@expires_in0
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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Morskov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-29 00:00:00.000000000 Z
11
+ date: 2014-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: sass-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: 4.0.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 4.0.0
69
69
  - !ruby/object:Gem::Dependency