seo_pages 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.rdoc +2 -33
 - data/Rakefile +1 -1
 - data/app/assets/stylesheets/{seo → seo_pages}/application.css +0 -1
 - data/app/controllers/{seo → seo_pages}/application_controller.rb +1 -2
 - data/app/controllers/{seo → seo_pages}/seo_page_defaults_controller.rb +8 -8
 - data/app/controllers/{seo → seo_pages}/seo_pages_controller.rb +3 -4
 - data/app/helpers/{seo → seo_pages}/application_helper.rb +3 -5
 - data/app/helpers/{seo → seo_pages}/seo_page_defaults_helper.rb +1 -1
 - data/app/helpers/{seo → seo_pages}/seo_pages_helper.rb +1 -1
 - data/app/models/{seo → seo_pages}/seo_page.rb +1 -1
 - data/app/models/seo_pages/seo_page_default.rb +5 -0
 - data/app/views/layouts/seo_pages/application.html.erb +14 -0
 - data/app/views/{seo → seo_pages}/seo_page_defaults/_form.html.erb +3 -7
 - data/app/views/{seo → seo_pages}/seo_page_defaults/edit.html.erb +1 -1
 - data/app/views/{seo → seo_pages}/seo_page_defaults/index.html.erb +7 -3
 - data/app/views/{seo → seo_pages}/seo_page_defaults/new.html.erb +1 -1
 - data/app/views/{seo → seo_pages}/seo_page_defaults/show.html.erb +1 -1
 - data/app/views/{seo → seo_pages}/seo_pages/_form.html.erb +3 -3
 - data/config/routes.rb +4 -3
 - data/db/migrate/{20130903111044_create_seo_seo_page_defaults.rb → 20130905104532_create_seo_pages_seo_page_defaults.rb} +2 -2
 - data/db/migrate/{20130903105348_create_seo_seo_pages.rb → 20130905104642_create_seo_pages_seo_pages.rb} +3 -3
 - data/db/migrate/20130905104716_create_default_record.rb +10 -0
 - data/lib/seo_pages/engine.rb +11 -0
 - data/lib/seo_pages/version.rb +3 -0
 - data/lib/seo_pages.rb +4 -0
 - data/lib/tasks/{seo_tasks.rake → seo_pages_tasks.rake} +1 -1
 - data/test/controllers/{seo → seo_pages}/seo_page_defaults_controller_test.rb +1 -1
 - data/test/controllers/{seo → seo_pages}/seo_pages_controller_test.rb +1 -1
 - data/test/dummy/app/controllers/application_controller.rb +0 -1
 - data/test/dummy/config/application.rb +1 -1
 - data/test/dummy/config/initializers/secret_token.rb +1 -1
 - data/test/dummy/config/routes.rb +1 -1
 - data/test/helpers/{seo → seo_pages}/seo_page_defaults_helper_test.rb +1 -1
 - data/test/helpers/{seo → seo_pages}/seo_pages_helper_test.rb +1 -1
 - data/test/models/{seo → seo_pages}/seo_page_default_test.rb +1 -1
 - data/test/models/{seo → seo_pages}/seo_page_test.rb +1 -1
 - data/test/seo_pages_test.rb +7 -0
 - metadata +51 -59
 - data/app/models/seo/seo_page_default.rb +0 -10
 - data/app/views/layouts/seo/application.html.erb +0 -18
 - data/db/migrate/20130903123958_create_seo_page_default_record.rb +0 -10
 - data/lib/seo/engine.rb +0 -10
 - data/lib/seo/version.rb +0 -3
 - data/lib/seo.rb +0 -4
 - data/test/dummy/config/initializers/seo_initializer.rb +0 -8
 - data/test/dummy/db/development.sqlite3 +0 -0
 - data/test/dummy/db/schema.rb +0 -33
 - data/test/dummy/log/development.log +0 -7489
 - data/test/seo_test.rb +0 -7
 - data/app/assets/javascripts/{seo → seo_pages}/application.js +0 -0
 - data/app/assets/javascripts/{seo → seo_pages}/seo_page_defaults.js +0 -0
 - data/app/assets/javascripts/{seo → seo_pages}/seo_pages.js +0 -0
 - data/app/assets/stylesheets/{seo → seo_pages}/seo_page_defaults.css +0 -0
 - data/app/assets/stylesheets/{seo → seo_pages}/seo_pages.css +0 -0
 - data/app/views/{seo → seo_pages}/seo_pages/edit.html.erb +0 -0
 - data/app/views/{seo → seo_pages}/seo_pages/index.html.erb +0 -0
 - data/app/views/{seo → seo_pages}/seo_pages/new.html.erb +0 -0
 - data/app/views/{seo → seo_pages}/seo_pages/show.html.erb +0 -0
 - data/test/fixtures/{seo → seo_pages}/seo_page_defaults.yml +0 -0
 - data/test/fixtures/{seo → seo_pages}/seo_pages.yml +2 -2
 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: seo_pages
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - BadrIT
         
     | 
