lucid 0.4.1 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -3
  3. data/HISTORY.md +12 -0
  4. data/LICENSE +0 -3
  5. data/README.md +7 -5
  6. data/Rakefile +0 -14
  7. data/lib/lucid.rb +4 -0
  8. data/lib/lucid/cli/app.rb +1 -5
  9. data/lib/lucid/cli/context.rb +8 -6
  10. data/lib/lucid/cli/profile.rb +9 -9
  11. data/lib/lucid/context.rb +1 -1
  12. data/lib/lucid/interface_rb/matcher.rb +1 -2
  13. data/lib/lucid/platform.rb +2 -1
  14. data/lucid.gemspec +12 -12
  15. data/spec/lucid/lucid_spec.rb +7 -0
  16. data/spec/spec_helper.rb +0 -19
  17. metadata +34 -116
  18. data/.travis.yml +0 -15
  19. data/lib/lucid/sequence.rb +0 -5
  20. data/lib/lucid/sequence/sequence_errors.rb +0 -64
  21. data/lib/lucid/sequence/sequence_group.rb +0 -35
  22. data/lib/lucid/sequence/sequence_phrase.rb +0 -166
  23. data/lib/lucid/sequence/sequence_steps.rb +0 -20
  24. data/lib/lucid/sequence/sequence_support.rb +0 -26
  25. data/lib/lucid/sequence/sequence_template.rb +0 -354
  26. data/spec/lucid/ansicolor_spec.rb +0 -31
  27. data/spec/lucid/app_spec.rb +0 -82
  28. data/spec/lucid/ast/background_spec.rb +0 -128
  29. data/spec/lucid/ast/doc_string_spec.rb +0 -36
  30. data/spec/lucid/ast/feature_spec.rb +0 -66
  31. data/spec/lucid/ast/outline_table_spec.rb +0 -21
  32. data/spec/lucid/ast/scenario_outline_spec.rb +0 -81
  33. data/spec/lucid/ast/specs_spec.rb +0 -48
  34. data/spec/lucid/ast/step_invocation_spec.rb +0 -45
  35. data/spec/lucid/ast/step_spec.rb +0 -72
  36. data/spec/lucid/ast/table_spec.rb +0 -265
  37. data/spec/lucid/ast/tdl_factory.rb +0 -78
  38. data/spec/lucid/ast/tdl_walker_spec.rb +0 -21
  39. data/spec/lucid/context_spec.rb +0 -328
  40. data/spec/lucid/duration_spec.rb +0 -22
  41. data/spec/lucid/facade_spec.rb +0 -31
  42. data/spec/lucid/factory_spec.rb +0 -16
  43. data/spec/lucid/matcher_spec.rb +0 -127
  44. data/spec/lucid/options_spec.rb +0 -346
  45. data/spec/lucid/orchestrator_spec.rb +0 -117
  46. data/spec/lucid/pending_spec.rb +0 -45
  47. data/spec/lucid/progress_spec.rb +0 -34
  48. data/spec/lucid/rb_step_definition_spec.rb +0 -127
  49. data/spec/lucid/rb_transform_spec.rb +0 -24
  50. data/spec/lucid/regexp_argument_matcher_spec.rb +0 -19
  51. data/spec/lucid/results_spec.rb +0 -81
  52. data/spec/lucid/runtime_spec.rb +0 -38
  53. data/spec/lucid/sequences/sequence_conditional_spec.rb +0 -74
  54. data/spec/lucid/sequences/sequence_group_spec.rb +0 -55
  55. data/spec/lucid/sequences/sequence_phrase_spec.rb +0 -122
  56. data/spec/lucid/sequences/sequence_placeholder_spec.rb +0 -56
  57. data/spec/lucid/sequences/sequence_section_spec.rb +0 -61
  58. data/spec/lucid/sequences/sequence_support_spec.rb +0 -65
  59. data/spec/lucid/sequences/sequence_template_spec.rb +0 -298
  60. data/spec/lucid/step_match_spec.rb +0 -55
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2d22c506cdee2344881963f6a13a5e9da9ba23d
4
- data.tar.gz: 51b0d99fda3a3574823b5afacc43c317d41c1c64
3
+ metadata.gz: 43abca01c0d88c879a76e57ba359eaa48a4e546e
4
+ data.tar.gz: 178c85d9440223a5c9ba17353969e1e2be1ba705
5
5
  SHA512:
6
- metadata.gz: 41a329649788b9e51067e418ea699a033e31265d465e833c6f1f3313c65c39263bf6c8f0faaa080c854b417825a4bb2d731656652145a3a5cfad94271929c6ad
7
- data.tar.gz: 4ff38c383cb503d1883c323a30975bcbf7c45dfd9863ac899886d29a6434216cadea372723b7b998e6192eba709d822355afb0573a85493f801d76239cea4d95
6
+ metadata.gz: 89baa2bdea728467df3479d8fc068efee2b19f2838d57f1e0b62301615edc5c36e5509ef7cf98f1a5f4c0aa9e8a097c0f5db98ef43e900eead684b9e39b9c7b4
7
+ data.tar.gz: e3c1ec297e5976e6d4391b4c2634bee939b9bd5784fc9097845c7eb85a07008fdb1343e0848a18cbb22a9800f583982100f2f1cd08f2b7843183282560ceb4b4
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'simplecov', '>= 0.8.0', '< 1.0'
4
- gem 'coveralls', require: false
5
-
6
3
  gemspec
data/HISTORY.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Change Log and History
2
2
  ======================
3
3
 
4
+ Version 0.5.1 / 2014-09-12
5
+ --------------------------
6
+
7
+ Backed out some of the Cucumber-like changes.
8
+
9
+ Version 0.5.0 / 2014-09-07
10
+ --------------------------
11
+
12
+ This version of Lucid allows it to act more like Cucumber by recognizing the same type of `features` directory as Cucumber does. Lucid still defaults to a `specs` directory but now if you are using a `features` directory, the standard structure will be recognized. The driver file has been changed to Cucumber's default of `env.rb`. Previously this was `driver.rb` but there was little reason to diverge from Cucumber here. You can still set up a custom driver file via the command line.
13
+
14
+ Note that with the upcoming final release of Cucumber 2.x it's up in the air how much and to what extent I'll support Lucid in its current incarnation. So far Cucumber 2.x doesn't seem to offer anything much but the hexagonal architecture might be worth exploring. In preparation for this the strict build and code coverage process for Lucid has been removed as have the unit tests.
15
+
4
16
  Version 0.4.1 / 2013-02-18
5
17
  --------------------------
6
18
 
data/LICENSE CHANGED
@@ -5,9 +5,6 @@ Copyright (c) 2012, 2013 Jeff Nyman
5
5
  Any Cucumber-derived elements
6
6
  Copyright (c) 2008,2009,2010,2011,2012,2013 Aslak Hellesøy and contributors.
7
7
 
8
- Sequence functionality derived from Macros4Cuke
9
- Copyright (c) 2013, Dimitri Geshef.
10
-
11
8
  Permission is hereby granted, free of charge, to any person obtaining
12
9
  a copy of this software and associated documentation files (the
13
10
  "Software"), to deal in the Software without restriction, including
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  Lucid
2
2
  =====
3
3
 
4
- [![Build Status](https://secure.travis-ci.org/jnyman/lucid.png)](http://travis-ci.org/jnyman/lucid)
5
- [![Coverage Status](https://coveralls.io/repos/jnyman/lucid/badge.png?branch=master)](https://coveralls.io/r/jnyman/lucid)
6
4
  [![Code Climate](https://codeclimate.com/github/jnyman/lucid.png)](https://codeclimate.com/github/jnyman/lucid)
7
5
  [![Dependency Status](https://gemnasium.com/jnyman/lucid.png)](https://gemnasium.com/jnyman/lucid)
8
6
  [![Gem Version](https://badge.fury.io/rb/lucid.png)](http://badge.fury.io/rb/lucid)
@@ -11,7 +9,9 @@ Lucid
11
9
  Description
12
10
  -----------
13
11
 
14
- Lucid is a Test Description Language (TDL) specification and execution engine. It is a clone of the popular tool [Cucumber](http://cukes.info/). Lucid is diverging in many ways from Cucumber but it does owe much of its initial structure to it. Lucid will also be incorporating some of the good ideas that have come to light in tools like [Spinach](https://github.com/codegram/spinach) and [Turnip](https://github.com/jnicklas/turnip).
12
+ Lucid is a Description Language specification and execution engine. Here the Description Language can be considered a TDL (Test Description Language) or BDL (Business Description Language). I'm not even sure if those are official terms but they are the terms I use to indicate the language whereby elaborated requirements and tests become largely the same artifact.
13
+
14
+ Lucid is a clone of the popular tool [Cucumber](http://cukes.info/). Lucid is diverging in many ways from Cucumber but it does owe much of its initial structure to it. Lucid will also be incorporating some of the good ideas that have come to light in tools like [Spinach](https://github.com/codegram/spinach) and [Turnip](https://github.com/jnicklas/turnip).
15
15
 
16
16
  Lucid is currently in an extended beta period, essentially becoming its own entity in the world of BDD tools.
17
17
 
@@ -21,13 +21,15 @@ Installation
21
21
 
22
22
  Add this line to your application's Gemfile:
23
23
 
24
- gem 'lucid'
24
+ ```ruby
25
+ gem 'lucid'
26
+ ```
25
27
 
26
28
  And then execute:
27
29
 
28
30
  $ bundle
29
31
 
30
- Or install it yourself as:
32
+ Or install it yourself with:
31
33
 
32
34
  $ gem install lucid
33
35
 
data/Rakefile CHANGED
@@ -1,16 +1,2 @@
1
1
  #!/usr/bin/env rake
2
2
  require 'bundler/gem_tasks'
3
- require 'rspec/core/rake_task'
4
-
5
- namespace :spec do
6
- RSpec::Core::RakeTask.new(:all) do |config|
7
- options = %w(--color)
8
- options += %w(--format documentation)
9
- options += %w(--format html --out spec/reports/unit-test-report.html)
10
- options += %w(--format nested --out spec/reports/unit-test-report.txt)
11
-
12
- config.rspec_opts = options
13
- end
14
- end
15
-
16
- task default: %w(spec:all)
@@ -15,6 +15,10 @@ module Lucid
15
15
  class << self
16
16
  attr_accessor :wants_to_quit
17
17
 
18
+ def version
19
+ "Lucid v#{Lucid::VERSION}"
20
+ end
21
+
18
22
  def breakdown(*args)
19
23
  current_output = $stdout
20
24
  begin
@@ -13,10 +13,6 @@ module Lucid
13
13
  end
14
14
 
15
15
  def initialize(args, stdin=STDIN, out=STDOUT, err=STDERR, kernel=Kernel)
16
- raise "args can't be nil" unless args
17
- raise "out can't be nil" unless out
18
- raise "err can't be nil" unless err
19
- raise "kernel can't be nil" unless kernel
20
16
  @args = args
21
17
  @out = out
22
18
  @err = err
@@ -24,7 +20,7 @@ module Lucid
24
20
  @context = nil
25
21
  end
26
22
 
27
- def start!(existing_context = nil)
23
+ def start!(existing_context=nil)
28
24
  trap_interrupt
29
25
 
30
26
  context_loader = if existing_context
@@ -25,8 +25,8 @@ module Lucid
25
25
  log.debug('Options:')
26
26
  log.debug(@options)
27
27
 
28
- set_formatter
29
- raise('You cannot use both --strict and --wip tags.') if strict? && wip?
28
+ set_formatters
29
+ raise('You are using the --strict and --wip options together but they are mutually exclusive.') if strict? && wip?
30
30
 
31
31
  @options[:tag_expression] = Gherkin::TagExpression.new(@options[:tag_expressions])
32
32
 
@@ -157,8 +157,8 @@ module Lucid
157
157
  end
158
158
 
159
159
  files_to_sort
160
- elsif path[0..0] == '@' and # @listfile.txt
161
- File.file?(path[1..-1]) # listfile.txt is a file
160
+ elsif path[0..0] == '@' and
161
+ File.file?(path[1..-1])
162
162
  IO.read(path[1..-1]).split
163
163
  else
164
164
  path
@@ -177,6 +177,8 @@ module Lucid
177
177
  specs_path(dirs)
178
178
  end
179
179
 
180
+ alias_method :feature_dirs, :spec_location
181
+
180
182
  def spec_type
181
183
  @options[:spec_types]
182
184
  end
@@ -248,7 +250,7 @@ module Lucid
248
250
  end
249
251
  end
250
252
 
251
- def set_formatter
253
+ def set_formatters
252
254
  @options[:formats] << ['standard', @out_stream] if @options[:formats].empty?
253
255
  @options[:formats] = @options[:formats].sort_by{|f| f[1] == @out_stream ? -1 : 1}
254
256
  @options[:formats].uniq!
@@ -256,7 +258,7 @@ module Lucid
256
258
  streams = @options[:formats].map { |(_, stream)| stream }
257
259
 
258
260
  if streams != streams.uniq
259
- raise 'All but one formatter must use --out, only one can print to each stream (or STDOUT)'
261
+ raise 'Lucid allows only one formatter to output to the STDOUT stream. All other formatters must redirect output to a file.'
260
262
  end
261
263
  end
262
264
 
@@ -23,7 +23,7 @@ Defined profiles in lucid.yml:
23
23
  case(args_from_yml)
24
24
  when String
25
25
  raise YmlLoadError, ["The '#{profile}' profile in lucid.yml was blank. You must define",
26
- "command line arguments if you are are going to include a profile",
26
+ 'command line arguments if you are are going to include a profile',
27
27
  "in lucid.yml.\n"].join("\n") if args_from_yml =~ /^\s*$/
28
28
  if(Lucid::WINDOWS)
29
29
  args_from_yml = args_from_yml.split
@@ -37,7 +37,7 @@ Defined profiles in lucid.yml:
37
37
  "You must define any command line arguments within the array.\n"].join("\n") if args_from_yml.empty?
38
38
  else
39
39
  raise YmlLoadError, ["The '#{profile}' profile in lucid.yml was a #{args_from_yml.class}.",
40
- "A profile must be a a String or an Array."].join("\n")
40
+ 'A profile must be a a String or an Array.'].join("\n")
41
41
  end
42
42
  args_from_yml
43
43
  end
@@ -57,7 +57,7 @@ Defined profiles in lucid.yml:
57
57
  return @lucid_yml if @lucid_yml
58
58
  unless lucid_yml_defined?
59
59
  raise ProfilesNotDefinedError, ["A lucid.yml file was not found. The current directory is #{Dir.pwd}.",
60
- "Refer to Lucid's documentation on defining profiles in lucid.yml.",
60
+ 'Refer to the Lucid documentation on defining profiles in lucid.yml.',
61
61
  "You must define a 'default' profile to use the lucid command without",
62
62
  "any arguments.\nType 'lucid --help' for usage.\n"].join("\n")
63
63
  end
@@ -67,22 +67,22 @@ Defined profiles in lucid.yml:
67
67
  begin
68
68
  @lucid_erb = ERB.new(IO.read(lucid_file)).result(binding)
69
69
  rescue Exception => e
70
- raise YmlLoadError, ["A lucid.yml file was found, but could not be parsed. Double-check",
71
- "the contents of the file. Refer to Lucid's documentation on correct",
70
+ raise YmlLoadError, ['A lucid.yml file was found, but could not be parsed. Double-check',
71
+ 'the contents of the file. Refer to the Lucid documentation on correct',
72
72
  "profile usage.\n#{$!.inspect}"].join("\n")
73
73
  end
74
74
 
75
75
  begin
76
76
  @lucid_yml = YAML::load(@lucid_erb)
77
77
  rescue StandardError => e
78
- raise YmlLoadError, ["A lucid.yml file was found, but could not be parsed. Double-check",
79
- "the contents of the file. Refer to Lucid's documentation on correct",
78
+ raise YmlLoadError, ['A lucid.yml file was found, but could not be parsed. Double-check',
79
+ 'the contents of the file. Refer to the Lucid documentation on correct',
80
80
  "profile usage.\n"].join("\n")
81
81
  end
82
82
 
83
83
  if @lucid_yml.nil? || !@lucid_yml.is_a?(Hash)
84
- raise YmlLoadError, ["The lucid.yml file was found, but was blank or malformed. Please",
85
- "refer to Lucid's documentation on defining profiles in lucid.yml.\n"].join("\n")
84
+ raise YmlLoadError, ['The lucid.yml file was found, but was blank or malformed. Please',
85
+ "refer to the Lucid documentation on defining profiles in lucid.yml.\n"].join("\n")
86
86
  end
87
87
 
88
88
  return @lucid_yml
@@ -45,7 +45,7 @@ module Lucid
45
45
 
46
46
  def default_options
47
47
  {
48
- :autoload_code_paths => %w(common steps pages)
48
+ :autoload_code_paths => %w(features/support features/step_definitions features/steps common steps pages)
49
49
  }
50
50
  end
51
51
  end
@@ -1,8 +1,7 @@
1
1
  module Lucid
2
2
  module InterfaceRb
3
3
  module Matcher
4
-
5
- ARGUMENT_PATTERNS = ['"(.*?)"', '(\d+)']
4
+ ARGUMENT_PATTERNS = ['"([^"]*)"', '(\d+)']
6
5
 
7
6
  class BaseMatcher
8
7
 
@@ -2,7 +2,7 @@ require 'rbconfig'
2
2
 
3
3
  module Lucid
4
4
  unless defined?(Lucid::VERSION)
5
- VERSION = '0.4.1'
5
+ VERSION = '0.5.1'
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)
@@ -12,6 +12,7 @@ module Lucid
12
12
  WINDOWS_MRI = WINDOWS && !JRUBY && !IRONRUBY
13
13
  RAILS = defined?(Rails)
14
14
  RUBY_BINARY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
15
+ RUBY_2_1 = RUBY_VERSION =~ /^2\.1/
15
16
  RUBY_2_0 = RUBY_VERSION =~ /^2\.0/
16
17
  RUBY_1_9 = RUBY_VERSION =~ /^1\.9/
17
18
 
@@ -9,32 +9,32 @@ Gem::Specification.new do |spec|
9
9
  spec.version = Lucid::VERSION
10
10
  spec.author = 'Jeff Nyman'
11
11
  spec.email = 'jeffnyman@gmail.com'
12
- spec.summary = %q{Test Description Language Specification and Execution Engine}
13
- spec.description = <<-EOF
12
+ spec.summary = %q{Description Language Specification and Execution Engine}
13
+ spec.description = %q{
14
14
  Lucid is a test framework that is designed to treat testing as a
15
15
  design activity by allowing requirements to be defined as tests.
16
16
  Those tests can then be executed via an automation layer. This is
17
17
  the basis of creating executable specifications.
18
- EOF
18
+ }
19
19
  spec.homepage = 'https://github.com/jnyman/lucid'
20
20
  spec.licenses = %w(MIT)
21
- spec.platform = Gem::Platform::RUBY
21
+ spec.requirements << 'Gherkin, RSpec'
22
22
 
23
23
  spec.files = `git ls-files -z`.split("\x0")
24
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
24
+ spec.test_files = spec.files.grep(%r{^(test|spec|features|specs)/})
25
25
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
26
26
  spec.require_paths = %w(lib)
27
27
 
28
28
  spec.required_ruby_version = '>= 1.9.3'
29
- spec.required_rubygems_version = '>= 1.6.1'
29
+ spec.required_rubygems_version = '>= 1.8.29'
30
30
 
31
- spec.add_development_dependency 'bundler', '~> 1.5'
32
- spec.add_development_dependency 'rake'
31
+ spec.add_development_dependency 'bundler', '~> 1.7'
32
+ spec.add_development_dependency 'rake', '~> 10.0'
33
33
 
34
- spec.add_runtime_dependency 'builder', '>= 3.2.2'
35
- spec.add_runtime_dependency 'multi_json', '>= 1.8.0', '< 2.0'
36
- spec.add_runtime_dependency 'gherkin', '>= 2.12.0'
37
- spec.add_runtime_dependency 'rspec', '>= 2.14'
34
+ spec.add_runtime_dependency 'builder', '~> 3.2.2'
35
+ spec.add_runtime_dependency 'multi_json', '~> 1.8'
36
+ spec.add_runtime_dependency 'gherkin', '~> 2.12'
37
+ spec.add_runtime_dependency 'rspec', '~> 3.0'
38
38
 
39
39
  spec.post_install_message = %{
40
40
  (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+
3
+ describe Lucid do
4
+ it 'will return version information' do
5
+ expect(Lucid.version).to eq "Lucid v#{Lucid::VERSION}"
6
+ end
7
+ end
@@ -1,22 +1,3 @@
1
1
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
2
 
3
- require 'simplecov'
4
- require 'coveralls'
5
-
6
- Coveralls.wear!
7
-
8
- SimpleCov.add_filter '/spec'
9
-
10
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
11
- SimpleCov::Formatter::HTMLFormatter,
12
- Coveralls::SimpleCov::Formatter
13
- ]
14
-
15
- SimpleCov.start do
16
- add_filter '/spec'
17
- coverage_dir "#{SimpleCov.root}/spec/reports/coverage"
18
- minimum_coverage 70
19
- maximum_coverage_drop 5
20
- end
21
-
22
3
  require 'lucid'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Nyman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,95 +16,88 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '1.5'
26
+ version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: builder
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: 3.2.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.2.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: multi_json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
60
- - !ruby/object:Gem::Version
61
- version: 1.8.0
62
- - - <
59
+ - - ~>
63
60
  - !ruby/object:Gem::Version
64
- version: '2.0'
61
+ version: '1.8'
65
62
  type: :runtime
66
63
  prerelease: false
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
- - - '>='
70
- - !ruby/object:Gem::Version
71
- version: 1.8.0
72
- - - <
66
+ - - ~>
73
67
  - !ruby/object:Gem::Version
74
- version: '2.0'
68
+ version: '1.8'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: gherkin
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
- - - '>='
73
+ - - ~>
80
74
  - !ruby/object:Gem::Version
81
- version: 2.12.0
75
+ version: '2.12'
82
76
  type: :runtime
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
- - - '>='
80
+ - - ~>
87
81
  - !ruby/object:Gem::Version
88
- version: 2.12.0
82
+ version: '2.12'
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: rspec
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
- - - '>='
87
+ - - ~>
94
88
  - !ruby/object:Gem::Version
95
- version: '2.14'
89
+ version: '3.0'
96
90
  type: :runtime
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
- - - '>='
94
+ - - ~>
101
95
  - !ruby/object:Gem::Version
102
- version: '2.14'
103
- description: |2
104
- Lucid is a test framework that is designed to treat testing as a
105
- design activity by allowing requirements to be defined as tests.
106
- Those tests can then be executed via an automation layer. This is
107
- the basis of creating executable specifications.
96
+ version: '3.0'
97
+ description: "\n Lucid is a test framework that is designed to treat testing as
98
+ a\n design activity by allowing requirements to be defined as tests.\n Those
99
+ tests can then be executed via an automation layer. This is\n the basis of creating
100
+ executable specifications.\n "
108
101
  email: jeffnyman@gmail.com
109
102
  executables:
110
103
  - lucid
@@ -112,7 +105,6 @@ extensions: []
112
105
  extra_rdoc_files: []
113
106
  files:
114
107
  - .gitignore
115
- - .travis.yml
116
108
  - Gemfile
117
109
  - HISTORY.md
118
110
  - LICENSE
@@ -192,13 +184,6 @@ files:
192
184
  - lib/lucid/orchestrator.rb
193
185
  - lib/lucid/platform.rb
194
186
  - lib/lucid/results.rb
195
- - lib/lucid/sequence.rb
196
- - lib/lucid/sequence/sequence_errors.rb
197
- - lib/lucid/sequence/sequence_group.rb
198
- - lib/lucid/sequence/sequence_phrase.rb
199
- - lib/lucid/sequence/sequence_steps.rb
200
- - lib/lucid/sequence/sequence_support.rb
201
- - lib/lucid/sequence/sequence_template.rb
202
187
  - lib/lucid/spec_builder.rb
203
188
  - lib/lucid/spec_file.rb
204
189
  - lib/lucid/spec_loader.rb
@@ -207,48 +192,14 @@ files:
207
192
  - lib/lucid/step_match.rb
208
193
  - lib/lucid/unit.rb
209
194
  - lucid.gemspec
210
- - spec/lucid/ansicolor_spec.rb
211
- - spec/lucid/app_spec.rb
212
- - spec/lucid/ast/background_spec.rb
213
- - spec/lucid/ast/doc_string_spec.rb
214
- - spec/lucid/ast/feature_spec.rb
215
- - spec/lucid/ast/outline_table_spec.rb
216
- - spec/lucid/ast/scenario_outline_spec.rb
217
- - spec/lucid/ast/specs_spec.rb
218
- - spec/lucid/ast/step_invocation_spec.rb
219
- - spec/lucid/ast/step_spec.rb
220
- - spec/lucid/ast/table_spec.rb
221
- - spec/lucid/ast/tdl_factory.rb
222
- - spec/lucid/ast/tdl_walker_spec.rb
223
- - spec/lucid/context_spec.rb
224
- - spec/lucid/duration_spec.rb
225
- - spec/lucid/facade_spec.rb
226
- - spec/lucid/factory_spec.rb
227
- - spec/lucid/matcher_spec.rb
228
- - spec/lucid/options_spec.rb
229
- - spec/lucid/orchestrator_spec.rb
230
- - spec/lucid/pending_spec.rb
231
- - spec/lucid/progress_spec.rb
232
- - spec/lucid/rb_step_definition_spec.rb
233
- - spec/lucid/rb_transform_spec.rb
234
- - spec/lucid/regexp_argument_matcher_spec.rb
235
- - spec/lucid/results_spec.rb
236
- - spec/lucid/runtime_spec.rb
237
- - spec/lucid/sequences/sequence_conditional_spec.rb
238
- - spec/lucid/sequences/sequence_group_spec.rb
239
- - spec/lucid/sequences/sequence_phrase_spec.rb
240
- - spec/lucid/sequences/sequence_placeholder_spec.rb
241
- - spec/lucid/sequences/sequence_section_spec.rb
242
- - spec/lucid/sequences/sequence_support_spec.rb
243
- - spec/lucid/sequences/sequence_template_spec.rb
244
- - spec/lucid/step_match_spec.rb
195
+ - spec/lucid/lucid_spec.rb
245
196
  - spec/spec_helper.rb
246
197
  homepage: https://github.com/jnyman/lucid
247
198
  licenses:
248
199
  - MIT
249
200
  metadata: {}
250
201
  post_install_message: "\n(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n
251
- \ Lucid 0.4.1 has been installed.\n\n Run the following command to get help:\n
202
+ \ Lucid 0.5.1 has been installed.\n\n Run the following command to get help:\n
252
203
  \ lucid --help\n\n Information on Lucid can be found under the 'lucid'\n category
253
204
  at:\n http://testerstories.com/category/lucid/\n\n(::) (::) (::) (::) (::) (::)
254
205
  (::) (::) (::) (::) (::) (::)\n "
@@ -264,48 +215,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
215
  requirements:
265
216
  - - '>='
266
217
  - !ruby/object:Gem::Version
267
- version: 1.6.1
268
- requirements: []
218
+ version: 1.8.29
219
+ requirements:
220
+ - Gherkin, RSpec
269
221
  rubyforge_project:
270
- rubygems_version: 2.1.11
222
+ rubygems_version: 2.0.14
271
223
  signing_key:
272
224
  specification_version: 4
273
- summary: Test Description Language Specification and Execution Engine
225
+ summary: Description Language Specification and Execution Engine
274
226
  test_files:
275
- - spec/lucid/ansicolor_spec.rb
276
- - spec/lucid/app_spec.rb
277
- - spec/lucid/ast/background_spec.rb
278
- - spec/lucid/ast/doc_string_spec.rb
279
- - spec/lucid/ast/feature_spec.rb
280
- - spec/lucid/ast/outline_table_spec.rb
281
- - spec/lucid/ast/scenario_outline_spec.rb
282
- - spec/lucid/ast/specs_spec.rb
283
- - spec/lucid/ast/step_invocation_spec.rb
284
- - spec/lucid/ast/step_spec.rb
285
- - spec/lucid/ast/table_spec.rb
286
- - spec/lucid/ast/tdl_factory.rb
287
- - spec/lucid/ast/tdl_walker_spec.rb
288
- - spec/lucid/context_spec.rb
289
- - spec/lucid/duration_spec.rb
290
- - spec/lucid/facade_spec.rb
291
- - spec/lucid/factory_spec.rb
292
- - spec/lucid/matcher_spec.rb
293
- - spec/lucid/options_spec.rb
294
- - spec/lucid/orchestrator_spec.rb
295
- - spec/lucid/pending_spec.rb
296
- - spec/lucid/progress_spec.rb
297
- - spec/lucid/rb_step_definition_spec.rb
298
- - spec/lucid/rb_transform_spec.rb
299
- - spec/lucid/regexp_argument_matcher_spec.rb
300
- - spec/lucid/results_spec.rb
301
- - spec/lucid/runtime_spec.rb
302
- - spec/lucid/sequences/sequence_conditional_spec.rb
303
- - spec/lucid/sequences/sequence_group_spec.rb
304
- - spec/lucid/sequences/sequence_phrase_spec.rb
305
- - spec/lucid/sequences/sequence_placeholder_spec.rb
306
- - spec/lucid/sequences/sequence_section_spec.rb
307
- - spec/lucid/sequences/sequence_support_spec.rb
308
- - spec/lucid/sequences/sequence_template_spec.rb
309
- - spec/lucid/step_match_spec.rb
227
+ - spec/lucid/lucid_spec.rb
310
228
  - spec/spec_helper.rb
311
229
  has_rdoc: