optimacms 0.1.21 → 0.1.23

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: 0dedf3d2ea22e07a9673c2cf0227e1466d53d2ed
4
- data.tar.gz: 498ad6b7e5922515d949b17ca0695e1a22fde16a
3
+ metadata.gz: 80997eab0b779e80d8d128b3e27beb4b0f2d8f25
4
+ data.tar.gz: 1201d38254bfeb9cb855b7b3dde70904de629f31
5
5
  SHA512:
6
- metadata.gz: 452749ce8ad6404b3bb655d8dd06ec58d103019864af89234686ee15b7571784f7df8480f9f2607a4d706d64de8694810bf86f34894d28ea4e8d942428d3a2e5
7
- data.tar.gz: 40c428c607b0912c5fa54ebcefbd653aa352e828e0ada67fc7003b5eb4c3b886668cf432d5375d8bd050384b6187038bc396d2cfb4ec4e54d83179032981c171
6
+ metadata.gz: 2ee644c9be83dc570226be24c8ed784d30e327b7aa842330874d81090ea6ba683bedea3d34d72ec6e9338211cdd0864ce0b62c16bf4952f4a6538c127b6ced42
7
+ data.tar.gz: 94ec06e665f66003895429c3e00a2dc799678a7366f16fa3023cacc0fd114b43e4be91ddbc80c94b9f3c4c3f4927e2d91fa5c00918eaa049434752d028c8b699
@@ -29,10 +29,7 @@ module Optimacms
29
29
  end
30
30
 
31
31
 
32
- #include SimpleFilter::Controller
33
- #search_filter :index, {save_session: true, search_method: :post_and_redirect, index_url: :pages_url, search_url: :search_pages_url, search_action: :search} do
34
32
  search_filter :index, {save_session: true, search_method: :post_and_redirect, search_url: :search_pages_url, search_action: :search} do
35
- # define filter
36
33
  default_order "created_at", 'desc'
37
34
 
38
35
  # fields
@@ -33,9 +33,11 @@ module Optimacms
33
33
 
34
34
 
35
35
  # search
36
- searchable_by_simple_filter
37
36
  scope :of_parent, lambda { |parent_id| where_parent(parent_id) }
38
37
 
38
+ searchable_by_simple_filter
39
+
40
+
39
41
 
40
42
 
41
43
 
@@ -0,0 +1 @@
1
+ SimpleSearchFilter.page_default_param_name = :pg
@@ -1,3 +1,3 @@
1
1
  module Optimacms
2
- VERSION = "0.1.21"
2
+ VERSION = "0.1.23"
3
3
  end
@@ -5,7 +5,7 @@ class ApplicationController < ActionController::Base
5
5
 
6
6
 
7
7
  #before_filter :authenticate_beta if Rails.env.development? && Rails.application.config.TEST_ADMIN_PWD!=''
8
- before_filter :authenticate_beta if Rails.env.development?
8
+ #before_filter :authenticate_beta if Rails.env.development?
9
9
 
10
10
  def authenticate_beta
11
11
  authenticate_or_request_with_http_basic('Administration') do |username, password|
@@ -0,0 +1 @@
1
+ SimpleSearchFilter.page_default_param_name = :pg
@@ -2626,3 +2626,298 @@ Started GET "/assets/jquery_ujs-70d72f952728c353b94038382e7befd0.js?body=1" for
2626
2626
 
2627
2627
 
2628
2628
  Started GET "/assets/bootstrap3-typeahead.min-3880b907fcc8e9822fd6e7e943b5c171.js?body=1" for 127.0.0.1 at 2015-05-14 22:25:28 +0300
2629
+
2630
+
2631
+ Started GET "/cmsadmin/pages" for 127.0.0.1 at 2015-05-15 07:20:36 +0300
2632
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2633
+ Processing by Optimacms::Admin::PagesController#index as HTML
2634
+ Filter chain halted as :authenticate_beta rendered or redirected
2635
+ Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms)
2636
+
2637
+
2638
+ Started GET "/cmsadmin/pages" for 127.0.0.1 at 2015-05-15 07:20:49 +0300
2639
+ Processing by Optimacms::Admin::PagesController#index as HTML
2640
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
2641
+ Optimacms::Language Load (1.0ms) SELECT `cms_languages`.* FROM `cms_languages`
2642
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 0 LIMIT 1
2643
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (6521.4ms)
2644
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (15.0ms)
2645
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (6559.4ms)
2646
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (3.0ms)
2647
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (12.0ms)
2648
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (6606.4ms)
2649
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (6631.4ms)
2650
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 ) ORDER BY created_at desc LIMIT 10 OFFSET 0
2651
+  (1.0ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 )
2652
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (7073.4ms)
2653
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (45.0ms)
2654
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (43.0ms)
2655
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (12.0ms)
2656
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (15.0ms)
2657
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (4.0ms)
2658
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (17.0ms)
2659
+ Completed 200 OK in 8916ms (Views: 8254.5ms | ActiveRecord: 31.0ms)
2660
+
2661
+
2662
+ Started GET "/assets/bootstrap-58ca6b043268446acfe07ba24bfa47c2.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:00 +0300
2663
+
2664
+
2665
+ Started GET "/assets/jquery_ujs-70d72f952728c353b94038382e7befd0.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:00 +0300
2666
+
2667
+
2668
+ Started GET "/assets/bootstrap3-typeahead.min-3880b907fcc8e9822fd6e7e943b5c171.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:00 +0300
2669
+
2670
+
2671
+ Started GET "/assets/optimacms/admin-5660a40f04929efdc8e9d5d5de362cb5.css?body=1" for 127.0.0.1 at 2015-05-15 07:21:00 +0300
2672
+
2673
+
2674
+ Started GET "/assets/bootstrap3-autocomplete-input.min-fc7040ba3cdbf1284fe40644eef92726.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:00 +0300
2675
+
2676
+
2677
+ Started GET "/assets/optimacms/admin-418e8fa2b242e98677a52fb576eeb71e.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:00 +0300
2678
+
2679
+
2680
+ Started GET "/assets/optimacms/admin_tpl-98e1a3d5347153bf6028fe42ecd9d980.css?body=1" for 127.0.0.1 at 2015-05-15 07:21:01 +0300
2681
+
2682
+
2683
+ Started GET "/assets/optimacms/application-f3310b2f82b7d77d8fed25b3ce9b645f.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:01 +0300
2684
+
2685
+
2686
+ Started GET "/assets/jquery2-e8c714946b114c8c2255318fee69a51d.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:01 +0300
2687
+
2688
+
2689
+ Started GET "/assets/fontawesome-webfont-b4cacb8e4e25ca3b16a52bc06aeff9be.woff?v=4.3.0" for 127.0.0.1 at 2015-05-15 07:21:01 +0300
2690
+
2691
+
2692
+ Started GET "/cmsadmin/pages?pg=4" for 127.0.0.1 at 2015-05-15 07:21:04 +0300
2693
+ Processing by Optimacms::Admin::PagesController#index as HTML
2694
+ Parameters: {"pg"=>"4"}
2695
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
2696
+ Optimacms::Page Load (0.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 0 LIMIT 1
2697
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (32.0ms)
2698
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (6.0ms)
2699
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (48.0ms)
2700
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (0.0ms)
2701
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (5.0ms)
2702
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (64.0ms)
2703
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (68.0ms)
2704
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 ) ORDER BY created_at desc LIMIT 10 OFFSET 0
2705
+  (1.0ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 )
2706
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (195.0ms)
2707
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (4.0ms)
2708
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (9.0ms)
2709
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (2.0ms)
2710
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
2711
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
2712
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (6.0ms)
2713
+ Completed 200 OK in 837ms (Views: 815.0ms | ActiveRecord: 3.0ms)
2714
+
2715
+
2716
+ Started GET "/assets/optimacms/admin_tpl-98e1a3d5347153bf6028fe42ecd9d980.css?body=1" for 127.0.0.1 at 2015-05-15 07:21:05 +0300
2717
+
2718
+
2719
+ Started GET "/assets/optimacms/application-f3310b2f82b7d77d8fed25b3ce9b645f.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:05 +0300
2720
+
2721
+
2722
+ Started GET "/assets/jquery2-e8c714946b114c8c2255318fee69a51d.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:05 +0300
2723
+
2724
+
2725
+ Started GET "/cmsadmin/pages?pg=4" for 127.0.0.1 at 2015-05-15 07:21:19 +0300
2726
+ Processing by Optimacms::Admin::PagesController#index as HTML
2727
+ Parameters: {"pg"=>"4"}
2728
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
2729
+ Optimacms::Page Load (0.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 0 LIMIT 1
2730
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (32.0ms)
2731
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (8.0ms)
2732
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (51.0ms)
2733
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (0.0ms)
2734
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (7.0ms)
2735
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (72.0ms)
2736
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (77.0ms)
2737
+ Optimacms::Page Load (3.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 ) ORDER BY created_at desc LIMIT 10 OFFSET 0
2738
+  (2.0ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 )
2739
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (241.0ms)
2740
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (5.0ms)
2741
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (11.0ms)
2742
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (2.0ms)
2743
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
2744
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (1.0ms)
2745
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (8.0ms)
2746
+ Completed 200 OK in 38990ms (Views: 1049.1ms | ActiveRecord: 5.0ms)
2747
+
2748
+
2749
+ Started GET "/assets/optimacms/application-f3310b2f82b7d77d8fed25b3ce9b645f.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:58 +0300
2750
+
2751
+
2752
+ Started GET "/assets/jquery_ujs-70d72f952728c353b94038382e7befd0.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:58 +0300
2753
+
2754
+
2755
+ Started GET "/assets/jquery2-e8c714946b114c8c2255318fee69a51d.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:58 +0300
2756
+
2757
+
2758
+ Started GET "/assets/bootstrap-58ca6b043268446acfe07ba24bfa47c2.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:59 +0300
2759
+
2760
+
2761
+ Started GET "/assets/optimacms/admin-5660a40f04929efdc8e9d5d5de362cb5.css?body=1" for 127.0.0.1 at 2015-05-15 07:21:59 +0300
2762
+
2763
+
2764
+ Started GET "/assets/optimacms/admin_tpl-98e1a3d5347153bf6028fe42ecd9d980.css?body=1" for 127.0.0.1 at 2015-05-15 07:21:59 +0300
2765
+
2766
+
2767
+ Started GET "/assets/bootstrap3-typeahead.min-3880b907fcc8e9822fd6e7e943b5c171.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:59 +0300
2768
+
2769
+
2770
+ Started GET "/assets/bootstrap3-autocomplete-input.min-fc7040ba3cdbf1284fe40644eef92726.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:59 +0300
2771
+
2772
+
2773
+ Started GET "/assets/optimacms/admin-418e8fa2b242e98677a52fb576eeb71e.js?body=1" for 127.0.0.1 at 2015-05-15 07:21:59 +0300
2774
+
2775
+
2776
+ Started GET "/cmsadmin/pages?pg=4" for 127.0.0.1 at 2015-05-15 07:25:03 +0300
2777
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2778
+ Processing by Optimacms::Admin::PagesController#index as HTML
2779
+ Parameters: {"pg"=>"4"}
2780
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
2781
+ Optimacms::Language Load (0.0ms) SELECT `cms_languages`.* FROM `cms_languages`
2782
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE `cms_pages`.`id` = 0 LIMIT 1
2783
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (6758.4ms)
2784
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (14.0ms)
2785
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (6793.4ms)
2786
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (5.0ms)
2787
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (20.0ms)
2788
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (6842.4ms)
2789
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (6861.4ms)
2790
+ Optimacms::Page Load (1.0ms) SELECT `cms_pages`.* FROM `cms_pages` WHERE (1=1 ) ORDER BY created_at desc LIMIT 10 OFFSET 30
2791
+  (1.0ms) SELECT COUNT(*) FROM `cms_pages` WHERE (1=1 )
2792
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/pages/index.html.haml within optimacms/admin/layouts/main (7265.4ms)
2793
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (49.0ms)
2794
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (57.0ms)
2795
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (24.0ms)
2796
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (18.0ms)
2797
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (7.0ms)
2798
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (27.0ms)
2799
+ Completed 200 OK in 12553ms (Views: 8605.5ms | ActiveRecord: 40.0ms)
2800
+
2801
+
2802
+ Started GET "/assets/optimacms/admin-5660a40f04929efdc8e9d5d5de362cb5.css?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2803
+
2804
+
2805
+ Started GET "/assets/optimacms/application-f3310b2f82b7d77d8fed25b3ce9b645f.js?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2806
+
2807
+
2808
+ Started GET "/assets/optimacms/admin_tpl-98e1a3d5347153bf6028fe42ecd9d980.css?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2809
+
2810
+
2811
+ Started GET "/assets/jquery_ujs-70d72f952728c353b94038382e7befd0.js?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2812
+
2813
+
2814
+ Started GET "/assets/bootstrap-58ca6b043268446acfe07ba24bfa47c2.js?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2815
+
2816
+
2817
+ Started GET "/assets/bootstrap3-typeahead.min-3880b907fcc8e9822fd6e7e943b5c171.js?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2818
+
2819
+
2820
+ Started GET "/assets/bootstrap3-autocomplete-input.min-fc7040ba3cdbf1284fe40644eef92726.js?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2821
+
2822
+
2823
+ Started GET "/assets/optimacms/admin-418e8fa2b242e98677a52fb576eeb71e.js?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2824
+
2825
+
2826
+ Started GET "/assets/jquery2-e8c714946b114c8c2255318fee69a51d.js?body=1" for 127.0.0.1 at 2015-05-15 07:25:16 +0300
2827
+
2828
+
2829
+ Started GET "/cmsadmin/templates" for 127.0.0.1 at 2015-05-15 07:25:29 +0300
2830
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
2831
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
2832
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 0 LIMIT 1
2833
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (33.0ms)
2834
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (8.0ms)
2835
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (53.0ms)
2836
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (1.0ms)
2837
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (5.0ms)
2838
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (73.0ms)
2839
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (78.0ms)
2840
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE (1=1 ) ORDER BY title asc LIMIT 10 OFFSET 0
2841
+  (1.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE (1=1 )
2842
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (399.0ms)
2843
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (4.0ms)
2844
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (12.0ms)
2845
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (2.0ms)
2846
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
2847
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
2848
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (9.0ms)
2849
+ Completed 200 OK in 1399ms (Views: 1326.1ms | ActiveRecord: 13.0ms)
2850
+
2851
+
2852
+ Started GET "/cmsadmin/templates?pg=3" for 127.0.0.1 at 2015-05-15 07:25:32 +0300
2853
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
2854
+ Parameters: {"pg"=>"3"}
2855
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
2856
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 0 LIMIT 1
2857
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (32.0ms)
2858
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (9.0ms)
2859
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (52.0ms)
2860
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (0.0ms)
2861
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (5.0ms)
2862
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (71.0ms)
2863
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (76.0ms)
2864
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE (1=1 ) ORDER BY title asc LIMIT 10 OFFSET 20
2865
+  (0.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE (1=1 )
2866
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (288.0ms)
2867
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (4.0ms)
2868
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (9.0ms)
2869
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
2870
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
2871
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
2872
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (7.0ms)
2873
+ Completed 200 OK in 1012ms (Views: 990.1ms | ActiveRecord: 3.0ms)
2874
+
2875
+
2876
+ Started GET "/cmsadmin/templates?parent_id=72" for 127.0.0.1 at 2015-05-15 07:25:35 +0300
2877
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
2878
+ Parameters: {"parent_id"=>"72"}
2879
+ Optimacms::CmsAdminUser Load (0.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
2880
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 72 LIMIT 1
2881
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 72 LIMIT 1
2882
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (33.0ms)
2883
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (8.0ms)
2884
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (53.0ms)
2885
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (1.0ms)
2886
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (6.0ms)
2887
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (74.0ms)
2888
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (79.0ms)
2889
+ Optimacms::Template Load (1.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE 1=0 ORDER BY (case when cms_templates.ancestry is null then 0 else 1 end), cms_templates.ancestry
2890
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`ancestry` = '72' AND (1=1 ) ORDER BY title asc LIMIT 10 OFFSET 0
2891
+  (1.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE `cms_templates`.`ancestry` = '72' AND (1=1 )
2892
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (124.0ms)
2893
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (4.0ms)
2894
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (9.0ms)
2895
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
2896
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
2897
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
2898
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (7.0ms)
2899
+ Completed 200 OK in 868ms (Views: 834.0ms | ActiveRecord: 3.0ms)
2900
+
2901
+
2902
+ Started GET "/cmsadmin/templates?parent_id=0" for 127.0.0.1 at 2015-05-15 07:25:37 +0300
2903
+ Processing by Optimacms::Admin::TemplatesController#index as HTML
2904
+ Parameters: {"parent_id"=>"0"}
2905
+ Optimacms::CmsAdminUser Load (1.0ms) SELECT `cms_users`.* FROM `cms_users` WHERE `cms_users`.`id` = 3 ORDER BY `cms_users`.`id` ASC LIMIT 1
2906
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE `cms_templates`.`id` = 0 LIMIT 1
2907
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (36.0ms)
2908
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_field_simple_form.html.haml (9.0ms)
2909
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_fields.html.haml (55.0ms)
2910
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear.html.haml (1.0ms)
2911
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_buttons_apply_clear_inline.html.haml (6.0ms)
2912
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form_inline.html.haml (77.0ms)
2913
+ Rendered D:/Ruby215/lib/ruby/gems/2.1.0/gems/simple_search_filter-0.0.5/app/views/simple_search_filter/_form.html.haml (82.0ms)
2914
+ Optimacms::Template Load (0.0ms) SELECT `cms_templates`.* FROM `cms_templates` WHERE (1=1 ) ORDER BY title asc LIMIT 10 OFFSET 0
2915
+  (1.0ms) SELECT COUNT(*) FROM `cms_templates` WHERE (1=1 )
2916
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/templates/index.html.haml within optimacms/admin/layouts/main (262.0ms)
2917
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_top.html.haml (4.0ms)
2918
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_leftmenu.html.haml (15.0ms)
2919
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_breadcrumbs.html.haml (1.0ms)
2920
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_flash.html.haml (1.0ms)
2921
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_version.html.haml (0.0ms)
2922
+ Rendered W:/myrails/cms/site/app/views/optimacms/admin/shared/_footer.html.haml (6.0ms)
2923
+ Completed 200 OK in 996ms (Views: 969.1ms | ActiveRecord: 2.0ms)
@@ -0,0 +1 @@
1
+ 4804
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimacms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Ivak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-14 00:00:00.000000000 Z
11
+ date: 2015-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - '='
214
214
  - !ruby/object:Gem::Version
215
- version: 0.0.4
215
+ version: 0.0.5
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - '='
221
221
  - !ruby/object:Gem::Version
222
- version: 0.0.4
222
+ version: 0.0.5
223
223
  description: CMS on Ruby on Rails
224
224
  email:
225
225
  - maxivak@gmail.com
@@ -324,9 +324,9 @@ files:
324
324
  - config/initializers/kaminari.rb
325
325
  - config/initializers/paperclip.rb
326
326
  - config/initializers/paperclip_media_type_spoof_detector_override.rb
327
+ - config/initializers/simple_filter.rb
327
328
  - config/initializers/simple_form.rb
328
329
  - config/initializers/simple_form_bootstrap.rb
329
- - config/initializers/simple_form_simple_search_boostrap.rb
330
330
  - config/locales/devise.en.yml
331
331
  - config/locales/simple_form.en.yml
332
332
  - config/locales/simple_form.ru.yml
@@ -430,6 +430,7 @@ files:
430
430
  - test/dummy/config/initializers/inflections.rb
431
431
  - test/dummy/config/initializers/mime_types.rb
432
432
  - test/dummy/config/initializers/session_store.rb
433
+ - test/dummy/config/initializers/simple_filter.rb
433
434
  - test/dummy/config/initializers/wrap_parameters.rb
434
435
  - test/dummy/config/locales/devise.en.yml
435
436
  - test/dummy/config/locales/en.yml
@@ -2459,6 +2460,7 @@ files:
2459
2460
  - test/dummy/tmp/cache/assets/development/sprockets/fedc8f629673405d3bbcd26e9e0b977d
2460
2461
  - test/dummy/tmp/cache/assets/development/sprockets/ff9ed89418a3f78032b8f8184dd98e80
2461
2462
  - test/dummy/tmp/cache/assets/development/sprockets/fff5cc1f57d172a75379719781f39cea
2463
+ - test/dummy/tmp/pids/server.pid
2462
2464
  - test/fixtures/optimacms/articles.yml
2463
2465
  - test/fixtures/optimacms/cms_users.yml
2464
2466
  - test/integration/navigation_test.rb
@@ -2571,6 +2573,7 @@ test_files:
2571
2573
  - test/dummy/config/initializers/inflections.rb
2572
2574
  - test/dummy/config/initializers/mime_types.rb
2573
2575
  - test/dummy/config/initializers/session_store.rb
2576
+ - test/dummy/config/initializers/simple_filter.rb
2574
2577
  - test/dummy/config/initializers/wrap_parameters.rb
2575
2578
  - test/dummy/config/locales/devise.en.yml
2576
2579
  - test/dummy/config/locales/en.yml
@@ -4603,6 +4606,7 @@ test_files:
4603
4606
  - test/dummy/tmp/cache/assets/development/sprockets/fedc8f629673405d3bbcd26e9e0b977d
4604
4607
  - test/dummy/tmp/cache/assets/development/sprockets/ff9ed89418a3f78032b8f8184dd98e80
4605
4608
  - test/dummy/tmp/cache/assets/development/sprockets/fff5cc1f57d172a75379719781f39cea
4609
+ - test/dummy/tmp/pids/server.pid
4606
4610
  - test/fixtures/optimacms/articles.yml
4607
4611
  - test/fixtures/optimacms/cms_users.yml
4608
4612
  - test/integration/navigation_test.rb
@@ -1,6 +0,0 @@
1
-
2
- SimpleForm.setup do |config|
3
-
4
-
5
-
6
- end