summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-08-15 20:01:00 +0200
committerChris Schlaeger <chris@linux.com>2014-08-15 20:01:00 +0200
commite3f780b87b99bcabc0017c8be86375c667489f02 (patch)
tree266646b604e308e2e357114b20efbe59dd132ec6
parent23e44d54a2d86113987cd6fa8f53ccad8071ba8a (diff)
downloadpostrunner-e3f780b87b99bcabc0017c8be86375c667489f02.zip
All files are now explicitely GNU GPLv2 licensed.
-rw-r--r--LICENSE.txt22
-rw-r--r--lib/postrunner.rb12
-rw-r--r--lib/postrunner/ActivitiesDB.rb12
-rw-r--r--lib/postrunner/Activity.rb12
-rw-r--r--lib/postrunner/ActivityReport.rb12
-rw-r--r--lib/postrunner/ActivityView.rb12
-rw-r--r--lib/postrunner/ChartView.rb12
-rw-r--r--lib/postrunner/FlexiTable.rb12
-rw-r--r--lib/postrunner/HTMLBuilder.rb12
-rw-r--r--lib/postrunner/Main.rb12
-rw-r--r--lib/postrunner/PersonalRecords.rb12
-rw-r--r--lib/postrunner/TrackView.rb12
-rw-r--r--lib/postrunner/ViewWidgets.rb12
-rw-r--r--lib/postrunner/version.rb12
-rw-r--r--spec/FlexiTable_spec.rb12
-rw-r--r--spec/PostRunner_spec.rb12
16 files changed, 180 insertions, 22 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
deleted file mode 100644
index 5f512c0..0000000
--- a/LICENSE.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright (c) 2014 Chris Schlaeger
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/lib/postrunner.rb b/lib/postrunner.rb
index 6d241e6..8e79a74 100644
--- a/lib/postrunner.rb
+++ b/lib/postrunner.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = postrunner.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', 'fit4ruby', 'lib'))
$:.unshift(File.dirname(__FILE__))
diff --git a/lib/postrunner/ActivitiesDB.rb b/lib/postrunner/ActivitiesDB.rb
index a5a4b8d..e4f8b6b 100644
--- a/lib/postrunner/ActivitiesDB.rb
+++ b/lib/postrunner/ActivitiesDB.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = ActivitiesDB.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'fileutils'
require 'yaml'
diff --git a/lib/postrunner/Activity.rb b/lib/postrunner/Activity.rb
index f616298..5a7607f 100644
--- a/lib/postrunner/Activity.rb
+++ b/lib/postrunner/Activity.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = Activity.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'fit4ruby'
require 'postrunner/ActivityReport'
diff --git a/lib/postrunner/ActivityReport.rb b/lib/postrunner/ActivityReport.rb
index d66f631..4a9d54a 100644
--- a/lib/postrunner/ActivityReport.rb
+++ b/lib/postrunner/ActivityReport.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = ActivityReport.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'fit4ruby'
require 'postrunner/FlexiTable'
diff --git a/lib/postrunner/ActivityView.rb b/lib/postrunner/ActivityView.rb
index ecb069c..4abed85 100644
--- a/lib/postrunner/ActivityView.rb
+++ b/lib/postrunner/ActivityView.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = ActivityView.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'fit4ruby'
require 'postrunner/HTMLBuilder'
diff --git a/lib/postrunner/ChartView.rb b/lib/postrunner/ChartView.rb
index 9ec86bd..a343f53 100644
--- a/lib/postrunner/ChartView.rb
+++ b/lib/postrunner/ChartView.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = ChartView.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'postrunner/ViewWidgets'
module PostRunner
diff --git a/lib/postrunner/FlexiTable.rb b/lib/postrunner/FlexiTable.rb
index d921496..47b5583 100644
--- a/lib/postrunner/FlexiTable.rb
+++ b/lib/postrunner/FlexiTable.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = FlexiTable.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'postrunner/HTMLBuilder'
module PostRunner
diff --git a/lib/postrunner/HTMLBuilder.rb b/lib/postrunner/HTMLBuilder.rb
index e02f4b3..c9212fe 100644
--- a/lib/postrunner/HTMLBuilder.rb
+++ b/lib/postrunner/HTMLBuilder.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = HTMLBuilder.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'nokogiri'
module PostRunner
diff --git a/lib/postrunner/Main.rb b/lib/postrunner/Main.rb
index d35846b..8ae59bf 100644
--- a/lib/postrunner/Main.rb
+++ b/lib/postrunner/Main.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = Main.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'optparse'
require 'logger'
require 'fit4ruby'
diff --git a/lib/postrunner/PersonalRecords.rb b/lib/postrunner/PersonalRecords.rb
index fab0058..842625a 100644
--- a/lib/postrunner/PersonalRecords.rb
+++ b/lib/postrunner/PersonalRecords.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = PersonalRecords.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'fileutils'
require 'yaml'
diff --git a/lib/postrunner/TrackView.rb b/lib/postrunner/TrackView.rb
index 9976cd1..8609a8d 100644
--- a/lib/postrunner/TrackView.rb
+++ b/lib/postrunner/TrackView.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = TrackView.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'fit4ruby'
require 'postrunner/ViewWidgets'
diff --git a/lib/postrunner/ViewWidgets.rb b/lib/postrunner/ViewWidgets.rb
index 27a7886..e503af6 100644
--- a/lib/postrunner/ViewWidgets.rb
+++ b/lib/postrunner/ViewWidgets.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = ViewWidgets.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
module PostRunner
module ViewWidgets
diff --git a/lib/postrunner/version.rb b/lib/postrunner/version.rb
index 5b4c6bb..a6d403e 100644
--- a/lib/postrunner/version.rb
+++ b/lib/postrunner/version.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = version.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
module PostRunner
VERSION = "0.0.4"
end
diff --git a/spec/FlexiTable_spec.rb b/spec/FlexiTable_spec.rb
index dedc9cb..f08e59a 100644
--- a/spec/FlexiTable_spec.rb
+++ b/spec/FlexiTable_spec.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = FlexiTable_spec.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'postrunner/FlexiTable'
describe PostRunner::FlexiTable do
diff --git a/spec/PostRunner_spec.rb b/spec/PostRunner_spec.rb
index 06a8a66..ebacc5e 100644
--- a/spec/PostRunner_spec.rb
+++ b/spec/PostRunner_spec.rb
@@ -1,3 +1,15 @@
+#!/usr/bin/env ruby -w
+# encoding: UTF-8
+#
+# = PostRunner_spec.rb -- PostRunner - Manage the data from your Garmin sport devices.
+#
+# Copyright (c) 2014 by Chris Schlaeger <cs@taskjuggler.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of version 2 of the GNU General Public License as
+# published by the Free Software Foundation.
+#
+
require 'fileutils'
require 'postrunner/Main'