ish_manager 0.1.8.338 → 0.1.8.340

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e0b5f74297bf2c1dae416f67fab79de0fd0b23e09066676d7bd684729b41e66
4
- data.tar.gz: a79b1bf933507b5e99c6e730a1e5a7ddca82176eeb5115dc19fa24d6e2a1e405
3
+ metadata.gz: 9b4184b0ea29ec3dfaba9dcdc6ed2dee035b6232a18902bbaaadfdfa4b19a99b
4
+ data.tar.gz: c686465e885ba4bb5c96a53d8c85306691db5a3eb52fcdb66a4a5fffa2e5f3fa
5
5
  SHA512:
6
- metadata.gz: 0dfa015b7e52e7a10b4ddf557b12cdf3447b3b6550df5831c961d7529260cd46586a259b89ef855669f2df3b35fdc584b59bea15a045bafd29328675ae246930
7
- data.tar.gz: a3268c656e70caffd5a0d7b11ebe33fae41d9839c715967807b19b6af12fe6325f7384d8bcd1f05284d2642e5fd8a7a279433b108e979b67269f301660b62dcd
6
+ metadata.gz: 30b9137f89b5d97a384638c126f0b20f83f0cf75031a9bc8f55712f8d72f76031ad711614843664de0d64eaf07e6d066a40cc15e2a6cb67be6be792a863f1553
7
+ data.tar.gz: fd5f044e36f07fb45c5e232ff678518ec487461de77c6f6e6723c1b5a1d8b3570e49ccad3bbf4e4f08457cbb41df479362ac15f72aeeab9dd2af8e9a808a4126
@@ -17,6 +17,11 @@ module IshManager
17
17
  #
18
18
  private
19
19
 
20
+ def access_denied exception
21
+ store_location_for :user, request.path
22
+ redirect_to user_signed_in? ? root_path : Rails.application.routes.url_helpers.new_user_session_path, :alert => exception.message
23
+ end
24
+
20
25
  def set_changelog
21
26
  @version = Gem.loaded_specs['ish_manager'].version.to_s
22
27
  end
@@ -29,9 +34,13 @@ module IshManager
29
34
  @current_ability ||= ::IshManager::Ability.new( @current_profile )
30
35
  end
31
36
 
32
- def access_denied exception
33
- store_location_for :user, request.path
34
- redirect_to user_signed_in? ? root_path : Rails.application.routes.url_helpers.new_user_session_path, :alert => exception.message
37
+ def set_lists
38
+ @galleries_list = Gallery.all.list
39
+ @locations_list = ::Gameui::Map.list
40
+ @maps_list = ::Gameui::Map.list # @TODO: missing nonpublic!
41
+ @reports_list = Report.all.list
42
+ @user_profiles_list = Ish::UserProfile.list
43
+ @videos_list = Video.all.list
35
44
  end
36
45
 
37
46
  def pp_errors err
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.338
4
+ version: 0.1.8.340
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-23 00:00:00.000000000 Z
11
+ date: 2022-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails