diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..14120cc --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +*.gem +*.rbc +.bundle +.config +.yardoc +.DS_Store +Gemfile.lock +InstalledFiles +_yardoc +coverage +doc/ +lib/bundler/man +pkg +rdoc +spec/reports +test/tmp +test/version_tmp +tmp diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..fe0c205 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source 'https://rubygems.org' + +# Specify your gem's dependencies in ticketsnow-ruby.gemspec +gemspec diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9015405 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +Copyright (c) 2012 Jeremy Woertink + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e33641e --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# Ticketsnow::Ruby + +TODO: Write a gem description + +## Installation + +Add this line to your application's Gemfile: + + gem 'ticketsnow-ruby' + +And then execute: + + $ bundle + +Or install it yourself as: + + $ gem install ticketsnow-ruby + +## Usage + +TODO: Write usage instructions here + +## Contributing + +1. Fork it +2. Create your feature branch (`git checkout -b my-new-feature`) +3. Commit your changes (`git commit -am 'Added some feature'`) +4. Push to the branch (`git push origin my-new-feature`) +5. Create new Pull Request diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..f57ae68 --- /dev/null +++ b/Rakefile @@ -0,0 +1,2 @@ +#!/usr/bin/env rake +require "bundler/gem_tasks" diff --git a/lib/ticketsnow-ruby.rb b/lib/ticketsnow-ruby.rb new file mode 100644 index 0000000..2c736b0 --- /dev/null +++ b/lib/ticketsnow-ruby.rb @@ -0,0 +1 @@ +require "ticketsnow" diff --git a/lib/ticketsnow.rb b/lib/ticketsnow.rb new file mode 100644 index 0000000..d7acf7e --- /dev/null +++ b/lib/ticketsnow.rb @@ -0,0 +1,5 @@ +require 'ticketsnow/version' + +module Ticketnow + +end \ No newline at end of file diff --git a/lib/ticketsnow/version.rb b/lib/ticketsnow/version.rb new file mode 100644 index 0000000..b5c147e --- /dev/null +++ b/lib/ticketsnow/version.rb @@ -0,0 +1,3 @@ +module Ticketsnow + VERSION = "0.0.1" +end diff --git a/ticketsnow-ruby.gemspec b/ticketsnow-ruby.gemspec new file mode 100644 index 0000000..6bbb875 --- /dev/null +++ b/ticketsnow-ruby.gemspec @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +require File.expand_path('../lib/ticketsnow/version', __FILE__) + +Gem::Specification.new do |gem| + gem.authors = ["Tabeso Team"] + gem.email = ["dev@tabeso.com"] + gem.description = "Interface with TicketsNow.com" + gem.summary = "" + gem.homepage = "https://github.com/tabeso/ticketsnow-ruby" + + gem.files = `git ls-files`.split($\) + gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } + gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) + gem.name = "ticketsnow-ruby" + gem.require_paths = ["lib"] + gem.version = Ticketsnow::VERSION + gem.add_dependency 'savon', '1.2.0' + + gem.add_development_dependency 'rspec' + gem.add_development_dependency 'vcr' + gem.add_development_dependency 'webmock' +end