authlogic 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/CONTRIBUTING.md +2 -1
- data/lib/authlogic/acts_as_authentic/queries/find_with_case.rb +4 -1
- data/lib/authlogic/version.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f8b47d1c4c842aff31f1d7b9851725d60773e2eea798f9adafe1e479476c5cb
|
4
|
+
data.tar.gz: b46bc3d9c1e08d9680ca434795d832379a3bef437b755f978c3e4d3defd47330
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4852862fc120c4c7d0f7333ee43aac4d12658db42db9ac6bb570dfae45bb3f250ebe38e8459ebae4042d6a1d0fdcad4be86f48d685dfd2635c0d90a92c899a6
|
7
|
+
data.tar.gz: 1371934081cd37bde0ac6e5c8ef8e3b932c050aafbfa50b022d75d48549397e303c4a5cc42a4da767b864d963a89f5f8ab370beb30a6f76f28b6ff025bf91082
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,16 @@
|
|
9
9
|
* Fixed
|
10
10
|
* None
|
11
11
|
|
12
|
+
## 4.0.1 (2018-03-20)
|
13
|
+
|
14
|
+
* Breaking Changes
|
15
|
+
* None
|
16
|
+
* Added
|
17
|
+
* None
|
18
|
+
* Fixed
|
19
|
+
* [#590](https://github.com/binarylogic/authlogic/pull/590) -
|
20
|
+
Fix "cannot modify frozen gem" re: ActiveRecord.gem_version
|
21
|
+
|
12
22
|
## 4.0.0 (2018-03-18)
|
13
23
|
|
14
24
|
* Breaking Changes, Major
|
data/CONTRIBUTING.md
CHANGED
@@ -61,8 +61,9 @@ BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-3.2.x bundle exec rake test
|
|
61
61
|
|
62
62
|
### Release
|
63
63
|
|
64
|
-
1. Update version number in
|
64
|
+
1. Update version number in lib/authlogic/version.rb
|
65
65
|
1. Add release date to changelog entry
|
66
|
+
1. Add a new "Unreleased" section at top of changelog
|
66
67
|
1. Commit with message like "Release 3.6.0"
|
67
68
|
1. git tag -a -m "v3.6.0" "v3.6.0" # or whatever number
|
68
69
|
1. git push --tags origin 3-stable # or whatever branch
|
@@ -6,7 +6,10 @@ module Authlogic
|
|
6
6
|
# The query used by public-API method `find_by_smart_case_login_field`.
|
7
7
|
# @api private
|
8
8
|
class FindWithCase
|
9
|
-
|
9
|
+
# Dup ActiveRecord.gem_version before freezing, in case someone
|
10
|
+
# else wants to modify it. Freezing modifies an object in place.
|
11
|
+
# https://github.com/binarylogic/authlogic/pull/590
|
12
|
+
AR_GEM_VERSION = ActiveRecord.gem_version.dup.freeze
|
10
13
|
|
11
14
|
# @api private
|
12
15
|
def initialize(model_class, field, value, sensitive)
|
data/lib/authlogic/version.rb
CHANGED
@@ -9,8 +9,12 @@ module Authlogic
|
|
9
9
|
# than a `VERSION` string, because `::Gem::Version` is easier to use in a
|
10
10
|
# comparison.
|
11
11
|
#
|
12
|
+
# Perhaps surprisingly, we cannot return a frozen `Version`, because eg.
|
13
|
+
# rubygems (currently) needs to be able to modify it.
|
14
|
+
# https://github.com/binarylogic/authlogic/pull/590
|
15
|
+
#
|
12
16
|
# @api public
|
13
17
|
def self.gem_version
|
14
|
-
::Gem::Version.new('4.0.
|
18
|
+
::Gem::Version.new('4.0.1')
|
15
19
|
end
|
16
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authlogic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Johnson
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-03-
|
13
|
+
date: 2018-03-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|