rubyXL 3.4.17 → 3.4.18

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.
Files changed (400) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +50 -29
  4. data/README.rdoc +6 -3
  5. data/Rakefile +3 -3
  6. data/VERSION +1 -1
  7. data/lib/rubyXL/convenience_methods/worksheet.rb +44 -39
  8. data/rdoc/README_rdoc.html +9 -5
  9. data/rdoc/RubyXL.html +2 -2
  10. data/rdoc/RubyXL/AExtension.html +2 -2
  11. data/rdoc/RubyXL/AExtensionStorageArea.html +2 -2
  12. data/rdoc/RubyXL/ActiveX.html +2 -2
  13. data/rdoc/RubyXL/ActiveXBinary.html +2 -2
  14. data/rdoc/RubyXL/AdjustHandleList.html +2 -2
  15. data/rdoc/RubyXL/Alignment.html +2 -2
  16. data/rdoc/RubyXL/AlternateContent.html +2 -2
  17. data/rdoc/RubyXL/Authors.html +2 -2
  18. data/rdoc/RubyXL/AutoFilter.html +2 -2
  19. data/rdoc/RubyXL/AutoFilterColumn.html +2 -2
  20. data/rdoc/RubyXL/BinaryImageFile.html +2 -2
  21. data/rdoc/RubyXL/BodyProperties.html +2 -2
  22. data/rdoc/RubyXL/BooleanNode.html +2 -2
  23. data/rdoc/RubyXL/BooleanValue.html +2 -2
  24. data/rdoc/RubyXL/Border.html +2 -2
  25. data/rdoc/RubyXL/BorderEdge.html +2 -2
  26. data/rdoc/RubyXL/Borders.html +2 -2
  27. data/rdoc/RubyXL/Break.html +2 -2
  28. data/rdoc/RubyXL/BreakList.html +2 -2
  29. data/rdoc/RubyXL/CT_AdjPoint2D.html +2 -2
  30. data/rdoc/RubyXL/CT_AlphaBiLevelEffect.html +2 -2
  31. data/rdoc/RubyXL/CT_AlphaModulateEffect.html +2 -2
  32. data/rdoc/RubyXL/CT_AlphaModulateFixedEffect.html +2 -2
  33. data/rdoc/RubyXL/CT_AlphaOutsetEffect.html +2 -2
  34. data/rdoc/RubyXL/CT_AlphaReplaceEffect.html +2 -2
  35. data/rdoc/RubyXL/CT_Backdrop.html +2 -2
  36. data/rdoc/RubyXL/CT_Bevel.html +2 -2
  37. data/rdoc/RubyXL/CT_BiLevelEffect.html +2 -2
  38. data/rdoc/RubyXL/CT_BlendEffect.html +2 -2
  39. data/rdoc/RubyXL/CT_Blip.html +2 -2
  40. data/rdoc/RubyXL/CT_BlipFillProperties.html +2 -2
  41. data/rdoc/RubyXL/CT_BlurEffect.html +2 -2
  42. data/rdoc/RubyXL/CT_Camera.html +2 -2
  43. data/rdoc/RubyXL/CT_Color.html +2 -2
  44. data/rdoc/RubyXL/CT_ColorChangeEffect.html +2 -2
  45. data/rdoc/RubyXL/CT_ColorMapping.html +2 -2
  46. data/rdoc/RubyXL/CT_ColorScheme.html +2 -2
  47. data/rdoc/RubyXL/CT_ColorSchemeAndMapping.html +2 -2
  48. data/rdoc/RubyXL/CT_ConnectionSite.html +2 -2
  49. data/rdoc/RubyXL/CT_ConnectionSiteList.html +2 -2
  50. data/rdoc/RubyXL/CT_DashStop.html +2 -2
  51. data/rdoc/RubyXL/CT_DashStopList.html +2 -2
  52. data/rdoc/RubyXL/CT_DefaultShapeDefinition.html +2 -2
  53. data/rdoc/RubyXL/CT_DuotoneEffect.html +2 -2
  54. data/rdoc/RubyXL/CT_EffectContainer.html +2 -2
  55. data/rdoc/RubyXL/CT_EffectList.html +2 -2
  56. data/rdoc/RubyXL/CT_EffectReference.html +2 -2
  57. data/rdoc/RubyXL/CT_EffectStyleItem.html +2 -2
  58. data/rdoc/RubyXL/CT_EffectStyleList.html +2 -2
  59. data/rdoc/RubyXL/CT_EmbeddedWAVAudioFile.html +2 -2
  60. data/rdoc/RubyXL/CT_FillEffect.html +2 -2
  61. data/rdoc/RubyXL/CT_FillOverlayEffect.html +2 -2
  62. data/rdoc/RubyXL/CT_FillStyleList.html +2 -2
  63. data/rdoc/RubyXL/CT_FlatText.html +2 -2
  64. data/rdoc/RubyXL/CT_FontCollection.html +2 -2
  65. data/rdoc/RubyXL/CT_FontReference.html +2 -2
  66. data/rdoc/RubyXL/CT_GeomGuideList.html +2 -2
  67. data/rdoc/RubyXL/CT_GlowEffect.html +2 -2
  68. data/rdoc/RubyXL/CT_GradientFillProperties.html +2 -2
  69. data/rdoc/RubyXL/CT_GradientStop.html +2 -2
  70. data/rdoc/RubyXL/CT_GradientStopList.html +2 -2
  71. data/rdoc/RubyXL/CT_HSLEffect.html +2 -2
  72. data/rdoc/RubyXL/CT_HslColor.html +2 -2
  73. data/rdoc/RubyXL/CT_Hyperlink.html +2 -2
  74. data/rdoc/RubyXL/CT_InnerShadowEffect.html +2 -2
  75. data/rdoc/RubyXL/CT_LightRig.html +2 -2
  76. data/rdoc/RubyXL/CT_LineEndProperties.html +2 -2
  77. data/rdoc/RubyXL/CT_LineJoinMiterProperties.html +2 -2
  78. data/rdoc/RubyXL/CT_LineProperties.html +2 -2
  79. data/rdoc/RubyXL/CT_LineStyleList.html +2 -2
  80. data/rdoc/RubyXL/CT_LinearShadeProperties.html +2 -2
  81. data/rdoc/RubyXL/CT_LuminanceEffect.html +2 -2
  82. data/rdoc/RubyXL/CT_ObjectStyleDefaults.html +2 -2
  83. data/rdoc/RubyXL/CT_OuterShadowEffect.html +2 -2
  84. data/rdoc/RubyXL/CT_Path2D.html +2 -2
  85. data/rdoc/RubyXL/CT_Path2DArcTo.html +2 -2
  86. data/rdoc/RubyXL/CT_Path2DCubicBezierTo.html +2 -2
  87. data/rdoc/RubyXL/CT_Path2DList.html +2 -2
  88. data/rdoc/RubyXL/CT_Path2DQuadBezierTo.html +2 -2
  89. data/rdoc/RubyXL/CT_Path2DTo.html +2 -2
  90. data/rdoc/RubyXL/CT_PathShadeProperties.html +2 -2
  91. data/rdoc/RubyXL/CT_PatternFillProperties.html +2 -2
  92. data/rdoc/RubyXL/CT_Point3D.html +2 -2
  93. data/rdoc/RubyXL/CT_PolarAdjustHandle.html +2 -2
  94. data/rdoc/RubyXL/CT_PresetColor.html +2 -2
  95. data/rdoc/RubyXL/CT_PresetLineDashProperties.html +2 -2
  96. data/rdoc/RubyXL/CT_PresetShadowEffect.html +2 -2
  97. data/rdoc/RubyXL/CT_PresetTextShape.html +2 -2
  98. data/rdoc/RubyXL/CT_ReflectionEffect.html +2 -2
  99. data/rdoc/RubyXL/CT_RelativeOffsetEffect.html +2 -2
  100. data/rdoc/RubyXL/CT_RelativeRect.html +2 -2
  101. data/rdoc/RubyXL/CT_SRgbColor.html +2 -2
  102. data/rdoc/RubyXL/CT_ScRgbColor.html +2 -2
  103. data/rdoc/RubyXL/CT_Scene3D.html +2 -2
  104. data/rdoc/RubyXL/CT_SchemeColor.html +2 -2
  105. data/rdoc/RubyXL/CT_Shape3D.html +2 -2
  106. data/rdoc/RubyXL/CT_ShapeStyle.html +2 -2
  107. data/rdoc/RubyXL/CT_SoftEdgesEffect.html +2 -2
  108. data/rdoc/RubyXL/CT_SphereCoords.html +2 -2
  109. data/rdoc/RubyXL/CT_StretchInfoProperties.html +2 -2
  110. data/rdoc/RubyXL/CT_StyleMatrix.html +2 -2
  111. data/rdoc/RubyXL/CT_StyleMatrixReference.html +2 -2
  112. data/rdoc/RubyXL/CT_SupplementalFont.html +2 -2
  113. data/rdoc/RubyXL/CT_SystemColor.html +2 -2
  114. data/rdoc/RubyXL/CT_TextAutonumberBullet.html +2 -2
  115. data/rdoc/RubyXL/CT_TextBlipBullet.html +2 -2
  116. data/rdoc/RubyXL/CT_TextCharBullet.html +2 -2
  117. data/rdoc/RubyXL/CT_TextCharacterProperties.html +2 -2
  118. data/rdoc/RubyXL/CT_TextFont.html +2 -2
  119. data/rdoc/RubyXL/CT_TextListStyle.html +2 -2
  120. data/rdoc/RubyXL/CT_TextNormalAutofit.html +2 -2
  121. data/rdoc/RubyXL/CT_TextParagraphProperties.html +2 -2
  122. data/rdoc/RubyXL/CT_TextSpacing.html +2 -2
  123. data/rdoc/RubyXL/CT_TextTabStop.html +2 -2
  124. data/rdoc/RubyXL/CT_TextTabStopList.html +2 -2
  125. data/rdoc/RubyXL/CT_TileInfoProperties.html +2 -2
  126. data/rdoc/RubyXL/CT_TintEffect.html +2 -2
  127. data/rdoc/RubyXL/CT_Transform2D.html +2 -2
  128. data/rdoc/RubyXL/CT_TransformEffect.html +2 -2
  129. data/rdoc/RubyXL/CT_Vector3D.html +2 -2
  130. data/rdoc/RubyXL/CT_XYAdjustHandle.html +2 -2
  131. data/rdoc/RubyXL/CalculationChain.html +2 -2
  132. data/rdoc/RubyXL/CalculationChainCell.html +2 -2
  133. data/rdoc/RubyXL/CalculationProperties.html +2 -2
  134. data/rdoc/RubyXL/Cell.html +2 -2
  135. data/rdoc/RubyXL/CellConvenienceMethods.html +2 -2
  136. data/rdoc/RubyXL/CellExt.html +2 -2
  137. data/rdoc/RubyXL/CellSmartTag.html +2 -2
  138. data/rdoc/RubyXL/CellSmartTagProperty.html +2 -2
  139. data/rdoc/RubyXL/CellSmartTags.html +2 -2
  140. data/rdoc/RubyXL/CellStyle.html +2 -2
  141. data/rdoc/RubyXL/CellStyleXFs.html +2 -2
  142. data/rdoc/RubyXL/CellStyles.html +2 -2
  143. data/rdoc/RubyXL/CellValue.html +2 -2
  144. data/rdoc/RubyXL/CellWatch.html +2 -2
  145. data/rdoc/RubyXL/CellWatches.html +2 -2
  146. data/rdoc/RubyXL/CellXFs.html +2 -2
  147. data/rdoc/RubyXL/ChartColorsFile.html +2 -2
  148. data/rdoc/RubyXL/ChartFile.html +2 -2
  149. data/rdoc/RubyXL/ChartStyleFile.html +2 -2
  150. data/rdoc/RubyXL/ChartUserShapesFile.html +2 -2
  151. data/rdoc/RubyXL/Chartsheet.html +2 -2
  152. data/rdoc/RubyXL/ChartsheetPageSetup.html +2 -2
  153. data/rdoc/RubyXL/ChartsheetProperties.html +2 -2
  154. data/rdoc/RubyXL/ChartsheetProtection.html +2 -2
  155. data/rdoc/RubyXL/ChartsheetView.html +2 -2
  156. data/rdoc/RubyXL/ChartsheetViews.html +2 -2
  157. data/rdoc/RubyXL/Color.html +2 -2
  158. data/rdoc/RubyXL/ColorConvenienceClasses.html +2 -2
  159. data/rdoc/RubyXL/ColorConvenienceClasses/HlsColor.html +2 -2
  160. data/rdoc/RubyXL/ColorConvenienceClasses/RgbColor.html +2 -2
  161. data/rdoc/RubyXL/ColorConvenienceMethods.html +2 -2
  162. data/rdoc/RubyXL/ColorFilter.html +2 -2
  163. data/rdoc/RubyXL/ColorScale.html +2 -2
  164. data/rdoc/RubyXL/ColorSet.html +2 -2
  165. data/rdoc/RubyXL/Colors.html +2 -2
  166. data/rdoc/RubyXL/ColumnRange.html +2 -2
  167. data/rdoc/RubyXL/ColumnRanges.html +2 -2
  168. data/rdoc/RubyXL/Comment.html +2 -2
  169. data/rdoc/RubyXL/CommentList.html +2 -2
  170. data/rdoc/RubyXL/CommentsFile.html +2 -2
  171. data/rdoc/RubyXL/ConditionalFormatValue.html +2 -2
  172. data/rdoc/RubyXL/ConditionalFormatting.html +2 -2
  173. data/rdoc/RubyXL/ConditionalFormattingRule.html +2 -2
  174. data/rdoc/RubyXL/Connection.html +2 -2
  175. data/rdoc/RubyXL/ConnectionTable.html +2 -2
  176. data/rdoc/RubyXL/ConnectionTables.html +2 -2
  177. data/rdoc/RubyXL/ConnectionTextField.html +2 -2
  178. data/rdoc/RubyXL/ConnectionTextFields.html +2 -2
  179. data/rdoc/RubyXL/Connections.html +2 -2
  180. data/rdoc/RubyXL/ContentTypeDefault.html +2 -2
  181. data/rdoc/RubyXL/ContentTypeOverride.html +2 -2
  182. data/rdoc/RubyXL/ContentTypes.html +2 -2
  183. data/rdoc/RubyXL/ControlPropertiesFile.html +2 -2
  184. data/rdoc/RubyXL/CorePropertiesFile.html +2 -2
  185. data/rdoc/RubyXL/CustomColor.html +2 -2
  186. data/rdoc/RubyXL/CustomColorList.html +2 -2
  187. data/rdoc/RubyXL/CustomFilter.html +2 -2
  188. data/rdoc/RubyXL/CustomFilters.html +2 -2
  189. data/rdoc/RubyXL/CustomGeometry.html +2 -2
  190. data/rdoc/RubyXL/CustomProperties.html +2 -2
  191. data/rdoc/RubyXL/CustomPropertiesFile.html +2 -2
  192. data/rdoc/RubyXL/CustomProperty.html +2 -2
  193. data/rdoc/RubyXL/CustomPropertyFile.html +2 -2
  194. data/rdoc/RubyXL/CustomSheetView.html +2 -2
  195. data/rdoc/RubyXL/CustomSheetViews.html +2 -2
  196. data/rdoc/RubyXL/CustomWorkbookView.html +2 -2
  197. data/rdoc/RubyXL/CustomWorkbookViews.html +2 -2
  198. data/rdoc/RubyXL/CustomXMLFile.html +2 -2
  199. data/rdoc/RubyXL/DXF.html +2 -2
  200. data/rdoc/RubyXL/DXFs.html +2 -2
  201. data/rdoc/RubyXL/DataBar.html +2 -2
  202. data/rdoc/RubyXL/DataConsolidate.html +2 -2
  203. data/rdoc/RubyXL/DataConsolidationReference.html +2 -2
  204. data/rdoc/RubyXL/DataConsolidationReferences.html +2 -2
  205. data/rdoc/RubyXL/DataType.html +2 -2
  206. data/rdoc/RubyXL/DataValidation.html +2 -2
  207. data/rdoc/RubyXL/DataValidations.html +2 -2
  208. data/rdoc/RubyXL/DateGroupItem.html +2 -2
  209. data/rdoc/RubyXL/DefinedName.html +2 -2
  210. data/rdoc/RubyXL/DefinedNameExt.html +2 -2
  211. data/rdoc/RubyXL/DefinedNames.html +2 -2
  212. data/rdoc/RubyXL/DefinedNamesExt.html +2 -2
  213. data/rdoc/RubyXL/DocumentPropertiesFile.html +2 -2
  214. data/rdoc/RubyXL/DrawingFile.html +2 -2
  215. data/rdoc/RubyXL/DynamicFilter.html +2 -2
  216. data/rdoc/RubyXL/EmbeddedControl.html +2 -2
  217. data/rdoc/RubyXL/EmbeddedControls.html +2 -2
  218. data/rdoc/RubyXL/Extension.html +2 -2
  219. data/rdoc/RubyXL/ExtensionStorageArea.html +2 -2
  220. data/rdoc/RubyXL/Extents.html +2 -2
  221. data/rdoc/RubyXL/ExternalBook.html +2 -2
  222. data/rdoc/RubyXL/ExternalLinksFile.html +2 -2
  223. data/rdoc/RubyXL/ExternalReference.html +2 -2
  224. data/rdoc/RubyXL/ExternalReferences.html +2 -2
  225. data/rdoc/RubyXL/ExtraColorSchemeList.html +2 -2
  226. data/rdoc/RubyXL/FieldItem.html +2 -2
  227. data/rdoc/RubyXL/FileRecoveryProperties.html +2 -2
  228. data/rdoc/RubyXL/FileSharing.html +2 -2
  229. data/rdoc/RubyXL/FileVersion.html +2 -2
  230. data/rdoc/RubyXL/Fill.html +2 -2
  231. data/rdoc/RubyXL/Fills.html +2 -2
  232. data/rdoc/RubyXL/FilterContainer.html +2 -2
  233. data/rdoc/RubyXL/FloatNode.html +2 -2
  234. data/rdoc/RubyXL/FloatValue.html +2 -2
  235. data/rdoc/RubyXL/Font.html +2 -2
  236. data/rdoc/RubyXL/FontConvenienceMethods.html +2 -2
  237. data/rdoc/RubyXL/FontScheme.html +2 -2
  238. data/rdoc/RubyXL/Fonts.html +2 -2
  239. data/rdoc/RubyXL/Formula.html +2 -2
  240. data/rdoc/RubyXL/FunctionGroup.html +2 -2
  241. data/rdoc/RubyXL/FunctionGroups.html +2 -2
  242. data/rdoc/RubyXL/GenericStorageObject.html +2 -2
  243. data/rdoc/RubyXL/GradientFill.html +2 -2
  244. data/rdoc/RubyXL/HeaderFooterSettings.html +2 -2
  245. data/rdoc/RubyXL/Hyperlink.html +2 -2
  246. data/rdoc/RubyXL/HyperlinkRelFile.html +2 -2
  247. data/rdoc/RubyXL/Hyperlinks.html +2 -2
  248. data/rdoc/RubyXL/IconFilter.html +2 -2
  249. data/rdoc/RubyXL/IconSet.html +2 -2
  250. data/rdoc/RubyXL/IgnoredError.html +2 -2
  251. data/rdoc/RubyXL/IgnoredErrors.html +2 -2
  252. data/rdoc/RubyXL/IndexedColors.html +2 -2
  253. data/rdoc/RubyXL/InputCells.html +2 -2
  254. data/rdoc/RubyXL/IntegerNode.html +2 -2
  255. data/rdoc/RubyXL/IntegerValue.html +2 -2
  256. data/rdoc/RubyXL/LegacyCell.html +2 -2
  257. data/rdoc/RubyXL/LegacyWorksheet.html +2 -2
  258. data/rdoc/RubyXL/MRUColors.html +2 -2
  259. data/rdoc/RubyXL/MacrosFile.html +2 -2
  260. data/rdoc/RubyXL/MergedCell.html +2 -2
  261. data/rdoc/RubyXL/MergedCells.html +2 -2
  262. data/rdoc/RubyXL/NumFmt.html +2 -2
  263. data/rdoc/RubyXL/NumberFormat.html +2 -2
  264. data/rdoc/RubyXL/NumberFormats.html +2 -2
  265. data/rdoc/RubyXL/OLEObject.html +2 -2
  266. data/rdoc/RubyXL/OLEObjectFile.html +2 -2
  267. data/rdoc/RubyXL/OLEObjects.html +2 -2
  268. data/rdoc/RubyXL/OLESize.html +2 -2
  269. data/rdoc/RubyXL/OOXMLContainerObject.html +2 -2
  270. data/rdoc/RubyXL/OOXMLIgnored.html +2 -2
  271. data/rdoc/RubyXL/OOXMLObject.html +2 -2
  272. data/rdoc/RubyXL/OOXMLObjectClassMethods.html +2 -2
  273. data/rdoc/RubyXL/OOXMLObjectInstanceMethods.html +2 -2
  274. data/rdoc/RubyXL/OOXMLRelationshipsFile.html +2 -2
  275. data/rdoc/RubyXL/OOXMLTopLevelObject.html +2 -2
  276. data/rdoc/RubyXL/OdbcOleDbProperties.html +2 -2
  277. data/rdoc/RubyXL/Offset.html +2 -2
  278. data/rdoc/RubyXL/OlapProperties.html +2 -2
  279. data/rdoc/RubyXL/OleItem.html +2 -2
  280. data/rdoc/RubyXL/OleItems.html +2 -2
  281. data/rdoc/RubyXL/OleLink.html +2 -2
  282. data/rdoc/RubyXL/OutlineProperties.html +2 -2
  283. data/rdoc/RubyXL/PageMargins.html +2 -2
  284. data/rdoc/RubyXL/PageSetup.html +2 -2
  285. data/rdoc/RubyXL/PageSetupProperties.html +2 -2
  286. data/rdoc/RubyXL/Pane.html +2 -2
  287. data/rdoc/RubyXL/Parser.html +2 -2
  288. data/rdoc/RubyXL/PatternFill.html +2 -2
  289. data/rdoc/RubyXL/PhoneticProperties.html +2 -2
  290. data/rdoc/RubyXL/PhoneticRun.html +2 -2
  291. data/rdoc/RubyXL/PivotArea.html +2 -2
  292. data/rdoc/RubyXL/PivotCache.html +2 -2
  293. data/rdoc/RubyXL/PivotCacheDefinitionFile.html +2 -2
  294. data/rdoc/RubyXL/PivotCacheRecordsFile.html +2 -2
  295. data/rdoc/RubyXL/PivotCaches.html +2 -2
  296. data/rdoc/RubyXL/PivotReference.html +2 -2
  297. data/rdoc/RubyXL/PivotReferences.html +2 -2
  298. data/rdoc/RubyXL/PivotTableFile.html +2 -2
  299. data/rdoc/RubyXL/PivotTableSelection.html +2 -2
  300. data/rdoc/RubyXL/PresetGeometry.html +2 -2
  301. data/rdoc/RubyXL/PrintOptions.html +2 -2
  302. data/rdoc/RubyXL/PrinterSettingsFile.html +2 -2
  303. data/rdoc/RubyXL/ProtectedRange.html +2 -2
  304. data/rdoc/RubyXL/ProtectedRanges.html +2 -2
  305. data/rdoc/RubyXL/Protection.html +2 -2
  306. data/rdoc/RubyXL/QueryParameter.html +2 -2
  307. data/rdoc/RubyXL/QueryParameters.html +2 -2
  308. data/rdoc/RubyXL/QueryTable.html +2 -2
  309. data/rdoc/RubyXL/QueryTableDeletedField.html +2 -2
  310. data/rdoc/RubyXL/QueryTableDeletedFields.html +2 -2
  311. data/rdoc/RubyXL/QueryTableField.html +2 -2
  312. data/rdoc/RubyXL/QueryTableFields.html +2 -2
  313. data/rdoc/RubyXL/QueryTableRefresh.html +2 -2
  314. data/rdoc/RubyXL/RID.html +2 -2
  315. data/rdoc/RubyXL/RawOOXML.html +2 -2
  316. data/rdoc/RubyXL/Reference.html +2 -2
  317. data/rdoc/RubyXL/Relationship.html +2 -2
  318. data/rdoc/RubyXL/RelationshipSupport.html +2 -2
  319. data/rdoc/RubyXL/RelationshipSupport/ClassMehods.html +2 -2
  320. data/rdoc/RubyXL/RevisionPointer.html +2 -2
  321. data/rdoc/RubyXL/RichText.html +2 -2
  322. data/rdoc/RubyXL/RichTextRun.html +2 -2
  323. data/rdoc/RubyXL/Row.html +2 -2
  324. data/rdoc/RubyXL/RowExt.html +2 -2
  325. data/rdoc/RubyXL/RunProperties.html +2 -2
  326. data/rdoc/RubyXL/Scenario.html +2 -2
  327. data/rdoc/RubyXL/Scenarios.html +2 -2
  328. data/rdoc/RubyXL/Selection.html +2 -2
  329. data/rdoc/RubyXL/ShapeGuide.html +2 -2
  330. data/rdoc/RubyXL/ShapeTextRectangle.html +2 -2
  331. data/rdoc/RubyXL/SharedStringsTable.html +2 -2
  332. data/rdoc/RubyXL/Sheet.html +2 -2
  333. data/rdoc/RubyXL/SheetCalculationProperties.html +2 -2
  334. data/rdoc/RubyXL/SheetData.html +2 -2
  335. data/rdoc/RubyXL/SheetDataExt.html +2 -2
  336. data/rdoc/RubyXL/SheetDataSet.html +2 -2
  337. data/rdoc/RubyXL/SheetName.html +2 -2
  338. data/rdoc/RubyXL/SheetNames.html +2 -2
  339. data/rdoc/RubyXL/Sheets.html +2 -2
  340. data/rdoc/RubyXL/SlicerCacheFile.html +2 -2
  341. data/rdoc/RubyXL/SlicerFile.html +2 -2
  342. data/rdoc/RubyXL/SmartTagProperties.html +2 -2
  343. data/rdoc/RubyXL/SmartTagType.html +2 -2
  344. data/rdoc/RubyXL/SmartTagTypes.html +2 -2
  345. data/rdoc/RubyXL/SmartTags.html +2 -2
  346. data/rdoc/RubyXL/SortCondition.html +2 -2
  347. data/rdoc/RubyXL/SortState.html +2 -2
  348. data/rdoc/RubyXL/Sqref.html +2 -2
  349. data/rdoc/RubyXL/Stop.html +2 -2
  350. data/rdoc/RubyXL/StringNode.html +2 -2
  351. data/rdoc/RubyXL/StringNodeW3C.html +2 -2
  352. data/rdoc/RubyXL/StringValue.html +2 -2
  353. data/rdoc/RubyXL/Stylesheet.html +2 -2
  354. data/rdoc/RubyXL/TableFile.html +2 -2
  355. data/rdoc/RubyXL/TableParts.html +2 -2
  356. data/rdoc/RubyXL/TableStyle.html +2 -2
  357. data/rdoc/RubyXL/TableStyles.html +2 -2
  358. data/rdoc/RubyXL/Text.html +2 -2
  359. data/rdoc/RubyXL/TextImportSettings.html +2 -2
  360. data/rdoc/RubyXL/Theme.html +2 -2
  361. data/rdoc/RubyXL/ThemeElements.html +2 -2
  362. data/rdoc/RubyXL/ThumbnailFile.html +2 -2
  363. data/rdoc/RubyXL/Top10.html +2 -2
  364. data/rdoc/RubyXL/VMLDrawingFile.html +2 -2
  365. data/rdoc/RubyXL/Variant.html +2 -2
  366. data/rdoc/RubyXL/Vector.html +2 -2
  367. data/rdoc/RubyXL/VectorValue.html +2 -2
  368. data/rdoc/RubyXL/VisualProperties.html +2 -2
  369. data/rdoc/RubyXL/WebPublishObject.html +2 -2
  370. data/rdoc/RubyXL/WebPublishObjects.html +2 -2
  371. data/rdoc/RubyXL/WebPublishingItem.html +2 -2
  372. data/rdoc/RubyXL/WebPublishingItems.html +2 -2
  373. data/rdoc/RubyXL/WebPublishingProperties.html +2 -2
  374. data/rdoc/RubyXL/WebQueryProperties.html +2 -2
  375. data/rdoc/RubyXL/Workbook.html +2 -2
  376. data/rdoc/RubyXL/WorkbookConvenienceMethods.html +2 -2
  377. data/rdoc/RubyXL/WorkbookProperties.html +2 -2
  378. data/rdoc/RubyXL/WorkbookProtection.html +2 -2
  379. data/rdoc/RubyXL/WorkbookRoot.html +2 -2
  380. data/rdoc/RubyXL/WorkbookView.html +2 -2
  381. data/rdoc/RubyXL/WorkbookViews.html +2 -2
  382. data/rdoc/RubyXL/Worksheet.html +2 -2
  383. data/rdoc/RubyXL/WorksheetConvenienceMethods.html +112 -107
  384. data/rdoc/RubyXL/WorksheetDimensions.html +2 -2
  385. data/rdoc/RubyXL/WorksheetFormatProperties.html +2 -2
  386. data/rdoc/RubyXL/WorksheetProperties.html +2 -2
  387. data/rdoc/RubyXL/WorksheetProtection.html +2 -2
  388. data/rdoc/RubyXL/WorksheetView.html +2 -2
  389. data/rdoc/RubyXL/WorksheetViews.html +2 -2
  390. data/rdoc/RubyXL/XF.html +2 -2
  391. data/rdoc/created.rid +3 -3
  392. data/rdoc/css/rdoc.css +20 -0
  393. data/rdoc/index.html +3 -3
  394. data/rdoc/js/navigation.js.gz +0 -0
  395. data/rdoc/js/search_index.js.gz +0 -0
  396. data/rdoc/js/searcher.js.gz +0 -0
  397. data/rdoc/table_of_contents.html +4 -4
  398. data/rubyXL.gemspec +8 -8
  399. data/spec/lib/worksheet_spec.rb +36 -0
  400. metadata +4 -4
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorksheetDimensions - rubyXL 3.4.17</title>
7
+ <title>class RubyXL::WorksheetDimensions - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -93,7 +93,7 @@
93
93
 
94
94
  <footer id="validator-badges" role="contentinfo">
95
95
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
96
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
96
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
97
97
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
98
  </footer>
99
99
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorksheetFormatProperties - rubyXL 3.4.17</title>
7
+ <title>class RubyXL::WorksheetFormatProperties - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -91,7 +91,7 @@
91
91
 
92
92
  <footer id="validator-badges" role="contentinfo">
93
93
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
94
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
94
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
95
95
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
96
96
  </footer>
97
97
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorksheetProperties - rubyXL 3.4.17</title>
7
+ <title>class RubyXL::WorksheetProperties - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -93,7 +93,7 @@
93
93
 
94
94
  <footer id="validator-badges" role="contentinfo">
95
95
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
96
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
96
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
97
97
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
98
  </footer>
99
99
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorksheetProtection - rubyXL 3.4.17</title>
7
+ <title>class RubyXL::WorksheetProtection - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -93,7 +93,7 @@
93
93
 
94
94
  <footer id="validator-badges" role="contentinfo">
95
95
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
96
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
96
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
97
97
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
98
  </footer>
99
99
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorksheetView - rubyXL 3.4.17</title>
7
+ <title>class RubyXL::WorksheetView - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -93,7 +93,7 @@
93
93
 
94
94
  <footer id="validator-badges" role="contentinfo">
95
95
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
96
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
96
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
97
97
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
98
  </footer>
99
99
 
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::WorksheetViews - rubyXL 3.4.17</title>
7
+ <title>class RubyXL::WorksheetViews - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -93,7 +93,7 @@
93
93
 
94
94
  <footer id="validator-badges" role="contentinfo">
95
95
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
96
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
96
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
97
97
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
98
  </footer>
99
99
 
data/rdoc/RubyXL/XF.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class RubyXL::XF - rubyXL 3.4.17</title>
7
+ <title>class RubyXL::XF - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
@@ -93,7 +93,7 @@
93
93
 
94
94
  <footer id="validator-badges" role="contentinfo">
95
95
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
96
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
96
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
97
97
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
98
  </footer>
99
99
 
data/rdoc/created.rid CHANGED
@@ -1,5 +1,5 @@
1
- Wed, 10 Feb 2021 13:11:42 +0000
2
- README.rdoc Tue, 04 Aug 2020 06:38:32 +0000
1
+ Tue, 03 Aug 2021 21:07:29 +0000
2
+ README.rdoc Tue, 03 Aug 2021 21:03:50 +0000
3
3
  lib/rubyXL.rb Wed, 12 Jun 2019 18:44:04 +0000
4
4
  lib/rubyXL/cell.rb Mon, 25 Feb 2019 21:46:23 +0000
5
5
  lib/rubyXL/convenience_methods.rb Mon, 25 Feb 2019 21:06:24 +0000
@@ -7,7 +7,7 @@ lib/rubyXL/convenience_methods/cell.rb Sat, 24 Oct 2020 01:52:35 +0000
7
7
  lib/rubyXL/convenience_methods/color.rb Wed, 10 Feb 2021 13:08:29 +0000
8
8
  lib/rubyXL/convenience_methods/font.rb Tue, 05 Mar 2019 21:52:31 +0000
9
9
  lib/rubyXL/convenience_methods/workbook.rb Wed, 10 Feb 2021 13:08:45 +0000
10
- lib/rubyXL/convenience_methods/worksheet.rb Wed, 10 Feb 2021 12:11:45 +0000
10
+ lib/rubyXL/convenience_methods/worksheet.rb Tue, 30 Mar 2021 14:57:12 +0000
11
11
  lib/rubyXL/objects/border.rb Mon, 20 Nov 2017 21:42:33 +0000
12
12
  lib/rubyXL/objects/calculation_chain.rb Fri, 22 Nov 2019 20:22:28 +0000
13
13
  lib/rubyXL/objects/cell_style.rb Mon, 25 Feb 2019 21:06:24 +0000
data/rdoc/css/rdoc.css CHANGED
@@ -79,6 +79,25 @@ pre {
79
79
  border-radius: 0.2em;
80
80
  }
81
81
 
82
+ table {
83
+ margin: 0;
84
+ border-spacing: 0;
85
+ border-collapse: collapse;
86
+ }
87
+
88
+ table tr th, table tr td {
89
+ padding: 0.2em 0.4em;
90
+ border: 1px solid #ccc;
91
+ }
92
+
93
+ table tr th {
94
+ background-color: #eceaed;
95
+ }
96
+
97
+ table tr:nth-child(even) td {
98
+ background-color: #f5f4f6;
99
+ }
100
+
82
101
  /* @group Generic Classes */
83
102
 
84
103
  .initially-hidden {
@@ -166,6 +185,7 @@ nav {
166
185
  width: 260px;
167
186
  font-family: Helvetica, sans-serif;
168
187
  font-size: 14px;
188
+ border-right: 1px solid #ccc;
169
189
  }
170
190
 
171
191
  main {
data/rdoc/index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>rubyXL 3.4.17</title>
7
+ <title>rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "./";
@@ -457,13 +457,13 @@
457
457
  </nav>
458
458
 
459
459
  <main role="main">
460
- <p>This is the API documentation for rubyXL 3.4.17.
460
+ <p>This is the API documentation for rubyXL 3.4.18.
461
461
  </main>
462
462
 
463
463
 
464
464
  <footer id="validator-badges" role="contentinfo">
465
465
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
466
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
466
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
467
467
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
468
468
  </footer>
469
469
 
Binary file
Binary file
Binary file
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>Table of Contents - rubyXL 3.4.17</title>
7
+ <title>Table of Contents - rubyXL 3.4.18</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "./";
@@ -23,7 +23,7 @@
23
23
 
24
24
  <body id="top" class="table-of-contents">
25
25
  <main role="main">
26
- <h1 class="class">Table of Contents - rubyXL 3.4.17</h1>
26
+ <h1 class="class">Table of Contents - rubyXL 3.4.18</h1>
27
27
 
28
28
  <h2 id="pages">Pages</h2>
29
29
  <ul>
@@ -69,7 +69,7 @@
69
69
  <li><a href="README_rdoc.html#label-I-2FO">I/O</a>
70
70
  <li><a href="README_rdoc.html#label-Miscellaneous">Miscellaneous</a>
71
71
  <li><a href="README_rdoc.html#label-Suppress+warnings+about+malformed+input+files">Suppress warnings about malformed input files</a>
72
- <li><a href="README_rdoc.html#label-Data+validation+-28-22dropdown+list-22-29">Data validation (“dropdown list”)</a>
72
+ <li><a href="README_rdoc.html#label-Data+validation+-28colloquially+referred+to+as+-22dropdown+list-22-29">Data validation (colloquially referred to as “dropdown list”)</a>
73
73
  <li><a href="README_rdoc.html#label-For+more+information">For more information</a>
74
74
  <li><a href="README_rdoc.html#label-Contributing+to+rubyXL">Contributing to rubyXL</a>
75
75
  <li><a href="README_rdoc.html#label-Copyright">Copyright</a>
@@ -2970,7 +2970,7 @@
2970
2970
 
2971
2971
  <footer id="validator-badges" role="contentinfo">
2972
2972
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
2973
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
2973
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
2974
2974
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
2975
2975
  </footer>
2976
2976
 
data/rubyXL.gemspec CHANGED
@@ -1,17 +1,17 @@
1
- # Generated by jeweler
1
+ # Generated by juwelier
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rubyXL 3.4.17 ruby lib
5
+ # stub: rubyXL 3.4.18 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rubyXL".freeze
9
- s.version = "3.4.17"
9
+ s.version = "3.4.18"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Vivek Bhagwat".freeze, "Wesha".freeze]
14
- s.date = "2021-02-10"
14
+ s.date = "2021-08-03"
15
15
  s.description = "rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents".freeze
16
16
  s.email = "bhagwat.vivek@gmail.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -515,7 +515,7 @@ Gem::Specification.new do |s|
515
515
  ]
516
516
  s.homepage = "http://github.com/gilt/rubyXL".freeze
517
517
  s.licenses = ["MIT".freeze]
518
- s.rubygems_version = "3.1.2".freeze
518
+ s.rubygems_version = "3.1.6".freeze
519
519
  s.summary = "rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft Excel (.xlsx/.xlsm) Documents".freeze
520
520
 
521
521
  if s.respond_to? :specification_version then
@@ -527,7 +527,7 @@ Gem::Specification.new do |s|
527
527
  s.add_runtime_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
528
528
  s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
529
529
  s.add_development_dependency(%q<rake>.freeze, [">= 0"])
530
- s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
530
+ s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
531
531
  s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
532
532
  s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
533
533
  s.add_development_dependency(%q<ruby-prof>.freeze, [">= 0"])
@@ -537,7 +537,7 @@ Gem::Specification.new do |s|
537
537
  s.add_dependency(%q<rubyzip>.freeze, [">= 1.3.0"])
538
538
  s.add_dependency(%q<bundler>.freeze, [">= 0"])
539
539
  s.add_dependency(%q<rake>.freeze, [">= 0"])
540
- s.add_dependency(%q<jeweler>.freeze, [">= 0"])
540
+ s.add_dependency(%q<juwelier>.freeze, [">= 0"])
541
541
  s.add_dependency(%q<rspec>.freeze, [">= 0"])
542
542
  s.add_dependency(%q<simplecov>.freeze, [">= 0"])
543
543
  s.add_dependency(%q<ruby-prof>.freeze, [">= 0"])
@@ -684,6 +684,7 @@ describe RubyXL::Worksheet do
684
684
  expect(@worksheet.merged_cells.size).to eq 0
685
685
  end
686
686
  end
687
+
687
688
  context 'merged three or more rows' do
688
689
  # | A1 | B1 | C1 | D1 | E1 |
689
690
  # | A2 | | E2 |
@@ -695,6 +696,7 @@ describe RubyXL::Worksheet do
695
696
  expect(@worksheet.merged_cells.size).to eq 1
696
697
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D4"
697
698
  end
699
+
698
700
  # | A2 | | E2 |
699
701
  # | A3 | MERGED | E3 |
700
702
  # | A4 | | E4 |
@@ -704,6 +706,7 @@ describe RubyXL::Worksheet do
704
706
  expect(@worksheet.merged_cells.size).to eq 1
705
707
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B1:D3"
706
708
  end
709
+
707
710
  # | A1 | B1 | C1 | D1 | E1 |
708
711
  # | A3 | MERGED | E3 |
709
712
  # | A4 | | E4 |
@@ -713,6 +716,7 @@ describe RubyXL::Worksheet do
713
716
  expect(@worksheet.merged_cells.size).to eq 1
714
717
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D3"
715
718
  end
719
+
716
720
  # | A1 | B1 | C1 | D1 | E1 |
717
721
  # | A2 | MERGED | E2 |
718
722
  # | A4 | | E4 |
@@ -722,6 +726,7 @@ describe RubyXL::Worksheet do
722
726
  expect(@worksheet.merged_cells.size).to eq 1
723
727
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D3"
724
728
  end
729
+
725
730
  # | A1 | B1 | C1 | D1 | E1 |
726
731
  # | A2 | MERGED | E2 |
727
732
  # | A3 | | E3 |
@@ -731,6 +736,7 @@ describe RubyXL::Worksheet do
731
736
  expect(@worksheet.merged_cells.size).to eq 1
732
737
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D3"
733
738
  end
739
+
734
740
  # | A1 | B1 | C1 | D1 | E1 |
735
741
  # | A2 | | E2 |
736
742
  # | A3 | MERGED | E3 |
@@ -742,6 +748,12 @@ describe RubyXL::Worksheet do
742
748
  end
743
749
  end
744
750
  end
751
+
752
+ it 'should not make empty merged_cells when a worksheet does not have a merged cell' do
753
+ # If a worksheet has empty merged_cells, the xlsx file has an XML error and has to repair.
754
+ @worksheet.delete_row(0)
755
+ expect(@worksheet.merged_cells).to be_nil
756
+ end
745
757
  end
746
758
 
747
759
  describe '.insert_row' do
@@ -813,6 +825,7 @@ describe RubyXL::Worksheet do
813
825
  expect(@worksheet.merged_cells.size).to eq 1
814
826
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C3"
815
827
  end
828
+
816
829
  # | A1 | B1 | C1 | D1 |
817
830
  # | | | | |
818
831
  # | A2 | MERGED | D2 |
@@ -823,6 +836,7 @@ describe RubyXL::Worksheet do
823
836
  expect(@worksheet.merged_cells.size).to eq 1
824
837
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B3:C4"
825
838
  end
839
+
826
840
  # | A1 | B1 | C1 | D1 |
827
841
  # | A2 | | D2 |
828
842
  # | | MERGED | |
@@ -833,6 +847,7 @@ describe RubyXL::Worksheet do
833
847
  expect(@worksheet.merged_cells.size).to eq 1
834
848
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C4"
835
849
  end
850
+
836
851
  # | A1 | B1 | C1 | D1 |
837
852
  # | A2 | MERGED | D2 |
838
853
  # | A3 | | D3 |
@@ -844,6 +859,12 @@ describe RubyXL::Worksheet do
844
859
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C3"
845
860
  end
846
861
  end
862
+
863
+ it 'should not make empty merged_cells when a worksheet does not have a merged cell' do
864
+ # If a worksheet has empty merged_cells, the xlsx file has an XML error and has to repair.
865
+ @worksheet.insert_row(0)
866
+ expect(@worksheet.merged_cells).to be_nil
867
+ end
847
868
  end
848
869
 
849
870
  describe '.delete_column' do
@@ -1002,6 +1023,12 @@ describe RubyXL::Worksheet do
1002
1023
  end
1003
1024
  end
1004
1025
  end
1026
+
1027
+ it 'should not make empty merged_cells when a worksheet does not have a merged cell' do
1028
+ # If a worksheet has empty merged_cells, the xlsx file has an XML error and has to repair.
1029
+ @worksheet.delete_column(0)
1030
+ expect(@worksheet.merged_cells).to be_nil
1031
+ end
1005
1032
  end
1006
1033
 
1007
1034
  describe '.insert_column' do
@@ -1071,6 +1098,7 @@ describe RubyXL::Worksheet do
1071
1098
  expect(@worksheet.merged_cells.size).to eq 1
1072
1099
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C3"
1073
1100
  end
1101
+
1074
1102
  # | A1 | | B1 | C1 | D1 |
1075
1103
  # | A2 | | MERGED | D2 |
1076
1104
  # | A3 | | | D3 |
@@ -1080,6 +1108,7 @@ describe RubyXL::Worksheet do
1080
1108
  expect(@worksheet.merged_cells.size).to eq 1
1081
1109
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "C2:D3"
1082
1110
  end
1111
+
1083
1112
  # | A1 | B1 | | C1 | D1 |
1084
1113
  # | A2 | MERGED | D2 |
1085
1114
  # | A3 | | D3 |
@@ -1089,6 +1118,7 @@ describe RubyXL::Worksheet do
1089
1118
  expect(@worksheet.merged_cells.size).to eq 1
1090
1119
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:D3"
1091
1120
  end
1121
+
1092
1122
  # | A1 | B1 | C1 | | D1 |
1093
1123
  # | A2 | MERGED | | D2 |
1094
1124
  # | A3 | | | D3 |
@@ -1099,6 +1129,12 @@ describe RubyXL::Worksheet do
1099
1129
  expect(@worksheet.merged_cells.first.ref.to_s).to eq "B2:C3"
1100
1130
  end
1101
1131
  end
1132
+
1133
+ it 'should not make empty merged_cells when a worksheet does not have a merged cell' do
1134
+ # If a worksheet has empty merged_cells, the xlsx file has an XML error and has to repair.
1135
+ @worksheet.insert_column(0)
1136
+ expect(@worksheet.merged_cells).to be_nil
1137
+ end
1102
1138
  end
1103
1139
 
1104
1140
  describe '.insert_cell' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyXL
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.17
4
+ version: 3.4.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek Bhagwat
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-02-10 00:00:00.000000000 Z
12
+ date: 2021-08-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -68,7 +68,7 @@ dependencies:
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
- name: jeweler
71
+ name: juwelier
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
@@ -658,7 +658,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
658
658
  - !ruby/object:Gem::Version
659
659
  version: '0'
660
660
  requirements: []
661
- rubygems_version: 3.1.2
661
+ rubygems_version: 3.1.6
662
662
  signing_key:
663
663
  specification_version: 4
664
664
  summary: rubyXL is a gem which allows the parsing, creation, and manipulation of Microsoft