| 
         @@ -34,52 +34,51 @@ executables: [] 
     | 
|
| 
       34 
34 
     | 
    
         
             
            extensions: []
         
     | 
| 
       35 
35 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       36 
36 
     | 
    
         
             
            files:
         
     | 
| 
       37 
     | 
    
         
            -
            - app/helpers/ 
     | 
| 
       38 
     | 
    
         
            -
            - app/helpers/ 
     | 
| 
       39 
     | 
    
         
            -
            - app/helpers/ 
     | 
| 
       40 
     | 
    
         
            -
            - app/models/ 
     | 
| 
       41 
     | 
    
         
            -
            - app/models/ 
     | 
| 
       42 
     | 
    
         
            -
            - app/controllers/ 
     | 
| 
       43 
     | 
    
         
            -
            - app/controllers/ 
     | 
| 
       44 
     | 
    
         
            -
            - app/controllers/ 
     | 
| 
       45 
     | 
    
         
            -
            - app/assets/javascripts/ 
     | 
| 
       46 
     | 
    
         
            -
            - app/assets/javascripts/ 
     | 
| 
       47 
     | 
    
         
            -
            - app/assets/javascripts/ 
     | 
| 
      
 37 
     | 
    
         
            +
            - app/helpers/seo_pages/seo_page_defaults_helper.rb
         
     | 
| 
      
 38 
     | 
    
         
            +
            - app/helpers/seo_pages/seo_pages_helper.rb
         
     | 
| 
      
 39 
     | 
    
         
            +
            - app/helpers/seo_pages/application_helper.rb
         
     | 
| 
      
 40 
     | 
    
         
            +
            - app/models/seo_pages/seo_page_default.rb
         
     | 
| 
      
 41 
     | 
    
         
            +
            - app/models/seo_pages/seo_page.rb
         
     | 
| 
      
 42 
     | 
    
         
            +
            - app/controllers/seo_pages/seo_pages_controller.rb
         
     | 
| 
      
 43 
     | 
    
         
            +
            - app/controllers/seo_pages/seo_page_defaults_controller.rb
         
     | 
| 
      
 44 
     | 
    
         
            +
            - app/controllers/seo_pages/application_controller.rb
         
     | 
| 
      
 45 
     | 
    
         
            +
            - app/assets/javascripts/seo_pages/seo_page_defaults.js
         
     | 
| 
      
 46 
     | 
    
         
            +
            - app/assets/javascripts/seo_pages/application.js
         
     | 
| 
      
 47 
     | 
    
         
            +
            - app/assets/javascripts/seo_pages/seo_pages.js
         
     | 
| 
       48 
48 
     | 
    
         
             
            - app/assets/stylesheets/scaffold.css
         
     | 
| 
       49 
     | 
    
         
            -
            - app/assets/stylesheets/ 
     | 
| 
       50 
     | 
    
         
            -
            - app/assets/stylesheets/ 
     | 
| 
       51 
     | 
    
         
            -
            - app/assets/stylesheets/ 
     | 
| 
       52 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       53 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       54 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       55 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       56 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       57 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       58 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       59 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       60 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       61 
     | 
    
         
            -
            - app/views/ 
     | 
| 
       62 
     | 
    
         
            -
            - app/views/ 
     | 
| 
      
 49 
     | 
    
         
            +
            - app/assets/stylesheets/seo_pages/application.css
         
     | 
| 
      
 50 
     | 
    
         
            +
            - app/assets/stylesheets/seo_pages/seo_page_defaults.css
         
     | 
| 
      
 51 
     | 
    
         
            +
            - app/assets/stylesheets/seo_pages/seo_pages.css
         
     | 
| 
      
 52 
     | 
    
         
            +
            - app/views/seo_pages/seo_pages/new.html.erb
         
     | 
| 
      
 53 
     | 
    
         
            +
            - app/views/seo_pages/seo_pages/show.html.erb
         
     | 
| 
      
 54 
     | 
    
         
            +
            - app/views/seo_pages/seo_pages/_form.html.erb
         
     | 
| 
      
 55 
     | 
    
         
            +
            - app/views/seo_pages/seo_pages/edit.html.erb
         
     | 
| 
      
 56 
     | 
    
         
            +
            - app/views/seo_pages/seo_pages/index.html.erb
         
     | 
| 
      
 57 
     | 
    
         
            +
            - app/views/seo_pages/seo_page_defaults/new.html.erb
         
     | 
| 
      
 58 
     | 
    
         
            +
            - app/views/seo_pages/seo_page_defaults/show.html.erb
         
     | 
| 
      
 59 
     | 
    
         
            +
            - app/views/seo_pages/seo_page_defaults/_form.html.erb
         
     | 
| 
      
 60 
     | 
    
         
            +
            - app/views/seo_pages/seo_page_defaults/edit.html.erb
         
     | 
| 
      
 61 
     | 
    
         
            +
            - app/views/seo_pages/seo_page_defaults/index.html.erb
         
     | 
| 
      
 62 
     | 
    
         
            +
            - app/views/layouts/seo_pages/application.html.erb
         
     | 
| 
       63 
63 
     | 
    
         
             
            - config/routes.rb
         
     | 
| 
       64 
     | 
    
         
            -
            - db/migrate/ 
     | 
| 
       65 
     | 
    
         
            -
            - db/migrate/ 
     | 
| 
       66 
     | 
    
         
            -
            - db/migrate/ 
     | 
| 
       67 
     | 
    
         
            -
            - lib/ 
     | 
| 
       68 
     | 
    
         
            -
            - lib/tasks/ 
     | 
| 
       69 
     | 
    
         
            -
            - lib/ 
     | 
| 
       70 
     | 
    
         
            -
            - lib/ 
     | 
| 
      
 64 
     | 
    
         
            +
            - db/migrate/20130905104532_create_seo_pages_seo_page_defaults.rb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - db/migrate/20130905104642_create_seo_pages_seo_pages.rb
         
     | 
| 
      
 66 
     | 
    
         
            +
            - db/migrate/20130905104716_create_default_record.rb
         
     | 
| 
      
 67 
     | 
    
         
            +
            - lib/seo_pages.rb
         
     | 
| 
      
 68 
     | 
    
         
            +
            - lib/tasks/seo_pages_tasks.rake
         
     | 
| 
      
 69 
     | 
    
         
            +
            - lib/seo_pages/engine.rb
         
     | 
| 
      
 70 
     | 
    
         
            +
            - lib/seo_pages/version.rb
         
     | 
| 
       71 
71 
     | 
    
         
             
            - MIT-LICENSE
         
     | 
| 
       72 
72 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       73 
73 
     | 
    
         
             
            - README.rdoc
         
     | 
| 
       74 
     | 
    
         
            -
            - test/fixtures/ 
     | 
| 
       75 
     | 
    
         
            -
            - test/fixtures/ 
     | 
| 
       76 
     | 
    
         
            -
            - test/helpers/ 
     | 
| 
       77 
     | 
    
         
            -
            - test/helpers/ 
     | 
