summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/iotas.rb3
-rw-r--r--lib/version.rb28
2 files changed, 29 insertions, 2 deletions
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