applenium 0.0.6 → 0.0.7
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.
- checksums.yaml +4 -4
- data/bin/applenium +7 -2
- data/lib/applenium/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29b868c838febb09c925378ba9cec4f600d78978
|
4
|
+
data.tar.gz: ccfe22a67b0bbadeccad022809aa2fe433060bd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/applenium/version.rb
CHANGED