venom 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/venom/generator.rb +2 -2
- data/lib/venom/generators/workshop/env.rb.tt +3 -4
- data/lib/venom/version.rb +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
data/lib/venom/generator.rb
CHANGED
@@ -9,9 +9,9 @@ module Venom
|
|
9
9
|
|
10
10
|
def workshop(name)
|
11
11
|
puts "Name of workshop: #{name}"
|
12
|
-
driver = options[:driver].nil? ? '
|
12
|
+
driver = options[:driver].nil? ? 'watir' : options[:driver]
|
13
13
|
library = options[:library] == true ? 'true' : 'false'
|
14
|
-
|
14
|
+
|
15
15
|
Venom::Generators::Workshop.start([name, driver, library])
|
16
16
|
end
|
17
17
|
end # class: Generator
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<% if library == 'true' -%>
|
2
2
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../', 'lib'))
|
3
|
-
<% end -%>
|
4
3
|
|
4
|
+
<% end -%>
|
5
5
|
<% unless driver.downcase == 'no driver' -%>
|
6
6
|
require 'symbiont'
|
7
7
|
require 'symbiont/factory'
|
8
|
-
|
9
8
|
<% if library == 'true' -%>
|
9
|
+
|
10
10
|
require 'require_all'
|
11
11
|
|
12
12
|
require_all 'lib'
|
@@ -30,5 +30,4 @@ module Symbiont
|
|
30
30
|
end # module: Browser
|
31
31
|
end # module: Symbiont
|
32
32
|
|
33
|
-
World(Symbiont::Factory)
|
34
|
-
<% end %>
|
33
|
+
World(Symbiont::Factory)<% end %>
|
data/lib/venom/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: venom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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: 2012-
|
12
|
+
date: 2012-08-09 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A test generator for Symbiont.
|
15
15
|
email:
|