From 300453e2c13352ea0498b7c472a2d6193df51645 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 17 Aug 2013 23:48:48 +0200 Subject: [PATCH] Added file header. --- lib/geo_ip.rb | 4 +++- lib/geo_ip/freegeoip.rb | 2 ++ lib/geo_location.rb | 2 ++ lib/geo_location/gmaps.rb | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/geo_ip.rb b/lib/geo_ip.rb index cea0858af..098b00e03 100644 --- a/lib/geo_ip.rb +++ b/lib/geo_ip.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ + class GeoIp < ApplicationLib =begin @@ -33,4 +35,4 @@ returns # db lookup backend.location(address) end -end +end \ No newline at end of file diff --git a/lib/geo_ip/freegeoip.rb b/lib/geo_ip/freegeoip.rb index 2a6abbd76..cdf25a643 100644 --- a/lib/geo_ip/freegeoip.rb +++ b/lib/geo_ip/freegeoip.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ + require 'faraday' require 'cache' diff --git a/lib/geo_location.rb b/lib/geo_location.rb index 4a574154f..c79608f47 100644 --- a/lib/geo_location.rb +++ b/lib/geo_location.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ + class GeoLocation < ApplicationLib =begin diff --git a/lib/geo_location/gmaps.rb b/lib/geo_location/gmaps.rb index 5a703003d..707a40fb2 100644 --- a/lib/geo_location/gmaps.rb +++ b/lib/geo_location/gmaps.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/ + class GeoLocation::Gmaps def self.geocode(address)