activerecord-cipherstash-pg-adapter 0.7.6 → 0.7.8

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: d3f6569db99eeff40bdc38fbd51f393a68978550ba6a88e076abe88178a6460f
4
- data.tar.gz: 4df3a9c690bfdab57c6f145976635bbf1f0115f26280a837096416e5a39cf715
3
+ metadata.gz: 3defa55d1970432a8bb5f90b0c79aff1d586661599d6b8985e7c91db56e231a1
4
+ data.tar.gz: d51e88922d22fefca778d6f06d69cfbad37cf732a8f3da135b5909544ecb2181
5
5
  SHA512:
6
- metadata.gz: f3351800d72a4bb087cf4502c4238b93bdb80f1b18b16d309d5203ce15f7499cdb61a2de0f39049db55f1adc36639692ecb52f7c82f40ff76a318c10dbf366b3
7
- data.tar.gz: d0d596f49a41c6438369981d65355332f8bbdc9df960b911aedd50244487a16b99e121b08f5b8c4b5524f739a9db6dfcd126f02c6fcae4c8949da3e6217fb676
6
+ metadata.gz: f979de53bf4e28ef4a9c3cb75d8840afbaef7497b375ffda89768c7a5e26ed8ff1e97e99532192e0a3b1135cfadbe625c825ab71a31468d40398a831016920dd
7
+ data.tar.gz: c51e1e1eaa55d3b5a8d6e30b469c28a8c9ca4f16463269e4084670112a3338df38c54e9fbd6555ac3299a71fc38c7423883dbd7599d530809e42ecfaeac16a5a
data/CHANGELOG.md CHANGED
@@ -6,6 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.7.8] - 2023-05-25
10
+
11
+ ### Changed
12
+
13
+ - Add vitur host to rails creds.
14
+
15
+ ## [0.7.7] - 2023-05-24
16
+
17
+ ### Fixed
18
+
19
+ - Missed off a '?' at the end of a method name.
20
+
21
+ ## [0.7.6] - 2023-05-24
22
+
23
+ ### Fixed
24
+
25
+ - Fix clash of ActiveRecord::Point struct with standard postgres adapter.
26
+
9
27
  ## [0.7.5] - 2023-05-22
10
28
 
11
29
  ### Changed
@@ -30,7 +30,7 @@ module ActiveRecord
30
30
  end
31
31
 
32
32
  def serialize(value)
33
- if quacks_like_a_point(value)
33
+ if quacks_like_a_point?(value)
34
34
  "(#{number_for_point(value.x)},#{number_for_point(value.y)})"
35
35
  elsif ::Array === value
36
36
  serialize(build_point(*value))
@@ -16,6 +16,7 @@ module ActiveRecord
16
16
  client_key = cs_credentials&.fetch(:client_key, nil)
17
17
  workspace_id = cs_credentials&.fetch(:workspace_id, nil)
18
18
  client_access_key = cs_credentials&.fetch(:client_access_key, nil)
19
+ vitur_host = cs_credentials&.fetch(:vitur_host, nil)
19
20
 
20
21
  unless client_id.nil?
21
22
  ENV["CS_CLIENT_ID"] = client_id
@@ -32,6 +33,10 @@ module ActiveRecord
32
33
  unless client_access_key.nil?
33
34
  ENV["CS_CLIENT_ACCESS_KEY"] = client_access_key
34
35
  end
36
+
37
+ unless vitur_host.nil?
38
+ ENV["CS_VITUR_HOST"] = vitur_host
39
+ end
35
40
  end
36
41
  end
37
42
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ActiveRecord
2
- CIPHERSTASH_PG_ADAPTER_VERSION = "0.7.6"
2
+ CIPHERSTASH_PG_ADAPTER_VERSION = "0.7.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-cipherstash-pg-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Howard