lib/version_info.rb in version_info-1.7.0 vs lib/version_info.rb in version_info-1.7.1

- old
+ new

@@ -15,13 +15,13 @@ def self.file_format @file_format ||= :module end def self.install_tasks(options) - if defined?(:Rake) + if defined?(Rake) require 'version_info/rake_tasks' RakeTasks.install(options) - elsif defined?(:Thor) + elsif defined?(Thor) require 'version_info/thor_tasks' ThorTasks.install(options) end end