mutter 0.3.2 → 0.3.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.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/mutter/mutterer.rb +7 -1
- data/lib/mutter/styles.yml +2 -2
- data/lib/mutter.rb +0 -1
- data/mutter.gemspec +2 -1
- data/spec/spec_helper.rb +0 -1
- metadata +2 -2
    
        data/Rakefile
    CHANGED
    
    | @@ -6,6 +6,7 @@ begin | |
| 6 6 | 
             
              Jeweler::Tasks.new do |gem|
         | 
| 7 7 | 
             
                gem.name = "mutter"
         | 
| 8 8 | 
             
                gem.summary = %Q{the tiny CLI library}
         | 
| 9 | 
            +
                gem.description = %Q{the tiny CLI library}
         | 
| 9 10 | 
             
                gem.email = "self@cloudhead.net"
         | 
| 10 11 | 
             
                gem.homepage = "http://github.com/cloudhead/mutter"
         | 
| 11 12 | 
             
                gem.rubyforge_project = 'mutter'
         | 
| @@ -30,7 +31,6 @@ begin | |
| 30 31 | 
             
                    config = YAML.load(
         | 
| 31 32 | 
             
                        File.read(File.expand_path('~/.rubyforge/user-config.yml'))
         | 
| 32 33 | 
             
                    )
         | 
| 33 | 
            -
                    options << '--line-numbers' << '--inline-source'
         | 
| 34 34 | 
             
                    host = "#{config['username']}@rubyforge.org"
         | 
| 35 35 | 
             
                    remote_dir = "/var/www/gforge-projects/the-perfect-gem/"
         | 
| 36 36 | 
             
                    local_dir = 'rdoc'
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.3. | 
| 1 | 
            +
            0.3.3
         | 
    
        data/lib/mutter/mutterer.rb
    CHANGED
    
    | @@ -10,7 +10,7 @@ module Mutter | |
| 10 10 | 
             
                # @styles: contains all the user + default styles
         | 
| 11 11 | 
             
                #
         | 
| 12 12 | 
             
                def initialize obj = {}
         | 
| 13 | 
            -
                   | 
| 13 | 
            +
                  self.reset
         | 
| 14 14 | 
             
                  load File.dirname(__FILE__) + "/styles"
         | 
| 15 15 |  | 
| 16 16 | 
             
                  case obj
         | 
| @@ -40,6 +40,12 @@ module Mutter | |
| 40 40 | 
             
                    end if style.is_a? Symbol
         | 
| 41 41 | 
             
                  end
         | 
| 42 42 | 
             
                end
         | 
| 43 | 
            +
                
         | 
| 44 | 
            +
                def clear
         | 
| 45 | 
            +
                  @active, @styles = [], {}
         | 
| 46 | 
            +
                  self
         | 
| 47 | 
            +
                end
         | 
| 48 | 
            +
                alias :reset clear
         | 
| 43 49 |  | 
| 44 50 | 
             
                #
         | 
| 45 51 | 
             
                # Loads styles from a YAML style-sheet,
         | 
    
        data/lib/mutter/styles.yml
    CHANGED
    
    
    
        data/lib/mutter.rb
    CHANGED
    
    
    
        data/mutter.gemspec
    CHANGED
    
    | @@ -2,11 +2,12 @@ | |
| 2 2 |  | 
| 3 3 | 
             
            Gem::Specification.new do |s|
         | 
| 4 4 | 
             
              s.name = %q{mutter}
         | 
| 5 | 
            -
              s.version = "0.3. | 
| 5 | 
            +
              s.version = "0.3.3"
         | 
| 6 6 |  | 
| 7 7 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 8 8 | 
             
              s.authors = ["cloudhead"]
         | 
| 9 9 | 
             
              s.date = %q{2009-09-02}
         | 
| 10 | 
            +
              s.description = %q{the tiny CLI library}
         | 
| 10 11 | 
             
              s.email = %q{self@cloudhead.net}
         | 
| 11 12 | 
             
              s.extra_rdoc_files = [
         | 
| 12 13 | 
             
                "LICENSE",
         | 
    
        data/spec/spec_helper.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: mutter
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              version: 0.3. | 
| 4 | 
            +
              version: 0.3.3
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors: 
         | 
| 7 7 | 
             
            - cloudhead
         | 
| @@ -13,7 +13,7 @@ date: 2009-09-02 00:00:00 -04:00 | |
| 13 13 | 
             
            default_executable: 
         | 
| 14 14 | 
             
            dependencies: []
         | 
| 15 15 |  | 
| 16 | 
            -
            description: 
         | 
| 16 | 
            +
            description: the tiny CLI library
         | 
| 17 17 | 
             
            email: self@cloudhead.net
         | 
| 18 18 | 
             
            executables: []
         | 
| 19 19 |  |