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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjlhNWU3ZGYwYmJkZDRlM2QzMGEyOTkyZmY4MjkxZjdmNjMzZjFlZg==
4
+ MDc5MGY2MGVlYzFhZDJiNWZiNjU5NjlmYzAxZmVmZTQ3MzEwZjY4OQ==
5
5
  data.tar.gz: !binary |-
6
- ZWZlZDg3ZDljYWFhYjQxMTAxMzQ3NmYxYzZiZGJhMjM5MWUzMDc2MQ==
6
+ NTFiMzIxNWFhMDU0NDM4MTQ2ZWRmOTYyZmRkNTg1MGMyYWQyYWNkYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MmJlMWUzMmZmODlhMjJhODNlZjgwMjE3ODNiNGExNWFmYWQwZWE3MzY2MTY1
10
- MmVhMzg3NmMwNmQxMzkwOGRiOTdkMGQxNGFlY2MyMzlhZDEyYWJkNmI3MjE3
11
- ZDA1ZTJiOTY5N2VkZWNhM2M5YWY1ZGFhZjAyMGRhMjJlOTU2OTY=
9
+ YjU0Y2UzYzg1ZGE1Y2NmNzUxYzM5YWU4MGQ4MTQ1MmE1MDg3NTBmZmFjMmVk
10
+ MTdhMGE0YTk5YjM4NDljMjhkNTgzZGJlODJiYWQ5MTY0NjVjYTI1NjI2MDZm
11
+ NzIzN2E1NWUxMzk5ZWIzZTBjZjNjOTBhOTEwMmMxNDZiNTFjOWI=
12
12
  data.tar.gz: !binary |-
13
- MmU1NTk2ZTJlMjcyZmNkZjkwYWYyNDJiNzYxNmJkNGMyMTU2ZmFiMzNlOGEx
14
- NTc3ODExNGQxZmZiMzJlZmRmNTA0NDgwOWE5ZGNhNDY3ODcxYzMxYmFjM2I2
15
- Njc3ODYyMDIzZDZiODMxZTgzOGI1OTc0YzRlYmQ5NGFiM2I5M2U=
13
+ MWYwNjk4N2MxZDg1Zjc3NWJmM2ZmNGQyZjljMGJmM2IwY2RkZDgzZTU0Zjkx
14
+ NWVlYTYwNDE1NmZlYzYwMjc0YzIzMWFkZmVlYTdkNTM2MWY0OTk3MDJhNmU2
15
+ MGI3YzFmMTI4ZTdkMmM3MzgwYWQ4ZjMwNmM3ZDUxNzlhNTY5YTA=
@@ -1,3 +1,3 @@
1
1
  module ViewTree
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/view_tree.rb CHANGED
@@ -46,7 +46,7 @@ class Cb
46
46
  end
47
47
  end
48
48
  rescue
49
- puts "3...Please input correct controller and action name."
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] == "#" && controller_action_name[controller_action_name.size - 1] == "#"
60
- puts "1....Please input controller and action name."
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 "2...Please check the controller and action name, I can't find that page."
86
+ puts "Please check the controller and action name, I can't find that page."
86
87
  exit
87
88
  end
88
89
 
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent