bookingsync_portal 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/bookingsync_portal/connection.rb +1 -1
- data/lib/bookingsync_portal/version.rb +1 -1
- data/lib/bookingsync_portal.rb +11 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dd16a1c6a7d1c5ca6dc14fbaa8ddd4e019f866e
|
4
|
+
data.tar.gz: 2efd6c89ed6dbd0becaf4d8da7d3b7a8f92f0e9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45cf77997d17ec4f376bf7e067ca7bf207bd71e48e536959af90964f66758731ad180ed644e8d44f140eceb66f96f164c766cff4b4b69eae19b7150f521d1673
|
7
|
+
data.tar.gz: 251070ffab79065a8fdc36b0635bef55e5341c4ec3611826ca57833403bbc858b7fa6b7ac89062cdccee931bf00ab996b86b29eb69bbb86c4b4dba15bc48e864
|
@@ -14,7 +14,7 @@ class BookingsyncPortal::Connection < ActiveRecord::Base
|
|
14
14
|
|
15
15
|
def notify_via_message_bus
|
16
16
|
MessageBus.publish "/account-#{rental.account_id}", { refresh_from:
|
17
|
-
BookingsyncPortal::
|
17
|
+
BookingsyncPortal::Routes.admin_rental_path(rental, format: :js)
|
18
18
|
}
|
19
19
|
end
|
20
20
|
|
data/lib/bookingsync_portal.rb
CHANGED
@@ -73,4 +73,15 @@ module BookingsyncPortal
|
|
73
73
|
message_bus_channel_scope
|
74
74
|
end
|
75
75
|
end
|
76
|
+
|
77
|
+
# use this until migrated to ruby 2.3, https://bugs.ruby-lang.org/issues/10871, https://github.com/puma/puma/issues/647
|
78
|
+
module Routes
|
79
|
+
module UrlHelpers
|
80
|
+
include BookingsyncPortal::Engine.routes.url_helpers
|
81
|
+
end
|
82
|
+
extend UrlHelpers
|
83
|
+
def self.default_url_options
|
84
|
+
{}
|
85
|
+
end
|
86
|
+
end
|
76
87
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookingsync_portal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Marciniak
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-02-
|
13
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -422,9 +422,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
422
422
|
version: '0'
|
423
423
|
requirements: []
|
424
424
|
rubyforge_project:
|
425
|
-
rubygems_version: 2.4.
|
425
|
+
rubygems_version: 2.4.8
|
426
426
|
signing_key:
|
427
427
|
specification_version: 4
|
428
428
|
summary: A common base for creating BookingSync portal applications.
|
429
429
|
test_files: []
|
430
|
-
has_rdoc:
|