lucid 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +10 -0
- data/lib/lucid/generators/project/browser-symbiont.rb +13 -0
- data/lib/lucid/generators/project/driver-symbiont.rb +1 -12
- data/lib/lucid/platform.rb +1 -1
- data/lib/lucid/runtime.rb +4 -1
- data/lucid.gemspec +1 -2
- metadata +6 -23
- data/lib/lucid/core_ext/disable_autorunners.rb +0 -15
data/HISTORY.md
CHANGED
@@ -2,6 +2,16 @@ Change Log and History
|
|
2
2
|
======================
|
3
3
|
|
4
4
|
|
5
|
+
Version 0.1.1 / 2013-06-04
|
6
|
+
--------------------------
|
7
|
+
|
8
|
+
This patch release was needed to fix one issue and update a gem dependency.
|
9
|
+
|
10
|
+
* The Symbiont project generator now no longer has any logic in the driver.rb file, which is necessary in order to allow the --dry-run option to work without error.
|
11
|
+
|
12
|
+
* I am trusting multi_json again by including just it and not forcing Ruby's built-in json gem. This is based on the issue [Incorrectly Reporting Old or Stdlib Json?](https://github.com/intridea/multi_json/issues/114) that I originally raised and finally had a response with the [Remove stdlib warning since it's doing more harm than good](https://github.com/intridea/multi_json/pull/122) update to multi_json.
|
13
|
+
|
14
|
+
|
5
15
|
Version 0.1.0 / 2013-06-02
|
6
16
|
--------------------------
|
7
17
|
|
@@ -1,3 +1,16 @@
|
|
1
|
+
begin
|
2
|
+
require 'symbiont'
|
3
|
+
require 'symbiont/factory'
|
4
|
+
rescue LoadError
|
5
|
+
STDOUT.puts ["The Symbiont test execution library is not installed.",
|
6
|
+
"The driver file is currently set to use the Symbiont library but",
|
7
|
+
"that gem was not found. Run the following command:", "",
|
8
|
+
" gem install symbiont"].join("\n")
|
9
|
+
Kernel.exit(1)
|
10
|
+
end
|
11
|
+
|
12
|
+
Domain(Symbiont::Factory)
|
13
|
+
|
1
14
|
module Symbiont
|
2
15
|
module Browser
|
3
16
|
|
@@ -1,12 +1 @@
|
|
1
|
-
|
2
|
-
require 'symbiont'
|
3
|
-
require 'symbiont/factory'
|
4
|
-
rescue LoadError
|
5
|
-
STDOUT.puts ["The Symbiont test execution library is not installed.",
|
6
|
-
"The driver file is currently set to use the Symbiont library but",
|
7
|
-
"that gem was not found. Run the following command:", "",
|
8
|
-
" gem install symbiont"].join("\n")
|
9
|
-
Kernel.exit(1)
|
10
|
-
end
|
11
|
-
|
12
|
-
Domain(Symbiont::Factory)
|
1
|
+
# Environment Driver File
|
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.1.
|
5
|
+
VERSION = '0.1.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)
|
data/lib/lucid/runtime.rb
CHANGED
@@ -19,7 +19,10 @@ module Lucid
|
|
19
19
|
include Runtime::InterfaceIO
|
20
20
|
|
21
21
|
def initialize(configuration = Configuration.default)
|
22
|
-
|
22
|
+
if defined?(Test::Unit::Runner)
|
23
|
+
Test::Unit::Runner.module_eval("@@stop_auto_run = true")
|
24
|
+
end
|
25
|
+
|
23
26
|
@current_scenario = nil
|
24
27
|
@configuration = Configuration.parse(configuration)
|
25
28
|
@orchestrator = Orchestrator.new(self, @configuration)
|
data/lucid.gemspec
CHANGED
@@ -23,8 +23,7 @@ Gem::Specification.new do |gem|
|
|
23
23
|
gem.add_runtime_dependency 'builder', '>= 2.1.2'
|
24
24
|
gem.add_runtime_dependency 'diff-lcs', '>= 1.1.3'
|
25
25
|
gem.add_runtime_dependency 'gherkin', '~> 2.12.0'
|
26
|
-
gem.add_runtime_dependency 'multi_json', '~> 1.
|
27
|
-
gem.add_runtime_dependency 'json', '~> 1.7.7'
|
26
|
+
gem.add_runtime_dependency 'multi_json', '~> 1.7.5'
|
28
27
|
|
29
28
|
gem.post_install_message = %{
|
30
29
|
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
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.1.
|
4
|
+
version: 0.1.1
|
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-06-
|
12
|
+
date: 2013-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - ~>
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: 1.7.5
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,23 +106,7 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: json
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 1.7.7
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ~>
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 1.7.7
|
109
|
+
version: 1.7.5
|
126
110
|
description: Test Description Language Execution Engine
|
127
111
|
email:
|
128
112
|
- jeffnyman@gmail.com
|
@@ -181,7 +165,6 @@ files:
|
|
181
165
|
- lib/lucid/cli/options.rb
|
182
166
|
- lib/lucid/cli/profile.rb
|
183
167
|
- lib/lucid/configuration.rb
|
184
|
-
- lib/lucid/core_ext/disable_autorunners.rb
|
185
168
|
- lib/lucid/core_ext/instance_exec.rb
|
186
169
|
- lib/lucid/core_ext/proc.rb
|
187
170
|
- lib/lucid/core_ext/string.rb
|
@@ -261,7 +244,7 @@ homepage: https://github.com/jnyman/lucid
|
|
261
244
|
licenses:
|
262
245
|
- MIT
|
263
246
|
post_install_message: ! "\n(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
264
|
-
(::)\n\n Thanks for installing Lucid 0.1.
|
247
|
+
(::)\n\n Thanks for installing Lucid 0.1.1.\n\n(::) (::) (::) (::) (::) (::) (::)
|
265
248
|
(::) (::) (::) (::) (::)\n "
|
266
249
|
rdoc_options:
|
267
250
|
- --charset=UTF-8
|
@@ -284,6 +267,6 @@ rubyforge_project:
|
|
284
267
|
rubygems_version: 1.8.24
|
285
268
|
signing_key:
|
286
269
|
specification_version: 3
|
287
|
-
summary: lucid-0.1.
|
270
|
+
summary: lucid-0.1.1
|
288
271
|
test_files: []
|
289
272
|
has_rdoc:
|
@@ -1,15 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'test/unit'
|
3
|
-
|
4
|
-
if defined?(Test::Unit::AutoRunner.need_auto_run?)
|
5
|
-
# For test-unit gem >= 2.4.9
|
6
|
-
Test::Unit::AutoRunner.need_auto_run = false
|
7
|
-
elsif defined?(Test::Unit.run?)
|
8
|
-
# For test-unit gem < 2.4.9
|
9
|
-
Test::Unit.run = true
|
10
|
-
elsif defined?(Test::Unit::Runner)
|
11
|
-
# For test/unit bundled in Ruby >= 1.9.3
|
12
|
-
Test::Unit::Runner.module_eval("@@stop_auto_run = true")
|
13
|
-
end
|
14
|
-
rescue LoadError => ignore
|
15
|
-
end
|