farmstead 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/farmstead/api/defaultroutes.rb +0 -1
- data/lib/farmstead/api.rb +4 -2
- data/lib/farmstead/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: 12bca81d9e4c1e843b2efa1cca901bdaaa8012a9
|
4
|
+
data.tar.gz: 36a180d9762d75668f75751990caaa8cf3c5121c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e406eac126b744fe31fce0224e8366c417595ccb81f8c39ba238c760c116f5a9bcb171e2939031027b13f33675bc90eac0d89e2d91fb953f7dfe42075b3862b7
|
7
|
+
data.tar.gz: 965c7cc043e0084d5702abb0b540f5bcdc390d46cb5ba7eab94c7a2a00be49c02d2aec8e17d2d42e219ccc0c1e72766cec0f8bc6e61b1c48d836604ff2463ce7
|
data/Gemfile.lock
CHANGED
data/lib/farmstead/api.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
module Farmstead
|
2
2
|
class API < Sinatra::Base
|
3
|
-
|
4
|
-
register Sinatra::DefaultRoutes
|
3
|
+
set :views, settings.root + '/api/views'
|
5
4
|
set :port, 3000
|
6
5
|
set :bind, "0.0.0.0"
|
6
|
+
|
7
|
+
register Sinatra::V1
|
8
|
+
register Sinatra::DefaultRoutes
|
7
9
|
end
|
8
10
|
end
|
data/lib/farmstead/version.rb
CHANGED