farmstead 0.0.19 → 0.0.20

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: 5f6f5873fd68046376b7974a60ebc2ee0a5e58c5
4
- data.tar.gz: c471c3f6a66095566ec4ce3cb1a387ac1cc2ec77
3
+ metadata.gz: 398ca9f6709d65a061fb4fcce0cc52377574c007
4
+ data.tar.gz: add77a14f97c36e765c7bd203e6c025d9c7df228
5
5
  SHA512:
6
- metadata.gz: 74e0f18cc636a1d97862e0070780ddebedca71f6f8a9aecb9805da15fc9f46a60243797267f474eae0fbc3d0da22d2266bb0da13cbfd02364765a2c8366d7f20
7
- data.tar.gz: 8bc94636083c86b19504118704daba676ef3ddfa5595521c5711360ec1cf04f2720ad0f8c24b22b2475b2e36ea741b81f8bc869d3b637b8e7abd1cc1e3734864
6
+ metadata.gz: 9a35353cfe3bdf3daa7d174ef62bc11ea24d58a23157cae5a6c46060bb4f52dbf76800e5b6a58a40620a613865aded3bd4aac8838544025a1a3c3e70c490cc33
7
+ data.tar.gz: 4a2365ce982ff89ac912d17a973453ef48d17fb4d50e169bde12d1896c0821a93b5c7b01ae4915f9d8f997a6a5c8c0dffbb313f3423b0665d817478a5e577514
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.19)
4
+ farmstead (0.0.20)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
data/lib/farmstead/cli.rb CHANGED
@@ -19,7 +19,11 @@ module Farmstead
19
19
  project.name = project_name
20
20
  project.database = options[:database] if options[:database]
21
21
  project.config = options[:config] if options[:config]
22
- project.deploy = options[:deploy] if options[:deploy]
22
+ if options[:deploy]
23
+ project.deploy_method = options[:deploy]
24
+ else
25
+ project.deploy_method = "docker"
26
+ end
23
27
  project.create
24
28
  end
25
29
 
@@ -10,7 +10,7 @@ module Farmstead
10
10
  attr_accessor :name
11
11
  attr_accessor :config
12
12
  attr_accessor :database
13
- attr_accessor :deploy
13
+ attr_accessor :deploy_method
14
14
 
15
15
  def create
16
16
  create_directory
@@ -1,4 +1,5 @@
1
1
  name: <%= @name %>
2
+ deploy: <%= @deploy_method %>
2
3
  database:
3
4
  - type: mysql
4
5
  - MYSQL_ROOT_PASSWORD: Rc2$NE99p5%^
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
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.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney