aperture 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. data/.document +5 -0
  2. data/.gitignore +22 -0
  3. data/LICENSE +20 -0
  4. data/README.rdoc +20 -0
  5. data/Rakefile +69 -0
  6. data/VERSION +1 -0
  7. data/aperture.gemspec +198 -0
  8. data/lib/aperture.rb +20 -0
  9. data/lib/aperture/album.rb +17 -0
  10. data/lib/aperture/library.rb +95 -0
  11. data/lib/aperture/photo.rb +27 -0
  12. data/lib/aperture/photo_set.rb +88 -0
  13. data/lib/aperture/project.rb +16 -0
  14. data/lib/aperture/version.rb +20 -0
  15. data/test/data/ Built-in Smart Albums/.implicitAlbum +123 -0
  16. data/test/data/ Built-in Smart Albums/090-entireLibraryQuery.apsmartalbum +159 -0
  17. data/test/data/ Built-in Smart Albums/100-selectsQuery.apsmartalbum +159 -0
  18. data/test/data/ Built-in Smart Albums/200-oneStarQuery.apsmartalbum +159 -0
  19. data/test/data/ Built-in Smart Albums/300-rejectedQuery.apsmartalbum +159 -0
  20. data/test/data/ Built-in Smart Albums/400-inTheLastWeekQuery.apsmartalbum +159 -0
  21. data/test/data/ Built-in Smart Albums/500-inTheLastMonthQuery.apsmartalbum +159 -0
  22. data/test/data/ Built-in Smart Albums/Info.apfolder +26 -0
  23. data/test/data/.implicitAlbum +123 -0
  24. data/test/data/DSLR.approject/2009-12-11 @ 10:09:42 AM - 1.apimportgroup/CRW_0001 - 2008-07-04 at 11-34-52/CRW_0001 - 2008-07-04 at 11-34-52.CRW.apfile +40 -0
  25. data/test/data/DSLR.approject/2009-12-11 @ 10:09:42 AM - 1.apimportgroup/CRW_0001 - 2008-07-04 at 11-34-52/Info.apmaster +18 -0
  26. data/test/data/DSLR.approject/2009-12-11 @ 10:09:42 AM - 1.apimportgroup/CRW_0001 - 2008-07-04 at 11-34-52/OriginalVersionInfo.apversion +162 -0
  27. data/test/data/DSLR.approject/2009-12-11 @ 10:09:42 AM - 1.apimportgroup/CRW_0001 - 2008-07-04 at 11-34-52/Version-1.apversion +215 -0
  28. data/test/data/DSLR.approject/2009-12-11 @ 10:09:52 AM - 2.apimportgroup/CRW_0002 - 2008-07-04 at 11-36-00/CRW_0002 - 2008-07-04 at 11-36-00.CRW.apfile +40 -0
  29. data/test/data/DSLR.approject/2009-12-11 @ 10:09:52 AM - 2.apimportgroup/CRW_0002 - 2008-07-04 at 11-36-00/Info.apmaster +18 -0
  30. data/test/data/DSLR.approject/2009-12-11 @ 10:09:52 AM - 2.apimportgroup/CRW_0002 - 2008-07-04 at 11-36-00/OriginalVersionInfo.apversion +162 -0
  31. data/test/data/DSLR.approject/2009-12-11 @ 10:09:52 AM - 2.apimportgroup/CRW_0002 - 2008-07-04 at 11-36-00/Version-1.apversion +215 -0
  32. data/test/data/DSLR.approject/2009-12-11 @ 10:10:03 AM - 3.apimportgroup/CRW_0003 - 2008-07-04 at 11-36-00/CRW_0003 - 2008-07-04 at 11-36-00.CRW.apfile +40 -0
  33. data/test/data/DSLR.approject/2009-12-11 @ 10:10:03 AM - 3.apimportgroup/CRW_0003 - 2008-07-04 at 11-36-00/Info.apmaster +18 -0
  34. data/test/data/DSLR.approject/2009-12-11 @ 10:10:03 AM - 3.apimportgroup/CRW_0003 - 2008-07-04 at 11-36-00/OriginalVersionInfo.apversion +162 -0
  35. data/test/data/DSLR.approject/2009-12-11 @ 10:10:03 AM - 3.apimportgroup/CRW_0003 - 2008-07-04 at 11-36-00/Version-1.apversion +215 -0
  36. data/test/data/DSLR.approject/2009-12-11 @ 10:10:11 AM - 4.apimportgroup/CRW_0004 - 2008-07-04 at 11-36-02/CRW_0004 - 2008-07-04 at 11-36-02.CRW.apfile +40 -0
  37. data/test/data/DSLR.approject/2009-12-11 @ 10:10:11 AM - 4.apimportgroup/CRW_0004 - 2008-07-04 at 11-36-02/Info.apmaster +18 -0
  38. data/test/data/DSLR.approject/2009-12-11 @ 10:10:11 AM - 4.apimportgroup/CRW_0004 - 2008-07-04 at 11-36-02/OriginalVersionInfo.apversion +162 -0
  39. data/test/data/DSLR.approject/2009-12-11 @ 10:10:11 AM - 4.apimportgroup/CRW_0004 - 2008-07-04 at 11-36-02/Version-1.apversion +215 -0
  40. data/test/data/DSLR.approject/2009-12-11 @ 10:10:21 AM - 5.apimportgroup/CRW_0005 - 2008-07-04 at 11-36-38/CRW_0005 - 2008-07-04 at 11-36-38.CRW.apfile +40 -0
  41. data/test/data/DSLR.approject/2009-12-11 @ 10:10:21 AM - 5.apimportgroup/CRW_0005 - 2008-07-04 at 11-36-38/Info.apmaster +18 -0
  42. data/test/data/DSLR.approject/2009-12-11 @ 10:10:21 AM - 5.apimportgroup/CRW_0005 - 2008-07-04 at 11-36-38/OriginalVersionInfo.apversion +162 -0
  43. data/test/data/DSLR.approject/2009-12-11 @ 10:10:21 AM - 5.apimportgroup/CRW_0005 - 2008-07-04 at 11-36-38/Version-1.apversion +215 -0
  44. data/test/data/DSLR.approject/2009-12-11 @ 10:10:30 AM - 6.apimportgroup/CRW_0006 - 2008-07-04 at 11-40-50/CRW_0006 - 2008-07-04 at 11-40-50.CRW.apfile +40 -0
  45. data/test/data/DSLR.approject/2009-12-11 @ 10:10:30 AM - 6.apimportgroup/CRW_0006 - 2008-07-04 at 11-40-50/Info.apmaster +18 -0
  46. data/test/data/DSLR.approject/2009-12-11 @ 10:10:30 AM - 6.apimportgroup/CRW_0006 - 2008-07-04 at 11-40-50/OriginalVersionInfo.apversion +162 -0
  47. data/test/data/DSLR.approject/2009-12-11 @ 10:10:30 AM - 6.apimportgroup/CRW_0006 - 2008-07-04 at 11-40-50/Version-1.apversion +215 -0
  48. data/test/data/DSLR.approject/2009-12-11 @ 10:10:39 AM - 7.apimportgroup/CRW_0007 - 2008-07-04 at 11-54-00/CRW_0007 - 2008-07-04 at 11-54-00.CRW.apfile +40 -0
  49. data/test/data/DSLR.approject/2009-12-11 @ 10:10:39 AM - 7.apimportgroup/CRW_0007 - 2008-07-04 at 11-54-00/Info.apmaster +18 -0
  50. data/test/data/DSLR.approject/2009-12-11 @ 10:10:39 AM - 7.apimportgroup/CRW_0007 - 2008-07-04 at 11-54-00/OriginalVersionInfo.apversion +162 -0
  51. data/test/data/DSLR.approject/2009-12-11 @ 10:10:39 AM - 7.apimportgroup/CRW_0007 - 2008-07-04 at 11-54-00/Version-1.apversion +215 -0
  52. data/test/data/DSLR.approject/2009-12-11 @ 10:10:51 AM - 8.apimportgroup/CRW_0008 - 2008-07-04 at 11-54-02/CRW_0008 - 2008-07-04 at 11-54-02.CRW.apfile +40 -0
  53. data/test/data/DSLR.approject/2009-12-11 @ 10:10:51 AM - 8.apimportgroup/CRW_0008 - 2008-07-04 at 11-54-02/Info.apmaster +18 -0
  54. data/test/data/DSLR.approject/2009-12-11 @ 10:10:51 AM - 8.apimportgroup/CRW_0008 - 2008-07-04 at 11-54-02/OriginalVersionInfo.apversion +162 -0
  55. data/test/data/DSLR.approject/2009-12-11 @ 10:10:51 AM - 8.apimportgroup/CRW_0008 - 2008-07-04 at 11-54-02/Version-1.apversion +215 -0
  56. data/test/data/DSLR.approject/2009-12-11 @ 10:10:59 AM - 9.apimportgroup/CRW_0009 - 2008-07-04 at 11-54-48/CRW_0009 - 2008-07-04 at 11-54-48.CRW.apfile +40 -0
  57. data/test/data/DSLR.approject/2009-12-11 @ 10:10:59 AM - 9.apimportgroup/CRW_0009 - 2008-07-04 at 11-54-48/Info.apmaster +18 -0
  58. data/test/data/DSLR.approject/2009-12-11 @ 10:10:59 AM - 9.apimportgroup/CRW_0009 - 2008-07-04 at 11-54-48/OriginalVersionInfo.apversion +162 -0
  59. data/test/data/DSLR.approject/2009-12-11 @ 10:10:59 AM - 9.apimportgroup/CRW_0009 - 2008-07-04 at 11-54-48/Version-1.apversion +215 -0
  60. data/test/data/DSLR.approject/Album.implicitAlbum +123 -0
  61. data/test/data/DSLR.approject/Info.apfolder +36 -0
  62. data/test/data/Info.apfolder +24 -0
  63. data/test/data/Misc.approject/2009-12-10 @ 04:09:41 PM - 1.apimportgroup/IMG_0459/IMG_0459 - 2009-12-01 at 22-51-38.PNG.apfile +40 -0
  64. data/test/data/Misc.approject/2009-12-10 @ 04:09:41 PM - 1.apimportgroup/IMG_0459/Info.apmaster +18 -0
  65. data/test/data/Misc.approject/2009-12-10 @ 04:09:41 PM - 1.apimportgroup/IMG_0459/OriginalVersionInfo.apversion +95 -0
  66. data/test/data/Misc.approject/2009-12-10 @ 04:09:41 PM - 1.apimportgroup/IMG_0459/Version-1.apversion +107 -0
  67. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/2008-Costume Contest 030.jpg.apfile +40 -0
  68. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Info.apmaster +18 -0
  69. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/OriginalVersionInfo.apversion +137 -0
  70. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-1.apversion +164 -0
  71. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-10.apversion +162 -0
  72. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-11.apversion +162 -0
  73. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-2.apversion +162 -0
  74. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-3.apversion +162 -0
  75. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-4.apversion +162 -0
  76. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-5.apversion +162 -0
  77. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-6.apversion +162 -0
  78. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-7.apversion +162 -0
  79. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-8.apversion +162 -0
  80. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-9.apversion +162 -0
  81. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/IMG_3690/IMG_3690.jpg.apfile +40 -0
  82. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/IMG_3690/Info.apmaster +18 -0
  83. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/IMG_3690/OriginalVersionInfo.apversion +131 -0
  84. data/test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/IMG_3690/Version-1.apversion +152 -0
  85. data/test/data/Misc.approject/Album.implicitAlbum +132 -0
  86. data/test/data/Misc.approject/Halloween.apalbum +145 -0
  87. data/test/data/Misc.approject/Info.apfolder +36 -0
  88. data/test/data/TestFolder/.implicitAlbum +123 -0
  89. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753/IMG_1753.JPG.apfile +40 -0
  90. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753/Info.apmaster +18 -0
  91. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753/OriginalVersionInfo.apversion +139 -0
  92. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753/Version-1.apversion +160 -0
  93. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1754/IMG_1754.JPG.apfile +40 -0
  94. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1754/Info.apmaster +18 -0
  95. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1754/OriginalVersionInfo.apversion +139 -0
  96. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1754/Version-1.apversion +160 -0
  97. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1755/IMG_1755.JPG.apfile +40 -0
  98. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1755/Info.apmaster +18 -0
  99. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1755/OriginalVersionInfo.apversion +139 -0
  100. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1755/Version-1.apversion +160 -0
  101. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1756/IMG_1756.JPG.apfile +40 -0
  102. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1756/Info.apmaster +18 -0
  103. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1756/OriginalVersionInfo.apversion +139 -0
  104. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1756/Version-1.apversion +160 -0
  105. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1757/IMG_1757.JPG.apfile +40 -0
  106. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1757/Info.apmaster +18 -0
  107. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1757/OriginalVersionInfo.apversion +139 -0
  108. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1757/Version-1.apversion +160 -0
  109. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1758/IMG_1758.JPG.apfile +40 -0
  110. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1758/Info.apmaster +18 -0
  111. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1758/OriginalVersionInfo.apversion +139 -0
  112. data/test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1758/Version-1.apversion +160 -0
  113. data/test/data/TestFolder/Fireworks.approject/Album.implicitAlbum +123 -0
  114. data/test/data/TestFolder/Fireworks.approject/Info.apfolder +36 -0
  115. data/test/data/TestFolder/Info.apfolder +26 -0
  116. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1943/IMG_1943.JPG.apfile +40 -0
  117. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1943/Info.apmaster +18 -0
  118. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1943/OriginalVersionInfo.apversion +139 -0
  119. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1943/Version-1.apversion +162 -0
  120. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1944/IMG_1944.JPG.apfile +40 -0
  121. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1944/Info.apmaster +18 -0
  122. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1944/OriginalVersionInfo.apversion +139 -0
  123. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1944/Version-1.apversion +162 -0
  124. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1945/IMG_1945.JPG.apfile +40 -0
  125. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1945/Info.apmaster +18 -0
  126. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1945/OriginalVersionInfo.apversion +139 -0
  127. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1945/Version-1.apversion +162 -0
  128. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1946/IMG_1946.JPG.apfile +40 -0
  129. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1946/Info.apmaster +18 -0
  130. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1946/OriginalVersionInfo.apversion +139 -0
  131. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1946/Version-1.apversion +162 -0
  132. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1947/IMG_1947.JPG.apfile +40 -0
  133. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1947/Info.apmaster +18 -0
  134. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1947/OriginalVersionInfo.apversion +139 -0
  135. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1947/Version-1.apversion +162 -0
  136. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1948/IMG_1948.JPG.apfile +40 -0
  137. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1948/Info.apmaster +18 -0
  138. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1948/OriginalVersionInfo.apversion +139 -0
  139. data/test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1948/Version-1.apversion +162 -0
  140. data/test/data/TestFolder/PAX.approject/Album.implicitAlbum +123 -0
  141. data/test/data/TestFolder/PAX.approject/Info.apfolder +36 -0
  142. data/test/data/TestRootAlbum.apalbum +135 -0
  143. data/test/data/dotMacWebGalleryProject.approject/Album.implicitAlbum +123 -0
  144. data/test/data/dotMacWebGalleryProject.approject/Info.apfolder +34 -0
  145. data/test/data/iPhone.apsmartalbum +280 -0
  146. data/test/helper.rb +20 -0
  147. data/test/test_album.rb +18 -0
  148. data/test/test_library.rb +85 -0
  149. data/test/test_photo.rb +48 -0
  150. data/test/test_photo_set.rb +92 -0
  151. data/test/test_project.rb +19 -0
  152. data/test/test_version.rb +39 -0
  153. metadata +213 -0
