bullet_train 1.4.9 → 1.4.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: 433bfb9d02ab90a900aa78aa7918b9b33a644738756ca001d75571e889faa111
4
- data.tar.gz: 4a0fb6994451fb11ac8bd268bb2df790e994ff7b1a4e9ac3ca6f9c71e3187808
3
+ metadata.gz: 1cb255b28e3c114edd38ce183c622b4ca05e29c91a2c4dc004c7c934bb41739e
4
+ data.tar.gz: '018214574b359f8a3cf97a16e6c9a9e2e8417425fbd985d11956a5f1259b1e13'
5
5
  SHA512:
6
- metadata.gz: 18bf21a0212e080b886d045a25cce43f6a05f60844c2bc97f73bd062190d9d01968fcf0e8946c9a98f2a3784958685e90ff321edf471b583be7dcf0a0c3d7683
7
- data.tar.gz: aea9776250358a2436400ed63c4ee89bc80b1bb31537dcb082f249fd6ae3522bddcc008a6d275c6a046514a351a209ba8a49741fd66b7fcbbe9c755171969d1e
6
+ metadata.gz: c0655f9e1dc40cd94ffe7b2cfa3a47d4af1e2bb5d69d9a3a61fa1bd92130a97b327f4a06e04b8f4d33b52004b3741dd0156a15e8cf6a580e90d3388455d58fe7
7
+ data.tar.gz: 8bd6f515e1b00f5b7025d99f0b393846600be31b8a7f4bc6429c1983cc9ca13ebd04f91a501bce1ade4ba5f3f55bbfd577e3d8c8ce929e0d840997b9b371fe9e
@@ -58,7 +58,7 @@ generate a new one that matches what you need:
58
58
 
59
59
  ```
60
60
  git checkout HEAD -- Gemfile.lock
61
- bundle update
61
+ bundle install
62
62
  ```
63
63
 
64
64
  If you choose to sort out `Gemfile.lock` by hand it's a good idea to run `bundle install` just to make
data/docs/upgrades.md CHANGED
@@ -85,7 +85,7 @@ generate a new one that matches what you need:
85
85
 
86
86
  ```
87
87
  git checkout HEAD -- Gemfile.lock
88
- bundle update
88
+ bundle install
89
89
  ```
90
90
 
91
91
  If you choose to sort out `Gemfile.lock` by hand it's a good idea to run `bundle install` just to make
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.4.9"
2
+ VERSION = "1.4.10"
3
3
  end
data/lib/bullet_train.rb CHANGED
@@ -9,6 +9,8 @@ require "bullet_train/super_load_and_authorize_resource"
9
9
  require "bullet_train/has_uuid"
10
10
  require "bullet_train/scope_validator"
11
11
 
12
+ require "exceptions"
13
+
12
14
  require "colorizer"
13
15
  require "bullet_train/core_ext/string_emoji_helper"
14
16
 
data/lib/exceptions.rb ADDED
@@ -0,0 +1,3 @@
1
+ class RemovingLastTeamAdminException < RuntimeError; end
2
+
3
+ class RemovingLastTeamException < RuntimeError; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.9
4
+ version: 1.4.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-09-27 00:00:00.000000000 Z
11
+ date: 2023-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -767,6 +767,7 @@ files:
767
767
  - lib/bullet_train/resolver.rb
768
768
  - lib/bullet_train/version.rb
769
769
  - lib/colorizer.rb
770
+ - lib/exceptions.rb
770
771
  - lib/tasks/bullet_train_tasks.rake
771
772
  homepage: https://github.com/bullet-train-co/bullet_train-core/tree/main/bullet_train
772
773
  licenses: