visio2pdf 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/lib/visio2pdf.rb +8 -1
- data/lib/visio2pdf/version.rb +1 -1
- data/visio2pdf.gemspec +2 -0
- 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: 0e38d3eb338a659d95469db1b52a43e31cda559d
|
4
|
+
data.tar.gz: bd1567e6504c58ba04b99c23228a4f0e6aab8d8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2126f8504a3c165fd94c3aacee9ea2b79f8bdfe450770d8d7e1acd4ca2e675714394c18121a9a265eaa7b6b7341da653c6c56e087afac57e42fd61d839c4d092
|
7
|
+
data.tar.gz: 2ec1fd8d377a178503b92114cb7da72749d429c1cb86bd0a12b95fe5221f5bb7ecd2c0e8110ed7edf8b832530d80bc02e3b171eb924874e9e03de158263afabd
|
data/README.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Visio2pdf
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/visio2pdf.svg)](http://badge.fury.io/rb/visio2pdf)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/changeworld/visio2pdf/badges/gpa.svg)](https://codeclimate.com/github/changeworld/visio2pdf)
|
5
|
+
[![Dependency Status](https://gemnasium.com/changeworld/visio2pdf.svg)](https://gemnasium.com/changeworld/visio2pdf)
|
6
|
+
[![Inline docs](http://inch-ci.org/github/changeworld/visio2pdf.svg?branch=master)](http://inch-ci.org/github/changeworld/visio2pdf)
|
7
|
+
[![Stories in Ready](https://badge.waffle.io/changeworld/visio2pdf.svg?label=ready&title=Ready)](http://waffle.io/changeworld/visio2pdf)
|
8
|
+
|
3
9
|
Visio2pdf converts Visio files to PDF files.
|
4
10
|
|
5
11
|
## Requirements
|
@@ -38,7 +44,7 @@ Visio2pdf.exec([Existing directory path of the Visio file], e.g. '../visio')
|
|
38
44
|
|
39
45
|
1. Fork it ( https://github.com/changeworld/visio2pdf/fork )
|
40
46
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
41
|
-
3. Execute before commit your changes (bundle exec rake)
|
47
|
+
3. Execute before commit your changes (`bundle exec rake`)
|
42
48
|
4. Commit your changes (`git commit -am 'Add some feature'`)
|
43
49
|
5. Push to the branch (`git push origin my-new-feature`)
|
44
50
|
6. Create a new Pull Request
|
data/lib/visio2pdf.rb
CHANGED
@@ -2,9 +2,10 @@
|
|
2
2
|
|
3
3
|
require 'win32ole'
|
4
4
|
|
5
|
-
#
|
6
5
|
# Visio2pdf converts Visio files to PDF files.
|
7
6
|
#
|
7
|
+
# @example
|
8
|
+
# require 'visio2pdf'
|
8
9
|
module Visio2pdf
|
9
10
|
VSDEXTS = '.vsd'
|
10
11
|
PDFEXTS = '.pdf'
|
@@ -13,6 +14,12 @@ module Visio2pdf
|
|
13
14
|
@vsd_fullpath = nil
|
14
15
|
@pdf_fullpath = nil
|
15
16
|
|
17
|
+
# Converts Visio files to PDF files.
|
18
|
+
#
|
19
|
+
# @example
|
20
|
+
# Visio2pdf.exec(in_dir)
|
21
|
+
#
|
22
|
+
# @param in_dir [String] existing directory path of the Visio file
|
16
23
|
def self.exec(in_dir)
|
17
24
|
@in_dir = in_dir
|
18
25
|
begin
|
data/lib/visio2pdf/version.rb
CHANGED
data/visio2pdf.gemspec
CHANGED
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.homepage = 'https://github.com/changeworld/visio2pdf'
|
17
17
|
spec.license = 'MIT'
|
18
18
|
|
19
|
+
spec.required_ruby_version = '>= 2.0.0'
|
20
|
+
|
19
21
|
spec.files = `git ls-files -z`.split("\x0")
|
20
22
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
23
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: visio2pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- changeworld
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
99
99
|
- - ">="
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: 2.0.0
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
104
|
- - ">="
|