brighter_planet_layout 0.4.5 → 0.5.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.
- data/.document +5 -5
- data/Rakefile +1 -14
- data/app/views/layouts/brighter_planet.html.erb +1 -1
- data/lib/brighter_planet_layout/railtie.rb +5 -1
- data/lib/brighter_planet_layout/version.rb +1 -1
- metadata +87 -91
    
        data/.document
    CHANGED
    
    | @@ -1,5 +1,5 @@ | |
| 1 | 
            -
            README.rdoc
         | 
| 2 | 
            -
            lib/**/*.rb
         | 
| 3 | 
            -
            bin/*
         | 
| 4 | 
            -
            features/**/*.feature
         | 
| 5 | 
            -
            LICENSE
         | 
| 1 | 
            +
            README.rdoc
         | 
| 2 | 
            +
            lib/**/*.rb
         | 
| 3 | 
            +
            bin/*
         | 
| 4 | 
            +
            features/**/*.feature
         | 
| 5 | 
            +
            LICENSE
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -9,19 +9,6 @@ Rake::TestTask.new(:test) do |test| | |
| 9 9 | 
             
              test.verbose = true
         | 
| 10 10 | 
             
            end
         | 
| 11 11 |  | 
| 12 | 
            -
            begin
         | 
| 13 | 
            -
              require 'rake/rdoctask'
         | 
| 14 | 
            -
              Rake::RDocTask.new do |rdoc|
         | 
| 15 | 
            -
                rdoc.rdoc_dir = 'rdoc'
         | 
| 16 | 
            -
                rdoc.title = 'brighter_planet_layout'
         | 
| 17 | 
            -
                rdoc.options << '--line-numbers' << '--inline-source'
         | 
| 18 | 
            -
                rdoc.rdoc_files.include('README*')
         | 
| 19 | 
            -
                rdoc.rdoc_files.include('lib/**/*.rb')
         | 
| 20 | 
            -
              end
         | 
| 21 | 
            -
            rescue LoadError
         | 
| 22 | 
            -
               puts "Rdoc is not available"
         | 
| 23 | 
            -
            end
         | 
| 24 | 
            -
             | 
| 25 12 | 
             
            # sabshere 11/17/10 not worth it --cache-control=\"public, max-age=7776000\"
         | 
| 26 13 | 
             
            task :update_s3 do
         | 
| 27 14 | 
             
              missing = %w{ AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY SSL_CERT_DIR S3SYNC_DIR }.select { |i| ENV[i].to_s.empty? }
         | 
| @@ -29,7 +16,7 @@ task :update_s3 do | |
| 29 16 | 
             
              $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
         | 
| 30 17 | 
             
              require 'brighter_planet_layout'
         | 
| 31 18 | 
             
              ENV['S3SYNC_NATIVE_CHARSET'] = 'UTF-8'
         | 
| 32 | 
            -
              cmd = %{ruby #{ENV['S3SYNC_DIR']}/s3sync.rb #{'--dryrun ' unless ENV['REAL'] == 'true'}--exclude="\\.psd|\\.ai|DejaVu|Kievit|html|xml|json | 
| 19 | 
            +
              cmd = %{ruby #{ENV['S3SYNC_DIR']}/s3sync.rb #{'--dryrun ' unless ENV['REAL'] == 'true'}--exclude="\\.psd|\\.ai|DejaVu|Kievit|html|xml|json" -v -r --ssl --public-read #{BrighterPlanet.layout.public_path}/ #{BrighterPlanet::Layout::S3_BUCKET}:#{BrighterPlanet::Layout::VERSION}/}
         | 
| 33 20 | 
             
              if ENV['REAL'] == 'true'
         | 
| 34 21 | 
             
                $stderr.puts "Really updating"
         | 
| 35 22 | 
             
              else
         | 
| @@ -6,7 +6,7 @@ | |
| 6 6 | 
             
              <meta http-equiv="Content-Language" content="en" />
         | 
| 7 7 | 
             
              <meta name="robots" content="NOODP" />
         | 
| 8 8 | 
             
              <!-- START brighter_planet_layout stylesheets -->
         | 
| 9 | 
            -
              <%= stylesheet_link_tag 'fonts' %>
         | 
| 9 | 
            +
              <%= stylesheet_link_tag '/stylesheets/fonts' %>
         | 
| 10 10 | 
             
              <%= stylesheet_link_tag brighter_planet_layout_cdn_url("/stylesheets/brighter_planet.css") %>
         | 
| 11 11 | 
             
              <%= stylesheet_link_tag brighter_planet_layout_cdn_url("/stylesheets/idle.css") %>
         | 
| 12 12 | 
             
              <!--[if IE]>
         | 
| @@ -5,7 +5,11 @@ module BrighterPlanet | |
| 5 5 | 
             
                    load 'brighter_planet_layout/rake_tasks.rb'
         | 
| 6 6 | 
             
                  end
         | 
| 7 7 | 
             
                  initializer 'brighter_planet_layout' do |app|
         | 
| 8 | 
            -
                     | 
| 8 | 
            +
                    if Rails::VERSION::MAJOR == 3 and Rails::VERSION::MINOR == 0
         | 
| 9 | 
            +
                      app.paths.app.views.push ::BrighterPlanet.layout.view_path
         | 
| 10 | 
            +
                    else
         | 
| 11 | 
            +
                      ::ActionController::Base.append_view_path ::BrighterPlanet.layout.view_path
         | 
| 12 | 
            +
                    end
         | 
| 9 13 | 
             
                    if ::BrighterPlanet.layout.serve_static_files_using_rack?
         | 
| 10 14 | 
             
                      app.middleware.use '::ActionDispatch::Static', ::BrighterPlanet.layout.public_path
         | 
| 11 15 | 
             
                    end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,68 +1,93 @@ | |
| 1 | 
            -
            --- !ruby/object:Gem::Specification
         | 
| 1 | 
            +
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: brighter_planet_layout
         | 
| 3 | 
            -
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
               | 
| 3 | 
            +
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            +
              hash: 9
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 | 
            +
              segments: 
         | 
| 7 | 
            +
              - 0
         | 
| 8 | 
            +
              - 5
         | 
| 9 | 
            +
              - 1
         | 
| 10 | 
            +
              version: 0.5.1
         | 
| 6 11 | 
             
            platform: ruby
         | 
| 7 | 
            -
            authors:
         | 
| 12 | 
            +
            authors: 
         | 
| 8 13 | 
             
            - Andy Rossmeissl
         | 
| 9 14 | 
             
            - Seamus Abshere
         | 
| 10 15 | 
             
            autorequire: 
         | 
| 11 16 | 
             
            bindir: bin
         | 
| 12 17 | 
             
            cert_chain: []
         | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 18 | 
            +
             | 
| 19 | 
            +
            date: 2012-03-05 00:00:00 Z
         | 
| 20 | 
            +
            dependencies: 
         | 
| 21 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 16 22 | 
             
              name: simple-rss
         | 
| 17 | 
            -
               | 
| 23 | 
            +
              prerelease: false
         | 
| 24 | 
            +
              requirement: &id001 !ruby/object:Gem::Requirement 
         | 
| 18 25 | 
             
                none: false
         | 
| 19 | 
            -
                requirements:
         | 
| 20 | 
            -
                - -  | 
| 21 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            +
                requirements: 
         | 
| 27 | 
            +
                - - ">="
         | 
| 28 | 
            +
                  - !ruby/object:Gem::Version 
         | 
| 29 | 
            +
                    hash: 25
         | 
| 30 | 
            +
                    segments: 
         | 
| 31 | 
            +
                    - 1
         | 
| 32 | 
            +
                    - 2
         | 
| 33 | 
            +
                    - 3
         | 
| 22 34 | 
             
                    version: 1.2.3
         | 
| 23 35 | 
             
              type: :runtime
         | 
| 24 | 
            -
               | 
| 25 | 
            -
             | 
| 26 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 36 | 
            +
              version_requirements: *id001
         | 
| 37 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 27 38 | 
             
              name: eat
         | 
| 28 | 
            -
               | 
| 39 | 
            +
              prerelease: false
         | 
| 40 | 
            +
              requirement: &id002 !ruby/object:Gem::Requirement 
         | 
| 29 41 | 
             
                none: false
         | 
| 30 | 
            -
                requirements:
         | 
| 31 | 
            -
                - -  | 
| 32 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            -
                     | 
| 42 | 
            +
                requirements: 
         | 
| 43 | 
            +
                - - ">="
         | 
| 44 | 
            +
                  - !ruby/object:Gem::Version 
         | 
| 45 | 
            +
                    hash: 3
         | 
| 46 | 
            +
                    segments: 
         | 
| 47 | 
            +
                    - 0
         | 
| 48 | 
            +
                    version: "0"
         | 
| 34 49 | 
             
              type: :runtime
         | 
| 35 | 
            -
               | 
| 36 | 
            -
             | 
| 37 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 50 | 
            +
              version_requirements: *id002
         | 
| 51 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 38 52 | 
             
              name: tronprint
         | 
| 39 | 
            -
               | 
| 53 | 
            +
              prerelease: false
         | 
| 54 | 
            +
              requirement: &id003 !ruby/object:Gem::Requirement 
         | 
| 40 55 | 
             
                none: false
         | 
| 41 | 
            -
                requirements:
         | 
| 42 | 
            -
                - -  | 
| 43 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 56 | 
            +
                requirements: 
         | 
| 57 | 
            +
                - - ">="
         | 
| 58 | 
            +
                  - !ruby/object:Gem::Version 
         | 
| 59 | 
            +
                    hash: 31
         | 
| 60 | 
            +
                    segments: 
         | 
| 61 | 
            +
                    - 1
         | 
| 62 | 
            +
                    - 2
         | 
| 63 | 
            +
                    - 0
         | 
| 44 64 | 
             
                    version: 1.2.0
         | 
| 45 65 | 
             
              type: :runtime
         | 
| 46 | 
            -
               | 
| 47 | 
            -
             | 
| 48 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 66 | 
            +
              version_requirements: *id003
         | 
| 67 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 49 68 | 
             
              name: test-unit
         | 
| 50 | 
            -
               | 
| 69 | 
            +
              prerelease: false
         | 
| 70 | 
            +
              requirement: &id004 !ruby/object:Gem::Requirement 
         | 
| 51 71 | 
             
                none: false
         | 
| 52 | 
            -
                requirements:
         | 
| 53 | 
            -
                - -  | 
| 54 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 55 | 
            -
                     | 
| 72 | 
            +
                requirements: 
         | 
| 73 | 
            +
                - - ">="
         | 
| 74 | 
            +
                  - !ruby/object:Gem::Version 
         | 
| 75 | 
            +
                    hash: 3
         | 
| 76 | 
            +
                    segments: 
         | 
| 77 | 
            +
                    - 0
         | 
| 78 | 
            +
                    version: "0"
         | 
| 56 79 | 
             
              type: :development
         | 
| 57 | 
            -
               | 
| 58 | 
            -
              version_requirements: *2154577860
         | 
| 80 | 
            +
              version_requirements: *id004
         | 
| 59 81 | 
             
            description: Layouts, partials, stylesheets, and images
         | 
| 60 | 
            -
            email:
         | 
| 82 | 
            +
            email: 
         | 
| 61 83 | 
             
            - andy@rossmeissl.net
         | 
| 62 84 | 
             
            executables: []
         | 
| 85 | 
            +
             | 
| 63 86 | 
             
            extensions: []
         | 
| 87 | 
            +
             | 
| 64 88 | 
             
            extra_rdoc_files: []
         | 
| 65 | 
            -
             | 
| 89 | 
            +
             | 
| 90 | 
            +
            files: 
         | 
| 66 91 | 
             
            - .document
         | 
| 67 92 | 
             
            - .gitattributes
         | 
| 68 93 | 
             
            - .gitignore
         | 
| @@ -186,66 +211,37 @@ files: | |
| 186 211 | 
             
            - test/test_brighter_planet_layout.rb
         | 
| 187 212 | 
             
            homepage: http://github.com/brighterplanet/brighter_planet_layout
         | 
| 188 213 | 
             
            licenses: []
         | 
| 214 | 
            +
             | 
| 189 215 | 
             
            post_install_message: 
         | 
| 190 216 | 
             
            rdoc_options: []
         | 
| 191 | 
            -
             | 
| 217 | 
            +
             | 
| 218 | 
            +
            require_paths: 
         | 
| 192 219 | 
             
            - lib
         | 
| 193 | 
            -
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 220 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         | 
| 194 221 | 
             
              none: false
         | 
| 195 | 
            -
              requirements:
         | 
| 196 | 
            -
              - -  | 
| 197 | 
            -
                - !ruby/object:Gem::Version
         | 
| 198 | 
            -
                   | 
| 199 | 
            -
             | 
| 222 | 
            +
              requirements: 
         | 
| 223 | 
            +
              - - ">="
         | 
| 224 | 
            +
                - !ruby/object:Gem::Version 
         | 
| 225 | 
            +
                  hash: 3
         | 
| 226 | 
            +
                  segments: 
         | 
| 227 | 
            +
                  - 0
         | 
| 228 | 
            +
                  version: "0"
         | 
| 229 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 200 230 | 
             
              none: false
         | 
| 201 | 
            -
              requirements:
         | 
| 202 | 
            -
              - -  | 
| 203 | 
            -
                - !ruby/object:Gem::Version
         | 
| 204 | 
            -
                   | 
| 231 | 
            +
              requirements: 
         | 
| 232 | 
            +
              - - ">="
         | 
| 233 | 
            +
                - !ruby/object:Gem::Version 
         | 
| 234 | 
            +
                  hash: 3
         | 
| 235 | 
            +
                  segments: 
         | 
| 236 | 
            +
                  - 0
         | 
| 237 | 
            +
                  version: "0"
         | 
| 205 238 | 
             
            requirements: []
         | 
| 239 | 
            +
             | 
| 206 240 | 
             
            rubyforge_project: brighter_planet_layout
         | 
| 207 | 
            -
            rubygems_version: 1.8. | 
| 241 | 
            +
            rubygems_version: 1.8.8
         | 
| 208 242 | 
             
            signing_key: 
         | 
| 209 243 | 
             
            specification_version: 3
         | 
| 210 244 | 
             
            summary: Layout assets for Brighter Planet sites
         | 
| 211 | 
            -
            test_files:
         | 
| 212 | 
            -
             | 
| 213 | 
            -
             | 
| 214 | 
            -
            - test/dummy/README
         | 
| 215 | 
            -
            - test/dummy/Rakefile
         | 
| 216 | 
            -
            - test/dummy/app/controllers/application_controller.rb
         | 
| 217 | 
            -
            - test/dummy/app/controllers/pages_controller.rb
         | 
| 218 | 
            -
            - test/dummy/app/helpers/application_helper.rb
         | 
| 219 | 
            -
            - test/dummy/app/views/layouts/_title.html.erb
         | 
| 220 | 
            -
            - test/dummy/app/views/layouts/application.html.erb
         | 
| 221 | 
            -
            - test/dummy/app/views/pages/index.html.erb
         | 
| 222 | 
            -
            - test/dummy/config.ru
         | 
| 223 | 
            -
            - test/dummy/config/application.rb
         | 
| 224 | 
            -
            - test/dummy/config/boot.rb
         | 
| 225 | 
            -
            - test/dummy/config/environment.rb
         | 
| 226 | 
            -
            - test/dummy/config/environments/development.rb
         | 
| 227 | 
            -
            - test/dummy/config/environments/production.rb
         | 
| 228 | 
            -
            - test/dummy/config/environments/test.rb
         | 
| 229 | 
            -
            - test/dummy/config/initializers/backtrace_silencers.rb
         | 
| 230 | 
            -
            - test/dummy/config/initializers/inflections.rb
         | 
| 231 | 
            -
            - test/dummy/config/initializers/mime_types.rb
         | 
| 232 | 
            -
            - test/dummy/config/initializers/secret_token.rb
         | 
| 233 | 
            -
            - test/dummy/config/initializers/session_store.rb
         | 
| 234 | 
            -
            - test/dummy/config/locales/en.yml
         | 
| 235 | 
            -
            - test/dummy/config/routes.rb
         | 
| 236 | 
            -
            - test/dummy/db/seeds.rb
         | 
| 237 | 
            -
            - test/dummy/doc/README_FOR_APP
         | 
| 238 | 
            -
            - test/dummy/lib/tasks/.gitkeep
         | 
| 239 | 
            -
            - test/dummy/public/404.html
         | 
| 240 | 
            -
            - test/dummy/public/422.html
         | 
| 241 | 
            -
            - test/dummy/public/500.html
         | 
| 242 | 
            -
            - test/dummy/public/favicon.ico
         | 
| 243 | 
            -
            - test/dummy/public/images/rails.png
         | 
| 244 | 
            -
            - test/dummy/public/javascripts/.gitkeep
         | 
| 245 | 
            -
            - test/dummy/public/javascripts/application.js
         | 
| 246 | 
            -
            - test/dummy/public/robots.txt
         | 
| 247 | 
            -
            - test/dummy/public/stylesheets/.gitkeep
         | 
| 248 | 
            -
            - test/dummy/script/rails
         | 
| 249 | 
            -
            - test/dummy/vendor/plugins/.gitkeep
         | 
| 250 | 
            -
            - test/helper.rb
         | 
| 251 | 
            -
            - test/test_brighter_planet_layout.rb
         | 
| 245 | 
            +
            test_files: []
         | 
| 246 | 
            +
             | 
| 247 | 
            +
            has_rdoc: 
         |