tlapse 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/tlapse +23 -0
- data/lib/tlapse/version.rb +1 -1
- data/lib/tlapse.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9163b393232a2f26b4e4baa3845d73fb7d0a3108
|
4
|
+
data.tar.gz: 6287445067bc08eeaaab7233ab9533b019e3db9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf908b9c050b4d98c91107a2ad9835be74d052f495ab5dd3abcb65cb20c9b4bef48068a7785e957a79f55fddccd31451449829b4ef168dfbc930a8d5a58d1f17
|
7
|
+
data.tar.gz: e121dc923820ee1e6a0f54b430e4250288427cda745c1e08c13817ed2963788b4ae8b6cf51241e38a90610504caa2a4d307b3425bac34294e287b782cccd7cb0
|
data/bin/tlapse
CHANGED
@@ -25,6 +25,29 @@ command :single do |c|
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
+
desc "Start a drb server via which photo capturing may be performed remotely"
|
29
|
+
command :serve do |c|
|
30
|
+
|
31
|
+
c.flag :h, :host,
|
32
|
+
desc: "The hostname on which the server is run",
|
33
|
+
default_value: `hostname`,
|
34
|
+
arg_name: "host"
|
35
|
+
|
36
|
+
c.flag :p, :port,
|
37
|
+
desc: "The port on which the server is run",
|
38
|
+
default_value: 9000,
|
39
|
+
arg_name: "port"
|
40
|
+
|
41
|
+
c.action do |global_options, options, args|
|
42
|
+
server = Tlapse::Server.new(
|
43
|
+
host: options[:host],
|
44
|
+
port: options[:port]
|
45
|
+
)
|
46
|
+
puts "Serving on #{server.full_host}"
|
47
|
+
server.serve
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
28
51
|
|
29
52
|
desc "Use ffmpeg to combine all .jpg files in the current directory"
|
30
53
|
command :compile do |c|
|
data/lib/tlapse/version.rb
CHANGED
data/lib/tlapse.rb
CHANGED