forked from dummied/google-directions-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request joshcrews#7 from tiagolupepic/rails-to-query
Fix when Rails is present and to_query escape twice origin and destination params
- Loading branch information
Showing
2 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# -*- encoding: utf-8 -*- | ||
# stub: google_directions 0.1.6.2 ruby lib | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "google_directions" | ||
s.version = "0.1.6.2" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= | ||
s.require_paths = ["lib"] | ||
s.authors = ["Josh Crews"] | ||
s.date = "2014-09-11" | ||
s.description = "Ruby-wrapper for Google Directions API. Can return the drive time and driving distance between to places" | ||
s.email = "[email protected]" | ||
s.extra_rdoc_files = ["README.textile", "lib/google_directions.rb"] | ||
s.files = ["Gemfile", "Gemfile.lock", "Manifest", "README.textile", "Rakefile", "google_directions.gemspec", "init.rb", "lib/google_directions.rb", "test/mocks/google_directions_samle_xml.xml", "test/test_helper.rb", "test/unit/google_directions_test.rb"] | ||
s.homepage = "http://github.com/joshcrews/Google-Directions-Ruby" | ||
s.rdoc_options = ["--line-numbers", "--title", "Google_directions", "--main", "README.textile"] | ||
s.rubyforge_project = "google_directions" | ||
s.rubygems_version = "2.2.0" | ||
s.summary = "Ruby-wrapper for Google Directions API. Can return the drive time and driving distance between to places" | ||
s.test_files = ["test/test_helper.rb", "test/unit/google_directions_test.rb"] | ||
|
||
if s.respond_to? :specification_version then | ||
s.specification_version = 4 | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.1"]) | ||
else | ||
s.add_dependency(%q<nokogiri>, [">= 1.4.1"]) | ||
end | ||
else | ||
s.add_dependency(%q<nokogiri>, [">= 1.4.1"]) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters