guard-goliath 1.1.0 → 1.2.0

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: 40cee47c6eb71cb83686e25139575a96ccf96c68
4
- data.tar.gz: 45fcd5e494fe05802c1047bf1dd1f5b06cb01da9
3
+ metadata.gz: a81818af9260146f14ddc3176822568674a63354
4
+ data.tar.gz: 2e22bd83e27ce6c3c96b8fce86a02a5ded495a78
5
5
  SHA512:
6
- metadata.gz: b50f99819a63540b89b96ecab0ff75e9809a60d1c76e5381a41fd570a32e6ac060243ce3e18a9f8b886e550b621f510149bb2a6a2f97d258acd76e9e5c3e35bf
7
- data.tar.gz: 01152fa8e23135cfc80b21487c89bcd3c39e81933616555d2ae0253590b70672ed5612a113f95389ea82e051411eccc04ffacce9aa1d410f79c8619102a036ff
6
+ metadata.gz: 8644cfef6d019ab979f16ae6234bcbc2bd91addee22094e7e8a7d0c56db5e7744a2640bb54b3ea9e728d52951d167a5afb7385e1c07d7e100e0601a1964402f7
7
+ data.tar.gz: 8efcbd8dd9623e16b4033effdef2e7ede77f37afa71179e315607853ecb56d5aeedfa24dd30d5f7e323bfebaffb2761fb59e81c44611fcacb4767b163e17d84a
data/README.md CHANGED
@@ -17,6 +17,7 @@ Options
17
17
  * `:force_run` kills any process that's holding open the listen port before attempting to (re)start Rack (default `false`).
18
18
  * `:daemon` runs the server as a daemon, without any output to the terminal that ran `guard` (default `false`).
19
19
  * `:timeout` waits this number of seconds when restarting the Rack server before reporting there's a problem (default `20`).
20
+ * `:config` optional config path
20
21
 
21
22
  Contributing
22
23
  ------------
@@ -1,10 +1,9 @@
1
1
  require 'guard'
2
- require 'guard/guard'
3
2
  require 'guard/goliath/runner'
4
3
  require 'rbconfig'
5
4
 
6
5
  module Guard
7
- class Goliath < ::Guard::Guard
6
+ class Goliath < Plugin
8
7
  attr_reader :options, :runner
9
8
 
10
9
  DEFAULT_OPTIONS = {
@@ -17,7 +16,7 @@ module Guard
17
16
  supress_output: false
18
17
  }
19
18
 
20
- def initialize(watchers = [], options = {})
19
+ def initialize(options = {})
21
20
  super
22
21
  @options = DEFAULT_OPTIONS.merge(options)
23
22
  @runner = ::Guard::GoliathRunner.new(@options)
@@ -45,6 +45,7 @@ module Guard
45
45
  )
46
46
  command << '--daemonize' if options[:daemon]
47
47
  command << '-sv' unless options[:supress_output]
48
+ command.push('--config', options[:config]) if options[:config]
48
49
 
49
50
  command
50
51
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module GoliathVersion
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-goliath
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Norkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-22 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -161,8 +161,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  requirements: []
163
163
  rubyforge_project:
164
- rubygems_version: 2.4.2
164
+ rubygems_version: 2.4.5
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: Automatically reloads your Goliath app on file change using Guard.
168
168
  test_files: []
169
+ has_rdoc: