savory_theme 1.0.1 → 1.0.3
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.
| @@ -18,7 +18,7 @@ module Savory::Theme | |
| 18 18 | 
             
                  full_version = options.delete(:full_version)
         | 
| 19 19 | 
             
                  output_style = options.delete(:output_style)
         | 
| 20 20 |  | 
| 21 | 
            -
                  @features.apply!(@theme)
         | 
| 21 | 
            +
                  @features.apply!(@theme, :output_style => output_style)
         | 
| 22 22 |  | 
| 23 23 | 
             
                  puts "Theme CSS compiled" if @verbose
         | 
| 24 24 | 
             
                end
         | 
| @@ -33,6 +33,7 @@ module Savory::Theme | |
| 33 33 | 
             
                  excludes = options.delete(:exclude)
         | 
| 34 34 |  | 
| 35 35 | 
             
                  paths = {
         | 
| 36 | 
            +
                    'VERSION' => 'config/VERSION',
         | 
| 36 37 | 
             
                    'app' => 'app',
         | 
| 37 38 | 
             
                    'config' => 'config',
         | 
| 38 39 | 
             
                    'data' => 'data',
         | 
| @@ -10,7 +10,8 @@ module Savory::Theme | |
| 10 10 | 
             
                      theme.features[:compass]
         | 
| 11 11 | 
             
                    end
         | 
| 12 12 |  | 
| 13 | 
            -
                    def apply(theme)
         | 
| 13 | 
            +
                    def apply(theme,  options = {})
         | 
| 14 | 
            +
                      output_style = options.delete(:output_style) || "compressed"
         | 
| 14 15 | 
             
                      puts "Compiling with compass"
         | 
| 15 16 |  | 
| 16 17 | 
             
                      out = `bundle exec compass compile --force -s #{output_style}`
         | 
    
        data/lib/savory/theme/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,39 +1,42 @@ | |
| 1 | 
            -
            --- !ruby/object:Gem::Specification | 
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: savory_theme
         | 
| 3 | 
            -
            version: !ruby/object:Gem::Version | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 1.0.3
         | 
| 4 5 | 
             
              prerelease: 
         | 
| 5 | 
            -
              version: 1.0.1
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 | 
            -
            authors: | 
| 7 | 
            +
            authors:
         | 
| 8 8 | 
             
            - Andrea Campi
         | 
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
            - !ruby/object:Gem::Dependency 
         | 
| 12 | 
            +
            date: 2012-09-04 00:00:00.000000000 Z
         | 
| 13 | 
            +
            dependencies:
         | 
| 14 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 16 15 | 
             
              name: rubyzip
         | 
| 17 | 
            -
               | 
| 18 | 
            -
              requirement: &id001 !ruby/object:Gem::Requirement 
         | 
| 16 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 19 17 | 
             
                none: false
         | 
| 20 | 
            -
                requirements: | 
| 21 | 
            -
                - -  | 
| 22 | 
            -
                  - !ruby/object:Gem::Version | 
| 18 | 
            +
                requirements:
         | 
| 19 | 
            +
                - - ! '>='
         | 
| 20 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 23 21 | 
             
                    version: 0.9.8
         | 
| 24 22 | 
             
              type: :runtime
         | 
| 25 | 
            -
               | 
| 23 | 
            +
              prerelease: false
         | 
| 24 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 25 | 
            +
                none: false
         | 
| 26 | 
            +
                requirements:
         | 
| 27 | 
            +
                - - ! '>='
         | 
| 28 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            +
                    version: 0.9.8
         | 
| 26 30 | 
             
            description: Savory theme support
         | 
| 27 | 
            -
            email: | 
| 31 | 
            +
            email:
         | 
| 28 32 | 
             
            - andrea.campi@zephirworks.com
         | 
| 29 | 
            -
            executables: | 
| 33 | 
            +
            executables:
         | 
| 30 34 | 
             
            - savory-theme
         | 
| 31 35 | 
             
            extensions: []
         | 
| 32 | 
            -
             | 
| 33 | 
            -
            extra_rdoc_files: 
         | 
| 36 | 
            +
            extra_rdoc_files:
         | 
| 34 37 | 
             
            - LICENSE
         | 
| 35 38 | 
             
            - README.md
         | 
| 36 | 
            -
            files: | 
| 39 | 
            +
            files:
         | 
| 37 40 | 
             
            - bin/savory-theme
         | 
| 38 41 | 
             
            - lib/savory/theme/bom.rb
         | 
| 39 42 | 
             
            - lib/savory/theme/exec.rb
         | 
| @@ -67,31 +70,26 @@ files: | |
| 67 70 | 
             
            - README.md
         | 
| 68 71 | 
             
            homepage: http://savory.io
         | 
| 69 72 | 
             
            licenses: []
         | 
| 70 | 
            -
             | 
| 71 73 | 
             
            post_install_message: 
         | 
| 72 74 | 
             
            rdoc_options: []
         | 
| 73 | 
            -
             | 
| 74 | 
            -
            require_paths: 
         | 
| 75 | 
            +
            require_paths:
         | 
| 75 76 | 
             
            - lib
         | 
| 76 | 
            -
            required_ruby_version: !ruby/object:Gem::Requirement | 
| 77 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 77 78 | 
             
              none: false
         | 
| 78 | 
            -
              requirements: | 
| 79 | 
            -
              - -  | 
| 80 | 
            -
                - !ruby/object:Gem::Version | 
| 81 | 
            -
                  version:  | 
| 82 | 
            -
            required_rubygems_version: !ruby/object:Gem::Requirement | 
| 79 | 
            +
              requirements:
         | 
| 80 | 
            +
              - - ! '>='
         | 
| 81 | 
            +
                - !ruby/object:Gem::Version
         | 
| 82 | 
            +
                  version: '0'
         | 
| 83 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 83 84 | 
             
              none: false
         | 
| 84 | 
            -
              requirements: | 
| 85 | 
            -
              - -  | 
| 86 | 
            -
                - !ruby/object:Gem::Version | 
| 85 | 
            +
              requirements:
         | 
| 86 | 
            +
              - - ! '>='
         | 
| 87 | 
            +
                - !ruby/object:Gem::Version
         | 
| 87 88 | 
             
                  version: 1.3.6
         | 
| 88 89 | 
             
            requirements: []
         | 
| 89 | 
            -
             | 
| 90 90 | 
             
            rubyforge_project: nowarning
         | 
| 91 | 
            -
            rubygems_version: 1.8. | 
| 91 | 
            +
            rubygems_version: 1.8.24
         | 
| 92 92 | 
             
            signing_key: 
         | 
| 93 93 | 
             
            specification_version: 3
         | 
| 94 94 | 
             
            summary: Savory theme support
         | 
| 95 95 | 
             
            test_files: []
         | 
| 96 | 
            -
             | 
| 97 | 
            -
            has_rdoc: 
         |