summaryrefslogtreecommitdiff
path: root/ext/json/lib/json/version.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/lib/json/version.rb')
-rw-r--r--ext/json/lib/json/version.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/json/lib/json/version.rb b/ext/json/lib/json/version.rb
new file mode 100644
index 00000000000..3d674ac44fa
--- /dev/null
+++ b/ext/json/lib/json/version.rb
@@ -0,0 +1,9 @@
+module JSON
+ # JSON version
+ VERSION = '1.1.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:
+ VARIANT_BINARY = false
+end