bullet_train-super_scaffolding 1.1.9 → 1.1.10

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: 5757550e765c797bad32aaea6112c0cc7252df6303d609d39e77029d06712808
4
- data.tar.gz: ff5bdc4e53e79af2fe45f13ae5b7111e3295d83a9b749044cde4544138931ded
3
+ metadata.gz: 3a171f4aefd9c6db04356efc8f487b2092232f8d2d912d977d4cdafc960017fd
4
+ data.tar.gz: eebe41554796b43c421dd8bcec48feada93eb3b1139e965f32580fb1783ced08
5
5
  SHA512:
6
- metadata.gz: 9d21775efaaecfe326d749478d1710b1d62219c125222754000f8a6864c0c954fd3019154d0bb6d1cc65bc96b8a26ad5dbd602df9464e93d5f9f9a118d97e419
7
- data.tar.gz: e4ee14ad18f88e986bc4024c52c3b0421d6591283a0feefd6594d6fd1222fd4f337b2912b0528bb406ba8b44a21ed6caeb3b9d548620ca7272a4e2486c1c23c7
6
+ metadata.gz: be433900749c9a05d339867c7b2e1d8eb76dee09b7a5c6577a579326abaacb4aa482ce1b5541f174c4167815571a239c276ff2dbbab101847d53ea9d066f96f7
7
+ data.tar.gz: e3213f8de2018f14b497d5f6f3875a161479d31079b4611eaf13a39d3c7876dcfa1d02da2ca61e9a2bacdd1409ce00916850c6a1e6a390926b69c782931502b5
@@ -1,5 +1 @@
1
- json.data do
2
- json.array! @tangible_things, partial: "api/v1/scaffolding/completely_concrete/tangible_things/tangible_thing", as: :tangible_thing
3
- end
4
-
5
- render_pagination(json)
1
+ json.array! @tangible_things, partial: "api/v1/scaffolding/completely_concrete/tangible_things/tangible_thing", as: :tangible_thing
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.1.9"
3
+ VERSION = "1.1.10"
4
4
  end
5
5
  end
@@ -1086,6 +1086,10 @@ class Scaffolding::Transformer
1086
1086
  #
1087
1087
 
1088
1088
  unless cli_options["skip-api"]
1089
+ # We always want to suppress this error for this file, since it doesn't exist by default. We reset this below.
1090
+ suppress_could_not_find_state = suppress_could_not_find
1091
+ self.suppress_could_not_find = true
1092
+
1089
1093
  # It's OK that this won't be found most of the time.
1090
1094
  scaffold_add_line_to_file(
1091
1095
  "./app/views/api/v1/open_api/scaffolding/completely_concrete/tangible_things/_components.yaml.erb",
@@ -1101,6 +1105,8 @@ class Scaffolding::Transformer
1101
1105
  "<%# 🚅 super scaffolding will insert new parameter above this line. %>",
1102
1106
  prepend: true
1103
1107
  )
1108
+
1109
+ self.suppress_could_not_find = suppress_could_not_find_state
1104
1110
  end
1105
1111
 
1106
1112
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-super_scaffolding
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.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: 2022-10-14 00:00:00.000000000 Z
11
+ date: 2022-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard