super_test_engine 0.0.9 → 0.0.10
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/super/member_dashboard.rb +4 -4
- data/app/super/ship_dashboard.rb +4 -4
- data/lib/super_test_engine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c79847b7411aa6190cb1411ba404e4ce64ebcf70f114be56fc62d550c05e74d
|
|
4
|
+
data.tar.gz: 245456b602a7289912b3b7c74b724a30ace0f514383e41a00e191894d18b7d7c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4917954958aa6cfa127874e6b6c8aac8eed2ff69ce4445610e7cdfc3584a9dfb7d5a2d9dc5b2b36dfa4c68393c7a3a7ce96bf3386ccdca46bff5e586edc98e7d
|
|
7
|
+
data.tar.gz: f95914049547f8ce65dd55b05a5485caef3d47fa845b367033fa10e769141eea008b8e8fda103a1dcc644f685ac38549447a25f07a46fd8a0cb25edd40b811f2
|
|
@@ -12,7 +12,7 @@ class MemberDashboard
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def index_schema
|
|
15
|
-
Super::Schema.new(Super::
|
|
15
|
+
Super::Schema.new(Super::Display::SchemaTypes.new) do |fields, type|
|
|
16
16
|
fields[:name] = type.dynamic { |name| name }
|
|
17
17
|
fields[:rank] = type.dynamic { |rank| rank }
|
|
18
18
|
fields[:position] = type.dynamic { |position| position }
|
|
@@ -34,7 +34,7 @@ class MemberDashboard
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def new_schema
|
|
37
|
-
Super::Schema.new(Super::
|
|
37
|
+
Super::Schema.new(Super::Form::SchemaTypes.new) do |fields, type|
|
|
38
38
|
fields[:name] = type.generic("form_generic_text")
|
|
39
39
|
fields[:rank] = type.generic("form_generic_select", collection: Member.ranks.keys)
|
|
40
40
|
fields[:position] = type.generic("form_generic_text")
|
|
@@ -50,7 +50,7 @@ class MemberDashboard
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
def edit_schema
|
|
53
|
-
Super::Schema.new(Super::
|
|
53
|
+
Super::Schema.new(Super::Form::SchemaTypes.new) do |fields, type|
|
|
54
54
|
fields[:name] = type.generic("form_generic_text")
|
|
55
55
|
fields[:rank] = type.generic("form_generic_select", collection: Member.ranks.keys)
|
|
56
56
|
fields[:position] = type.generic("form_generic_text")
|
|
@@ -66,7 +66,7 @@ class MemberDashboard
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
def show_schema
|
|
69
|
-
Super::Schema.new(Super::
|
|
69
|
+
Super::Schema.new(Super::Display::SchemaTypes.new) do |fields, type|
|
|
70
70
|
fields[:name] = type.dynamic { |name| name }
|
|
71
71
|
fields[:rank] = type.dynamic { |rank| rank }
|
|
72
72
|
fields[:position] = type.dynamic { |position| position }
|
data/app/super/ship_dashboard.rb
CHANGED
|
@@ -12,7 +12,7 @@ class ShipDashboard
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def index_schema
|
|
15
|
-
Super::Schema.new(Super::
|
|
15
|
+
Super::Schema.new(Super::Display::SchemaTypes.new) do |fields, type|
|
|
16
16
|
fields[:name] = type.dynamic { |name| name }
|
|
17
17
|
fields[:registry] = type.dynamic { |registry| registry }
|
|
18
18
|
fields[:class_name] = type.dynamic { |class_name| class_name }
|
|
@@ -32,7 +32,7 @@ class ShipDashboard
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def new_schema
|
|
35
|
-
Super::Schema.new(Super::
|
|
35
|
+
Super::Schema.new(Super::Form::SchemaTypes.new) do |fields, type|
|
|
36
36
|
fields[:name] = type.generic("form_generic_text")
|
|
37
37
|
fields[:registry] = type.generic("form_generic_text")
|
|
38
38
|
fields[:position] = type.generic("form_generic_text")
|
|
@@ -44,7 +44,7 @@ class ShipDashboard
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
def edit_schema
|
|
47
|
-
Super::Schema.new(Super::
|
|
47
|
+
Super::Schema.new(Super::Form::SchemaTypes.new) do |fields, type|
|
|
48
48
|
fields[:name] = type.generic("form_generic_text")
|
|
49
49
|
fields[:registry] = type.generic("form_generic_text")
|
|
50
50
|
fields[:position] = type.generic("form_generic_text")
|
|
@@ -56,7 +56,7 @@ class ShipDashboard
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
def show_schema
|
|
59
|
-
Super::Schema.new(Super::
|
|
59
|
+
Super::Schema.new(Super::Display::SchemaTypes.new) do |fields, type|
|
|
60
60
|
fields[:name] = type.dynamic { |name| name }
|
|
61
61
|
fields[:registry] = type.dynamic { |registry| registry }
|
|
62
62
|
fields[:class_name] = type.dynamic { |class_name| class_name }
|