bullet_train-api 1.2.25 → 1.2.26.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: ec0913e7a57814728a9a174b6609bfde79d1dcc44540c642c9751681ffbccdd1
4
- data.tar.gz: f95f4e83992c2979e799b5f0bb939bde4026c12d6f6baaa3b04edfe6e9eaa9fe
3
+ metadata.gz: c3feb0784b1c907b5c67c9cc6ce5880da56db80b9bafa51a998b536258b5c1b0
4
+ data.tar.gz: 31480645e5e60ac77fc66dd420b5d9e14a5008a5fe0e080846a8f1d42c25e035
5
5
  SHA512:
6
- metadata.gz: 0fa9edab54c4035999271b18548429249ef0241293be3596434dd30f752221bd0f192ac0e3536fa09bd96793d6fc4d6e632e46f047c2321c4ce4f7fd6ee9ad14
7
- data.tar.gz: 9e129e2b89700a35ffe921f5d9f24ad64e65a03fc8822b94260efa2d4b098b370c1d707b57b821f17387e84934ec736ee1fff75cc3225b76cc353800b36997a1
6
+ metadata.gz: 5312bc25d88801d10d1baa8e7c4d13e891ff5e1e1c7aef45572a2fddd14a12ed4701244f2ba194931d60d20acb144faeb2ae873ef9778cbc7a382c2f3f51d54d
7
+ data.tar.gz: 748fd664400c97d2a699b131a73dcd3368cd9dab15988b9b97d52d7bb7a2aea051413faac42acf928200ea849f3df5835b397703953ff7007225d14a710f374a
@@ -1,4 +1,4 @@
1
- class Platform::AccessToken < ApplicationRecord
1
+ class Platform::AccessToken < BulletTrain::Api.base_class.constantize
2
2
  self.table_name = "oauth_access_tokens"
3
3
 
4
4
  include Doorkeeper::Orm::ActiveRecord::Mixins::AccessToken
@@ -1,4 +1,4 @@
1
- class Platform::Application < ApplicationRecord
1
+ class Platform::Application < BulletTrain::Api.base_class.constantize
2
2
  self.table_name = "oauth_applications"
3
3
 
4
4
  include Doorkeeper::Orm::ActiveRecord::Mixins::Application
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Api
3
- VERSION = "1.2.25"
3
+ VERSION = "1.2.26.1"
4
4
  end
5
5
  end
@@ -16,6 +16,7 @@ require "jbuilder/schema"
16
16
 
17
17
  module BulletTrain
18
18
  module Api
19
+ mattr_accessor :base_class, default: "ApplicationRecord"
19
20
  mattr_accessor :endpoints, default: []
20
21
  mattr_accessor :current_version, default: "v1"
21
22
  mattr_accessor :initial_version, default: "v1"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.25
4
+ version: 1.2.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-11 00:00:00.000000000 Z
11
+ date: 2023-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard