bowshock 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.idea/.rakeTasks +1 -1
- data/.idea/workspace.xml +52 -65
- data/Gemfile.lock +1 -1
- data/bowshock-0.1.1.gem +0 -0
- data/lib/bowshock/helioviewer.rb +7 -3
- data/lib/bowshock/version.rb +1 -1
- data/lib/bowshock.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 524cf1bc6f36da41a6a52ce86dc982395d8977a28cf6e21b832b1d3b720e82e8
|
|
4
|
+
data.tar.gz: fa77cb3d82b48c3206ff4a69617c6690a52c7535a12ff3905680a24674d23e0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: caa6ddc39f921eb5bcb19d90a8656955d74bc20c8ed467da79eca18fa29a79f52e81ae9acd9fff142c14380d2e9a6c0ad40f3a0e0cb919e0b0da01571b083171
|
|
7
|
+
data.tar.gz: de0ea908d071ccb9bc0fc863556f017ce9013c72efb294ea5322d4ece1c727130b08e2265b42afb8f28498a65f686e37adc7980a6f957b844dac400d558939b3
|
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 bowshock-0.1.
|
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build bowshock-0.1.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install bowshock-0.1.1.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install bowshock-0.1.1.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.1 and build and push bowshock-0.1.1.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/workspace.xml
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
4
|
<list default="true" id="52dcddbc-69b6-47a1-b1ae-68ffe7aec52d" name="Default Changelist" comment="">
|
|
5
|
-
<change beforePath="$PROJECT_DIR
|
|
5
|
+
<change beforePath="$PROJECT_DIR$/.idea/.rakeTasks" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" afterDir="false" />
|
|
6
|
+
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
7
|
+
<change beforePath="$PROJECT_DIR$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/lib/bowshock.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/bowshock.rb" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/lib/bowshock/helioviewer.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/bowshock/helioviewer.rb" afterDir="false" />
|
|
6
10
|
<change beforePath="$PROJECT_DIR$/lib/bowshock/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/bowshock/version.rb" afterDir="false" />
|
|
7
11
|
</list>
|
|
8
12
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
@@ -12,7 +16,7 @@
|
|
|
12
16
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
13
17
|
</component>
|
|
14
18
|
<component name="CoverageDataManager">
|
|
15
|
-
<SUITE FILE_PATH="coverage/bowshock@bowshock.rcov" NAME="bowshock Coverage Results" MODIFIED="
|
|
19
|
+
<SUITE FILE_PATH="coverage/bowshock@bowshock.rcov" NAME="bowshock Coverage Results" MODIFIED="1551024573121" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="bowshock" />
|
|
16
20
|
<SUITE FILE_PATH="coverage/bowshock@Run_test__bowshock_test___bowshock.rcov" NAME="Run test 'bowshock_test': bowshock Coverage Results" MODIFIED="1550424685216" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="bowshock" />
|
|
17
21
|
</component>
|
|
18
22
|
<component name="FileEditorManager">
|
|
@@ -20,8 +24,8 @@
|
|
|
20
24
|
<file pinned="false" current-in-tab="false">
|
|
21
25
|
<entry file="file://$PROJECT_DIR$/lib/bowshock.rb">
|
|
22
26
|
<provider selected="true" editor-type-id="text-editor">
|
|
23
|
-
<state relative-caret-position="
|
|
24
|
-
<caret line="
|
|
27
|
+
<state relative-caret-position="472">
|
|
28
|
+
<caret line="101" column="14" selection-start-line="101" selection-start-column="14" selection-end-line="101" selection-end-column="14" />
|
|
25
29
|
</state>
|
|
26
30
|
</provider>
|
|
27
31
|
</entry>
|
|
@@ -65,8 +69,8 @@
|
|
|
65
69
|
<file pinned="false" current-in-tab="false">
|
|
66
70
|
<entry file="file://$PROJECT_DIR$/lib/bowshock/helioviewer.rb">
|
|
67
71
|
<provider selected="true" editor-type-id="text-editor">
|
|
68
|
-
<state relative-caret-position="
|
|
69
|
-
<caret line="
|
|
72
|
+
<state relative-caret-position="404">
|
|
73
|
+
<caret line="179" column="36" selection-start-line="179" selection-start-column="36" selection-end-line="179" selection-end-column="36" />
|
|
70
74
|
</state>
|
|
71
75
|
</provider>
|
|
72
76
|
</entry>
|
|
@@ -139,8 +143,8 @@
|
|
|
139
143
|
<option value="$PROJECT_DIR$/lib/bowshock/eonet.rb" />
|
|
140
144
|
<option value="$PROJECT_DIR$/lib/bowshock/helpers.rb" />
|
|
141
145
|
<option value="$PROJECT_DIR$/Gemfile" />
|
|
142
|
-
<option value="$PROJECT_DIR$/lib/bowshock.rb" />
|
|
143
146
|
<option value="$PROJECT_DIR$/bowshock.gemspec" />
|
|
147
|
+
<option value="$PROJECT_DIR$/lib/bowshock.rb" />
|
|
144
148
|
<option value="$PROJECT_DIR$/lib/bowshock/helioviewer.rb" />
|
|
145
149
|
<option value="$PROJECT_DIR$/lib/bowshock/version.rb" />
|
|
146
150
|
</list>
|
|
@@ -153,8 +157,8 @@
|
|
|
153
157
|
<auto-save>true</auto-save>
|
|
154
158
|
</component>
|
|
155
159
|
<component name="ProjectFrameBounds">
|
|
156
|
-
<option name="x" value="
|
|
157
|
-
<option name="y" value="
|
|
160
|
+
<option name="x" value="695" />
|
|
161
|
+
<option name="y" value="41" />
|
|
158
162
|
<option name="width" value="1187" />
|
|
159
163
|
<option name="height" value="1000" />
|
|
160
164
|
</component>
|
|
@@ -166,7 +170,6 @@
|
|
|
166
170
|
<foldersAlwaysOnTop value="true" />
|
|
167
171
|
</navigator>
|
|
168
172
|
<panes>
|
|
169
|
-
<pane id="Scope" />
|
|
170
173
|
<pane id="ProjectPane">
|
|
171
174
|
<subPane>
|
|
172
175
|
<expand>
|
|
@@ -189,6 +192,7 @@
|
|
|
189
192
|
<select />
|
|
190
193
|
</subPane>
|
|
191
194
|
</pane>
|
|
195
|
+
<pane id="Scope" />
|
|
192
196
|
</panes>
|
|
193
197
|
</component>
|
|
194
198
|
<component name="PropertiesComponent">
|
|
@@ -282,7 +286,8 @@
|
|
|
282
286
|
<option name="presentableId" value="Default" />
|
|
283
287
|
<updated>1549308599914</updated>
|
|
284
288
|
<workItem from="1549308602082" duration="45819000" />
|
|
285
|
-
<workItem from="1550431669172" duration="
|
|
289
|
+
<workItem from="1550431669172" duration="10817000" />
|
|
290
|
+
<workItem from="1551024206896" duration="393000" />
|
|
286
291
|
</task>
|
|
287
292
|
<servers />
|
|
288
293
|
</component>
|
|
@@ -310,24 +315,24 @@
|
|
|
310
315
|
</history-entry>
|
|
311
316
|
</component>
|
|
312
317
|
<component name="TimeTrackingManager">
|
|
313
|
-
<option name="totallyTimeSpent" value="
|
|
318
|
+
<option name="totallyTimeSpent" value="57029000" />
|
|
314
319
|
</component>
|
|
315
320
|
<component name="ToolWindowManager">
|
|
316
|
-
<frame x="
|
|
321
|
+
<frame x="695" y="41" width="1187" height="1000" extended-state="0" />
|
|
317
322
|
<editor active="true" />
|
|
318
323
|
<layout>
|
|
319
324
|
<window_info id="Favorites" order="0" side_tool="true" />
|
|
320
|
-
<window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.
|
|
325
|
+
<window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.2585153" />
|
|
321
326
|
<window_info id="Structure" order="2" side_tool="true" weight="0.25" />
|
|
322
327
|
<window_info anchor="bottom" id="Database Changes" order="0" />
|
|
323
|
-
<window_info anchor="bottom" id="Terminal" order="1" sideWeight="0.49868995"
|
|
328
|
+
<window_info anchor="bottom" id="Terminal" order="1" sideWeight="0.49868995" weight="0.32929516" />
|
|
324
329
|
<window_info anchor="bottom" id="Event Log" order="2" sideWeight="0.5021834" side_tool="true" weight="0.32929516" />
|
|
325
330
|
<window_info anchor="bottom" id="Version Control" order="3" weight="0.32929516" />
|
|
326
331
|
<window_info anchor="bottom" id="Messages" order="4" sideWeight="0.4995633" weight="0.32929516" />
|
|
327
332
|
<window_info anchor="bottom" id="Docker" order="5" show_stripe_button="false" />
|
|
328
333
|
<window_info anchor="bottom" id="Message" order="6" />
|
|
329
334
|
<window_info anchor="bottom" id="Find" order="7" weight="0.32929516" />
|
|
330
|
-
<window_info anchor="bottom" id="Run" order="8" sideWeight="0.4978166" weight="0.32929516" />
|
|
335
|
+
<window_info anchor="bottom" id="Run" order="8" sideWeight="0.4978166" visible="true" weight="0.32929516" />
|
|
331
336
|
<window_info anchor="bottom" id="Debug" order="9" weight="0.4" />
|
|
332
337
|
<window_info anchor="bottom" id="Cvs" order="10" weight="0.25" />
|
|
333
338
|
<window_info anchor="bottom" id="Inspection" order="11" weight="0.4" />
|
|
@@ -419,48 +424,29 @@
|
|
|
419
424
|
</state>
|
|
420
425
|
</provider>
|
|
421
426
|
</entry>
|
|
422
|
-
<entry file="file://$PROJECT_DIR$/lib/bowshock/
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
</entry>
|
|
429
|
-
<entry file="file://$PROJECT_DIR$/lib/bowshock/eonet.rb">
|
|
430
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
431
|
-
<state relative-caret-position="1050">
|
|
432
|
-
<caret line="70" column="66" selection-start-line="70" selection-start-column="66" selection-end-line="70" selection-end-column="66" />
|
|
433
|
-
</state>
|
|
434
|
-
</provider>
|
|
435
|
-
</entry>
|
|
436
|
-
<entry file="file://$PROJECT_DIR$/lib/bowshock/down-net_http20190223-73112-12pwxwf.mp4">
|
|
427
|
+
<entry file="file://$PROJECT_DIR$/lib/bowshock/down-net_http20190223-73112-12pwxwf.mp4" />
|
|
428
|
+
<entry file="file://$PROJECT_DIR$/lib/yourfile.mp4" />
|
|
429
|
+
<entry file="file://$PROJECT_DIR$/lib/file.mp4" />
|
|
430
|
+
<entry file="file://$PROJECT_DIR$/lib/bowshock/down-net_http20190224-85481-yk82t1.mp4" />
|
|
431
|
+
<entry file="file://$PROJECT_DIR$/lib/movies/down-net_http20190224-86164-oqq4m2" />
|
|
432
|
+
<entry file="file://$PROJECT_DIR$/lib/bowshock.rb">
|
|
437
433
|
<provider selected="true" editor-type-id="text-editor">
|
|
438
|
-
<state relative-caret-position="
|
|
439
|
-
<caret line="
|
|
434
|
+
<state relative-caret-position="472">
|
|
435
|
+
<caret line="101" column="14" selection-start-line="101" selection-start-column="14" selection-end-line="101" selection-end-column="14" />
|
|
440
436
|
</state>
|
|
441
437
|
</provider>
|
|
442
438
|
</entry>
|
|
443
|
-
<entry file="file://$PROJECT_DIR
|
|
444
|
-
<provider selected="true" editor-type-id="text-editor" />
|
|
445
|
-
</entry>
|
|
446
|
-
<entry file="file://$PROJECT_DIR$/lib/file.mp4">
|
|
439
|
+
<entry file="file://$PROJECT_DIR$/.env">
|
|
447
440
|
<provider selected="true" editor-type-id="text-editor">
|
|
448
441
|
<state>
|
|
449
|
-
<caret column="
|
|
442
|
+
<caret column="6" selection-end-column="53" />
|
|
450
443
|
</state>
|
|
451
444
|
</provider>
|
|
452
445
|
</entry>
|
|
453
|
-
<entry file="file://$PROJECT_DIR$/
|
|
454
|
-
<provider selected="true" editor-type-id="
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
<provider selected="true" editor-type-id="LargeFileEditor" />
|
|
458
|
-
</entry>
|
|
459
|
-
<entry file="file://$PROJECT_DIR$/README.md">
|
|
460
|
-
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
461
|
-
<state split_layout="SPLIT">
|
|
462
|
-
<first_editor />
|
|
463
|
-
<second_editor />
|
|
446
|
+
<entry file="file://$PROJECT_DIR$/bowshock.gemspec">
|
|
447
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
448
|
+
<state relative-caret-position="375">
|
|
449
|
+
<caret line="25" selection-start-line="25" selection-end-line="25" />
|
|
464
450
|
</state>
|
|
465
451
|
</provider>
|
|
466
452
|
</entry>
|
|
@@ -471,38 +457,39 @@
|
|
|
471
457
|
</state>
|
|
472
458
|
</provider>
|
|
473
459
|
</entry>
|
|
474
|
-
<entry file="file://$PROJECT_DIR$/bowshock.
|
|
460
|
+
<entry file="file://$PROJECT_DIR$/lib/bowshock/apod.rb">
|
|
475
461
|
<provider selected="true" editor-type-id="text-editor">
|
|
476
|
-
<state relative-caret-position="
|
|
477
|
-
<caret line="
|
|
462
|
+
<state relative-caret-position="255">
|
|
463
|
+
<caret line="17" column="58" selection-start-line="17" selection-start-column="58" selection-end-line="17" selection-end-column="58" />
|
|
478
464
|
</state>
|
|
479
465
|
</provider>
|
|
480
466
|
</entry>
|
|
481
|
-
<entry file="file://$PROJECT_DIR$/
|
|
482
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
483
|
-
<state
|
|
484
|
-
<
|
|
467
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
468
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
469
|
+
<state split_layout="SPLIT">
|
|
470
|
+
<first_editor />
|
|
471
|
+
<second_editor />
|
|
485
472
|
</state>
|
|
486
473
|
</provider>
|
|
487
474
|
</entry>
|
|
488
|
-
<entry file="file://$PROJECT_DIR
|
|
475
|
+
<entry file="file://$PROJECT_DIR$/lib/bowshock/helpers.rb">
|
|
489
476
|
<provider selected="true" editor-type-id="text-editor">
|
|
490
|
-
<state>
|
|
491
|
-
<caret column="
|
|
477
|
+
<state relative-caret-position="315">
|
|
478
|
+
<caret line="21" column="4" selection-start-line="21" selection-start-column="4" selection-end-line="21" selection-end-column="4" />
|
|
492
479
|
</state>
|
|
493
480
|
</provider>
|
|
494
481
|
</entry>
|
|
495
|
-
<entry file="file://$PROJECT_DIR$/lib/bowshock/
|
|
482
|
+
<entry file="file://$PROJECT_DIR$/lib/bowshock/eonet.rb">
|
|
496
483
|
<provider selected="true" editor-type-id="text-editor">
|
|
497
|
-
<state relative-caret-position="
|
|
498
|
-
<caret line="
|
|
484
|
+
<state relative-caret-position="1050">
|
|
485
|
+
<caret line="70" column="66" selection-start-line="70" selection-start-column="66" selection-end-line="70" selection-end-column="66" />
|
|
499
486
|
</state>
|
|
500
487
|
</provider>
|
|
501
488
|
</entry>
|
|
502
|
-
<entry file="file://$PROJECT_DIR$/lib/bowshock/
|
|
489
|
+
<entry file="file://$PROJECT_DIR$/lib/bowshock/helioviewer.rb">
|
|
503
490
|
<provider selected="true" editor-type-id="text-editor">
|
|
504
|
-
<state relative-caret-position="
|
|
505
|
-
<caret line="
|
|
491
|
+
<state relative-caret-position="404">
|
|
492
|
+
<caret line="179" column="36" selection-start-line="179" selection-start-column="36" selection-end-line="179" selection-end-column="36" />
|
|
506
493
|
</state>
|
|
507
494
|
</provider>
|
|
508
495
|
</entry>
|
data/Gemfile.lock
CHANGED
data/bowshock-0.1.1.gem
ADDED
|
Binary file
|
data/lib/bowshock/helioviewer.rb
CHANGED
|
@@ -173,9 +173,13 @@ module Bowshock
|
|
|
173
173
|
if object["hq"]
|
|
174
174
|
base_url += "hq=#{object["hq"]}"
|
|
175
175
|
end
|
|
176
|
-
|
|
177
|
-
Dir.
|
|
178
|
-
|
|
176
|
+
directory_name = "movies"
|
|
177
|
+
Dir.mkdir(directory_name) unless File.exists?(directory_name)
|
|
178
|
+
if File.exists?(directory_name)
|
|
179
|
+
Down.download(base_url, destination: directory_name)
|
|
180
|
+
Dir.glob("#{directory_name}/*").each do |filename|
|
|
181
|
+
FileUtils.mv( filename, filename.ext("mp4"))
|
|
182
|
+
end
|
|
179
183
|
end
|
|
180
184
|
end
|
|
181
185
|
module_function :downloadMovie
|
data/lib/bowshock/version.rb
CHANGED
data/lib/bowshock.rb
CHANGED
|
@@ -98,5 +98,5 @@ instance = Bowshock::Helioviewer.queueMovie({"startTime" => "2010-03-01T12:12:12
|
|
|
98
98
|
=end
|
|
99
99
|
#instance = Bowshock::Helioviewer.reQueueMovie("VXvX5")
|
|
100
100
|
#instance = Bowshock::Helioviewer.getMovieStatus({"id" => "F3Dh5", "format" => "mp4", "verbose" => true, #"callback" => "callback", #"token" => "4673d6db4e2a3365ab361267f2a9a112"})
|
|
101
|
-
|
|
101
|
+
instance = Bowshock::Helioviewer.downloadMovie({"id" => "VXvX5", "format" => "mp4", "hq" => true})
|
|
102
102
|
#puts instance
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bowshock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- javajohnhub
|
|
@@ -78,6 +78,7 @@ files:
|
|
|
78
78
|
- bin/console
|
|
79
79
|
- bin/setup
|
|
80
80
|
- bowshock-0.1.0.gem
|
|
81
|
+
- bowshock-0.1.1.gem
|
|
81
82
|
- bowshock.gemspec
|
|
82
83
|
- lib/bowshock.rb
|
|
83
84
|
- lib/bowshock/apod.rb
|