guard-livereload 2.3.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25e539e39db381a8063ff567e09bc0aac80802ca
4
- data.tar.gz: 7286a4eff2f9f963426f443a40a2936b3c2f114f
3
+ metadata.gz: 96e1114b0493086538e38f047439527091466b61
4
+ data.tar.gz: 37aa5be8a04fef4ec76f1b219602278daa199da1
5
5
  SHA512:
6
- metadata.gz: 9e5e8d62a0059d79b57bbf45cc05760417a470b70e8c52ca8c9ae8d4a8c09f72fb0a60b821d64297446ca47fb6354cd7e2d32199fc2434192fb1aa8be0404e96
7
- data.tar.gz: 9353fe145990a46671274cbb340fac9b25f03e87082522cde2a43b05444d7dcb85009391d79241e16f28336c05d5db3623f903453974882e6a238fa488057b26
6
+ metadata.gz: 7431db842e195a72a739e034537fc239c0e0d0a7dc454a01de152cdc041e60f7b41591d47ab40a27488288f86fd4b7d7766e35283ab6710a3d35f8ca79ca99ca
7
+ data.tar.gz: b48e1dbe692afdba21ed79b4b34bc14ec9207ff6c1af448a58c0fa10dd35ea6e34c0fa8e919e1ae4af179f5c2ba9221014c19117b3c9d898f3f14f1856ac283a
data/Gemfile CHANGED
@@ -2,14 +2,11 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rake'
6
-
7
5
  group :development do
8
6
  gem 'ruby_gntp'
9
7
  gem 'guard-rspec'
10
8
  end
11
9
 
12
10
  group :test do
13
- gem 'rspec'
14
11
  gem 'coveralls', require: false
15
12
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.test_files = s.files.grep(%r{^spec/})
18
18
  s.require_path = 'lib'
19
19
 
20
- s.add_dependency 'guard', '~> 2.0'
20
+ s.add_dependency 'guard', '~> 2.8'
21
21
  s.add_dependency 'em-websocket', '~> 0.5'
22
22
  s.add_dependency 'multi_json', '~> 1.8'
23
23
 
@@ -1,7 +1,7 @@
1
1
  require 'multi_json'
2
2
 
3
3
  module Guard
4
- class LiveReload
4
+ class LiveReload < Plugin
5
5
  class Reactor
6
6
  attr_reader :web_sockets, :thread, :options, :connections_count
7
7
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module LiveReloadVersion
3
- VERSION = '2.3.1'
3
+ VERSION = '2.4.0'
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe Guard::LiveReload do
4
4
  let(:plugin) { Guard::LiveReload.new }
5
5
  let(:reactor) { double(Guard::LiveReload::Reactor) }
6
- before { plugin.stub(:reactor) { reactor } }
6
+ before { allow(plugin).to receive(:reactor) { reactor } }
7
7
 
8
8
  describe "#initialize" do
9
9
  describe ":host option" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-livereload
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibaud Guillaume-Gentil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-23 00:00:00.000000000 Z
11
+ date: 2014-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '2.8'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '2.8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: em-websocket
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.4.1
141
+ rubygems_version: 2.2.2
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Guard plugin for livereload
@@ -146,4 +146,3 @@ test_files:
146
146
  - spec/lib/guard/livereload/reactor_spec.rb
147
147
  - spec/lib/guard/livereload_spec.rb
148
148
  - spec/spec_helper.rb
149
- has_rdoc: