reloadlive 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/.rvmrc +52 -0
- data/Gemfile +4 -0
- data/Guardfile +15 -0
- data/LICENSE.txt +22 -0
- data/README.md +76 -0
- data/Rakefile +1 -0
- data/bin/reloadlive +10 -0
- data/demo.gif +0 -0
- data/lib/reloadlive/config.rb +64 -0
- data/lib/reloadlive/frontend.rb +38 -0
- data/lib/reloadlive/options.rb +54 -0
- data/lib/reloadlive/render.rb +150 -0
- data/lib/reloadlive/static/client.js +2194 -0
- data/lib/reloadlive/static/index.erb +21 -0
- data/lib/reloadlive/static/style.css +249 -0
- data/lib/reloadlive/version.rb +3 -0
- data/lib/reloadlive.rb +2 -0
- data/reloadlive.gemspec +35 -0
- data/spec/lib/reloadlive/render_spec.rb +74 -0
- data/spec/spec_helper.rb +27 -0
- metadata +286 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<title><%= @last[:title] %></title>
|
7
|
+
<link rel="stylesheet" type="text/css" href="/_reloadlive/style.css" />
|
8
|
+
<script src="/_reloadlive/client.js" type="text/javascript"></script>
|
9
|
+
<script type="text/javascript">
|
10
|
+
var client = new Faye.Client('http://localhost:<%= @port %>/faye');
|
11
|
+
client.subscribe('/message', function(message) {
|
12
|
+
document.body.innerHTML = message.body;
|
13
|
+
document.title = message.title;
|
14
|
+
});
|
15
|
+
</script>
|
16
|
+
</head>
|
17
|
+
<body>
|
18
|
+
<%= @last[:body] %>
|
19
|
+
</body>
|
20
|
+
</html>
|
21
|
+
|
@@ -0,0 +1,249 @@
|
|
1
|
+
/*
|
2
|
+
Some simple Github-like styles, with syntax highlighting CSS via Pygments.
|
3
|
+
*/
|
4
|
+
html {
|
5
|
+
background:#fff;
|
6
|
+
margin:0;
|
7
|
+
padding:0;
|
8
|
+
}
|
9
|
+
body {
|
10
|
+
font: 14px helvetica,arial,freesans,clean,sans-serif;
|
11
|
+
line-height: 1.6;
|
12
|
+
margin: 0 auto;
|
13
|
+
padding: 20px;
|
14
|
+
text-align:left;
|
15
|
+
color: #333;
|
16
|
+
width:920px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.md {
|
20
|
+
background-color: #eee;
|
21
|
+
border-radius:3px;
|
22
|
+
margin: 0;
|
23
|
+
padding:3px;
|
24
|
+
}
|
25
|
+
|
26
|
+
article {
|
27
|
+
padding: 30px;
|
28
|
+
border: 1px solid #cacaca;
|
29
|
+
background-color: white;
|
30
|
+
}
|
31
|
+
article > :first-child {
|
32
|
+
margin-top: 0!important;
|
33
|
+
}
|
34
|
+
|
35
|
+
h1 {
|
36
|
+
font-size:28px;
|
37
|
+
margin-bottom:10px;
|
38
|
+
color: black;
|
39
|
+
}
|
40
|
+
|
41
|
+
h2 {
|
42
|
+
font-size:24px;
|
43
|
+
margin:20px 0 10px;
|
44
|
+
color: black;
|
45
|
+
border-bottom: 1px solid #ccc;
|
46
|
+
}
|
47
|
+
|
48
|
+
h3 {
|
49
|
+
font-size:18px;
|
50
|
+
margin:20px 0 10px;
|
51
|
+
}
|
52
|
+
|
53
|
+
h4 {
|
54
|
+
font-size:16px;
|
55
|
+
font-weight:bold;
|
56
|
+
margin:20px 0 10px;
|
57
|
+
}
|
58
|
+
|
59
|
+
h5 {
|
60
|
+
font-size:14px;
|
61
|
+
font-weight:bold;
|
62
|
+
margin:20px 0 10px;
|
63
|
+
}
|
64
|
+
|
65
|
+
h6 {
|
66
|
+
color:#777;
|
67
|
+
font-size:14px;
|
68
|
+
font-weight:bold;
|
69
|
+
margin:20px 0 10px;
|
70
|
+
}
|
71
|
+
|
72
|
+
hr {
|
73
|
+
background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;
|
74
|
+
border: 0 none;
|
75
|
+
height: 4px;
|
76
|
+
margin: 15px 0;
|
77
|
+
padding: 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
p {
|
82
|
+
margin: 15px 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
pre, code {
|
86
|
+
font: 12px 'Bitstream Vera Sans Mono','Courier',monospace;
|
87
|
+
}
|
88
|
+
.highlight pre, pre {
|
89
|
+
background-color:#f8f8f8;
|
90
|
+
border:1px solid #ccc;
|
91
|
+
font-size:13px;
|
92
|
+
line-height:19px;
|
93
|
+
overflow:auto;
|
94
|
+
border-radius:3px;
|
95
|
+
-moz-border-radius:3px;
|
96
|
+
-webkit-border-radius:3px;
|
97
|
+
padding:6px 10px;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
code {
|
103
|
+
white-space:nowrap;
|
104
|
+
border:1px solid #eaeaea;
|
105
|
+
background-color:#f8f8f8;
|
106
|
+
border-radius:3px;
|
107
|
+
-moz-border-radius:3px;
|
108
|
+
-webkit-border-radius:3px;
|
109
|
+
margin:0 2px;
|
110
|
+
padding:0 5px;
|
111
|
+
}
|
112
|
+
|
113
|
+
pre>code
|
114
|
+
{
|
115
|
+
white-space:pre;
|
116
|
+
border:none;
|
117
|
+
background:transparent;
|
118
|
+
margin:0;
|
119
|
+
padding:0;
|
120
|
+
}
|
121
|
+
|
122
|
+
a, a code {
|
123
|
+
color: #4183C4;
|
124
|
+
text-decoration:none;
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
blockquote
|
129
|
+
{
|
130
|
+
border-left:4px solid #ddd;
|
131
|
+
padding-left:11px;
|
132
|
+
color:#555;
|
133
|
+
margin:14px 0;
|
134
|
+
}
|
135
|
+
|
136
|
+
table
|
137
|
+
{
|
138
|
+
font-size: 14px;
|
139
|
+
border-collapse:collapse;
|
140
|
+
margin:20px 0 0;
|
141
|
+
padding:0;
|
142
|
+
}
|
143
|
+
|
144
|
+
table tr
|
145
|
+
{
|
146
|
+
border-top:1px solid #ccc;
|
147
|
+
background-color:#fff;
|
148
|
+
margin:0;
|
149
|
+
padding:0;
|
150
|
+
}
|
151
|
+
|
152
|
+
table tr:nth-child(2n)
|
153
|
+
{
|
154
|
+
background-color:#f8f8f8;
|
155
|
+
}
|
156
|
+
table tr th[align="center"], table tr td[align="center"] {
|
157
|
+
text-align:center;
|
158
|
+
}
|
159
|
+
table tr th, table tr td
|
160
|
+
{
|
161
|
+
border:1px solid #ccc;
|
162
|
+
text-align:left;
|
163
|
+
margin:0;
|
164
|
+
padding:6px 13px;
|
165
|
+
}
|
166
|
+
|
167
|
+
ul, ol
|
168
|
+
{
|
169
|
+
margin:15px 0;
|
170
|
+
}
|
171
|
+
|
172
|
+
ul li, ol li
|
173
|
+
{
|
174
|
+
margin-top:7px;
|
175
|
+
margin-bottom:7px;
|
176
|
+
}
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
.shadow {
|
181
|
+
-webkit-box-shadow:0 5px 15px #000;
|
182
|
+
-moz-box-shadow:0 5px 15px #000;
|
183
|
+
box-shadow:0 5px 15px #000;
|
184
|
+
}
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
/* Pygments coloring */
|
189
|
+
.highlight .c{color:#998;font-style:italic;}
|
190
|
+
.highlight .err{color:#a61717;background-color:#e3d2d2;}
|
191
|
+
.highlight .k{font-weight:bold;}
|
192
|
+
.highlight .o{font-weight:bold;}
|
193
|
+
.highlight .cm{color:#998;font-style:italic;}
|
194
|
+
.highlight .cp{color:#999;font-weight:bold;}
|
195
|
+
.highlight .c1{color:#998;font-style:italic;}
|
196
|
+
.highlight .cs{color:#999;font-weight:bold;font-style:italic;}
|
197
|
+
.highlight .gd{color:#000;background-color:#fdd;}
|
198
|
+
.highlight .gd .x{color:#000;background-color:#faa;}
|
199
|
+
.highlight .ge{font-style:italic;}
|
200
|
+
.highlight .gr{color:#a00;}
|
201
|
+
.highlight .gh{color:#999;}
|
202
|
+
.highlight .gi{color:#000;background-color:#dfd;}
|
203
|
+
.highlight .gi .x{color:#000;background-color:#afa;}
|
204
|
+
.highlight .go{color:#888;}
|
205
|
+
.highlight .gp{color:#555;}
|
206
|
+
.highlight .gs{font-weight:bold;}
|
207
|
+
.highlight .gu{color:#800080;font-weight:bold;}
|
208
|
+
.highlight .gt{color:#a00;}
|
209
|
+
.highlight .kc{font-weight:bold;}
|
210
|
+
.highlight .kd{font-weight:bold;}
|
211
|
+
.highlight .kn{font-weight:bold;}
|
212
|
+
.highlight .kp{font-weight:bold;}
|
213
|
+
.highlight .kr{font-weight:bold;}
|
214
|
+
.highlight .kt{color:#458;font-weight:bold;}
|
215
|
+
.highlight .m{color:#099;}
|
216
|
+
.highlight .s{color:#d14;}
|
217
|
+
.highlight .na{color:#008080;}
|
218
|
+
.highlight .nb{color:#0086B3;}
|
219
|
+
.highlight .nc{color:#458;font-weight:bold;}
|
220
|
+
.highlight .no{color:#008080;}
|
221
|
+
.highlight .ni{color:#800080;}
|
222
|
+
.highlight .ne{color:#900;font-weight:bold;}
|
223
|
+
.highlight .nf{color:#900;font-weight:bold;}
|
224
|
+
.highlight .nn{color:#555;}
|
225
|
+
.highlight .nt{color:#000080;}
|
226
|
+
.highlight .nv{color:#008080;}
|
227
|
+
.highlight .ow{font-weight:bold;}
|
228
|
+
.highlight .w{color:#bbb;}
|
229
|
+
.highlight .mf{color:#099;}
|
230
|
+
.highlight .mh{color:#099;}
|
231
|
+
.highlight .mi{color:#099;}
|
232
|
+
.highlight .mo{color:#099;}
|
233
|
+
.highlight .sb{color:#d14;}
|
234
|
+
.highlight .sc{color:#d14;}
|
235
|
+
.highlight .sd{color:#d14;}
|
236
|
+
.highlight .s2{color:#d14;}
|
237
|
+
.highlight .se{color:#d14;}
|
238
|
+
.highlight .sh{color:#d14;}
|
239
|
+
.highlight .si{color:#d14;}
|
240
|
+
.highlight .sx{color:#d14;}
|
241
|
+
.highlight .sr{color:#009926;}
|
242
|
+
.highlight .s1{color:#d14;}
|
243
|
+
.highlight .ss{color:#990073;}
|
244
|
+
.highlight .bp{color:#999;}
|
245
|
+
.highlight .vc{color:#008080;}
|
246
|
+
.highlight .vg{color:#008080;}
|
247
|
+
.highlight .vi{color:#008080;}
|
248
|
+
.highlight .il{color:#099;}
|
249
|
+
|
data/lib/reloadlive.rb
ADDED
data/reloadlive.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'reloadlive/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "reloadlive"
|
8
|
+
spec.version = Reloadlive::VERSION
|
9
|
+
spec.authors = ["Alberto Miorin"]
|
10
|
+
spec.email = ["reloadlive@ululi.it"]
|
11
|
+
spec.description = %q{Reloadlive is a command line tool to easily preview your github-markup files}
|
12
|
+
spec.summary = %q{Reloadlive is a command line tool to easily preview your github-markup files}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "sinatra"
|
22
|
+
spec.add_dependency "thin"
|
23
|
+
spec.add_dependency "faye"
|
24
|
+
spec.add_dependency "listen"
|
25
|
+
spec.add_dependency "github-markup"
|
26
|
+
spec.add_dependency "github-markdown"
|
27
|
+
spec.add_dependency "pygments.rb", "~> 0.4.2"
|
28
|
+
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
30
|
+
spec.add_development_dependency "rake"
|
31
|
+
spec.add_development_dependency "rerun"
|
32
|
+
spec.add_development_dependency "pry"
|
33
|
+
spec.add_development_dependency "pry-debugger"
|
34
|
+
spec.add_development_dependency "guard-rspec"
|
35
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
ES1 = <<EOF
|
4
|
+
## Code
|
5
|
+
```ruby
|
6
|
+
class Example
|
7
|
+
def method
|
8
|
+
end
|
9
|
+
end
|
10
|
+
```
|
11
|
+
EOF
|
12
|
+
|
13
|
+
ES1HTML = <<EOF
|
14
|
+
<h2>Code</h2>
|
15
|
+
|
16
|
+
<p><div class="highlight"><pre><span class="k">class</span> <span class="nc">Example</span>
|
17
|
+
<span class="k">def</span> <span class="nf">method</span>
|
18
|
+
<span class="k">end</span>
|
19
|
+
<span class="k">end</span>
|
20
|
+
</pre></div></p>
|
21
|
+
EOF
|
22
|
+
|
23
|
+
ES2 = <<EOF
|
24
|
+
---
|
25
|
+
title: jekyll document with YAML front matter
|
26
|
+
---
|
27
|
+
## Code
|
28
|
+
```ruby
|
29
|
+
class Example
|
30
|
+
def method
|
31
|
+
end
|
32
|
+
end
|
33
|
+
```
|
34
|
+
EOF
|
35
|
+
|
36
|
+
ES3 = <<EOF
|
37
|
+
class Example
|
38
|
+
def method
|
39
|
+
end
|
40
|
+
end
|
41
|
+
EOF
|
42
|
+
|
43
|
+
ES3HTML = <<EOF
|
44
|
+
<div class="highlight"><pre><span class="k">class</span> <span class="nc">Example</span>
|
45
|
+
<span class="k">def</span> <span class="nf">method</span>
|
46
|
+
<span class="k">end</span>
|
47
|
+
<span class="k">end</span>
|
48
|
+
</pre></div>
|
49
|
+
EOF
|
50
|
+
|
51
|
+
module Reloadlive
|
52
|
+
describe Render do
|
53
|
+
it "renders code" do
|
54
|
+
render = Render.new 'es1.md', ES1
|
55
|
+
render.formatted_data.should eq ES1HTML
|
56
|
+
end
|
57
|
+
|
58
|
+
it "renders YAML front matter" do
|
59
|
+
render = Render.new 'es1.md', ES2
|
60
|
+
render.formatted_data.should eq ES1HTML
|
61
|
+
end
|
62
|
+
|
63
|
+
it "renders source code" do
|
64
|
+
render = Render.new 'ruby.rb', ES3
|
65
|
+
render.formatted_data.chomp.should eq ES3HTML.chomp
|
66
|
+
end
|
67
|
+
|
68
|
+
it "renders source code not pygmentizable" do
|
69
|
+
render = Render.new 'qwerty', 'qwerty source code'
|
70
|
+
render.formatted_data.chomp.should eq '<div class="highlight"><pre><span class="n">qwerty</span> <span class="n">source</span> <span class="n">code</span>
|
71
|
+
</pre></div>'
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
RSpec.configure do |config|
|
8
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
9
|
+
config.run_all_when_everything_filtered = true
|
10
|
+
config.filter_run :focus
|
11
|
+
|
12
|
+
# Run specs in random order to surface order dependencies. If you find an
|
13
|
+
# order dependency and want to debug it, you can fix the order by providing
|
14
|
+
# the seed, which is printed after each run.
|
15
|
+
# --seed 1234
|
16
|
+
config.order = 'random'
|
17
|
+
end
|
18
|
+
|
19
|
+
module Reloadlive
|
20
|
+
@@options = { 'port' => 4567, 'host' => '0.0.0.0', 'static' => Dir.pwd }
|
21
|
+
def self.options
|
22
|
+
@@options
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require 'reloadlive'
|
27
|
+
|
metadata
ADDED
@@ -0,0 +1,286 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: reloadlive
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Alberto Miorin
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-04-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sinatra
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: thin
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: faye
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: listen
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: github-markup
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: github-markdown
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: pygments.rb
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.4.2
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.4.2
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: bundler
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '1.3'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '1.3'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: rake
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: rerun
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: pry
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: pry-debugger
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: guard-rspec
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
description: Reloadlive is a command line tool to easily preview your github-markup
|
223
|
+
files
|
224
|
+
email:
|
225
|
+
- reloadlive@ululi.it
|
226
|
+
executables:
|
227
|
+
- reloadlive
|
228
|
+
extensions: []
|
229
|
+
extra_rdoc_files: []
|
230
|
+
files:
|
231
|
+
- .gitignore
|
232
|
+
- .rspec
|
233
|
+
- .rvmrc
|
234
|
+
- Gemfile
|
235
|
+
- Guardfile
|
236
|
+
- LICENSE.txt
|
237
|
+
- README.md
|
238
|
+
- Rakefile
|
239
|
+
- bin/reloadlive
|
240
|
+
- demo.gif
|
241
|
+
- lib/reloadlive.rb
|
242
|
+
- lib/reloadlive/config.rb
|
243
|
+
- lib/reloadlive/frontend.rb
|
244
|
+
- lib/reloadlive/options.rb
|
245
|
+
- lib/reloadlive/render.rb
|
246
|
+
- lib/reloadlive/static/client.js
|
247
|
+
- lib/reloadlive/static/index.erb
|
248
|
+
- lib/reloadlive/static/style.css
|
249
|
+
- lib/reloadlive/version.rb
|
250
|
+
- reloadlive.gemspec
|
251
|
+
- spec/lib/reloadlive/render_spec.rb
|
252
|
+
- spec/spec_helper.rb
|
253
|
+
homepage: ''
|
254
|
+
licenses:
|
255
|
+
- MIT
|
256
|
+
post_install_message:
|
257
|
+
rdoc_options: []
|
258
|
+
require_paths:
|
259
|
+
- lib
|
260
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
261
|
+
none: false
|
262
|
+
requirements:
|
263
|
+
- - ! '>='
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: '0'
|
266
|
+
segments:
|
267
|
+
- 0
|
268
|
+
hash: 1485948279021729251
|
269
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
270
|
+
none: false
|
271
|
+
requirements:
|
272
|
+
- - ! '>='
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: '0'
|
275
|
+
segments:
|
276
|
+
- 0
|
277
|
+
hash: 1485948279021729251
|
278
|
+
requirements: []
|
279
|
+
rubyforge_project:
|
280
|
+
rubygems_version: 1.8.25
|
281
|
+
signing_key:
|
282
|
+
specification_version: 3
|
283
|
+
summary: Reloadlive is a command line tool to easily preview your github-markup files
|
284
|
+
test_files:
|
285
|
+
- spec/lib/reloadlive/render_spec.rb
|
286
|
+
- spec/spec_helper.rb
|