diff options
-rw-r--r-- | iotas.gemspec | 2 | ||||
-rw-r--r-- | lib/iotas.rb | 3 | ||||
-rw-r--r-- | lib/version.rb | 28 |
3 files changed, 30 insertions, 3 deletions
diff --git a/iotas.gemspec b/iotas.gemspec index 6b799bd..e9afddf 100644 --- a/iotas.gemspec +++ b/iotas.gemspec @@ -2,7 +2,7 @@ # -*- coding: UTF-8 -*- # $:.push File.expand_path("../lib", __FILE__) -require 'iotas' +require 'version' # Gem::Specification.new do |s| s.name = "iotas" diff --git a/lib/iotas.rb b/lib/iotas.rb index 4ac8c26..fe837b4 100644 --- a/lib/iotas.rb +++ b/lib/iotas.rb @@ -18,6 +18,7 @@ # You should have received a copy of the GNU Affero General Public License # along with iotas. If not, see <http://www.gnu.org/licenses/>. +require 'version' # module Iotas # @@ -36,8 +37,6 @@ module Iotas # class Exception < ::Exception; end # - VERSION = "0.0.1" - # end # require 'json' diff --git a/lib/version.rb b/lib/version.rb new file mode 100644 index 0000000..4504564 --- /dev/null +++ b/lib/version.rb @@ -0,0 +1,28 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +# Copyright 2012 Jérémy Zurcher <jeremy@asynk.ch> +# +# This file is part of iotas. +# +# iotas is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# iotas is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with iotas. If not, see <http://www.gnu.org/licenses/>. + +# +module Iotas + # + VERSION = "0.0.1" + # +end +# +# EOF |