bullet_train-api 1.13.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b7c762d575f71dc103925c588ea9cf5eb1580bed573775f4a2c51a00ddeb69f
4
- data.tar.gz: c0565a3dca6a95c4d92d45c280cc8a31bca5e645389863964091633e2b6853b8
3
+ metadata.gz: b7c4aa46dc2801bcf1e0f391a0cb071b4be59e50ca7ab709d08b11c81acd32e9
4
+ data.tar.gz: e1d3a1cac45b59c68e03eba12b4fcf5933f8ab717ad788243d2878560652f152
5
5
  SHA512:
6
- metadata.gz: 118d34dfd5388fda8c4ed870119e874d8bde3d429525e39ba2bf3aef7966aa4a9d781b53090bfa036a41331ce6f74282b42e1a6fddb0c5cdb87972d340d05b71
7
- data.tar.gz: 6a3d1ae5176866f7bab6522cbad60ce9bc76b60c6ce7f86a6fdf1257f4e816e9bf257a835ca96031d37a6ea90db46a1252257bcde915c3cca6b190fd2b9c26d2
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".to_sym, true)
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")
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Api
3
- VERSION = "1.13.0"
3
+ VERSION = "1.14.1"
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ module ValuesTransformer
6
6
  def _set_value(key, value)
7
7
  value = value.body if value.is_a?(ActionText::RichText)
8
8
 
9
- super(key, value)
9
+ super
10
10
  end
11
11
  end
12
12
 
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.13.0
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: 2024-12-23 00:00:00.000000000 Z
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.5.22
281
- signing_key:
279
+ rubygems_version: 3.6.2
282
280
  specification_version: 4
283
281
  summary: Bullet Train API
284
282
  test_files: []