middleman-livereload 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -4,3 +4,4 @@ Gemfile.lock
4
4
  pkg/*
5
5
  .rvmrc
6
6
  .DS_Store
7
+ .rbenv-version
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module LiveReload
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -4,8 +4,10 @@ require "guard/livereload"
4
4
  Middleman::Guard.add_guard do |options, livereload|
5
5
  if livereload
6
6
  livereload_options_hash = ""
7
+
7
8
  livereload.each do |k,v|
8
- livereload_options_hash << ", :#{k} => '#{v}'"
9
+ livereload_options_hash << ", :#{k} => "
10
+ livereload_options_hash << ((v.kind_of?(String)) ? "'#{v}'" : "#{v.to_s}")
9
11
  end
10
12
 
11
13
  %Q{
@@ -20,5 +20,6 @@ Gem::Specification.new do |s|
20
20
  s.require_paths = ["lib"]
21
21
 
22
22
  # s.add_runtime_dependency("middleman", ["~> 2.0.6"])
23
- s.add_runtime_dependency("guard-livereload", ["~> 0.3.0"])
23
+ s.add_runtime_dependency("guard-livereload", ["~> 0.3.1"])
24
+ s.add_development_dependency("rake")
24
25
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-livereload
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Reynolds
@@ -15,24 +15,39 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-21 00:00:00 Z
18
+ date: 2011-10-14 00:00:00 -07:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- name: guard-livereload
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
26
  - - ~>
27
27
  - !ruby/object:Gem::Version
28
- hash: 19
28
+ hash: 17
29
29
  segments:
30
30
  - 0
31
31
  - 3
32
- - 0
33
- version: 0.3.0
32
+ - 1
33
+ version: 0.3.1
34
34
  type: :runtime
35
+ name: guard-livereload
35
36
  version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ type: :development
49
+ name: rake
50
+ version_requirements: *id002
36
51
  description: Adds LiveReload to Middleman
37
52
  email:
38
53
  - me@tdreyno.com
@@ -50,6 +65,7 @@ files:
50
65
  - lib/middleman-livereload/version.rb
51
66
  - lib/middleman_init.rb
52
67
  - middleman-livereload.gemspec
68
+ has_rdoc: true
53
69
  homepage: https://github.com/tdreyno/middleman-livereload
54
70
  licenses: []
55
71
 
@@ -79,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
95
  requirements: []
80
96
 
81
97
  rubyforge_project: middleman-livereload
82
- rubygems_version: 1.8.6
98
+ rubygems_version: 1.6.2
83
99
  signing_key:
84
100
  specification_version: 3
85
101
  summary: Adds LiveReload to Middleman