rails_authorize 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 027d91ec6d457200114228f09d8f8e17022c8eee
4
- data.tar.gz: 71413e8ae25c57b7e93f7c1132a47b7afe680237
2
+ SHA256:
3
+ metadata.gz: c1ca7bca03c197c26fa619fce7395a12cb0b06af518f23fad35a31b48354ee1b
4
+ data.tar.gz: 53daf5e713992e4a6df34287479041d4e7485f07792f4eef8fb3f02a73728798
5
5
  SHA512:
6
- metadata.gz: 37dfd217674de5eafea89bf6a6c1b1548a958e0e9c1115b758e6c70d438adb403f0a5a95e696f09b9d10d31f7805ed2008e9cbf61ac0774739507b7cd617c751
7
- data.tar.gz: a2aabe9427a0748094f9bf81ff8ec7b7b425a90cc829b9db57290630e4596ba2e7c29f2698e17913e4fb1d6a41a38c6abd9b70da52098cdfc7d3a41a4bf2ab5f
6
+ metadata.gz: da4b1a4adcc5c2d878396b0d285643ccfcb48e0317de455d16da11a1144c7d5dca8bff30b834289566fb2ec72d4191d729beaa36ec26b03b80f99f7bfb5c0dc8
7
+ data.tar.gz: c67ee8340c91d5df33b5158776d5b215c727ff5307ea004cac1e862595195d109c66fb90d1750e3d0888180773d083347f4bb63fd66dc7665bdce038ab594534
@@ -1,47 +1,48 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_authorize (0.1.0)
4
+ rails_authorize (0.1.1)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (5.1.3)
10
+ activesupport (5.2.0)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (~> 0.7)
12
+ i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
14
14
  tzinfo (~> 1.1)
15
15
  concurrent-ruby (1.0.5)
16
16
  diff-lcs (1.3)
17
- i18n (0.8.6)
18
- minitest (5.10.3)
17
+ i18n (1.0.0)
18
+ concurrent-ruby (~> 1.0)
19
+ minitest (5.11.3)
19
20
  rake (10.5.0)
20
- rspec (3.6.0)
21
- rspec-core (~> 3.6.0)
22
- rspec-expectations (~> 3.6.0)
23
- rspec-mocks (~> 3.6.0)
24
- rspec-core (3.6.0)
25
- rspec-support (~> 3.6.0)
26
- rspec-expectations (3.6.0)
21
+ rspec (3.7.0)
22
+ rspec-core (~> 3.7.0)
23
+ rspec-expectations (~> 3.7.0)
24
+ rspec-mocks (~> 3.7.0)
25
+ rspec-core (3.7.1)
26
+ rspec-support (~> 3.7.0)
27
+ rspec-expectations (3.7.0)
27
28
  diff-lcs (>= 1.2.0, < 2.0)
28
- rspec-support (~> 3.6.0)
29
- rspec-mocks (3.6.0)
29
+ rspec-support (~> 3.7.0)
30
+ rspec-mocks (3.7.0)
30
31
  diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.6.0)
32
- rspec-support (3.6.0)
32
+ rspec-support (~> 3.7.0)
33
+ rspec-support (3.7.1)
33
34
  thread_safe (0.3.6)
34
- tzinfo (1.2.3)
35
+ tzinfo (1.2.5)
35
36
  thread_safe (~> 0.1)
36
37
 
37
38
  PLATFORMS
38
39
  ruby
39
40
 
40
41
  DEPENDENCIES
41
- bundler (~> 1.15.4)
42
+ bundler (~> 1.15)
42
43
  rails_authorize!
43
- rake (~> 10.0)
44
+ rake (~> 10)
44
45
  rspec (~> 3.0)
45
46
 
46
47
  BUNDLED WITH
47
- 1.16.0.pre.3
48
+ 1.16.1
data/README.md CHANGED
@@ -21,7 +21,7 @@ Or install it yourself as:
21
21
 
22
22
  ## Example
23
23
 
24
- ```
24
+ ```ruby
25
25
  # app/models/post.rb
26
26
 
27
27
  class Post
@@ -31,7 +31,7 @@ class Post
31
31
  end
32
32
  ```
33
33
 
34
- ```
34
+ ```ruby
35
35
  # app/authorizations/application_authorization.rb
36
36
 
37
37
  class ApplicationAuthorization
@@ -45,7 +45,7 @@ class ApplicationAuthorization
45
45
  end
46
46
  ```
47
47
 
48
- ```
48
+ ```ruby
49
49
  # app/authorizations/post_authorization.rb
50
50
 
51
51
  class PostAuthorization < ApplicationAuthorization
@@ -63,7 +63,7 @@ class PostAuthorization < ApplicationAuthorization
63
63
  end
64
64
  ```
65
65
 
66
- ```
66
+ ```ruby
67
67
  # app/controllers/application_controller.rb
68
68
 
69
69
  class ApplicationController < ActionController::Base
@@ -71,7 +71,7 @@ class ApplicationController < ActionController::Base
71
71
  end
72
72
  ```
73
73
 
74
- ```
74
+ ```ruby
75
75
  # app/controllers/posts_controller.rb
76
76
 
77
77
  class PostController
@@ -1,3 +1,3 @@
1
1
  module RailsAuthorize
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,4 +1,3 @@
1
-
2
1
  lib = File.expand_path('../lib', __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'rails_authorize/version'
@@ -22,8 +21,8 @@ Gem::Specification.new do |spec|
22
21
  spec.require_paths = ['lib']
23
22
 
24
23
  spec.add_development_dependency 'bundler', '~> 1.15'
25
- spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'rake', '~> 10'
26
25
  spec.add_development_dependency 'rspec', '~> 3.0'
27
26
 
28
- spec.add_dependency 'activesupport', '~> 3.0', '>= 3.0.0'
27
+ spec.add_dependency 'activesupport', '>= 3.0.0'
29
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_authorize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rjurado01
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-24 00:00:00.000000000 Z
11
+ date: 2018-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '10'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '10'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,9 +56,6 @@ dependencies:
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '3.0'
62
59
  - - ">="
63
60
  - !ruby/object:Gem::Version
64
61
  version: 3.0.0
@@ -66,9 +63,6 @@ dependencies:
66
63
  prerelease: false
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
- - - "~>"
70
- - !ruby/object:Gem::Version
71
- version: '3.0'
72
66
  - - ">="
73
67
  - !ruby/object:Gem::Version
74
68
  version: 3.0.0
@@ -113,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
107
  version: '0'
114
108
  requirements: []
115
109
  rubyforge_project:
116
- rubygems_version: 2.5.2
110
+ rubygems_version: 2.7.3
117
111
  signing_key:
118
112
  specification_version: 4
119
113
  summary: Simple and flexible authorization Rails system