farmstead 0.0.35 → 0.0.36

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: cddcbd3809fd2cb8ec372e8f819d195f7e371004
4
- data.tar.gz: d88c12f341a8557c6cec491fae795ce33069dbc7
3
+ metadata.gz: b886be3de8d8b2ae363bb67d091dec57dc47aadd
4
+ data.tar.gz: 984a8d34cff2a7c6ac224c41224f4a8157086fac
5
5
  SHA512:
6
- metadata.gz: bd3a3c27a41471cd81989a39988834533baaa3a70d249fb0259aeb340c8a2a65230f7cd6ca58800f61fb625c6402da7e783bda7eb7b1a0e405db4e4c8b03b1ed
7
- data.tar.gz: 75d6ab7466a072b6378f6ab7116b574fc33d54215c74bb6e0c060f616896f034a3fec8d4816e0c16ed161973ac31ab698ae0d84c3889b78c6c168752a56c455d
6
+ metadata.gz: fbbfb81bca59de4195776115ab6022d40c69cc870e8aea25d5fd86519e4431e554045b10ec082b9e87d6355963f223515987e67a972998dd2cd433c3a9fc4364
7
+ data.tar.gz: 81ff948d67b098c724ede73a46c6dd90c84eb9230c30cbb63e1f71d9ce1dcdbc377ce2500d69b0b7fbec3f18b8cd797fa07227399a7bd2d40901fd8ca0bd5988
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.35)
4
+ farmstead (0.0.36)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
@@ -1,6 +1,7 @@
1
1
  module Sinatra
2
2
  module DefaultRoutes
3
3
  def self.registered(app)
4
+ app.set :views, Dir.pwd + '/api/views'
4
5
  app.get "/" do
5
6
  "Welcome to our API"
6
7
  end
@@ -10,7 +11,7 @@ module Sinatra
10
11
  end
11
12
 
12
13
  app.get "/environment" do
13
- Farmstead::ENVIRONMENT.class
14
+ erb :environment
14
15
  end
15
16
 
16
17
  end
@@ -0,0 +1 @@
1
+ MySQL Host: <%= ENV['MYSQL_HOST'] %>
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.35"
2
+ VERSION = "0.0.36"
3
3
  end
data/lib/farmstead.rb CHANGED
@@ -33,7 +33,6 @@ require "mechanize"
33
33
  require "sinatra/base"
34
34
 
35
35
  require "farmstead/version"
36
- require "farmstead/environment"
37
36
  require "farmstead/project"
38
37
  require "farmstead/cli"
39
38
  require "farmstead/db"
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.35
4
+ version: 0.0.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney
@@ -248,10 +248,10 @@ files:
248
248
  - lib/farmstead/api/defaultroutes.rb
249
249
  - lib/farmstead/api/helpers.rb
250
250
  - lib/farmstead/api/v1.rb
251
+ - lib/farmstead/api/views/environment.erb
251
252
  - lib/farmstead/cli.rb
252
253
  - lib/farmstead/cli/test.rb
253
254
  - lib/farmstead/db.rb
254
- - lib/farmstead/environment.rb
255
255
  - lib/farmstead/pipeline/extract.rb
256
256
  - lib/farmstead/pipeline/load.rb
257
257
  - lib/farmstead/pipeline/manage.rb
@@ -1,3 +0,0 @@
1
- module Farmstead
2
- ENVIRONMENT = ENV
3
- end