bullet_train-roles 0.1.1 → 0.1.2

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: b04c87b6d26e9f326fc15cd10833fe874d9a2351d5a733d8c5fcff2210a10b7d
4
- data.tar.gz: 7993de795a580ecac546e2697c79af02e7803f1530d3d9da51801b849ed53d37
3
+ metadata.gz: 0d21c45daee0837ca728e09e7f58b06c1f4ea4cafafb1b8bcb2879cd0cda90d1
4
+ data.tar.gz: 7cbccf773dbcc32e408d7d4d8cbc386b1c4c8d03a582518d74ec0c145e3df517
5
5
  SHA512:
6
- metadata.gz: d8cd90ecb2da1e985dfe304fbbf287a7c4878415844888f359659deeca337271b18a793f79888897f10ee629d6f3986ffbf047dc65c0cf2d6776598771da345b
7
- data.tar.gz: 21ae06c5cd83a62edca13832ad4a59330273b97022aff8b0ffdc7236b8f0dad238d459fb9610882f1511ee5e3559b790a2fc9156c8f024f97b00767971ef3ad1
6
+ metadata.gz: 7b6f9b8bc5814c0e2e09001fe76943e7bb6bc0eea3e7925b357df0242a9b0bb5e50e97b96b7c13345779c65a363c07600ece86f04c78e238b3b3d6bf803e97b3
7
+ data.tar.gz: 29a0ce6c63035adc7e75a4bde662ebf4b7242ad462eb89781e41fc546249a3abb31842ed0441b716c3c8a62d85119077d6e825eedf214300f646c02354667565
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- bullet_train-roles (0.1.1)
12
+ bullet_train-roles (0.1.2)
13
13
  active_hash
14
14
  activesupport
15
15
  cancancan
data/README.md CHANGED
@@ -60,7 +60,7 @@ The generators currently assume you're using PostgreSQL and `jsonb` will be avai
60
60
 
61
61
  The provided `Role` model is backed by a Yaml configuration in `config/models/roles.yml`.
62
62
 
63
- To help explain this configuration and it's options, we'll provide the following hypothetical example:
63
+ To help explain this configuration and its options, we'll provide the following hypothetical example:
64
64
 
65
65
  ```
66
66
  default:
data/bin/setup CHANGED
@@ -5,4 +5,10 @@ set -vx
5
5
 
6
6
  bundle install
7
7
 
8
+ # We need to cd into the dummy app because it uses a different Rakefile
9
+ cd test/dummy
10
+ bundle install
11
+ rake db:test:prepare
12
+ cd ../..
13
+
8
14
  # Do any other automated setup that you need to do here
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Roles
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -47,7 +47,7 @@ module BulletTrain
47
47
  end
48
48
 
49
49
  def db_adapter
50
- allowed_adapter_types = %w[mysql sqlite postgresql]
50
+ allowed_adapter_types = %w[mysql mysql2 sqlite postgresql]
51
51
 
52
52
  adapter_name = ActiveRecord::Base.connection.adapter_name.downcase
53
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-roles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Prabin Poudel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-06 00:00:00.000000000 Z
12
+ date: 2022-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: byebug