photoarchiver 0.0.6 → 0.1.0

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: a03000cb4712fb97d4e7bbcd5de9d28ee5de04c9
4
- data.tar.gz: 65e6e2b24c05e944b4da896fa6b0d7c14e8c803b
3
+ metadata.gz: 660da6e44c3db36a0679363e3654fa3b3660ad42
4
+ data.tar.gz: 6e28211728d0f30e545b9cf076671c925aa0c62d
5
5
  SHA512:
6
- metadata.gz: 80ea378a3a7955665f95f47e2c50a54831ff865dfcbf35df0ea006f6bf71d3119cdac77a919a1c4790e4ca2088bd64487073009cda700a32d01a9a7b3bfe6d1c
7
- data.tar.gz: 7f937e254911fe1ae189fcaa627de27e4fd23be49d7d784c6dc48f278e91ceae3934f3fde525de07dc5e1c6777d940ff56bfec58948a5af46b15501249a0dc14
6
+ metadata.gz: c6b041de0ee98160bf96aaac5738117cd8f249316790ffbd60512fbb5c1918af2f96839dc9d6359db927c9f69066179ec10a6b27853617b047b220292a35cdeb
7
+ data.tar.gz: a9320634859213d4c6cd2a6e2cb13e297ee7e35a3768f2567e2726c8f12543a893c368d94bc728748603f3548dcc392fbe1f91516473f5a59f6aedfa0e29c7ae
data/.idea/.rakeTasks CHANGED
@@ -4,4 +4,4 @@ You are allowed to:
4
4
  1. Remove rake task
5
5
  2. Add existing rake tasks
6
6
  To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build photoarchiver-0.0.4.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install photoarchiver-0.0.4.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.4 and build and push photoarchiver-0.0.4.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build photoarchiver-0.0.6.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install photoarchiver-0.0.6.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.6 and build and push photoarchiver-0.0.6.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
@@ -28,8 +28,8 @@
28
28
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
29
29
  <COMMAND_CONFIG_SETTINGS_ID NAME="GEM_NAME" VALUE="bundler" />
30
30
  <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="gem" />
31
- <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="install ./photoarchiver-0.0.5.gem" />
32
- <COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="install ./photoarchiver-0.0.5.gem" />
31
+ <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="install ./photoarchiver-0.0.7.gem" />
32
+ <COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="install ./photoarchiver-0.0.7.gem" />
33
33
  <RunnerSettings RunnerId="RubyRunner" />
34
34
  <ConfigurationWrapper RunnerId="RubyRunner" />
35
35
  <method />
@@ -64,8 +64,8 @@
64
64
  <module name="photoarchiver" />
65
65
  <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
66
66
  <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
67
- <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
68
- <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
67
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="true" />
68
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="RVM: ruby-2.0.0-p353" />
69
69
  <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
70
70
  <envs />
71
71
  <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
@@ -107,10 +107,10 @@
107
107
  </component>
108
108
  <component name="NewModuleRootManager">
109
109
  <content url="file://$MODULE_DIR$" />
110
- <orderEntry type="inheritedJdk" />
110
+ <orderEntry type="jdk" jdkName="RVM: ruby-2.0.0-p353" jdkType="RUBY_SDK" />
111
111
  <orderEntry type="sourceFolder" forTests="false" />
112
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, ruby-2.0.0-p247) [gem]" level="application" />
113
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.1.1, ruby-2.0.0-p247) [gem]" level="application" />
112
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-2.0.0-p353) [gem]" level="application" />
113
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.1.1, RVM: ruby-2.0.0-p353) [gem]" level="application" />
114
114
  </component>
115
115
  </module>
116
116
 
@@ -17,8 +17,8 @@
17
17
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
18
18
  <COMMAND_CONFIG_SETTINGS_ID NAME="GEM_NAME" VALUE="bundler" />
19
19
  <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="gem" />
20
- <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="install ./photoarchiver-0.0.5.gem" />
21
- <COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="install ./photoarchiver-0.0.5.gem" />
20
+ <COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="install ./photoarchiver-0.0.7.gem" />
21
+ <COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="install ./photoarchiver-0.0.7.gem" />
22
22
  <RunnerSettings RunnerId="RubyRunner" />
23
23
  <ConfigurationWrapper RunnerId="RubyRunner" />
24
24
  <method />
data/.idea/workspace.xml CHANGED
@@ -12,10 +12,10 @@
12
12
  </component>
13
13
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
14
  <component name="CoverageDataManager">
15
- <SUITE FILE_PATH="coverage/photoarchiver@build__photoarchiver.coverage" NAME="build: photoarchiver Coverage Results" MODIFIED="1387749986622" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="photoarchiver" />
15
+ <SUITE FILE_PATH="coverage/photoarchiver@build__photoarchiver.coverage" NAME="build: photoarchiver Coverage Results" MODIFIED="1387761887333" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="photoarchiver" />
16
16
  <SUITE FILE_PATH="coverage/photoarchiver@Rakefile.coverage" NAME="Rakefile Coverage Results" MODIFIED="1387752918497" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="photoarchiver" />
17
- <SUITE FILE_PATH="coverage/photoarchiver@install.coverage" NAME="install Coverage Results" MODIFIED="1387753391984" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="photoarchiver" />
18
- <SUITE FILE_PATH="coverage/photoarchiver@photoarchiver.coverage" NAME="photoarchiver Coverage Results" MODIFIED="1387745435455" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="photoarchiver" />
17
+ <SUITE FILE_PATH="coverage/photoarchiver@install.coverage" NAME="install Coverage Results" MODIFIED="1387753851222" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="photoarchiver" />
18
+ <SUITE FILE_PATH="coverage/photoarchiver@photoarchiver.coverage" NAME="photoarchiver Coverage Results" MODIFIED="1387760980860" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="photoarchiver" />
19
19
  </component>
20
20
  <component name="CreatePatchCommitExecutor">
21
21
  <option name="PATCH_PATH" value="" />
@@ -29,19 +29,10 @@
29
29
  </component>
30
30
  <component name="FileEditorManager">
31
31
  <leaf>
32
- <file leaf-file-name="photoarchiver.rb" pinned="false" current="true" current-in-tab="true">
33
- <entry file="file://$PROJECT_DIR$/lib/photoarchiver.rb">
32
+ <file leaf-file-name="README.md" pinned="false" current="true" current-in-tab="true">
33
+ <entry file="file://$PROJECT_DIR$/README.md">
34
34
  <provider selected="true" editor-type-id="text-editor">
35
- <state line="7" column="29" selection-start="130" selection-end="130" vertical-scroll-proportion="0.14603616" vertical-offset="0" max-vertical-offset="719">
36
- <folding />
37
- </state>
38
- </provider>
39
- </entry>
40
- </file>
41
- <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
42
- <entry file="file://$PROJECT_DIR$/lib/photoarchiver/version.rb">
43
- <provider selected="true" editor-type-id="text-editor">
44
- <state line="1" column="18" selection-start="39" selection-end="39" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
35
+ <state line="0" column="21" selection-start="21" selection-end="21" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="570">
45
36
  <folding />
46
37
  </state>
47
38
  </provider>
@@ -58,8 +49,9 @@
58
49
  <option name="changedFiles">
59
50
  <list>
60
51
  <option value="$PROJECT_DIR$/photoarchiver.gemspec" />
61
- <option value="$PROJECT_DIR$/lib/photoarchiver/version.rb" />
62
52
  <option value="$PROJECT_DIR$/lib/photoarchiver.rb" />
53
+ <option value="$PROJECT_DIR$/lib/photoarchiver/version.rb" />
54
+ <option value="$PROJECT_DIR$/README.md" />
63
55
  </list>
64
56
  </option>
65
57
  </component>
@@ -94,6 +86,7 @@
94
86
  <sortByType />
95
87
  </navigator>
96
88
  <panes>
