-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from ipaddress-gem/travis-and-jeweler
Add Travis, CodeClimate, and Jeweler
- Loading branch information
Showing
10 changed files
with
149 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ server.rb | |
/tmp/ | ||
/_yardoc/ | ||
.idea/ | ||
|
||
**/*.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
language: ruby | ||
rvm: | ||
- 2.3.0 | ||
- 2.2.4 | ||
- 2.2.0 | ||
- 2.1.8 | ||
- 2.1.3 | ||
- 2.0.0 | ||
- 1.9.3 | ||
install: | ||
- gem install bundler | ||
- gem uninstall rake -x | ||
- gem install rake | ||
- bundle install | ||
script: | ||
- uname -s | ||
- rake test | ||
addons: | ||
code_climate: | ||
repo_token: | ||
secure: Na2Ghl3W0IpUWAWx66V9skLie5MqiJWfn7muCSRkAYIVL/j9fR6jhhawOKlX0R6bg4byouOyLieDu9HWsv2EY5L7JweVspodRuuaJndxDQ1E5rOp0mU6vDl7kIqBeboX3AsivXDgcc8C8qvE+WD++vr3oEMg22c2/RIbt6ecJGs= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
source "https://rubygems.org" | ||
|
||
gemspec | ||
|
||
group :development do | ||
gem 'bundler', '>= 1.0' | ||
gem 'rake', '10.5.0' | ||
gem 'minitest', '~> 5.8', '>= 5.8.4' | ||
gem 'pry', '>= 0.10.1' | ||
gem 'travis', '>= 1.8.2' | ||
gem 'jeweler', '>=2.0.1' | ||
gem 'codeclimate-test-reporter' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,83 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'ipaddress/version' | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' | ||
# -*- encoding: utf-8 -*- | ||
# stub: ipaddress 0.8.3 ruby lib | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "ipaddress" | ||
spec.version = Ipaddress::VERSION | ||
spec.authors = ["bluemonk", "mikemackintosh"] | ||
spec.email = ["[email protected]"] | ||
spec.summary = %q{IPv4/IPv6 address manipulation library} | ||
spec.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.} | ||
spec.homepage = "https://github.com/bluemonk/ipaddress" | ||
spec.license = "MIT" | ||
Gem::Specification.new do |s| | ||
s.name = "ipaddress" | ||
s.version = "0.8.3" | ||
|
||
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"] | ||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.require_paths = ["lib"] | ||
s.authors = ["bluemonk", "mikemackintosh"] | ||
s.date = "2016-03-23" | ||
s.description = "IPAddress is a Ruby library designed to make manipulation\n of IPv4 and IPv6 addresses both powerful and simple. It mantains\n a layer of compatibility with Ruby's own IPAddr, while\n addressing many of its issues." | ||
s.email = "[email protected]" | ||
s.extra_rdoc_files = [ | ||
"CHANGELOG.rdoc", | ||
"LICENSE.txt", | ||
"README.rdoc" | ||
] | ||
s.files = [ | ||
".document", | ||
".rock.yml", | ||
".travis.yml", | ||
"CHANGELOG.rdoc", | ||
"CONTRIBUTING.md", | ||
"Gemfile", | ||
"LICENSE.txt", | ||
"README.rdoc", | ||
"Rakefile", | ||
"VERSION", | ||
"ipaddress.gemspec", | ||
"lib/ipaddress.rb", | ||
"lib/ipaddress/ipv4.rb", | ||
"lib/ipaddress/ipv6.rb", | ||
"lib/ipaddress/mongoid.rb", | ||
"lib/ipaddress/prefix.rb", | ||
"lib/ipaddress/version.rb", | ||
"tasks/jeweler.rake", | ||
"test/ipaddress/ipv4_test.rb", | ||
"test/ipaddress/ipv6_test.rb", | ||
"test/ipaddress/mongoid_test.rb", | ||
"test/ipaddress/prefix_test.rb", | ||
"test/ipaddress_test.rb", | ||
"test/test_helper.rb" | ||
] | ||
s.homepage = "https://github.com/bluemonk/ipaddress" | ||
s.licenses = ["MIT"] | ||
s.rubygems_version = "2.4.6" | ||
s.summary = "IPv4/IPv6 address manipulation library" | ||
|
||
spec.add_development_dependency "bundler" | ||
spec.add_development_dependency "rake" | ||
if s.respond_to? :specification_version then | ||
s.specification_version = 4 | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_development_dependency(%q<bundler>, [">= 1.0"]) | ||
s.add_development_dependency(%q<rake>, [">= 0"]) | ||
s.add_development_dependency(%q<minitest>, [">= 5.8.4", "~> 5.8"]) | ||
s.add_development_dependency(%q<pry>, [">= 0.10.1"]) | ||
s.add_development_dependency(%q<travis>, [">= 1.8.2"]) | ||
s.add_development_dependency(%q<jeweler>, [">= 2.0.1"]) | ||
s.add_development_dependency(%q<codeclimate-test-reporter>, [">= 0"]) | ||
else | ||
s.add_dependency(%q<bundler>, [">= 1.0"]) | ||
s.add_dependency(%q<rake>, [">= 0"]) | ||
s.add_dependency(%q<minitest>, [">= 5.8.4", "~> 5.8"]) | ||
s.add_dependency(%q<pry>, [">= 0.10.1"]) | ||
s.add_dependency(%q<travis>, [">= 1.8.2"]) | ||
s.add_dependency(%q<jeweler>, [">= 2.0.1"]) | ||
s.add_dependency(%q<codeclimate-test-reporter>, [">= 0"]) | ||
end | ||
else | ||
s.add_dependency(%q<bundler>, [">= 1.0"]) | ||
s.add_dependency(%q<rake>, [">= 0"]) | ||
s.add_dependency(%q<minitest>, [">= 5.8.4", "~> 5.8"]) | ||
s.add_dependency(%q<pry>, [">= 0.10.1"]) | ||
s.add_dependency(%q<travis>, [">= 1.8.2"]) | ||
s.add_dependency(%q<jeweler>, [">= 2.0.1"]) | ||
s.add_dependency(%q<codeclimate-test-reporter>, [">= 0"]) | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = "[email protected]" | ||
gem.homepage = "https://github.com/bluemonk/ipaddress" | ||
gem.authors = ["bluemonk", "mikemackintosh"] | ||
gem.license = "MIT" | ||
end | ||
Jeweler::RubygemsDotOrgTasks.new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters