guard-rrails 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Changes.md +11 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +6 -6
- data/VERSION +1 -1
- data/guard-rrails.gemspec +7 -6
- data/lib/guard/rrails.rb +3 -3
- metadata +7 -6
data/Changes.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
v0.2.0 2012-09-27 20:45:07 +0900
|
2
|
+
------------------------------------------------------------------------
|
3
|
+
- Merge pull request #1 from kamipo/fix_reload. thanks @kamipo
|
4
|
+
- use TERM signal. don't stop at HUP signal.
|
5
|
+
- run_on_change is deprecated.
|
6
|
+
- fixed typo.
|
7
|
+
|
8
|
+
v0.1.0 2012-05-01 10:08:00 +0900
|
9
|
+
------------------------------------------------------------------------
|
10
|
+
- initial release.
|
11
|
+
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
ffi (1.0.11)
|
5
4
|
git (1.2.5)
|
6
|
-
guard (1.0
|
7
|
-
|
8
|
-
thor (
|
5
|
+
guard (1.4.0)
|
6
|
+
listen (>= 0.4.2)
|
7
|
+
thor (>= 0.14.6)
|
9
8
|
jeweler (1.8.3)
|
10
9
|
bundler (~> 1.0)
|
11
10
|
git (>= 1.2.5)
|
12
11
|
rake
|
13
12
|
rdoc
|
14
13
|
json (1.6.6)
|
14
|
+
listen (0.5.2)
|
15
15
|
rake (0.9.2.2)
|
16
16
|
rdoc (3.12)
|
17
17
|
json (~> 1.4)
|
@@ -21,14 +21,14 @@ GEM
|
|
21
21
|
shoulda-matchers (~> 1.0.0)
|
22
22
|
shoulda-context (1.0.0)
|
23
23
|
shoulda-matchers (1.0.0)
|
24
|
-
thor (0.
|
24
|
+
thor (0.16.0)
|
25
25
|
|
26
26
|
PLATFORMS
|
27
27
|
ruby
|
28
28
|
|
29
29
|
DEPENDENCIES
|
30
30
|
bundler
|
31
|
-
guard
|
31
|
+
guard (>= 1.3.0)
|
32
32
|
jeweler (~> 1.8.3)
|
33
33
|
rdoc (~> 3.12)
|
34
34
|
rrails
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/guard-rrails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "guard-rrails"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Keiji, Yoshimi"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-09-28"
|
13
13
|
s.description = "run rrails on guard"
|
14
14
|
s.email = "walf443@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
+
"Changes.md",
|
21
22
|
"Gemfile",
|
22
23
|
"Gemfile.lock",
|
23
24
|
"LICENSE.txt",
|
@@ -34,7 +35,7 @@ Gem::Specification.new do |s|
|
|
34
35
|
s.homepage = "http://github.com/walf443/guard-rrails"
|
35
36
|
s.licenses = ["MIT"]
|
36
37
|
s.require_paths = ["lib"]
|
37
|
-
s.rubygems_version = "1.8.
|
38
|
+
s.rubygems_version = "1.8.23"
|
38
39
|
s.summary = "run rrails on guard"
|
39
40
|
|
40
41
|
if s.respond_to? :specification_version then
|
@@ -42,14 +43,14 @@ Gem::Specification.new do |s|
|
|
42
43
|
|
43
44
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
45
|
s.add_runtime_dependency(%q<rrails>, [">= 0"])
|
45
|
-
s.add_runtime_dependency(%q<guard>, [">= 0"])
|
46
|
+
s.add_runtime_dependency(%q<guard>, [">= 1.3.0"])
|
46
47
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
47
48
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
48
49
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
49
50
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
50
51
|
else
|
51
52
|
s.add_dependency(%q<rrails>, [">= 0"])
|
52
|
-
s.add_dependency(%q<guard>, [">= 0"])
|
53
|
+
s.add_dependency(%q<guard>, [">= 1.3.0"])
|
53
54
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
54
55
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
55
56
|
s.add_dependency(%q<bundler>, [">= 0"])
|
@@ -57,7 +58,7 @@ Gem::Specification.new do |s|
|
|
57
58
|
end
|
58
59
|
else
|
59
60
|
s.add_dependency(%q<rrails>, [">= 0"])
|
60
|
-
s.add_dependency(%q<guard>, [">= 0"])
|
61
|
+
s.add_dependency(%q<guard>, [">= 1.3.0"])
|
61
62
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
62
63
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
63
64
|
s.add_dependency(%q<bundler>, [">= 0"])
|
data/lib/guard/rrails.rb
CHANGED
@@ -11,7 +11,7 @@ module Guard
|
|
11
11
|
|
12
12
|
def start
|
13
13
|
@pid = fork do
|
14
|
-
$0 = "guard[
|
14
|
+
$0 = "guard[rrails][#{@options[:rails_env]}]"
|
15
15
|
::RemoteRails::Server.new(@options).start
|
16
16
|
end
|
17
17
|
end
|
@@ -21,12 +21,12 @@ module Guard
|
|
21
21
|
self.start
|
22
22
|
end
|
23
23
|
|
24
|
-
def
|
24
|
+
def run_on_changes(paths_or_symbol)
|
25
25
|
self.reload
|
26
26
|
end
|
27
27
|
|
28
28
|
def stop
|
29
|
-
Process.kill('
|
29
|
+
Process.kill('TERM', @pid)
|
30
30
|
@pid = nil
|
31
31
|
end
|
32
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-rrails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rrails
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: 1.3.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 1.3.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: shoulda
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,6 +116,7 @@ extra_rdoc_files:
|
|
116
116
|
- README.rdoc
|
117
117
|
files:
|
118
118
|
- .document
|
119
|
+
- Changes.md
|
119
120
|
- Gemfile
|
120
121
|
- Gemfile.lock
|
121
122
|
- LICENSE.txt
|
@@ -143,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
144
|
version: '0'
|
144
145
|
segments:
|
145
146
|
- 0
|
146
|
-
hash:
|
147
|
+
hash: 837572237629074662
|
147
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
149
|
none: false
|
149
150
|
requirements:
|
@@ -152,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
153
|
version: '0'
|
153
154
|
requirements: []
|
154
155
|
rubyforge_project:
|
155
|
-
rubygems_version: 1.8.
|
156
|
+
rubygems_version: 1.8.23
|
156
157
|
signing_key:
|
157
158
|
specification_version: 3
|
158
159
|
summary: run rrails on guard
|