bullet_train-api 1.6.38 → 1.7.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: 032efe953b88f9db79bee4f1e1b53f9a25b168a3579620d3c5e4ffe213734984
4
- data.tar.gz: 3c15eabd737d77781282cef0be064121d35f1dffe4b012818fca5ac5c971ba85
3
+ metadata.gz: d6ac100c0361334667480127138a885f4071b0bb57d3fac53661c1d2a373b970
4
+ data.tar.gz: 5eaa4d53895f43696ed6a7d3783b7e09d4d700e04e22593bf865caf7b1ccf977
5
5
  SHA512:
6
- metadata.gz: 40fb6d61b1968e0e584512bf33797432712665629bc16991b930a5a0934dde01c87512f213bc1db0b3145fee6e558abd1520814564ad1f682257dffe8eeda3b4
7
- data.tar.gz: 1465a7fa12bd8be5d1ca2daaeb08c456acd7416b26dd880a8fac3ac31f63774227e675d4bc9066658e72c7d288fcc33a1940dbf2fdc64bee0ba4b3970306a6c3
6
+ metadata.gz: a28048811cba73a2368956c7d69db1a032fbb28b79ae9a6accde3efc595e0d4642d0f6253e5360aebf93affc743f2ee67c04cff6b1fa9421d3f2a4a7cb0e4bbe
7
+ data.tar.gz: 59eea5628359509d3bc699a2007cd00d5de241735acb566b9ad67849cf15bc0dde81e426a3417e76f19e94f68ebc9472fbade7a9ff40abe38728d896ea20dc28
@@ -27,7 +27,7 @@ module FactoryBot
27
27
 
28
28
  def factory(model)
29
29
  factories = FactoryBot.factories.instance_variable_get(:@items).keys
30
- factories.include?("#{model}_example") ? "#{model}_example".to_sym : model
30
+ factories.include?("#{model}_example") ? :"#{model}_example" : model
31
31
  end
32
32
 
33
33
  include ::Api::OpenApiHelper
@@ -42,7 +42,7 @@ module BulletTrain
42
42
  # end
43
43
 
44
44
  def report
45
- @filters = send("#{@model.name.split("::").last.underscore}_params".to_sym)
45
+ @filters = send(:"#{@model.name.split("::").last.underscore}_params")
46
46
 
47
47
  # There's a reason I'm doing it this way.
48
48
  @filters
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Api
3
- VERSION = "1.6.38"
3
+ VERSION = "1.7.0"
4
4
  end
5
5
  end
@@ -32,7 +32,7 @@ module BulletTrain
32
32
  end
33
33
 
34
34
  def self.all_versions
35
- (initial_version_numeric..current_version_numeric).map { |version| "v#{version}".to_sym }
35
+ (initial_version_numeric..current_version_numeric).map { |version| :"v#{version}" }
36
36
  end
37
37
 
38
38
  def self.set_configuration(application_class)
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.6.38
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-20 00:00:00.000000000 Z
11
+ date: 2024-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard