guard-rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/Gemfile.lock +87 -0
- data/README.md +1 -0
- data/VERSION +1 -1
- data/guard-rails.gemspec +3 -3
- data/lib/guard/rails/runner.rb +2 -1
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0f34da5d821d20b9c7e6111263fdc6df7451bec
|
4
|
+
data.tar.gz: 3c005b66de18c859d5a496c6443f17811e3d7dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46ebc27bb4c2e5717d1507f924bf30100abd80222503e14d9997eceaeecd14d25f1933c93e52e48210aa5718c37d4f3228b6721bc1e05bf11c0b513d5b949033
|
7
|
+
data.tar.gz: a9318d158573f292554c69c24da8a742eef6f80540c691c0aa7f7b5a7ecd6a274d6cebdda025e19db20ba76322625b7ba5b04ec6e1ea973b9fbcc5a6409dd658
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
guard-rails (0.5.0)
|
5
|
+
guard (>= 2.0.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
celluloid (0.15.2)
|
11
|
+
timers (~> 1.1.0)
|
12
|
+
coderay (1.1.0)
|
13
|
+
diff-lcs (1.2.5)
|
14
|
+
fakefs (0.5.2)
|
15
|
+
ffi (1.9.3)
|
16
|
+
ffi (1.9.3-java)
|
17
|
+
formatador (0.2.5)
|
18
|
+
guard (2.6.1)
|
19
|
+
formatador (>= 0.2.4)
|
20
|
+
listen (~> 2.7)
|
21
|
+
lumberjack (~> 1.0)
|
22
|
+
pry (>= 0.9.12)
|
23
|
+
thor (>= 0.18.1)
|
24
|
+
guard-bundler (2.0.0)
|
25
|
+
bundler (~> 1.0)
|
26
|
+
guard (~> 2.2)
|
27
|
+
guard-rspec (4.2.9)
|
28
|
+
guard (~> 2.1)
|
29
|
+
rspec (>= 2.14, < 4.0)
|
30
|
+
libnotify (0.8.3)
|
31
|
+
ffi (>= 1.0.11)
|
32
|
+
listen (2.7.5)
|
33
|
+
celluloid (>= 0.15.2)
|
34
|
+
rb-fsevent (>= 0.9.3)
|
35
|
+
rb-inotify (>= 0.9)
|
36
|
+
lumberjack (1.0.6)
|
37
|
+
metaclass (0.0.4)
|
38
|
+
method_source (0.8.2)
|
39
|
+
mocha (1.1.0)
|
40
|
+
metaclass (~> 0.0.1)
|
41
|
+
pry (0.9.12.6)
|
42
|
+
coderay (~> 1.0)
|
43
|
+
method_source (~> 0.8)
|
44
|
+
slop (~> 3.4)
|
45
|
+
pry (0.9.12.6-java)
|
46
|
+
coderay (~> 1.0)
|
47
|
+
method_source (~> 0.8)
|
48
|
+
slop (~> 3.4)
|
49
|
+
spoon (~> 0.0)
|
50
|
+
rake (10.3.2)
|
51
|
+
rb-fsevent (0.9.4)
|
52
|
+
rb-inotify (0.9.4)
|
53
|
+
ffi (>= 0.5.0)
|
54
|
+
rspec (2.14.1)
|
55
|
+
rspec-core (~> 2.14.0)
|
56
|
+
rspec-expectations (~> 2.14.0)
|
57
|
+
rspec-mocks (~> 2.14.0)
|
58
|
+
rspec-core (2.14.8)
|
59
|
+
rspec-expectations (2.14.5)
|
60
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
61
|
+
rspec-mocks (2.14.6)
|
62
|
+
slop (3.5.0)
|
63
|
+
spoon (0.0.4)
|
64
|
+
ffi
|
65
|
+
terminal-notifier-guard (1.5.3)
|
66
|
+
thor (0.19.1)
|
67
|
+
timers (1.1.0)
|
68
|
+
version (1.0.0)
|
69
|
+
|
70
|
+
PLATFORMS
|
71
|
+
java
|
72
|
+
ruby
|
73
|
+
|
74
|
+
DEPENDENCIES
|
75
|
+
fakefs
|
76
|
+
guard
|
77
|
+
guard-bundler
|
78
|
+
guard-rails!
|
79
|
+
guard-rspec
|
80
|
+
libnotify
|
81
|
+
mocha (~> 1.0)
|
82
|
+
rake
|
83
|
+
rb-fsevent (>= 0.3.9)
|
84
|
+
rb-inotify (>= 0.5.1)
|
85
|
+
rspec (~> 2.6)
|
86
|
+
terminal-notifier-guard
|
87
|
+
version (>= 1.0.0)
|
data/README.md
CHANGED
@@ -49,6 +49,7 @@ Now I can automatically restart your Rails development server as your files chan
|
|
49
49
|
|
50
50
|
* **Multiple instances** use `pid_file` option to run multiple instances with same rails\_env.
|
51
51
|
* **Avoid multiple autoruns when editing by VIM and Emacs** move the backup files to somewhere else or just ignore them in Guardfile.
|
52
|
+
* **Use binding.pry in Rails** Actually you can't! See discussion [here](https://github.com/ranmocy/guard-rails/issues/24).
|
52
53
|
|
53
54
|
## Philosophy
|
54
55
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
data/guard-rails.gemspec
CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_dependency 'guard', '
|
21
|
+
s.add_dependency 'guard', '~> 2.0'
|
22
22
|
|
23
|
-
s.add_development_dependency 'rspec', '
|
24
|
-
s.add_development_dependency 'mocha', '
|
23
|
+
s.add_development_dependency 'rspec', '~> 2.6'
|
24
|
+
s.add_development_dependency 'mocha', '~> 1.0'
|
25
25
|
s.add_development_dependency 'version', '>= 1.0.0'
|
26
26
|
end
|
data/lib/guard/rails/runner.rb
CHANGED
@@ -38,7 +38,8 @@ module Guard
|
|
38
38
|
command = build_cli_command if options[:CLI]
|
39
39
|
command ||= build_zeus_command if options[:zeus]
|
40
40
|
command ||= build_rails_command
|
41
|
-
|
41
|
+
# zeus will check if it runs inside bundler, remove the flag here
|
42
|
+
"env -u RUBYOPT sh -c 'cd \"#{@root}\" && #{command} &'"
|
42
43
|
end
|
43
44
|
|
44
45
|
def environment
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Bintz
|
@@ -9,50 +9,50 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.0
|
20
|
+
version: '2.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.0
|
27
|
+
version: '2.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rspec
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 2.6
|
34
|
+
version: '2.6'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 2.6
|
41
|
+
version: '2.6'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: mocha
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0
|
48
|
+
version: '1.0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0
|
55
|
+
version: '1.0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: version
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- ".gitignore"
|
79
79
|
- ".travis.yml"
|
80
80
|
- Gemfile
|
81
|
+
- Gemfile.lock
|
81
82
|
- Guardfile
|
82
83
|
- LICENSE
|
83
84
|
- README.md
|
@@ -111,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
112
|
version: '0'
|
112
113
|
requirements: []
|
113
114
|
rubyforge_project: guard-rails
|
114
|
-
rubygems_version: 2.2.
|
115
|
+
rubygems_version: 2.2.2
|
115
116
|
signing_key:
|
116
117
|
specification_version: 4
|
117
118
|
summary: Guard your Rails to always be there.
|