wnw_permissible 0.1.3 → 1.0.0

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
- SHA256:
3
- metadata.gz: 7e05ebd4b32590ebdf62c77229c60dd54a80ce09021299ebad384c05a5ada914
4
- data.tar.gz: 16b4df7958b135aec6c5b06bcdcee760dad906b8cdb6f38982f23a8d393fb2fd
2
+ SHA1:
3
+ metadata.gz: 4d7ea45fc38eccf719057a102143ee09cd397d95
4
+ data.tar.gz: 511e72f8cc4464ab8df411e59500e57bfac45c16
5
5
  SHA512:
6
- metadata.gz: a42fcc8400e19097a975ea6eece078036ca86f5dca24eef605db663cdb68fe3cbfe0964a032af3cfadfd70256cb14918156726aa0a72318a2254e4e9f2399718
7
- data.tar.gz: dced9dccab6f4e4b898ed0e057542f54543f5d62c94207c1b0acda2f4a3610f55149be9260908254fcc53aa89c1ed02da6bf46fe9217589722548a0ee4817d0b
6
+ metadata.gz: 3486910699f72450e8d08710b6249df38f5c6b4327cd7c26497f92342360af9548032a9f4dede183c1e3929819b7376161c0564d3433a1e3c81dc4d55b661723
7
+ data.tar.gz: 3bff63e73bf568fc952bf01a726d2ab75e8b150b5ac3430df49a863068ed694ab633d3c873e5bf7a90aa63a2fd1d823638ab90d37e57f4c60fd263ec010b9bc9
@@ -2,8 +2,8 @@ class CreateAuthorizations < ActiveRecord::Migration<%= migration_version %>
2
2
 
3
3
  def change
4
4
  create_table :authorizations do |t|
5
- t.string :authorizable_type, :limit => 191
6
- t.integer :authorizable_id
5
+ t.string :authorizable_type, :limit => 191
6
+ t.bigint :authorizable_id
7
7
  t.references :role, :foreign_key => true
8
8
 
9
9
  t.timestamps
@@ -1,7 +1,7 @@
1
1
  # Created by WnwPermissible to contain any custom model code. It's safe to
2
2
  # delete this file if you do not need any custom functionality in the model.
3
3
 
4
- require_dependency WnwPermissible::Engine.config.root.join('app', 'models', __FILE__).to_s
4
+ require_dependency WnwPermissible::Engine.config.root.join('app', 'models', '<%= config[:model] %>.rb').to_s
5
5
 
6
6
  class <%= config[:model].camelize %>
7
7
  # add custom model code here
@@ -1,3 +1,3 @@
1
1
  module WnwPermissible
2
- VERSION = '0.1.3'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wnw_permissible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Cameron
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  requirements: []
88
88
  rubyforge_project:
89
- rubygems_version: 2.7.7
89
+ rubygems_version: 2.5.1
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Adds role-based permissions to a Rails application