Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modify for bundle & travis-ci

  • Loading branch information...
commit 9f26c1451ee31ed628c92d258f75532d0ef6c692 1 parent c56406b
@kachick authored
View
6 .gitignore
@@ -13,6 +13,9 @@ test/tmp
test/version_tmp
tmp
+# bundler
+vendor/
+
# YARD artifacts
.yardoc
_yardoc
@@ -24,3 +27,6 @@ doc/
# editor
*~
.redcar
+
+# other
+*.lock
View
8 .travis.yml
@@ -0,0 +1,8 @@
+language: ruby
+rvm:
+ - ruby-head
+ - 1.9.3
+ - 1.9.2
+ - jruby-head
+ - jruby-19mode # JRuby in 1.9 mode
+ - rbx-19mode # Rubinius in 1.9 mode
View
12 Gemfile
@@ -0,0 +1,12 @@
+source 'https://rubygems.org'
+
+gemspec
+
+group :development do
+ gem 'rake'
+ gem 'yard', '>=0.8.2.1'
+end
+
+group :test do
+ gem 'rake'
+end
View
2  LICENSE
@@ -1,4 +1,4 @@
-(The MIT X11 License)
+(The MIT X License)
Copyright (c) 2012 Kenichi Kamiya
View
2  Manifest.txt
@@ -3,6 +3,8 @@ LICENSE
History.rdoc
Manifest.txt
Rakefile
+Gemfile
+vertere.gemspec
lib/vertere.rb
lib/vertere/version.rb
lib/vertere/objectextension.rb
View
14 README.rdoc
@@ -1,8 +1,10 @@
= vertere
+{<img src="https://secure.travis-ci.org/kachick/vertere.png" />}[http://travis-ci.org/kachick/vertere]
+
== Description
-Provide a way to get wrapper objects for inverted comparisons
+Provide a way of getting wrapper objects for inverted comparisons.
== Features
@@ -19,7 +21,7 @@ Wrap below methods
require 'vertere'
-* An approaching to invert comparisons # from [ruby-talk:392128]
+* An approaching to invert comparisons
num_chars = %w[0 1 9 10 11]
num_chars.grep(/0/) #=> ["0", "10"]
@@ -42,6 +44,14 @@ Wrap below methods
== Installation
gem install vertere
+
+== Links
+
+code :: https://github.com/kachick/vertere
+issues :: https://github.com/kachick/vertere/issues
+CI :: http://travis-ci.org/#!/kachick/vertere
+gem :: https://rubygems.org/gems/vertere
+gem+ :: http://metagem.info/gems/vertere
== License
View
18 Rakefile
@@ -1,15 +1,11 @@
-gem 'hoe', '~> 3.0.6'
-require 'hoe'
-require 'fileutils'
+#!/usr/bin/env rake
+require 'bundler/gem_tasks'
-Hoe.plugin :newgem
+require 'rake/testtask'
-$hoe = Hoe.spec 'vertere' do
- developer 'Kenichi Kamiya', 'kachick1+ruby@gmail.com'
- self.rubyforge_name = name
- require_ruby_version '>= 1.9.2'
- dependency 'yard', '~> 0.8.1', :development
+task default: [:test]
+
+Rake::TestTask.new do |tt|
+ tt.verbose = true
end
-require 'newgem/tasks'
-Dir['tasks/**/*.rake'].each { |t| load t }
View
22 vertere.gemspec
@@ -0,0 +1,22 @@
+# I don't know why dose occur errors below.
+# require_relative 'lib/vertere/version'
+require File.expand_path('../lib/vertere/version', __FILE__)
+
+Gem::Specification.new do |gem|
+ gem.authors = ['Kenichi Kamiya']
+ gem.email = ['kachick1+ruby@gmail.com']
+ gem.description = %q{Provide a way of getting wrapper objects for inverted comparisons}
+ gem.summary = %q{inverted comparisons}
+ gem.homepage = 'https://github.com/kachick/vertere'
+
+ 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|declare)/})
+ gem.name = 'vertere'
+ gem.require_paths = ['lib']
+ gem.version = Vertere::VERSION.dup # dup for https://github.com/rubygems/rubygems/commit/48f1d869510dcd325d6566df7d0147a086905380#-P0
+
+ gem.required_ruby_version = '>=1.9.2'
+ gem.add_development_dependency 'yard', '>=0.8.2.1'
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.