toadstool 0.0.0.4 → 0.0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/bin/toadstool +11 -9
  2. metadata +1 -1
@@ -52,18 +52,20 @@ module Toadstool
52
52
  rescue SystemCallError
53
53
  # could not chdir, no problem just return
54
54
  end
55
- end
56
-
57
- # no_tasks do
58
- def in_rails_application?
59
- File.exists?('config.ru')
60
- end
55
+
56
+ no_tasks do
57
+ def in_rails_application?
58
+ File.exists?('config.ru')
59
+ end
61
60
 
62
61
 
63
- def in_rails_application_subdirectory?(path = Pathname.new(Dir.pwd))
64
- File.exists?(File.join(path, 'config.ru')) || !path.root? && in_rails_application_subdirectory?(path.parent)
62
+ def in_rails_application_subdirectory?(path = Pathname.new(Dir.pwd))
63
+ File.exists?(File.join(path, 'config.ru')) || !path.root? && in_rails_application_subdirectory?(path.parent)
64
+ end
65
65
  end
66
- # end
66
+ end
67
+
68
+
67
69
 
68
70
  # end
69
71
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toadstool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.4
4
+ version: 0.0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: