Permalink
Browse files

Move VERSION constant to version.rb for Rakefile to use.

  • Loading branch information...
1 parent bb33ca8 commit 51737a29a101a1578541487119a216035bacbe77 @dgraham committed Apr 22, 2011
Showing with 9 additions and 7 deletions.
  1. +1 −1 Rakefile
  2. +1 −6 lib/json/stream.rb
  3. +7 −0 lib/json/stream/version.rb
View
@@ -2,7 +2,7 @@ require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/testtask'
-require_relative 'lib/json/stream'
+require_relative 'lib/json/stream/version'
spec = Gem::Specification.new do |s|
s.name = "json-stream"
View
@@ -4,9 +4,4 @@
require 'json/stream/buffer'
require 'json/stream/builder'
require 'json/stream/parser'
-
-module JSON
- module Stream
- VERSION = "0.1.1"
- end
-end
+require 'json/stream/version'
@@ -0,0 +1,7 @@
+# encoding: UTF-8
+
+module JSON
+ module Stream
+ VERSION = "0.1.2"
+ end
+end

0 comments on commit 51737a2

Please sign in to comment.