attr_vault 2.1.1 → 2.1.2

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
- SHA1:
3
- metadata.gz: 961bb7e241fe0bf69a0d3e03a089538c47f29356
4
- data.tar.gz: 9d0068bfb1fff328b1cdd3a123907ef3beeef446
2
+ SHA256:
3
+ metadata.gz: 338e1432cc70095ee760e6e7a1aa225ca8fd30b787eb04970dad77481fff5d25
4
+ data.tar.gz: bd3c6918a9d121967facf8868fd8e41b1aef9d22b8ffbf0e12ebb37b20ca7dfa
5
5
  SHA512:
6
- metadata.gz: b9cee6187a7e7477b6ee78e364c1aefc983bea3eaf7243e2d11d9baab20b15b2e3901800eff9e75f9e1b91f6bc0f05e885bf7bcf6b5d6a95b4812172f843f1d6
7
- data.tar.gz: f72f6509dc4fca01298976bbfddde3609e4b36bae8e54d584ae8f1d1121d4dae77eaef11af329f322ed630143efedc08915ec34f907ad56523ed432177dad0cc
6
+ metadata.gz: 86a8b5da4de9bfd8f236e3029e02d598dffb18999d407241ef8f99737ec7d493a921b96f8f2dbc2ec6cd3c29bbd56ea40e4579a589fa637f5a41d25455279d6d
7
+ data.tar.gz: 67c66eec7cc52b7ba1aeb355578c2de4c78e052e42e9ff55c21a048ef3ba33d8ec29e78b31c5342c3aec9e5ecb2b57238457ee7617fe93b9ace2da18de10704a
@@ -0,0 +1,32 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ ruby: [2.7]
15
+ pg: [10, 11, 12, 13]
16
+ runs-on: ubuntu-latest
17
+ continue-on-error: ${{ matrix.ruby == 'debug' }}
18
+
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ - uses: ruby/setup-ruby@v1
22
+ with:
23
+ bundler-cache: true
24
+ ruby-version: ${{ matrix.ruby }}
25
+ - uses: Daniel-Marynicz/postgresql-action@0.1.0
26
+ with:
27
+ postgres_image_tag: ${{ matrix.pg }}
28
+ postgres_db: attr_vault
29
+ postgres_password: hunter2
30
+
31
+ - run: bundle install
32
+ - run: DATABASE_URL="postgres://postgres:hunter2@localhost/attr_vault" bundle exec rspec
@@ -1 +1 @@
1
- 2.4.2
1
+ 2.7.1
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- ruby '2.4.2'
3
+ ruby '2.7.1'
4
4
 
5
5
  # Specify your gem's dependencies in attr_vault.gemspec
6
6
  gemspec
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- attr_vault (2.1.1)
4
+ attr_vault (2.1.2)
5
5
  pg (>= 0.18)
6
6
  sequel (>= 4.13, < 6.0)
7
7
 
@@ -9,7 +9,7 @@ GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  diff-lcs (1.2.5)
12
- pg (1.0.0)
12
+ pg (1.1.4)
13
13
  rspec (3.1.0)
14
14
  rspec-core (~> 3.1.0)
15
15
  rspec-expectations (~> 3.1.0)
@@ -22,7 +22,7 @@ GEM
22
22
  rspec-mocks (3.1.3)
23
23
  rspec-support (~> 3.1.0)
24
24
  rspec-support (3.1.2)
25
- sequel (5.7.1)
25
+ sequel (5.36.0)
26
26
 
27
27
  PLATFORMS
28
28
  ruby
@@ -32,7 +32,7 @@ DEPENDENCIES
32
32
  rspec (~> 3.0)
33
33
 
34
34
  RUBY VERSION
35
- ruby 2.4.2p198
35
+ ruby 2.7.1p83
36
36
 
37
37
  BUNDLED WITH
38
- 1.16.1
38
+ 2.1.4
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/uhoh-itsmaciek/attr_vault.svg)](https://travis-ci.org/uhoh-itsmaciek/attr_vault)
1
+ ![CI](https://github.com/uhoh-itsmaciek/attr_vault/workflows/CI/badge.svg)
2
2
 
3
3
  # AttrVault
4
4
 
@@ -74,7 +74,7 @@ module AttrVault
74
74
  end
75
75
 
76
76
  def vault_attr(name, opts={})
77
- attr = VaultAttr.new(name, opts)
77
+ attr = VaultAttr.new(name, **opts)
78
78
  self.vault_attrs << attr
79
79
 
80
80
  define_method(name) do
@@ -1,3 +1,3 @@
1
1
  module AttrVault
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attr_vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciek Sakrejda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-21 00:00:00.000000000 Z
11
+ date: 2020-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -65,8 +65,8 @@ executables: []
65
65
  extensions: []
66
66
  extra_rdoc_files: []
67
67
  files:
68
+ - ".github/workflows/ci.yml"
68
69
  - ".ruby-version"
69
- - ".travis.yml"
70
70
  - Gemfile
71
71
  - Gemfile.lock
72
72
  - LICENSE
@@ -102,8 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubyforge_project:
106
- rubygems_version: 2.6.13
105
+ rubygems_version: 3.1.2
107
106
  signing_key:
108
107
  specification_version: 4
109
108
  summary: Sequel plugin for encryption at rest
@@ -1,10 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- before_script: createdb -U postgres attr_vault
4
- dist: trusty
5
- sudo: false
6
- script: DATABASE_URL="postgres:///attr_vault" bundle exec rspec
7
- addons:
8
- postgresql: "9.6"
9
- notifications:
10
- email: false