lib/fanforce/base/utils.rb in fanforce-base-1.2.0 vs lib/fanforce/base/utils.rb in fanforce-base-1.2.1

- old
+ new

@@ -116,11 +116,12 @@ to_public_version(self::VERSION) end def deployment_dependencies versions = {} - versions[:fanforce_version] = to_public_version(self::VERSION) if const_defined?(:VERSION) - versions[:uranium_version] = to_public_version(self::URANIUM_VERSION) if const_defined?(:URANIUM_VERSION) + versions[:fanforce_version] = to_public_version(Fanforce::VERSION) if defined?(Fanforce::VERSION) + versions[:uranium_version] = to_public_version(Fanforce::URANIUM_VERSION) if defined?(Fanforce::URANIUM_VERSION) + versions[:uranium_version] = to_public_version(Fanforce::Uranium::VERSION) if defined?(Fanforce::Uranium::VERSION) return versions end end