mrmanga 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/mrmanga/downloader.rb +5 -1
- data/lib/mrmanga/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 678d8ae8f1d141f0a7c1321b4c91a08ba45eee8c
|
4
|
+
data.tar.gz: 5c33d990fb4611db3b25a1de5f27cba57b7d215f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b0a410ad42475ecc9d9a66920a7c1f79d0b14b33d0ce9c67159e4dd0055092a60cc4454857e6004e4a5a39ffd633a921768967129f4b01ea7f75344c49fbe55
|
7
|
+
data.tar.gz: e8e5ad5bcdef19ea6ded2ad62028a31b93a64090d3efb66b095118fff23d3bd9b6751dfc58832b0d4081d216d8a8d48a1a3a56727f1cf49b600ce391337f7c53
|
data/README.md
CHANGED
@@ -68,7 +68,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
68
68
|
|
69
69
|
## Contributing
|
70
70
|
|
71
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
71
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/4ndv/mrmanga. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
72
72
|
|
73
73
|
|
74
74
|
## License
|
data/lib/mrmanga/downloader.rb
CHANGED
@@ -12,7 +12,11 @@ module Mrmanga
|
|
12
12
|
|
13
13
|
@name = @manga.info[:info][:name]
|
14
14
|
|
15
|
-
|
15
|
+
if File.directory?(@name)
|
16
|
+
should_continue = agree("Folder '#{@name}' already exists, continue?") { |q| q.default = 'yes' }
|
17
|
+
|
18
|
+
return unless should_continue
|
19
|
+
end
|
16
20
|
end
|
17
21
|
|
18
22
|
def download_volume(volume)
|
data/lib/mrmanga/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mrmanga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Viktorov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|