active_record_encrypted_string 1.3.0 → 1.3.1
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 +4 -4
- data/.github/workflows/rspec.yaml +71 -0
- data/CHANGELOG.md +5 -0
- data/lib/active_record_encrypted_string/version.rb +1 -1
- metadata +7 -7
- data/.circleci/config.yml +0 -72
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8564a98b7b647fb032692e270473c6d19c0e2cd5626fa59534a9f5d3c301c0eb
|
|
4
|
+
data.tar.gz: 7b3667d88a6ac94ae0b02ff29ff828848f86d3be9797352a7beb33b0c33681e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6af9f83abe4f6fd3961789ecf95a1857eebf03c06dff99d6b8e3bc7c9e0ada85c0550563d630694ffa75a4e45ed893e72f60b80e409fcd6c28c670999f2e5bfb
|
|
7
|
+
data.tar.gz: 201e28e19c55dfda1e5eb560b7fd4e9d6bd68165c7ac4995b807077f3de1be973d17ef2032c7e96509305b4a7bc17262f6f7a8a131cddad294406dd128bb0179
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
name: Rspec
|
|
2
|
+
|
|
3
|
+
on: pull_request
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
rspec-on-ruby2:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
rails:
|
|
12
|
+
- 5_0_stable
|
|
13
|
+
- 5_1_stable
|
|
14
|
+
- 5_2_stable
|
|
15
|
+
- 6_0_stable
|
|
16
|
+
- 6_1_stable
|
|
17
|
+
|
|
18
|
+
name: Rails ${{ matrix.rails }} on Ruby 2.7
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v2
|
|
22
|
+
|
|
23
|
+
- uses: ruby/setup-ruby@v1
|
|
24
|
+
with:
|
|
25
|
+
ruby-version: 2.7
|
|
26
|
+
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: |
|
|
29
|
+
bundle lock
|
|
30
|
+
bundle config --local path '.bundle'
|
|
31
|
+
bundle check || bundle install --jobs 4
|
|
32
|
+
|
|
33
|
+
bundle exec appraisal ${{ matrix.rails }} bundle lock
|
|
34
|
+
bundle exec appraisal ${{ matrix.rails }} bundle install --jobs 4
|
|
35
|
+
|
|
36
|
+
- name: Run rspec
|
|
37
|
+
env:
|
|
38
|
+
CI: 1
|
|
39
|
+
run: bundle exec appraisal ${{ matrix.rails }} rspec
|
|
40
|
+
|
|
41
|
+
rspec-on-ruby3:
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
|
|
44
|
+
strategy:
|
|
45
|
+
matrix:
|
|
46
|
+
rails:
|
|
47
|
+
- 6_0_stable
|
|
48
|
+
- 6_1_stable
|
|
49
|
+
|
|
50
|
+
name: Rails ${{ matrix.rails }} on Ruby 3
|
|
51
|
+
|
|
52
|
+
steps:
|
|
53
|
+
- uses: actions/checkout@v2
|
|
54
|
+
|
|
55
|
+
- uses: ruby/setup-ruby@v1
|
|
56
|
+
with:
|
|
57
|
+
ruby-version: 3.0
|
|
58
|
+
|
|
59
|
+
- name: Install dependencies
|
|
60
|
+
run: |
|
|
61
|
+
bundle lock
|
|
62
|
+
bundle config --local path '.bundle'
|
|
63
|
+
bundle check || bundle install --jobs 4
|
|
64
|
+
|
|
65
|
+
bundle exec appraisal ${{ matrix.rails }} bundle lock
|
|
66
|
+
bundle exec appraisal ${{ matrix.rails }} bundle install --jobs 4
|
|
67
|
+
|
|
68
|
+
- name: Run rspec
|
|
69
|
+
env:
|
|
70
|
+
CI: 1
|
|
71
|
+
run: bundle exec appraisal ${{ matrix.rails }} rspec
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
- [#x](https://github.com/kamillle/active_record_encrypted_string/pull/x) Please describe
|
|
4
4
|
|
|
5
|
+
## 1.3.1
|
|
6
|
+
|
|
7
|
+
- [#23](https://github.com/kamillle/active_record_encrypted_string/pull/23) Testing by Ruby3
|
|
8
|
+
- [#20](https://github.com/kamillle/active_record_encrypted_string/pull/20) Run tests by GitHub Actions
|
|
9
|
+
|
|
5
10
|
## 1.3.0
|
|
6
11
|
|
|
7
12
|
- [#13](https://github.com/kamillle/active_record_encrypted_string/pull/16) Override changed_in_place? for handling changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_record_encrypted_string
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kamillle
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -164,7 +164,7 @@ executables: []
|
|
|
164
164
|
extensions: []
|
|
165
165
|
extra_rdoc_files: []
|
|
166
166
|
files:
|
|
167
|
-
- ".
|
|
167
|
+
- ".github/workflows/rspec.yaml"
|
|
168
168
|
- ".gitignore"
|
|
169
169
|
- ".rspec"
|
|
170
170
|
- ".rubocop.yml"
|
|
@@ -193,7 +193,7 @@ metadata:
|
|
|
193
193
|
homepage_uri: https://github.com/kamillle/active_record_encrypted_string
|
|
194
194
|
source_code_uri: https://github.com/kamillle/active_record_encrypted_string
|
|
195
195
|
changelog_uri: https://github.com/kamillle/active_record_encrypted_string/CHANGELOG.md
|
|
196
|
-
post_install_message:
|
|
196
|
+
post_install_message:
|
|
197
197
|
rdoc_options: []
|
|
198
198
|
require_paths:
|
|
199
199
|
- lib
|
|
@@ -208,8 +208,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
208
208
|
- !ruby/object:Gem::Version
|
|
209
209
|
version: '0'
|
|
210
210
|
requirements: []
|
|
211
|
-
rubygems_version: 3.
|
|
212
|
-
signing_key:
|
|
211
|
+
rubygems_version: 3.2.15
|
|
212
|
+
signing_key:
|
|
213
213
|
specification_version: 4
|
|
214
214
|
summary: Generates encrypted_string type that transparently encrypt and decrypt string
|
|
215
215
|
value to ActiveRecord.
|
data/.circleci/config.yml
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
common: &common
|
|
2
|
-
working_directory: ~/workspace
|
|
3
|
-
parallelism: 1
|
|
4
|
-
resource_class: small
|
|
5
|
-
environment:
|
|
6
|
-
CI: 1
|
|
7
|
-
docker:
|
|
8
|
-
- image: circleci/ruby:2.7.1
|
|
9
|
-
steps:
|
|
10
|
-
- checkout
|
|
11
|
-
|
|
12
|
-
- restore_cache:
|
|
13
|
-
keys:
|
|
14
|
-
- bundle-v1-{{ checksum "active_record_encrypted_string.gemspec" }}
|
|
15
|
-
- bundle-v1-
|
|
16
|
-
|
|
17
|
-
- run:
|
|
18
|
-
name: Build gem dependencies
|
|
19
|
-
command: |
|
|
20
|
-
bundle lock
|
|
21
|
-
bundle config --local path '.bundle'
|
|
22
|
-
bundle check || bundle install --jobs 4
|
|
23
|
-
|
|
24
|
-
bundle exec appraisal ${RAILS_VERSION} bundle lock
|
|
25
|
-
bundle exec appraisal ${RAILS_VERSION} bundle install --jobs 4
|
|
26
|
-
bundle exec appraisal ${RAILS_VERSION} bundle clean
|
|
27
|
-
|
|
28
|
-
- save_cache:
|
|
29
|
-
key: bundle-v1-{{ checksum "active_record_encrypted_string.gemspec" }}
|
|
30
|
-
paths:
|
|
31
|
-
- active_record_encrypted_string/gemfiles/.bundle
|
|
32
|
-
|
|
33
|
-
- run:
|
|
34
|
-
name: Run tests
|
|
35
|
-
command: bundle exec appraisal ${RAILS_VERSION} rspec
|
|
36
|
-
|
|
37
|
-
version: 2.1
|
|
38
|
-
jobs:
|
|
39
|
-
build_and_test_rails_5_0:
|
|
40
|
-
<<: *common
|
|
41
|
-
environment:
|
|
42
|
-
RAILS_VERSION: 5_0_stable
|
|
43
|
-
|
|
44
|
-
build_and_test_rails_5_1:
|
|
45
|
-
<<: *common
|
|
46
|
-
environment:
|
|
47
|
-
RAILS_VERSION: 5_1_stable
|
|
48
|
-
|
|
49
|
-
build_and_test_rails_5_2:
|
|
50
|
-
<<: *common
|
|
51
|
-
environment:
|
|
52
|
-
RAILS_VERSION: 5_2_stable
|
|
53
|
-
|
|
54
|
-
build_and_test_rails_6_0:
|
|
55
|
-
<<: *common
|
|
56
|
-
environment:
|
|
57
|
-
RAILS_VERSION: 6_0_stable
|
|
58
|
-
|
|
59
|
-
build_and_test_rails_6_1:
|
|
60
|
-
<<: *common
|
|
61
|
-
environment:
|
|
62
|
-
RAILS_VERSION: 6_1_stable
|
|
63
|
-
|
|
64
|
-
workflows:
|
|
65
|
-
version: 2
|
|
66
|
-
build-and-test:
|
|
67
|
-
jobs:
|
|
68
|
-
- build_and_test_rails_5_0
|
|
69
|
-
- build_and_test_rails_5_1
|
|
70
|
-
- build_and_test_rails_5_2
|
|
71
|
-
- build_and_test_rails_6_0
|
|
72
|
-
- build_and_test_rails_6_1
|