| 
       78 
     | 
    
         
            -
            - test/models/ 
     | 
| 
       79 
     | 
    
         
            -
            - test/models/ 
     | 
| 
       80 
     | 
    
         
            -
            - test/ 
     | 
| 
       81 
     | 
    
         
            -
            - test/controllers/ 
     | 
| 
       82 
     | 
    
         
            -
            - test/controllers/seo/seo_pages_controller_test.rb
         
     | 
| 
      
 74 
     | 
    
         
            +
            - test/fixtures/seo_pages/seo_pages.yml
         
     | 
| 
      
 75 
     | 
    
         
            +
            - test/fixtures/seo_pages/seo_page_defaults.yml
         
     | 
| 
      
 76 
     | 
    
         
            +
            - test/helpers/seo_pages/seo_pages_helper_test.rb
         
     | 
| 
      
 77 
     | 
    
         
            +
            - test/helpers/seo_pages/seo_page_defaults_helper_test.rb
         
     | 
| 
      
 78 
     | 
    
         
            +
            - test/models/seo_pages/seo_page_default_test.rb
         
     | 
| 
      
 79 
     | 
    
         
            +
            - test/models/seo_pages/seo_page_test.rb
         
     | 
| 
      
 80 
     | 
    
         
            +
            - test/controllers/seo_pages/seo_page_defaults_controller_test.rb
         
     | 
| 
      
 81 
     | 
    
         
            +
            - test/controllers/seo_pages/seo_pages_controller_test.rb
         
     | 
| 
       83 
82 
     | 
    
         
             
            - test/dummy/config/locales/en.yml
         
     | 
| 
       84 
83 
     | 
    
         
             
            - test/dummy/config/database.yml
         
     | 
| 
       85 
84 
     | 
    
         
             
            - test/dummy/config/environment.rb
         
     | 
| 
         @@ -89,7 +88,6 @@ files: 
     | 
|
| 
       89 
88 
     | 
    
         
             
            - test/dummy/config/environments/production.rb
         
     | 
| 
       90 
89 
     | 
    
         
             
            - test/dummy/config/routes.rb
         
     | 
| 
       91 
90 
     | 
    
         
             
            - test/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
       92 
     | 
    
         
            -
            - test/dummy/config/initializers/seo_initializer.rb
         
     | 
| 
       93 
91 
     | 
    
         
             
            - test/dummy/config/initializers/secret_token.rb
         
     | 
| 
       94 
92 
     | 
    
         
             
            - test/dummy/config/initializers/mime_types.rb
         
     | 
| 
       95 
93 
     | 
    
         
             
            - test/dummy/config/initializers/backtrace_silencers.rb
         
     | 
| 
         @@ -98,14 +96,11 @@ files: 
     | 
|
| 
       98 
96 
     | 
    
         
             
            - test/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
       99 
97 
     | 
    
         
             
            - test/dummy/config/boot.rb
         
     | 
| 
       100 
98 
     | 
    
         
             
            - test/dummy/config.ru
         
     | 
| 
       101 
     | 
    
         
            -
            - test/dummy/log/development.log
         
     | 
| 
       102 
99 
     | 
    
         
             
            - test/dummy/public/500.html
         
     | 
| 
       103 
100 
     | 
    
         
             
            - test/dummy/public/422.html
         
     | 
| 
       104 
101 
     | 
    
         
             
            - test/dummy/public/favicon.ico
         
     | 
| 
       105 
102 
     | 
    
         
             
            - test/dummy/public/404.html
         
     | 
| 
       106 
103 
     | 
    
         
             
            - test/dummy/Rakefile
         
     | 
| 
       107 
     | 
    
         
            -
            - test/dummy/db/development.sqlite3
         
     | 
| 
       108 
     | 
    
         
            -
            - test/dummy/db/schema.rb
         
     | 
| 
       109 
104 
     | 
    
         
             
            - test/dummy/bin/bundle
         
     | 
| 
       110 
105 
     | 
    
         
             
            - test/dummy/bin/rake
         
     | 
| 
       111 
106 
     | 
    
         
             
            - test/dummy/bin/rails
         
     | 
| 
         @@ -115,6 +110,7 @@ files: 
     | 
|
| 
       115 
110 
     | 
    
         
             
            - test/dummy/app/assets/stylesheets/application.css
         
     | 
| 
       116 
111 
     | 
    
         
             
            - test/dummy/app/views/layouts/application.html.erb
         
     | 
| 
       117 
112 
     | 
    
         
             
            - test/dummy/README.rdoc
         
     | 
| 
      
 113 
     | 
    
         
            +
            - test/seo_pages_test.rb
         
     | 
| 
       118 
114 
     | 
    
         
             
            - test/test_helper.rb
         
     | 
| 
       119 
115 
     | 
    
         
             
            - test/integration/navigation_test.rb
         
     | 
| 
       120 
116 
     | 
    
         
             
            homepage: https://github.com/BadrIT/seo_pages
         
     | 
| 
         @@ -142,15 +138,14 @@ signing_key: 
     | 
|
| 
       142 
138 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       143 
139 
     | 
    
         
             
            summary: Eaasily add Seo to your pages
         
     | 
| 
       144 
140 
     | 
    
         
             
            test_files:
         
     | 
| 
       145 
     | 
    
         
            -
            - test/fixtures/ 
     | 
| 
       146 
     | 
    
         
            -
            - test/fixtures/ 
     | 
| 
       147 
     | 
    
         
            -
            - test/helpers/ 
     | 
| 
       148 
     | 
    
         
            -
            - test/helpers/ 
     | 
| 
       149 
     | 
    
         
            -
            - test/models/ 
     | 
| 
       150 
     | 
    
         
            -
            - test/models/ 
     | 
| 
       151 
     | 
    
         
            -
            - test/ 
     | 
| 
       152 
     | 
    
         
            -
            - test/controllers/ 
     | 
| 
       153 
     | 
    
         
            -
            - test/controllers/seo/seo_pages_controller_test.rb
         
     | 
| 
      
 141 
     | 
    
         
            +
            - test/fixtures/seo_pages/seo_pages.yml
         
     | 
| 
      
 142 
     | 
    
         
            +
            - test/fixtures/seo_pages/seo_page_defaults.yml
         
     | 
| 
      
 143 
     | 
    
         
            +
            - test/helpers/seo_pages/seo_pages_helper_test.rb
         
     | 
| 
      
 144 
     | 
    
         
            +
            - test/helpers/seo_pages/seo_page_defaults_helper_test.rb
         
     | 
| 
      
 145 
     | 
    
         
            +
            - test/models/seo_pages/seo_page_default_test.rb
         
     | 
| 
      
 146 
     | 
    
         
            +
            - test/models/seo_pages/seo_page_test.rb
         
     | 
| 
      
 147 
     | 
    
         
            +
            - test/controllers/seo_pages/seo_page_defaults_controller_test.rb
         
     | 
| 
      
 148 
     | 
    
         
            +
            - test/controllers/seo_pages/seo_pages_controller_test.rb
         
     | 
| 
       154 
149 
     | 
    
         
             
            - test/dummy/config/locales/en.yml
         
     | 
| 
       155 
150 
     | 
    
         
             
            - test/dummy/config/database.yml
         
     | 
| 
       156 
151 
     | 
    
         
             
            - test/dummy/config/environment.rb
         
     | 
| 
         @@ -160,7 +155,6 @@ test_files: 
     | 
|
| 
       160 
155 
     | 
    
         
             
            - test/dummy/config/environments/production.rb
         
     | 
| 
       161 
156 
     | 
    
         
             
            - test/dummy/config/routes.rb
         
     | 
| 
       162 
157 
     | 
    
         
             
            - test/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
       163 
     | 
    
         
            -
            - test/dummy/config/initializers/seo_initializer.rb
         
     | 
| 
       164 
158 
     | 
    
         
             
            - test/dummy/config/initializers/secret_token.rb
         
     | 
| 
       165 
159 
     | 
    
         
             
            - test/dummy/config/initializers/mime_types.rb
         
     | 
| 
       166 
160 
     | 
    
         
             
            - test/dummy/config/initializers/backtrace_silencers.rb
         
     | 
| 
         @@ -169,14 +163,11 @@ test_files: 
     | 
|
| 
       169 
163 
     | 
    
         
             
            - test/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
       170 
164 
     | 
    
         
             
            - test/dummy/config/boot.rb
         
     | 
| 
       171 
165 
     | 
    
         
             
            - test/dummy/config.ru
         
     | 
| 
       172 
     | 
    
         
            -
            - test/dummy/log/development.log
         
     | 
| 
       173 
166 
     | 
    
         
             
            - test/dummy/public/500.html
         
     | 
| 
       174 
167 
     | 
    
         
             
            - test/dummy/public/422.html
         
     | 
| 
       175 
168 
     | 
    
         
             
            - test/dummy/public/favicon.ico
         
     | 
| 
       176 
169 
     | 
    
         
             
            - test/dummy/public/404.html
         
     | 
| 
       177 
170 
     | 
    
         
             
            - test/dummy/Rakefile
         
     | 
| 
       178 
     | 
    
         
            -
            - test/dummy/db/development.sqlite3
         
     | 
| 
       179 
     | 
    
         
            -
            - test/dummy/db/schema.rb
         
     | 
| 
       180 
171 
     | 
    
         
             
            - test/dummy/bin/bundle
         
     | 
| 
       181 
172 
     | 
    
         
             
            - test/dummy/bin/rake
         
     | 
| 
       182 
173 
     | 
    
         
             
            - test/dummy/bin/rails
         
     | 
| 
         @@ -186,5 +177,6 @@ test_files: 
     | 
|
| 
       186 
177 
     | 
    
         
             
            - test/dummy/app/assets/stylesheets/application.css
         
     | 
| 
       187 
178 
     | 
    
         
             
            - test/dummy/app/views/layouts/application.html.erb
         
     | 
| 
       188 
179 
     | 
    
         
             
            - test/dummy/README.rdoc
         
     | 
| 
      
 180 
     | 
    
         
            +
            - test/seo_pages_test.rb
         
     | 
| 
       189 
181 
     | 
    
         
             
            - test/test_helper.rb
         
     | 
| 
       190 
182 
     | 
    
         
             
            - test/integration/navigation_test.rb
         
     | 
| 
         @@ -1,10 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            module Seo
         
     | 
| 
       2 
     | 
    
         
            -
              class SeoPageDefault < ActiveRecord::Base
         
     | 
| 
       3 
     | 
    
         
            -
                validate :page_title, :meta_keywords, :meta_description, presence: true
         
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
                PAGE_TITLE_DEFAULT = 'Edit Page Title Default'
         
     | 
| 
       6 
     | 
    
         
            -
                PAGE_META_KEYWORDS_DEFAULT = 'Edit Page Meta Keywords Default'
         
     | 
| 
       7 
     | 
    
         
            -
                PAGE_META_DESCRIPTION_DEFAULT = 'Edit Page Meta Description Default'
         
     | 
| 
       8 
     | 
    
         
            -
              
         
     | 
| 
       9 
     | 
    
         
            -
              end
         
     | 
| 
       10 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,18 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <!DOCTYPE html>
         
     | 
| 
       2 
     | 
    
         
            -
            <html>
         
     | 
| 
       3 
     | 
    
         
            -
            <head>
         
     | 
| 
       4 
     | 
    
         
            -
              
         
     | 
| 
       5 
     | 
    
         
            -
              <title><%= seo_data.page_title %></title>
         
     | 
| 
       6 
     | 
    
         
            -
              <meta name="description" content="<%= seo_data.meta_description %>" />
         
     | 
| 
       7 
     | 
    
         
            -
              <meta name="keywords" content="<%= seo_data.meta_keywords %>" />
         
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
              <%= stylesheet_link_tag    "seo/application", media: "all" %>
         
     | 
| 
       10 
     | 
    
         
            -
              <%= javascript_include_tag "seo/application" %>
         
     | 
| 
       11 
     | 
    
         
            -
              <%= csrf_meta_tags %>
         
     | 
| 
       12 
     | 
    
         
            -
            </head>
         
     | 
| 
       13 
     | 
    
         
            -
            <body>
         
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
            <%= yield %>
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
            </body>
         
     | 
| 
       18 
     | 
    
         
            -
            </html>
         
     | 
| 
         @@ -1,10 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            class CreateSeoPageDefaultRecord < ActiveRecord::Migration
         
     | 
| 
       2 
     | 
    
         
            -
              def up
         
     | 
| 
       3 
     | 
    
         
            -
                Seo::SeoPageDefault.create(page_title: Seo::SeoPageDefault::PAGE_TITLE_DEFAULT, 
         
     | 
| 
       4 
     | 
    
         
            -
                                           meta_keywords: Seo::SeoPageDefault::PAGE_META_KEYWORDS_DEFAULT,
         
     | 
| 
       5 
     | 
    
         
            -
                                           meta_description: Seo::SeoPageDefault::PAGE_META_DESCRIPTION_DEFAULT)
         
     | 
| 
       6 
     | 
    
         
            -
              end
         
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
              def down
         
     | 
| 
       9 
     | 
    
         
            -
              end
         
     | 
| 
       10 
     | 
    
         
            -
            end
         
     | 
    
        data/lib/seo/engine.rb
    DELETED
    
    
    
        data/lib/seo/version.rb
    DELETED
    
    
    
        data/lib/seo.rb
    DELETED
    
    
| 
         Binary file 
     | 
    
        data/test/dummy/db/schema.rb
    DELETED
    
    | 
         @@ -1,33 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # encoding: UTF-8
         
     | 
| 
       2 
     | 
    
         
            -
            # This file is auto-generated from the current state of the database. Instead
         
     | 
| 
       3 
     | 
    
         
            -
            # of editing this file, please use the migrations feature of Active Record to
         
     | 
| 
       4 
     | 
    
         
            -
            # incrementally modify your database, and then regenerate this schema definition.
         
     | 
| 
       5 
     | 
    
         
            -
            #
         
     | 
| 
       6 
     | 
    
         
            -
            # Note that this schema.rb definition is the authoritative source for your
         
     | 
| 
       7 
     | 
    
         
            -
            # database schema. If you need to create the application database on another
         
     | 
| 
       8 
     | 
    
         
            -
            # system, you should be using db:schema:load, not running all the migrations
         
     | 
| 
       9 
     | 
    
         
            -
            # from scratch. The latter is a flawed and unsustainable approach (the more migrations
         
     | 
| 
       10 
     | 
    
         
            -
            # you'll amass, the slower it'll run and the greater likelihood for issues).
         
     | 
| 
       11 
     | 
    
         
            -
            #
         
     | 
| 
       12 
     | 
    
         
            -
            # It's strongly recommended that you check this file into your version control system.
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
            ActiveRecord::Schema.define(version: 20130903123958) do
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
              create_table "seo_seo_page_defaults", force: true do |t|
         
     | 
| 
       17 
     | 
    
         
            -
                t.string   "page_title"
         
     | 
| 
       18 
     | 
    
         
            -
                t.string   "meta_keywords"
         
     | 
| 
       19 
     | 
    
         
            -
                t.string   "meta_description"
         
     | 
| 
       20 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       21 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       22 
     | 
    
         
            -
              end
         
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
              create_table "seo_seo_pages", force: true do |t|
         
     | 
| 
       25 
     | 
    
         
            -
                t.string   "page_title"
         
     | 
| 
       26 
     | 
    
         
            -
                t.string   "meta_keywords"
         
     | 
| 
       27 
     | 
    
         
            -
                t.string   "meta_description"
         
     | 
| 
       28 
     | 
    
         
            -
                t.string   "url_identifier"
         
     | 
| 
       29 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       30 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       31 
     | 
    
         
            -
              end
         
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
            end
         
     |