From 31a0b324141fb5f1a70877e68df397d896aebe2c Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 11 Dec 2014 11:27:41 +0100 Subject: Add readme and license. --- lib/reports/sales_by_country.rb | 15 +++++++++++++++ lib/reports/sales_by_date.rb | 15 +++++++++++++++ lib/reports/sales_by_shop.rb | 15 +++++++++++++++ lib/sale.rb | 15 +++++++++++++++ 4 files changed, 60 insertions(+) (limited to 'lib') diff --git a/lib/reports/sales_by_country.rb b/lib/reports/sales_by_country.rb index 6729ba6..97e1d07 100644 --- a/lib/reports/sales_by_country.rb +++ b/lib/reports/sales_by_country.rb @@ -1,3 +1,18 @@ +# Copyright (C) 2014 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + module SalesReporter module Reports class SalesByCountry diff --git a/lib/reports/sales_by_date.rb b/lib/reports/sales_by_date.rb index b2d58df..fa651d0 100644 --- a/lib/reports/sales_by_date.rb +++ b/lib/reports/sales_by_date.rb @@ -1,3 +1,18 @@ +# Copyright (C) 2014 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + module SalesReporter module Reports class SalesByDate diff --git a/lib/reports/sales_by_shop.rb b/lib/reports/sales_by_shop.rb index 2c8a70b..207cad8 100644 --- a/lib/reports/sales_by_shop.rb +++ b/lib/reports/sales_by_shop.rb @@ -1,3 +1,18 @@ +# Copyright (C) 2014 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + module SalesReporter module Reports class SalesByShop diff --git a/lib/sale.rb b/lib/sale.rb index f02a471..cf8402e 100644 --- a/lib/sale.rb +++ b/lib/sale.rb @@ -1,3 +1,18 @@ +# Copyright (C) 2014 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + module SalesReporter class Sale attr_reader :date, :amount, :quantity -- cgit v1.2.3