about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorAsh Furrow <ash@ashfurrow.com>2017-04-20 21:30:59 -0400
committerEugen <eugen@zeonfederated.com>2017-04-21 03:30:59 +0200
commita0ed88a99b736cc786b048126580a7e73c68b07e (patch)
treea1d53aa9f65a0cfe4717ca3f31819bb3c74bd490 /lib
parent25d2853db2cb6603c398b6622526e579e974d593 (diff)
Adds version to about/more and API (#2181)
* Adds version.

* Cleans up code.

* Removes standalone endpoint and adds version to instance endpoint.

* Addresses feedback from #2181.
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/version.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb
new file mode 100644
index 000000000..51cf2e5f8
--- /dev/null
+++ b/lib/mastodon/version.rb
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+module Mastodon
+  VERSION = '1.2.2'
+end