halation 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48dd2fe1e89fb9102b965577cf12e0fcaf9b4ce3210ac646274e10c8c3477f1f
4
- data.tar.gz: 882aaf67b8aa97bcfd727e473fe4ee3def955348872cb8c17f8fe7f6f22838ec
3
+ metadata.gz: '0626949324a516ab23debca5f59d37d6dd775bc5eca3fb979be5ac67e6677ca1'
4
+ data.tar.gz: fa745d32b45fc4f73758bf898346322cf9298bc51ffd44ee40f982cd5d6adf5d
5
5
  SHA512:
6
- metadata.gz: 3aba34351db8094199257dafc1285ffd912c04b00c0312f7f63ccf2a3a110e9f54d9c05a86e08e0113d9900ab6e287e6343a05685d6e6f12a6d777ce18076d04
7
- data.tar.gz: 59d061eaf8f5afcf830b05eb74e30b63e3aeeaa97aa6bbf1ef05343042292cc2979a899b04b4ef02c81fac0ef2600c942934f0c0a29d3aeb120f6f70bde071fd
6
+ metadata.gz: 6e8eb1d648b06f0c693a8c4ba9257c2043ca0846ead30fe467537ba95733ed29d1667b2ce6677b9d04d4d9e88ca3093e23b9a5569e6f12dc30adb05421635585
7
+ data.tar.gz: d68b31b2b534057cddaaddf7fbbe95cb4098c586d9654643b39bc16ee8d2de80c8d210c804092d8352750150af092fa6881fe815e45e90f926c0a045580e54db
data/README.md CHANGED
@@ -43,7 +43,7 @@ and information about your cameras.
43
43
  # Example config.yml
44
44
  ---
45
45
  artist: "Example User"
46
- copyright: "2016 Example User"
46
+ copyright: "{{ year_captured }} {{ artist }}"
47
47
  cameras:
48
48
  - tag: "rz67"
49
49
  make: "Mamiya"
@@ -63,6 +63,15 @@ cameras:
63
63
  focal_length: 250
