authority 2.10.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdf6a52e9cb60311ecce6e69f4ee02cf0505596a
4
- data.tar.gz: 89a0bca5f2c35bbc1983a11fd5e76906abe517dc
3
+ metadata.gz: ccacc3926200ff8ab74076d17004787bd6cd07a6
4
+ data.tar.gz: 53db25b0cd740840535c40f0021603276874dd79
5
5
  SHA512:
6
- metadata.gz: 232f1fa7a9aa66327c3ebc955d5a9b4132762f0d4e484a12c8731428034fc07533a138a76ec7795fb282283fd2476dd9a1480747ea8291c6786a9ec06d8fcbc1
7
- data.tar.gz: ad56524c7282089b1bd2fd49f7bf5b76ccddc9fdd6ae1043a4394227978ceeb7e302022af1db47b988eea1e33fcf1e937af856b87677aeb3cf3f88f7184ca5cd
6
+ metadata.gz: c5613d4189de8606773858b417a34c29f1ce894705a65a133692251f8d01882d9cff1711ef95e9861b9d9d86a15a519f072e9d98a296540d600c70d6251db2ce
7
+ data.tar.gz: 59e4493c297af171339c56509808329be8dc5af60aa274cabbe033dc58eb6eb466b1cdfa6d02cb5cfb4683e432fab0c848c8918f0d1eb418bafff4924cbba2e1
@@ -1,27 +1,17 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
- - 1.9.2
5
3
  - 1.9.3
6
4
  - 2.0.0
7
5
  - 2.1.0
8
- - jruby-18mode # JRuby in 1.8 mode
9
6
  - jruby-19mode # JRuby in 1.9 mode
10
7
  - rbx
11
8
 
12
9
  gemfile:
13
- - gemfiles/3.0.gemfile
14
- - gemfiles/3.1.gemfile
15
10
  - gemfiles/3.2.gemfile
16
11
  - gemfiles/4.0.gemfile
12
+ - gemfiles/4.1.gemfile
17
13
 
18
14
  matrix:
19
15
  exclude:
20
- - rvm: 1.8.7
21
- gemfile: gemfiles/4.0.gemfile
22
- - rvm: 1.9.2
23
- gemfile: gemfiles/4.0.gemfile
24
- - rvm: jruby-18mode
25
- gemfile: gemfiles/4.0.gemfile
26
16
  - rvm: rbx
27
17
  gemfile: gemfiles/4.0.gemfile
@@ -2,6 +2,10 @@
2
2
 
3
3
  Authority does its best to use [semantic versioning](http://semver.org).
4
4
 
5
+ ## v3.0.0
6
+
7
+ Officially drop support for Ruby < 1.9.3 and Rails < 3.2.
8
+
5
9
  ## v2.10.0
6
10
 
7
11
  - Ability to return options when looking up a class for `authorize_actions_for`, thanks to [Adam Milligan](https://github.com/orchardadam)
@@ -0,0 +1,6 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "rails", "~> 4.1"
4
+ gem 'rspec', '~> 2.14'
5
+
6
+ gemspec :path=>"../"
@@ -1,3 +1,3 @@
1
1
  module Authority
2
- VERSION = "2.10.0"
2
+ VERSION = "3.0.0"
3
3
  end
@@ -1,7 +1,6 @@
1
1
  require 'spec_helper'
2
2
  require 'support/example_classes'
3
3
  require 'support/mock_rails'
4
- require 'active_support/core_ext/proc'
5
4
  require 'set'
6
5
 
7
6
  describe Authority::Controller do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authority
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Long
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-08 00:00:00.000000000 Z
12
+ date: 2014-04-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -60,10 +60,9 @@ files:
60
60
  - Rakefile
61
61
  - TODO.markdown
62
62
  - authority.gemspec
63
- - gemfiles/3.0.gemfile
64
- - gemfiles/3.1.gemfile
65
63
  - gemfiles/3.2.gemfile
66
64
  - gemfiles/4.0.gemfile
65
+ - gemfiles/4.1.gemfile
67
66
  - lib/authority.rb
68
67
  - lib/authority/abilities.rb
69
68
  - lib/authority/authorizer.rb
@@ -107,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
106
  version: '0'
108
107
  requirements: []
109
108
  rubyforge_project:
110
- rubygems_version: 2.2.0
109
+ rubygems_version: 2.2.2
111
110
  signing_key:
112
111
  specification_version: 4
113
112
  summary: Authority helps you authorize actions in your Rails app using plain Ruby
@@ -1,6 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem "rails", "~> 3.0.12"
4
- gem 'rspec', '>= 2.8.0'
5
-
6
- gemspec :path=>"../"
@@ -1,6 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem "rails", "~> 3.1.4"
4
- gem 'rspec', '>= 2.8.0'
5
-
6
- gemspec :path=>"../"