Permalink
Browse files

Adicionado suporte a E-sedex

  • Loading branch information...
vintem
vintem committed Jul 20, 2011
1 parent 75b6779 commit aa32c0f68bbe7ce596bc5c5115d1ebb77dde3227
Showing with 11 additions and 3 deletions.
  1. +1 −1 Gemfile.lock
  2. +8 −0 app/models/shipping/esedex.rb
  3. +2 −2 spree_correios_shipping.gemspec
View
@@ -18,7 +18,7 @@ GEM
i18n (~> 0.5.0)
activesupport (3.0.9)
builder (2.1.2)
- correios-frete (0.1.0)
+ correios-frete (0.2.0)
bundler (~> 1.0.0)
jeweler
nokogiri
@@ -0,0 +1,8 @@
+class Shipping::Esedex < Shipping::Base
+ def self.description
+ 'E-Sedex'
+ end
+ def tipo_servico
+ :e_sedex
+ end
+end
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'spree_correios_shipping'
- s.version = '1.0.0'
+ s.version = '1.0.1'
s.summary = 'Extensão para cálculo de frete pelos correios'
s.description = 'Extensão para cálculo de frete pelos correios'
s.required_ruby_version = '>= 1.8.7'
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
s.requirements << 'none'
s.add_dependency('spree_core', '>= 0.60.0')
- s.add_dependency('correios-frete')
+ s.add_dependency('correios-frete', '>=0.2.0')
end

0 comments on commit aa32c0f

Please sign in to comment.