view_tree 0.1.5 → 0.1.6
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 +6 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGVlNzFhN2FkNGY1MjRkNTAzMDQ4ZTk4MGY1NzQyZWJhYWMzNTRiOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmU4YTQ5ZjRlMmI1ZmQzMDkxNjBiNTkzMGZiYjdiZjFlMjk4NGZlMg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTBkZWUwZDU4YjJkOGJmOWQwMzhhY2Q2OTc5OWNiY2RiYTk2OGI4M2EzZjgx
|
10
|
+
MmY0MGQyYzY2MDBhNjYzOGFhZjZmYThjMmJiZGVkNGU4NDUxYjI0MWFkY2Nh
|
11
|
+
NTdmYzYxNjkyNzgxMTQ0NjZhMGRhNmUwMDJlODk4MzU3ZDJjZTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGNiMjczOGY2MGVlODBkMzE5ZWJkYzM4MWFlMGJmYTY5MmYwNTUzMGVhOTRj
|
14
|
+
ZDE5MzdjNTFmMTIxMDViNDVjYTU4MTkyYjYyMWMzMTJjMjgxYjQ2NjA3ZWE3
|
15
|
+
ZWIxY2UyMTExMzAzODA5MmQ1MDI1OWE5ZWI0ODlkYjJjN2ZjODg=
|
data/lib/view_tree/version.rb
CHANGED
data/lib/view_tree.rb
CHANGED
@@ -56,8 +56,12 @@ 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
|
+
puts "Please input controller and action name."
|
61
|
+
exit
|
62
|
+
end
|
63
|
+
|
64
|
+
if controller_action_name[controller_action_name.size - 1] == "#" && controller_action_name.include?("*")
|
61
65
|
puts "Please input controller and action name."
|
62
66
|
exit
|
63
67
|
end
|