roadrunner-live-reload 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/version.rb
CHANGED
@@ -20,8 +20,8 @@
|
|
20
20
|
socket.onmessage = function(msg){
|
21
21
|
var msgJSON = JSON.parse(msg["data"]);
|
22
22
|
rr.resolveChange(msgJSON)
|
23
|
-
}
|
24
|
-
}
|
23
|
+
};
|
24
|
+
};
|
25
25
|
|
26
26
|
/**
|
27
27
|
* Split a file path in path, file and extension
|
@@ -51,7 +51,7 @@
|
|
51
51
|
*/
|
52
52
|
var _warn = function(msg){
|
53
53
|
console.warn("RoadRunner:", msg);
|
54
|
-
}
|
54
|
+
};
|
55
55
|
|
56
56
|
/**
|
57
57
|
* Resolve changes depending on file type
|
@@ -89,7 +89,7 @@
|
|
89
89
|
}
|
90
90
|
resolver.resolve(URLparts);
|
91
91
|
_warn("The file \"" + URLparts.fullPath + "\" has changed at " + msg.modified_at + ".");
|
92
|
-
}
|
92
|
+
};
|
93
93
|
|
94
94
|
/**
|
95
95
|
* Generic strategy to resolve static files changes,
|
@@ -100,7 +100,7 @@
|
|
100
100
|
var GenericResolver = {};
|
101
101
|
GenericResolver.resolve = function(URLparts){
|
102
102
|
location.reload(true);
|
103
|
-
}
|
103
|
+
};
|
104
104
|
|
105
105
|
/**
|
106
106
|
* Strategy to resolve CSS files changes,
|
@@ -120,7 +120,7 @@
|
|
120
120
|
|
121
121
|
}
|
122
122
|
}
|
123
|
-
}
|
123
|
+
};
|
124
124
|
|
125
125
|
RoadRunner.listen();
|
126
126
|
})(window);
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
"LICENSE", "README.md", "Rakefile",
|
21
21
|
"lib/version.rb", "lib/websocket.rb", "src/webserver.rb",
|
22
22
|
"lib/tasks/register.rake", "lib/os.rb",
|
23
|
-
"roadrunner-0.3.
|
23
|
+
"roadrunner-0.3.3.debug.js", "roadrunner-live-reload.gemspec",
|
24
24
|
"roadrunner.sample.yml", "spec/comingsoon.gitkeep",
|
25
25
|
"src/roadrunner.rb", "distr/roadrunner", "distr/roadrunner.bat"]
|
26
26
|
|
data/src/roadrunner.rb
CHANGED
@@ -17,7 +17,6 @@ module RoadRunner
|
|
17
17
|
unless defined? @@config
|
18
18
|
begin
|
19
19
|
@@config = YAML.load_file(config_file)["config"]
|
20
|
-
parse_config_key key
|
21
20
|
rescue
|
22
21
|
puts "Could not found the roadrunner.yml configuration file."
|
23
22
|
puts "To create a new configuration file run 'roadrunner setup', then edit the generated file."
|
@@ -25,7 +24,7 @@ module RoadRunner
|
|
25
24
|
abort
|
26
25
|
end
|
27
26
|
end
|
28
|
-
|
27
|
+
parse_config_key key
|
29
28
|
end
|
30
29
|
|
31
30
|
def self.parse_config_key key
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roadrunner-live-reload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.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: 2014-
|
12
|
+
date: 2014-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -64,7 +64,7 @@ files:
|
|
64
64
|
- src/webserver.rb
|
65
65
|
- lib/tasks/register.rake
|
66
66
|
- lib/os.rb
|
67
|
-
- roadrunner-0.3.
|
67
|
+
- roadrunner-0.3.3.debug.js
|
68
68
|
- roadrunner-live-reload.gemspec
|
69
69
|
- roadrunner.sample.yml
|
70
70
|
- spec/comingsoon.gitkeep
|