farmstead 0.0.34 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b34bb46dfc07c08d730ea5ea78cdd01eb2b20877
4
- data.tar.gz: 278e3559ea065c95e3731e3a6147b7f59426b289
3
+ metadata.gz: cddcbd3809fd2cb8ec372e8f819d195f7e371004
4
+ data.tar.gz: d88c12f341a8557c6cec491fae795ce33069dbc7
5
5
  SHA512:
6
- metadata.gz: a3085aff67ebf004713983687398189bd27d9620016205c9fed5a9f346cc908cced4e1798cb10ed07406979cd8b360f3991be2d2f9195d1f58d3dfee5cbc58b0
7
- data.tar.gz: 507b0339285550cb279dbf46a33e1730eec19a0ef24c93472259b4d1d3e7ca7f3ff9b014be69e9af73eb305e41ad3340656db4c9e49c2d4adcbaf963b9194e3d
6
+ metadata.gz: bd3a3c27a41471cd81989a39988834533baaa3a70d249fb0259aeb340c8a2a65230f7cd6ca58800f61fb625c6402da7e783bda7eb7b1a0e405db4e4c8b03b1ed
7
+ data.tar.gz: 75d6ab7466a072b6378f6ab7116b574fc33d54215c74bb6e0c060f616896f034a3fec8d4816e0c16ed161973ac31ab698ae0d84c3889b78c6c168752a56c455d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.34)
4
+ farmstead (0.0.35)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
@@ -10,7 +10,7 @@ module Sinatra
10
10
  end
11
11
 
12
12
  app.get "/environment" do
13
- Farmstead::ENVIRONMENT.join(" ")
13
+ Farmstead::ENVIRONMENT.class
14
14
  end
15
15
 
16
16
  end
@@ -7,6 +7,10 @@ module Sinatra
7
7
  def self.registered(app)
8
8
  app.register Sinatra::Namespace
9
9
  app.namespace "/api/v1" do
10
+ before do
11
+ content_type 'application/json'
12
+ end
13
+
10
14
  get "/source" do
11
15
  Farmstead::DB.add_source
12
16
  end
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.34"
2
+ VERSION = "0.0.35"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: farmstead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.34
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney