permissify 0.0.22 → 0.0.23

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.
@@ -6,7 +6,6 @@ module PermissifiedProductsInterface
6
6
 
7
7
  include Permissify::Union
8
8
  PERMISSIFIED_ASSOCIATION = :products
9
- # PERMISSIFIED_ABILITY_APPLICABILITY = Product::PERMISSIFIED_ABILITY_APPLICABILITY
10
9
 
11
10
  end
12
11
  end
@@ -5,8 +5,7 @@ module PermissifiedProductsInterface
5
5
  end
6
6
 
7
7
  include Permissify::Union
8
- PERMISSIFIED_ASSOCIATION = :products
9
- # PERMISSIFIED_ABILITY_APPLICABILITY = Product::PERMISSIFIED_ABILITY_APPLICABILITY
8
+ PERMISSIFIED_ASSOCIATION = :permissible_products
10
9
 
11
10
  end
12
11
  end
@@ -6,7 +6,6 @@ module PermissifiedProductsInterface
6
6
 
7
7
  include Permissify::Union
8
8
  PERMISSIFIED_ASSOCIATION = :products
9
- # PERMISSIFIED_ABILITY_APPLICABILITY = Product::PERMISSIFIED_ABILITY_APPLICABILITY
10
9
 
11
10
  end
12
11
  end
@@ -6,7 +6,6 @@ module PermissifiedProductsInterface
6
6
 
7
7
  include Permissify::Union
8
8
  PERMISSIFIED_ASSOCIATION = :products
9
- # PERMISSIFIED_ABILITY_APPLICABILITY = Product::PERMISSIFIED_ABILITY_APPLICABILITY
10
9
 
11
10
  end
12
11
  end
@@ -5,8 +5,7 @@ module PermissifiedProductsInterface
5
5
  end
6
6
 
7
7
  include Permissify::Union
8
- PERMISSIFIED_ASSOCIATION = :products
9
- # PERMISSIFIED_ABILITY_APPLICABILITY = Product::PERMISSIFIED_ABILITY_APPLICABILITY
8
+ PERMISSIFIED_ASSOCIATION = :permissible_products
10
9
 
11
10
  end
12
11
  end
@@ -71,7 +71,8 @@ module PermissionsHelper
71
71
  'Dealer Admin',
72
72
  'Corporation Admin',
73
73
  'Brand Admin',
74
- 'Merchant Admin'
74
+ 'Merchant Admin',
75
+ 'Social Media',
75
76
  ],
76
77
  'product' => [ 'Social Media',
77
78
  'Solutions',
@@ -1,6 +1,6 @@
1
1
  <tr>
2
2
  <td><%= label :role, :name, "Name"%></td>
3
- <td><%= text_field_tag 'role_name', @role.name %></td>
3
+ <td><%= text_field_tag 'role[name]', @role.name %></td>
4
4
  </tr>
5
5
 
6
6
  <tr>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: permissify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 22
10
- version: 0.0.22
9
+ - 23
10
+ version: 0.0.23
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frederick Fix
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-19 00:00:00 Z
18
+ date: 2012-07-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rspec