hackathon_manager 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/manage/admins_controller.rb +2 -1
- data/app/controllers/manage/bus_lists_controller.rb +1 -1
- data/app/controllers/manage/configs_controller.rb +3 -0
- data/app/controllers/manage/messages_controller.rb +2 -1
- data/app/controllers/manage/questionnaires_controller.rb +2 -1
- data/app/controllers/manage/schools_controller.rb +2 -1
- data/lib/hackathon_manager/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da318b13e4e36741b1c6c64bb2b9f247677df22db0307e9eeb1aeea45a56637a
|
4
|
+
data.tar.gz: 9c4f819818f9d9ef31b526acf4cc3cf32e92f9a6407d18e6d1ae0c362b15e200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d615fa1467c998ecbe4c6c34ccfbfda53140d00b98a25a200c866b887fb08bcd0b4c90a6350f27d0b346409b8cc621d52c00b706064120c535710f642b42233
|
7
|
+
data.tar.gz: 0c6b21a4f9c10ba914f52b8d27e1890c978204fb0a831cd11fc8fb3cc35c7e3433db33315e5bd525195191f44870c8fe772294bee9deb80ef24136343ad0bc70
|
@@ -1,9 +1,10 @@
|
|
1
1
|
class Manage::AdminsController < Manage::ApplicationController
|
2
2
|
before_action :find_user, only: [:show, :edit, :update, :destroy]
|
3
3
|
|
4
|
-
respond_to :html
|
4
|
+
respond_to :html, :json
|
5
5
|
|
6
6
|
def index
|
7
|
+
respond_with(:manage, User.where(admin: true))
|
7
8
|
end
|
8
9
|
|
9
10
|
def datatable
|
@@ -2,9 +2,10 @@ class Manage::MessagesController < Manage::ApplicationController
|
|
2
2
|
before_action :set_message, only: [:show, :edit, :update, :destroy, :deliver, :preview, :duplicate]
|
3
3
|
before_action :check_message_access, only: [:edit, :update, :destroy]
|
4
4
|
|
5
|
-
respond_to :html
|
5
|
+
respond_to :html, :json
|
6
6
|
|
7
7
|
def index
|
8
|
+
respond_with(:manage, Message.all)
|
8
9
|
end
|
9
10
|
|
10
11
|
def datatable
|
@@ -3,9 +3,10 @@ class Manage::QuestionnairesController < Manage::ApplicationController
|
|
3
3
|
|
4
4
|
before_action :set_questionnaire, only: [:show, :edit, :update, :destroy, :check_in, :convert_to_admin, :update_acc_status, :message_events, :invite_to_slack]
|
5
5
|
|
6
|
-
respond_to :html
|
6
|
+
respond_to :html, :json
|
7
7
|
|
8
8
|
def index
|
9
|
+
respond_with(:manage, Questionnaire.all)
|
9
10
|
end
|
10
11
|
|
11
12
|
def datatable
|
@@ -1,9 +1,10 @@
|
|
1
1
|
class Manage::SchoolsController < Manage::ApplicationController
|
2
2
|
before_action :find_school, only: [:show, :edit, :update, :destroy, :merge, :perform_merge]
|
3
3
|
|
4
|
-
respond_to :html
|
4
|
+
respond_to :html, :json
|
5
5
|
|
6
6
|
def index
|
7
|
+
respond_with(:manage, School.all)
|
7
8
|
end
|
8
9
|
|
9
10
|
def datatable
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hackathon_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Olivera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|