view_tree 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/view_tree/version.rb +1 -1
- data/lib/view_tree.rb +5 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDc5MGY2MGVlYzFhZDJiNWZiNjU5NjlmYzAxZmVmZTQ3MzEwZjY4OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTFiMzIxNWFhMDU0NDM4MTQ2ZWRmOTYyZmRkNTg1MGMyYWQyYWNkYg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjU0Y2UzYzg1ZGE1Y2NmNzUxYzM5YWU4MGQ4MTQ1MmE1MDg3NTBmZmFjMmVk
|
10
|
+
MTdhMGE0YTk5YjM4NDljMjhkNTgzZGJlODJiYWQ5MTY0NjVjYTI1NjI2MDZm
|
11
|
+
NzIzN2E1NWUxMzk5ZWIzZTBjZjNjOTBhOTEwMmMxNDZiNTFjOWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWYwNjk4N2MxZDg1Zjc3NWJmM2ZmNGQyZjljMGJmM2IwY2RkZDgzZTU0Zjkx
|
14
|
+
NWVlYTYwNDE1NmZlYzYwMjc0YzIzMWFkZmVlYTdkNTM2MWY0OTk3MDJhNmU2
|
15
|
+
MGI3YzFmMTI4ZTdkMmM3MzgwYWQ4ZjMwNmM3ZDUxNzlhNTY5YTA=
|
data/lib/view_tree/version.rb
CHANGED
data/lib/view_tree.rb
CHANGED
@@ -46,7 +46,7 @@ class Cb
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
rescue
|
49
|
-
puts "
|
49
|
+
puts "Please input correct controller and action name."
|
50
50
|
exit
|
51
51
|
end
|
52
52
|
end
|
@@ -56,8 +56,9 @@ class Cb
|
|
56
56
|
|
57
57
|
# Check that if user has input "bundle install --path vendor"
|
58
58
|
|
59
|
-
if controller_action_name.size == 0 && controller_action_name[0] == "#" &&
|
60
|
-
|
59
|
+
if controller_action_name.size == 0 && controller_action_name[0] == "#" &&
|
60
|
+
controller_action_name[controller_action_name.size - 1] == "#" && controller_action_name.include("*")
|
61
|
+
puts "Please input controller and action name."
|
61
62
|
exit
|
62
63
|
end
|
63
64
|
|
@@ -82,7 +83,7 @@ class Cb
|
|
82
83
|
|
83
84
|
if $file_queue.size == 0
|
84
85
|
puts ""
|
85
|
-
puts "
|
86
|
+
puts "Please check the controller and action name, I can't find that page."
|
86
87
|
exit
|
87
88
|
end
|
88
89
|
|