venom 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ <% if driver.downcase == 'symbiont' %>class Definition
2
+ include Symbiont
3
+ include Symbiont::Factory
4
+ end<% end -%>
@@ -79,6 +79,14 @@ module Venom
79
79
  def copy_errors
80
80
  copy_file "errors.rb", "#{name}/specs/support/errors.rb"
81
81
  end
82
+
83
+ def copy_base
84
+ if use_library
85
+ template "base.rb.tt", "#{name}/lib/definitions"
86
+ else
87
+ template "base.rb.tt", "#{name}/specs/definitions"
88
+ end
89
+ end
82
90
 
83
91
  private
84
92
 
data/lib/venom/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Venom
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -62,6 +62,7 @@ files:
62
62
  - lib/venom/generators/workshop.rb
63
63
  - lib/venom/generators/workshop/Gemfile.tt
64
64
  - lib/venom/generators/workshop/Rakefile
65
+ - lib/venom/generators/workshop/base.rb.tt
65
66
  - lib/venom/generators/workshop/cucumber.yml
66
67
  - lib/venom/generators/workshop/driver.rb.tt
67
68
  - lib/venom/generators/workshop/env.rb.tt