cfdef 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -30
  3. data/cfdef.gemspec +1 -1
  4. data/lib/cfdef/version.rb +1 -1
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0909b1b9f166833357a105d0cb0fc21ce99eb9d1
4
- data.tar.gz: 75fad2e020db895d135a3b7220b1439029c94ed5
3
+ metadata.gz: 451d16dc2a0816aa87fa13ef5697368325fb738d
4
+ data.tar.gz: e104843135df153c1713190a793d34414a3d0b65
5
5
  SHA512:
6
- metadata.gz: d3b09a739c589ff187b124e299280e4cda0b9242955c8dda3768dfead4c173287140d15936831793ab509ea7274202f177e86f7ab17ea89f77f035f4c63c14bb
7
- data.tar.gz: 53034fad297c334a37523d1bef9ce4bf77ff077e1edf68fb06ee3a2f048ce4fc0baf3c6246c34d216eaa03b527036a586450b74c8efe686c4ff58138b26834e0
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 Cffile # export CloudFront
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
- id "Custom-ehxample.cpm"
68
- domain_name "example.cpm"
69
- origin_path ""
70
- custom_headers do
71
- quantity 0
72
- end
73
- custom_origin_config do
74
- http_port 80
75
- https_port 443
76
- origin_protocol_policy "http-only"
77
- origin_ssl_protocols do
78
- quantity 3
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.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
@@ -1,3 +1,3 @@
1
1
  module Cfdef
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
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.0
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.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.3
54
+ version: 0.3.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: term-ansicolor
57
57
  requirement: !ruby/object:Gem::Requirement