bullet_train-api 1.13.0 → 1.14.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7c4aa46dc2801bcf1e0f391a0cb071b4be59e50ca7ab709d08b11c81acd32e9
|
4
|
+
data.tar.gz: e1d3a1cac45b59c68e03eba12b4fcf5933f8ab717ad788243d2878560652f152
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc776b984340f7a6ca98eb6ae3bce74aa1e5ec9be893518db4f6e46673c44a19156bd046c0f1e44f3abc12482fbf2cea91f3df82d40d55896da43cfee1e5606d
|
7
|
+
data.tar.gz: 716576733fe1c7689e81f4ad26d0a3266a5179086da3ac846bef0c732975487aa1e27d44cc7f57d79f595221f8a07b6895e00371063e4109aec52ad96c87adb2
|
@@ -1,6 +1,10 @@
|
|
1
1
|
class Api::V1::Platform::AccessTokensController < Api::V1::ApplicationController
|
2
2
|
account_load_and_authorize_resource :access_token, through: :application, through_association: :access_tokens
|
3
3
|
|
4
|
+
# GET /api/v1/platform/access_tokens
|
5
|
+
def index
|
6
|
+
end
|
7
|
+
|
4
8
|
# GET /api/v1/platform/access_tokens/:id
|
5
9
|
def show
|
6
10
|
end
|
@@ -46,7 +46,7 @@ module BulletTrain
|
|
46
46
|
base_method_name = @model.name.split("::").last.underscore
|
47
47
|
|
48
48
|
# if available in the controller, it will use the 'update' strong params instead of the default strong params.
|
49
|
-
@filters = if method_type == "update" && respond_to?("#{base_method_name}_#{method_type}_params"
|
49
|
+
@filters = if method_type == "update" && respond_to?(:"#{base_method_name}_#{method_type}_params", true)
|
50
50
|
send(:"#{base_method_name}_#{method_type}_params")
|
51
51
|
else
|
52
52
|
send(:"#{base_method_name}_params")
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-23 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: standard
|
@@ -277,8 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
276
|
- !ruby/object:Gem::Version
|
278
277
|
version: '0'
|
279
278
|
requirements: []
|
280
|
-
rubygems_version: 3.
|
281
|
-
signing_key:
|
279
|
+
rubygems_version: 3.6.2
|
282
280
|
specification_version: 4
|
283
281
|
summary: Bullet Train API
|
284
282
|
test_files: []
|