gamerom 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/gamerom/repo_adapters/vimm.rb +1 -2
- data/lib/gamerom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '027025340857f449af782261d9ae0106e8ab77ec5a6f2e9e0239e7a7da4a0d96'
|
4
|
+
data.tar.gz: 2302ea6f765653ec67226171623bdab25f0ed0c87fed6b47b9ef860f9b05d0e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bd89962c1a23e7b95ccea5d1db99e3b4080aefa0ab01d1ea1bb4a68a2740834cde441b5e45bfafc494fc9b500e9f7a9b5756678658730c5bbf696044c540b13
|
7
|
+
data.tar.gz: 97b67d4f999d9db6bd083d0b8f59533f2e38ee118810dda3b0bec428b71b76d461c450f48f9afdc3e214a2d62f458879cd9089d719f33e6f72ac340786967b29
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.2.2] - 2021-05-09
|
10
|
+
- Fix download from some vimm’s repo platforms
|
11
|
+
|
9
12
|
## [0.2.1] - 2021-05-09
|
10
13
|
- Fix downloading of multiple disk ROMs
|
11
14
|
|
@@ -16,7 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
16
19
|
## [0.1.0] - 2021-05-07
|
17
20
|
- Initial release
|
18
21
|
|
19
|
-
[Unreleased]: https://github.com/lucasmundim/gamerom/compare/v0.2.
|
22
|
+
[Unreleased]: https://github.com/lucasmundim/gamerom/compare/v0.2.2...HEAD
|
23
|
+
[0.2.2]: https://github.com/lucasmundim/gamerom/compare/v0.2.1...v0.2.2
|
20
24
|
[0.2.1]: https://github.com/lucasmundim/gamerom/compare/v0.2.0...v0.2.1
|
21
25
|
[0.2.0]: https://github.com/lucasmundim/gamerom/compare/v0.1.0...v0.2.0
|
22
26
|
[0.1.0]: https://github.com/lucasmundim/gamerom/releases/tag/v0.1.0
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -14,7 +14,7 @@ It currently supports the following repositories:
|
|
14
14
|
Add this to your .bashrc, .bash_aliases, etc:
|
15
15
|
|
16
16
|
```
|
17
|
-
alias gamerom='docker run --rm -it -v ~/.gamerom:/root/.gamerom docker.io/lucasmundim/gamerom:0.2.
|
17
|
+
alias gamerom='docker run --rm -it -v ~/.gamerom:/root/.gamerom docker.io/lucasmundim/gamerom:0.2.2'
|
18
18
|
```
|
19
19
|
|
20
20
|
Use it as:
|
@@ -539,7 +539,7 @@ Print program version
|
|
539
539
|
|
540
540
|
```
|
541
541
|
$ gamerom version
|
542
|
-
0.2.
|
542
|
+
0.2.2
|
543
543
|
```
|
544
544
|
|
545
545
|
## Development
|
@@ -64,7 +64,7 @@ module Gamerom
|
|
64
64
|
multiple_disks = page.css('#download_disc_number')
|
65
65
|
|
66
66
|
if multiple_disks.empty?
|
67
|
-
game_files << { id:
|
67
|
+
game_files << { id: form['mediaId'], name: 'single file rom' }
|
68
68
|
else
|
69
69
|
puts "multiple discs detected"
|
70
70
|
game_files.concat multiple_disks.children[1..-2].map { |disk| { name: disk.text, id: disk['value']} }
|
@@ -72,7 +72,6 @@ module Gamerom
|
|
72
72
|
|
73
73
|
game_files.each do |game_file|
|
74
74
|
puts "downloading #{game_file[:name]}"
|
75
|
-
form.action = "https://download4.vimm.net/download/?mediaId=#{game_file[:id]}"
|
76
75
|
form.method = 'GET'
|
77
76
|
button = form.button_with(:type => "submit")
|
78
77
|
response = nil
|
data/lib/gamerom/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gamerom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Mundim
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|