strongmind-auth 1.0.8 → 1.0.9

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: fe8a1065a1aaff5f3ed20999981c7201aaccc6db7e7aab98f5e775a2b1e6911d
4
- data.tar.gz: 5d5740e266cd5ee581800f9f18ffda6d71fa5c5ceb6ff9957384ec509773eb26
3
+ metadata.gz: 306122e7c423973cd711bff6f4802a60e1970aa74b79482d8ac7cace0bb1fd95
4
+ data.tar.gz: 28098227cf9ff1869bdee71dae13dbcdbb5f1d066861c63c75e3e63c749f4825
5
5
  SHA512:
6
- metadata.gz: 29c1de0ced18e7d4f1d3244c725c86fc8d34b496a46c2fc265e930b0a23ba29e853407e6fafd95d7fcdb54e39a1fca6c91e540d008f19edaaff1f3ae38f6f433
7
- data.tar.gz: 61f1111cbfab644070ffe0d3a377fa50e6043737e1a87e3420869a1502924b7a07d33a38fcb04afb37925d01984f82a88d9aeb9f012ae1f110f5edaa485d47c5
6
+ metadata.gz: d0829abe155dc13d7422659d51c684bb4e47fde17b496af7ba19cc5dd40c44b8c3602a62a98aca86b2bb18d16efc0f1148478ca002e8a92efe842ee6fbdd56a6
7
+ data.tar.gz: 4dd5f8659fde38e46a617afb817e9d350b231b3cb49c6f537af7563669e1ae671c22111fd9339b5bc57b7265a1ca8ce70aaa9541bdbbb2eb7e32bd5b7dd84476
@@ -2,6 +2,14 @@
2
2
 
3
3
  return if defined? Rails::Generators
4
4
 
5
+ # if Devise is not present in Gemfile
6
+ unless File.read('Gemfile').include?('devise')
7
+ `rails g strongmind:install`
8
+ `rails db:migrate`
9
+
10
+ raise "StrongMind Auth and Navigation installed. Please restart your server."
11
+ end
12
+
5
13
  # Assuming you have not yet modified this file, each configuration option below
6
14
  # is set to its default value. Note that some are commented out while others
7
15
  # are not: uncommented lines are intended to protect your configuration from
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Belding
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-14 00:00:00.000000000 Z
11
+ date: 2024-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails