bullet_train-api 1.6.9 → 1.6.11
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 +4 -4
- data/lib/bullet_train/api/example_bot.rb +5 -0
- data/lib/bullet_train/api/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb94c0f80cacccce0283e23344f3b3ebbceb82baef8beb178617b246a53304f9
|
4
|
+
data.tar.gz: 1baec0619f869f72d971993bd659798a71661541ee8520445c820fe9e39d255d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28a6b819821157d364eb9a3a5ad4dc71c7c9c69433f48c11e3b9d7f4d346d996447ff2b6871f02b916dd82e506b0f1891ce0cada0795a7b7a962944fc538b2e5
|
7
|
+
data.tar.gz: 021e75e1f042d558345776212682178abe618e7a3d618b03a2fc68427adbee6dc059c84bea28c213e08c7ec494913550cd0b9abac1773046167f69c7e4d99287
|
@@ -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
|
|
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.
|
4
|
+
version: 1.6.11
|
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-
|
11
|
+
date: 2023-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: jbuilder-schema
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.6.
|
103
|
+
version: 2.6.2
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.6.
|
110
|
+
version: 2.6.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: factory_bot
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|