Browse files

Gemspec and an updated Readme

  • Loading branch information...
1 parent 0bb0905 commit 30af82f046ac32da30d423ee82f2992131dc93fb Elad Meidar committed Jan 31, 2010
Showing with 83 additions and 1 deletion.
  1. +27 −1 README.rdoc
  2. +56 −0 gmaps_proxy.gemspec
View
28 README.rdoc
@@ -1,6 +1,32 @@
= gmaps_proxy
-Description goes here.
+Gmaps proxy allows you to easily add an embedded iframe with a GoogleMap image, when it is not possible to use
+the native embedded map or API due to local area restrictions. (like in Israel when the map rights belong to a private company so Google cannot use it).
+
+== Installation
+
++gem install gmaps_proxy+ from gemcutter.
+
+
+== Usage
+
+simply call a new class with an address you want to focus on:
+
++map = GmapsProxy.new("Fort Lauderdale")+
+
+and
+
++ map.pull +
+
+and it will return a full HTML page with the map, generally i think the best usage is to point
+an iFrame in your app to an action that simply returns that HTML.
+
+
+== It does not allow you to
+
+* zoom
+* move around
+* do anything but look :)
== Note on Patches/Pull Requests
View
56 gmaps_proxy.gemspec
@@ -0,0 +1,56 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{gmaps_proxy}
+ s.version = "0.2.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Elad Meidar", "Ziv Perry"]
+ s.date = %q{2010-01-31}
+ s.description = %q{Due to some rights issues, some countries does not appear with full information on Google Maps API, this library offers a simple hack to make it easier to implement a simple map fragment in your application}
+ s.email = %q{elad@eizesus.com}
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.rdoc"
+ ]
+ s.files = [
+ ".document",
+ ".gitignore",
+ "LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION",
+ "lib/gmaps_proxy.rb",
+ "test/helper.rb",
+ "test/test_gmaps_proxy.rb"
+ ]
+ s.homepage = %q{http://github.com/eladmeidar/gmaps_proxy}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Enable GoogleMaps access simple access to countries that can't use the API (israel for example)}
+ s.test_files = [
+ "test/helper.rb",
+ "test/test_gmaps_proxy.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
+ else
+ s.add_dependency(%q<nokogiri>, [">= 0"])
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<nokogiri>, [">= 0"])
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
+ end
+end
+

0 comments on commit 30af82f

Please sign in to comment.