Permalink
Browse files

Update Appraisal and Ruby versions

  • Loading branch information...
weppos committed Aug 7, 2016
1 parent a79d9b2 commit bdb9d08189404622a67bfc4e24d4d1b915ff43eb
Showing with 60 additions and 121 deletions.
  1. +14 −5 .travis.yml
  2. +4 −4 Appraisals
  3. +1 −1 Gemfile
  4. +3 −1 README.md
  5. +4 −64 Rakefile
  6. +23 −35 breadcrumbs_on_rails.gemspec
  7. +3 −3 gemfiles/4.0.gemfile
  8. +3 −3 gemfiles/4.1.gemfile
  9. +3 −3 gemfiles/4.2.gemfile
  10. +2 −2 gemfiles/5.0.gemfile
View
@@ -1,16 +1,25 @@
rvm:
- 2.0.0
- 2.1.0
- 2.2.2
- 2.0
- 2.1
- 2.2
- 2.3.1
gemfile:
- gemfiles/4.0.gemfile
- gemfiles/4.1.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
before_install:
- gem install bundler
matrix:
exclude:
- rvm: 2.0.0
- rvm: 2.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1.0
- rvm: 2.1
gemfile: gemfiles/5.0.gemfile
notifications:
recipients:
- weppos@weppos.net
View
@@ -1,12 +1,12 @@
appraise "4.0" do
gem "activerecord", "~> 4.0.0"
gem "rails", "~> 4.0.0"
end
appraise "4.1" do
gem "activerecord", "~> 4.1.0"
gem "rails", "~> 4.1.0"
end
appraise "4.2" do
gem "activerecord", "~> 4.2.0"
gem "rails", "~> 4.2.0"
end
appraise "5.0" do
gem "activerecord", "~> 5.0.0"
gem "rails", "~> 5.0.0"
end
View
@@ -1,3 +1,3 @@
source "https://rubygems.org"
source 'https://rubygems.org'
gemspec
View
@@ -1,8 +1,10 @@
# Breadcrumbs On Rails
[![Code Climate](https://codeclimate.com/github/weppos/breadcrumbs_on_rails.png)](https://codeclimate.com/github/weppos/breadcrumbs_on_rails)
<tt>BreadcrumbsOnRails</tt> is a simple Ruby on Rails plugin for creating and managing a breadcrumb navigation for a Rails project. It provides helpers for creating navigation elements with a flexible interface.
[![Build Status](https://travis-ci.org/weppos/breadcrumbs_on_rails.svg?branch=master)](https://travis-ci.org/weppos/breadcrumbs_on_rails)
[![Code Climate](https://codeclimate.com/github/weppos/breadcrumbs_on_rails.png)](https://codeclimate.com/github/weppos/breadcrumbs_on_rails)
## Requirements
View
@@ -1,62 +1,10 @@
require 'rubygems'
require 'bundler'
require 'bundler/gem_tasks'
require 'appraisal'
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'breadcrumbs_on_rails/version'
PKG_NAME = ENV['PKG_NAME'] || "breadcrumbs_on_rails"
PKG_VERSION = ENV['PKG_VERSION'] || BreadcrumbsOnRails::VERSION
# Run test by default.
task :default => :test
spec = Gem::Specification.new do |s|
s.name = PKG_NAME
s.version = PKG_VERSION
s.summary = "A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation."
s.description = "BreadcrumbsOnRails is a simple Ruby on Rails plugin for creating and managing a breadcrumb navigation for a Rails project."
s.author = "Simone Carletti"
s.email = "weppos@weppos.net"
s.homepage = "http://simonecarletti.com/code/breadcrumbs_on_rails/"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = %w( lib )
s.add_development_dependency "rails", ">= 4.0"
s.add_development_dependency "appraisal"
s.add_development_dependency "mocha", ">= 1.0"
s.add_development_dependency "yard"
end
require 'rubygems/package_task'
Gem::PackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
desc "Build the gemspec file #{spec.name}.gemspec"
task :gemspec do
file = File.dirname(__FILE__) + "/#{spec.name}.gemspec"
File.open(file, "w") {|f| f << spec.to_ruby }
end
desc "Remove any temporary products, including gemspec."
task :clean => [:clobber] do
rm "#{spec.name}.gemspec"
if !ENV["APPRAISAL_INITIALIZED"] && !ENV["TRAVIS"]
task :default => :appraisal
end
desc "Remove any generated file"
task :clobber => [:clobber_package]
desc "Package the library and generates the gemspec"
task :package => [:gemspec]
require 'rake/testtask'
@@ -68,18 +16,10 @@ Rake::TestTask.new do |t|
end
require 'yard'
require 'yard/rake/yardoc_task'
YARD::Rake::YardocTask.new(:yardoc) do |y|
y.options = ["--output-dir", "yardoc"]
end
namespace :yardoc do
desc "Remove YARD products"
task :clobber do
rm_r "yardoc" rescue nil
end
end
task :clobber => "yardoc:clobber"
CLOBBER.include "yardoc"
@@ -1,40 +1,28 @@
# -*- encoding: utf-8 -*-
# stub: breadcrumbs_on_rails 2.3.1 ruby lib
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'breadcrumbs_on_rails/version'
Gem::Specification.new do |s|
s.name = "breadcrumbs_on_rails"
s.version = "2.3.1"
Gem::Specification.new do |spec|
spec.name = "breadcrumbs_on_rails"
spec.version = BreadcrumbsOnRails::VERSION
spec.authors = ["Simone Carletti"]
spec.email = ["weppos@weppos.net"]
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Simone Carletti"]
s.date = "2015-08-06"
s.description = "BreadcrumbsOnRails is a simple Ruby on Rails plugin for creating and managing a breadcrumb navigation for a Rails project."
s.email = "weppos@weppos.net"
s.files = [".gitignore", ".ruby-gemset", ".ruby-version", ".travis.yml", "Appraisals", "CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "breadcrumbs_on_rails.gemspec", "gemfiles/3.0.gemfile", "gemfiles/3.1.gemfile", "gemfiles/3.2.gemfile", "gemfiles/4.0.gemfile", "init.rb", "lib/breadcrumbs_on_rails.rb", "lib/breadcrumbs_on_rails/action_controller.rb", "lib/breadcrumbs_on_rails/breadcrumbs.rb", "lib/breadcrumbs_on_rails/railtie.rb", "lib/breadcrumbs_on_rails/version.rb", "test/dummy.rb", "test/test_helper.rb", "test/unit/action_controller_test.rb", "test/unit/builder_test.rb", "test/unit/element_test.rb", "test/unit/simple_builder_test.rb", "test/views/example/default.html.erb"]
s.homepage = "http://simonecarletti.com/code/breadcrumbs_on_rails/"
s.rubygems_version = "2.4.7"
s.summary = "A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation."
s.test_files = ["test/dummy.rb", "test/test_helper.rb", "test/unit/action_controller_test.rb", "test/unit/builder_test.rb", "test/unit/element_test.rb", "test/unit/simple_builder_test.rb", "test/views/example/default.html.erb"]
spec.summary = %q{A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation}
spec.description = %q{BreadcrumbsOnRails is a simple Ruby on Rails plugin for creating and managing a breadcrumb navigation for a Rails project.}
spec.homepage = "https://simonecarletti.com/code/breadcrumbs_on_rails"
spec.license = "MIT"
if s.respond_to? :specification_version then
s.specification_version = 4
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
spec.require_paths = ["lib"]
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rails>, [">= 4.0"])
s.add_development_dependency(%q<appraisal>, [">= 0"])
s.add_development_dependency(%q<mocha>, [">= 1.0"])
s.add_development_dependency(%q<yard>, [">= 0"])
else
s.add_dependency(%q<rails>, [">= 4.0"])
s.add_dependency(%q<appraisal>, [">= 0"])
s.add_dependency(%q<mocha>, [">= 1.0"])
s.add_dependency(%q<yard>, [">= 0"])
end
else
s.add_dependency(%q<rails>, [">= 4.0"])
s.add_dependency(%q<appraisal>, [">= 0"])
s.add_dependency(%q<mocha>, [">= 1.0"])
s.add_dependency(%q<yard>, [">= 0"])
end
spec.required_ruby_version = ">= 2.0"
spec.add_development_dependency "rake"
spec.add_development_dependency "bundler"
spec.add_development_dependency "appraisal"
spec.add_development_dependency "rails", ">= 4.0"
spec.add_development_dependency "mocha", ">= 1.0"
spec.add_development_dependency "yard"
end
View
@@ -1,7 +1,7 @@
# This file was generated by Appraisal
source "http://rubygems.org"
source "https://rubygems.org"
gem "activerecord", "~> 4.0.0"
gem "rails", "~> 4.0.0"
gemspec :path=>"../"
gemspec :path => "../"
View
@@ -1,7 +1,7 @@
# This file was generated by Appraisal
source "http://rubygems.org"
source "https://rubygems.org"
gem "activerecord", "~> 4.1.0"
gem "rails", "~> 4.1.0"
gemspec :path=>"../"
gemspec :path => "../"
View
@@ -1,7 +1,7 @@
# This file was generated by Appraisal
source "http://rubygems.org"
source "https://rubygems.org"
gem "activerecord", "~> 4.2.0"
gem "rails", "~> 4.2.0"
gemspec :path=>"../"
gemspec :path => "../"
View
@@ -1,7 +1,7 @@
# This file was generated by Appraisal
source "http://rubygems.org"
source "https://rubygems.org"
gem "activerecord", "~> 5.0.0"
gem "rails", "~> 5.0.0"
gemspec :path => "../"

0 comments on commit bdb9d08

Please sign in to comment.