Permalink
Browse files

Added Gemfile

  • Loading branch information...
rogeriozambon committed Jan 30, 2013
1 parent ac5e474 commit 0d4b19cc1c09af5d326a3fa70046183c2ff1fb00
Showing with 55 additions and 23 deletions.
  1. +1 −0 .rspec
  2. +2 −0 Gemfile
  3. +22 −0 Gemfile.lock
  4. +21 −13 README.rdoc → README.md
  5. +9 −10 anp_prices.gemspec
View
1 .rspec
@@ -0,0 +1 @@
+--color --format documentation
View
@@ -0,0 +1,2 @@
+source :rubygems
+gemspec
View
@@ -0,0 +1,22 @@
+PATH
+ remote: .
+ specs:
+ anp_prices (1.01)
+ nokogiri (>= 1.5.6)
+ rest-client (>= 1.6.7)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ fakeweb (1.3.0)
+ mime-types (1.19)
+ nokogiri (1.5.6)
+ rest-client (1.6.7)
+ mime-types (>= 1.16)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ anp_prices!
+ fakeweb (>= 1.3)
View
@@ -1,30 +1,38 @@
-= ANP Prices
+# ANP Prices
Get fuel prices of the ANP (Agência Nacional do Petróleo, Gás Natural e Biocombustíveis) Brazil.
-== Installation
+## Installation
- gem install anp_prices
+~~~.ruby
+gem install anp_prices
+~~~
-== Usage
+## Usage
Don't use accentuation in city parameter!
- require "rubygems"
- require "anp_prices"
+~~~.ruby
+require "rubygems"
+require "anp_prices"
- anp = ANP.new "Sao Paulo", :gasolina
- anp.prices.each do |row|
- puts row[:razao_social]
- end
+anp = ANP.new "Sao Paulo", :gasolina
+anp.prices.each do |row|
+ puts row[:razao_social]
+end
+~~~
-Simple post about this gem: http://rogeriozambon.com/gem-para-consulta-de-precos-de-combustiveis
+Simple [post about](http://rogeriozambon.com/gem-para-consulta-de-precos-de-combustiveis) this gem.
-== Maintainer
+## Maintainer
* Rogério Zambon (http://rogeriozambon.com)
-== License
+## Collaborators
+
+* Willian Oizumi (http://willianoizumi.com)
+
+## License
(The MIT License)
View
@@ -1,22 +1,21 @@
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
+ s.name = "anp_prices"
s.authors = ["Rogério Zambon"]
+ s.email = ["rogeriozambon@gmail.com"]
s.date = "2013-01-12"
s.description = "Get fuel prices of the ANP - Agência Nacional do Petróleo, Gás Natural e Biocombustíveis"
- s.email = "rogeriozambon@gmail.com"
+ s.homepage = "http://github.com/rogeriozambon/anp_prices"
+
s.add_dependency "rest-client", ">= 1.6.7"
s.add_dependency "nokogiri", ">= 1.5.6"
- s.files = [
- "lib/anp_prices.rb",
- "spec/anp_prices_spec.rb",
- "spec/fixture/anp_sao_paulo.html",
- "VERSION",
- "anp_prices.gemspec"
- ]
- s.homepage = "http://github.com/rogeriozambon/anp_prices"
- s.name = "anp_prices"
+ s.add_development_dependency "fakeweb", ">= 1.3"
+
+ s.files = `git ls-files`.split("\n")
s.require_paths = ["lib"]
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.8.23")
s.summary = s.description
+
s.version = "1.01"
end

0 comments on commit 0d4b19c

Please sign in to comment.