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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5efa70eb25c0a2484b87f8bda3971c253b01cb28e7d0930d72d9135ff46a167d
4
- data.tar.gz: d94a52bf8dd58dbdf827de98939e6bad42cbff725fb6ab564bc85f03564d6704
3
+ metadata.gz: '027025340857f449af782261d9ae0106e8ab77ec5a6f2e9e0239e7a7da4a0d96'
4
+ data.tar.gz: 2302ea6f765653ec67226171623bdab25f0ed0c87fed6b47b9ef860f9b05d0e6
5
5
  SHA512:
6
- metadata.gz: 3bc7d5df9b022fe8190a654a8388ab351c9b03664db3e9303c5849e0548c2aba52b79559e98b3cb20045face5d16b6c68c210bc5858c003e9a58feeaa019c7a9
7
- data.tar.gz: 9a3fb69c7094601882319a1ddd6299a912474c82f80958a987669468fcb8099da30b23c91995b3b0fb352539617bf1493eda8431558eb057d178df2b0bcd793f
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.1...HEAD
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gamerom (0.2.1)
4
+ gamerom (0.2.2)
5
5
  mechanize (~> 2.8.0)
6
6
  mechanize-progressbar (~> 0.2.0)
7
7
  nokogiri (~> 1.11.3)
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.1'
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.1
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: game.id, name: 'single file rom' }
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gamerom
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
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.1
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-09 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize