farmstead 0.0.51 → 0.0.52

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: 510638d8b62bb6d9a98ef3ef4ff6cc5691df7270
4
- data.tar.gz: f8af4239f5f5808daee2bd534b507f05ba762378
3
+ metadata.gz: 7f3e859f7aad3b195574c90dab2f5b4a9b74b9d0
4
+ data.tar.gz: e267940c9e61eba22fadcb65bf4e1f297d399306
5
5
  SHA512:
6
- metadata.gz: 151fba7312cfbf8acfdb7917e0050cf762999b9ea8793248c409e65a68cbcad8c4c5e819d7e6d545c506d4dfb98341febea88f9ec1321bfbbe286e6772bc0c25
7
- data.tar.gz: 30f15d239076be59af6d8ca7f9b59dbbac57fa1b239912bdb09803eba5e071523aa5cacce3da23fcace374639497060f10509068fde7ab3f956d09f458f4c1fa
6
+ metadata.gz: 43e4ee09119b0212af39da6c69c75b1b2d6bcd2e195fe1eb2fc9fabfea38246a7af9d88a2a1ffc7609bc170b2e6c941abc45a3c9889bbc0e0debeffdfe8864ea
7
+ data.tar.gz: 245737bbe0b49725715a0d6993a79dd6600fe96d19352e4962f58dd62f839fbf5c978eb22d780fa5a165a5b4143bea4da71985467b2243f0caf09c21ffb3b450
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.51)
4
+ farmstead (0.0.52)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
data/lib/farmstead/db.rb CHANGED
@@ -7,7 +7,8 @@ module Farmstead
7
7
  @@mysql_password = ENV["MYSQL_PASSWORD"]
8
8
  @@mysql_user = ENV["MYSQL_USER"]
9
9
  @@mysql_database = ENV["MYSQL_DATABASE"]
10
- @@DB = Sequel.connect(adapter: "mysql2", host: @@mysql_host, database: @@mysql_database, user: @@mysql_user, password: @@mysql_password)
10
+ @@mysql_port = ENV["MYSQL_PORT"]
11
+ @@DB = Sequel.connect(adapter: "mysql2", host: @@mysql_host, port: @@mysql_port, database: @@mysql_database, user: @@mysql_user, password: @@mysql_password)
11
12
  end
12
13
 
13
14
  def self.add_source(payload)
@@ -7,6 +7,7 @@ database:
7
7
  - MYSQL_USER: farmstead
8
8
  - MYSQL_PASSWORD: farmstead
9
9
  - MYSQL_HOST: mysql
10
+ - MYSQL_PORT: 3306
10
11
  kafka:
11
12
  - KAFKA_ADVERTISED_HOST_NAME: <%= ip %>
12
13
  - KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.51"
2
+ VERSION = "0.0.52"
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.51
4
+ version: 0.0.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney