spreadsheet_architect 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +25 -12
  4. data/lib/spreadsheet_architect.rb +1 -1
  5. data/lib/spreadsheet_architect/class_methods/xlsx.rb +28 -0
  6. data/lib/spreadsheet_architect/exceptions.rb +20 -14
  7. data/lib/spreadsheet_architect/monkey_patches/axlsx_column_width.rb +3 -0
  8. data/lib/spreadsheet_architect/utils.rb +31 -16
  9. data/lib/spreadsheet_architect/utils/xlsx.rb +26 -0
  10. data/lib/spreadsheet_architect/version.rb +1 -1
  11. data/test/dummy_app/app/models/custom_columns_method_post.rb +29 -0
  12. data/test/dummy_app/log/test.log +42144 -61
  13. data/test/dummy_app/tmp/axlsx-master/integration/alt_xlsx.xlsx +0 -0
  14. data/test/dummy_app/tmp/axlsx-master/integration/ods.ods +0 -0
  15. data/test/dummy_app/tmp/axlsx-master/integration/xlsx.xlsx +0 -0
  16. data/test/dummy_app/tmp/axlsx-master/kitchen_sink.ods +0 -0
  17. data/test/dummy_app/tmp/axlsx-master/kitchen_sink.xlsx +0 -0
  18. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/data.csv +1 -1
  19. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/data.ods +0 -0
  20. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/data.xlsx +0 -0
  21. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/empty.csv +1 -0
  22. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/empty.ods +0 -0
  23. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/empty.xlsx +0 -0
  24. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/instances.csv +5 -5
  25. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/instances.ods +0 -0
  26. data/test/dummy_app/tmp/axlsx-master/models/ActiveModelObject/instances.xlsx +0 -0
  27. data/test/dummy_app/tmp/axlsx-master/models/CustomColumnsMethodPost/data.csv +3 -0
  28. data/test/dummy_app/tmp/axlsx-master/models/CustomColumnsMethodPost/data.ods +0 -0
  29. data/test/dummy_app/tmp/axlsx-master/models/{SpreadsheetArchitect → CustomColumnsMethodPost}/data.xlsx +0 -0
  30. data/test/dummy_app/tmp/axlsx-master/models/{SpreadsheetArchitect → CustomColumnsMethodPost}/empty.csv +0 -0
  31. data/test/dummy_app/tmp/axlsx-master/models/{SpreadsheetArchitect → CustomColumnsMethodPost}/empty.ods +0 -0
  32. data/test/dummy_app/tmp/axlsx-master/models/CustomColumnsMethodPost/empty.xlsx +0 -0
  33. data/test/dummy_app/tmp/axlsx-master/models/CustomColumnsMethodPost/instances.csv +6 -0
  34. data/test/dummy_app/tmp/axlsx-master/models/CustomColumnsMethodPost/instances.ods +0 -0
  35. data/test/dummy_app/tmp/axlsx-master/models/CustomColumnsMethodPost/instances.xlsx +0 -0
  36. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/data.csv +1 -1
  37. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/data.ods +0 -0
  38. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/data.xlsx +0 -0
  39. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/empty.csv +1 -0
  40. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/empty.ods +0 -0
  41. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/empty.xlsx +0 -0
  42. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/instances.csv +5 -5
  43. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/instances.ods +0 -0
  44. data/test/dummy_app/tmp/axlsx-master/models/CustomPost/instances.xlsx +0 -0
  45. data/test/dummy_app/tmp/axlsx-master/models/LegacyPlainRubyObject/data.csv +1 -1
  46. data/test/dummy_app/tmp/axlsx-master/models/LegacyPlainRubyObject/data.ods +0 -0
  47. data/test/dummy_app/tmp/axlsx-master/models/LegacyPlainRubyObject/data.xlsx +0 -0
  48. data/test/dummy_app/tmp/axlsx-master/models/LegacyPlainRubyObject/empty.ods +0 -0
  49. data/test/dummy_app/tmp/axlsx-master/models/LegacyPlainRubyObject/empty.xlsx +0 -0
  50. data/test/dummy_app/tmp/axlsx-master/models/LegacyPlainRubyObject/instances.csv +5 -5
  51. data/test/dummy_app/tmp/axlsx-master/models/LegacyPlainRubyObject/instances.ods +0 -0
  52. data/test/dummy_app/tmp/axlsx-master/models/LegacyPlainRubyObject/instances.xlsx +0 -0
  53. data/test/dummy_app/tmp/axlsx-master/models/PlainRubyObject/data.csv +1 -1
  54. data/test/dummy_app/tmp/axlsx-master/models/PlainRubyObject/data.ods +0 -0
  55. data/test/dummy_app/tmp/axlsx-master/models/PlainRubyObject/data.xlsx +0 -0
  56. data/test/dummy_app/tmp/axlsx-master/models/PlainRubyObject/empty.ods +0 -0
  57. data/test/dummy_app/tmp/axlsx-master/models/PlainRubyObject/empty.xlsx +0 -0
  58. data/test/dummy_app/tmp/axlsx-master/models/PlainRubyObject/instances.csv +5 -5
  59. data/test/dummy_app/tmp/axlsx-master/models/PlainRubyObject/instances.ods +0 -0
  60. data/test/dummy_app/tmp/axlsx-master/models/PlainRubyObject/instances.xlsx +0 -0
  61. data/test/dummy_app/tmp/axlsx-master/models/Post/data.csv +1 -1
  62. data/test/dummy_app/tmp/axlsx-master/models/Post/data.ods +0 -0
  63. data/test/dummy_app/tmp/axlsx-master/models/Post/data.xlsx +0 -0
  64. data/test/dummy_app/tmp/axlsx-master/models/Post/empty.csv +1 -0
  65. data/test/dummy_app/tmp/axlsx-master/models/Post/empty.ods +0 -0
  66. data/test/dummy_app/tmp/axlsx-master/models/Post/empty.xlsx +0 -0
  67. data/test/dummy_app/tmp/axlsx-master/models/Post/instances.csv +6 -0
  68. data/test/dummy_app/tmp/axlsx-master/models/Post/instances.ods +0 -0
  69. data/test/dummy_app/tmp/axlsx-master/models/Post/instances.xlsx +0 -0
  70. data/test/dummy_app/tmp/axlsx-master/multi_sheet.ods +0 -0
  71. data/test/dummy_app/tmp/axlsx-master/multi_sheet.xlsx +0 -0
  72. data/test/models/all_models_test.rb +23 -18
  73. data/test/test_helper.rb +5 -1
  74. data/test/unit/exceptions_test.rb +22 -7
  75. data/test/unit/kitchen_sink_test.rb +15 -0
  76. data/test/unit/utils_test.rb +2 -2
  77. metadata +28 -14
  78. data/test/dummy_app/tmp/axlsx-master/models/SpreadsheetArchitect/data.csv +0 -3
  79. data/test/dummy_app/tmp/axlsx-master/models/SpreadsheetArchitect/data.ods +0 -0
  80. data/test/dummy_app/tmp/axlsx-master/models/SpreadsheetArchitect/empty.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.