89
+ <pane id="Scope" />
97
90
  <pane id="ProjectPane">
98
91
  <subPane>
99
92
  <PATH>
@@ -112,6 +105,24 @@
112
105
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
113
106
  </PATH_ELEMENT>
114
107
  </PATH>
108
+ <PATH>
109
+ <PATH_ELEMENT>
110
+ <option name="myItemId" value="photoarchiver" />
111
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
112
+ </PATH_ELEMENT>
113
+ <PATH_ELEMENT>
114
+ <option name="myItemId" value="photoarchiver" />
115
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
116
+ </PATH_ELEMENT>
117
+ <PATH_ELEMENT>
118
+ <option name="myItemId" value="vendor" />
119
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
120
+ </PATH_ELEMENT>
121
+ <PATH_ELEMENT>
122
+ <option name="myItemId" value="cache" />
123
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
124
+ </PATH_ELEMENT>
125
+ </PATH>
115
126
  <PATH>
116
127
  <PATH_ELEMENT>
117
128
  <option name="myItemId" value="photoarchiver" />
@@ -146,7 +157,6 @@
146
157
  </PATH>
147
158
  </subPane>
148
159
  </pane>
149
- <pane id="Scope" />
150
160
  </panes>
151
161
  </component>
152
162
  <component name="PropertiesComponent">
@@ -155,14 +165,18 @@
155
165
  <property name="restartRequiresConfirmation" value="true" />
156
166
  <property name="FullScreen" value="false" />
157
167
  <property name="RakeTaksPopup.undocumentedIncluded" value="false" />
168
+ <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
169
+ <property name="options.splitter.main.proportions" value="0.3" />
170
+ <property name="options.splitter.details.proportions" value="0.2" />
171
+ <property name="options.searchVisible" value="true" />
158
172
  </component>
159
173
  <component name="RunManager" selected="Gem Command.install">
160
174
  <configuration default="false" name="photoarchiver" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
161
175
  <module name="photoarchiver" />
162
176
  <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
163
177
  <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
164
- <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
165
- <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
178
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="true" />
179
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="RVM: ruby-2.0.0-p353" />
166
180
  <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
167
181
  <envs />
168
182
  <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
@@ -336,8 +350,8 @@
336
350
  </list>
337
351
  <recent_temporary>
338
352
  <list size="2">
339
- <item index="0" class="java.lang.String" itemvalue="Ruby.Rakefile" />
340
- <item index="1" class="java.lang.String" itemvalue="Ruby.photoarchiver" />
353
+ <item index="0" class="java.lang.String" itemvalue="Ruby.photoarchiver" />
354
+ <item index="1" class="java.lang.String" itemvalue="Ruby.Rakefile" />
341
355
  </list>
342
356
  </recent_temporary>
343
357
  </component>
@@ -367,20 +381,40 @@
367
381
  </task>
368
382
  <servers />
369
383
  </component>
384
+ <component name="TodoView" selected-index="0">
385
+ <todo-panel id="selected-file">
386
+ <are-packages-shown value="false" />
387
+ <are-modules-shown value="false" />
388
+ <flatten-packages value="false" />
389
+ <is-autoscroll-to-source value="false" />
390
+ </todo-panel>
391
+ <todo-panel id="all">
392
+ <are-packages-shown value="false" />
393
+ <are-modules-shown value="false" />
394
+ <flatten-packages value="false" />
395
+ <is-autoscroll-to-source value="false" />
396
+ </todo-panel>
397
+ <todo-panel id="default-changelist">
398
+ <are-packages-shown value="false" />
399
+ <are-modules-shown value="false" />
400
+ <flatten-packages value="false" />
401
+ <is-autoscroll-to-source value="false" />
402
+ </todo-panel>
403
+ </component>
370
404
  <component name="ToolWindowManager">
371
405
  <frame x="0" y="22" width="1440" height="790" extended-state="6" />
372
406
  <editor active="true" />
373
407
  <layout>
374
408
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
375
409
  <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
376
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
410
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32872927" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
377
411
  <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
378
412
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
379
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24305555" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
413
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25035766" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
380
414
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
381
415
  <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
382
416
  <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32931727" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
383
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32931727" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
417
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32872927" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
384
418
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
385
419
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
386
420
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
@@ -408,6 +442,13 @@
408
442
  <breakpoint-manager />
409
443
  </component>
410
444
  <component name="editorHistoryManager">
445
+ <entry file="file://$PROJECT_DIR$/lib/photoarchiver.rb">
446
+ <provider selected="true" editor-type-id="text-editor">
447
+ <state line="24" column="78" selection-start="897" selection-end="897" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="615">
448
+ <folding />
449
+ </state>
450
+ </provider>
451
+ </entry>
411
452
  <entry file="file://$PROJECT_DIR$/Gemfile">
412
453
  <provider selected="true" editor-type-id="text-editor">
413
454
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="150">
@@ -431,50 +472,37 @@
431
472
  </entry>
432
473
  <entry file="file://$PROJECT_DIR$/photoarchiver.gemspec">
433
474
  <provider selected="true" editor-type-id="text-editor">
434
- <state line="12" column="67" selection-start="674" selection-end="674" vertical-scroll-proportion="0.0" vertical-offset="180" max-vertical-offset="435">
435
- <folding />
436
- </state>
475
+ <state line="12" column="67" selection-start="674" selection-end="674" vertical-scroll-proportion="0.0" vertical-offset="180" max-vertical-offset="435" />
437
476
  </provider>
438
477
  </entry>
439
478
  <entry file="file://$PROJECT_DIR$/.gitignore">
440
479
  <provider selected="true" editor-type-id="text-editor">
441
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="473">
442
- <folding />
443
- </state>
480
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="473" />
444
481
  </provider>
445
482
  </entry>
446
483
  <entry file="file://$PROJECT_DIR$/Gemfile.lock">
447
484
  <provider selected="true" editor-type-id="text-editor">
448
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="473">
449
- <folding />
450
- </state>
485
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="473" />
451
486
  </provider>
452
487
  </entry>
453
488
  <entry file="file://$PROJECT_DIR$/LICENSE.txt">
454
- <provider selected="true" editor-type-id="text-editor">
455
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="446" />
456
- </provider>
457
489
  <provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
458
490
  <state />
459
491
  </provider>
460
- </entry>
461
- <entry file="file://$PROJECT_DIR$/README.md">
462
492
  <provider selected="true" editor-type-id="text-editor">
463
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="525">
464
- <folding />
465
- </state>
493
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="446" />
466
494
  </provider>
467
495
  </entry>
468
496
  <entry file="file://$PROJECT_DIR$/Rakefile">
469
497
  <provider selected="true" editor-type-id="text-editor">
470
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="473">
498
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="458">
471
499
  <folding />
472
500
  </state>
473
501
  </provider>
474
502
  </entry>
475
503
  <entry file="file://$PROJECT_DIR$/photoarchiver.gemspec">
476
504
  <provider selected="true" editor-type-id="text-editor">
477
- <state line="12" column="67" selection-start="674" selection-end="674" vertical-scroll-proportion="0.2503477" vertical-offset="0" max-vertical-offset="719">
505
+ <state line="6" column="38" selection-start="219" selection-end="219" vertical-scroll-proportion="0.19650654" vertical-offset="0" max-vertical-offset="458">
478
506
  <folding />
479
507
  </state>
480
508
  </provider>
@@ -486,16 +514,23 @@
486
514
  </state>
487
515
  </provider>
488
516
  </entry>
517
+ <entry file="file://$PROJECT_DIR$/lib/photoarchiver.rb">
518
+ <provider selected="true" editor-type-id="text-editor">
519
+ <state line="18" column="43" selection-start="610" selection-end="610" vertical-scroll-proportion="0.60674155" vertical-offset="0" max-vertical-offset="600">
520
+ <folding />
521
+ </state>
522
+ </provider>
523
+ </entry>
489
524
  <entry file="file://$PROJECT_DIR$/lib/photoarchiver/version.rb">
490
525
  <provider selected="true" editor-type-id="text-editor">
491
- <state line="1" column="18" selection-start="39" selection-end="39" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
526
+ <state line="1" column="16" selection-start="37" selection-end="37" vertical-scroll-proportion="0.03275109" vertical-offset="0" max-vertical-offset="458">
492
527
  <folding />
493
528
  </state>
494
529
  </provider>
495
530
  </entry>
496
- <entry file="file://$PROJECT_DIR$/lib/photoarchiver.rb">
531
+ <entry file="file://$PROJECT_DIR$/README.md">
497
532
  <provider selected="true" editor-type-id="text-editor">
498
- <state line="7" column="29" selection-start="130" selection-end="130" vertical-scroll-proportion="0.14603616" vertical-offset="0" max-vertical-offset="719">
533
+ <state line="0" column="21" selection-start="21" selection-end="21" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="570">
499
534
  <folding />
500
535
  </state>
501
536
  </provider>
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Photoarchiver (v0.0.6)
1
+ # Photoarchiver (v0.1.0)
2
2
 
3
3
  I created this gem to do some ultra simple photo organization. This will read all the photos out of specified directory and rename them into a new directory structure.
4
4
 
@@ -1,3 +1,3 @@
1
1
  module Photoarchiver
2
- VERSION = "0.0.6"
2
+ VERSION = "0.1.0"
3
3
  end
data/lib/photoarchiver.rb CHANGED
@@ -5,9 +5,9 @@ module Photoarchiver
5
5
 
6
6
  def self.organize(dir_src, dir_target)
7
7
 
8
- puts 'Photoarchiver 0.0.6'
8
+ puts "Photoarchiver #{VERSION}"
9
9
 
10
- # Simpley check to see if the source directory exists and complain if it does not
10
+ # Simply check to see if the source directory exists and complain if it does not
11
11
  if File.exists?(dir_src) && File.directory?(dir_src)
12
12
  # Source dir exists, go ahead and make target directory if it does not exist
13
13
  Dir.mkdir(dir_target) unless File.exists?(dir_target)
@@ -19,15 +19,14 @@ module Photoarchiver
19
19
  puts "Target Directory: #{dir_target}"
20
20
 
21
21
  # Gather up all the potential photo files
22
- # TODO: ought to do something like filter this to JPG files only
23
22
  photos = Dir.glob(File.join(dir_src, '**', '*.jpg')).reject { |temp| File.directory? temp }
24
23
 
25
24
  # Loop through the photos, not currently using index but may in the future
26
25
  photos.each_with_index {|val, index|
27
26
  exif_data = EXIFR::JPEG.new(val).date_time_original
28
27
 
29
- FileUtils::mkdir_p File.join(dir_target, exif_data.strftime('%Y'), exif_data.strftime('%Y%m%d'))
30
- target_file = File.join(dir_target, exif_data.strftime('%Y'), exif_data.strftime('%Y%m%d'), exif_data.strftime('%Y%m%d-%H%M%S')) + '.jpg'
28
+ FileUtils::mkdir_p File.join(dir_target, exif_data.strftime('%Y'), exif_data.strftime('%Y-%m-%d'))
29
+ target_file = File.join(dir_target, exif_data.strftime('%Y'), exif_data.strftime('%Y-%m-%d'), exif_data.strftime('%Y%m%d-%H%M%S')) + '.jpg'
31
30
  puts "Moving #{val} to #{target_file}"
32
31
  File.rename(val, target_file)
33
32
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photoarchiver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Stortz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-22 00:00:00.000000000 Z
11
+ date: 2013-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  requirements: []
87
87
  rubyforge_project:
88
- rubygems_version: 2.0.3
88
+ rubygems_version: 2.1.11
89
89
  signing_key:
90
90
  specification_version: 4
91
91
  summary: This gem creates directories based on year, date and month and places photos