cloudformation-tool 1.3.2 → 1.3.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac8bc28255ed8a46ba9d00263b2f1f5f623e54e42def8fa4b3a9a9cccfec8dc5
4
- data.tar.gz: 15ff071575bbd2c6b3eddb855dab27a451290dca42bb82d8d979395fd9985b22
3
+ metadata.gz: cf743c1435279da320c97cda190fe35def28caca80c55a11a989907f1e89b651
4
+ data.tar.gz: 767c257e21e7b6b0870a42a4f4558eafc664a9fbc6682818ad770ca2db2da696
5
5
  SHA512:
6
- metadata.gz: 6f8368e7efa49dfc08beb3279262c39c2b1203a81e13b428e831bf2227de363a888cdbdcdc3e14d12d45ff07ff6969d83138746831364a4f625de80647e36a82
7
- data.tar.gz: 83543cf446c340aade8e2de9e303db2069f2dfb6bf472bb68200b8ce25d8f183ad65b550bb51242571a21557c47e78621a76201995d2c6734e323ecbb4c542af
6
+ metadata.gz: 2f3b41048e82ce751e3c8a662a821d5174beaa1747fe7c7f61851395b544eef40e1309708acfd22481e51d4e4dcd4b96e4f875223a26953d76bc5c37e659d932
7
+ data.tar.gz: 7ecc1837752642964bcf0d3942d137cc80201f78355a2e84cfd3cca1c821be240811b45eab432ad8daa130983eb67f6b0a4bf6ee5f1be50cff1b8163ae958f88
@@ -45,7 +45,7 @@ module CloudFormationTool
45
45
  def encode(allow_gzip = true)
46
46
  yamlout = compile
47
47
  usegzip = false
48
- if allow_gzip and yamlout.size > 16384 # max AWS EC2 user data size - try compressing it
48
+ if allow_gzip and yamlout.size > 16000 # max AWS EC2 user data size - try compressing it
49
49
  yamlout = Zlib::Deflate.new(nil, 31).deflate(yamlout, Zlib::FINISH) # 31 is the magic word to have deflate create a gzip compatible header
50
50
  usegzip = true
51
51
  end
@@ -1,3 +1,3 @@
1
1
  module CloudFormationTool
2
- VERSION = '1.3.2'
2
+ VERSION = '1.3.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudformation-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Arbel