Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add rubygems related files
  • Loading branch information
yoshinari-nomura committed Feb 11, 2014
1 parent 1321e01 commit b7e000b
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .rspec
@@ -0,0 +1,2 @@
--format documentation
--color
3 changes: 3 additions & 0 deletions .travis.yml
@@ -0,0 +1,3 @@
language: ruby
rvm:
- 2.1.0
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in mhc.gemspec
gemspec
6 changes: 6 additions & 0 deletions Rakefile
@@ -0,0 +1,6 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task :default => :spec
5 changes: 5 additions & 0 deletions lib/mhc.rb
@@ -0,0 +1,5 @@
require "mhc/version"

module Mhc
# Your code goes here...
end
3 changes: 3 additions & 0 deletions lib/mhc/version.rb
@@ -0,0 +1,3 @@
module Mhc
VERSION = "0.0.1"
end
24 changes: 24 additions & 0 deletions mhc.gemspec
@@ -0,0 +1,24 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mhc/version'

Gem::Specification.new do |spec|
spec.name = "mhc"
spec.version = Mhc::VERSION
spec.authors = ["Yoshinari Nomura"]
spec.email = ["nom@quickhack.net"]
spec.summary = %q{Message Harmonized Calendaring}
spec.description = %q{Message Harmonized Calendaring.}
spec.homepage = ""
spec.license = "BSD"

spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
end
11 changes: 11 additions & 0 deletions spec/mhc_spec.rb
@@ -0,0 +1,11 @@
require 'spec_helper'

describe Mhc do
it 'should have a version number' do
Mhc::VERSION.should_not be_nil
end

it 'should do something useful' do
false.should be_true
end
end
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
@@ -0,0 +1,2 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'mhc'

0 comments on commit b7e000b

Please sign in to comment.