Skip to content

Commit

Permalink
Bump version number to 3.2.0 and start on changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Vastola authored and Mike Vastola committed Apr 19, 2021
1 parent cb689bb commit ccf18c2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# attr_encrypted #

## 3.2.0 ##
* Added: Support Rails upto 6.2 and Ruby upto 3.0 (@mvastola)
* Added: `appraisal` gem to organize testing with different versions of dependencies (@mvastola)
* Changed: Outdated version dependencies in `gemspec` (@mvastola)

## 3.1.0 ##
* Added: Abitilty to encrypt empty values. (@tamird)
* Added: MIT license
Expand Down
9 changes: 8 additions & 1 deletion lib/attr_encrypted/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module AttrEncrypted
# Contains information about this gem's version
module Version
MAJOR = 3
MINOR = 1
MINOR = 2
PATCH = 0

# Returns a version string by joining <tt>MAJOR</tt>, <tt>MINOR</tt>, and <tt>PATCH</tt> with <tt>'.'</tt>
Expand All @@ -15,5 +15,12 @@ module Version
def self.string
[MAJOR, MINOR, PATCH].join('.')
end

# Return current version as a `Gem::Version` object (for easier comparison)
#
# @return [Gem::Version] the current version of the gem
def get
::Gem::Version.new string
end
end
end

0 comments on commit ccf18c2

Please sign in to comment.