mr-sparkle 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +8 -0
- data/lib/mr-sparkle.rb +2 -2
- data/lib/mr-sparkle/version.rb +1 -1
- data/mr-sparkle.gemspec +1 -1
- metadata +6 -6
data/CHANGES.md
CHANGED
data/lib/mr-sparkle.rb
CHANGED
@@ -20,7 +20,7 @@ module Mr
|
|
20
20
|
reload_pattern = options[:pattern] || DEFAULT_RELOAD_PATTERN
|
21
21
|
full_reload_pattern = options[:full] || DEFAULT_FULL_RELOAD_PATTERN
|
22
22
|
@unicorn_args = unicorn_args
|
23
|
-
listener = Listen.to(
|
23
|
+
listener = Listen.to(Dir.pwd, :relative_paths=>true)
|
24
24
|
listener.filter(full_reload_pattern)
|
25
25
|
listener.filter(reload_pattern)
|
26
26
|
listener.change do |modified, added, removed|
|
@@ -55,7 +55,7 @@ module Mr
|
|
55
55
|
# signal on the same thread the listener is running.
|
56
56
|
# So we need to start it in the background, then keep this thread
|
57
57
|
# alive just so it can wait to be interrupted.
|
58
|
-
listener.start
|
58
|
+
listener.start
|
59
59
|
# Theoretically, we could have problems if a file changed RIGHT AT
|
60
60
|
# THIS POINT, between the time we started the listener and the time
|
61
61
|
# we started the unicorn process. But this is just for development,
|
data/lib/mr-sparkle/version.rb
CHANGED
data/mr-sparkle.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
gem.add_dependency("unicorn", '>= 4.5')
|
21
|
-
gem.add_dependency("listen", '
|
21
|
+
gem.add_dependency("listen", '~> 1.0')
|
22
22
|
|
23
23
|
# Only one of these can actually be used on a given platform, but they
|
24
24
|
# can both be installed OK--see the note about this at:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mr-sparkle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.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: 2013-
|
12
|
+
date: 2013-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: unicorn
|
@@ -32,17 +32,17 @@ dependencies:
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '0
|
37
|
+
version: '1.0'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: '0
|
45
|
+
version: '1.0'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rb-inotify
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|