pgcrypto 0.0.3 → 0.0.4
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.
- data/VERSION +1 -1
- data/lib/pgcrypto/active_record.rb +2 -2
- data/pgcrypto.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.4
|
|
@@ -2,7 +2,7 @@ require 'active_record/connection_adapters/postgresql_adapter'
|
|
|
2
2
|
|
|
3
3
|
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.class_eval do
|
|
4
4
|
alias :original_to_sql :to_sql
|
|
5
|
-
def to_sql(arel)
|
|
5
|
+
def to_sql(arel, *args)
|
|
6
6
|
case arel
|
|
7
7
|
when Arel::InsertManager
|
|
8
8
|
pgcrypto_tweak_insert(arel)
|
|
@@ -11,7 +11,7 @@ ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.class_eval do
|
|
|
11
11
|
when Arel::UpdateManager
|
|
12
12
|
pgcrypto_tweak_update(arel)
|
|
13
13
|
end
|
|
14
|
-
original_to_sql(arel)
|
|
14
|
+
original_to_sql(arel, *args)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
private
|
data/pgcrypto.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "pgcrypto"
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Flip Sasser"]
|
|
12
|
-
s.date = "2012-02
|
|
12
|
+
s.date = "2012-03-02"
|
|
13
13
|
s.description = "\n PGCrypto is an ActiveRecord::Base extension that allows you to asymmetrically\n encrypt PostgreSQL columns with as little trouble as possible. It's totally\n freaking rad.\n "
|
|
14
14
|
s.email = "flip@x451.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pgcrypto
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-02
|
|
12
|
+
date: 2012-03-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: ! "\n PGCrypto is an ActiveRecord::Base extension that allows you
|
|
15
15
|
to asymmetrically\n encrypt PostgreSQL columns with as little trouble as possible.
|