Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomek Wałkuski committed Jul 25, 2012
0 parents commit 8c8a76b
Show file tree
Hide file tree
Showing 12 changed files with 117 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitignore
@@ -0,0 +1,17 @@
*.gem
*.rbc
.bundle
.config
.yardoc
Gemfile.lock
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
1 change: 1 addition & 0 deletions .rspec
@@ -0,0 +1 @@
--colour
3 changes: 3 additions & 0 deletions Gemfile
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gemspec
22 changes: 22 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,22 @@
Copyright (c) 2012 Tomek Wałkuski

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.
29 changes: 29 additions & 0 deletions README.md
@@ -0,0 +1,29 @@
# YamlConverters

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

gem 'yaml_converters'

And then execute:

$ bundle

Or install it yourself as:

$ gem install yaml_converters

## 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 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
1 change: 1 addition & 0 deletions Rakefile
@@ -0,0 +1 @@
require "bundler/gem_tasks"
5 changes: 5 additions & 0 deletions lib/yaml_converters.rb
@@ -0,0 +1,5 @@
require 'yaml_converters/version'
require 'yaml_converters/yaml_to_segments_converter'

module YamlConverters
end
3 changes: 3 additions & 0 deletions lib/yaml_converters/version.rb
@@ -0,0 +1,3 @@
module YamlConverters
VERSION = "0.0.1"
end
7 changes: 7 additions & 0 deletions lib/yaml_converters/yaml_to_segments_converter.rb
@@ -0,0 +1,7 @@
module YamlConverters
class YamlToSegmentsConverter
def convert
true
end
end
end
1 change: 1 addition & 0 deletions spec/spec_helper.rb
@@ -0,0 +1 @@
require 'yaml_converters'
7 changes: 7 additions & 0 deletions spec/yaml_to_segments_converter_spec.rb
@@ -0,0 +1,7 @@
require 'spec_helper'

describe YamlConverters::YamlToSegmentsConverter do
subject { described_class.new }

its(:convert) { should eq true }
end
21 changes: 21 additions & 0 deletions yaml_converters.gemspec
@@ -0,0 +1,21 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yaml_converters/version'

Gem::Specification.new do |gem|
gem.name = 'yaml_converters'
gem.version = YamlConverters::VERSION
gem.authors = ['Tomek Wałkuski']
gem.email = ['ja@jestem.tw']
gem.description = %q{Convert YAML to segments and back}
gem.summary = %q{Convert YAML to segments and back}
gem.homepage = ''

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.require_paths = ['lib']

gem.add_development_dependency('rspec')
end

0 comments on commit 8c8a76b

Please sign in to comment.