invisible_controller 0.1.5 → 0.1.6

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
2
  SHA1:
3
- metadata.gz: ad4deaa87ad2d79873e1c875c573a2a2755e55e8
4
- data.tar.gz: 1445d3fcaab0c10c3030099793dc286f6f58a7db
3
+ metadata.gz: a2910879d0d4992c47eef99887bd3847dfb76c04
4
+ data.tar.gz: 3eccc6c843cd3bc5b99497dbb0b974572505455d
5
5
  SHA512:
6
- metadata.gz: b5d5b6825b3d7ca0b81d37c2b3a43c6512890f781a14fff63851035c15771699503c7d056ba570d1b4af08d8ec9d6a2e00500fdd44338c3d91e19146611d004e
7
- data.tar.gz: b86ececbfe7537e0b436fe83a38002fb9fd66c754abb3b461f03315b6bbf79dea25ffe3a224f5244e602399e65082b5ae55d157b5eccdb661f933b2ef0c77137
6
+ metadata.gz: 718f466a43ea0e245605bb0e47634ca251d0cd512bf31ebc5e5f67cbe4ee95d79a2745bfeda8ae8ea4389694eee9fabc20c5574901cf1973312bf1b634e991c8
7
+ data.tar.gz: e796aeabf86461513d341f6c23aea9ac40905052ce5a50375b8dadb46240a4037e4857ea3a1a6ebe1618fe4f5840365a5b5b4d5e60c093952d7503532c982efd
@@ -1,8 +1,8 @@
1
1
  module InvisibleController
2
2
  class Base < ::ApplicationController
3
- authorize_resource if respond_to?('authorize_resource')
4
3
  RESTFUL_ACTIONS = [:index,:create,:new,:edit,:show,:update,:destroy]
5
4
  before_filter :load_resource, only: RESTFUL_ACTIONS
5
+ authorize_resource if respond_to?('authorize_resource')
6
6
 
7
7
  def self.belongs_to(parent_klass,args={})
8
8
  @as ||= HashWithIndifferentAccess.new
@@ -1,3 +1,3 @@
1
1
  module InvisibleController
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invisible_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Moody
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-10 00:00:00.000000000 Z
11
+ date: 2016-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails