Giter Club home page Giter Club logo

nodaire's People

Contributors

ljcooke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nodaire's Issues

Add Tablatal.generate

Add Tablatal.generate to generate a Tablatal document row by row, similar to CSV.generate.

Fix Rubocop issues with indental_parser.rb

Comment out everything in .rubocop_todo.yml, then run bundle exec rubocop.

Issues:

  • Metrics/MethodLength: Method has too many lines. [13/10]
  • Metrics/AbcSize: Assignment Branch Condition size for parse_key_value! is too high. [16.09/15]
  • Metrics/AbcSize: Assignment Branch Condition size for parse_list! is too high. [16.43/15]
  • Metrics/AbcSize: Assignment Branch Condition size for parse_list_item! is too high. [18.28/15]

Add Tablatal#to_json

So far Tablatal has to_csv and Indental has to_json.

Tablatal could have a to_json method as well, returning a JSON array. For example:

JSON.generate(to_a)

Add Indental.generate

Add Indental.generate to generate an Indental document from a hash, similar to JSON.generate.

Add Tablatal#pluck

Add a #pluck method to Nodaire::Tablatal.

Example:

doc.pluck('NAME')

This would be equivalent to:

doc.map { |row| row['NAME'] }

Fix Rubocop issues with tablatal_parser.rb

Comment out everything in .rubocop_todo.yml, then run bundle exec rubocop.

Issues:

  • Metrics/AbcSize: Assignment Branch Condition size for make_keys is too high. [19.21/15]
  • Metrics/MethodLength: Method has too many lines. [16/10]

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.