applenium 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa7a81db902b379cc7bb55f394cb4e1425c0a2fa
4
- data.tar.gz: 23bbb183f000af6b7f1eb2cc59f3d4ca02fd5581
3
+ metadata.gz: 29b868c838febb09c925378ba9cec4f600d78978
4
+ data.tar.gz: ccfe22a67b0bbadeccad022809aa2fe433060bd5
5
5
  SHA512:
6
- metadata.gz: 21094cb7c0b475d826b046288e0f4fc59b4dcd18a61980009d537778006f158d550aaece16295f7f4b69e6e40f44dcf1d382d25dbc445d9fba65821377581d18
7
- data.tar.gz: 0871352cdefa0f24048a97ccd153dc83f8b8c2f49b05cac334dba463e8f4be9aa16834ec92ac0c3da46bc408e66d7766a4f5690453b27ab1e954f75644b1b425
6
+ metadata.gz: 8beebfa5a83dcde58f2e4912c09357f6efe73388635345553c371bf85c70787860179d1309ec82a8b68a8197ea2909515b1e2dd003454539a37e9d5500809062
7
+ data.tar.gz: e1c0f1f1b0d73db09975165a3aa577fa5e4b7b1fc38b31c721e84e460d140b02a8edb04fa3f0d2f43f6e7ed2d2e29259ea9fd47c5bb7c019e8d9aae5bc79a788
data/bin/applenium CHANGED
@@ -20,11 +20,17 @@ $:.unshift lib_dir unless $:.include?(lib_dir)
20
20
  @source_config_dir =File.join(@source_dir, "config_files")
21
21
 
22
22
  def applinium_scaffold
23
+ if File.exists?(@root_feature_dir)
24
+ puts "There is already features directory. Please remane existing features directory to carry on "
25
+ exit 1
26
+ end
27
+
23
28
  msg("Question") do
24
29
  puts "copying all confile files"
25
30
  puts "It will contain Gemfile, rakefile, package.json, cucumber.yml etc etc"
26
31
  puts "Please hit return to create"
27
32
  end
33
+
28
34
  exit 2 unless STDIN.gets.chomp == ''
29
35
 
30
36
  FileUtils.cp_r(@source_config_dir, @root_dir)
@@ -83,8 +89,7 @@ def applinium_scaffold
83
89
  msg("Info") do
84
90
  puts "Scripts subdirectory created. \n"
85
91
  end
86
-
87
-
92
+ end
88
93
 
89
94
  def msg(title, &block)
90
95
  puts "\n" + "-"*10 + title + "-"*10
@@ -1,3 +1,3 @@
1
1
  module Applenium
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: applenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shashikant86