bullet_train-api 1.6.9 → 1.6.10

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: 4a4aec0bc98d28b0ec4c182cee5fd6f47e7e95de436310be429682e778104600
4
- data.tar.gz: fb092cac8cd2b3c01d96d286f7a2aa45696daa287b1395c8a57a6650a2051c33
3
+ metadata.gz: a300911142c4262534689175804629cfc08669521aef7845852d0439cd407dd1
4
+ data.tar.gz: cb3d6b590c28dfff288e09ef517fc636ce799a631bfbbaa3dbce4ed2d5e3fe14
5
5
  SHA512:
6
- metadata.gz: ecc095f230aafc3999eba2f502bc0ac89bcf8830ae50bd2060113cfb167e6340b41a5451db0a45be4eba8e1df7019b699b9f466578268f197dcb9fe11e85d3f7
7
- data.tar.gz: 8ef52f160bcd95053ab9ee6eae92f0207dcbc87e1f954fecb888f06c6763b0fa80642857df80bdaa0ec5ec44972d5a9983bc7081bf5bfb76892db1e6d6a74d5f
6
+ metadata.gz: eda8ecde9007f2f84c56701fa6179324507c861c701789ad29fab3073ca926e4859bebd4b8267879e2963cdb9960c31a0b798cac7bbdd8b4fb74d167cba8a25b
7
+ data.tar.gz: 1c849b7d9fb43a88d8f1a4dd8281c1ad2163f4323733ae4e260ac91fce6defac09b2d68ae12396c5e5b312c482385d3ac604816818350bd68975afa37bc80df0
@@ -2,6 +2,10 @@ require_relative "../../../app/helpers/api/open_api_helper"
2
2
 
3
3
  module FactoryBot
4
4
  module ExampleBot
5
+ # Anonymous argument forwarding is a new feature in Ruby 3.2 and trying to use it breaks
6
+ # things when people are using an older verison of Ruby. So for now we're silencing the
7
+ # linter complaints and are using named arguments.
8
+ # standard:disable Style/ArgumentsForwarding
5
9
  def example(model, **options)
6
10
  FactoryBot.build(factory(model), **options)
7
11
  end
@@ -9,6 +13,7 @@ module FactoryBot
9
13
  def example_list(model, quantity, **options)
10
14
  FactoryBot.build_list(factory(model), quantity, **options)
11
15
  end
16
+ # standard:enable Style/ArgumentsForwarding
12
17
 
13
18
  REST_METHODS = %i[get_examples get_example post_example post_parameters put_example put_parameters patch_example patch_parameters]
14
19
 
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Api
3
- VERSION = "1.6.9"
3
+ VERSION = "1.6.10"
4
4
  end
5
5
  end
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.9
4
+ version: 1.6.10
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-11-02 00:00:00.000000000 Z
11
+ date: 2023-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard