sharp_office_bruce 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  ## SharpOffice
2
2
 
3
3
  [![Build Status](https://travis-ci.org/SharpV/sharp_office.png?branch=master)](https://travis-ci.org/SharpV/sharp_office)
4
+ fork from https://github.com/sharp/sharp_office
4
5
 
5
6
  ## Requirements
6
7
 
@@ -32,7 +32,9 @@ module SharpOffice
32
32
  end
33
33
 
34
34
  def convert_to_swf
35
- "pdf2swf #{pdf_path} #{swf_path}"
35
+ cmd_param = []
36
+ cmd_param << "-p #{@options[:page]}" if @options[:page]
37
+ "pdf2swf #{pdf_path} #{swf_path} #{cmd_param.join(' ')}"
36
38
  end
37
39
 
38
40
  def convert_to_cover
@@ -1,3 +1,3 @@
1
1
  module SharpOffice
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 2
9
- version: 1.0.2
8
+ - 3
9
+ version: 1.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - heimirror
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2014-11-17 00:00:00 +08:00
17
+ date: 2014-12-01 00:00:00 +08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency