From 35f2bcee744deb573c64ab1ef4cbfbc2bc0e3732 Mon Sep 17 00:00:00 2001 From: "Francis Luong (Franco)" <fluong@fx-mbp-13.local> Date: Wed, 23 Mar 2016 09:54:48 -0400 Subject: [PATCH] add jeweler --- .gitignore | 2 +- Gemfile | 5 +++++ Rakefile | 2 ++ VERSION | 1 + tasks/jeweler.rake | 15 +++++++++++++++ 5 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 VERSION create mode 100644 tasks/jeweler.rake diff --git a/.gitignore b/.gitignore index 3627b96..1c2e4bf 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,4 @@ server.rb /tmp/ /_yardoc/ .idea/ - +**/*.gem diff --git a/Gemfile b/Gemfile index 9c886f6..4ad8ff8 100644 --- a/Gemfile +++ b/Gemfile @@ -3,5 +3,10 @@ source "https://rubygems.org" gemspec group :development do + gem 'bundler', '~> 3.2', '>= 3.2.0' + gem 'rake', '~> 11.1', '>= 11.1.0' gem 'minitest', '~> 5.8', '>= 5.8.4' + gem 'pry' + gem 'travis' + gem 'jeweler' end diff --git a/Rakefile b/Rakefile index 792f86f..0948203 100644 --- a/Rakefile +++ b/Rakefile @@ -64,3 +64,5 @@ task :todo do end egrep /(FIXME|TODO|TBD)/ end + +Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |raketask| load raketask } diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..ee94dd8 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.8.3 diff --git a/tasks/jeweler.rake b/tasks/jeweler.rake new file mode 100644 index 0000000..34d27ed --- /dev/null +++ b/tasks/jeweler.rake @@ -0,0 +1,15 @@ +require 'jeweler' +Jeweler::Tasks.new do |gem| + # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options + gem.name = "ipaddress" + gem.summary = %q{IPv4/IPv6 address manipulation library} + gem.description = %q{IPAddress is a Ruby library designed to make manipulation + of IPv4 and IPv6 addresses both powerful and simple. It mantains + a layer of compatibility with Ruby's own IPAddr, while + addressing many of its issues.} + gem.email = "ceresa@gmail.com" + gem.homepage = "https://github.com/bluemonk/ipaddress" + gem.authors = ["bluemonk", "mikemackintosh"] + gem.license = "MIT" +end +Jeweler::RubygemsDotOrgTasks.new -- GitLab