Skip to content

Commit

Permalink
update README, version and gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
coorasse committed May 18, 2017
1 parent c731511 commit ea3dc22
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CanCanCan

![CanCanCan Logo](/logo/cancancan.jpg)

[![Gem Version](https://badge.fury.io/rb/cancancan.svg)](http://badge.fury.io/rb/cancancan)
[![Travis badge](https://travis-ci.org/CanCanCommunity/cancancan.svg?branch=develop)](https://travis-ci.org/CanCanCommunity/cancancan)
[![Code Climate Badge](https://codeclimate.com/github/CanCanCommunity/cancancan.svg)](https://codeclimate.com/github/CanCanCommunity/cancancan)
Expand All @@ -25,7 +27,7 @@ and run the `bundle install` command.

For Rails < 4.2 use:

gem 'cancancan', '~> 1.10'
gem 'cancancan', '~> 1.10'

## Version 2.0

Expand All @@ -35,7 +37,7 @@ Please use `gem 'cancancan', '~> 1.10'` for them.

If you are interested in supporting them, contribute to the sibling gems `cancancan-sequel` and `cancancan-mongoid`.

Version 2.0 drops also support for Rails < 4.2 and ruby < 2.2 so again use the version 1 of the Gem for these.
Version 2.0 drops also support for Rails < 4.2 and ruby < 2.2 so, again, use the version 1 of the Gem for these.

## Getting Started

Expand Down
11 changes: 5 additions & 6 deletions cancancan.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.license = 'MIT'

s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
s.test_files = `git ls-files -- Appraisals {spec,features,gemfiles}/*`.split($INPUT_RECORD_SEPARATOR)
s.executables = `git ls-files -- bin/*`.split($INPUT_RECORD_SEPARATOR).map { |f| File.basename(f) }
# s.files = `git ls-files lib init.rb`.split($INPUT_RECORD_SEPARATOR)
s.files = `git ls-files lib init.rb cancancan.gemspec`.split($INPUT_RECORD_SEPARATOR)
s.require_paths = ['lib']

s.required_ruby_version = '>= 2.0.0'

s.add_development_dependency 'bundler', '~> 1.3'
s.add_development_dependency 'rubocop', '~> 0.46'
s.add_development_dependency 'rake', '~> 10.1.1'
s.add_development_dependency 'rspec', '~> 3.2.0'
s.add_development_dependency 'appraisal', '>= 2.0.0'
s.add_development_dependency 'rake', '~> 10.1', '>= 10.1.1'
s.add_development_dependency 'rspec', '~> 3.2', '>= 3.2.0'
s.add_development_dependency 'appraisal', '~> 2.0', '>= 2.0.0'
end
2 changes: 1 addition & 1 deletion lib/cancan/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module CanCan
VERSION = '1.17.0'.freeze
VERSION = '2.0.0.rc1'.freeze
end
Binary file added logo/cancancan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea3dc22

Please sign in to comment.