cfdef 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 +4 -4
- data/README.md +31 -30
- data/cfdef.gemspec +1 -1
- data/lib/cfdef/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 451d16dc2a0816aa87fa13ef5697368325fb738d
|
4
|
+
data.tar.gz: e104843135df153c1713190a793d34414a3d0b65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d965344e4bc87beac45217ee90b66a74a2581a243b0e646e4af760f1c914f69dbd43f82191d9d3c7472c509326babc64a5e022bdad6e1aabb5e09758ed100e31
|
7
|
+
data.tar.gz: fefff5753d08752e60793beef57f5072f5a2c3d18138ccac8871509521e1597bc9a96ea39fb4761b8a187c2e0d891d7f1f54cd4d251b74c7d0af8f09c4343a65
|
data/README.md
CHANGED
@@ -25,7 +25,7 @@ Or install it yourself as:
|
|
25
25
|
```sh
|
26
26
|
export AWS_ACCESS_KEY_ID='...'
|
27
27
|
export AWS_SECRET_ACCESS_KEY='...'
|
28
|
-
cfdef -e -o
|
28
|
+
cfdef -e -o CFfile # export CloudFront
|
29
29
|
vi CFfile
|
30
30
|
cfdef -a --dry-run
|
31
31
|
cfdef -a # apply `CFfile`
|
@@ -62,36 +62,34 @@ distribution "EXAMPLEID" do
|
|
62
62
|
end
|
63
63
|
origins do
|
64
64
|
quantity 2
|
65
|
-
items
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
items "TLSv1", "TLSv1.1", "TLSv1.2"
|
80
|
-
end
|
81
|
-
end
|
82
|
-
},
|
83
|
-
_{
|
84
|
-
id "S3-example"
|
85
|
-
domain_name "example.s3.amazonaws.com"
|
86
|
-
origin_path ""
|
87
|
-
custom_headers do
|
88
|
-
quantity 0
|
89
|
-
end
|
90
|
-
s3_origin_config do
|
91
|
-
origin_access_identity ""
|
65
|
+
items do |*|
|
66
|
+
id "Custom-ehxample.cpm"
|
67
|
+
domain_name "example.cpm"
|
68
|
+
origin_path ""
|
69
|
+
custom_headers do
|
70
|
+
quantity 0
|
71
|
+
end
|
72
|
+
custom_origin_config do
|
73
|
+
http_port 80
|
74
|
+
https_port 443
|
75
|
+
origin_protocol_policy "http-only"
|
76
|
+
origin_ssl_protocols do
|
77
|
+
quantity 3
|
78
|
+
items "TLSv1", "TLSv1.1", "TLSv1.2"
|
92
79
|
end
|
93
|
-
|
94
|
-
|
80
|
+
end
|
81
|
+
end
|
82
|
+
items do |*|
|
83
|
+
id "S3-example"
|
84
|
+
domain_name "example.s3.amazonaws.com"
|
85
|
+
origin_path ""
|
86
|
+
custom_headers do
|
87
|
+
quantity 0
|
88
|
+
end
|
89
|
+
s3_origin_config do
|
90
|
+
origin_access_identity ""
|
91
|
+
end
|
92
|
+
end
|
95
93
|
end
|
96
94
|
default_cache_behavior do
|
97
95
|
target_origin_id "S3-example"
|
@@ -185,3 +183,6 @@ $ cfdef -a
|
|
185
183
|
## ToDo
|
186
184
|
|
187
185
|
* Support Streaming Distribution
|
186
|
+
|
187
|
+
## Similar tools
|
188
|
+
* [Codenize.tools](http://codenize.tools/)
|
data/cfdef.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_dependency 'aws-sdk', '~> 2.3.0'
|
23
23
|
spec.add_dependency 'diffy'
|
24
|
-
spec.add_dependency 'dslh', '>= 0.3.
|
24
|
+
spec.add_dependency 'dslh', '>= 0.3.4'
|
25
25
|
spec.add_dependency 'term-ansicolor'
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler'
|
data/lib/cfdef/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfdef
|
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
|
- winebarrel
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.3.
|
47
|
+
version: 0.3.4
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.3.
|
54
|
+
version: 0.3.4
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: term-ansicolor
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|