gepub 0.6.8.8 → 0.6.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gepub/package.rb +3 -3
- data/lib/gepub/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0842819d24c9387921014eea4c75e30a5ecbd28
|
4
|
+
data.tar.gz: 3210ee8a74fb4e95e00fe82798dddbcd5b12f5f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6953ffea49755dda0d1529398ffacdfeadfd1b33085a1e25763e4e569e8fe2d3f50f5180ae7922c1a2e72d1406ef120c49be3cbf0aac63a57b85ce75f69efeca
|
7
|
+
data.tar.gz: ad37f2937b7e8cea8ee11259dc2edc074ef3c52ffcf401f22a4f24268063a7b0029a15085368aeb2735710f3aeb18cf38fc65a1f06d1f942ff0a13456e3bc520
|
data/lib/gepub/package.rb
CHANGED
@@ -41,10 +41,10 @@ module GEPUB
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def generate_key(param = {})
|
44
|
+
prefix = param[:prefix] || ''
|
45
|
+
suffix = param[:suffix] || ''
|
46
|
+
count = [ param[:start] || 1, counter(prefix,suffix) || 1].max
|
44
47
|
while (true)
|
45
|
-
prefix = param[:prefix] || ''
|
46
|
-
suffix = param[:suffix] || ''
|
47
|
-
count = [ param[:start] || 1, counter(prefix,suffix) || 1].max
|
48
48
|
if param[:without_count]
|
49
49
|
k = prefix + suffix
|
50
50
|
count -= 1
|
data/lib/gepub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gepub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.8.
|
4
|
+
version: 0.6.8.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KOJIMA Satoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
148
|
rubyforge_project: gepub
|
149
|
-
rubygems_version: 2.0.
|
149
|
+
rubygems_version: 2.0.2
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: a generic EPUB library for Ruby.
|