Skip to content

Conversation

@nav16
Copy link

@nav16 nav16 commented Aug 17, 2016

No description provided.

@tejasbubane
Copy link

rebase this @nav16


##Creating DBF
```
RBase.create_table 'people' do |t|

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I give the filepath where the .dbf file is created?

@tejasbubane
Copy link

ping

@coveralls
Copy link

Coverage Status

Coverage remained the same at 77.178% when pulling aa5dba9 on update-readme into d70d778 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Nov 26, 2016

Coverage Status

Coverage remained the same at 77.178% when pulling aa5dba9 on update-readme into d70d778 on master.

update readme
@coveralls
Copy link

Coverage Status

Coverage remained the same at 77.178% when pulling b7d2e8e on update-readme into d70d778 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Nov 26, 2016

Coverage Status

Coverage remained the same at 77.178% when pulling b7d2e8e on update-readme into d70d778 on master.

##Points To Remember
- The column name can not be more than 10 characters and should not have spaces.
- The column with date type pass the date object not a string or any other.
- The gem will generate file in `dbase III` format.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link to dbase III format

t.column :tax, :integer, size: 10, decimal: 2
end
```
You can provide file path in place of name, eg. `people` can be `tmp/dbfs/people`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name confusing with :name. You can say that RBase.create_table takes a file path eg tmp...

How to use:

First create a DBF file.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Usage

## Creating DBF

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove how to use and first create...

[![Coverage Status](https://coveralls.io/repos/github/cybrilla/rbase/badge.svg?branch=master)](https://coveralls.io/github/cybrilla/rbase?branch=master)

Create, read and edit dbf files.
rbase gem is used to create DBF files.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rbase provides interface for interacting with DBF files.

@tejasbubane
Copy link

Readme needs to have these sections: creating file, reading from file and writing to file. I think you missed reading part. Refer roo's readme for more details. https://github.com/roo-rb/roo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants