s3-secure 0.2.0 → 0.3.0

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: f1ad88f63321e4af144648e693241d144cc7c2b6419473fe2ec27686bfb24ff0
4
- data.tar.gz: 3627287f08716d0363db39cb4e42ac8edb47c2cbba7c6eb9e60a896f2904ee65
3
+ metadata.gz: 2f11b8e84cd1ebb0ec8765311ee00e898d43771d564a1b0e5397d7fcfce3c4b9
4
+ data.tar.gz: 6790be3ac47993e207dee4bff4f59f1847ac7c0cb003166e2bf550fed6118ab8
5
5
  SHA512:
6
- metadata.gz: 355d27a8f752768ce64bf48d1dac8994326f73b39a7209864c458e49fd542b008dc317d9f4f2c9ba94d2523b16b947177290a6a86490fdeb4f1b00d324872ce4
7
- data.tar.gz: 65f51dadda2ad669acad531464ec8a404042b216c78629f2a742966e6bb372d6b722ab686f9d9a6da97b8815901e40fda6eae44cbe6d02a3dafcf48be0eab67b
6
+ metadata.gz: 6dcbd04a00a3a118015fb3228fb79faa2e1d069e5bb5f4af09c253c14b470aeb21f7ad002df444d3fa1263c1c26c7e14f4d384d9b9463239c0c1f3f7a122dc54
7
+ data.tar.gz: b228ed523d193dbb2d4ac153b52aa6e57f848357a69810f232074e9a3313397a9f9abb57da87a101a486f5331975c2d6d21ef3fd656968b0f12c7a4dcd5f72c7
data/.gitignore CHANGED
@@ -14,3 +14,4 @@ spec/reports
14
14
  test/tmp
15
15
  test/version_tmp
16
16
  tmp
17
+ Gemfile.lock
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.3.0]
7
+ - clean up policy_document method interface
8
+
6
9
  ## [0.2.0]
7
10
  - encryption enable: add kms-key option
8
11
 
@@ -10,7 +10,7 @@ class S3Secure::Policy
10
10
 
11
11
  # Returns JSON text
12
12
  # Currently only support adding ForceSSLOnlyAccess document policy.
13
- def policy_document(sid, remove: false)
13
+ def policy_document(sid)
14
14
  enforcer_class = "S3Secure::Policy::Document::#{sid}"
15
15
  enforcer_class += "Remove" if @remove
16
16
  enforcer_class = enforcer_class.constantize # IE: ForceSSLOnlyAccess or ForceSSLOnlyAccessRemove
@@ -1,3 +1,3 @@
1
1
  module S3Secure
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3-secure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
@@ -176,7 +176,6 @@ files:
176
176
  - ".rspec"
177
177
  - CHANGELOG.md
178
178
  - Gemfile
179
- - Gemfile.lock
180
179
  - Guardfile
181
180
  - LICENSE.txt
182
181
  - README.md
@@ -1,89 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- s3-secure (0.1.0)
5
- activesupport
6
- aws-sdk-s3
7
- memoist
8
- rainbow
9
- thor
10
- zeitwerk
11
-
12
- GEM
13
- remote: https://rubygems.org/
14
- specs:
15
- activesupport (6.0.1)
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- zeitwerk (~> 2.2)
21
- aws-eventstream (1.0.3)
22
- aws-partitions (1.240.0)
23
- aws-sdk-core (3.78.0)
24
- aws-eventstream (~> 1.0, >= 1.0.2)
25
- aws-partitions (~> 1, >= 1.239.0)
26
- aws-sigv4 (~> 1.1)
27
- jmespath (~> 1.0)
28
- aws-sdk-kms (1.25.0)
29
- aws-sdk-core (~> 3, >= 3.71.0)
30
- aws-sigv4 (~> 1.1)
31
- aws-sdk-s3 (1.56.0)
32
- aws-sdk-core (~> 3, >= 3.77.0)
33
- aws-sdk-kms (~> 1)
34
- aws-sigv4 (~> 1.1)
35
- aws-sigv4 (1.1.0)
36
- aws-eventstream (~> 1.0, >= 1.0.2)
37
- byebug (11.0.1)
38
- cli_markdown (0.1.0)
39
- codeclimate-test-reporter (1.0.9)
40
- simplecov (<= 0.13)
41
- concurrent-ruby (1.1.5)
42
- diff-lcs (1.3)
43
- docile (1.1.5)
44
- i18n (1.7.0)
45
- concurrent-ruby (~> 1.0)
46
- jmespath (1.4.0)
47
- json (2.2.0)
48
- memoist (0.16.1)
49
- minitest (5.13.0)
50
- rainbow (3.0.0)
51
- rake (13.0.1)
52
- rspec (3.9.0)
53
- rspec-core (~> 3.9.0)
54
- rspec-expectations (~> 3.9.0)
55
- rspec-mocks (~> 3.9.0)
56
- rspec-core (3.9.0)
57
- rspec-support (~> 3.9.0)
58
- rspec-expectations (3.9.0)
59
- diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.9.0)
61
- rspec-mocks (3.9.0)
62
- diff-lcs (>= 1.2.0, < 2.0)
63
- rspec-support (~> 3.9.0)
64
- rspec-support (3.9.0)
65
- simplecov (0.13.0)
66
- docile (~> 1.1.0)
67
- json (>= 1.8, < 3)
68
- simplecov-html (~> 0.10.0)
69
- simplecov-html (0.10.2)
70
- thor (0.20.3)
71
- thread_safe (0.3.6)
72
- tzinfo (1.2.5)
73
- thread_safe (~> 0.1)
74
- zeitwerk (2.2.1)
75
-
76
- PLATFORMS
77
- ruby
78
-
79
- DEPENDENCIES
80
- bundler
81
- byebug
82
- cli_markdown
83
- codeclimate-test-reporter
84
- rake
85
- rspec
86
- s3-secure!
87
-
88
- BUNDLED WITH
89
- 2.0.2