ish_manager 0.1.8.377 → 0.1.8.378
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 +4 -4
- data/app/assets/stylesheets/ish_manager/email.scss +1 -0
- data/app/controllers/ish_manager/application_controller.rb +2 -0
- data/app/controllers/ish_manager/iro_purses_controller.rb +12 -0
- data/app/views/ish_manager/application/_main_header_admin.haml +2 -0
- data/app/views/ish_manager/iro_purses/my.haml +11 -0
- data/config/routes.rb +5 -9
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72d1d8103d7dde529e81e9074568b647db2b98bd9d1c6019664c417837243b15
|
4
|
+
data.tar.gz: 82c682267071f417b7f908ade31ae60a6139a7dfdd3794aedc9580fe7fe2abc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80b6707997cda1e32efa5e2bee8776f77b5823f6e761fee72e8ffdbd2d0ddc7ac6b0a732a5f3a6fe7314a8664f059378f4bb7384fbe3dcf2dcfa631503203669
|
7
|
+
data.tar.gz: f923c98b7eaf195c22da13c9761b45af889844b049b5eda104db927275f5f3fe5c97ff2c76686d93b42bc479cd3a570d7d577f19851ffa335e3407097579a123
|
@@ -9,6 +9,8 @@ module IshManager
|
|
9
9
|
check_authorization
|
10
10
|
rescue_from ::CanCan::AccessDenied, :with => :access_denied
|
11
11
|
|
12
|
+
http_basic_authenticate_with :name => BASIC_AUTH_NAME, :password => BASIC_AUTH_PASSWORD
|
13
|
+
|
12
14
|
def home
|
13
15
|
authorize! :home, IshManager::Ability
|
14
16
|
render 'home'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
class ::IshManager::IroPursesController < IshManager::ApplicationController
|
3
|
+
|
4
|
+
before_action :set_lists
|
5
|
+
|
6
|
+
def my
|
7
|
+
@purse = Iro::Purse.find_or_create_by({ user_id: current_user.id })
|
8
|
+
authorize! :my, @purse
|
9
|
+
@positions = @purse.positions
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
data/config/routes.rb
CHANGED
@@ -23,16 +23,12 @@ IshManager::Engine.routes.draw do
|
|
23
23
|
# end
|
24
24
|
# resources :orders
|
25
25
|
|
26
|
-
# namespace :iron_warbler do
|
27
|
-
# resources :iron_condors
|
28
|
-
# resources :stock_watches
|
29
|
-
# resources :option_watches
|
30
|
-
# resources :covered_calls
|
31
|
-
# end
|
32
26
|
|
33
|
-
|
34
|
-
|
35
|
-
|
27
|
+
get 'iro_watches', to: 'iro_watches#index'
|
28
|
+
get 'iro_purse', to: 'iro_purses#my', as: :my_purse
|
29
|
+
|
30
|
+
|
31
|
+
|
36
32
|
|
37
33
|
scope 'gameui' do
|
38
34
|
get 'maps/:id/map-editor', to: 'maps#map_editor', as: :location_map_editor
|
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.
|
4
|
+
version: 0.1.8.378
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -318,6 +318,7 @@ files:
|
|
318
318
|
- app/controllers/ish_manager/galleries_controller.rb
|
319
319
|
- app/controllers/ish_manager/image_assets_controller.rb
|
320
320
|
- app/controllers/ish_manager/invoices_controller.rb
|
321
|
+
- app/controllers/ish_manager/iro_purses_controller.rb
|
321
322
|
- app/controllers/ish_manager/iro_watches_controller.rb
|
322
323
|
- app/controllers/ish_manager/leads_controller.rb
|
323
324
|
- app/controllers/ish_manager/leadset_tags_controller.rb
|
@@ -461,6 +462,7 @@ files:
|
|
461
462
|
- app/views/ish_manager/invoices/_form.haml
|
462
463
|
- app/views/ish_manager/invoices/index.haml
|
463
464
|
- app/views/ish_manager/invoices/new.haml
|
465
|
+
- app/views/ish_manager/iro_purses/my.haml
|
464
466
|
- app/views/ish_manager/iron_warbler_mailer/condor_followup_alerb.html.erb
|
465
467
|
- app/views/ish_manager/iron_warbler_mailer/option_alert.html.erb
|
466
468
|
- app/views/ish_manager/iron_warbler_mailer/stock_alert.html.erb
|