bookingsync-engine 4.0.0 → 4.0.1

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
  SHA1:
3
- metadata.gz: bafa080b2693177194be61b73fb8fbc32ba466d0
4
- data.tar.gz: 4c5254207f7fd9dfadb7f843c51e6bb5181b807c
3
+ metadata.gz: 1e682837dca15bd556e399c58a64744e5779aea9
4
+ data.tar.gz: 8ed995c29acdda9688394ff1b74d9c7162d60b8d
5
5
  SHA512:
6
- metadata.gz: 2f823f488456547aecf91ddc065b4b0533961efea5b634516468b2d19bbb14ee2a2c16119624481676576da70411a5896575d1ecccd9cea94cb492cd4f3e6738
7
- data.tar.gz: 715bba185b33ae77fd182af8ad5b8a0ea851766dc148eb438ffd0f8b22414c8885afdb96469fec08d2c57e8a20a144052a722e86b1e3c87e0cb39538b8c632a4
6
+ metadata.gz: 2011800c2f0f947f871695ed2e5c8685e6b9cf1a8086ab098fbe7b77a8aca374086a8a07481f66a39954392dba96769afe045bdd59c21801fc5604d70d18823b
7
+ data.tar.gz: d9d6d2170c82c3c22e2751830af0acad3b30b347246c7ca9117506f993cbee03f37b9178010387c9b2ceff20aad070a2a39d5bfea6f6c3a3c9f1ce1f699b8276
@@ -4,7 +4,9 @@ module BookingSync::Engine::AuthHelpers
4
4
  included do
5
5
  rescue_from OAuth2::Error, with: :handle_oauth_error
6
6
  rescue_from BookingSync::API::Unauthorized, with: :reset_authorization!
7
- helper_method :current_account
7
+ if respond_to?(:helper_method)
8
+ helper_method :current_account
9
+ end
8
10
  end
9
11
 
10
12
  private
@@ -1,3 +1,3 @@
1
1
  module BookingSync
2
- ENGINE_VERSION = "4.0.0"
2
+ ENGINE_VERSION = "4.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookingsync-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Grosjean
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-24 00:00:00.000000000 Z
12
+ date: 2019-07-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -363,7 +363,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
363
363
  version: '0'
364
364
  requirements: []
365
365
  rubyforge_project:
366
- rubygems_version: 2.6.14
366
+ rubygems_version: 2.6.14.4
367
367
  signing_key:
368
368
  specification_version: 4
369
369
  summary: A Rails engine to simplify integration with BookingSync API