Skip to content

Commit

Permalink
Merge branch 'release/0.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffnyman committed Sep 7, 2014
2 parents b9bd1a9 + fee4611 commit 5bcb9c9
Show file tree
Hide file tree
Showing 47 changed files with 24 additions and 3,172 deletions.
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions Gemfile
@@ -1,6 +1,3 @@
source 'https://rubygems.org'

gem 'simplecov', '>= 0.8.0', '< 1.0'
gem 'coveralls', require: false

gemspec
7 changes: 7 additions & 0 deletions HISTORY.md
@@ -1,6 +1,13 @@
Change Log and History
======================

Version 0.5.0 / 2014-09-07
--------------------------

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.

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.

Version 0.4.1 / 2013-02-18
--------------------------

Expand Down
2 changes: 0 additions & 2 deletions README.md
@@ -1,8 +1,6 @@
Lucid
=====

[![Build Status](https://secure.travis-ci.org/jnyman/lucid.png)](http://travis-ci.org/jnyman/lucid)
[![Coverage Status](https://coveralls.io/repos/jnyman/lucid/badge.png?branch=master)](https://coveralls.io/r/jnyman/lucid)
[![Code Climate](https://codeclimate.com/github/jnyman/lucid.png)](https://codeclimate.com/github/jnyman/lucid)
[![Dependency Status](https://gemnasium.com/jnyman/lucid.png)](https://gemnasium.com/jnyman/lucid)
[![Gem Version](https://badge.fury.io/rb/lucid.png)](http://badge.fury.io/rb/lucid)
Expand Down
14 changes: 0 additions & 14 deletions Rakefile
@@ -1,16 +1,2 @@
#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

namespace :spec do
RSpec::Core::RakeTask.new(:all) do |config|
options = %w(--color)
options += %w(--format documentation)
options += %w(--format html --out spec/reports/unit-test-report.html)
options += %w(--format nested --out spec/reports/unit-test-report.txt)

config.rspec_opts = options
end
end

task default: %w(spec:all)
4 changes: 4 additions & 0 deletions lib/lucid.rb
Expand Up @@ -15,6 +15,10 @@ module Lucid
class << self
attr_accessor :wants_to_quit

def version
"Lucid v#{Lucid::VERSION}"
end

def breakdown(*args)
current_output = $stdout
begin
Expand Down
2 changes: 2 additions & 0 deletions lib/lucid/cli/context.rb
Expand Up @@ -177,6 +177,8 @@ def spec_location
specs_path(dirs)
end

alias_method :feature_dirs, :spec_location

def spec_type
@options[:spec_types]
end
Expand Down
4 changes: 2 additions & 2 deletions lib/lucid/cli/options.rb
Expand Up @@ -488,10 +488,10 @@ def default_options
:env_vars => {},
:diff_enabled => true,
:spec_types => %w(feature spec story),
:library_path => 'common',
:library_path => %w(common support),
:definitions_path => 'pages',
:steps_path => 'steps',
:driver_file => 'driver'
:driver_file => 'env'
}
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/lucid/context.rb
Expand Up @@ -45,7 +45,7 @@ def matcher_type

def default_options
{
:autoload_code_paths => %w(common steps pages)
:autoload_code_paths => %w(features/support features/step_definitions features/steps common steps pages)
}
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/lucid/platform.rb
Expand Up @@ -2,7 +2,7 @@

module Lucid
unless defined?(Lucid::VERSION)
VERSION = '0.4.1'
VERSION = '0.5.0'
BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/lucid')
LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
JRUBY = defined?(JRUBY_VERSION)
Expand Down
31 changes: 0 additions & 31 deletions spec/lucid/ansicolor_spec.rb

This file was deleted.

82 changes: 0 additions & 82 deletions spec/lucid/app_spec.rb

This file was deleted.

128 changes: 0 additions & 128 deletions spec/lucid/ast/background_spec.rb

This file was deleted.

36 changes: 0 additions & 36 deletions spec/lucid/ast/doc_string_spec.rb

This file was deleted.

0 comments on commit 5bcb9c9

Please sign in to comment.