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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDc5MGY2MGVlYzFhZDJiNWZiNjU5NjlmYzAxZmVmZTQ3MzEwZjY4OQ==
4
+ OGVlNzFhN2FkNGY1MjRkNTAzMDQ4ZTk4MGY1NzQyZWJhYWMzNTRiOQ==
5
5
  data.tar.gz: !binary |-
6
- NTFiMzIxNWFhMDU0NDM4MTQ2ZWRmOTYyZmRkNTg1MGMyYWQyYWNkYg==
6
+ NmU4YTQ5ZjRlMmI1ZmQzMDkxNjBiNTkzMGZiYjdiZjFlMjk4NGZlMg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YjU0Y2UzYzg1ZGE1Y2NmNzUxYzM5YWU4MGQ4MTQ1MmE1MDg3NTBmZmFjMmVk
10
- MTdhMGE0YTk5YjM4NDljMjhkNTgzZGJlODJiYWQ5MTY0NjVjYTI1NjI2MDZm
11
- NzIzN2E1NWUxMzk5ZWIzZTBjZjNjOTBhOTEwMmMxNDZiNTFjOWI=
9
+ YTBkZWUwZDU4YjJkOGJmOWQwMzhhY2Q2OTc5OWNiY2RiYTk2OGI4M2EzZjgx
10
+ MmY0MGQyYzY2MDBhNjYzOGFhZjZmYThjMmJiZGVkNGU4NDUxYjI0MWFkY2Nh
11
+ NTdmYzYxNjkyNzgxMTQ0NjZhMGRhNmUwMDJlODk4MzU3ZDJjZTc=
12
12
  data.tar.gz: !binary |-
13
- MWYwNjk4N2MxZDg1Zjc3NWJmM2ZmNGQyZjljMGJmM2IwY2RkZDgzZTU0Zjkx
14
- NWVlYTYwNDE1NmZlYzYwMjc0YzIzMWFkZmVlYTdkNTM2MWY0OTk3MDJhNmU2
15
- MGI3YzFmMTI4ZTdkMmM3MzgwYWQ4ZjMwNmM3ZDUxNzlhNTY5YTA=
13
+ MGNiMjczOGY2MGVlODBkMzE5ZWJkYzM4MWFlMGJmYTY5MmYwNTUzMGVhOTRj
14
+ ZDE5MzdjNTFmMTIxMDViNDVjYTU4MTkyYjYyMWMzMTJjMjgxYjQ2NjA3ZWE3
15
+ ZWIxY2UyMTExMzAzODA5MmQ1MDI1OWE5ZWI0ODlkYjJjN2ZjODg=
@@ -1,3 +1,3 @@
1
1
  module ViewTree
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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
- controller_action_name[controller_action_name.size - 1] == "#" && controller_action_name.include("*")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: view_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent