rails_master_key_kms_decrypter 0.1.0 → 0.1.1

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: 404cfff4aa982f0f310fe54cf113afe2e03136c17c137afd04386d4c9bfadbe8
4
- data.tar.gz: c7a495d2b49ab78610b76ddf2e7268ecc74baeeb453e227256f18720641064ba
3
+ metadata.gz: b8de4f523484ba814038c4f230aecbe1da8d4b2f160cf6842a6bede249b72594
4
+ data.tar.gz: a76fc7fed308355b9cfa49383fbb428c7e32af5c3a27792c333096aeda9357e5
5
5
  SHA512:
6
- metadata.gz: 27794526219712820007cc1097be1e9965efe3a2ba81303b52d4fba38e7797c2369bbcacaa452add8b567168c0d5f94becbc53cf5f9f3545aea7b0e9ae2d7bfa
7
- data.tar.gz: 26cc8a44b4f5f1693415c0de995b424bcca6ea7a0334731f575be50f42d69e7b591e3853100a1dc9accf97f3b902e39558bc17e59c0bf6f9901a347fb85b4578
6
+ metadata.gz: f798b3ff8089d6504a3d860bea7518e5250eaea365b753a977b1eeda830872a40ad661f73347a42812a353e881c47c6767eec367636e822a63c08448a43ebb2a
7
+ data.tar.gz: e48ebc7714c54b4ea56ae7a9ac662e3e7921c2189da1f2fa3c782673cebd94ec50feb51fde966a123d942b96c76f32775e33dc470c7609800c220235bab531ce
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ Gemfile.lock
@@ -3,3 +3,4 @@ language: ruby
3
3
  rvm:
4
4
  - 2.5.0
5
5
  before_install: gem install bundler -v 1.16.1
6
+ script: bundle exec rspec
@@ -0,0 +1,9 @@
1
+ ## 0.1.1
2
+
3
+ - [#1](https://github.com/alpaca-tc/rails_master_key_kms_decrypter/pull/1) Remove useless directory
4
+ - [#2](https://github.com/alpaca-tc/rails_master_key_kms_decrypter/pull/2) Raise exception when failed decrypting
5
+ - [#3](https://github.com/alpaca-tc/rails_master_key_kms_decrypter/pull/3) Setup travis CI
6
+
7
+ ## 0.1.0
8
+
9
+ - First release
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/alpaca-tc/rails_master_key_kms_decrypter.png)](https://travis-ci.org/alpaca-tc/rails_master_key_kms_decrypter)
2
+
1
3
  # RailsMasterKeyKmsDecrypter
2
4
 
3
5
  Dynamic decryptier of encrypted `config/master.key` on EC2.
@@ -29,8 +29,6 @@ module RailsMasterKeyKmsDecrypter
29
29
 
30
30
  def from_encrypted_key(value)
31
31
  decrypt_master_key(value) if value
32
- rescue StandardError
33
- nil
34
32
  end
35
33
 
36
34
  def decrypt_master_key(value)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsMasterKeyKmsDecrypter
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_master_key_kms_decrypter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - alpaca-tc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-22 00:00:00.000000000 Z
11
+ date: 2018-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms
@@ -106,13 +106,11 @@ files:
106
106
  - ".rubocop.yml"
107
107
  - ".spec_helper"
108
108
  - ".travis.yml"
109
+ - CHANGELOG.md
109
110
  - Gemfile
110
- - Gemfile.lock
111
111
  - LICENSE.txt
112
112
  - README.md
113
113
  - Rakefile
114
- - bin/console
115
- - bin/setup
116
114
  - lib/rails_master_key_kms_decrypter.rb
117
115
  - lib/rails_master_key_kms_decrypter/decryption.rb
118
116
  - lib/rails_master_key_kms_decrypter/kms_encrypted_configuration.rb
@@ -1,174 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rails_master_key_kms_decrypter (0.1.0)
5
- aws-sdk-kms
6
- rails (>= 5.2.0.rc1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actioncable (5.2.0.rc1)
12
- actionpack (= 5.2.0.rc1)
13
- nio4r (~> 2.0)
14
- websocket-driver (>= 0.6.1)
15
- actionmailer (5.2.0.rc1)
16
- actionpack (= 5.2.0.rc1)
17
- actionview (= 5.2.0.rc1)
18
- activejob (= 5.2.0.rc1)
19
- mail (~> 2.5, >= 2.5.4)
20
- rails-dom-testing (~> 2.0)
21
- actionpack (5.2.0.rc1)
22
- actionview (= 5.2.0.rc1)
23
- activesupport (= 5.2.0.rc1)
24
- rack (~> 2.0)
25
- rack-test (>= 0.6.3)
26
- rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.2.0.rc1)
29
- activesupport (= 5.2.0.rc1)
30
- builder (~> 3.1)
31
- erubi (~> 1.4)
32
- rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.2.0.rc1)
35
- activesupport (= 5.2.0.rc1)
36
- globalid (>= 0.3.6)
37
- activemodel (5.2.0.rc1)
38
- activesupport (= 5.2.0.rc1)
39
- activerecord (5.2.0.rc1)
40
- activemodel (= 5.2.0.rc1)
41
- activesupport (= 5.2.0.rc1)
42
- arel (>= 9.0)
43
- activestorage (5.2.0.rc1)
44
- actionpack (= 5.2.0.rc1)
45
- activerecord (= 5.2.0.rc1)
46
- marcel (~> 0.3.1)
47
- activesupport (5.2.0.rc1)
48
- concurrent-ruby (~> 1.0, >= 1.0.2)
49
- i18n (~> 0.7)
50
- minitest (~> 5.1)
51
- tzinfo (~> 1.1)
52
- arel (9.0.0)
53
- ast (2.4.0)
54
- aws-partitions (1.63.0)
55
- aws-sdk-core (3.15.0)
56
- aws-partitions (~> 1.0)
57
- aws-sigv4 (~> 1.0)
58
- jmespath (~> 1.0)
59
- aws-sdk-kms (1.5.0)
60
- aws-sdk-core (~> 3)
61
- aws-sigv4 (~> 1.0)
62
- aws-sigv4 (1.0.2)
63
- builder (3.2.3)
64
- coderay (1.1.2)
65
- concurrent-ruby (1.0.5)
66
- crass (1.0.3)
67
- diff-lcs (1.3)
68
- erubi (1.7.0)
69
- globalid (0.4.1)
70
- activesupport (>= 4.2.0)
71
- i18n (0.9.5)
72
- concurrent-ruby (~> 1.0)
73
- jmespath (1.3.1)
74
- loofah (2.2.0)
75
- crass (~> 1.0.2)
76
- nokogiri (>= 1.5.9)
77
- mail (2.7.0)
78
- mini_mime (>= 0.1.1)
79
- marcel (0.3.1)
80
- mimemagic (~> 0.3.2)
81
- method_source (0.9.0)
82
- mimemagic (0.3.2)
83
- mini_mime (1.0.0)
84
- mini_portile2 (2.3.0)
85
- minitest (5.11.3)
86
- nio4r (2.2.0)
87
- nokogiri (1.8.2)
88
- mini_portile2 (~> 2.3.0)
89
- parallel (1.12.1)
90
- parser (2.5.0.0)
91
- ast (~> 2.4.0)
92
- powerpack (0.1.1)
93
- pry (0.11.3)
94
- coderay (~> 1.1.0)
95
- method_source (~> 0.9.0)
96
- rack (2.0.4)
97
- rack-test (0.8.2)
98
- rack (>= 1.0, < 3)
99
- rails (5.2.0.rc1)
100
- actioncable (= 5.2.0.rc1)
101
- actionmailer (= 5.2.0.rc1)
102
- actionpack (= 5.2.0.rc1)
103
- actionview (= 5.2.0.rc1)
104
- activejob (= 5.2.0.rc1)
105
- activemodel (= 5.2.0.rc1)
106
- activerecord (= 5.2.0.rc1)
107
- activestorage (= 5.2.0.rc1)
108
- activesupport (= 5.2.0.rc1)
109
- bundler (>= 1.3.0)
110
- railties (= 5.2.0.rc1)
111
- sprockets-rails (>= 2.0.0)
112
- rails-dom-testing (2.0.3)
113
- activesupport (>= 4.2.0)
114
- nokogiri (>= 1.6)
115
- rails-html-sanitizer (1.0.3)
116
- loofah (~> 2.0)
117
- railties (5.2.0.rc1)
118
- actionpack (= 5.2.0.rc1)
119
- activesupport (= 5.2.0.rc1)
120
- method_source
121
- rake (>= 0.8.7)
122
- thor (>= 0.18.1, < 2.0)
123
- rainbow (3.0.0)
124
- rake (10.5.0)
125
- rspec (3.7.0)
126
- rspec-core (~> 3.7.0)
127
- rspec-expectations (~> 3.7.0)
128
- rspec-mocks (~> 3.7.0)
129
- rspec-core (3.7.1)
130
- rspec-support (~> 3.7.0)
131
- rspec-expectations (3.7.0)
132
- diff-lcs (>= 1.2.0, < 2.0)
133
- rspec-support (~> 3.7.0)
134
- rspec-mocks (3.7.0)
135
- diff-lcs (>= 1.2.0, < 2.0)
136
- rspec-support (~> 3.7.0)
137
- rspec-support (3.7.1)
138
- rubocop (0.52.1)
139
- parallel (~> 1.10)
140
- parser (>= 2.4.0.2, < 3.0)
141
- powerpack (~> 0.1)
142
- rainbow (>= 2.2.2, < 4.0)
143
- ruby-progressbar (~> 1.7)
144
- unicode-display_width (~> 1.0, >= 1.0.1)
145
- ruby-progressbar (1.9.0)
146
- sprockets (3.7.1)
147
- concurrent-ruby (~> 1.0)
148
- rack (> 1, < 3)
149
- sprockets-rails (3.2.1)
150
- actionpack (>= 4.0)
151
- activesupport (>= 4.0)
152
- sprockets (>= 3.0.0)
153
- thor (0.20.0)
154
- thread_safe (0.3.6)
155
- tzinfo (1.2.5)
156
- thread_safe (~> 0.1)
157
- unicode-display_width (1.3.0)
158
- websocket-driver (0.7.0)
159
- websocket-extensions (>= 0.1.0)
160
- websocket-extensions (0.1.3)
161
-
162
- PLATFORMS
163
- ruby
164
-
165
- DEPENDENCIES
166
- bundler (~> 1.16)
167
- pry
168
- rails_master_key_kms_decrypter!
169
- rake (~> 10.0)
170
- rspec (~> 3.0)
171
- rubocop
172
-
173
- BUNDLED WITH
174
- 1.16.1
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "rails_master_key_kms_decrypter"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here