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 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
 
@@ -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 failures were expected. All is good.\n", :passed)
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
 
@@ -71,6 +71,7 @@ module Lucid
71
71
  print_stats(features, @options)
72
72
  print_matchers(@options)
73
73
  print_passing_wip(@options)
74
+ print_failing_strict(@options)
74
75
  end
75
76
 
76
77
  CHARS = {
@@ -229,6 +229,7 @@ module Lucid
229
229
  print_stats(features, @options)
230
230
  print_matchers(@options)
231
231
  print_passing_wip(@options)
232
+ print_failing_strict(@options)
232
233
  end
233
234
  end
234
235
  end
@@ -2,7 +2,7 @@ require 'rbconfig'
2
2
 
3
3
  module Lucid
4
4
  unless defined?(Lucid::VERSION)
5
- VERSION = '0.0.7'
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.7
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-17 00:00:00.000000000 Z
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.7.\n\n(::) (::) (::) (::) (::) (::) (::)
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.7
286
+ summary: lucid-0.0.8
287
287
  test_files: []
288
288
  has_rdoc: