view_tree 0.1.6 → 0.1.7
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 +2 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzAyN2U2OTIyODZkYmZlYzExMjZmNTNkNGMzNWNmNjdiNjk2MjAzMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzcwOWVmYjc2NzcxYmM5YmYzMDdkM2Q5ZDFjMzdkNzMzYTQzOGQ1ZA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjIxZWE1N2Q0OTc4NTY5ZDljYjAzNDYzZWIzNGU2NGNjMDRhYWI5Nzk4MzEy
|
10
|
+
MjM3MTlmZDc3Mjc4OGM4NjZkN2NkZDRkOGQ2YTc3Y2MwYzBjYzI0ZDE2Nzlh
|
11
|
+
MTlkMmI1NmIzYTI2OTcwMTk5ZWQzYTYzYTNhMjVhMTVkYzY2NWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjZiNTZmNjVlNjZhZjFjN2MyMTQ2NzcwYWQ5YzQ4ZTY4Njg3Y2VkYjg1NGQx
|
14
|
+
Yzg3ODlhNmNhOWNjOGYwZWFhZTc1NTI5ZmQ5Njg1MTVjYWRhY2M5NDhlNmNl
|
15
|
+
OGY5ZTI5ZGI3ZTRkMDI1MWFjZTFlZDdiNjlhN2NlNzJiOGFiN2Q=
|
data/lib/view_tree/version.rb
CHANGED
data/lib/view_tree.rb
CHANGED
@@ -56,12 +56,8 @@ 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
|
60
|
-
|
61
|
-
exit
|
62
|
-
end
|
63
|
-
|
64
|
-
if controller_action_name[controller_action_name.size - 1] == "#" && controller_action_name.include?("*")
|
59
|
+
if controller_action_name.size == 0 || controller_action_name[0] == "#" ||
|
60
|
+
controller_action_name[controller_action_name.size - 1] == "#" || controller_action_name.include?("*")
|
65
61
|
puts "Please input controller and action name."
|
66
62
|
exit
|
67
63
|
end
|