bullet_train-api 1.30.1 → 1.31.0

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: 8d4496c8139d5a033b13be0bc5142b799e93e5edc6cc6f6eb294a57d7e647ed9
4
- data.tar.gz: fffc922d0ec9d723dd54690f878fe89d63bc9e79936450cce63266b4851542c9
3
+ metadata.gz: 1dba8a41bf0cdec4f34e874305f9caf61d545b42edfba5c31da3358d381aa08e
4
+ data.tar.gz: f059d9b13ca04766e2199ccc73afa13fb7be13cc279e80f260868bc9bc9882f1
5
5
  SHA512:
6
- metadata.gz: 48a810277397658e00e09b636605f4a32483f0db79ac75e8af07d6e68727cb2e756c2ea4aa3413c8438c39e0cc9afbb8b4fecc176fa20760364beabe1a891936
7
- data.tar.gz: 3f1556bec33f92d4fe0292d11e7844b28adc62beb2a1e52522e1a75aa8812370193c4315613fbf62bb4ff4926e50f8035464dfc8f9595cc4f72134fce4faa4aa
6
+ metadata.gz: eb46db6e908611dcff7c425a594f06083234a2c85c6419378663c4f6114154f5d20856e0a56d8bd0b00bd3bc5ea83c37b338718ff005d08361247abc0ba4f2d8
7
+ data.tar.gz: 4903339bd6ebc4250f8db9f7d2fae4c3cf6e1e571f9b7a8c179edded7ac5140b569360129c859a1019338ee83513079eeff2c9350d93bc4c9ebcec3796096b62
@@ -17,7 +17,8 @@ module Api::V1::Users::ControllerBase
17
17
  :locale,
18
18
  :profile_photo_id, # For Cloudinary
19
19
  :profile_photo, # For ActiveStorage
20
- :profile_photo_removal
20
+ :profile_photo_removal,
21
+ :color_scheme_preference # not stored, per-device
21
22
  ]
22
23
 
23
24
  selected_fields = if params.is_a?(BulletTrain::Api::StrongParametersReporter)
@@ -20,7 +20,7 @@ module Api
20
20
  end
21
21
 
22
22
  def gem_paths
23
- @gem_paths ||= `bundle show --paths`.lines.map { |gem_path| gem_path.chomp }
23
+ @gem_paths ||= Bundler.load.specs.map(&:gem_dir)
24
24
  end
25
25
 
26
26
  def automatic_paths_for(model, parent, except: [])
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Api
3
- VERSION = "1.30.1"
3
+ VERSION = "1.31.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.1
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver