c80_map_floors 0.2.0.4 → 0.2.0.5
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f637d6eb51df2e486b53de6329740c019755cba6
|
|
4
|
+
data.tar.gz: ce6ce1b968c2294dd6996580401a8e2cab39d830
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8eed682f6f3b79e79e9aa4f2f67636d76189a3b9543d6b65879d33b7a7e0cc42d944d6ef4ef01e7840ddfd2b23853b0d65638a0ac97a4af22819ef184d52920
|
|
7
|
+
data.tar.gz: e27dd3624aa8bf904b3cc85ca2c32c77cfc1c4ed522bd517f8e14ef69336d97bb29530f7fbac171f1e7f89b9d8032478fb16bfcedba0c8ed4a9d6ff8e5c8dbe5
|
|
@@ -53,7 +53,7 @@ module C80MapFloors
|
|
|
53
53
|
area = C80MapFloors::Area.find(params[:apolygon_id])
|
|
54
54
|
|
|
55
55
|
# rent_area has_one area(полигон)
|
|
56
|
-
rent_area.area.
|
|
56
|
+
rent_area.area.delete if rent_area.area.present?
|
|
57
57
|
rent_area.area = area
|
|
58
58
|
rent_area.save
|
|
59
59
|
|
|
@@ -77,7 +77,7 @@ module C80MapFloors
|
|
|
77
77
|
|
|
78
78
|
map_building = C80MapFloors::MapBuilding.find(params[:map_building_id])
|
|
79
79
|
|
|
80
|
-
rent_building.map_building.
|
|
80
|
+
rent_building.map_building.delete if rent_building.map_building.present?
|
|
81
81
|
rent_building.map_building = map_building
|
|
82
82
|
rent_building.save
|
|
83
83
|
|
|
@@ -101,7 +101,7 @@ module C80MapFloors
|
|
|
101
101
|
floor = C80MapFloors::Floor.find(params[:floor_id])
|
|
102
102
|
|
|
103
103
|
# sfloor has_one floor
|
|
104
|
-
sfloor.floor.
|
|
104
|
+
sfloor.floor.delete if sfloor.floor.present?
|
|
105
105
|
sfloor.floor = floor
|
|
106
106
|
sfloor.save
|
|
107
107
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: c80_map_floors
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.0.
|
|
4
|
+
version: 0.2.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- C80609A
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|