rack-livereload 0.3.6 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,11 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - 1.9.3
5
+ branches:
6
+ only:
7
+ - master
8
+ gemfile:
9
+ - gemfiles/rails30.gemfile
10
+ - gemfiles/rails31.gemfile
11
+ - gemfiles/rails32.gemfile
data/Appraisals ADDED
@@ -0,0 +1,11 @@
1
+ appraise 'rails30' do
2
+ gem 'rails', '~> 3.0.0'
3
+ end
4
+
5
+ appraise 'rails31' do
6
+ gem 'rails', '~> 3.1.0'
7
+ end
8
+
9
+ appraise 'rails32' do
10
+ gem 'rails', '~> 3.2.0'
11
+ end
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ <a href="http://travis-ci.org/johnbintz/rack-livereload"><img src="https://secure.travis-ci.org/johnbintz/rack-livereload.png" /></a>
2
+
1
3
  Hey, you've got [LiveReload](http://www.livereload.com/) in my [Rack](http://rack.rubyforge.org/)!
2
4
  No need for browser extensions anymore! Just plug it in your middleware stack and go!
3
5
  Even supports browsers without WebSockets!
@@ -12,6 +14,7 @@ Use this with [guard-livereload](http://github.com/guard/guard-livereload) for m
12
14
 
13
15
  ### Rails
14
16
 
17
+
15
18
  In `config/environments/development.rb`:
16
19
 
17
20
  ``` ruby
data/Rakefile CHANGED
@@ -1,4 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'bundler/setup'
3
+ require 'appraisal'
2
4
 
3
5
  desc 'Update livereload.js'
4
6
  task :update_livereload_js do
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 3.0.0"
6
+
7
+ gemspec :path=>"../"
@@ -0,0 +1,157 @@
1
+ PATH
2
+ remote: /Volumes/work/current/open_source/rack-livereload
3
+ specs:
4
+ rack-livereload (0.3.6)
5
+ rack
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ abstract (1.0.0)
11
+ actionmailer (3.0.12)
12
+ actionpack (= 3.0.12)
13
+ mail (~> 2.2.19)
14
+ actionpack (3.0.12)
15
+ activemodel (= 3.0.12)
16
+ activesupport (= 3.0.12)
17
+ builder (~> 2.1.2)
18
+ erubis (~> 2.6.6)
19
+ i18n (~> 0.5.0)
20
+ rack (~> 1.2.5)
21
+ rack-mount (~> 0.6.14)
22
+ rack-test (~> 0.5.7)
23
+ tzinfo (~> 0.3.23)
24
+ activemodel (3.0.12)
25
+ activesupport (= 3.0.12)
26
+ builder (~> 2.1.2)
27
+ i18n (~> 0.5.0)
28
+ activerecord (3.0.12)
29
+ activemodel (= 3.0.12)
30
+ activesupport (= 3.0.12)
31
+ arel (~> 2.0.10)
32
+ tzinfo (~> 0.3.23)
33
+ activeresource (3.0.12)
34
+ activemodel (= 3.0.12)
35
+ activesupport (= 3.0.12)
36
+ activesupport (3.0.12)
37
+ addressable (2.2.8)
38
+ appraisal (0.4.1)
39
+ bundler
40
+ rake
41
+ arel (2.0.10)
42
+ builder (2.1.2)
43
+ crack (0.3.1)
44
+ cucumber (1.2.0)
45
+ builder (>= 2.1.2)
46
+ diff-lcs (>= 1.1.3)
47
+ gherkin (~> 2.10.0)
48
+ json (>= 1.4.6)
49
+ daemons (1.1.8)
50
+ diff-lcs (1.1.3)
51
+ em-websocket (0.3.6)
52
+ addressable (>= 2.1.1)
53
+ eventmachine (>= 0.12.9)
54
+ erubis (2.6.6)
55
+ abstract (>= 1.0.0)
56
+ eventmachine (0.12.10)
57
+ ffi (1.0.11)
58
+ gherkin (2.10.0)
59
+ json (>= 1.4.6)
60
+ guard (1.0.3)
61
+ ffi (>= 0.5.0)
62
+ thor (>= 0.14.6)
63
+ guard-cucumber (0.8.0)
64
+ cucumber (>= 1.2.0)
65
+ guard (>= 0.8.3)
66
+ guard-livereload (0.4.2)
67
+ em-websocket (>= 0.2.0)
68
+ guard (>= 0.10.0)
69
+ multi_json (~> 1.0)
70
+ guard-rspec (0.7.3)
71
+ guard (>= 0.10.0)
72
+ httparty (0.8.3)
73
+ multi_json (~> 1.0)
74
+ multi_xml
75
+ i18n (0.5.0)
76
+ json (1.7.3)
77
+ mail (2.2.19)
78
+ activesupport (>= 2.3.6)
79
+ i18n (>= 0.4.0)
80
+ mime-types (~> 1.16)
81
+ treetop (~> 1.4.8)
82
+ metaclass (0.0.1)
83
+ mime-types (1.18)
84
+ mocha (0.11.4)
85
+ metaclass (~> 0.0.1)
86
+ multi_json (1.3.6)
87
+ multi_xml (0.5.1)
88
+ polyglot (0.3.3)
89
+ rack (1.2.5)
90
+ rack-mount (0.6.14)
91
+ rack (>= 1.0.0)
92
+ rack-test (0.5.7)
93
+ rack (>= 1.0)
94
+ rails (3.0.12)
95
+ actionmailer (= 3.0.12)
96
+ actionpack (= 3.0.12)
97
+ activerecord (= 3.0.12)
98
+ activeresource (= 3.0.12)
99
+ activesupport (= 3.0.12)
100
+ bundler (~> 1.0)
101
+ railties (= 3.0.12)
102
+ railties (3.0.12)
103
+ actionpack (= 3.0.12)
104
+ activesupport (= 3.0.12)
105
+ rake (>= 0.8.7)
106
+ rdoc (~> 3.4)
107
+ thor (~> 0.14.4)
108
+ rake (0.9.2.2)
109
+ rdoc (3.12)
110
+ json (~> 1.4)
111
+ rspec (2.10.0)
112
+ rspec-core (~> 2.10.0)
113
+ rspec-expectations (~> 2.10.0)
114
+ rspec-mocks (~> 2.10.0)
115
+ rspec-core (2.10.1)
116
+ rspec-expectations (2.10.0)
117
+ diff-lcs (~> 1.1.3)
118
+ rspec-mocks (2.10.1)
119
+ shotgun (0.9)
120
+ rack (>= 1.0)
121
+ sinatra (1.2.8)
122
+ rack (~> 1.1)
123
+ tilt (>= 1.2.2, < 2.0)
124
+ thin (1.3.1)
125
+ daemons (>= 1.0.9)
126
+ eventmachine (>= 0.12.6)
127
+ rack (>= 1.0.0)
128
+ thor (0.14.6)
129
+ tilt (1.3.3)
130
+ treetop (1.4.10)
131
+ polyglot
132
+ polyglot (>= 0.3.1)
133
+ tzinfo (0.3.33)
134
+ webmock (1.8.7)
135
+ addressable (>= 2.2.7)
136
+ crack (>= 0.1.7)
137
+
138
+ PLATFORMS
139
+ ruby
140
+
141
+ DEPENDENCIES
142
+ appraisal (~> 0.4)
143
+ cucumber
144
+ guard
145
+ guard-cucumber
146
+ guard-livereload
147
+ guard-rspec
148
+ httparty
149
+ mocha
150
+ rack-livereload!
151
+ rails (~> 3.0.0)
152
+ rake
153
+ rspec
154
+ shotgun
155
+ sinatra
156
+ thin
157
+ webmock
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 3.1.0"
6
+
7
+ gemspec :path=>"../"
@@ -0,0 +1,169 @@
1
+ PATH
2
+ remote: /Volumes/work/current/open_source/rack-livereload
3
+ specs:
4
+ rack-livereload (0.3.6)
5
+ rack
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ actionmailer (3.1.4)
11
+ actionpack (= 3.1.4)
12
+ mail (~> 2.3.0)
13
+ actionpack (3.1.4)
14
+ activemodel (= 3.1.4)
15
+ activesupport (= 3.1.4)
16
+ builder (~> 3.0.0)
17
+ erubis (~> 2.7.0)
18
+ i18n (~> 0.6)
19
+ rack (~> 1.3.6)
20
+ rack-cache (~> 1.1)
21
+ rack-mount (~> 0.8.2)
22
+ rack-test (~> 0.6.1)
23
+ sprockets (~> 2.0.3)
24
+ activemodel (3.1.4)
25
+ activesupport (= 3.1.4)
26
+ builder (~> 3.0.0)
27
+ i18n (~> 0.6)
28
+ activerecord (3.1.4)
29
+ activemodel (= 3.1.4)
30
+ activesupport (= 3.1.4)
31
+ arel (~> 2.2.3)
32
+ tzinfo (~> 0.3.29)
33
+ activeresource (3.1.4)
34
+ activemodel (= 3.1.4)
35
+ activesupport (= 3.1.4)
36
+ activesupport (3.1.4)
37
+ multi_json (~> 1.0)
38
+ addressable (2.2.8)
39
+ appraisal (0.4.1)
40
+ bundler
41
+ rake
42
+ arel (2.2.3)
43
+ builder (3.0.0)
44
+ crack (0.3.1)
45
+ cucumber (1.2.0)
46
+ builder (>= 2.1.2)
47
+ diff-lcs (>= 1.1.3)
48
+ gherkin (~> 2.10.0)
49
+ json (>= 1.4.6)
50
+ daemons (1.1.8)
51
+ diff-lcs (1.1.3)
52
+ em-websocket (0.3.6)
53
+ addressable (>= 2.1.1)
54
+ eventmachine (>= 0.12.9)
55
+ erubis (2.7.0)
56
+ eventmachine (0.12.10)
57
+ ffi (1.0.11)
58
+ gherkin (2.10.0)
59
+ json (>= 1.4.6)
60
+ guard (1.0.3)
61
+ ffi (>= 0.5.0)
62
+ thor (>= 0.14.6)
63
+ guard-cucumber (0.8.0)
64
+ cucumber (>= 1.2.0)
65
+ guard (>= 0.8.3)
66
+ guard-livereload (0.4.2)
67
+ em-websocket (>= 0.2.0)
68
+ guard (>= 0.10.0)
69
+ multi_json (~> 1.0)
70
+ guard-rspec (0.7.3)
71
+ guard (>= 0.10.0)
72
+ hike (1.2.1)
73
+ httparty (0.8.3)
74
+ multi_json (~> 1.0)
75
+ multi_xml
76
+ i18n (0.6.0)
77
+ json (1.7.3)
78
+ mail (2.3.3)
79
+ i18n (>= 0.4.0)
80
+ mime-types (~> 1.16)
81
+ treetop (~> 1.4.8)
82
+ metaclass (0.0.1)
83
+ mime-types (1.18)
84
+ mocha (0.11.4)
85
+ metaclass (~> 0.0.1)
86
+ multi_json (1.3.6)
87
+ multi_xml (0.5.1)
88
+ polyglot (0.3.3)
89
+ rack (1.3.6)
90
+ rack-cache (1.2)
91
+ rack (>= 0.4)
92
+ rack-mount (0.8.3)
93
+ rack (>= 1.0.0)
94
+ rack-protection (1.2.0)
95
+ rack
96
+ rack-ssl (1.3.2)
97
+ rack
98
+ rack-test (0.6.1)
99
+ rack (>= 1.0)
100
+ rails (3.1.4)
101
+ actionmailer (= 3.1.4)
102
+ actionpack (= 3.1.4)
103
+ activerecord (= 3.1.4)
104
+ activeresource (= 3.1.4)
105
+ activesupport (= 3.1.4)
106
+ bundler (~> 1.0)
107
+ railties (= 3.1.4)
108
+ railties (3.1.4)
109
+ actionpack (= 3.1.4)
110
+ activesupport (= 3.1.4)
111
+ rack-ssl (~> 1.3.2)
112
+ rake (>= 0.8.7)
113
+ rdoc (~> 3.4)
114
+ thor (~> 0.14.6)
115
+ rake (0.9.2.2)
116
+ rdoc (3.12)
117
+ json (~> 1.4)
118
+ rspec (2.10.0)
119
+ rspec-core (~> 2.10.0)
120
+ rspec-expectations (~> 2.10.0)
121
+ rspec-mocks (~> 2.10.0)
122
+ rspec-core (2.10.1)
123
+ rspec-expectations (2.10.0)
124
+ diff-lcs (~> 1.1.3)
125
+ rspec-mocks (2.10.1)
126
+ shotgun (0.9)
127
+ rack (>= 1.0)
128
+ sinatra (1.3.2)
129
+ rack (~> 1.3, >= 1.3.6)
130
+ rack-protection (~> 1.2)
131
+ tilt (~> 1.3, >= 1.3.3)
132
+ sprockets (2.0.4)
133
+ hike (~> 1.2)
134
+ rack (~> 1.0)
135
+ tilt (~> 1.1, != 1.3.0)
136
+ thin (1.3.1)
137
+ daemons (>= 1.0.9)
138
+ eventmachine (>= 0.12.6)
139
+ rack (>= 1.0.0)
140
+ thor (0.14.6)
141
+ tilt (1.3.3)
142
+ treetop (1.4.10)
143
+ polyglot
144
+ polyglot (>= 0.3.1)
145
+ tzinfo (0.3.33)
146
+ webmock (1.8.7)
147
+ addressable (>= 2.2.7)
148
+ crack (>= 0.1.7)
149
+
150
+ PLATFORMS
151
+ ruby
152
+
153
+ DEPENDENCIES
154
+ appraisal (~> 0.4)
155
+ cucumber
156
+ guard
157
+ guard-cucumber
158
+ guard-livereload
159
+ guard-rspec
160
+ httparty
161
+ mocha
162
+ rack-livereload!
163
+ rails (~> 3.1.0)
164
+ rake
165
+ rspec
166
+ shotgun
167
+ sinatra
168
+ thin
169
+ webmock
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 3.2.0"
6
+
7
+ gemspec :path=>"../"
@@ -0,0 +1,167 @@
1
+ PATH
2
+ remote: /Volumes/work/current/open_source/rack-livereload
3
+ specs:
4
+ rack-livereload (0.3.6)
5
+ rack
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ actionmailer (3.2.3)
11
+ actionpack (= 3.2.3)
12
+ mail (~> 2.4.4)
13
+ actionpack (3.2.3)
14
+ activemodel (= 3.2.3)
15
+ activesupport (= 3.2.3)
16
+ builder (~> 3.0.0)
17
+ erubis (~> 2.7.0)
18
+ journey (~> 1.0.1)
19
+ rack (~> 1.4.0)
20
+ rack-cache (~> 1.2)
21
+ rack-test (~> 0.6.1)
22
+ sprockets (~> 2.1.2)
23
+ activemodel (3.2.3)
24
+ activesupport (= 3.2.3)
25
+ builder (~> 3.0.0)
26
+ activerecord (3.2.3)
27
+ activemodel (= 3.2.3)
28
+ activesupport (= 3.2.3)
29
+ arel (~> 3.0.2)
30
+ tzinfo (~> 0.3.29)
31
+ activeresource (3.2.3)
32
+ activemodel (= 3.2.3)
33
+ activesupport (= 3.2.3)
34
+ activesupport (3.2.3)
35
+ i18n (~> 0.6)
36
+ multi_json (~> 1.0)
37
+ addressable (2.2.8)
38
+ appraisal (0.4.1)
39
+ bundler
40
+ rake
41
+ arel (3.0.2)
42
+ builder (3.0.0)
43
+ crack (0.3.1)
44
+ cucumber (1.2.0)
45
+ builder (>= 2.1.2)
46
+ diff-lcs (>= 1.1.3)
47
+ gherkin (~> 2.10.0)
48
+ json (>= 1.4.6)
49
+ daemons (1.1.8)
50
+ diff-lcs (1.1.3)
51
+ em-websocket (0.3.6)
52
+ addressable (>= 2.1.1)
53
+ eventmachine (>= 0.12.9)
54
+ erubis (2.7.0)
55
+ eventmachine (0.12.10)
56
+ ffi (1.0.11)
57
+ gherkin (2.10.0)
58
+ json (>= 1.4.6)
59
+ guard (1.0.3)
60
+ ffi (>= 0.5.0)
61
+ thor (>= 0.14.6)
62
+ guard-cucumber (0.8.0)
63
+ cucumber (>= 1.2.0)
64
+ guard (>= 0.8.3)
65
+ guard-livereload (0.4.2)
66
+ em-websocket (>= 0.2.0)
67
+ guard (>= 0.10.0)
68
+ multi_json (~> 1.0)
69
+ guard-rspec (0.7.3)
70
+ guard (>= 0.10.0)
71
+ hike (1.2.1)
72
+ httparty (0.8.3)
73
+ multi_json (~> 1.0)
74
+ multi_xml
75
+ i18n (0.6.0)
76
+ journey (1.0.3)
77
+ json (1.7.3)
78
+ mail (2.4.4)
79
+ i18n (>= 0.4.0)
80
+ mime-types (~> 1.16)
81
+ treetop (~> 1.4.8)
82
+ metaclass (0.0.1)
83
+ mime-types (1.18)
84
+ mocha (0.11.4)
85
+ metaclass (~> 0.0.1)
86
+ multi_json (1.3.6)
87
+ multi_xml (0.5.1)
88
+ polyglot (0.3.3)
89
+ rack (1.4.1)
90
+ rack-cache (1.2)
91
+ rack (>= 0.4)
92
+ rack-protection (1.2.0)
93
+ rack
94
+ rack-ssl (1.3.2)
95
+ rack
96
+ rack-test (0.6.1)
97
+ rack (>= 1.0)
98
+ rails (3.2.3)
99
+ actionmailer (= 3.2.3)
100
+ actionpack (= 3.2.3)
101
+ activerecord (= 3.2.3)
102
+ activeresource (= 3.2.3)
103
+ activesupport (= 3.2.3)
104
+ bundler (~> 1.0)
105
+ railties (= 3.2.3)
106
+ railties (3.2.3)
107
+ actionpack (= 3.2.3)
108
+ activesupport (= 3.2.3)
109
+ rack-ssl (~> 1.3.2)
110
+ rake (>= 0.8.7)
111
+ rdoc (~> 3.4)
112
+ thor (~> 0.14.6)
113
+ rake (0.9.2.2)
114
+ rdoc (3.12)
115
+ json (~> 1.4)
116
+ rspec (2.10.0)
117
+ rspec-core (~> 2.10.0)
118
+ rspec-expectations (~> 2.10.0)
119
+ rspec-mocks (~> 2.10.0)
120
+ rspec-core (2.10.1)
121
+ rspec-expectations (2.10.0)
122
+ diff-lcs (~> 1.1.3)
123
+ rspec-mocks (2.10.1)
124
+ shotgun (0.9)
125
+ rack (>= 1.0)
126
+ sinatra (1.3.2)
127
+ rack (~> 1.3, >= 1.3.6)
128
+ rack-protection (~> 1.2)
129
+ tilt (~> 1.3, >= 1.3.3)
130
+ sprockets (2.1.3)
131
+ hike (~> 1.2)
132
+ rack (~> 1.0)
133
+ tilt (~> 1.1, != 1.3.0)
134
+ thin (1.3.1)
135
+ daemons (>= 1.0.9)
136
+ eventmachine (>= 0.12.6)
137
+ rack (>= 1.0.0)
138
+ thor (0.14.6)
139
+ tilt (1.3.3)
140
+ treetop (1.4.10)
141
+ polyglot
142
+ polyglot (>= 0.3.1)
143
+ tzinfo (0.3.33)
144
+ webmock (1.8.7)
145
+ addressable (>= 2.2.7)
146
+ crack (>= 0.1.7)
147
+
148
+ PLATFORMS
149
+ ruby
150
+
151
+ DEPENDENCIES
152
+ appraisal (~> 0.4)
153
+ cucumber
154
+ guard
155
+ guard-cucumber
156
+ guard-livereload
157
+ guard-rspec
158
+ httparty
159
+ mocha
160
+ rack-livereload!
161
+ rails (~> 3.2.0)
162
+ rake
163
+ rspec
164
+ shotgun
165
+ sinatra
166
+ thin
167
+ webmock