summaryrefslogtreecommitdiff
path: root/ext/json/lib/json/version.rb
blob: de7690b57cae369df3207db88516fc54e6af1491 (plain)
1
2
3
4
5
6
7
8
module JSON
  # JSON version
  VERSION         = '1.4.2'
  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