thecore_api 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/api/v1/info_controller.rb +1 -1
- data/lib/thecore_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96bc9512244f72f2437b5f6accceab7f094fa883
|
4
|
+
data.tar.gz: 1004396e90028a30fd5b4707d808176fcba777f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2385b8f4bbb476e1442ac35f4b0f2f0e501496f12f22a63e181889980fdc3062b14e502d440fd24c831e3f8834eaa7e3767e201e1981a7d86e9852735e528655
|
7
|
+
data.tar.gz: 54cb5f1061bcab73aeb7aac69ffc56e8415eee629934c8fd61440dc0905cfd60175095fe8658596b35d07665cfb9f76f115b57922ddf0ce011c1bcfe2d04e859
|
@@ -5,7 +5,7 @@ class Api::V1::InfoController < Api::V1::BaseController
|
|
5
5
|
# api!
|
6
6
|
def version
|
7
7
|
render json: {
|
8
|
-
version: APPVERSION
|
8
|
+
version: (APPVERSION rescue "No version specified for this app, please add an APPVERSION constant to an initializer to start versioning the application.")
|
9
9
|
}.to_json, status: 200
|
10
10
|
end
|
11
11
|
|
data/lib/thecore_api/version.rb
CHANGED