guard-webrick 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +5 -0
- data/CHANGELOG.md +8 -0
- data/{README.rdoc → README.md} +16 -14
- data/guard-webrick.gemspec +1 -0
- data/lib/guard/webrick/version.rb +1 -1
- metadata +32 -15
- data/CHANGELOG.rdoc +0 -3
data/CHANGELOG.md
ADDED
data/{README.rdoc → README.md}
RENAMED
@@ -1,12 +1,14 @@
|
|
1
|
-
|
1
|
+
# Guard::WEBrick
|
2
2
|
|
3
|
-
|
3
|
+
[![travis-ci](http://travis-ci.org/fnichol/guard-webrick.png)](http://travis-ci.org/fnichol/guard-webrick)
|
4
4
|
|
5
|
-
|
5
|
+
Guard::WEBrick automatically starts and restarts WEBrick when needed. Useful when you are working on a static site but want to benefit from [Guard::LiveReload](http://github.com/guard/guard-livereload).
|
6
6
|
|
7
|
-
|
7
|
+
* Tested on Ruby 1.8.7, 1.9.2, Ruby Enterprise Edition, and JRuby
|
8
8
|
|
9
|
-
|
9
|
+
## Install
|
10
|
+
|
11
|
+
Please be sure to have [Guard](http://github.com/guard/guard) installed before continue.
|
10
12
|
|
11
13
|
Install the gem:
|
12
14
|
|
@@ -20,19 +22,19 @@ Add guard definition to your Guardfile by running this command:
|
|
20
22
|
|
21
23
|
guard init webrick
|
22
24
|
|
23
|
-
|
25
|
+
## Usage
|
24
26
|
|
25
|
-
Please read
|
27
|
+
Please read [Guard usage doc](http://github.com/guard/guard#readme)
|
26
28
|
|
27
|
-
|
29
|
+
## Guardfile
|
28
30
|
|
29
31
|
You can adapt your 'view' files like you want.
|
30
|
-
Please read
|
32
|
+
Please read [Guard doc](http://github.com/guard/guard#readme) for more info about Guardfile DSL.
|
31
33
|
|
32
34
|
guard 'webrick' do
|
33
35
|
end
|
34
36
|
|
35
|
-
|
37
|
+
## Options
|
36
38
|
|
37
39
|
The WEBrick guard has 3 options that you can set like this:
|
38
40
|
|
@@ -47,14 +49,14 @@ Available options:
|
|
47
49
|
:docroot => 'public' # default current working directory
|
48
50
|
:launchy => false # default true
|
49
51
|
|
50
|
-
|
52
|
+
## Development
|
51
53
|
|
52
|
-
|
53
|
-
|
54
|
+
* Source hosted at [GitHub](http://github.com/fnichol/guard-webrick)
|
55
|
+
* Report issues/Questions/Feature requests on [GitHub Issues](http://github.com/fnichol/guard-webrick/issues)
|
54
56
|
|
55
57
|
Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change
|
56
58
|
you make.
|
57
59
|
|
58
60
|
== Authors
|
59
61
|
|
60
|
-
|
62
|
+
[Fletcher Nichol](http://github.com/fnichol)
|
data/guard-webrick.gemspec
CHANGED
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.add_dependency 'guard', '~> 0.3'
|
19
19
|
s.add_dependency 'ffi', '~> 1.0.7'
|
20
20
|
s.add_dependency 'spoon', '~> 0.0.1'
|
21
|
+
s.add_dependency 'launchy', '~> 0.4.0'
|
21
22
|
|
22
23
|
s.add_development_dependency 'bundler', '~> 1.0.10'
|
23
24
|
s.add_development_dependency 'rspec', '~> 2.5.0'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-webrick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Fletcher Nichol
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-05-17 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -66,9 +66,25 @@ dependencies:
|
|
66
66
|
type: :runtime
|
67
67
|
version_requirements: *id003
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
69
|
+
name: launchy
|
70
70
|
prerelease: false
|
71
71
|
requirement: &id004 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 15
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
- 4
|
80
|
+
- 0
|
81
|
+
version: 0.4.0
|
82
|
+
type: :runtime
|
83
|
+
version_requirements: *id004
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: bundler
|
86
|
+
prerelease: false
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
72
88
|
none: false
|
73
89
|
requirements:
|
74
90
|
- - ~>
|
@@ -80,11 +96,11 @@ dependencies:
|
|
80
96
|
- 10
|
81
97
|
version: 1.0.10
|
82
98
|
type: :development
|
83
|
-
version_requirements: *
|
99
|
+
version_requirements: *id005
|
84
100
|
- !ruby/object:Gem::Dependency
|
85
101
|
name: rspec
|
86
102
|
prerelease: false
|
87
|
-
requirement: &
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
88
104
|
none: false
|
89
105
|
requirements:
|
90
106
|
- - ~>
|
@@ -96,11 +112,11 @@ dependencies:
|
|
96
112
|
- 0
|
97
113
|
version: 2.5.0
|
98
114
|
type: :development
|
99
|
-
version_requirements: *
|
115
|
+
version_requirements: *id006
|
100
116
|
- !ruby/object:Gem::Dependency
|
101
117
|
name: guard-rspec
|
102
118
|
prerelease: false
|
103
|
-
requirement: &
|
119
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
104
120
|
none: false
|
105
121
|
requirements:
|
106
122
|
- - ~>
|
@@ -112,11 +128,11 @@ dependencies:
|
|
112
128
|
- 0
|
113
129
|
version: 0.2.0
|
114
130
|
type: :development
|
115
|
-
version_requirements: *
|
131
|
+
version_requirements: *id007
|
116
132
|
- !ruby/object:Gem::Dependency
|
117
133
|
name: guard-bundler
|
118
134
|
prerelease: false
|
119
|
-
requirement: &
|
135
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
120
136
|
none: false
|
121
137
|
requirements:
|
122
138
|
- - ~>
|
@@ -128,7 +144,7 @@ dependencies:
|
|
128
144
|
- 1
|
129
145
|
version: 0.1.1
|
130
146
|
type: :development
|
131
|
-
version_requirements: *
|
147
|
+
version_requirements: *id008
|
132
148
|
description: Guard::WEBrick automatically starts and restarts WEBrick when needed.
|
133
149
|
email:
|
134
150
|
- fnichol@nichol.ca
|
@@ -140,11 +156,12 @@ extra_rdoc_files: []
|
|
140
156
|
|
141
157
|
files:
|
142
158
|
- .gitignore
|
143
|
-
-
|
159
|
+
- .travis.yml
|
160
|
+
- CHANGELOG.md
|
144
161
|
- Gemfile
|
145
162
|
- Guardfile
|
146
163
|
- LICENSE
|
147
|
-
- README.
|
164
|
+
- README.md
|
148
165
|
- Rakefile
|
149
166
|
- guard-webrick.gemspec
|
150
167
|
- lib/guard/webrick.rb
|
@@ -186,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
203
|
requirements: []
|
187
204
|
|
188
205
|
rubyforge_project: guard-webrick
|
189
|
-
rubygems_version: 1.
|
206
|
+
rubygems_version: 1.5.2
|
190
207
|
signing_key:
|
191
208
|
specification_version: 3
|
192
209
|
summary: Guard gem for WEBrick
|
data/CHANGELOG.rdoc
DELETED