README.md in datev-0.1.1 vs README.md in datev-0.2.0
- old
+ new
@@ -2,10 +2,11 @@
Ruby gem for exporting bookings to DATEV via CSV file
[![Build Status](https://travis-ci.org/ledermann/datev.svg?branch=master)](https://travis-ci.org/ledermann/datev)
[![Code Climate](https://codeclimate.com/github/ledermann/datev/badges/gpa.svg)](https://codeclimate.com/github/ledermann/datev)
+[![Coverage Status](https://coveralls.io/repos/github/ledermann/datev/badge.svg?branch=master)](https://coveralls.io/github/ledermann/datev?branch=master)
## Installation
Add this line to your application's Gemfile:
@@ -33,28 +34,28 @@
'Datum vom' => Date.new(2016,6,1),
'Datum bis' => Date.new(2016,6,30),
'Bezeichnung' => 'Beispiel-Buchungen'
) # For available hash keys see /lib/datev/header.rb
-export << Datev::Booking.new(
+export << {
'Belegdatum' => Date.new(2016,6,21),
'Buchungstext' => 'Fachbuch: Controlling für Dummies',
'Umsatz (ohne Soll/Haben-Kz)' => 24.95,
'Soll/Haben-Kennzeichen' => 'H',
'Konto' => 1200,
'Gegenkonto (ohne BU-Schlüssel)' => 4940,
'BU-Schlüssel' => '8'
-) # For available hash keys see /lib/datev/booking.rb
+} # For available hash keys see /lib/datev/booking.rb
-export << Datev::Booking.new(
+export << {
'Belegdatum' => Date.new(2016,6,22),
'Buchungstext' => 'Honorar FiBu-Seminar',
'Umsatz (ohne Soll/Haben-Kz)' => 5950.00,
'Soll/Haben-Kennzeichen' => 'S',
'Konto' => 10000,
'Gegenkonto (ohne BU-Schlüssel)' => 8400,
'Belegfeld 1' => 'RE201606-135'
-)
+}
export.to_file('EXTF_Buchungsstapel.csv')
```
## Development