cwtestgen 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,8 +57,10 @@ module CwTestGen
57
57
  end
58
58
 
59
59
  def create_symlink_to_lib
60
- unless File.symlink?("#{name}/features/support/lib/")
61
- File.symlink("#{name}/features/support/lib", "lib")
60
+ if File.exist?("lib")
61
+ unless File.symlink?("#{name}/features/support/lib/")
62
+ File.symlink("#{name}/features/support/lib", "lib")
63
+ end
62
64
  end
63
65
  end
64
66
 
@@ -1,3 +1,3 @@
1
1
  module CwTestGen
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cwtestgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-04-19 00:00:00.000000000 Z
14
+ date: 2013-04-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor