Git Product home page Git Product logo

spreadbase's Issues

`rubyzip` dependency is too loose

See:

WARNING:  open-ended dependency on rubyzip (>= 1.3.0) is not recommended
  if rubyzip is semantically versioned, use:
    add_runtime_dependency 'rubyzip', '~> 1.3', '>= 1.3.0'

How do I create a column like this?

Hi, I use your library to create an ods file, but I don't know how do I create this column with one cell like this:

+-----+------+
|a|
+-----+-------+
|a1 |a2 |
+-----+-------+

Thanks in advance!

Regards,Herman

Fix build

Builds are failing, due to timezone issues, which don't happen locally.

Sample:

3) SpreadBase::Table return the data as string (:to_s)
   Failure/Error: @sample_table.to_s.should == expected_string
     expected: "+------------+---------------------------+---------------------------+\n| 1          | 1.1                       | 1.33                      |\n| 2012-04-10 | 2012-04-11 23:33:42 +0000 | 2012-04-11 23:33:42 +0200 |\n| true       | a                         | NIL                       |\n+------------+---------------------------+---------------------------+\n"
          got: "+------------+---------------------------+---------------------------+\n| 1          | 1.1                       | 1.33                      |\n| 2012-04-10 | 2012-04-11 23:33:42 +0000 | 2012-04-11 23:33:42 +0000 |\n| true       | a                         | NIL                       |\n+------------+---------------------------+---------------------------+\n" (using ==)
     Diff:
     @@ -1,6 +1,6 @@
      +------------+---------------------------+---------------------------+
      | 1          | 1.1                       | 1.33                      |
     -| 2012-04-10 | 2012-04-11 23:33:42 +0000 | 2012-04-11 23:33:42 +0200 |
     +| 2012-04-10 | 2012-04-11 23:33:42 +0000 | 2012-04-11 23:33:42 +0000 |
      | true       | a                         | NIL                       |
      +------------+---------------------------+---------------------------+
   # ./spec/elements/table_spec.rb:326:in `block (2 levels) in <top (required)>'

Deprecated warnings

I've been getting these warnings lately on every instance creation. I guess we could remove the entire constant out of the module.

/home/matt/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/spreadbase-0.1.3/lib/spreadbase/helpers/helpers.rb:34: warning: constant ::Fixnum is deprecated
/home/matt/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/spreadbase-0.1.3/lib/spreadbase/codecs/open_document_12_modules/encoding.rb:178: warning: constant ::Fixnum is deprecated

Add bigdecimal into gemspec

Hi @64kramsystem ,

I got the warning below when using the spreadbase gem with Ruby 3.3.

/opt/rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/spreadbase-0.4.0/lib/spreadbase/codecs/open_document_12_modules/encoding.rb:3: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of spreadbase-0.4.0 to add bigdecimal into its gemspec.

To fix this warning, we need to add the bigdecimal gem to the gemspec. However there is version confliction between spreadbase gem and bigdecimal gem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.