sharp_office 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,30 +7,25 @@
7
7
  ### Swftools
8
8
 
9
9
  ```
10
- sudo add-apt-repository ppa:guilhem-fr/swftools
11
-
12
- sudo apt-get update
13
-
14
- sudo apt-get install swftools
10
+ sudo add-apt-repository ppa:guilhem-fr/swftools
11
+ sudo apt-get update
12
+ sudo apt-get install swftools
15
13
  ```
16
14
 
17
15
  on download http://218.108.192.202/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/www.swftools.org/swftools-2013-04-09-1007.tar.gz and make it yourself.
18
16
 
19
- ### LibreOffice
17
+ ### LibreOffice https://wiki.ubuntu.com/LibreOffice
20
18
 
21
19
  ``` 
22
- sudo add-apt-repository ppa:libreoffice/ppa
23
-
24
- sudo apt-get update
25
-
26
- sudo apt-get install libreoffice
20
+ sudo apt-get install python-software-properties
21
+ sudo apt-add-repository ppa:libreoffice/libreoffice-4-0
27
22
 
28
23
  ```
29
24
 
30
25
  ### ImageMagick
31
26
 
32
27
  ```
33
- sudo apt-get install imagemagick libmagickcore-dev
28
+ sudo apt-get install imagemagick libmagickcore-dev gs
34
29
  ```
35
30
 
36
31
  ## Installation
@@ -35,7 +35,7 @@ module SharpOffice
35
35
  end
36
36
 
37
37
  def convert_to_cover
38
- "convert #{pdf_path} #{cover_path}"
38
+ "convert #{pdf_path}[0] #{cover_path}"
39
39
  end
40
40
 
41
41
  def pdf_path
@@ -1,3 +1,3 @@
1
1
  module SharpOffice
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sharp_office
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-12-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mini_magick
16
- requirement: &70098930044460 !ruby/object:Gem::Requirement
16
+ requirement: &70262880757980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70098930044460
24
+ version_requirements: *70262880757980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70098930076800 !ruby/object:Gem::Requirement
27
+ requirement: &70262880754880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 2.13.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70098930076800
35
+ version_requirements: *70262880754880
36
36
  description: Convert office document to pdf and swf
37
37
  email:
38
38
  - liu19850701@gmail.com