lucid 0.0.7 → 0.0.8
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/HISTORY.md +9 -0
- data/lib/lucid/cli/options.rb +2 -0
- data/lib/lucid/formatter/console.rb +12 -1
- data/lib/lucid/formatter/progress.rb +1 -0
- data/lib/lucid/formatter/standard.rb +1 -0
- data/lib/lucid/platform.rb +1 -1
- metadata +4 -4
    
        data/HISTORY.md
    CHANGED
    
    | @@ -2,6 +2,15 @@ Change Log and History | |
| 2 2 | 
             
            ======================
         | 
| 3 3 |  | 
| 4 4 |  | 
| 5 | 
            +
            Version 0.0.8 / 2013-05-20
         | 
| 6 | 
            +
            --------------------------
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            This version is being released to bring in two specific bug fixes.
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            * Certain profile options were not being recognized. ([Spec Type Specified in Profile Not Recognized](https://github.com/jnyman/lucid/issues/10).)
         | 
| 11 | 
            +
            * The strict mode now works more as intended. ([Using "strict" Does Not Return Errors](https://github.com/jnyman/lucid/issues/8).)
         | 
| 12 | 
            +
             | 
| 13 | 
            +
             | 
| 5 14 | 
             
            Version 0.0.7 / 2013-05-17
         | 
| 6 15 | 
             
            --------------------------
         | 
| 7 16 |  | 
    
        data/lib/lucid/cli/options.rb
    CHANGED
    
    | @@ -441,6 +441,8 @@ module Lucid | |
| 441 441 | 
             
                    @options[:dry_run] |= other_options[:dry_run]
         | 
| 442 442 |  | 
| 443 443 | 
             
                    @options[:library_path] += other_options[:library_path]
         | 
| 444 | 
            +
                    @options[:spec_type] += other_options[:spec_type]
         | 
| 445 | 
            +
                    @options[:driver_file] += other_options[:driver_file]
         | 
| 444 446 |  | 
| 445 447 | 
             
                    @profiles += other_options.profiles
         | 
| 446 448 | 
             
                    @expanded_args += other_options.expanded_args
         | 
| @@ -147,7 +147,18 @@ module Lucid | |
| 147 147 | 
             
                      @io.puts format_string("\nThe --wip switch was used, so nothing was expected to pass. These scenarios passed:", :failed)
         | 
| 148 148 | 
             
                      print_elements(passed, :passed, "scenarios")
         | 
| 149 149 | 
             
                    else
         | 
| 150 | 
            -
                      @io.puts format_string("\nThe --wip switch was used, so any  | 
| 150 | 
            +
                      @io.puts format_string("\nThe --wip switch was used, so any non-passing scenarios were expected.\n", :passed)
         | 
| 151 | 
            +
                    end
         | 
| 152 | 
            +
                  end
         | 
| 153 | 
            +
             | 
| 154 | 
            +
                  def print_failing_strict(options)
         | 
| 155 | 
            +
                    return unless options[:strict]
         | 
| 156 | 
            +
                    undefined = runtime.steps(:undefined)
         | 
| 157 | 
            +
                    pending = runtime.steps(:pending)
         | 
| 158 | 
            +
                    if undefined.any? || pending.any?
         | 
| 159 | 
            +
                      @io.puts format_string("\nThe --strict switch was used, so nothing was expected to be undefined or pending. These scenarios violate that:", :failed)
         | 
| 160 | 
            +
                      print_elements(undefined, :undefined, "steps")
         | 
| 161 | 
            +
                      print_elements(pending, :pending, "steps")
         | 
| 151 162 | 
             
                    end
         | 
| 152 163 | 
             
                  end
         | 
| 153 164 |  | 
    
        data/lib/lucid/platform.rb
    CHANGED
    
    | @@ -2,7 +2,7 @@ require 'rbconfig' | |
| 2 2 |  | 
| 3 3 | 
             
            module Lucid
         | 
| 4 4 | 
             
              unless defined?(Lucid::VERSION)
         | 
| 5 | 
            -
                VERSION       = '0.0. | 
| 5 | 
            +
                VERSION       = '0.0.8'
         | 
| 6 6 | 
             
                BINARY        = File.expand_path(File.dirname(__FILE__) + '/../../bin/lucid')
         | 
| 7 7 | 
             
                LIBDIR        = File.expand_path(File.dirname(__FILE__) + '/../../lib')
         | 
| 8 8 | 
             
                JRUBY         = defined?(JRUBY_VERSION)
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: lucid
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.8
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -9,7 +9,7 @@ authors: | |
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2013-05- | 
| 12 | 
            +
            date: 2013-05-21 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: rake
         | 
| @@ -260,7 +260,7 @@ homepage: https://github.com/jnyman/lucid | |
| 260 260 | 
             
            licenses:
         | 
| 261 261 | 
             
            - MIT
         | 
| 262 262 | 
             
            post_install_message: ! "\n(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
         | 
| 263 | 
            -
              (::)\n\n  Thanks for installing Lucid 0.0. | 
| 263 | 
            +
              (::)\n\n  Thanks for installing Lucid 0.0.8.\n\n(::) (::) (::) (::) (::) (::) (::)
         | 
| 264 264 | 
             
              (::) (::) (::) (::) (::)\n  "
         | 
| 265 265 | 
             
            rdoc_options:
         | 
| 266 266 | 
             
            - --charset=UTF-8
         | 
| @@ -283,6 +283,6 @@ rubyforge_project: | |
| 283 283 | 
             
            rubygems_version: 1.8.24
         | 
| 284 284 | 
             
            signing_key: 
         | 
| 285 285 | 
             
            specification_version: 3
         | 
| 286 | 
            -
            summary: lucid-0.0. | 
| 286 | 
            +
            summary: lucid-0.0.8
         | 
| 287 287 | 
             
            test_files: []
         | 
| 288 288 | 
             
            has_rdoc: 
         |