phcdevworks_real_estate 2.8.1 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcdevworks_real_estate/property/features_controller.rb +1 -1
- data/app/controllers/phcdevworks_real_estate/property/listings_controller.rb +1 -1
- data/app/models/phcdevworks_real_estate/property/feature.rb +5 -5
- data/app/models/phcdevworks_real_estate/property/listing.rb +8 -8
- data/app/views/layouts/phcdevworks_real_estate/components/backend/sidebars/_side_menu.html.erb +54 -21
- data/app/views/phcdevworks_real_estate/property/features/_form.html.erb +2 -2
- data/app/views/phcdevworks_real_estate/property/features/index.html.erb +1 -1
- data/app/views/phcdevworks_real_estate/property/features/show.html.erb +1 -1
- data/app/views/phcdevworks_real_estate/property/listings/_form.html.erb +36 -36
- data/app/views/phcdevworks_real_estate/property/listings/index.html.erb +5 -5
- data/config/routes.rb +1 -0
- data/db/migrate/20190824010811_create_phcdevworks_real_estate_property_listings.rb +22 -20
- data/db/migrate/20190824011000_create_phcdevworks_real_estate_property_features.rb +6 -4
- data/db/migrate/20191024232111_create_phcdevworks_real_estate_property_features_listings.rb +10 -0
- data/lib/phcdevworks_real_estate/version.rb +1 -1
- metadata +33 -33
- data/db/migrate/20191024232111_create_phcdevworks_real_estate_features_listings.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd973da7285c187a049fb94379495cb372aeafd2878b71a0b01ce98d8336d87b
|
4
|
+
data.tar.gz: fe9743fda3d086cafcecfe0167f77d031c71a4dfc21f4f480add95668348c83d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 592ce13ddfd106e50e7657c37ea38e188d210db5dc7f3969ebf594a15571873ce22e3a26f87ffd200e165c1b37b5f9541927a274e92cee9f74255cabb4596ef1
|
7
|
+
data.tar.gz: c7c0ae917a376ae439ed92e103e743465f1a7030f183819bf2f006ef3e1a1fcfbb3ec6b3f6addb21b1d4f2616f6dc5bb331a825ccddf7f0b504a8592fcaacc8c
|
@@ -75,7 +75,7 @@ module PhcdevworksRealEstate
|
|
75
75
|
|
76
76
|
# Whitelist
|
77
77
|
def property_listing_params
|
78
|
-
params.require(:property_listing).permit(:
|
78
|
+
params.require(:property_listing).permit(:property_listing_title, :property_listing_description, :property_listing_street_address, :property_listing_price, :property_listing_area, :property_listing_property_area, :property_listing_garage_area, :property_listing_room, :property_listing_bed, :property_listing_bath, :property_listing_garage, :property_listing_type, :property_listing_status, :property_listing_year_built, :property_listing_energy_class, :property_listing_leed_rating, :optimization_id, :slug, :user_id, :org_id, gallery_upload: [], feature_ids: [])
|
79
79
|
end
|
80
80
|
|
81
81
|
end
|
@@ -5,17 +5,17 @@ module PhcdevworksRealEstate
|
|
5
5
|
extend FriendlyId
|
6
6
|
|
7
7
|
# Relationships
|
8
|
-
has_and_belongs_to_many :listings, class_name: 'Phcreallistingspro::Property::Listing', :join_table => '
|
8
|
+
has_and_belongs_to_many :listings, class_name: 'Phcreallistingspro::Property::Listing', :join_table => 'phcdevworks_real_estate_property_features_listings', :dependent => :destroy
|
9
9
|
|
10
10
|
# Validation for Form Fields
|
11
|
-
validates :
|
11
|
+
validates :property_feature_name,
|
12
12
|
presence: true
|
13
13
|
|
14
14
|
# Clean URL Define
|
15
|
-
friendly_id :
|
15
|
+
friendly_id :property_feature_nice_urls, use: [:slugged, :finders]
|
16
16
|
|
17
|
-
def
|
18
|
-
[:
|
17
|
+
def property_feature_nice_urls
|
18
|
+
[:property_feature_name]
|
19
19
|
end
|
20
20
|
|
21
21
|
end
|
@@ -9,26 +9,26 @@ module PhcdevworksRealEstate
|
|
9
9
|
has_many_attached :gallery_upload
|
10
10
|
|
11
11
|
# Relationships
|
12
|
-
has_and_belongs_to_many :features, class_name: 'Phcreallistingspro::Property::Feature', :join_table => '
|
12
|
+
has_and_belongs_to_many :features, class_name: 'Phcreallistingspro::Property::Feature', :join_table => 'phcdevworks_real_estate_property_features_listings', :dependent => :destroy
|
13
13
|
|
14
14
|
# Validation for Form Fields
|
15
|
-
validates :
|
15
|
+
validates :property_listing_title,
|
16
16
|
presence: true
|
17
17
|
|
18
|
-
validates :
|
18
|
+
validates :property_listing_description,
|
19
19
|
presence: true
|
20
20
|
|
21
|
-
validates :
|
21
|
+
validates :property_listing_street_address,
|
22
22
|
presence: true
|
23
23
|
|
24
|
-
validates :
|
24
|
+
validates :property_listing_price,
|
25
25
|
presence: true
|
26
26
|
|
27
27
|
# Clean URL Define
|
28
|
-
friendly_id :
|
28
|
+
friendly_id :property_listing_nice_urls, use: [:slugged, :finders]
|
29
29
|
|
30
|
-
def
|
31
|
-
[:
|
30
|
+
def property_listing_nice_urls
|
31
|
+
[:property_listing_title]
|
32
32
|
end
|
33
33
|
|
34
34
|
end
|
data/app/views/layouts/phcdevworks_real_estate/components/backend/sidebars/_side_menu.html.erb
CHANGED
@@ -45,18 +45,40 @@
|
|
45
45
|
<a href="javascript:;">
|
46
46
|
<b class="caret"></b>
|
47
47
|
<i class="fad fa-newspaper"></i>
|
48
|
-
<span>
|
48
|
+
<span>Blog Articles</span>
|
49
49
|
</a>
|
50
50
|
<ul class="sub-menu">
|
51
51
|
<li class="<%= phc_menu_active_controller("phcdevworks_press/article/posts") %>"><%= link_to("Article Index", phcdevworks_press.article_posts_path) %></li>
|
52
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_press/article/posts#new") %>"><%= link_to("New Aritcle", phcdevworks_press.new_article_post_path) %></li>
|
52
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/article/posts#new") %>"><%= link_to("Add a New Aritcle", phcdevworks_press.new_article_post_path) %></li>
|
53
|
+
</ul>
|
54
|
+
</li>
|
55
|
+
<li class="has-sub">
|
56
|
+
<a href="javascript:;">
|
57
|
+
<b class="caret"></b>
|
58
|
+
<i class="fad fa-star-half"></i>
|
59
|
+
<span>Review Articles</span>
|
60
|
+
</a>
|
61
|
+
<ul class="sub-menu">
|
62
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/review/posts") %>"><%= link_to("Reviews Index", phcdevworks_press.review_posts_path) %></li>
|
63
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/review/posts#new") %>"><%= link_to("Add a New Review", phcdevworks_press.new_review_post_path) %></li>
|
64
|
+
</ul>
|
65
|
+
</li>
|
66
|
+
<li class="has-sub">
|
67
|
+
<a href="javascript:;">
|
68
|
+
<b class="caret"></b>
|
69
|
+
<i class="fad fa-th-list"></i>
|
70
|
+
<span>List Articles</span>
|
71
|
+
</a>
|
72
|
+
<ul class="sub-menu">
|
73
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/list/posts") %>"><%= link_to("Lists Index", phcdevworks_press.list_posts_path) %></li>
|
74
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/list/posts#new") %>"><%= link_to("Add a New List", phcdevworks_press.new_list_post_path) %></li>
|
53
75
|
</ul>
|
54
76
|
</li>
|
55
77
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
56
78
|
<% end %>
|
57
79
|
|
58
80
|
<% if defined?phcdevworks_portfolio %>
|
59
|
-
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks
|
81
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Portfolio -->
|
60
82
|
<li class="nav-header">Portfolio</li>
|
61
83
|
<li class="has-sub">
|
62
84
|
<a href="javascript:;">
|
@@ -80,7 +102,7 @@
|
|
80
102
|
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts#new") %>"><%= link_to("New Types", phcdevworks_portfolio.new_project_type_path) %></li>
|
81
103
|
</ul>
|
82
104
|
</li>
|
83
|
-
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks
|
105
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Portfolio -->
|
84
106
|
<% end %>
|
85
107
|
|
86
108
|
<% if defined?phcdevworks_tutorials %>
|
@@ -112,23 +134,6 @@
|
|
112
134
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Tutorials -->
|
113
135
|
<% end %>
|
114
136
|
|
115
|
-
<% if defined?phcdevworks_core_modules %>
|
116
|
-
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
117
|
-
<li class="nav-header">Core Modules</li>
|
118
|
-
<li class="has-sub">
|
119
|
-
<a href="javascript:;">
|
120
|
-
<b class="caret"></b>
|
121
|
-
<i class="fad fa-sitemap"></i>
|
122
|
-
<span>Categories</span>
|
123
|
-
</a>
|
124
|
-
<ul class="sub-menu">
|
125
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_core_modules/modules/categories") %>"><%= link_to("Category Index", phcdevworks_core_modules.modules_categories_path) %></li>
|
126
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_core_modules/modules/categories#new") %>"><%= link_to("New Category", phcdevworks_core_modules.new_modules_category_path) %></li>
|
127
|
-
</ul>
|
128
|
-
</li>
|
129
|
-
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
130
|
-
<% end %>
|
131
|
-
|
132
137
|
<% if defined?phcdevworks_members %>
|
133
138
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Members -->
|
134
139
|
<li class="nav-header">Membership Manager</li>
|
@@ -227,6 +232,34 @@
|
|
227
232
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks RealEstate -->
|
228
233
|
<% end %>
|
229
234
|
|
235
|
+
<% if defined?phcdevworks_core_modules %>
|
236
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Core Modules -->
|
237
|
+
<li class="nav-header">Core Modules</li>
|
238
|
+
<li class="has-sub">
|
239
|
+
<a href="javascript:;">
|
240
|
+
<b class="caret"></b>
|
241
|
+
<i class="fad fa-sitemap"></i>
|
242
|
+
<span>Categories</span>
|
243
|
+
</a>
|
244
|
+
<ul class="sub-menu">
|
245
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_core_modules/post/categories") %>"><%= link_to("Category Index", phcdevworks_core_modules.post_categories_path) %></li>
|
246
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_core_modules/post/categories#new") %>"><%= link_to("New Category", phcdevworks_core_modules.new_post_category_path) %></li>
|
247
|
+
</ul>
|
248
|
+
</li>
|
249
|
+
<li class="has-sub">
|
250
|
+
<a href="javascript:;">
|
251
|
+
<b class="caret"></b>
|
252
|
+
<i class="fad fa-analytics"></i>
|
253
|
+
<span>Marketing</span>
|
254
|
+
</a>
|
255
|
+
<ul class="sub-menu">
|
256
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_core_modules/marketing/optimizations") %>"><%= link_to("SEO Data Index", phcdevworks_core_modules.marketing_optimizations_path) %></li>
|
257
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_core_modules/marketing/optimizations#new") %>"><%= link_to("Add SEO Data", phcdevworks_core_modules.new_marketing_optimization_path) %></li>
|
258
|
+
</ul>
|
259
|
+
</li>
|
260
|
+
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Core Modules -->
|
261
|
+
<% end %>
|
262
|
+
|
230
263
|
<% if current_user && current_user.admin? %>
|
231
264
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
232
265
|
<li class="nav-header">User Administration</li>
|
@@ -7,8 +7,8 @@
|
|
7
7
|
|
8
8
|
<!-- Form Input Fields -->
|
9
9
|
<div class="form-group">
|
10
|
-
<%= phc_pro_property_feature.label :
|
11
|
-
<%= phc_pro_property_feature.text_field :
|
10
|
+
<%= phc_pro_property_feature.label :property_feature_name, "Feature Name" %>
|
11
|
+
<%= phc_pro_property_feature.text_field :property_feature_name, placeholder: "Feature Name", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
<!-- Form Input Fields -->
|
14
14
|
|
@@ -48,7 +48,7 @@
|
|
48
48
|
<tbody>
|
49
49
|
<% @property_features.each do |property_feature| %>
|
50
50
|
<tr>
|
51
|
-
<td class="highlight"><%= link_to property_feature.
|
51
|
+
<td class="highlight"><%= link_to property_feature.property_feature_name, property_feature %></td>
|
52
52
|
<td>
|
53
53
|
<div class="btn-group d-flex" role="group" aria-label="Property Listings">
|
54
54
|
<%= link_to "Feature Details", property_feature, class: "btn btn-primary btn-xs" %>
|
@@ -7,99 +7,99 @@
|
|
7
7
|
|
8
8
|
<!-- Form Input Fields -->
|
9
9
|
<div class="form-group">
|
10
|
-
<%= form.label :
|
11
|
-
<%= form.text_field :
|
10
|
+
<%= form.label :property_listing_title, "Listing TItle" %>
|
11
|
+
<%= form.text_field :property_listing_title, placeholder: "Listing Title", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
|
14
14
|
<div class="form-group">
|
15
|
-
<%= form.label :
|
16
|
-
<%= form.
|
15
|
+
<%= form.label :property_listing_description, "Listing Description" %>
|
16
|
+
<%= form.text_area :property_listing_description, placeholder: "Listing Description", class: "form-control" %>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
<div class="form-group">
|
20
|
-
<%= form.label :
|
21
|
-
<%= form.text_field :
|
20
|
+
<%= form.label :property_listing_street_address, "Listing Street Address" %>
|
21
|
+
<%= form.text_field :property_listing_street_address, placeholder: "Listing Street Address", class: "form-control", id: "phc-gmaps-input-address" %>
|
22
22
|
</div>
|
23
23
|
|
24
24
|
<div class="form-group">
|
25
|
-
<%= form.label :
|
26
|
-
<%= form.text_field :
|
25
|
+
<%= form.label :property_listing_price, "Listing Price" %>
|
26
|
+
<%= form.text_field :property_listing_price, placeholder: "Listing Price", class: "form-control" %>
|
27
27
|
</div>
|
28
28
|
|
29
29
|
<hr>
|
30
30
|
|
31
31
|
<div class="form-group">
|
32
|
-
<%= form.label :
|
33
|
-
<%= form.text_field :
|
32
|
+
<%= form.label :property_listing_area, "Listing Area" %>
|
33
|
+
<%= form.text_field :property_listing_area, placeholder: "Listing Area", class: "form-control" %>
|
34
34
|
</div>
|
35
35
|
|
36
36
|
<div class="form-group">
|
37
|
-
<%= form.label :
|
38
|
-
<%= form.text_field :
|
37
|
+
<%= form.label :property_listing_property_area, "Listing Property Area" %>
|
38
|
+
<%= form.text_field :property_listing_property_area, placeholder: "Listing Property Area", class: "form-control" %>
|
39
39
|
</div>
|
40
40
|
|
41
41
|
<div class="form-group">
|
42
|
-
<%= form.label :
|
43
|
-
<%= form.text_field :
|
42
|
+
<%= form.label :property_listing_garage_area, "Listing Garage Area" %>
|
43
|
+
<%= form.text_field :property_listing_garage_area, placeholder: "Listing Garage Area", class: "form-control" %>
|
44
44
|
</div>
|
45
45
|
|
46
46
|
<hr>
|
47
47
|
|
48
48
|
<div class="form-group">
|
49
|
-
<%= form.label :
|
50
|
-
<%= form.select(:
|
49
|
+
<%= form.label :property_isting_room, "Listing How Many Rooms" %>
|
50
|
+
<%= form.select(:property_listing_room, ["1","2","3","4","5","6","7+"], {}, { :class => "form-control" }) %>
|
51
51
|
</div>
|
52
52
|
|
53
53
|
<div class="form-group">
|
54
|
-
<%= form.label :
|
55
|
-
<%= form.select(:
|
54
|
+
<%= form.label :property_listing_bed, "Listing How Many Bedrooms" %>
|
55
|
+
<%= form.select(:property_listing_bed, ["1","2","3","4","5","6","7+"], {}, { :class => "form-control" }) %>
|
56
56
|
</div>
|
57
57
|
|
58
58
|
<div class="form-group">
|
59
|
-
<%= form.label :
|
60
|
-
<%= form.select(:
|
59
|
+
<%= form.label :property_listing_bath, "Listing How Many Bathrooms" %>
|
60
|
+
<%= form.select(:property_listing_bath, ["1","2","3","4+"], {}, { :class => "form-control" }) %>
|
61
61
|
</div>
|
62
62
|
|
63
63
|
<div class="form-group">
|
64
|
-
<%= form.label :
|
65
|
-
<%= form.select(:
|
64
|
+
<%= form.label :property_listing_garage, "Listing Garage" %>
|
65
|
+
<%= form.select(:property_listing_garage, ["1 Car","2 Cars","3 Cars","4+ Cars"], {}, { :class => "form-control" }) %>
|
66
66
|
</div>
|
67
67
|
|
68
68
|
<hr>
|
69
69
|
|
70
70
|
<div class="form-group">
|
71
|
-
<%= form.label :
|
72
|
-
<%= form.select(:
|
71
|
+
<%= form.label :property_listing_type, "Listing Type" %>
|
72
|
+
<%= form.select(:property_listing_type, ["House","Condominium","Cottage","Land"], {}, { :class => "form-control" }) %>
|
73
73
|
</div>
|
74
74
|
|
75
75
|
<div class="form-group">
|
76
|
-
<%= form.label :
|
77
|
-
<%= form.select(:
|
76
|
+
<%= form.label :property_listing_status, "Listing Status" %>
|
77
|
+
<%= form.select(:property_listing_status, ["For Sale","Sold"], {}, { :class => "form-control" }) %>
|
78
78
|
</div>
|
79
79
|
|
80
80
|
<div class="form-group">
|
81
|
-
<%= form.label :
|
82
|
-
<%= form.select(:
|
81
|
+
<%= form.label :property_listing_year_built, "" %>
|
82
|
+
<%= form.select(:property_listing_year_built, ["1990","2018"], {}, { :class => "form-control" }) %>
|
83
83
|
</div>
|
84
84
|
|
85
85
|
<div class="form-group">
|
86
|
-
<%= form.label :
|
87
|
-
<%= form.select(:
|
86
|
+
<%= form.label :property_listing_energy_class, "Listing Energy Class" %>
|
87
|
+
<%= form.select(:property_listing_energy_class, ["A","B"], {}, { :class => "form-control" }) %>
|
88
88
|
</div>
|
89
89
|
|
90
90
|
<div class="form-group">
|
91
|
-
<%= form.label :
|
92
|
-
<%= form.select(:
|
91
|
+
<%= form.label :property_listing_leed_rating, "Listing LEED Rating" %>
|
92
|
+
<%= form.select(:property_listing_leed_rating, ["Certified","Silver", "Gold", ""], {}, { :class => "form-control" }) %>
|
93
93
|
</div>
|
94
94
|
|
95
95
|
<div class="form-group">
|
96
|
-
<%= form.label :
|
97
|
-
<%= form.file_field :
|
96
|
+
<%= form.label :property_listing_upload, "" %>
|
97
|
+
<%= form.file_field :property_listing_upload, placeholder: "", class: "form-control" %>
|
98
98
|
</div>
|
99
99
|
|
100
100
|
<div class="form-group">
|
101
|
-
<%= form.label :
|
102
|
-
<%= form.file_field :
|
101
|
+
<%= form.label :property_gallery_upload, "" %>
|
102
|
+
<%= form.file_field :property_gallery_upload, multiple: true , placeholder: "", class: "form-control" %>
|
103
103
|
</div>
|
104
104
|
<!-- Form Input Fields -->
|
105
105
|
|
@@ -52,11 +52,11 @@
|
|
52
52
|
<tbody>
|
53
53
|
<% @property_listings.each do |property_listing| %>
|
54
54
|
<tr>
|
55
|
-
<td><%= property_listing.
|
56
|
-
<td><%= property_listing.
|
57
|
-
<td><%= property_listing.
|
58
|
-
<td><%= property_listing.
|
59
|
-
<td><%= property_listing.
|
55
|
+
<td><%= property_listing.property_listing_title %></td>
|
56
|
+
<td><%= property_listing.property_listing_price %></td>
|
57
|
+
<td><%= property_listing.property_listing_year_built %></td>
|
58
|
+
<td><%= property_listing.property_listing_type %></td>
|
59
|
+
<td><%= property_listing.property_listing_status %></td>
|
60
60
|
<td>
|
61
61
|
<div class="btn-group d-flex" role="group" aria-label="Property Listings">
|
62
62
|
<%= link_to "Listing Details", property_listing, class: "btn btn-primary btn-xs" %>
|
data/config/routes.rb
CHANGED
@@ -2,26 +2,28 @@ class CreatePhcdevworksRealEstatePropertyListings < ActiveRecord::Migration[6.0]
|
|
2
2
|
def change
|
3
3
|
create_table :phcdevworks_real_estate_property_listings do |t|
|
4
4
|
|
5
|
-
t.string :
|
6
|
-
t.text :
|
7
|
-
t.string :
|
8
|
-
t.string :
|
9
|
-
|
10
|
-
t.string :
|
11
|
-
t.string :
|
12
|
-
t.string :
|
13
|
-
|
14
|
-
t.string :
|
15
|
-
t.string :
|
16
|
-
t.string :
|
17
|
-
t.string :
|
18
|
-
|
19
|
-
t.string :
|
20
|
-
t.string :
|
21
|
-
|
22
|
-
t.string :
|
23
|
-
t.string :
|
24
|
-
t.string :
|
5
|
+
t.string :property_listing_title
|
6
|
+
t.text :property_listing_description
|
7
|
+
t.string :property_listing_street_address
|
8
|
+
t.string :property_listing_price
|
9
|
+
|
10
|
+
t.string :property_listing_area
|
11
|
+
t.string :property_listing_property_area
|
12
|
+
t.string :property_listing_garage_area
|
13
|
+
|
14
|
+
t.string :property_listing_room
|
15
|
+
t.string :property_listing_bed
|
16
|
+
t.string :property_listing_bath
|
17
|
+
t.string :property_listing_garage
|
18
|
+
|
19
|
+
t.string :property_listing_type
|
20
|
+
t.string :property_listing_status
|
21
|
+
|
22
|
+
t.string :property_listing_year_built
|
23
|
+
t.string :property_listing_energy_class
|
24
|
+
t.string :property_listing_leed_rating
|
25
|
+
|
26
|
+
t.string :optimization_id
|
25
27
|
|
26
28
|
t.string :slug
|
27
29
|
t.string :user_id
|
@@ -1,15 +1,17 @@
|
|
1
1
|
class CreatePhcdevworksRealEstatePropertyFeatures < ActiveRecord::Migration[6.0]
|
2
2
|
def change
|
3
3
|
create_table :phcdevworks_real_estate_property_features do |t|
|
4
|
-
|
5
|
-
t.string :
|
4
|
+
|
5
|
+
t.string :property_feature_name
|
6
|
+
|
7
|
+
t.string :optimization_id
|
6
8
|
|
7
9
|
t.string :slug
|
8
10
|
t.string :user_id
|
9
11
|
t.string :org_id
|
10
12
|
|
11
13
|
t.timestamps
|
12
|
-
|
14
|
+
|
13
15
|
end
|
14
16
|
end
|
15
|
-
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_real_estate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '6.0'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 6.0.3.
|
22
|
+
version: 6.0.3.3
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '6.0'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 6.0.3.
|
32
|
+
version: 6.0.3.3
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: jbuilder
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,112 +50,112 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '11.0'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '11.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: phcthemes_admin_panel_pack
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '3.0'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '3.0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: phcthemes_web_theme_pack
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '3.0'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
88
|
+
version: '3.0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: phcdevworks_active_menus
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '1
|
95
|
+
version: '2.1'
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '1
|
102
|
+
version: '2.1'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: phcdevworks_core
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '1
|
109
|
+
version: '2.1'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '1
|
116
|
+
version: '2.1'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
118
|
+
name: phcdevworks_notifications
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '1
|
123
|
+
version: '2.1'
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '1
|
130
|
+
version: '2.1'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
132
|
+
name: phcdevworks_titleseo
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '1
|
137
|
+
version: '3.1'
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '1
|
144
|
+
version: '3.1'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
146
|
+
name: phcdevworks_core_modules
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '2
|
151
|
+
version: '6.2'
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '2
|
158
|
+
version: '6.2'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: wicked
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,14 +176,14 @@ dependencies:
|
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: '5.
|
179
|
+
version: '5.4'
|
180
180
|
type: :runtime
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '5.
|
186
|
+
version: '5.4'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: gravtastic
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,28 +204,28 @@ dependencies:
|
|
204
204
|
requirements:
|
205
205
|
- - "~>"
|
206
206
|
- !ruby/object:Gem::Version
|
207
|
-
version: '1.
|
207
|
+
version: '1.80'
|
208
208
|
type: :runtime
|
209
209
|
prerelease: false
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
212
|
- - "~>"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version: '1.
|
214
|
+
version: '1.80'
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: google-cloud-storage
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
218
218
|
requirements:
|
219
219
|
- - "~>"
|
220
220
|
- !ruby/object:Gem::Version
|
221
|
-
version: '1.
|
221
|
+
version: '1.28'
|
222
222
|
type: :runtime
|
223
223
|
prerelease: false
|
224
224
|
version_requirements: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
226
226
|
- - "~>"
|
227
227
|
- !ruby/object:Gem::Version
|
228
|
-
version: '1.
|
228
|
+
version: '1.28'
|
229
229
|
- !ruby/object:Gem::Dependency
|
230
230
|
name: mini_magick
|
231
231
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,14 +246,14 @@ dependencies:
|
|
246
246
|
requirements:
|
247
247
|
- - "~>"
|
248
248
|
- !ruby/object:Gem::Version
|
249
|
-
version: '
|
249
|
+
version: '2.2'
|
250
250
|
type: :runtime
|
251
251
|
prerelease: false
|
252
252
|
version_requirements: !ruby/object:Gem::Requirement
|
253
253
|
requirements:
|
254
254
|
- - "~>"
|
255
255
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
256
|
+
version: '2.2'
|
257
257
|
- !ruby/object:Gem::Dependency
|
258
258
|
name: sqlite3
|
259
259
|
requirement: !ruby/object:Gem::Requirement
|
@@ -270,7 +270,7 @@ dependencies:
|
|
270
270
|
version: '1.4'
|
271
271
|
description: Ruby on Rails 6 Real Estate Property Listings Management Engine.
|
272
272
|
email:
|
273
|
-
-
|
273
|
+
- imfo@phcdevworks.com
|
274
274
|
executables: []
|
275
275
|
extensions: []
|
276
276
|
extra_rdoc_files: []
|
@@ -314,7 +314,7 @@ files:
|
|
314
314
|
- config/routes.rb
|
315
315
|
- db/migrate/20190824010811_create_phcdevworks_real_estate_property_listings.rb
|
316
316
|
- db/migrate/20190824011000_create_phcdevworks_real_estate_property_features.rb
|
317
|
-
- db/migrate/
|
317
|
+
- db/migrate/20191024232111_create_phcdevworks_real_estate_property_features_listings.rb
|
318
318
|
- lib/phcdevworks_real_estate.rb
|
319
319
|
- lib/phcdevworks_real_estate/engine.rb
|
320
320
|
- lib/phcdevworks_real_estate/version.rb
|