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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e77ba7e03e7391c27df489b8c89e9dae7fd785a
4
- data.tar.gz: 031b612faaf95f9998b45278bf582d0f85eff89e
3
+ metadata.gz: 678d8ae8f1d141f0a7c1321b4c91a08ba45eee8c
4
+ data.tar.gz: 5c33d990fb4611db3b25a1de5f27cba57b7d215f
5
5
  SHA512:
6
- metadata.gz: de855550b8a25a48d66dc0d1ab55cf4a304f3cb8d262fcfc060e2a0afd972713b768f2d3d7bab57d775bba129ebc368e4c8862171eb9893bc01d404c6c9b1954
7
- data.tar.gz: 61cb06aaea77e9156e79acbcf0bedd46777614d888af3bd3e3fc366c40245de72793706c6150d83c99541734b389ecb53ce5e5ac2a18a1bf91b20bbf9ef761d2
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/[USERNAME]/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.
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
@@ -12,7 +12,11 @@ module Mrmanga
12
12
 
13
13
  @name = @manga.info[:info][:name]
14
14
 
15
- raise "Folder '#{@name}' already exists" if File.directory?(@name)
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)
@@ -1,3 +1,3 @@
1
1
  module Mrmanga
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.5.0'.freeze
3
3
  end
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.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-07-23 00:00:00.000000000 Z
11
+ date: 2017-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline