epub_book 0.1.1 → 0.1.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
  SHA1:
3
- metadata.gz: 54c323a5f261ac4b696c25b87871009119c2eb25
4
- data.tar.gz: b1a8225cc6fa5e66084da3ff49d82e5632055ca0
3
+ metadata.gz: 988d7b70bfcc5a8c9f127f3571881dc513556370
4
+ data.tar.gz: 8e468e991b0fb86bc591713739f01037b78f79b2
5
5
  SHA512:
6
- metadata.gz: 916c98311ed9c52a82b6b5957a36f02191e6eacfb15daff5fa119b4fd5bd5404a0d602c2645fc706a1dae2f7e4a7d074dfedfa8fb971530f87e0a64317519aad
7
- data.tar.gz: 15470b7a0152adef5581294f3480196534f830f7fb6470e42cf84cbb05649b86ee3f4b1c9076e197357e445c35942a71b837cb1c12f282818df3e17d5df72354
6
+ metadata.gz: 91501148b27c75734dab39ca1a4c336a22a17b7a08c2553841b247b7545e6f524aa27a356fee722368369ad7ef7f86f96012f00ea62d6d36b192ec44f80c7d8b
7
+ data.tar.gz: dbe5c7559a2134bf4be084a319eb444dd0cdf70ed203b04782a5d8a64c9e616c5b4af404da64220e2d617ade474af2ac12696c902e9b467a96eb68374147b9b3
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
  *.swp
11
11
  default_setting.yml
12
12
  .ruby-*
13
+ *.gem
@@ -31,7 +31,7 @@ module EpubBook
31
31
  @index_url = index_url
32
32
  @user_agent = UserAgent
33
33
  @referer = Referer
34
- @folder_name = Base64.urlsafe_encode64(index_url)[-10..-3]
34
+ @folder_name = Base64.urlsafe_encode64(Array(index_url).pack('P'))
35
35
  @creator = 'javy_liu'
36
36
  @title_css = '.wrapper h1.title1'
37
37
  @index_item_css = 'ul.list3>li>a'
@@ -1,3 +1,3 @@
1
1
  module EpubBook
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epub_book
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - qmliu