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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76b5c6a23127e1e2cfadc6de61f7067886104687
4
- data.tar.gz: 4af7c1659dc10d5d0aa591fe4ac6a13bcce34bff
3
+ metadata.gz: 0e38d3eb338a659d95469db1b52a43e31cda559d
4
+ data.tar.gz: bd1567e6504c58ba04b99c23228a4f0e6aab8d8d
5
5
  SHA512:
6
- metadata.gz: 8f177f07118649281fdaf9de781f25c030609ffc6c5c770c98f4a1b1fc27b2481e6b9b391f57d3cc5639552a5d598a1ee9d110ad5cb9e477d1766f82d00c5ae4
7
- data.tar.gz: 93cabc652703f81631c50a82b7fe1e781ef4a6a9254d18f69a8b3f75494acd824af672cd3bc2798cb26b9608b850bc2750fac90a1d508b0be2f463dc10c6732e
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Visio2pdf
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -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.1
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-01-12 00:00:00.000000000 Z
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: '0'
101
+ version: 2.0.0
102
102
  required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - ">="