guard-livereload 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,6 @@ module Guard
6
6
 
7
7
  autoload :Reactor, 'guard/livereload/reactor'
8
8
 
9
- attr_accessor :reactor
10
-
11
9
  # =================
12
10
  # = Guard methods =
13
11
  # =================
@@ -37,5 +35,11 @@ module Guard
37
35
  reactor.reload_browser(paths)
38
36
  end
39
37
 
38
+ private
39
+
40
+ def reactor
41
+ @reactor ||= Reactor.new(@options)
42
+ end
43
+
40
44
  end
41
45
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module LiveReloadVersion
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-livereload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-09 00:00:00.000000000 +02:00
13
- default_executable:
12
+ date: 2011-09-01 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: guard
17
- requirement: &2161472340 !ruby/object:Gem::Requirement
16
+ requirement: &70360508178420 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ! '>='
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: 0.4.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *2161472340
24
+ version_requirements: *70360508178420
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: em-websocket
28
- requirement: &2161471560 !ruby/object:Gem::Requirement
27
+ requirement: &70360508173240 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ! '>='
@@ -33,10 +32,10 @@ dependencies:
33
32
  version: 0.2.0
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *2161471560
35
+ version_requirements: *70360508173240
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: multi_json
39
- requirement: &2161470980 !ruby/object:Gem::Requirement
38
+ requirement: &70360508172780 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ~>
@@ -44,10 +43,10 @@ dependencies:
44
43
  version: 1.0.3
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *2161470980
46
+ version_requirements: *70360508172780
48
47
  - !ruby/object:Gem::Dependency
49
48
  name: bundler
50
- requirement: &2161470400 !ruby/object:Gem::Requirement
49
+ requirement: &70360508172320 !ruby/object:Gem::Requirement
51
50
  none: false
52
51
  requirements:
53
52
  - - ~>
@@ -55,10 +54,10 @@ dependencies:
55
54
  version: '1.0'
56
55
  type: :development
57
56
  prerelease: false
58
- version_requirements: *2161470400
57
+ version_requirements: *70360508172320
59
58
  - !ruby/object:Gem::Dependency
60
59
  name: rspec
61
- requirement: &2161469800 !ruby/object:Gem::Requirement
60
+ requirement: &70360508171700 !ruby/object:Gem::Requirement
62
61
  none: false
63
62
  requirements:
64
63
  - - ~>
@@ -66,10 +65,10 @@ dependencies:
66
65
  version: '2.5'
67
66
  type: :development
68
67
  prerelease: false
69
- version_requirements: *2161469800
68
+ version_requirements: *70360508171700
70
69
  - !ruby/object:Gem::Dependency
71
70
  name: guard-rspec
72
- requirement: &2161469140 !ruby/object:Gem::Requirement
71
+ requirement: &70360508170860 !ruby/object:Gem::Requirement
73
72
  none: false
74
73
  requirements:
75
74
  - - ~>
@@ -77,7 +76,7 @@ dependencies:
77
76
  version: '0.2'
78
77
  type: :development
79
78
  prerelease: false
80
- version_requirements: *2161469140
79
+ version_requirements: *70360508170860
81
80
  description: Guard::LiveReload automatically reloads your browser when 'view' files
82
81
  are modified.
83
82
  email:
@@ -92,7 +91,6 @@ files:
92
91
  - lib/guard/livereload.rb
93
92
  - LICENSE
94
93
  - README.rdoc
95
- has_rdoc: true
96
94
  homepage: http://rubygems.org/gems/guard-livereload
97
95
  licenses: []
98
96
  post_install_message:
@@ -113,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
111
  version: 1.3.6
114
112
  requirements: []
115
113
  rubyforge_project: guard-livereload
116
- rubygems_version: 1.6.2
114
+ rubygems_version: 1.8.10
117
115
  signing_key:
118
116
  specification_version: 3
119
117
  summary: Guard gem for livereload