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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b36dbb67397eb977d2ae89617a3ae742642222b
4
- data.tar.gz: ee2b4728c4c35f94a2cd55df33104bfe1c136665
3
+ metadata.gz: 6dd16a1c6a7d1c5ca6dc14fbaa8ddd4e019f866e
4
+ data.tar.gz: 2efd6c89ed6dbd0becaf4d8da7d3b7a8f92f0e9e
5
5
  SHA512:
6
- metadata.gz: 8712b29bae200dfa05a358b6d70ab8e43f92453ad959592d398b13d2348ab57bf2af93a5dfbda788d9f870ca42799bda8c45656b3655d3f5ea54cf562dbcca6b
7
- data.tar.gz: 11df41fa5cd26530a473b1e4033aedf733cee83e010b7c105cc82ef8a2b130995bfb5256d89292f13ca09778397d7d03455c1c436804eaf18bdc0803838ff398
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::Engine.routes.url_helpers.admin_rental_path(rental, format: :js)
17
+ BookingsyncPortal::Routes.admin_rental_path(rental, format: :js)
18
18
  }
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module BookingsyncPortal
2
- VERSION = '0.8.1'
2
+ VERSION = '0.8.2'
3
3
  end
@@ -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.1
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-20 00:00:00.000000000 Z
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.5.1
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: