dockrails 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62abce65400f3868165032b4ebf7b20dc0171dcc
4
- data.tar.gz: da065ee71b31e2e63cb5b5b6729ff23b6d058bba
3
+ metadata.gz: 1f07bf771f1e33fdc84bf318cf2f2305b1b8d890
4
+ data.tar.gz: b9a5f623825497ed8cad5c666b86ea2e7eef3ec2
5
5
  SHA512:
6
- metadata.gz: 84e54dfc2f1ff4f47bfbd11236112ab84c2d5293069f83f5de4728ce2a4bdb63e761e705bc55c2b8ffa452d56f3d29ca5e600dcf19e229654c992256f15a2447
7
- data.tar.gz: 2792ceaf5e7dd9084ecbb92c8df46c69e084d155e53efc1a4d14297deb6cd005158cc500302b38d790063e1999cec15b621d66ebc39420de595c3994206a1e41
6
+ metadata.gz: 5fb59a3b2b337afb42392e5966adff905a51c77ed45ce2e1a60c6d09f4147d453afc7ad224f52474e7965c844582a41caab13b554f40b449742aaaa5bd21cd7e
7
+ data.tar.gz: 07062f712e9e242a3643c13e877847f0f7cd56acbb29aba6e5ff155afb8cbcd7cef48f1de609d106eb4f0b399a9a1c7586a2bbf7253cbd15c2ee674310794d58
data/bin/dockrails CHANGED
@@ -85,6 +85,16 @@ command :clean do |c|
85
85
  end
86
86
  end
87
87
 
88
+ command :build do |c|
89
+ c.syntax = 'dockrails build'
90
+ c.summary = 'Build or rebuild the docker image'
91
+ c.description = ''
92
+ c.example 'description', 'dockrails build'
93
+ c.action do |args, options|
94
+ system("docker-compose build")
95
+ end
96
+ end
97
+
88
98
  command :run do |c|
89
99
  c.syntax = 'dockrails run [container] [command]'
90
100
  c.summary = 'Run a command on a specific container'
@@ -1,3 +1,3 @@
1
1
  module Dockrails
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Montard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-10 00:00:00.000000000 Z
11
+ date: 2017-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -147,5 +147,5 @@ signing_key:
147
147
  specification_version: 4
148
148
  summary: Simple CLI to Generate and Run a Rails environment with Docker!
149
149
  test_files:
150
- - spec/generate_spec.rb
151
150
  - spec/spec_helper.rb
151
+ - spec/generate_spec.rb