64
64
  ```
65
65
 
66
+ ### Templating
67
+
68
+ Templated values are supported within the YAML files using the moustache
69
+ `{{` `}}` syntax.
70
+
71
+ - `artist` - Available within the `copyright` field to substitute the artist name.
72
+ - `year_captured` - Available within the `copyright` field to substitute the year
73
+ the image was captured.
74
+
66
75
  ## Tags
67
76
 
68
77
  Tags are user-defined values that serve as a quick and simple way to reference
@@ -129,7 +129,7 @@
129
129
 
130
130
  </div>
131
131
  </dt>
132
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.2.1</span><span class='tstring_end'>&quot;</span></span></pre></dd>
132
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.3.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
133
133
 
134
134
  </dl>
135
135
 
@@ -145,7 +145,7 @@
145
145
  </div>
146
146
 
147
147
  <div id="footer">
148
- Generated on Sun May 10 15:34:33 2020 by
148
+ Generated on Sun May 10 21:13:56 2020 by
149
149
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
150
150
  0.9.25 (ruby-2.7.1).
151
151
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Sun May 10 15:34:33 2020 by
438
+ Generated on Sun May 10 21:13:56 2020 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.25 (ruby-2.7.1).
441
441
  </div>
@@ -724,7 +724,7 @@
724
724
  </div>
725
725
 
726
726
  <div id="footer">
727
- Generated on Sun May 10 15:34:34 2020 by
727
+ Generated on Sun May 10 21:13:56 2020 by
728
728
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
729
729
  0.9.25 (ruby-2.7.1).
730
730
  </div>
@@ -616,7 +616,7 @@
616
616
  </div>
617
617
 
618
618
  <div id="footer">
619
- Generated on Sun May 10 15:34:34 2020 by
619
+ Generated on Sun May 10 21:13:57 2020 by
620
620
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
621
621
  0.9.25 (ruby-2.7.1).
622
622
  </div>
@@ -528,7 +528,7 @@
528
528
  </div>
529
529
 
530
530
  <div id="footer">
531
- Generated on Sun May 10 15:34:34 2020 by
531
+ Generated on Sun May 10 21:13:57 2020 by
532
532
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
533
533
  0.9.25 (ruby-2.7.1).
534
534
  </div>
@@ -859,10 +859,7 @@
859
859
  82
860
860
  83
861
861
  84
862
- 85
863
- 86
864
- 87
865
- 88</pre>
862
+ 85</pre>
866
863
  </td>
867
864
  <td>
868
865
  <pre class="code"><span class="info file"># File 'lib/halation/engine.rb', line 50</span>
@@ -886,12 +883,9 @@
886
883
 
887
884
  <span class='const'><span class='object_link'><a href="ExifToolImage.html" title="Halation::ExifToolImage (class)">ExifToolImage</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ExifToolImage.html#initialize-instance_method" title="Halation::ExifToolImage#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid__image_files'>_image_files</span><span class='lbracket'>[</span><span class='id identifier rubyid_i'>i</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_exif'>exif</span><span class='op'>|</span>
888
885
  <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Artist</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_artist'>artist</span> <span class='op'>||</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_artist'>artist</span>
889
- <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Copyright</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_copyright'>copyright</span> <span class='op'>||</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_copyright'>copyright</span>
890
-
891
- <span class='id identifier rubyid_date_created'>date_created</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span> <span class='op'>||</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
892
- <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>DateTimeOriginal</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_date_created'>date_created</span>
893
- <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>CreateDate</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_date_created'>date_created</span>
894
-
886
+ <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Copyright</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_template_copyright'>template_copyright</span><span class='lparen'>(</span><span class='ivar'>@config</span><span class='comma'>,</span> <span class='ivar'>@roll</span><span class='comma'>,</span> <span class='id identifier rubyid_frame'>frame</span><span class='rparen'>)</span>
887
+ <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>DateTimeOriginal</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_date_captured'>date_captured</span> <span class='op'>||</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_date_captured'>date_captured</span>
888
+ <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>CreateDate</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_frame'>frame</span><span class='period'>.</span><span class='id identifier rubyid_date_scanned'>date_scanned</span> <span class='op'>||</span> <span class='ivar'>@roll</span><span class='period'>.</span><span class='id identifier rubyid_date_scanned'>date_scanned</span>
895
889
  <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Make</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_camera'>camera</span><span class='period'>.</span><span class='id identifier rubyid_make'>make</span>
896
890
  <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Model</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_camera'>camera</span><span class='period'>.</span><span class='id identifier rubyid_model'>model</span>
897
891
  <span class='id identifier rubyid_exif'>exif</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>LensModel</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_lens'>lens</span><span class='period'>.</span><span class='id identifier rubyid_model'>model</span>
@@ -916,7 +910,7 @@
916
910
  </div>
917
911
 
918
912
  <div id="footer">
919
- Generated on Sun May 10 15:34:34 2020 by
913
+ Generated on Sun May 10 21:13:56 2020 by
920
914
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
921
915
  0.9.25 (ruby-2.7.1).
922
916
  </div>
@@ -473,7 +473,7 @@
473
473
  </div>
474
474
 
475
475
  <div id="footer">
476
- Generated on Sun May 10 15:34:34 2020 by
476
+ Generated on Sun May 10 21:13:57 2020 by
477
477
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
478
478
  0.9.25 (ruby-2.7.1).
479
479
  </div>
@@ -219,7 +219,7 @@
219
219
  <li class="public ">
220
220
  <span class="summary_signature">
221
221
 
222
- <a href="#date-instance_method" title="#date (instance method)">#<strong>date</strong> &#x21d2; Object </a>
222
+ <a href="#date_captured-instance_method" title="#date_captured (instance method)">#<strong>date_captured</strong> &#x21d2; Object </a>
223
223
 
224
224
 
225
225
 
@@ -239,7 +239,36 @@
239
239
 
240
240
 
241
241
  <span class="summary_desc"><div class='inline'>
242
- <p>Default date for all frames in ISO 8601 format (optional).</p>
242
+ <p>Default date a frame was captured for all frames, in ISO 8601 format (optional).</p>
243
+ </div></span>
244
+
245
+ </li>
246
+
247
+
248
+ <li class="public ">
249
+ <span class="summary_signature">
250
+
251
+ <a href="#date_scanned-instance_method" title="#date_scanned (instance method)">#<strong>date_scanned</strong> &#x21d2; Object </a>
252
+
253
+
254
+
255
+ </span>
256
+
257
+
258
+
259
+
260
+ <span class="note title readonly">readonly</span>
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+ <span class="summary_desc"><div class='inline'>
271
+ <p>Default date a frame was scanned (digitized) for all frames, in ISO 8601 format (optional).</p>
243
272
  </div></span>
244
273
 
245
274
  </li>
@@ -451,12 +480,12 @@
451
480
  <pre class="lines">
452
481
 
453
482
 
454
- 23
455
- 24
456
- 25</pre>
483
+ 27
484
+ 28
485
+ 29</pre>
457
486
  </td>
458
487
  <td>
459
- <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 23</span>
488
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 27</span>
460
489
 
461
490
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
462
491
  <span class='id identifier rubyid_reset'>reset</span>
@@ -542,12 +571,12 @@
542
571
  <pre class="lines">
543
572
 
544
573
 
545
- 15
546
- 16
547
- 17</pre>
574
+ 19
575
+ 20
576
+ 21</pre>
548
577
  </td>
549
578
  <td>
550
- <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 15</span>
579
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 19</span>
551
580
 
552
581
  <span class='kw'>def</span> <span class='id identifier rubyid_camera'>camera</span>
553
582
  <span class='ivar'>@camera</span>
@@ -603,9 +632,9 @@
603
632
 
604
633
  <span id=""></span>
605
634
  <div class="method_details ">
606
- <h3 class="signature " id="date-instance_method">
635
+ <h3 class="signature " id="date_captured-instance_method">
607
636
 
608
- #<strong>date</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
637
+ #<strong>date_captured</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
609
638
 
610
639
 
611
640
 
@@ -614,7 +643,7 @@
614
643
  </h3><div class="docstring">
615
644
  <div class="discussion">
616
645
 
617
- <p>Default date for all frames in ISO 8601 format (optional).</p>
646
+ <p>Default date a frame was captured for all frames, in ISO 8601 format (optional).</p>
618
647
 
619
648
 
620
649
  </div>
@@ -628,15 +657,58 @@
628
657
  <pre class="lines">
629
658
 
630
659
 
631
- 13
632
660
  14
633
- 15</pre>
661
+ 15
662
+ 16</pre>
634
663
  </td>
635
664
  <td>
636
- <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 13</span>
665
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 14</span>
637
666
 
638
- <span class='kw'>def</span> <span class='id identifier rubyid_date'>date</span>
639
- <span class='ivar'>@date</span>
667
+ <span class='kw'>def</span> <span class='id identifier rubyid_date_captured'>date_captured</span>
668
+ <span class='ivar'>@date_captured</span>
669
+ <span class='kw'>end</span></pre>
670
+ </td>
671
+ </tr>
672
+ </table>
673
+ </div>
674
+
675
+
676
+ <span id=""></span>
677
+ <div class="method_details ">
678
+ <h3 class="signature " id="date_scanned-instance_method">
679
+
680
+ #<strong>date_scanned</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
681
+
682
+
683
+
684
+
685
+
686
+ </h3><div class="docstring">
687
+ <div class="discussion">
688
+
689
+ <p>Default date a frame was scanned (digitized) for all frames, in ISO 8601 format (optional).</p>
690
+
691
+
692
+ </div>
693
+ </div>
694
+ <div class="tags">
695
+
696
+
697
+ </div><table class="source_code">
698
+ <tr>
699
+ <td>
700
+ <pre class="lines">
701
+
702
+
703
+ 17
704
+ 18
705
+ 19</pre>
706
+ </td>
707
+ <td>
708
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 17</span>
709
+
710
+ <span class='kw'>def</span> <span class='id identifier rubyid_date_scanned'>date_scanned</span>
711
+ <span class='ivar'>@date_scanned</span>
640
712
  <span class='kw'>end</span></pre>
641
713
  </td>
642
714
  </tr>
@@ -671,12 +743,12 @@
671
743
  <pre class="lines">
672
744
 
673
745
 
674
- 21
675
- 22
676
- 23</pre>
746
+ 25
747
+ 26
748
+ 27</pre>
677
749
  </td>
678
750
  <td>
679
- <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 21</span>
751
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 25</span>
680
752
 
681
753
  <span class='kw'>def</span> <span class='id identifier rubyid_frames'>frames</span>
682
754
  <span class='ivar'>@frames</span>
@@ -714,12 +786,12 @@
714
786
  <pre class="lines">
715
787
 
716
788
 
717
- 19
718
- 20
719
- 21</pre>
789
+ 23
790
+ 24
791
+ 25</pre>
720
792
  </td>
721
793
  <td>
722
- <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 19</span>
794
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 23</span>
723
795
 
724
796
  <span class='kw'>def</span> <span class='id identifier rubyid_iso'>iso</span>
725
797
  <span class='ivar'>@iso</span>
@@ -757,12 +829,12 @@
757
829
  <pre class="lines">
758
830
 
759
831
 
760
- 17
761
- 18
762
- 19</pre>
832
+ 21
833
+ 22
834
+ 23</pre>
763
835
  </td>
764
836
  <td>
765
- <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 17</span>
837
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 21</span>
766
838
 
767
839
  <span class='kw'>def</span> <span class='id identifier rubyid_lens'>lens</span>
768
840
  <span class='ivar'>@lens</span>
@@ -805,11 +877,6 @@
805
877
  <pre class="lines">
806
878
 
807
879
 
808
- 39
809
- 40
810
- 41
811
- 42
812
- 43
813
880
  44
814
881
  45
815
882
  46
@@ -820,10 +887,16 @@
820
887
  51
821
888
  52
822
889
  53
823
- 54</pre>
890
+ 54
891
+ 55
892
+ 56
893
+ 57
894
+ 58
895
+ 59
896
+ 60</pre>
824
897
  </td>
825
898
  <td>
826
- <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 39</span>
899
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 44</span>
827
900
 
828
901
  <span class='kw'>def</span> <span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_file_path'>file_path</span><span class='rparen'>)</span>
829
902
  <span class='id identifier rubyid_reset'>reset</span>
@@ -831,7 +904,8 @@
831
904
  <span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_file_path'>file_path</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_roll'>roll</span><span class='op'>|</span>
832
905
  <span class='ivar'>@artist</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_string'><span class='object_link'><a href="Coerce.html#string-class_method" title="Halation::Coerce.string (method)">string</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>artist</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
833
906
  <span class='ivar'>@copyright</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_string'><span class='object_link'><a href="Coerce.html#string-class_method" title="Halation::Coerce.string (method)">string</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>copyright</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
834
- <span class='ivar'>@date</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_date'><span class='object_link'><a href="Coerce.html#date-class_method" title="Halation::Coerce.date (method)">date</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>date</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
907
+ <span class='ivar'>@date_captured</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_date'><span class='object_link'><a href="Coerce.html#date-class_method" title="Halation::Coerce.date (method)">date</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>date_captured</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
908
+ <span class='ivar'>@date_scanned</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_date'><span class='object_link'><a href="Coerce.html#date-class_method" title="Halation::Coerce.date (method)">date</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>date_scanned</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
835
909
  <span class='ivar'>@camera</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_string'><span class='object_link'><a href="Coerce.html#string-class_method" title="Halation::Coerce.string (method)">string</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>camera</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
836
910
  <span class='ivar'>@lens</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_string'><span class='object_link'><a href="Coerce.html#string-class_method" title="Halation::Coerce.string (method)">string</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>lens</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
837
911
  <span class='ivar'>@iso</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_integer'><span class='object_link'><a href="Coerce.html#integer-class_method" title="Halation::Coerce.integer (method)">integer</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_roll'>roll</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>iso</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
@@ -872,23 +946,25 @@
872
946
  <pre class="lines">
873
947
 
874
948
 
875
- 28
876
- 29
877
- 30
878
- 31
879
949
  32
880
950
  33
881
951
  34
882
952
  35
883
- 36</pre>
953
+ 36
954
+ 37
955
+ 38
956
+ 39
957
+ 40
958
+ 41</pre>
884
959
  </td>
885
960
  <td>
886
- <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 28</span>
961
+ <pre class="code"><span class="info file"># File 'lib/halation/roll.rb', line 32</span>
887
962
 
888
963
  <span class='kw'>def</span> <span class='id identifier rubyid_reset'>reset</span>
889
964
  <span class='ivar'>@artist</span> <span class='op'>=</span> <span class='kw'>nil</span>
890
965
  <span class='ivar'>@copyright</span> <span class='op'>=</span> <span class='kw'>nil</span>
891
- <span class='ivar'>@date</span> <span class='op'>=</span> <span class='kw'>nil</span>
966
+ <span class='ivar'>@date_captured</span> <span class='op'>=</span> <span class='kw'>nil</span>
967
+ <span class='ivar'>@date_scanned</span> <span class='op'>=</span> <span class='kw'>nil</span>
892
968
  <span class='ivar'>@camera</span> <span class='op'>=</span> <span class='kw'>nil</span>
893
969
  <span class='ivar'>@lens</span> <span class='op'>=</span> <span class='kw'>nil</span>
894
970
  <span class='ivar'>@iso</span> <span class='op'>=</span> <span class='kw'>nil</span>
@@ -904,7 +980,7 @@
904
980
  </div>
905
981
 
906
982
  <div id="footer">
907
- Generated on Sun May 10 15:34:33 2020 by
983
+ Generated on Sun May 10 21:13:56 2020 by
908
984
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
909
985
  0.9.25 (ruby-2.7.1).
910
986
  </div>
@@ -149,7 +149,7 @@
149
149
  <li class="public ">
150
150
  <span class="summary_signature">
151
151
 
152
- <a href="#date-instance_method" title="#date (instance method)">#<strong>date</strong> &#x21d2; Object </a>
152
+ <a href="#date_captured-instance_method" title="#date_captured (instance method)">#<strong>date_captured</strong> &#x21d2; Object </a>
153
153
 
154
154
 
155
155
 
@@ -169,7 +169,36 @@
169
169
 
170
170
 
171
171
  <span class="summary_desc"><div class='inline'>
172
- <p>Date the frame was captured in ISO 8601 format.</p>
172
+ <p>Date the frame was captured, in ISO 8601 format.</p>
173
+ </div></span>
174
+
175
+ </li>
176
+
177
+
178
+ <li class="public ">
179
+ <span class="summary_signature">
180
+
181
+ <a href="#date_scanned-instance_method" title="#date_scanned (instance method)">#<strong>date_scanned</strong> &#x21d2; Object </a>
182
+
183
+
184
+
185
+ </span>
186
+
187
+
188
+
189
+
190
+ <span class="note title readonly">readonly</span>
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+ <span class="summary_desc"><div class='inline'>
201
+ <p>Date the frame was scanned (digitized), in ISO 8601 format.</p>
173
202
  </div></span>
174
203
 
175
204
  </li>
@@ -420,8 +449,6 @@
420
449
  <pre class="lines">
421
450
 
422
451
 
423
- 34
424
- 35
425
452
  36
426
453
  37
427
454
  38
@@ -429,14 +456,18 @@
429
456
  40
430
457
  41
431
458
  42
432
- 43</pre>
459
+ 43
460
+ 44
461
+ 45
462
+ 46</pre>
433
463
  </td>
434
464
  <td>
435
- <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 34</span>
465
+ <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 36</span>
436
466
 
437
467
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_yaml'>yaml</span><span class='rparen'>)</span>
438
468
  <span class='ivar'>@number</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_integer'><span class='object_link'><a href="../Coerce.html#integer-class_method" title="Halation::Coerce.integer (method)">integer</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_yaml'>yaml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>number</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
439
- <span class='ivar'>@date</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_date'><span class='object_link'><a href="../Coerce.html#date-class_method" title="Halation::Coerce.date (method)">date</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_yaml'>yaml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>date</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
469
+ <span class='ivar'>@date_captured</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_date'><span class='object_link'><a href="../Coerce.html#date-class_method" title="Halation::Coerce.date (method)">date</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_yaml'>yaml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>date_captured</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
470
+ <span class='ivar'>@date_scanned</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_date'><span class='object_link'><a href="../Coerce.html#date-class_method" title="Halation::Coerce.date (method)">date</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_yaml'>yaml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>date_scanned</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
440
471
  <span class='ivar'>@lens</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_string'><span class='object_link'><a href="../Coerce.html#string-class_method" title="Halation::Coerce.string (method)">string</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_yaml'>yaml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>lens</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
441
472
  <span class='ivar'>@focal_length</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_integer'><span class='object_link'><a href="../Coerce.html#integer-class_method" title="Halation::Coerce.integer (method)">integer</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_yaml'>yaml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>focal_length</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
442
473
  <span class='ivar'>@shutter</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Coerce.html" title="Halation::Coerce (class)">Coerce</a></span></span><span class='period'>.</span><span class='id identifier rubyid_string'><span class='object_link'><a href="../Coerce.html#string-class_method" title="Halation::Coerce.string (method)">string</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_yaml'>yaml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>shutter</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
@@ -482,12 +513,12 @@
482
513
  <pre class="lines">
483
514
 
484
515
 
485
- 21
486
- 22
487
- 23</pre>
516
+ 23
517
+ 24
518
+ 25</pre>
488
519
  </td>
489
520
  <td>
490
- <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 21</span>
521
+ <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 23</span>
491
522
 
492
523
  <span class='kw'>def</span> <span class='id identifier rubyid_aperture'>aperture</span>
493
524
  <span class='ivar'>@aperture</span>
@@ -500,9 +531,9 @@
500
531
 
501
532
  <span id=""></span>
502
533
  <div class="method_details ">
503
- <h3 class="signature " id="date-instance_method">
534
+ <h3 class="signature " id="date_captured-instance_method">
504
535
 
505
- #<strong>date</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
536
+ #<strong>date_captured</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
506
537
 
507
538
 
508
539
 
@@ -511,7 +542,7 @@
511
542
  </h3><div class="docstring">
512
543
  <div class="discussion">
513
544
 
514
- <p>Date the frame was captured in ISO 8601 format.</p>
545
+ <p>Date the frame was captured, in ISO 8601 format.</p>
515
546
 
516
547
 
517
548
  </div>
@@ -532,8 +563,51 @@
532
563
  <td>
533
564
  <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 10</span>
534
565
 
535
- <span class='kw'>def</span> <span class='id identifier rubyid_date'>date</span>
536
- <span class='ivar'>@date</span>
566
+ <span class='kw'>def</span> <span class='id identifier rubyid_date_captured'>date_captured</span>
567
+ <span class='ivar'>@date_captured</span>
568
+ <span class='kw'>end</span></pre>
569
+ </td>
570
+ </tr>
571
+ </table>
572
+ </div>
573
+
574
+
575
+ <span id=""></span>
576
+ <div class="method_details ">
577
+ <h3 class="signature " id="date_scanned-instance_method">
578
+
579
+ #<strong>date_scanned</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
580
+
581
+
582
+
583
+
584
+
585
+ </h3><div class="docstring">
586
+ <div class="discussion">
587
+
588
+ <p>Date the frame was scanned (digitized), in ISO 8601 format.</p>
589
+
590
+
591
+ </div>
592
+ </div>
593
+ <div class="tags">
594
+
595
+
596
+ </div><table class="source_code">
597
+ <tr>
598
+ <td>
599
+ <pre class="lines">
600
+
601
+
602
+ 12
603
+ 13
604
+ 14</pre>
605
+ </td>
606
+ <td>
607
+ <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 12</span>
608
+
609
+ <span class='kw'>def</span> <span class='id identifier rubyid_date_scanned'>date_scanned</span>
610
+ <span class='ivar'>@date_scanned</span>
537
611
  <span class='kw'>end</span></pre>
538
612
  </td>
539
613
  </tr>
@@ -568,12 +642,12 @@
568
642
  <pre class="lines">
569
643
 
570
644
 
571
- 23
572
- 24
573
- 25</pre>
645
+ 25
646
+ 26
647
+ 27</pre>
574
648
  </td>
575
649
  <td>
576
- <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 23</span>
650
+ <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 25</span>
577
651
 
578
652
  <span class='kw'>def</span> <span class='id identifier rubyid_flash'>flash</span>
579
653
  <span class='ivar'>@flash</span>
@@ -611,12 +685,12 @@
611
685
  <pre class="lines">
612
686
 
613
687
 
614
- 15
615
- 16
616
- 17</pre>
688
+ 17
689
+ 18
690
+ 19</pre>
617
691
  </td>
618
692
  <td>
619
- <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 15</span>
693
+ <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 17</span>
620
694
 
621
695
  <span class='kw'>def</span> <span class='id identifier rubyid_focal_length'>focal_length</span>
622
696
  <span class='ivar'>@focal_length</span>
@@ -654,12 +728,12 @@
654
728
  <pre class="lines">
655
729
 
656
730
 
657
- 12
658
- 13
659
- 14</pre>
731
+ 14
732
+ 15
733
+ 16</pre>
660
734
  </td>
661
735
  <td>
662
- <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 12</span>
736
+ <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 14</span>
663
737
 
664
738
  <span class='kw'>def</span> <span class='id identifier rubyid_lens'>lens</span>
665
739
  <span class='ivar'>@lens</span>
@@ -740,12 +814,12 @@
740
814
  <pre class="lines">
741
815
 
742
816
 
743
- 32
744
- 33
745
- 34</pre>
817
+ 34
818
+ 35
819
+ 36</pre>
746
820
  </td>
747
821
  <td>
748
- <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 32</span>
822
+ <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 34</span>
749
823
 
750
824
  <span class='kw'>def</span> <span class='id identifier rubyid_orientation'>orientation</span>
751
825
  <span class='ivar'>@orientation</span>
@@ -803,12 +877,12 @@
803
877
  <pre class="lines">
804
878
 
805
879
 
806
- 19
807
- 20
808
- 21</pre>
880
+ 21
881
+ 22
882
+ 23</pre>
809
883
  </td>
810
884
  <td>
811
- <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 19</span>
885
+ <pre class="code"><span class="info file"># File 'lib/halation/roll/frame.rb', line 21</span>
812
886
 
813
887
  <span class='kw'>def</span> <span class='id identifier rubyid_shutter'>shutter</span>
814
888
  <span class='ivar'>@shutter</span>
@@ -824,7 +898,7 @@
824
898
  </div>
825
899
 
826
900
  <div id="footer">
827
- Generated on Sun May 10 15:34:34 2020 by
901
+ Generated on Sun May 10 21:13:57 2020 by
828
902
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
829
903
  0.9.25 (ruby-2.7.1).
830
904
  </div>