aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2014-12-11 11:27:41 +0100
committerHarald Eilertsen <haraldei@anduin.net>2014-12-11 11:27:41 +0100
commit31a0b324141fb5f1a70877e68df397d896aebe2c (patch)
tree4a892422d8124f10523d656cc870a16192a6a154 /lib
parent057bed03018c3235fbcd3c21abd86f02f65f96c1 (diff)
downloadimusician-reports-31a0b324141fb5f1a70877e68df397d896aebe2c.tar.gz
imusician-reports-31a0b324141fb5f1a70877e68df397d896aebe2c.tar.bz2
imusician-reports-31a0b324141fb5f1a70877e68df397d896aebe2c.zip
Add readme and license.
Diffstat (limited to 'lib')
-rw-r--r--lib/reports/sales_by_country.rb15
-rw-r--r--lib/reports/sales_by_date.rb15
-rw-r--r--lib/reports/sales_by_shop.rb15
-rw-r--r--lib/sale.rb15
4 files changed, 60 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+
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 <http://www.gnu.org/licenses/>.
+
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 <http://www.gnu.org/licenses/>.
+
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 <http://www.gnu.org/licenses/>.
+
module SalesReporter
class Sale
attr_reader :date, :amount, :quantity