lib/rdf/json/version.rb in rdf-json-0.1.0 vs lib/rdf/json/version.rb in rdf-json-0.1.1

- old
+ new

@@ -1,23 +1,22 @@ -module RDF module JSON +module RDF; module JSON module VERSION MAJOR = 0 MINOR = 1 - TINY = 0 + TINY = 1 EXTRA = nil - STRING = [MAJOR, MINOR, TINY].join('.') - STRING << "-#{EXTRA}" if EXTRA + STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.') ## # @return [String] - def self.to_s() STRING end + def self.to_s() STRING end ## # @return [String] def self.to_str() STRING end ## # @return [Array(Integer, Integer, Integer)] def self.to_a() [MAJOR, MINOR, TINY] end end -end end +end; end