bookingsync-engine 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bookingsync/engine/auth_helpers.rb +3 -1
- data/lib/bookingsync/engine/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e682837dca15bd556e399c58a64744e5779aea9
|
4
|
+
data.tar.gz: 8ed995c29acdda9688394ff1b74d9c7162d60b8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
7
|
+
if respond_to?(:helper_method)
|
8
|
+
helper_method :current_account
|
9
|
+
end
|
8
10
|
end
|
9
11
|
|
10
12
|
private
|
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.
|
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-
|
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
|