ruby_docx_beta 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: a703b05a69c535820ab85d3ddda3d061581d0157
4
- data.tar.gz: a1a0b4fbfa7bba150ca63852ac5be2ce7cc0eae4
3
+ metadata.gz: b29ef475dc16a2903fe6d9e6b85d319c96c8c176
4
+ data.tar.gz: 8408511decb255a294b98833d256e0f7bdff72c6
5
5
  SHA512:
6
- metadata.gz: 7d3d433f41f4fe9e59ef36a864f13dc687f8f42b5033563336a62eba7730cdc921a175dd289c56f09cf4c0129739c40ab503895726572db7fa69b0a3a6571d0b
7
- data.tar.gz: f159855b5215e38bf3e5685a627ca6933a2238e00a0e38e8cc5732cc44536e410ba7cc7f7ad6b63b05e51de823a6b615318995146a7ec527ac82d9a5ebf8a418
6
+ metadata.gz: 25e9cf9c0699f972fcd3c020842e3e1cbf620dd4853e8d5b64a942bf7b80cd5775bf026bd1af47b76fd3221dc57a9291f167077c789b089f05f62c315fd310cc
7
+ data.tar.gz: d2b094cb72b76f7a816a9968410650fd493d295bfd070d1ad553d2f95f8a8bca21223bee0acba4a878e4c7ae0567aae27e80e999b3e15a4fd61e926738d6cbb5
@@ -44,7 +44,7 @@ module RubyDocx::Elements
44
44
 
45
45
  def style
46
46
  if self.size
47
- "width: #{self.size[0]}px; height: #{self.size[0]}px;"
47
+ "width: #{self.size[0]}px; height: #{self.size[1]}px;"
48
48
  else
49
49
  ""
50
50
  end
@@ -82,7 +82,7 @@ module RubyDocx::Elements
82
82
 
83
83
  def style
84
84
  if self.size
85
- "width: #{self.size[0]}px; height: #{self.size[0]}px;"
85
+ "width: #{self.size[0]}px; height: #{self.size[1]}px;"
86
86
  else
87
87
  nil
88
88
  end
@@ -1,3 +1,3 @@
1
1
  module RubyDocx
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_docx_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joey Lin