spreadsheet_architect 3.2.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/README.md +57 -69
  4. data/lib/spreadsheet_architect.rb +5 -0
  5. data/lib/spreadsheet_architect/axlsx_string_width_patch.rb +23 -0
  6. data/lib/spreadsheet_architect/class_methods/csv.rb +2 -0
  7. data/lib/spreadsheet_architect/class_methods/ods.rb +9 -9
  8. data/lib/spreadsheet_architect/class_methods/xlsx.rb +62 -6
  9. data/lib/spreadsheet_architect/utils.rb +72 -15
  10. data/lib/spreadsheet_architect/utils/xlsx.rb +2 -13
  11. data/lib/spreadsheet_architect/version.rb +1 -1
  12. data/test/dummy_app/app/assets/config/manifest.js +3 -0
  13. data/test/dummy_app/config/application.rb +2 -5
  14. data/test/dummy_app/db/test.sqlite3 +0 -0
  15. data/test/dummy_app/log/test.log +85059 -24302
  16. data/test/dummy_app/tmp/3.0.0.pre/integration/alt_xlsx.xlsx +0 -0
  17. data/test/dummy_app/tmp/3.0.0.pre/integration/csv.csv +6 -0
  18. data/test/dummy_app/tmp/3.0.0.pre/integration/ods.ods +0 -0
  19. data/test/dummy_app/tmp/3.0.0.pre/integration/xlsx.xlsx +0 -0
  20. data/test/dummy_app/tmp/3.0.0.pre/kitchen_sink.ods +0 -0
  21. data/test/dummy_app/tmp/3.0.0.pre/kitchen_sink.xlsx +0 -0
  22. data/test/dummy_app/tmp/3.0.0.pre/models/ActiveModelObject/data.csv +3 -0
  23. data/test/dummy_app/tmp/3.0.0.pre/models/ActiveModelObject/data.ods +0 -0
  24. data/test/dummy_app/tmp/3.0.0.pre/models/ActiveModelObject/data.xlsx +0 -0
  25. data/test/dummy_app/tmp/3.0.0.pre/models/ActiveModelObject/empty.csv +1 -0
  26. data/test/dummy_app/tmp/{configurations/LegacyPlainRubyObject → 3.0.0.pre/models/ActiveModelObject}/empty.ods +0 -0
  27. data/test/dummy_app/tmp/{configurations → 3.0.0.pre/models}/ActiveModelObject/empty.xlsx +0 -0
  28. data/test/dummy_app/tmp/3.0.0.pre/models/ActiveModelObject/instances.csv +6 -0
  29. data/test/dummy_app/tmp/3.0.0.pre/models/ActiveModelObject/instances.ods +0 -0
  30. data/test/dummy_app/tmp/3.0.0.pre/models/ActiveModelObject/instances.xlsx +0 -0
  31. data/test/dummy_app/tmp/3.0.0.pre/models/CustomColumnsMethodPost/data.csv +3 -0
  32. data/test/dummy_app/tmp/3.0.0.pre/models/CustomColumnsMethodPost/data.ods +0 -0
  33. data/test/dummy_app/tmp/3.0.0.pre/models/CustomColumnsMethodPost/data.xlsx +0 -0
  34. data/test/dummy_app/tmp/{configurations/ActiveModelObject → 3.0.0.pre/models/CustomColumnsMethodPost}/empty.csv +0 -0
  35. data/test/dummy_app/tmp/{configurations/Post → 3.0.0.pre/models/CustomColumnsMethodPost}/empty.ods +0 -0
  36. data/test/dummy_app/tmp/{configurations/CustomPost → 3.0.0.pre/models/CustomColumnsMethodPost}/empty.xlsx +0 -0
  37. data/test/dummy_app/tmp/3.0.0.pre/models/CustomColumnsMethodPost/instances.csv +6 -0
  38. data/test/dummy_app/tmp/3.0.0.pre/models/CustomColumnsMethodPost/instances.ods +0 -0
  39. data/test/dummy_app/tmp/3.0.0.pre/models/CustomColumnsMethodPost/instances.xlsx +0 -0
  40. data/test/dummy_app/tmp/3.0.0.pre/models/CustomPost/data.csv +3 -0
  41. data/test/dummy_app/tmp/3.0.0.pre/models/CustomPost/data.ods +0 -0
  42. data/test/dummy_app/tmp/3.0.0.pre/models/CustomPost/data.xlsx +0 -0
  43. data/test/dummy_app/tmp/3.0.0.pre/models/CustomPost/empty.csv +1 -0
  44. data/test/dummy_app/tmp/{configurations/ActiveModelObject → 3.0.0.pre/models/CustomPost}/empty.ods +0 -0
  45. data/test/dummy_app/tmp/{configurations/LegacyPlainRubyObject → 3.0.0.pre/models/CustomPost}/empty.xlsx +0 -0
  46. data/test/dummy_app/tmp/3.0.0.pre/models/CustomPost/instances.csv +6 -0
  47. data/test/dummy_app/tmp/3.0.0.pre/models/CustomPost/instances.ods +0 -0
  48. data/test/dummy_app/tmp/3.0.0.pre/models/CustomPost/instances.xlsx +0 -0
  49. data/test/dummy_app/tmp/3.0.0.pre/models/LegacyPlainRubyObject/data.csv +3 -0
  50. data/test/dummy_app/tmp/3.0.0.pre/models/LegacyPlainRubyObject/data.ods +0 -0
  51. data/test/dummy_app/tmp/3.0.0.pre/models/LegacyPlainRubyObject/data.xlsx +0 -0
  52. data/test/dummy_app/tmp/{configurations/CustomPost → 3.0.0.pre/models/LegacyPlainRubyObject}/empty.csv +0 -0
  53. data/test/dummy_app/tmp/{configurations/SpreadsheetArchitect → 3.0.0.pre/models/LegacyPlainRubyObject}/empty.ods +0 -0
  54. data/test/dummy_app/tmp/3.0.0.pre/models/LegacyPlainRubyObject/empty.xlsx +0 -0
  55. data/test/dummy_app/tmp/3.0.0.pre/models/LegacyPlainRubyObject/instances.csv +6 -0
  56. data/test/dummy_app/tmp/3.0.0.pre/models/LegacyPlainRubyObject/instances.ods +0 -0
  57. data/test/dummy_app/tmp/{configurations → 3.0.0.pre/models}/LegacyPlainRubyObject/instances.xlsx +0 -0
  58. data/test/dummy_app/tmp/3.0.0.pre/models/PlainRubyObject/data.csv +3 -0
  59. data/test/dummy_app/tmp/3.0.0.pre/models/PlainRubyObject/data.ods +0 -0
  60. data/test/dummy_app/tmp/3.0.0.pre/models/PlainRubyObject/data.xlsx +0 -0
  61. data/test/dummy_app/tmp/3.0.0.pre/models/PlainRubyObject/empty.csv +1 -0
  62. data/test/dummy_app/tmp/{configurations/CustomPost → 3.0.0.pre/models/PlainRubyObject}/empty.ods +0 -0
  63. data/test/dummy_app/tmp/3.0.0.pre/models/PlainRubyObject/empty.xlsx +0 -0
  64. data/test/dummy_app/tmp/3.0.0.pre/models/PlainRubyObject/instances.csv +6 -0
  65. data/test/dummy_app/tmp/3.0.0.pre/models/PlainRubyObject/instances.ods +0 -0
  66. data/test/dummy_app/tmp/{configurations → 3.0.0.pre/models}/PlainRubyObject/instances.xlsx +0 -0
  67. data/test/dummy_app/tmp/3.0.0.pre/models/Post/data.csv +3 -0
  68. data/test/dummy_app/tmp/3.0.0.pre/models/Post/data.ods +0 -0
  69. data/test/dummy_app/tmp/3.0.0.pre/models/Post/data.xlsx +0 -0
  70. data/test/dummy_app/tmp/{configurations/LegacyPlainRubyObject → 3.0.0.pre/models/Post}/empty.csv +0 -0
  71. data/test/dummy_app/tmp/{configurations/PlainRubyObject → 3.0.0.pre/models/Post}/empty.ods +0 -0
  72. data/test/dummy_app/tmp/3.0.0.pre/models/Post/empty.xlsx +0 -0
  73. data/test/dummy_app/tmp/3.0.0.pre/models/Post/instances.csv +6 -0
  74. data/test/dummy_app/tmp/3.0.0.pre/models/Post/instances.ods +0 -0
  75. data/test/dummy_app/tmp/3.0.0.pre/models/Post/instances.xlsx +0 -0
  76. data/test/dummy_app/tmp/3.0.0.pre/multi_sheet.ods +0 -0
  77. data/test/dummy_app/tmp/3.0.0.pre/multi_sheet.xlsx +0 -0
  78. data/test/test_helper.rb +8 -8
  79. data/test/unit/exceptions_test.rb +9 -1
  80. data/test/unit/kitchen_sink_test.rb +14 -8
  81. data/test/unit/regressions_test.rb +11 -0
  82. data/test/unit/utils_test.rb +35 -1
  83. data/test/unit/xlsx_freeze_test.rb +44 -0
  84. data/test/unit/xlsx_utils_test.rb +0 -21
  85. metadata +166 -152
  86. data/lib/spreadsheet_architect/monkey_patches/axlsx_column_width.rb +0 -56
  87. data/test/custom_assertions.rb +0 -21
  88. data/test/dummy_app/log/development.log +0 -28
  89. data/test/dummy_app/tmp/configurations/ActiveModelObject/data.csv +0 -3
  90. data/test/dummy_app/tmp/configurations/ActiveModelObject/data.ods +0 -0
  91. data/test/dummy_app/tmp/configurations/ActiveModelObject/data.xlsx +0 -0
  92. data/test/dummy_app/tmp/configurations/ActiveModelObject/instances.csv +0 -6
  93. data/test/dummy_app/tmp/configurations/ActiveModelObject/instances.ods +0 -0
  94. data/test/dummy_app/tmp/configurations/ActiveModelObject/instances.xlsx +0 -0
  95. data/test/dummy_app/tmp/configurations/CustomPost/data.csv +0 -3
  96. data/test/dummy_app/tmp/configurations/CustomPost/data.ods +0 -0
  97. data/test/dummy_app/tmp/configurations/CustomPost/data.xlsx +0 -0
  98. data/test/dummy_app/tmp/configurations/CustomPost/instances.csv +0 -6
  99. data/test/dummy_app/tmp/configurations/CustomPost/instances.ods +0 -0
  100. data/test/dummy_app/tmp/configurations/CustomPost/instances.xlsx +0 -0
  101. data/test/dummy_app/tmp/configurations/LegacyPlainRubyObject/data.csv +0 -3
  102. data/test/dummy_app/tmp/configurations/LegacyPlainRubyObject/data.ods +0 -0
  103. data/test/dummy_app/tmp/configurations/LegacyPlainRubyObject/data.xlsx +0 -0
  104. data/test/dummy_app/tmp/configurations/LegacyPlainRubyObject/instances.csv +0 -6
  105. data/test/dummy_app/tmp/configurations/LegacyPlainRubyObject/instances.ods +0 -0
  106. data/test/dummy_app/tmp/configurations/PlainRubyObject/data.csv +0 -3
  107. data/test/dummy_app/tmp/configurations/PlainRubyObject/data.ods +0 -0
  108. data/test/dummy_app/tmp/configurations/PlainRubyObject/data.xlsx +0 -0
  109. data/test/dummy_app/tmp/configurations/PlainRubyObject/empty.csv +0 -0
  110. data/test/dummy_app/tmp/configurations/PlainRubyObject/empty.xlsx +0 -0
  111. data/test/dummy_app/tmp/configurations/PlainRubyObject/instances.csv +0 -6
  112. data/test/dummy_app/tmp/configurations/PlainRubyObject/instances.ods +0 -0
  113. data/test/dummy_app/tmp/configurations/Post/data.csv +0 -3
  114. data/test/dummy_app/tmp/configurations/Post/data.ods +0 -0
  115. data/test/dummy_app/tmp/configurations/Post/data.xlsx +0 -0
  116. data/test/dummy_app/tmp/configurations/Post/empty.csv +0 -0
  117. data/test/dummy_app/tmp/configurations/Post/empty.xlsx +0 -0
  118. data/test/dummy_app/tmp/configurations/SpreadsheetArchitect/data.csv +0 -3
  119. data/test/dummy_app/tmp/configurations/SpreadsheetArchitect/data.ods +0 -0
  120. data/test/dummy_app/tmp/configurations/SpreadsheetArchitect/data.xlsx +0 -0
  121. data/test/dummy_app/tmp/configurations/SpreadsheetArchitect/empty.csv +0 -0
  122. data/test/dummy_app/tmp/configurations/SpreadsheetArchitect/empty.xlsx +0 -0
  123. data/test/dummy_app/tmp/integration_tests/alt_xlsx.xlsx +0 -0
  124. data/test/dummy_app/tmp/integration_tests/csv.csv +0 -6
  125. data/test/dummy_app/tmp/integration_tests/ods.ods +0 -0
  126. data/test/dummy_app/tmp/integration_tests/xlsx.xlsx +0 -0
  127. data/test/dummy_app/tmp/kitchen_sink.ods +0 -0
  128. data/test/dummy_app/tmp/kitchen_sink.xlsx +0 -0
  129. data/test/dummy_app/tmp/multi_sheet.ods +0 -0
  130. data/test/dummy_app/tmp/multi_sheet.xlsx +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.