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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7a8e266c09ca64768879d945a254f0533878a25c396eaf46c8a9d78c616164c
4
- data.tar.gz: 53f67f0b9861c7bda024af282607b755342259c327f9d73ca346923f2d2909dc
3
+ metadata.gz: 2d9d008a0f4eb9e18a3b883131fcb3aa1f0ee3c6d8a218fb122a177aaf956023
4
+ data.tar.gz: 1609a246124988590323768b762ba18dc735d7597b5ad8fc5894d967ac50f5c8
5
5
  SHA512:
6
- metadata.gz: fa45bce8985f0d0f37e5067a8be2d87530b22f5f8513b77cb73a01cebd05a80832d3859ef367f78680a1eed7b0dd56e686af752a3a3f3dcc8d2d5e455aa6e1bb
7
- data.tar.gz: f7ab0491f34a0276ad586379522a07a9fa45977ad05bad518686981545c8e11cbbcb5045d3114667fedbda44fc73950e8dd9568dd4879c3373874dd80b29f4cb
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
- if (roomTypesByCategory[selectedCategoryId]) {
32
- roomTypeField.value = roomTypesByCategory[selectedCategoryId];
33
- } else {
34
- roomTypeField.value = '';
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
  });
@@ -1,4 +1,4 @@
1
- class Stay::Api::V1::ProfilesController < Stay::BaseApiController
1
+ class Stay::Api::V1::ProfileController < Stay::BaseApiController
2
2
  before_action :set_user, only: [:show, :update]
3
3
 
4
4
  def show
File without changes
@@ -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
@@ -162,7 +162,7 @@ Stay::Engine.routes.draw do
162
162
  end
163
163
  end
164
164
  end
165
- resources :profiles, only: [ :show, :update ]
165
+ resource :profile, only: [ :show, :update ]
166
166
  resources :bookings do
167
167
  member do
168
168
  get :booking_chat
data/lib/stay/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Stay
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
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.8
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-22 00:00:00.000000000 Z
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/profiles_controller.rb
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.4.10
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: []