tlapse 0.3.1 → 0.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75a149a060cd59b3be69dedfccfa9baab8f7f5d9
4
- data.tar.gz: 1dadf43b35a2a1da88ab696e7460a28c031d2af2
3
+ metadata.gz: c2ed5fc48099ad9ff7169afb1553ccc446a5ab2b
4
+ data.tar.gz: a1cea862c5d1c619cb694f21d363dead569d8bef
5
5
  SHA512:
6
- metadata.gz: a52fd8c8ce0220705c89da78230bf98591e54b6abf9d2bc50403ce9dc50fcfd7c5ba82b33c3f709581d127fe8aa6e23d50ed2de8cb2d3fd9f670b97f978a2440
7
- data.tar.gz: 3ede92ff4ed15bb1e2838bc8b5c8ab3117e54b6346e9aa7236e5c6bfb1762f7986668b726c65731243f81298b23aa21e5c753e7fdc721c2146b81233610ee80c
6
+ metadata.gz: eac506945ef939bad47e5ea0d9e1be02eed8c7cb47a3f73b1728350686c58b2961cc58842c72e8c21bb6dd36026199cad7a583f1ed4c163d60156d35423c71ce
7
+ data.tar.gz: 45b2fba3728e23a93ac5d35e3b5617c0ed91399488daaa8a88a2886ab226bad7a212129484cf26950a0e376e54571f41bf9313dd0679f4732879fc1ccbb0c9ae
data/bin/tlapse CHANGED
@@ -21,7 +21,7 @@ end
21
21
  desc "Capture a single photo, saving it to the current directory"
22
22
  command :capture do |c|
23
23
  c.action do |global_options, options, args|
24
- capture_single
24
+ Tlapse::Capture.capture_single
25
25
  end
26
26
  end
27
27
 
@@ -50,7 +50,6 @@ end
50
50
 
51
51
  desc "Use ffmpeg to combine all .jpg files in the current directory"
52
52
  command :compile do |c|
53
-
54
53
  c.switch :f, :force,
55
54
  desc: "Force overwrite existing output files",
56
55
  negatable: false
@@ -46,7 +46,11 @@ module Tlapse
46
46
  end_time: to,
47
47
  interval: interval
48
48
  )
49
- "gphoto2 --capture-image-and-download -I #{interval} -F #{captures}"
49
+
50
+ command = "gphoto2 --capture-image-and-download"
51
+ command += " -I #{interval}"
52
+ command += " -F #{captures}"
53
+ command += ' --filename "%Y-%m-%d_%H-%M-%S.jpg"'
50
54
  end
51
55
 
52
56
  ##
@@ -1,3 +1,3 @@
1
1
  module Tlapse
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tlapse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Toniazzo