bullet_train-api 1.6.20 → 1.6.22

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: ed900986909577fa41893dcdf279f5a5ec7fbfb7e7e89d0230fb97627c3e9bbb
4
- data.tar.gz: d1f3c0cb271d3dba5a673b090eff10612f18453e85b29b161bf318965b807d99
3
+ metadata.gz: ffb2e2558f925e4ee2c3d4bbe47b1836b3fe09bec294f4af90bb387e54a73f5d
4
+ data.tar.gz: d4d0d6297b418fe346ccb88500cda33fe81b3bdd3dba79861ca52cd4a2f1311c
5
5
  SHA512:
6
- metadata.gz: e3ee2cc2c106ed9dee84b100cee187235c7710bf7a681333dfe056ddbbd41dc0de4e852f42f7f9ed9bce1f291f743cdcb5f6a59d75a7776239e794dd0509984e
7
- data.tar.gz: 2d25e49c813a670e43e77db8b61206fe40f68487b250c42a3b0988fe5e6574034e560f83c1762ffc05ec7b26e27452aabf0f931d35b374e2869e0d90c67a6caf
6
+ metadata.gz: 1447487f42110879e4c87066f193c59db367ebdaa9c6c1a997fbae7e92c247b09beaefc58d29e3e31e4867f1dd0c95012bcfde7e9d6b923d5a4866f9fa3246d9
7
+ data.tar.gz: f2e0d4b74f6c64ca916c4718ee84f2381ecee2a69b5f2e97ecb5b66942b822b6393d9783122097ce12b3beb201d8fb87b1b50554ce22404e6571923bd3b23724
@@ -46,6 +46,9 @@ module Api
46
46
  path = "app/views/api/#{@version}"
47
47
  paths = [path, "app/views"] + gem_paths.product(%W[/#{path} /app/views]).map(&:join)
48
48
 
49
+ # Transform values the same way we do for Jbuilder templates
50
+ Jbuilder::Schema::Template.prepend ValuesTransformer
51
+
49
52
  jbuilder = Jbuilder::Schema.renderer(paths, locals: {
50
53
  # If we ever get to the point where we need a real model here, we should implement an example team in seeds that we can source it from.
51
54
  model.name.underscore.split("/").last.to_sym => model.new,
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Api
3
- VERSION = "1.6.20"
3
+ VERSION = "1.6.22"
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.20
4
+ version: 1.6.22
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-29 00:00:00.000000000 Z
11
+ date: 2023-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -126,16 +126,16 @@ dependencies:
126
126
  name: jbuilder-schema
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '='
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 2.6.2
131
+ version: 2.6.6
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '='
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 2.6.2
138
+ version: 2.6.6
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: colorizer
141
141
  requirement: !ruby/object:Gem::Requirement