bookingsync_application 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/bookingsync_application/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4391d610c7e0b064c1e543cba345b61e8d3fddda
|
4
|
+
data.tar.gz: c3bc50b02bb3cf6a36e34017075a8920bc315de2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bddf7427d0fd2f4e8914e739c1ec99bb2b7ed1afabb797e52529dc9175a49cdca49c4c33afdcaf50f0b7f66795c8d570d6690a25db4a77cffa9204c7e29f2b80
|
7
|
+
data.tar.gz: 30a7d1f2460abffe0ad904a34650f75da7152b9db58cbbea9067192bbe9669a34f81fb5ac187689c91672280a103ffdbc446c46a4759bb27728806bcaecbcd1a
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ bundle install
|
|
29
29
|
|
30
30
|
### Add authorization routes
|
31
31
|
|
32
|
-
Then BookingSync Authorization routes
|
32
|
+
Then mount BookingSync Authorization routes inside `routes.rb`:
|
33
33
|
```ruby
|
34
34
|
mount BookingSync::Engine => '/'
|
35
35
|
```
|
@@ -51,7 +51,7 @@ rails g model Account
|
|
51
51
|
Then, generate a migration to add OAuth fields for the `Account` class:
|
52
52
|
|
53
53
|
```console
|
54
|
-
rails g migration AddOAuthFieldsToAccounts provider:string
|
54
|
+
rails g migration AddOAuthFieldsToAccounts provider:string synced_id:integer:index \
|
55
55
|
name:string oauth_access_token:string oauth_refresh_token:string \
|
56
56
|
oauth_expires_at:string
|
57
57
|
```
|
@@ -87,7 +87,7 @@ end
|
|
87
87
|
class Admin::BaseHTMLController < ApplicationController
|
88
88
|
respond_to :html
|
89
89
|
|
90
|
-
include BookingsyncApplication::CommonBaseController
|
90
|
+
include BookingsyncApplication::Admin::CommonBaseController
|
91
91
|
end
|
92
92
|
```
|
93
93
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookingsync_application
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Nowicki
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-07-
|
13
|
+
date: 2015-07-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 1.0.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 1.0.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: jsonapi-resources
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|