Top Level Namespace
Defined Under Namespace
Modules: Openteam
Classes: Solr
Instance Method Summary
collapse
Instance Method Details
#used_db? ⇒ Boolean
37
38
39
|
# File 'lib/openteam/capistrano/helpers.rb', line 37
def used_db?
!@used_db.nil?
end
|
#used_delayed_job? ⇒ Boolean
41
42
43
|
# File 'lib/openteam/capistrano/helpers.rb', line 41
def used_delayed_job?
!@used_delayed_job.nil?
end
|
#used_deploy_config? ⇒ Boolean
45
46
47
|
# File 'lib/openteam/capistrano/helpers.rb', line 45
def used_deploy_config?
@used_deploy_config ||= File.exist?('config/deploy.yml')
end
|
#used_rails? ⇒ Boolean
53
54
55
|
# File 'lib/openteam/capistrano/helpers.rb', line 53
def used_rails?
@used_rails ||= File.exist?('config/application.rb') && File.exist?('config/environment.rb')
end
|
#used_rmq? ⇒ Boolean
57
58
59
|
# File 'lib/openteam/capistrano/helpers.rb', line 57
def used_rmq?
!@used_rmq.nil?
end
|
#used_settings? ⇒ Boolean
73
74
75
|
# File 'lib/openteam/capistrano/helpers.rb', line 73
def used_settings?
@used_settings ||= File.exist?('config/settings.yml')
end
|
#used_sidekiq? ⇒ Boolean
49
50
51
|
# File 'lib/openteam/capistrano/helpers.rb', line 49
def used_sidekiq?
!@used_sidekiq.nil?
end
|
#used_solr? ⇒ Boolean
61
62
63
|
# File 'lib/openteam/capistrano/helpers.rb', line 61
def used_solr?
!@used_solr.nil?
end
|
#used_unicorn? ⇒ Boolean
65
66
67
|
# File 'lib/openteam/capistrano/helpers.rb', line 65
def used_unicorn?
!@used_unicorn.nil?
end
|
#used_whenever? ⇒ Boolean
69
70
71
|
# File 'lib/openteam/capistrano/helpers.rb', line 69
def used_whenever?
@used_whenever ||= File.exist?('config/schedule.rb')
end
|