ish_models 0.0.33.173 → 0.0.33.174
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gameui/marker.rb +0 -7
- 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: e193de4eeef224f54fcf57c898a9bc3b6a6442a3fdb92ebc39bbe631e884c760
|
4
|
+
data.tar.gz: be392236fdc22f242252992c4f473623798b1d837fb036be850f54dd6a26a32d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9e4729d7c569a6fe830403583e95552f2bf96b16d0d73601059e9680eb67ec8f526b9a5c655ebdc7f23312cd9608aafd44de088cb435f8b579ddfc2da514b7d
|
7
|
+
data.tar.gz: e74ca05bc40aa65fdf65b31b228e5410bd9be2299664261404eb4e1e98b4f6af3632cd08445d9c6e23c33b89638b15a7540270cef023972c04c8d2e0c282d229
|
data/lib/gameui/marker.rb
CHANGED
@@ -8,13 +8,6 @@ class ::Gameui::Marker
|
|
8
8
|
validates_uniqueness_of :name, scope: :map_id
|
9
9
|
validates_presence_of :name
|
10
10
|
|
11
|
-
## This is not a map, I don't need a slug.
|
12
|
-
## @TODO: remove it. _vp_ 2022-06-17
|
13
|
-
field :slug
|
14
|
-
def slug
|
15
|
-
return self[:slug] || id.to_s
|
16
|
-
end
|
17
|
-
|
18
11
|
field :ordering, type: String, default: 'jjj'
|
19
12
|
|
20
13
|
ITEM_TYPE_LOCATION = '::Gameui::Map' # @TODO: this used to be gameui-location . How is this different from gameui-map ?
|