abilities 0.1.0 → 0.1.1
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 +4 -4
- data/MIT-LICENSE +2 -2
- data/README.md +5 -3
- data/Rakefile +1 -1
- data/lib/abilities.rb +1 -1
- data/lib/abilities/action_controller/base.rb +1 -1
- data/lib/abilities/action_view/base.rb +1 -1
- data/lib/abilities/concern.rb +1 -1
- data/lib/abilities/definitions.rb +1 -1
- data/lib/abilities/exceptions.rb +1 -1
- data/lib/abilities/proxy.rb +1 -1
- data/lib/abilities/railtie.rb +1 -1
- data/lib/abilities/version.rb +2 -2
- data/lib/generators/abilities/install_generator.rb +1 -1
- data/lib/generators/abilities/templates/abilities.rb +1 -1
- data/test/changes_test.rb +1 -1
- data/test/checking_test.rb +1 -1
- data/test/controller_test.rb +1 -1
- data/test/dummy/README.rdoc +1 -1
- data/test/dummy/Rakefile +1 -1
- data/test/dummy/app/assets/javascripts/application.js +1 -1
- data/test/dummy/app/assets/stylesheets/application.css +1 -1
- data/test/dummy/app/controllers/application_controller.rb +1 -1
- data/test/dummy/app/helpers/application_helper.rb +1 -1
- data/test/dummy/app/models/post.rb +1 -1
- data/test/dummy/app/models/user.rb +1 -1
- data/test/dummy/app/views/layouts/application.html.erb +1 -1
- data/test/dummy/bin/bundle +1 -1
- data/test/dummy/bin/rails +1 -1
- data/test/dummy/bin/rake +1 -1
- data/test/dummy/config.ru +1 -1
- data/test/dummy/config/abilities.rb +1 -1
- data/test/dummy/config/application.rb +1 -2
- data/test/dummy/config/boot.rb +1 -1
- data/test/dummy/config/database.yml +1 -1
- data/test/dummy/config/environment.rb +1 -1
- data/test/dummy/config/environments/development.rb +1 -1
- data/test/dummy/config/environments/production.rb +1 -1
- data/test/dummy/config/environments/test.rb +1 -1
- data/test/dummy/config/initializers/backtrace_silencers.rb +1 -1
- data/test/dummy/config/initializers/cookies_serializer.rb +1 -1
- data/test/dummy/config/initializers/filter_parameter_logging.rb +1 -1
- data/test/dummy/config/initializers/inflections.rb +1 -1
- data/test/dummy/config/initializers/mime_types.rb +1 -1
- data/test/dummy/config/initializers/secret_token.rb +1 -1
- data/test/dummy/config/initializers/session_store.rb +1 -1
- data/test/dummy/config/initializers/wrap_parameters.rb +1 -1
- data/test/dummy/config/locales/en.yml +1 -1
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/config/secrets.yml +1 -1
- data/test/dummy/db/migrate/20140629203344_create_users.rb +1 -1
- data/test/dummy/db/migrate/20140629203412_create_posts.rb +1 -1
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/public/404.html +1 -1
- data/test/dummy/public/422.html +1 -1
- data/test/dummy/public/500.html +1 -1
- data/test/generator_test.rb +1 -1
- data/test/test_helper.rb +1 -1
- data/test/view_test.rb +1 -1
- metadata +5 -9
- data/test/dummy/log/development.log +0 -80
- data/test/dummy/log/test.log +0 -6312
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: daa4a9202f1a34ee77f510412c6ef2eb54e6fe17
|
|
4
|
+
data.tar.gz: 3f0a7f5fcf0e7db439d8ac0bd8a86e17213ab36f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30519f7fc35372ec2970a98242ec90b9bff51e393992185e09770acc90509d749e255dab8abc43166f8038bb64fba7d21bd66ad4f6ed0865de56bc70e0f83e96
|
|
7
|
+
data.tar.gz: 64bc4bf03f9ce9ce296a8ca70acc1377202a6022000ba0dd2a0a813cbffd17dd9905e83f87a384a503b32037199db9b2d719a75dc12b4143fa63bafa030a65e7
|
data/MIT-LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright 2015
|
|
1
|
+
Copyright 2015 Mathías Montossi
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
4
|
a copy of this software and associated documentation files (the
|
|
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
17
17
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
18
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
19
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
[](http://badge.fury.io/rb/abilities)
|
|
1
|
+
[](http://badge.fury.io/rb/abilities)
|
|
2
|
+
[](https://codeclimate.com/github/mmontossi/abilities) [](https://travis-ci.org/mmontossi/abilities)
|
|
3
|
+
[](https://gemnasium.com/mmontossi/abilities)
|
|
2
4
|
|
|
3
5
|
# Abilities
|
|
4
6
|
|
|
@@ -107,8 +109,8 @@ The helpers can? and cannot? are available here too:
|
|
|
107
109
|
|
|
108
110
|
## Credits
|
|
109
111
|
|
|
110
|
-
This gem is maintained and funded by [
|
|
112
|
+
This gem is maintained and funded by [mmontossi](https://github.com/mmontossi).
|
|
111
113
|
|
|
112
114
|
## License
|
|
113
115
|
|
|
114
|
-
It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.
|
|
116
|
+
It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.
|
data/Rakefile
CHANGED
data/lib/abilities.rb
CHANGED
data/lib/abilities/concern.rb
CHANGED
data/lib/abilities/exceptions.rb
CHANGED
data/lib/abilities/proxy.rb
CHANGED
data/lib/abilities/railtie.rb
CHANGED
data/lib/abilities/version.rb
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Abilities.define do
|
|
2
|
-
end
|
|
2
|
+
end
|
data/test/changes_test.rb
CHANGED
data/test/checking_test.rb
CHANGED
data/test/controller_test.rb
CHANGED
data/test/dummy/README.rdoc
CHANGED
data/test/dummy/Rakefile
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
module ApplicationHelper
|
|
2
|
-
end
|
|
2
|
+
end
|
data/test/dummy/bin/bundle
CHANGED
data/test/dummy/bin/rails
CHANGED
data/test/dummy/bin/rake
CHANGED
data/test/dummy/config.ru
CHANGED
data/test/dummy/config/boot.rb
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
|
|
3
3
|
|
|
4
4
|
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
|
5
|
-
$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
|
|
5
|
+
$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
|
5
5
|
|
|
6
6
|
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Dummy::Application.config.secret_key_base = '2a5f2475b72242d6835656e2091073d9adcbf05f117ec0a952849e79bf364060ec77979a2d147e4c0a91ae2d6f306412aae345b2d9b30d2337496695fb8b8167'
|
|
1
|
+
Dummy::Application.config.secret_key_base = '2a5f2475b72242d6835656e2091073d9adcbf05f117ec0a952849e79bf364060ec77979a2d147e4c0a91ae2d6f306412aae345b2d9b30d2337496695fb8b8167'
|
data/test/dummy/config/routes.rb
CHANGED
data/test/dummy/db/schema.rb
CHANGED
data/test/dummy/public/404.html
CHANGED
data/test/dummy/public/422.html
CHANGED
data/test/dummy/public/500.html
CHANGED
data/test/generator_test.rb
CHANGED
data/test/test_helper.rb
CHANGED
|
@@ -21,4 +21,4 @@ ActiveRecord::Base.establish_connection(config['test'])
|
|
|
21
21
|
load(File.expand_path('../dummy/db/schema.rb', __FILE__))
|
|
22
22
|
|
|
23
23
|
# Include helpers
|
|
24
|
-
ActionView::TestCase.send :include, Abilities::ActionView::Base
|
|
24
|
+
ActionView::TestCase.send :include, Abilities::ActionView::Base
|
data/test/view_test.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: abilities
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- mmontossi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -46,7 +46,7 @@ dependencies:
|
|
|
46
46
|
version: '1.3'
|
|
47
47
|
description: Minimalistic authorization inspired in cancan for rails.
|
|
48
48
|
email:
|
|
49
|
-
-
|
|
49
|
+
- mmontossi@buyin.io
|
|
50
50
|
executables: []
|
|
51
51
|
extensions: []
|
|
52
52
|
extra_rdoc_files: []
|
|
@@ -103,8 +103,6 @@ files:
|
|
|
103
103
|
- test/dummy/db/migrate/20140629203344_create_users.rb
|
|
104
104
|
- test/dummy/db/migrate/20140629203412_create_posts.rb
|
|
105
105
|
- test/dummy/db/schema.rb
|
|
106
|
-
- test/dummy/log/development.log
|
|
107
|
-
- test/dummy/log/test.log
|
|
108
106
|
- test/dummy/public/404.html
|
|
109
107
|
- test/dummy/public/422.html
|
|
110
108
|
- test/dummy/public/500.html
|
|
@@ -112,7 +110,7 @@ files:
|
|
|
112
110
|
- test/generator_test.rb
|
|
113
111
|
- test/test_helper.rb
|
|
114
112
|
- test/view_test.rb
|
|
115
|
-
homepage: https://github.com/
|
|
113
|
+
homepage: https://github.com/mmontossi/abilities
|
|
116
114
|
licenses:
|
|
117
115
|
- MIT
|
|
118
116
|
metadata: {}
|
|
@@ -173,8 +171,6 @@ test_files:
|
|
|
173
171
|
- test/dummy/db/migrate/20140629203344_create_users.rb
|
|
174
172
|
- test/dummy/db/migrate/20140629203412_create_posts.rb
|
|
175
173
|
- test/dummy/db/schema.rb
|
|
176
|
-
- test/dummy/log/development.log
|
|
177
|
-
- test/dummy/log/test.log
|
|
178
174
|
- test/dummy/public/404.html
|
|
179
175
|
- test/dummy/public/422.html
|
|
180
176
|
- test/dummy/public/500.html
|