photoarchiver 0.0.4 → 0.0.6

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
  SHA1:
3
- metadata.gz: 109de5c523a9b526d2dc9535a28eff28950b4072
4
- data.tar.gz: ea8bd985670c7af9613bf027e17f66130e14c567
3
+ metadata.gz: a03000cb4712fb97d4e7bbcd5de9d28ee5de04c9
4
+ data.tar.gz: 65e6e2b24c05e944b4da896fa6b0d7c14e8c803b
5
5
  SHA512:
6
- metadata.gz: 89f2e5ad2f4f7ca58a29a7d4f1c9c9cc71dcd2b77e6a92b6a1d93f4391b2db959664ba0e1715b3f25689b7767cd0c3ec0938f8213e717fe8bf4da20287c33e37
7
- data.tar.gz: d1f0929d87fb0b5be643d2d33e4b76793621fc878aeb457678c55a679c1bd9f3d6b8b9ff2191cc71cc709061397ae90e969318ef9458129f05e3bee1864b9c3c
6
+ metadata.gz: 80ea378a3a7955665f95f47e2c50a54831ff865dfcbf35df0ea006f6bf71d3119cdac77a919a1c4790e4ca2088bd64487073009cda700a32d01a9a7b3bfe6d1c
7
+ data.tar.gz: 7f937e254911fe1ae189fcaa627de27e4fd23be49d7d784c6dc48f278e91ceae3934f3fde525de07dc5e1c6777d940ff56bfec58948a5af46b15501249a0dc14
@@ -28,8 +28,34 @@
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.3.gem" />
32
- <COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="install ./photoarchiver-0.0.3.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" />
33
+ <RunnerSettings RunnerId="RubyRunner" />
34
+ <ConfigurationWrapper RunnerId="RubyRunner" />
35
+ <method />
36
+ </configuration>
37
+ <configuration default="false" name="build: photoarchiver" type="RakeRunConfigurationType" factoryName="Rake">
38
+ <module name="photoarchiver" />
39
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
40
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
41
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
42
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
43
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
44
+ <envs />
45
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
46
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
47
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
48
+ <COVERAGE_PATTERN ENABLED="true">
49
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
50
+ </COVERAGE_PATTERN>
51
+ </EXTENSION>
52
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
53
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
54
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
55
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
56
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
57
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
58
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
33
59
  <RunnerSettings RunnerId="RubyRunner" />
34
60
  <ConfigurationWrapper RunnerId="RubyRunner" />
35
61
  <method />
@@ -56,15 +82,15 @@
56
82
  <ConfigurationWrapper RunnerId="RubyRunner" />
57
83
  <method />
58
84
  </configuration>
59
- <configuration default="false" name="build: photoarchiver" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
85
+ <configuration default="false" name="Rakefile" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
60
86
  <module name="photoarchiver" />
61
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
62
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
63
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
64
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
65
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
87
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
88
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$" />
89
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
90
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
91
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
66
92
  <envs />
67
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
93
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
68
94
  <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
69
95
  <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
70
96
  <COVERAGE_PATTERN ENABLED="true">
@@ -72,12 +98,8 @@
72
98
  </COVERAGE_PATTERN>
73
99
  </EXTENSION>
74
100
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
75
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
76
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
77
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
78
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
79
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
80
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
101
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/Rakefile" />
102
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
81
103
  <RunnerSettings RunnerId="RubyRunner" />
82
104
  <ConfigurationWrapper RunnerId="RubyRunner" />
83
105
  <method />
@@ -0,0 +1,28 @@
1
+ <component name="ProjectRunConfigurationManager">
2
+ <configuration default="false" name="build: photoarchiver" type="RakeRunConfigurationType" factoryName="Rake">
3
+ <module name="photoarchiver" />
4
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
5
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
6
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
7
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
8
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
9
+ <envs />
10
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
11
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
12
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
13
+ <COVERAGE_PATTERN ENABLED="true">
14
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
15
+ </COVERAGE_PATTERN>
16
+ </EXTENSION>
17
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
18
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
19
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
20
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
21
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
22
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
23
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
24
+ <RunnerSettings RunnerId="RubyRunner" />
25
+ <ConfigurationWrapper RunnerId="RubyRunner" />
26
+ <method />
27
+ </configuration>
28
+ </component>
@@ -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.3.gem" />
21
- <COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="install ./photoarchiver-0.0.3.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" />
22
22
  <RunnerSettings RunnerId="RubyRunner" />
23
23
  <ConfigurationWrapper RunnerId="RubyRunner" />
24
24
  <method />
data/.idea/workspace.xml CHANGED
@@ -13,7 +13,8 @@
13
13
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
14
  <component name="CoverageDataManager">
15
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" />
16
- <SUITE FILE_PATH="coverage/photoarchiver@install.coverage" NAME="install Coverage Results" MODIFIED="1387747969935" 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
+ <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" />
17
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" />
18
19
  </component>
19
20
  <component name="CreatePatchCommitExecutor">
@@ -28,19 +29,19 @@
28
29
  </component>
29
30
  <component name="FileEditorManager">
30
31
  <leaf>
31
- <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
32
- <entry file="file://$PROJECT_DIR$/Gemfile">
32
+ <file leaf-file-name="photoarchiver.rb" pinned="false" current="true" current-in-tab="true">
33
+ <entry file="file://$PROJECT_DIR$/lib/photoarchiver.rb">
33
34
  <provider selected="true" editor-type-id="text-editor">
34
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="150">
35
+ <state line="7" column="29" selection-start="130" selection-end="130" vertical-scroll-proportion="0.14603616" vertical-offset="0" max-vertical-offset="719">
35
36
  <folding />
36
37
  </state>
37
38
  </provider>
38
39
  </entry>
39
40
  </file>
40
- <file leaf-file-name="photoarchiver.gemspec" pinned="false" current="true" current-in-tab="true">
41
- <entry file="file://$PROJECT_DIR$/photoarchiver.gemspec">
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">
42
43
  <provider selected="true" editor-type-id="text-editor">
43
- <state line="12" column="67" selection-start="674" selection-end="674" vertical-scroll-proportion="0.38054967" vertical-offset="0" max-vertical-offset="473">
44
+ <state line="1" column="18" selection-start="39" selection-end="39" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
44
45
  <folding />
45
46
  </state>
46
47
  </provider>
@@ -56,9 +57,9 @@
56
57
  <component name="IdeDocumentHistory">
57
58
  <option name="changedFiles">
58
59
  <list>
60
+ <option value="$PROJECT_DIR$/photoarchiver.gemspec" />
59
61
  <option value="$PROJECT_DIR$/lib/photoarchiver/version.rb" />
60
62
  <option value="$PROJECT_DIR$/lib/photoarchiver.rb" />
61
- <option value="$PROJECT_DIR$/photoarchiver.gemspec" />
62
63
  </list>
63
64
  </option>
64
65
  </component>
@@ -93,7 +94,6 @@
93
94
  <sortByType />
94
95
  </navigator>
95
96
  <panes>
96
- <pane id="Scope" />
97
97
  <pane id="ProjectPane">
98
98
  <subPane>
99
99
  <PATH>
@@ -146,6 +146,7 @@
146
146
  </PATH>
147
147
  </subPane>
148
148
  </pane>
149
+ <pane id="Scope" />
149
150
  </panes>
150
151
  </component>
151
152
  <component name="PropertiesComponent">
@@ -155,7 +156,7 @@
155
156
  <property name="FullScreen" value="false" />
156
157
  <property name="RakeTaksPopup.undocumentedIncluded" value="false" />
157
158
  </component>
158
- <component name="RunManager" selected="Rake.build: photoarchiver">
159
+ <component name="RunManager" selected="Gem Command.install">
159
160
  <configuration default="false" name="photoarchiver" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
160
161
  <module name="photoarchiver" />
161
162
  <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -178,15 +179,15 @@
178
179
  <ConfigurationWrapper RunnerId="RubyRunner" />
179
180
  <method />
180
181
  </configuration>
181
- <configuration default="false" name="build: photoarchiver" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
182
+ <configuration default="false" name="Rakefile" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
182
183
  <module name="photoarchiver" />
183
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
184
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
185
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
186
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
187
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
184
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
185
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$" />
186
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
187
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
188
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
188
189
  <envs />
189
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
190
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
190
191
  <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
191
192
  <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
192
193
  <COVERAGE_PATTERN ENABLED="true">
@@ -194,12 +195,8 @@
194
195
  </COVERAGE_PATTERN>
195
196
  </EXTENSION>
196
197
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
197
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="build" />
198
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
199
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
200
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
201
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
202
- <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
198
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/Rakefile" />
199
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
203
200
  <RunnerSettings RunnerId="RubyRunner" />
204
201
  <ConfigurationWrapper RunnerId="RubyRunner" />
205
202
  <method />
@@ -331,14 +328,15 @@
331
328
  <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
332
329
  <method />
333
330
  </configuration>
334
- <list size="3">
331
+ <list size="4">
335
332
  <item index="0" class="java.lang.String" itemvalue="Gem Command.install" />
336
- <item index="1" class="java.lang.String" itemvalue="Ruby.photoarchiver" />
337
- <item index="2" class="java.lang.String" itemvalue="Rake.build: photoarchiver" />
333
+ <item index="1" class="java.lang.String" itemvalue="Rake.build: photoarchiver" />
334
+ <item index="2" class="java.lang.String" itemvalue="Ruby.photoarchiver" />
335
+ <item index="3" class="java.lang.String" itemvalue="Ruby.Rakefile" />
338
336
  </list>
339
337
  <recent_temporary>
340
338
  <list size="2">
341
- <item index="0" class="java.lang.String" itemvalue="Rake.build: photoarchiver" />
339
+ <item index="0" class="java.lang.String" itemvalue="Ruby.Rakefile" />
342
340
  <item index="1" class="java.lang.String" itemvalue="Ruby.photoarchiver" />
343
341
  </list>
344
342
  </recent_temporary>
@@ -370,7 +368,7 @@
370
368
  <servers />
371
369
  </component>
372
370
  <component name="ToolWindowManager">
373
- <frame x="0" y="22" width="1440" height="790" extended-state="0" />
371
+ <frame x="0" y="22" width="1440" height="790" extended-state="6" />
374
372
  <editor active="true" />
375
373
  <layout>
376
374
  <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" />
@@ -382,7 +380,7 @@
382
380
  <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" />
383
381
  <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" />
384
382
  <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" />
385
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32931727" sideWeight="0.5" order="2" side_tool="false" 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" />
386
384
  <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" />
387
385
  <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" />
388
386
  <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" />
@@ -410,9 +408,30 @@
410
408
  <breakpoint-manager />
411
409
  </component>
412
410
  <component name="editorHistoryManager">
413
- <entry file="file://$PROJECT_DIR$/lib/photoarchiver/version.rb">
411
+ <entry file="file://$PROJECT_DIR$/Gemfile">
414
412
  <provider selected="true" editor-type-id="text-editor">
415
- <state line="1" column="18" selection-start="39" selection-end="39" vertical-scroll-proportion="0.031712472" vertical-offset="0" max-vertical-offset="473">
413
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="150">
414
+ <folding />
415
+ </state>
416
+ </provider>
417
+ </entry>
418
+ <entry file="file://$PROJECT_DIR$/lib/photoarchiver.rb">
419
+ <provider selected="true" editor-type-id="text-editor">
420
+ <state line="18" column="45" selection-start="621" selection-end="621" vertical-scroll-proportion="0.0" vertical-offset="270" max-vertical-offset="585">
421
+ <folding />
422
+ </state>
423
+ </provider>
424
+ </entry>
425
+ <entry file="file://$PROJECT_DIR$/Gemfile">
426
+ <provider selected="true" editor-type-id="text-editor">
427
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="150">
428
+ <folding />
429
+ </state>
430
+ </provider>
431
+ </entry>
432
+ <entry file="file://$PROJECT_DIR$/photoarchiver.gemspec">
433
+ <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">
416
435
  <folding />
417
436
  </state>
418
437
  </provider>
@@ -433,31 +452,29 @@
433
452
  </entry>
434
453
  <entry file="file://$PROJECT_DIR$/LICENSE.txt">
435
454
  <provider selected="true" editor-type-id="text-editor">
436
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="446">
437
- <folding />
438
- </state>
455
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="446" />
439
456
  </provider>
440
457
  <provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
441
458
  <state />
442
459
  </provider>
443
460
  </entry>
444
- <entry file="file://$PROJECT_DIR$/Rakefile">
461
+ <entry file="file://$PROJECT_DIR$/README.md">
445
462
  <provider selected="true" editor-type-id="text-editor">
446
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="473">
463
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="525">
447
464
  <folding />
448
465
  </state>
449
466
  </provider>
450
467
  </entry>
451
- <entry file="file://$PROJECT_DIR$/README.md">
468
+ <entry file="file://$PROJECT_DIR$/Rakefile">
452
469
  <provider selected="true" editor-type-id="text-editor">
453
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="525">
470
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="473">
454
471
  <folding />
455
472
  </state>
456
473
  </provider>
457
474
  </entry>
458
- <entry file="file://$PROJECT_DIR$/lib/photoarchiver.rb">
475
+ <entry file="file://$PROJECT_DIR$/photoarchiver.gemspec">
459
476
  <provider selected="true" editor-type-id="text-editor">
460
- <state line="5" column="40" selection-start="99" selection-end="99" vertical-scroll-proportion="0.11205074" vertical-offset="22" max-vertical-offset="495">
477
+ <state line="12" column="67" selection-start="674" selection-end="674" vertical-scroll-proportion="0.2503477" vertical-offset="0" max-vertical-offset="719">
461
478
  <folding />
462
479
  </state>
463
480
  </provider>
@@ -469,9 +486,16 @@
469
486
  </state>
470
487
  </provider>
471
488
  </entry>
472
- <entry file="file://$PROJECT_DIR$/photoarchiver.gemspec">
489
+ <entry file="file://$PROJECT_DIR$/lib/photoarchiver/version.rb">
490
+ <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">
492
+ <folding />
493
+ </state>
494
+ </provider>
495
+ </entry>
496
+ <entry file="file://$PROJECT_DIR$/lib/photoarchiver.rb">
473
497
  <provider selected="true" editor-type-id="text-editor">
474
- <state line="12" column="67" selection-start="674" selection-end="674" vertical-scroll-proportion="0.38054967" vertical-offset="0" max-vertical-offset="473">
498
+ <state line="7" column="29" selection-start="130" selection-end="130" vertical-scroll-proportion="0.14603616" vertical-offset="0" max-vertical-offset="719">
475
499
  <folding />
476
500
  </state>
477
501
  </provider>
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Photoarchiver
1
+ # Photoarchiver (v0.0.6)
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
 
@@ -8,8 +8,14 @@ I created this gem to do some ultra simple photo organization. This will read a
8
8
  gem install photoarchiver
9
9
 
10
10
  ## Usage
11
+ I use Photoarchiver from IRB. I simply fire up IRB, require the gem and invoke it like so:
11
12
 
12
- Photoarchiver.organize('/Users/you/pics/source', '/Users/you/Pictures')
13
+ $ irb
14
+ $ 2.0.0p353 :001 > require 'photoarchiver'
15
+ $ 2.0.0p353 :002 > Photoarchiver.organize('/Users/you/pics/source', '/Users/you/Pictures')
16
+ ...
17
+ $ 2.0.0p353 :003 > exit
18
+
13
19
 
14
20
  ## Contributing
15
21
 
@@ -19,6 +25,7 @@ Photoarchiver.organize('/Users/you/pics/source', '/Users/you/Pictures')
19
25
  4. Push to the branch (`git push origin my-new-feature`)
20
26
  5. Create new Pull Request
21
27
 
28
+
22
29
  ## My Workflow
23
30
 
24
31
  I typically download my photos from my different cameras (canon, iphone, ipad, etc). Then, I organize them and rename them so I can place them in a folder in DropBox. I got tired of doing this manually. I also didn't find another tool (though it may be still out there) that did this in the structure I like.
data/lib/photoarchiver.rb CHANGED
@@ -5,21 +5,29 @@ module Photoarchiver
5
5
 
6
6
  def self.organize(dir_src, dir_target)
7
7
 
8
+ puts 'Photoarchiver 0.0.6'
9
+
10
+ # Simpley check to see if the source directory exists and complain if it does not
8
11
  if File.exists?(dir_src) && File.directory?(dir_src)
12
+ # Source dir exists, go ahead and make target directory if it does not exist
9
13
  Dir.mkdir(dir_target) unless File.exists?(dir_target)
10
14
  else
11
15
  raise 'First argument, source directory, does not exist or is not a directory'
12
16
  end
13
17
 
14
- puts dir_src
15
- puts dir_target
18
+ puts "Source Directory: #{dir_src}"
19
+ puts "Target Directory: #{dir_target}"
16
20
 
17
- photos = Dir.glob(File.join(dir_src, '**', '*')).reject { |temp| File.directory? temp }
21
+ # Gather up all the potential photo files
22
+ # TODO: ought to do something like filter this to JPG files only
23
+ photos = Dir.glob(File.join(dir_src, '**', '*.jpg')).reject { |temp| File.directory? temp }
18
24
 
25
+ # Loop through the photos, not currently using index but may in the future
19
26
  photos.each_with_index {|val, index|
20
27
  exif_data = EXIFR::JPEG.new(val).date_time_original
21
- FileUtils::mkdir_p File.join(dir_target, exif_data.strftime('%Y%m%d'))
22
- target_file = File.join(dir_target, exif_data.strftime('%Y%m%d'), exif_data.strftime('%Y%m%d-%H%M%S')) + '.jpg'
28
+
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'
23
31
  puts "Moving #{val} to #{target_file}"
24
32
  File.rename(val, target_file)
25
33
  }
@@ -1,3 +1,3 @@
1
1
  module Photoarchiver
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photoarchiver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Stortz
@@ -53,6 +53,7 @@ files:
53
53
  - .idea/misc.xml
54
54
  - .idea/modules.xml
55
55
  - .idea/photoarchiver.iml
56
+ - .idea/runConfigurations/build__photoarchiver.xml
56
57
  - .idea/runConfigurations/install.xml
57
58
  - .idea/scopes/scope_settings.xml
58
59
  - .idea/vcs.xml