phcdevworks_real_estate 2.9.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae548cd11d84f161044239b434126aec33152ae90b2c4d3c36078f1bef0ecc21
4
- data.tar.gz: 11f8273aba22ea6f8253ae89954b37278275b28a0b044de2c8529c2745f131da
3
+ metadata.gz: 38333b126591a2f952974e557392e9f3a74ebca5c78863898667867fdba43470
4
+ data.tar.gz: e724fd8026931cf60cd7e5360d3a356a743c724ba468df6591d880c2e4912078
5
5
  SHA512:
6
- metadata.gz: 3d2da442c8602c28a49e75aa8e660ec3a2b42c4a52d87a46067da193e9bd57d9525cf0ac535ebf0d7936864137cbf4f01182041e76dc58a3e4282f6b452c42c7
7
- data.tar.gz: 5b718be349f04c136a1cf2baf98e60bfc400d9378552de0e54612e558dbb61b046ea4fb5f0dbb51ddbf0e0ec96c233d03f3562702f453792e2da39535fac5ff5
6
+ metadata.gz: fb70f96d8ad0a004ad41c6577017716b21dbd88d86aaca2f92a68179bbde392138def6bbd3371610e7be2ca384faf0cb6998f170d1d5014845e8744513af658a
7
+ data.tar.gz: 59a578e16ac3017b957a893de8d0fd58c0a6165da5fe01076a70688134292c09518df3a171cbd0bf73d2a29b109ac91adce8a8b1c0c9b517c7fbe39df295adbd
@@ -75,7 +75,7 @@ module PhcdevworksRealEstate
75
75
 
76
76
  # Whitelist
77
77
  def property_feature_params
78
- params.require(:property_feature).permit(:feature_name)
78
+ params.require(:property_feature).permit(:property_feature_name)
79
79
  end
80
80
 
81
81
  end
@@ -75,7 +75,7 @@ module PhcdevworksRealEstate
75
75
 
76
76
  # Whitelist
77
77
  def property_listing_params
78
- params.require(:property_listing).permit(:listing_title, :listing_description, :listing_street_address, :listing_price, :listing_area, :listing_property_area, :listing_garage_area, :listing_room, :listing_bed, :listing_bath, :listing_garage, :listing_type, :listing_status, :listing_year_built, :listing_energy_class, :listing_leed_rating, :listing_upload, :user_id, :org_id, gallery_upload: [], feature_ids: [])
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 => 'phcdevworks_real_estate_features_listings'
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 :feature_name,
11
+ validates :property_feature_name,
12
12
  presence: true
13
13
 
14
14
  # Clean URL Define
15
- friendly_id :phcdev_property_feature_nice_urls, use: [:slugged, :finders]
15
+ friendly_id :property_feature_nice_urls, use: [:slugged, :finders]
16
16
 
17
- def phcdev_property_feature_nice_urls
18
- [:feature_name]
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 => 'phcdevworks_real_estate_features_listings'
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 :listing_title,
15
+ validates :property_listing_title,
16
16
  presence: true
17
17
 
18
- validates :listing_description,
18
+ validates :property_listing_description,
19
19
  presence: true
20
20
 
21
- validates :listing_street_address,
21
+ validates :property_listing_street_address,
22
22
  presence: true
23
23
 
24
- validates :listing_price,
24
+ validates :property_listing_price,
25
25
  presence: true
26
26
 
27
27
  # Clean URL Define
28
- friendly_id :phcdev_property_listing_nice_urls, use: [:slugged, :finders]
28
+ friendly_id :property_listing_nice_urls, use: [:slugged, :finders]
29
29
 
30
- def phcdev_property_listing_nice_urls
31
- [:listing_title]
30
+ def property_listing_nice_urls
31
+ [:property_listing_title]
32
32
  end
33
33
 
34
34
  end
@@ -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>Article Posts</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 Press -->
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 Press -->
105
+ <!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Portfolio -->
84
106
  <% end %>
85
107
 
86
108
  <% if defined?phcdevworks_tutorials %>
@@ -112,34 +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 Core Modules -->
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/post/categories") %>"><%= link_to("Category Index", phcdevworks_core_modules.post_categories_path) %></li>
126
- <li class="<%= phc_menu_active_controller("phcdevworks_core_modules/post/categories#new") %>"><%= link_to("New Category", phcdevworks_core_modules.new_post_category_path) %></li>
127
- </ul>
128
- </li>
129
- <li class="has-sub">
130
- <a href="javascript:;">
131
- <b class="caret"></b>
132
- <i class="fad fa-analytics"></i>
133
- <span>Marketing</span>
134
- </a>
135
- <ul class="sub-menu">
136
- <li class="<%= phc_menu_active_controller("phcdevworks_core_modules/marketing/optimizations") %>"><%= link_to("SEO Data Index", phcdevworks_core_modules.marketing_optimizations_path) %></li>
137
- <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>
138
- </ul>
139
- </li>
140
- <!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Core Modules -->
141
- <% end %>
142
-
143
137
  <% if defined?phcdevworks_members %>
144
138
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Members -->
145
139
  <li class="nav-header">Membership Manager</li>
@@ -238,6 +232,34 @@
238
232
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks RealEstate -->
239
233
  <% end %>
240
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
+
241
263
  <% if current_user && current_user.admin? %>
242
264
  <!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
243
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 :feature_name, "Feature Name" %>
11
- <%= phc_pro_property_feature.text_field :feature_name, placeholder: "Feature Name", class: "form-control" %>
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.feature_name, property_feature %></td>
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" %>
@@ -53,7 +53,7 @@
53
53
  <div class="panel-body">
54
54
  <p>
55
55
  <strong>Feature Name</strong>
56
- <%= @property_feature.feature_name %>
56
+ <%= @property_feature.property_feature_name %>
57
57
  </p>
58
58
  </div>
59
59
  </div>
@@ -7,99 +7,99 @@
7
7
 
8
8
  <!-- Form Input Fields -->
9
9
  <div class="form-group">
10
- <%= form.label :listing_title, "Listing TItle" %>
11
- <%= form.text_field :listing_title, placeholder: "Listing Title", class: "form-control" %>
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 :listing_description, "Listing Description" %>
16
- <%= form.text_field :listing_description, placeholder: "Listing Description", class: "form-control" %>
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 :listing_street_address, "Listing Street Address" %>
21
- <%= form.text_field :listing_street_address, placeholder: "Listing Street Address", class: "form-control", id: "phc-gmaps-input-address" %>
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 :listing_price, "Listing Price" %>
26
- <%= form.text_field :listing_price, placeholder: "Listing Price", class: "form-control" %>
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 :listing_area, "Listing Area" %>
33
- <%= form.text_field :listing_area, placeholder: "Listing Area", class: "form-control" %>
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 :listing_property_area, "Listing Property Area" %>
38
- <%= form.text_field :listing_property_area, placeholder: "Listing Property Area", class: "form-control" %>
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 :listing_garage_area, "Listing Garage Area" %>
43
- <%= form.text_field :listing_garage_area, placeholder: "Listing Garage Area", class: "form-control" %>
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 :listing_room, "Listing How Many Rooms" %>
50
- <%= form.select(:listing_room, ["1","2","3","4","5","6","7+"], {}, { :class => "form-control" }) %>
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 :listing_bed, "Listing How Many Bedrooms" %>
55
- <%= form.select(:listing_bed, ["1","2","3","4","5","6","7+"], {}, { :class => "form-control" }) %>
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 :listing_bath, "Listing How Many Bathrooms" %>
60
- <%= form.select(:listing_bath, ["1","2","3","4+"], {}, { :class => "form-control" }) %>
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 :listing_garage, "Listing Garage" %>
65
- <%= form.select(:listing_garage, ["1 Car","2 Cars","3 Cars","4+ Cars"], {}, { :class => "form-control" }) %>
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 :listing_type, "Listing Type" %>
72
- <%= form.select(:listing_type, ["House","Condominium","Cottage","Land"], {}, { :class => "form-control" }) %>
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 :listing_status, "Listing Status" %>
77
- <%= form.select(:listing_status, ["For Sale","Sold"], {}, { :class => "form-control" }) %>
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 :listing_year_built, "" %>
82
- <%= form.select(:listing_year_built, ["1990","2018"], {}, { :class => "form-control" }) %>
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 :listing_energy_class, "Listing Energy Class" %>
87
- <%= form.select(:listing_energy_class, ["A","B"], {}, { :class => "form-control" }) %>
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 :listing_leed_rating, "Listing LEED Rating" %>
92
- <%= form.select(:listing_leed_rating, ["Certified","Silver", "Gold", ""], {}, { :class => "form-control" }) %>
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 :listing_upload, "" %>
97
- <%= form.file_field :listing_upload, placeholder: "", class: "form-control" %>
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 :gallery_upload, "" %>
102
- <%= form.file_field :gallery_upload, multiple: true , placeholder: "", class: "form-control" %>
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.listing_title %></td>
56
- <td><%= property_listing.listing_price %></td>
57
- <td><%= property_listing.listing_year_built %></td>
58
- <td><%= property_listing.listing_type %></td>
59
- <td><%= property_listing.listing_status %></td>
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" %>
@@ -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 :listing_title
6
- t.text :listing_description
7
- t.string :listing_street_address
8
- t.string :listing_price
9
-
10
- t.string :listing_area
11
- t.string :listing_property_area
12
- t.string :listing_garage_area
13
-
14
- t.string :listing_room
15
- t.string :listing_bed
16
- t.string :listing_bath
17
- t.string :listing_garage
18
-
19
- t.string :listing_type
20
- t.string :listing_status
21
-
22
- t.string :listing_year_built
23
- t.string :listing_energy_class
24
- t.string :listing_leed_rating
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 :feature_name
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
@@ -0,0 +1,10 @@
1
+ class CreatePhcdevworksRealEstatePropertyFeaturesListings < ActiveRecord::Migration[6.0]
2
+ def change
3
+ create_table :phcdevworks_real_estate_property_features_listings do |t|
4
+
5
+ t.integer :feature_id
6
+ t.integer :listing_id
7
+
8
+ end
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksRealEstate
2
- VERSION = "2.9.0"
2
+ VERSION = "4.3.0"
3
3
  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.9.0
4
+ version: 4.3.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-07-07 00:00:00.000000000 Z
11
+ date: 2020-11-27 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.2
22
+ version: 6.0.3.4
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.2
32
+ version: 6.0.3.4
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: '10.3'
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: '10.3'
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: '1.10'
67
+ version: '3.1'
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: '1.10'
74
+ version: '3.1'
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: '1.10'
81
+ version: '3.1'
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: '1.10'
88
+ version: '3.1'
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.5'
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.5'
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.5'
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.5'
116
+ version: '2.1'
117
117
  - !ruby/object:Gem::Dependency
118
- name: phcdevworks_core_modules
118
+ name: phcdevworks_notifications
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '3.0'
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: '3.0'
130
+ version: '2.1'
131
131
  - !ruby/object:Gem::Dependency
132
- name: phcdevworks_notifications
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.5'
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.5'
144
+ version: '3.1'
145
145
  - !ruby/object:Gem::Dependency
146
- name: phcdevworks_titleseo
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.4'
151
+ version: '6.3'
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.4'
158
+ version: '6.3'
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.3'
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.3'
186
+ version: '5.4'
187
187
  - !ruby/object:Gem::Dependency
188
188
  name: gravtastic
189
189
  requirement: !ruby/object:Gem::Requirement
@@ -204,56 +204,56 @@ dependencies:
204
204
  requirements:
205
205
  - - "~>"
206
206
  - !ruby/object:Gem::Version
207
- version: '1.67'
207
+ version: '1.85'
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.67'
214
+ version: '1.85'
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.26'
221
+ version: '1.29'
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.26'
228
+ version: '1.29'
229
229
  - !ruby/object:Gem::Dependency
230
230
  name: mini_magick
231
231
  requirement: !ruby/object:Gem::Requirement
232
232
  requirements:
233
233
  - - "~>"
234
234
  - !ruby/object:Gem::Version
235
- version: '4.10'
235
+ version: '4.11'
236
236
  type: :runtime
237
237
  prerelease: false
238
238
  version_requirements: !ruby/object:Gem::Requirement
239
239
  requirements:
240
240
  - - "~>"
241
241
  - !ruby/object:Gem::Version
242
- version: '4.10'
242
+ version: '4.11'
243
243
  - !ruby/object:Gem::Dependency
244
244
  name: phcdevworks_accounts
245
245
  requirement: !ruby/object:Gem::Requirement
246
246
  requirements:
247
247
  - - "~>"
248
248
  - !ruby/object:Gem::Version
249
- version: '1.13'
249
+ version: '2.3'
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: '1.13'
256
+ version: '2.3'
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
- - info@phcdevworks.com
273
+ - imfo@phcdevworks.com
274
274
  executables: []
275
275
  extensions: []
276
276
  extra_rdoc_files: []
@@ -314,8 +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/20191024232111_create_phcdevworks_real_estate_features_listings.rb
318
- - db/migrate/20200703183556_add_seo_to_phcdevworks_real_estate_property_listings.rb
317
+ - db/migrate/20191024232111_create_phcdevworks_real_estate_property_features_listings.rb
319
318
  - lib/phcdevworks_real_estate.rb
320
319
  - lib/phcdevworks_real_estate/engine.rb
321
320
  - lib/phcdevworks_real_estate/version.rb
@@ -1,8 +0,0 @@
1
- class CreatePhcdevworksRealEstateFeaturesListings < ActiveRecord::Migration[6.0]
2
- def change
3
- create_table :phcdevworks_real_estate_features_listings do |t|
4
- t.integer :feature_id
5
- t.integer :listing_id
6
- end
7
- end
8
- end
@@ -1,18 +0,0 @@
1
- class AddSeoToPhcdevworksRealEstatePropertyListings < ActiveRecord::Migration[6.0]
2
- def change
3
-
4
- add_column :phcdevworks_real_estate_property_listings, :seo_title, :string
5
- add_column :phcdevworks_real_estate_property_listings, :seo_description , :string
6
-
7
- add_column :phcdevworks_real_estate_property_listings, :seo_open_graph_type, :string
8
- add_column :phcdevworks_real_estate_property_listings, :seo_open_graph_url, :string
9
- add_column :phcdevworks_real_estate_property_listings, :seo_open_graph_title, :string
10
- add_column :phcdevworks_real_estate_property_listings, :seo_open_graph_description, :string
11
-
12
- add_column :phcdevworks_real_estate_property_listings, :seo_twitter_type, :string
13
- add_column :phcdevworks_real_estate_property_listings, :seo_twitter_url, :string
14
- add_column :phcdevworks_real_estate_property_listings, :seo_twitter_title, :string
15
- add_column :phcdevworks_real_estate_property_listings, :seo_twitter_description, :string
16
-
17
- end
18
- end