repol 0.1.0 → 0.1.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/README.md +5 -5
- data/exe/repol +2 -2
- data/lib/repol/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b5a22f7bda7680b30bcd7d04ead57c51cbb21a0
|
4
|
+
data.tar.gz: 8f08984c1e09b802e07308e07c759d020deef5ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84f0bd094659043d315cb745b0f8634e7bf6de05876eb62e982adcdbb73a81add63e0cd52f4cbc187ae5285ed8fd4233c2117d99a77956b2add3085a8b3cf921
|
7
|
+
data.tar.gz: 3a6358dbb48013d7c6d85588d288d97d02499cec14d6c642b81e702bdb59f63e85e1a7291661151ad9dfb6a85e36119aade0f59ea3684c319177d27a2eba09a4
|
data/README.md
CHANGED
@@ -25,10 +25,10 @@ Or install it yourself as:
|
|
25
25
|
```sh
|
26
26
|
export AWS_ACCESS_KEY_ID='...'
|
27
27
|
export AWS_SECRET_ACCESS_KEY='...'
|
28
|
-
repol -e -o
|
29
|
-
vi
|
28
|
+
repol -e -o Repolfile # export Repository Policy
|
29
|
+
vi Repolfile
|
30
30
|
repol -a --dry-run
|
31
|
-
repol -a # apply `
|
31
|
+
repol -a # apply `Repolfile`
|
32
32
|
```
|
33
33
|
|
34
34
|
## Help
|
@@ -52,10 +52,10 @@ Usage: repol [options]
|
|
52
52
|
--request-concurrency N
|
53
53
|
```
|
54
54
|
|
55
|
-
##
|
55
|
+
## Repolfile example
|
56
56
|
|
57
57
|
```ruby
|
58
|
-
require 'other/
|
58
|
+
require 'other/repolfile'
|
59
59
|
|
60
60
|
repository "my_ecr_repo" do
|
61
61
|
{"Version"=>"2008-10-17",
|
data/exe/repol
CHANGED
@@ -6,7 +6,7 @@ require 'optparse'
|
|
6
6
|
|
7
7
|
Version = Repol::VERSION
|
8
8
|
|
9
|
-
DEFAULT_FILENAME = '
|
9
|
+
DEFAULT_FILENAME = 'Repolfile'
|
10
10
|
|
11
11
|
MAGIC_COMMENT = <<-EOS
|
12
12
|
# -*- mode: ruby -*-
|
@@ -144,7 +144,7 @@ def main(argv)
|
|
144
144
|
file = options[:file]
|
145
145
|
|
146
146
|
unless File.exist?(file)
|
147
|
-
raise "No
|
147
|
+
raise "No Repolfile found (looking for: #{file})"
|
148
148
|
end
|
149
149
|
|
150
150
|
message = "Apply `#{file}` to Repository Policy"
|
data/lib/repol/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: repol
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|