adeia 0.11.5 → 0.11.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: 7c12c59830d8fe3c488630410560fcd8cfe27f50
4
- data.tar.gz: 4a0ab18a8f0df82924f344b9cd89bf376a01722e
3
+ metadata.gz: 0727d2ba6bb0f99fc0b1554944334638d19628af
4
+ data.tar.gz: 8ff0154958b54fea7be1164f2ac6bf2952475bfe
5
5
  SHA512:
6
- metadata.gz: 740b5861b98ab7cd216618892599680f498e8cbc5e3697889280723178fe699863b7c297ee6d541a762b246e21e9de0c75c8e73418150e947ef7d7c29ef58e87
7
- data.tar.gz: 6859f560bca9a3bec5642a0819c990c12ae3030680766b3e4affcab659c10d7eee156eb668d7691cd023fabc56d955b089ee9126a75ba7075ad614b3c20c75e5
6
+ metadata.gz: 594ee1692fee0bb00f5e8b7f67d88c126e1a6d40651a4cf8fb517db10aebd35dec59477bf0c6847e216442955806b9e211b6eee54eb3de53bcd8762db1534383
7
+ data.tar.gz: 696c41d99cc9e0f210d02b2bbffa045c4b7cc819661dd9621434d1a17e93ffce44182fa470ea56e4ebc57414359c1c9c450aa0b42ebf9454a814558759c1e535
@@ -32,7 +32,7 @@ module Adeia
32
32
  @controller_name = args.fetch(:controller, @controller.controller_path)
33
33
  @token = args.fetch(:token, @controller.request.GET[:token])
34
34
  @resource = args[:resource]
35
- @model = args.fetch(:model, resource_class)
35
+ @model = args[:model] || resource_class
36
36
  @user = @controller.current_user
37
37
  @controller.current_user ||= GuestUser.new # if not signed in but authorized
38
38
  @controller.store_location
data/lib/adeia/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Adeia
2
- VERSION = "0.11.5"
2
+ VERSION = "0.11.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adeia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.5
4
+ version: 0.11.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - khcr