stay_commerce 0.1.8 → 0.1.9
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/assets/javascripts/stay/admin/property.js +8 -8
- data/app/controllers/stay/api/v1/{profiles_controller.rb → profile_controller.rb} +1 -1
- data/app/controllers/stay/users/profiles_controller.rb +0 -0
- data/app/models/stay/user.rb +0 -1
- data/config/routes.rb +1 -1
- data/lib/stay/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d9d008a0f4eb9e18a3b883131fcb3aa1f0ee3c6d8a218fb122a177aaf956023
|
4
|
+
data.tar.gz: 1609a246124988590323768b762ba18dc735d7597b5ad8fc5894d967ac50f5c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ca184bd8b1ec032d4e5d2c8e0c499087ed732b057a9c556c2cfebec077ffdc905fed3fed43fa93f1ff075907e99182af3c55b39fae08206b848d1bc4c284e33
|
7
|
+
data.tar.gz: ecffb9d3ea768806c5433c0d1120a2bab4f56a09607e6abff7392ab5e9c81881c12d5934f6c1a254e5c877bbebf334b3a0e4128cd5155211cc861868d0fef032
|
@@ -25,13 +25,13 @@ $(document).ready(function() {
|
|
25
25
|
const roomTypeField = document.getElementById('room_type_field');
|
26
26
|
const propertyCategoryData = document.getElementById('property-category-data');
|
27
27
|
|
28
|
-
const roomTypesByCategory = JSON.parse(propertyCategoryData.getAttribute('data-room-types'));
|
28
|
+
// const roomTypesByCategory = JSON.parse(propertyCategoryData.getAttribute('data-room-types'));
|
29
29
|
|
30
|
-
window.updateRoomType = function(selectedCategoryId) {
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
};
|
30
|
+
// window.updateRoomType = function(selectedCategoryId) {
|
31
|
+
// if (roomTypesByCategory[selectedCategoryId]) {
|
32
|
+
// roomTypeField.value = roomTypesByCategory[selectedCategoryId];
|
33
|
+
// } else {
|
34
|
+
// roomTypeField.value = '';
|
35
|
+
// }
|
36
|
+
// };
|
37
37
|
});
|
File without changes
|
data/app/models/stay/user.rb
CHANGED
@@ -5,7 +5,6 @@ module Stay
|
|
5
5
|
devise :database_authenticatable, :registerable,
|
6
6
|
:recoverable, :rememberable, :validatable, :api
|
7
7
|
|
8
|
-
validates :first_name, :last_name, presence: true
|
9
8
|
has_many :role_users, class_name: "Stay::RoleUser", dependent: :destroy
|
10
9
|
has_many :stay_roles, through: :role_users, class_name: "Stay::Role", source: :role
|
11
10
|
has_many :bookings
|
data/config/routes.rb
CHANGED
data/lib/stay/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stay_commerce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- w3villa-vikaspal
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03
|
11
|
+
date: 2025-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -526,7 +526,7 @@ files:
|
|
526
526
|
- app/controllers/stay/api/v1/invoices_controller.rb
|
527
527
|
- app/controllers/stay/api/v1/messages_controller.rb
|
528
528
|
- app/controllers/stay/api/v1/payments_controller.rb
|
529
|
-
- app/controllers/stay/api/v1/
|
529
|
+
- app/controllers/stay/api/v1/profile_controller.rb
|
530
530
|
- app/controllers/stay/api/v1/properties_controller.rb
|
531
531
|
- app/controllers/stay/api/v1/property_categories_controller.rb
|
532
532
|
- app/controllers/stay/api/v1/property_types_controller.rb
|
@@ -544,6 +544,7 @@ files:
|
|
544
544
|
- app/controllers/stay/users/confirmations_controller.rb
|
545
545
|
- app/controllers/stay/users/omniauth_callbacks_controller.rb
|
546
546
|
- app/controllers/stay/users/passwords_controller.rb
|
547
|
+
- app/controllers/stay/users/profiles_controller.rb
|
547
548
|
- app/controllers/stay/users/registrations_controller.rb
|
548
549
|
- app/controllers/stay/users/sessions_controller.rb
|
549
550
|
- app/controllers/stay/users/unlocks_controller.rb
|
@@ -947,7 +948,7 @@ metadata:
|
|
947
948
|
homepage_uri: https://github.com/w3villa/StayCommerce
|
948
949
|
source_code_uri: https://github.com/w3villa/StayCommerce
|
949
950
|
changelog_uri: https://github.com/w3villa/StayCommerce
|
950
|
-
post_install_message:
|
951
|
+
post_install_message:
|
951
952
|
rdoc_options: []
|
952
953
|
require_paths:
|
953
954
|
- lib
|
@@ -962,8 +963,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
962
963
|
- !ruby/object:Gem::Version
|
963
964
|
version: '0'
|
964
965
|
requirements: []
|
965
|
-
rubygems_version: 3.
|
966
|
-
signing_key:
|
966
|
+
rubygems_version: 3.5.9
|
967
|
+
signing_key:
|
967
968
|
specification_version: 4
|
968
969
|
summary: Summary of Stay.
|
969
970
|
test_files: []
|