data/test/helper.rb ADDED
@@ -0,0 +1,20 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+
4
+ require 'rubygems'
5
+ require 'test/unit'
6
+ require 'shoulda'
7
+ require 'aperture'
8
+ include Aperture
9
+
10
+ SAMPLE_LIBRARY_PATH = File.join(File.dirname(__FILE__), 'data')
11
+ SAMPLE_LIBRARY = Aperture::Library.parse(SAMPLE_LIBRARY_PATH)
12
+ SAMPLE_PHOTO_PATH = File.join(SAMPLE_LIBRARY_PATH,
13
+ 'TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753')
14
+ SAMPLE_PHOTO_UUID = '9DmApIJ/Qa+fAHciqcc3hA'
15
+ SAMPLE_FILENAME = 'OriginalVersionInfo.apversion'
16
+ SAMPLE_ORIGINAL_FILENAME = 'OriginalVersionInfo.apversion'
17
+ SAMPLE_VERSION_FILENAME = 'Version-1.apversion'
18
+
19
+ class Test::Unit::TestCase
20
+ end
@@ -0,0 +1,18 @@
1
+ require 'helper'
2
+
3
+
4
+ class TestAlbum < Test::Unit::TestCase
5
+ context "intialize" do
6
+ setup do
7
+ @album = Album.new( Hash.new )
8
+ end
9
+
10
+ should "create a new album object" do
11
+ assert_instance_of Aperture::Album, @album
12
+ end
13
+
14
+ should "pass a hash as valid attirbutes" do
15
+ assert_instance_of Hash, @album.attributes
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,85 @@
1
+ require 'helper'
2
+
3
+ class TestLibrary < Test::Unit::TestCase
4
+ context "#initialize" do
5
+ setup do
6
+ @library = Library.new(SAMPLE_LIBRARY_PATH)
7
+ end
8
+
9
+ should "create require a path" do
10
+ assert_raise ArgumentError do
11
+ Aperture::Library.new()
12
+ end
13
+ end
14
+
15
+ should "required path should be a directory" do
16
+ assert_raise ArgumentError do
17
+ Aperture::Library.new('root')
18
+ end
19
+ end
20
+
21
+ should "create a new library object" do
22
+ assert_instance_of(Aperture::Library, @library)
23
+ end
24
+
25
+ should "photos should be a photoset" do
26
+ assert_instance_of(Aperture::PhotoSet, @library.photos)
27
+ end
28
+
29
+ should "albums should be a empty hash" do
30
+ assert_instance_of(Hash, @library.albums)
31
+ assert @library.albums.empty?
32
+ end
33
+
34
+ should "projects should be a empty hash" do
35
+ assert_instance_of(Hash, @library.projects)
36
+ assert @library.albums.empty?
37
+ end
38
+
39
+ should "versions should be a empty hash" do
40
+ assert_instance_of(Hash, @library.versions)
41
+ assert @library.albums.empty?
42
+ end
43
+
44
+ should "set root is a directory" do
45
+ assert File.directory?(@library.root)
46
+ end
47
+
48
+ should "set photos to an empty array" do
49
+ assert_equal @library.photos.size, 0
50
+ end
51
+ end
52
+
53
+ context "parsed library" do
54
+ setup do
55
+ @library = SAMPLE_LIBRARY
56
+ end
57
+
58
+ should "find 24 photos" do
59
+ assert_equal @library.photos.size, 24
60
+ end
61
+
62
+ should "find 2 albums" do
63
+ assert_equal @library.albums.size, 2
64
+ end
65
+
66
+ should "find 5 projects" do
67
+ assert_equal @library.projects.size, 5
68
+ end
69
+
70
+ should "find 5 versions" do
71
+ assert_equal @library.versions.size, 34
72
+ end
73
+
74
+ should "find 1 versions in IMG_1753" do
75
+ photo = @library.photos[SAMPLE_PHOTO_UUID]
76
+ assert_equal photo.versions.size, 1
77
+ end
78
+
79
+ should "find 11 version of 2008-Costume Contest" do
80
+ photo = @library.photos['wNOJs+P3RTOwER5t4jDmog']
81
+ assert_equal photo.versions.size, 11
82
+ end
83
+ end
84
+
85
+ end
@@ -0,0 +1,48 @@
1
+ require 'helper'
2
+
3
+
4
+ class TestPhoto < Test::Unit::TestCase
5
+ context "intialize" do
6
+ setup do
7
+ @photo = Photo.new(SAMPLE_PHOTO_PATH)
8
+ end
9
+
10
+ should "require a valid directory" do
11
+ assert_raise ArgumentError do
12
+ Photo.new()
13
+ end
14
+ end
15
+
16
+ should "required path should be a directory" do
17
+ assert_raise ArgumentError do
18
+ Photo.new('root')
19
+ end
20
+ end
21
+
22
+ should "create a new photo object" do
23
+ assert_instance_of(Aperture::Photo, @photo)
24
+ end
25
+
26
+ should "set path is a directory" do
27
+ assert File.directory?(@photo.path)
28
+ end
29
+
30
+ should "set versions to an empty array" do
31
+ assert_equal @photo.versions, []
32
+ end
33
+
34
+ end
35
+
36
+ context "version(n)" do
37
+ setup do
38
+ @photo = Photo.new(SAMPLE_PHOTO_PATH)
39
+ @photo.versions << Version.new(SAMPLE_ORIGINAL_FILENAME, {}, @photo)
40
+ @photo.versions << Version.new(SAMPLE_VERSION_FILENAME, {}, @photo)
41
+ end
42
+
43
+ should "pickout correct version number" do
44
+ version = @photo.version(1)
45
+ assert_equal "Version-1.apversion", version.filename
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,92 @@
1
+ require 'helper'
2
+
3
+ class TestPhotoSet < Test::Unit::TestCase
4
+ context "#initialize" do
5
+ setup do
6
+ @photoset = PhotoSet.new()
7
+ end
8
+
9
+ should "create a new photo_set object" do
10
+ assert_instance_of(Aperture::PhotoSet, @photoset)
11
+ end
12
+
13
+ should "photos should be a empty hash" do
14
+ assert_instance_of(Hash, @photoset.photos)
15
+ assert @photoset.photos.empty?
16
+ end
17
+
18
+ end
19
+
20
+ context "<<" do
21
+ setup do
22
+ @photoset = PhotoSet.new()
23
+ @photo = SAMPLE_LIBRARY.photos[SAMPLE_PHOTO_UUID]
24
+ end
25
+
26
+ should "adding an photo should increase the size by 1" do
27
+ @photoset << @photo
28
+ assert_equal @photoset.photos.size, 1
29
+ end
30
+ end
31
+
32
+ # context "each" do
33
+ # setup do
34
+ # @photoset = PhotoSet.new()
35
+ # @photo = Photo.new(SAMPLE_PHOTO_PATH)
36
+ # end
37
+ #
38
+ # should "iterate over all the photos" do
39
+ # versions = 0
40
+ # @photoset.each {|p| versions += p.versions.size}
41
+ # assert_equal versions, 12
42
+ # end
43
+ #
44
+ # should "give us access to inject" do
45
+ # versions = @photoset.map {|p| p.versions.size }
46
+ # assert_equal versions, [2]*6
47
+ # end
48
+ # end
49
+
50
+ context "photo_count" do
51
+ setup do
52
+ @library = SAMPLE_LIBRARY
53
+ end
54
+
55
+ should "should return all 24 photos" do
56
+ assert_equal @library.photos.photo_count, 24
57
+ end
58
+ end
59
+
60
+ context "version_count" do
61
+ setup do
62
+ @library = SAMPLE_LIBRARY
63
+ end
64
+
65
+ should "should return all 34 versions" do
66
+ assert_equal @library.photos.version_count, 34
67
+ end
68
+ end
69
+
70
+ context "camera_model_count_hash" do
71
+ setup do
72
+ @library = SAMPLE_LIBRARY
73
+ end
74
+
75
+ should "Find 6 photos from 'Canon PowerShot SD770 IS'" do
76
+ camera_model = 'Canon PowerShot SD770 IS'
77
+ assert_equal @library.photos.camera_model_count_hash[camera_model], 12
78
+ end
79
+ end
80
+
81
+ context "lens_model_count_hash" do
82
+ setup do
83
+ @library = SAMPLE_LIBRARY
84
+ end
85
+
86
+ should "Find 6 photos from lens '6.2-18.6 mm'" do
87
+ lens_model = '6.2-18.6 mm'
88
+ assert_equal @library.photos.lens_model_count_hash[lens_model], 12
89
+ end
90
+ end
91
+
92
+ end
@@ -0,0 +1,19 @@
1
+ require 'helper'
2
+
3
+
4
+ class TestProject < Test::Unit::TestCase
5
+ context "intialize" do
6
+ setup do
7
+ @project = Project.new( Hash.new )
8
+ end
9
+
10
+ should "create a new project object" do
11
+ assert_instance_of Aperture::Project, @project
12
+ end
13
+
14
+ should "pass a hash as valid attirbutes" do
15
+ assert_instance_of Hash, @project.attributes
16
+ end
17
+ end
18
+
19
+ end
@@ -0,0 +1,39 @@
1
+ require 'helper'
2
+
3
+
4
+ class TestVersion < Test::Unit::TestCase
5
+ context "intialize" do
6
+ setup do
7
+ @photo = Photo.new(SAMPLE_PHOTO_PATH)
8
+ @version = Version.new(SAMPLE_FILENAME, {}, @photo)
9
+ end
10
+
11
+
12
+ should "create a new version object" do
13
+ assert_instance_of(Aperture::Version, @version)
14
+ end
15
+
16
+ should "have a photo with a path" do
17
+ assert File.directory?(@version.photo.path)
18
+ end
19
+
20
+ should "have hash for attributes" do
21
+ assert_instance_of(Hash, @version.attributes)
22
+ end
23
+ end
24
+
25
+ context "parsed version" do
26
+ setup do
27
+ @version = SAMPLE_LIBRARY.photos[SAMPLE_PHOTO_UUID].version(1)
28
+ end
29
+
30
+ should "pick out the right uuid for the version" do
31
+ assert_equal @version.attributes['uuid'], 'PryZQJZRSaqB0BdzD2AIAA'
32
+ end
33
+
34
+ should "build a hash for EXIF Properties" do
35
+ assert_instance_of(Hash, @version.attributes['exifProperties'])
36
+ end
37
+ end
38
+
39
+ end
metadata ADDED
@@ -0,0 +1,213 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aperture
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Kyle Burckhard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-12-16 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Parses out the files from a Aperture Photo Library to give useful figures and check consistancy of the Library itself.
17
+ email: kyle.burckhard@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - LICENSE
24
+ - README.rdoc
25
+ files:
26
+ - .document
27
+ - .gitignore
28
+ - LICENSE
29
+ - README.rdoc
30
+ - Rakefile
31
+ - VERSION
32
+ - aperture.gemspec
33
+ - lib/aperture.rb
34
+ - lib/aperture/album.rb
35
+ - lib/aperture/library.rb
36
+ - lib/aperture/photo.rb
37
+ - lib/aperture/photo_set.rb
38
+ - lib/aperture/project.rb
39
+ - lib/aperture/version.rb
40
+ - test/data/ Built-in Smart Albums/.implicitAlbum
41
+ - test/data/ Built-in Smart Albums/090-entireLibraryQuery.apsmartalbum
42
+ - test/data/ Built-in Smart Albums/100-selectsQuery.apsmartalbum
43
+ - test/data/ Built-in Smart Albums/200-oneStarQuery.apsmartalbum
44
+ - test/data/ Built-in Smart Albums/300-rejectedQuery.apsmartalbum
45
+ - test/data/ Built-in Smart Albums/400-inTheLastWeekQuery.apsmartalbum
46
+ - test/data/ Built-in Smart Albums/500-inTheLastMonthQuery.apsmartalbum
47
+ - test/data/ Built-in Smart Albums/Info.apfolder
48
+ - test/data/.implicitAlbum
49
+ - test/data/DSLR.approject/2009-12-11 @ 10:09:42 AM - 1.apimportgroup/CRW_0001 - 2008-07-04 at 11-34-52/CRW_0001 - 2008-07-04 at 11-34-52.CRW.apfile
50
+ - test/data/DSLR.approject/2009-12-11 @ 10:09:42 AM - 1.apimportgroup/CRW_0001 - 2008-07-04 at 11-34-52/Info.apmaster
51
+ - test/data/DSLR.approject/2009-12-11 @ 10:09:42 AM - 1.apimportgroup/CRW_0001 - 2008-07-04 at 11-34-52/OriginalVersionInfo.apversion
52
+ - test/data/DSLR.approject/2009-12-11 @ 10:09:42 AM - 1.apimportgroup/CRW_0001 - 2008-07-04 at 11-34-52/Version-1.apversion
53
+ - test/data/DSLR.approject/2009-12-11 @ 10:09:52 AM - 2.apimportgroup/CRW_0002 - 2008-07-04 at 11-36-00/CRW_0002 - 2008-07-04 at 11-36-00.CRW.apfile
54
+ - test/data/DSLR.approject/2009-12-11 @ 10:09:52 AM - 2.apimportgroup/CRW_0002 - 2008-07-04 at 11-36-00/Info.apmaster
55
+ - test/data/DSLR.approject/2009-12-11 @ 10:09:52 AM - 2.apimportgroup/CRW_0002 - 2008-07-04 at 11-36-00/OriginalVersionInfo.apversion
56
+ - test/data/DSLR.approject/2009-12-11 @ 10:09:52 AM - 2.apimportgroup/CRW_0002 - 2008-07-04 at 11-36-00/Version-1.apversion
57
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:03 AM - 3.apimportgroup/CRW_0003 - 2008-07-04 at 11-36-00/CRW_0003 - 2008-07-04 at 11-36-00.CRW.apfile
58
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:03 AM - 3.apimportgroup/CRW_0003 - 2008-07-04 at 11-36-00/Info.apmaster
59
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:03 AM - 3.apimportgroup/CRW_0003 - 2008-07-04 at 11-36-00/OriginalVersionInfo.apversion
60
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:03 AM - 3.apimportgroup/CRW_0003 - 2008-07-04 at 11-36-00/Version-1.apversion
61
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:11 AM - 4.apimportgroup/CRW_0004 - 2008-07-04 at 11-36-02/CRW_0004 - 2008-07-04 at 11-36-02.CRW.apfile
62
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:11 AM - 4.apimportgroup/CRW_0004 - 2008-07-04 at 11-36-02/Info.apmaster
63
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:11 AM - 4.apimportgroup/CRW_0004 - 2008-07-04 at 11-36-02/OriginalVersionInfo.apversion
64
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:11 AM - 4.apimportgroup/CRW_0004 - 2008-07-04 at 11-36-02/Version-1.apversion
65
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:21 AM - 5.apimportgroup/CRW_0005 - 2008-07-04 at 11-36-38/CRW_0005 - 2008-07-04 at 11-36-38.CRW.apfile
66
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:21 AM - 5.apimportgroup/CRW_0005 - 2008-07-04 at 11-36-38/Info.apmaster
67
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:21 AM - 5.apimportgroup/CRW_0005 - 2008-07-04 at 11-36-38/OriginalVersionInfo.apversion
68
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:21 AM - 5.apimportgroup/CRW_0005 - 2008-07-04 at 11-36-38/Version-1.apversion
69
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:30 AM - 6.apimportgroup/CRW_0006 - 2008-07-04 at 11-40-50/CRW_0006 - 2008-07-04 at 11-40-50.CRW.apfile
70
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:30 AM - 6.apimportgroup/CRW_0006 - 2008-07-04 at 11-40-50/Info.apmaster
71
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:30 AM - 6.apimportgroup/CRW_0006 - 2008-07-04 at 11-40-50/OriginalVersionInfo.apversion
72
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:30 AM - 6.apimportgroup/CRW_0006 - 2008-07-04 at 11-40-50/Version-1.apversion
73
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:39 AM - 7.apimportgroup/CRW_0007 - 2008-07-04 at 11-54-00/CRW_0007 - 2008-07-04 at 11-54-00.CRW.apfile
74
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:39 AM - 7.apimportgroup/CRW_0007 - 2008-07-04 at 11-54-00/Info.apmaster
75
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:39 AM - 7.apimportgroup/CRW_0007 - 2008-07-04 at 11-54-00/OriginalVersionInfo.apversion
76
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:39 AM - 7.apimportgroup/CRW_0007 - 2008-07-04 at 11-54-00/Version-1.apversion
77
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:51 AM - 8.apimportgroup/CRW_0008 - 2008-07-04 at 11-54-02/CRW_0008 - 2008-07-04 at 11-54-02.CRW.apfile
78
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:51 AM - 8.apimportgroup/CRW_0008 - 2008-07-04 at 11-54-02/Info.apmaster
79
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:51 AM - 8.apimportgroup/CRW_0008 - 2008-07-04 at 11-54-02/OriginalVersionInfo.apversion
80
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:51 AM - 8.apimportgroup/CRW_0008 - 2008-07-04 at 11-54-02/Version-1.apversion
81
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:59 AM - 9.apimportgroup/CRW_0009 - 2008-07-04 at 11-54-48/CRW_0009 - 2008-07-04 at 11-54-48.CRW.apfile
82
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:59 AM - 9.apimportgroup/CRW_0009 - 2008-07-04 at 11-54-48/Info.apmaster
83
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:59 AM - 9.apimportgroup/CRW_0009 - 2008-07-04 at 11-54-48/OriginalVersionInfo.apversion
84
+ - test/data/DSLR.approject/2009-12-11 @ 10:10:59 AM - 9.apimportgroup/CRW_0009 - 2008-07-04 at 11-54-48/Version-1.apversion
85
+ - test/data/DSLR.approject/Album.implicitAlbum
86
+ - test/data/DSLR.approject/Info.apfolder
87
+ - test/data/Info.apfolder
88
+ - test/data/Misc.approject/2009-12-10 @ 04:09:41 PM - 1.apimportgroup/IMG_0459/IMG_0459 - 2009-12-01 at 22-51-38.PNG.apfile
89
+ - test/data/Misc.approject/2009-12-10 @ 04:09:41 PM - 1.apimportgroup/IMG_0459/Info.apmaster
90
+ - test/data/Misc.approject/2009-12-10 @ 04:09:41 PM - 1.apimportgroup/IMG_0459/OriginalVersionInfo.apversion
91
+ - test/data/Misc.approject/2009-12-10 @ 04:09:41 PM - 1.apimportgroup/IMG_0459/Version-1.apversion
92
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/2008-Costume Contest 030.jpg.apfile
93
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Info.apmaster
94
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/OriginalVersionInfo.apversion
95
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-1.apversion
96
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-10.apversion
97
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-11.apversion
98
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-2.apversion
99
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-3.apversion
100
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-4.apversion
101
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-5.apversion
102
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-6.apversion
103
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-7.apversion
104
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-8.apversion
105
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/2008-Costume Contest 030/Version-9.apversion
106
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/IMG_3690/IMG_3690.jpg.apfile
107
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/IMG_3690/Info.apmaster
108
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/IMG_3690/OriginalVersionInfo.apversion
109
+ - test/data/Misc.approject/2009-12-10 @ 04:11:58 PM - 2.apimportgroup/IMG_3690/Version-1.apversion
110
+ - test/data/Misc.approject/Album.implicitAlbum
111
+ - test/data/Misc.approject/Halloween.apalbum
112
+ - test/data/Misc.approject/Info.apfolder
113
+ - test/data/TestFolder/.implicitAlbum
114
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753/IMG_1753.JPG.apfile
115
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753/Info.apmaster
116
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753/OriginalVersionInfo.apversion
117
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1753/Version-1.apversion
118
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1754/IMG_1754.JPG.apfile
119
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1754/Info.apmaster
120
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1754/OriginalVersionInfo.apversion
121
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1754/Version-1.apversion
122
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1755/IMG_1755.JPG.apfile
123
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1755/Info.apmaster
124
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1755/OriginalVersionInfo.apversion
125
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1755/Version-1.apversion
126
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1756/IMG_1756.JPG.apfile
127
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1756/Info.apmaster
128
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1756/OriginalVersionInfo.apversion
129
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1756/Version-1.apversion
130
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1757/IMG_1757.JPG.apfile
131
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1757/Info.apmaster
132
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1757/OriginalVersionInfo.apversion
133
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1757/Version-1.apversion
134
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1758/IMG_1758.JPG.apfile
135
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1758/Info.apmaster
136
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1758/OriginalVersionInfo.apversion
137
+ - test/data/TestFolder/Fireworks.approject/2009-12-10 @ 04:13:45 PM - 1.apimportgroup/IMG_1758/Version-1.apversion
138
+ - test/data/TestFolder/Fireworks.approject/Album.implicitAlbum
139
+ - test/data/TestFolder/Fireworks.approject/Info.apfolder
140
+ - test/data/TestFolder/Info.apfolder
141
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1943/IMG_1943.JPG.apfile
142
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1943/Info.apmaster
143
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1943/OriginalVersionInfo.apversion
144
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1943/Version-1.apversion
145
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1944/IMG_1944.JPG.apfile
146
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1944/Info.apmaster
147
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1944/OriginalVersionInfo.apversion
148
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1944/Version-1.apversion
149
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1945/IMG_1945.JPG.apfile
150
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1945/Info.apmaster
151
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1945/OriginalVersionInfo.apversion
152
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1945/Version-1.apversion
153
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1946/IMG_1946.JPG.apfile
154
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1946/Info.apmaster
155
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1946/OriginalVersionInfo.apversion
156
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1946/Version-1.apversion
157
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1947/IMG_1947.JPG.apfile
158
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1947/Info.apmaster
159
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1947/OriginalVersionInfo.apversion
160
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1947/Version-1.apversion
161
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1948/IMG_1948.JPG.apfile
162
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1948/Info.apmaster
163
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1948/OriginalVersionInfo.apversion
164
+ - test/data/TestFolder/PAX.approject/2009-12-10 @ 04:19:15 PM - 1.apimportgroup/IMG_1948/Version-1.apversion
165
+ - test/data/TestFolder/PAX.approject/Album.implicitAlbum
166
+ - test/data/TestFolder/PAX.approject/Info.apfolder
167
+ - test/data/TestRootAlbum.apalbum
168
+ - test/data/dotMacWebGalleryProject.approject/Album.implicitAlbum
169
+ - test/data/dotMacWebGalleryProject.approject/Info.apfolder
170
+ - test/data/iPhone.apsmartalbum
171
+ - test/helper.rb
172
+ - test/test_album.rb
173
+ - test/test_library.rb
174
+ - test/test_photo.rb
175
+ - test/test_photo_set.rb
176
+ - test/test_project.rb
177
+ - test/test_version.rb
178
+ has_rdoc: true
179
+ homepage: http://github.com/talaris/aperture
180
+ licenses: []
181
+
182
+ post_install_message:
183
+ rdoc_options:
184
+ - --charset=UTF-8
185
+ require_paths:
186
+ - lib
187
+ required_ruby_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: "0"
192
+ version:
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: "0"
198
+ version:
199
+ requirements: []
200
+
201
+ rubyforge_project:
202
+ rubygems_version: 1.3.5
203
+ signing_key:
204
+ specification_version: 3
205
+ summary: Statistical analysis library for Aperture Photo Libraries
206
+ test_files:
207
+ - test/helper.rb
208
+ - test/test_album.rb
209
+ - test/test_library.rb
210
+ - test/test_photo.rb
211
+ - test/test_photo_set.rb
212
+ - test/test_project.rb
213
+ - test/test_version.rb