devise-guests 0.6.1 → 0.7.0

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: 583c1a3629b0d87f0b0ae81afda588346cc21ee67dbd70ba61f119f6bbd4d2d5
4
- data.tar.gz: 9fdce241ad7ed4045e6bf8b48e2289a578a1214d8026451045ac956a10436415
3
+ metadata.gz: dad4bccd65fe98d575afafe20cc4058dd2d1705fc56abcd4d2b6070de1931fa3
4
+ data.tar.gz: e9382846dbf5c9cb8ffbeeb58e7f868e5a94f7ef412ac28b97317cc9ba76bd2c
5
5
  SHA512:
6
- metadata.gz: 7f00f8eb0271e8c08a3535c468b432b4c63ce94f22bb2c9dc860d0e36e34c28f9ddebe525f7a2aa4bef97206d8efcde8031c3ff0131af137211e8050b2f2dde6
7
- data.tar.gz: 6dc253b888a7f2fe4a87a7937b7be14940a67993bfb8ff592faa102dd17fb0c4e29f080859bf383608815268a5fae118300a6cc6ac2508c2b9479f18bd57320d
6
+ metadata.gz: 5d4f44f1a48e2bc927e0f371bb308dc6239a837a08ad5e2867a01014f872e7697a536d32b0e25be753e549f5ba88ecf7f9fcd21970013f02a5f3a37b90ef9494
7
+ data.tar.gz: d58dc673afd8c399822f0e6f954a1fcdd6219b9bf39dfc9fae06e5b5337fe10718643124cc7ae6dce9e6a9e92c2d33ed34464ea0b24b0a749dcaa0740d6bc000
@@ -1,3 +1,3 @@
1
1
  module DeviseGuests
2
- VERSION = '0.6.1'
2
+ VERSION = '0.7.0'
3
3
  end
@@ -20,14 +20,13 @@ module ActiveRecord
20
20
  RUBY
21
21
  end
22
22
 
23
- def rails5?
24
- Rails.version.start_with? '5'
23
+ def rails4?
24
+ Rails.version.start_with? '4'
25
25
  end
26
26
 
27
27
  def migration_version
28
- if rails5?
29
- "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]"
30
- end
28
+ return if rails4?
29
+ "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]"
31
30
  end
32
31
  end
33
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-guests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-04 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise