ruby-json.git  about / heads / tags
Unnamed repository; edit this file 'description' to name the repository.
blob 2175ac0f907381bbe9e68f38c60e7afd9b52130e 271 bytes (raw)
$ git show HEAD:lib/json/version.rb	# shows this blob on the CLI

1
2
3
4
5
6
7
8
 
module JSON
  # JSON version
  VERSION         = '1.5.4'
  VERSION_ARRAY   = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
  VERSION_MAJOR   = VERSION_ARRAY[0] # :nodoc:
  VERSION_MINOR   = VERSION_ARRAY[1] # :nodoc:
  VERSION_BUILD   = VERSION_ARRAY[2] # :nodoc:
end

git clone https://yhbt.net/ruby-json.git