Skip to content

Commit acd2fdf

Browse files
author
Laurynas Butkus
committed
Initial import
0 parents  commit acd2fdf

15 files changed

+226
-0
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/.bundle/
2+
/.yardoc
3+
/_yardoc/
4+
/coverage/
5+
/doc/
6+
/pkg/
7+
/spec/reports/
8+
/tmp/
9+
10+
# rspec failure tracking
11+
.rspec_status

.rspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--format documentation
2+
--color
3+
--require spec_helper

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.4.1

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sudo: false
2+
language: ruby
3+
rvm:
4+
- 2.4.1
5+
before_install: gem install bundler -v 1.16.1

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4+
5+
# Specify your gem's dependencies in convert_api.gemspec
6+
gemspec

Gemfile.lock

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
PATH
2+
remote: .
3+
specs:
4+
convert_api (0.1.0)
5+
6+
GEM
7+
remote: https://rubygems.org/
8+
specs:
9+
diff-lcs (1.3)
10+
rake (10.5.0)
11+
rspec (3.7.0)
12+
rspec-core (~> 3.7.0)
13+
rspec-expectations (~> 3.7.0)
14+
rspec-mocks (~> 3.7.0)
15+
rspec-core (3.7.1)
16+
rspec-support (~> 3.7.0)
17+
rspec-expectations (3.7.0)
18+
diff-lcs (>= 1.2.0, < 2.0)
19+
rspec-support (~> 3.7.0)
20+
rspec-mocks (3.7.0)
21+
diff-lcs (>= 1.2.0, < 2.0)
22+
rspec-support (~> 3.7.0)
23+
rspec-support (3.7.1)
24+
25+
PLATFORMS
26+
ruby
27+
28+
DEPENDENCIES
29+
bundler (~> 1.16)
30+
convert_api!
31+
rake (~> 10.0)
32+
rspec (~> 3.0)
33+
34+
BUNDLED WITH
35+
1.16.1

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2018 Tomas Rutkauskas
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# ConvertApi
2+
3+
## Installation
4+
5+
Add this line to your application's Gemfile:
6+
7+
```ruby
8+
gem 'convert_api'
9+
```
10+
11+
And then execute:
12+
13+
$ bundle
14+
15+
Or install it yourself as:
16+
17+
$ gem install convert_api
18+
19+
## Usage
20+
21+
TODO: Write usage instructions here
22+
23+
## Development
24+
25+
Run `rake spec` to run the tests.
26+
27+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28+
29+
## Contributing
30+
31+
Bug reports and pull requests are welcome on GitHub at https://github.com/ConvertAPI/convertapi-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
32+
33+
## License
34+
35+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
require 'bundler/gem_tasks'
2+
require 'rspec/core/rake_task'
3+
4+
RSpec::Core::RakeTask.new(:spec)
5+
6+
task :default => :spec

convert_api.gemspec

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require 'convert_api/version'
5+
6+
Gem::Specification.new do |spec|
7+
spec.name = 'convert_api'
8+
spec.version = ConvertApi::VERSION
9+
spec.authors = ['Tomas Rutkauskas']
10+
spec.email = ['[email protected]']
11+
12+
spec.summary = %q{ConvertAPI client library}
13+
spec.description = %q{Ruby library for Convert API. Creating PDF and images from various sources like Word, Excel, Powerpoint document, images, web pages or raw HTML codes.}
14+
spec.homepage = 'https://github.com/ConvertAPI/convertapi-ruby'
15+
spec.license = 'MIT'
16+
17+
18+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
19+
f.match(%r{^(test|spec|features)/})
20+
end
21+
spec.bindir = 'exe'
22+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23+
spec.require_paths = ['lib']
24+
25+
spec.add_development_dependency 'bundler', '~> 1.16'
26+
spec.add_development_dependency 'rake', '~> 10.0'
27+
spec.add_development_dependency 'rspec', '~> 3.0'
28+
end

0 commit comments

Comments
 (0)