bullet_train-api 1.12.3 → 1.14.0

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: 9bab4b2f4025da2509847369d1ffaa5bfd1149cb98170bf096002161ad4552d7
4
- data.tar.gz: df12dee022363d9fd61c44dfca9640b3f37891bc2ea45418eed338394102ef6c
3
+ metadata.gz: d5b49ed305063576e964500108f1031ec9534f660870a9bc710ae0cfdde1ee79
4
+ data.tar.gz: 0cde5d8293d05d50eb89d9bc0eb47426db2da2c61333bb52f5485e892291c04e
5
5
  SHA512:
6
- metadata.gz: b86f421cc2a261fd545fb59fd42f456ff2d675479c9e22f877c3fbc6406e4d69b319a80b832f9fc4f0aefc82c0463771d462d0d691b5b838a03eb098bb3b53db
7
- data.tar.gz: fb68dbc6d66f836552655055d64994ea79a25bb960c6663a321e1e3383472a575a9abf57100fafd1107032beaecc5050f6c028eb12b32feb75476a5f1add97c5
6
+ metadata.gz: bee33867b25461260745df6b8c5826b066640286dcbaf63a1b1bf711adb6959df2a8bbf9aaf93ae7bf4b64d35a2303f01118b93e0731adbbaf67b9af6145938a
7
+ data.tar.gz: e6f163d84ff13fd00813919040143cfbd089ef94adbe95d7f6b9bcd29e0c9d5e53dd05d0bba3961f8c0d6f5fc71eb2363e05129c5eaac09f9d1cfdb5acea3212
@@ -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.12.3"
3
+ VERSION = "1.14.0"
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.12.3
4
+ version: 1.14.0
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-20 00:00:00.000000000 Z
10
+ date: 2024-12-30 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: []