lib/weather-api/version.rb in weather-api-1.1.0 vs lib/weather-api/version.rb in weather-api-1.1.1
- old
+ new
@@ -1,39 +1,3 @@
module Weather
- class Version
-
- # The current major version number
- #
- # Returns an int
- def self.major
- 1
- end
-
- # The current minor version number
- #
- # Returns an int
- def self.minor
- 1
- end
-
- # The current patch version number
- #
- # Returns an int
- def self.patch
- 0
- end
-
- # The current pre version number
- #
- # Returns an int
- def self.pre
- nil
- end
-
- # Bundles up the version number into a string
- #
- # Returns the current version number as a string
- def self.to_s
- [major, minor, patch, pre].compact.join('.')
- end
- end
+ VERSION = "1.1.1"
end