doorkeeper_hub 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 2003e63a8f06385f671a2d721627f464a1674ab5d5c59133f0bbd4ce0a330b07
4
- data.tar.gz: cdc61a7e345792ba6237786b1d890cfa55be0d3d03775292a102ce03a5dcfed0
3
+ metadata.gz: 07fa5f205460e10730489d6c99b4196f08cbf611d1f36382b962f67a62a4267e
4
+ data.tar.gz: b6d027731a58e20021f88924c2548070bccd72d85ea134fdce56b5778882b9c8
5
5
  SHA512:
6
- metadata.gz: bb1be655cc62257997527740ce6cd1fcf32cb194ea2acb75bb03f316c780cf708579b7ddf87cebd83293de561fbbc1a64d2b43ab05e42c2ee0b5583a952e8cd3
7
- data.tar.gz: 81833e76cce3e967975c4010c8c4c1fa15a0a138df04bc0c672d601f158b6a2c680669449e0edd7471bcb4e97eb7b46f048adbf02d891c8fab04894ab52993ca
6
+ metadata.gz: 3a2fe42844ec7e72c1a0441e7b00b32a92e00a63b4364c697ea196fbecbef1a97d4283caa9dc98f00f653aee6ca24ab601d3415e0239930fef714835a0f3b15c
7
+ data.tar.gz: a5d16c7967fc794276f72b9193783e11b5e262f97cebf455b3df11b543ed95932acde27b450b9d7b8ead16b643e7659fc20b9c8a2374f2a74cf37e6ee5ada19e
@@ -8,7 +8,7 @@ module DoorkeeperHub
8
8
 
9
9
  def initialize
10
10
  self.service_token = ENV["SERVICE_TOKEN"]
11
- self.scope_model = ::Company
11
+ self.scope_model = DoorkeeperHub.client_mode? ? nil : ::Company
12
12
  self.user_model = ::User
13
13
  self.doorkeeper_token_name = :doorkeeper_token
14
14
  self.client_mode = false
@@ -1,3 +1,3 @@
1
1
  module DoorkeeperHub
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Fan