diffcrypt 0.8.0.rc1 → 0.8.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f92de64774d20c0589ef9e2ae8e3734cf406638fdc60473b35afe5c6630c9253
4
- data.tar.gz: eba4811ebbeeb12fa15f092f3a5a5b439747816df025e66b3e0558a605152fdd
3
+ metadata.gz: 0a71ac89983adc1892cffc3714ebfcebeabbeeb62f1bf715b3bf3b63d25c91e6
4
+ data.tar.gz: af309edc5af6a3e5d65cdc662c3429cadb5fb01173bdcf51979d6283fa878e94
5
5
  SHA512:
6
- metadata.gz: 9765122e959807815c3a658a64cff0f4395b1fc79772a6a59949a60e16f8952c1982a0f61f73f922753e349773238b42f98ffa35b76b4659737ae4ae74f022ef
7
- data.tar.gz: a953814419b665b42ec5e079a4d9ca2671f3681533fb715259497c3555a431ac176a1566242bf8d4350c6d83c6837ab8b3729608f542ecab9546c210370af224
6
+ metadata.gz: cb6be1bb0021d369eba0ba037b46635fa28bb39ea29e8924e37afae82171e371910acc3b5760bf476f23917bfe08080d48ca6f4032736c8f265b4eeb4688a57b
7
+ data.tar.gz: 33fde8b24857af27cae97030188b98cb9f7c28936a2843b49b4ff3566053aa8c952d6e2124c943431ef67107250643a23ac5e3cd2b0d2ca272c3c4968432130f
data/CHANGELOG.md CHANGED
@@ -7,12 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
 
9
9
 
10
- ## [0.8.0.rc1]
10
+ ## [0.8.0]
11
11
 
12
12
  ### Added
13
13
 
14
14
  - Extended ruby 3.x support
15
- - Added Rails 8 support
15
+ - Added Rails 8 support (#143)
16
16
 
17
17
  ### Changed
18
18
 
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # Diffcrypt
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/diffcrypt.svg)](https://rubygems.org/gems/diffcrypt)
4
- [![CircleCI](https://circleci.com/gh/diffcrypt/diffcrypt-ruby.svg?style=svg)](https://circleci.com/gh/diffcrypt/diffcrypt-ruby)
5
-
4
+ ![GitHub Actions Test Status](https://github.com/diffcrypt/diffcrypt-ruby/actions/workflows/test.yml/badge.svg)
6
5
 
7
6
  Diffable encrypted files that you can safely commit into your repo.
8
7
 
@@ -80,6 +80,14 @@ module Diffcrypt
80
80
  writing read, &block
81
81
  end
82
82
 
83
+ def validate! # :nodoc:
84
+ deserialize(read).each_key do |key|
85
+ key.to_sym
86
+ rescue NoMethodError
87
+ raise InvalidKeyError.new(content_path, key)
88
+ end
89
+ end
90
+
83
91
  protected
84
92
 
85
93
  # rubocop:disable Metrics/AbcSize
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Diffcrypt
4
- VERSION = '0.8.0.rc1'
4
+ VERSION = '0.8.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diffcrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0.rc1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Qualie