reloadlive 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.rvmrc +1 -1
- data/README.md +4 -2
- data/lib/reloadlive/config.rb +1 -1
- data/lib/reloadlive/version.rb +1 -1
- metadata +4 -4
data/.rvmrc
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
|
|
7
7
|
# Only full ruby name is supported here, for short names use:
|
|
8
8
|
# echo "rvm use 1.9.3" > .rvmrc
|
|
9
|
-
environment_id="ruby-1.9.3
|
|
9
|
+
environment_id="ruby-1.9.3@reloadlive"
|
|
10
10
|
|
|
11
11
|
# Uncomment the following lines if you want to verify rvm version per project
|
|
12
12
|
# rvmrc_rvm_version="1.18.16 (stable)" # 1.10.1 seams as a safe start
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Reloadlive [](http://badge.fury.io/rb/reloadlive) [](https://codeclimate.com/github/amiorin/reloadlive)
|
|
1
|
+
# Reloadlive [](http://badge.fury.io/rb/reloadlive) [](https://gemnasium.com/amiorin/reloadlive) [](https://codeclimate.com/github/amiorin/reloadlive) [](https://bitdeli.com/free "Bitdeli Badge")
|
|
2
2
|
Reloadlive is a command line tool that renders your markup files in your
|
|
3
3
|
browser without hitting the reload button.
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ You need only to save them. The last saved file will be rendered.
|
|
|
7
7
|
If the extension of the file is unknown, the content will be rendered in the
|
|
8
8
|
browser without modification.
|
|
9
9
|
|
|
10
|
-

|
|
10
|
+

|
|
11
11
|
|
|
12
12
|
## Markups
|
|
13
13
|
|
|
@@ -59,6 +59,7 @@ prints the help
|
|
|
59
59
|
* [Listen][6]
|
|
60
60
|
* [instant-markdonw-d][7]
|
|
61
61
|
* [LiveReload][8]
|
|
62
|
+
* [Pygments][9]
|
|
62
63
|
|
|
63
64
|
## Contributing
|
|
64
65
|
|
|
@@ -77,3 +78,4 @@ prints the help
|
|
|
77
78
|
[6]: https://github.com/guard/listen
|
|
78
79
|
[7]: https://github.com/suan/instant-markdown-d
|
|
79
80
|
[8]: http://livereload.com/
|
|
81
|
+
[9]: http://pygments.org/
|
data/lib/reloadlive/config.rb
CHANGED
|
@@ -48,7 +48,7 @@ module Reloadlive
|
|
|
48
48
|
def thread
|
|
49
49
|
t = Thread.new do
|
|
50
50
|
client = Faye::Client.new("http://localhost:#{options['port']}/faye")
|
|
51
|
-
listener = Listen::
|
|
51
|
+
listener = Listen::Listener.new(*dirs) do |modified, added, removed|
|
|
52
52
|
filename = modified.first ? modified.first :
|
|
53
53
|
added.first ? added.first :
|
|
54
54
|
last_file_changed
|
data/lib/reloadlive/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reloadlive
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: sinatra
|
|
@@ -296,7 +296,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
296
296
|
version: '0'
|
|
297
297
|
segments:
|
|
298
298
|
- 0
|
|
299
|
-
hash: -
|
|
299
|
+
hash: -1215019942262379029
|
|
300
300
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
301
301
|
none: false
|
|
302
302
|
requirements:
|
|
@@ -305,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
305
305
|
version: '0'
|
|
306
306
|
segments:
|
|
307
307
|
- 0
|
|
308
|
-
hash: -
|
|
308
|
+
hash: -1215019942262379029
|
|
309
309
|
requirements: []
|
|
310
310
|
rubyforge_project:
|
|
311
311
|
rubygems_version: 1.8.25
|