mr-sparkle 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 0.1.0
2
+
3
+ * Changes for compatibility with listen 1.0 and later, which it now requires.
4
+
5
+ ### 0.0.3
6
+
7
+ * Use optimistic version constraints
8
+
1
9
  ### 0.0.2
2
10
 
3
11
  * Messages from mr-sparkle now go on stderr, not stdout, just like unicorn's log messages
@@ -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('.', :relative_paths=>true)
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(false)
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,
@@ -1,5 +1,5 @@
1
1
  module Mr
2
2
  module Sparkle
3
- VERSION = "0.0.3"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -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", '>= 0.6')
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.3
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-02-20 00:00:00.000000000 Z
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.6'
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.6'
45
+ version: '1.0'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rb-inotify
48
48
  requirement: !ruby/object:Gem::Requirement