docsplit 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'docsplit'
3
- s.version = '0.1.2' # Keep version in sync with jammit.rb
4
- s.date = '2010-3-19'
3
+ s.version = '0.1.3' # Keep version in sync with jammit.rb
4
+ s.date = '2010-4-27'
5
5
 
6
6
  s.homepage = "http://documentcloud.github.com/docsplit/"
7
7
  s.summary = "Break Apart Documents into Images, Text, Pages and PDFs"
@@ -1,7 +1,7 @@
1
1
  # The Docsplit module delegates to the Java PDF extractors.
2
2
  module Docsplit
3
3
 
4
- VERSION = '0.1.2' # Keep in sync with gemspec.
4
+ VERSION = '0.1.3' # Keep in sync with gemspec.
5
5
 
6
6
  ROOT = File.expand_path(File.dirname(__FILE__) + '/..')
7
7
 
@@ -67,7 +67,7 @@ module Docsplit
67
67
  @pages.split(',').map { |range|
68
68
  if range.include?('-')
69
69
  range = range.split('-')
70
- Range.new(range.first, range.last).to_a.map {|n| n.to_i }
70
+ Range.new(range.first.to_i, range.last.to_i).to_a.map {|n| n.to_i }
71
71
  else
72
72
  range.to_i
73
73
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docsplit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 3
9
+ version: 0.1.3
5
10
  platform: ruby
6
11
  authors:
7
12
  - Jeremy Ashkenas
@@ -9,7 +14,7 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-19 00:00:00 -04:00
17
+ date: 2010-04-27 00:00:00 -04:00
13
18
  default_executable:
14
19
  dependencies: []
15
20
 
@@ -70,18 +75,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
75
  requirements:
71
76
  - - ">="
72
77
  - !ruby/object:Gem::Version
78
+ segments:
79
+ - 0
73
80
  version: "0"
74
- version:
75
81
  required_rubygems_version: !ruby/object:Gem::Requirement
76
82
  requirements:
77
83
  - - ">="
78
84
  - !ruby/object:Gem::Version
85
+ segments:
86
+ - 0
79
87
  version: "0"
80
- version:
81
88
  requirements: []
82
89
 
83
90
  rubyforge_project: docsplit
84
- rubygems_version: 1.3.5
91
+ rubygems_version: 1.3.6
85
92
  signing_key:
86
93
  specification_version: 3
87
94
  summary: Break Apart Documents into Images, Text, Pages and PDFs