pagseguro 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,8 +1,9 @@
1
1
  source :rubygems
2
2
 
3
- gem "rails", "3.0.0"
3
+ gem "rails", "3.0.1"
4
4
  gem "fakeweb"
5
- gem "rspec-rails", "2.0.0.beta.20"
5
+ gem "rspec-rails", "2.0.1"
6
6
  gem "faker"
7
7
  gem "ruby-debug19", :require => false
8
8
  gem "nokogiri"
9
+ gem "sqlite3-ruby"
data/Gemfile.lock CHANGED
@@ -2,12 +2,12 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
- actionmailer (3.0.0)
6
- actionpack (= 3.0.0)
5
+ actionmailer (3.0.1)
6
+ actionpack (= 3.0.1)
7
7
  mail (~> 2.2.5)
8
- actionpack (3.0.0)
9
- activemodel (= 3.0.0)
10
- activesupport (= 3.0.0)
8
+ actionpack (3.0.1)
9
+ activemodel (= 3.0.1)
10
+ activesupport (= 3.0.1)
11
11
  builder (~> 2.1.2)
12
12
  erubis (~> 2.6.6)
13
13
  i18n (~> 0.4.1)
@@ -15,19 +15,19 @@ GEM
15
15
  rack-mount (~> 0.6.12)
16
16
  rack-test (~> 0.5.4)
17
17
  tzinfo (~> 0.3.23)
18
- activemodel (3.0.0)
19
- activesupport (= 3.0.0)
18
+ activemodel (3.0.1)
19
+ activesupport (= 3.0.1)
20
20
  builder (~> 2.1.2)
21
21
  i18n (~> 0.4.1)
22
- activerecord (3.0.0)
23
- activemodel (= 3.0.0)
24
- activesupport (= 3.0.0)
22
+ activerecord (3.0.1)
23
+ activemodel (= 3.0.1)
24
+ activesupport (= 3.0.1)
25
25
  arel (~> 1.0.0)
26
26
  tzinfo (~> 0.3.23)
27
- activeresource (3.0.0)
28
- activemodel (= 3.0.0)
29
- activesupport (= 3.0.0)
30
- activesupport (3.0.0)
27
+ activeresource (3.0.1)
28
+ activemodel (= 3.0.1)
29
+ activesupport (= 3.0.1)
30
+ activesupport (3.0.1)
31
31
  archive-tar-minitar (0.5.2)
32
32
  arel (1.0.1)
33
33
  activesupport (~> 3.0.0)
@@ -41,7 +41,7 @@ GEM
41
41
  i18n (0.4.1)
42
42
  linecache19 (0.5.11)
43
43
  ruby_core_source (>= 0.1.4)
44
- mail (2.2.5)
44
+ mail (2.2.7)
45
45
  activesupport (>= 2.3.6)
46
46
  mime-types
47
47
  treetop (>= 1.4.5)
@@ -51,32 +51,34 @@ GEM
51
51
  rack (1.2.1)
52
52
  rack-mount (0.6.13)
53
53
  rack (>= 1.0.0)
54
- rack-test (0.5.4)
54
+ rack-test (0.5.6)
55
55
  rack (>= 1.0)
56
- rails (3.0.0)
57
- actionmailer (= 3.0.0)
58
- actionpack (= 3.0.0)
59
- activerecord (= 3.0.0)
60
- activeresource (= 3.0.0)
61
- activesupport (= 3.0.0)
56
+ rails (3.0.1)
57
+ actionmailer (= 3.0.1)
58
+ actionpack (= 3.0.1)
59
+ activerecord (= 3.0.1)
60
+ activeresource (= 3.0.1)
61
+ activesupport (= 3.0.1)
62
62
  bundler (~> 1.0.0)
63
- railties (= 3.0.0)
64
- railties (3.0.0)
65
- actionpack (= 3.0.0)
66
- activesupport (= 3.0.0)
63
+ railties (= 3.0.1)
64
+ railties (3.0.1)
65
+ actionpack (= 3.0.1)
66
+ activesupport (= 3.0.1)
67
67
  rake (>= 0.8.4)
68
68
  thor (~> 0.14.0)
69
69
  rake (0.8.7)
70
- rspec (2.0.0.beta.20)
71
- rspec-core (= 2.0.0.beta.20)
72
- rspec-expectations (= 2.0.0.beta.20)
73
- rspec-mocks (= 2.0.0.beta.20)
74
- rspec-core (2.0.0.beta.20)
75
- rspec-expectations (2.0.0.beta.20)
70
+ rspec (2.0.0)
71
+ rspec-core (= 2.0.0)
72
+ rspec-expectations (= 2.0.0)
73
+ rspec-mocks (= 2.0.0)
74
+ rspec-core (2.0.0)
75
+ rspec-expectations (2.0.0)
76
76
  diff-lcs (>= 1.1.2)
77
- rspec-mocks (2.0.0.beta.20)
78
- rspec-rails (2.0.0.beta.20)
79
- rspec (= 2.0.0.beta.20)
77
+ rspec-mocks (2.0.0)
78
+ rspec-core (= 2.0.0)
79
+ rspec-expectations (= 2.0.0)
80
+ rspec-rails (2.0.1)
81
+ rspec (~> 2.0.0)
80
82
  ruby-debug-base19 (0.11.24)
81
83
  columnize (>= 0.3.1)
82
84
  linecache19 (>= 0.5.11)
@@ -87,7 +89,8 @@ GEM
87
89
  ruby-debug-base19 (>= 0.11.19)
88
90
  ruby_core_source (0.1.4)
89
91
  archive-tar-minitar (>= 0.5.2)
90
- thor (0.14.0)
92
+ sqlite3-ruby (1.3.1)
93
+ thor (0.14.3)
91
94
  treetop (1.4.8)
92
95
  polyglot (>= 0.3.1)
93
96
  tzinfo (0.3.23)
@@ -99,6 +102,7 @@ DEPENDENCIES
99
102
  faker
100
103
  fakeweb
101
104
  nokogiri
102
- rails (= 3.0.0)
103
- rspec-rails (= 2.0.0.beta.20)
105
+ rails (= 3.0.1)
106
+ rspec-rails (= 2.0.1)
104
107
  ruby-debug19
108
+ sqlite3-ruby
@@ -60,15 +60,20 @@ module PagSeguro
60
60
  count
61
61
  end
62
62
 
63
- # Replace all products
64
- to_price = lambda {|s| s.gsub(/^(.*?)(.{2})$/, '\1,\2') }
63
+ to_price = proc do |price|
64
+ if price.to_s =~ /^(.*?)(.{2})$/
65
+ "#{$1},#{$2}"
66
+ else
67
+ "0,00"
68
+ end
69
+ end
65
70
 
66
71
  for index in (1..order["NumItens"])
67
72
  order["ProdID_#{index}"] = order.delete("item_id_#{index}")
68
73
  order["ProdDescricao_#{index}"] = order.delete("item_descr_#{index}")
69
74
  order["ProdValor_#{index}"] = to_price.call(order.delete("item_valor_#{index}"))
70
75
  order["ProdQuantidade_#{index}"] = order.delete("item_quant_#{index}")
71
- order["ProdFrete_#{index}"] = order["item_frete_#{index}"] == "0" ? "0,00" : to_price.call(order.delete("item_frete_#{index}"))
76
+ order["ProdFrete_#{index}"] = to_price.call(order.delete("item_frete_#{index}"))
72
77
  order["ProdExtras_#{index}"] = "0,00"
73
78
  end
74
79
 
@@ -2,7 +2,7 @@ module PagSeguro
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
data/pagseguro.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pagseguro}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nando Vieira"]
12
- s.date = %q{2010-09-10}
12
+ s.date = %q{2010-10-16}
13
13
  s.description = %q{}
14
14
  s.email = %q{fnando.vieira@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -51,7 +51,6 @@ Gem::Specification.new do |s|
51
51
  "spec/support/config/database.yml",
52
52
  "spec/support/config/pagseguro.yml",
53
53
  "spec/support/config/routes.rb",
54
- "spec/support/log/development.log",
55
54
  "spec/support/log/test.log",
56
55
  "spec/support/matcher.rb",
57
56
  "spec/support/pagseguro-test.yml",
@@ -18,11 +18,11 @@ describe PagSeguro::Rake do
18
18
  FileUtils.cp @origin, @destiny
19
19
 
20
20
  # Stub Digest::MD5#hexdigest to always return THEHASH
21
- Digest::MD5.stub!(:hexdigest).and_return("THEHASH")
21
+ Digest::MD5.stub :hexdigest => "THEHASH"
22
22
 
23
23
  # Stub the URI#parse to return a mock
24
24
  @uri = mock("URI").as_null_object
25
- URI.stub!(:parse).and_return(@uri)
25
+ URI.stub :parse => @uri
26
26
 
27
27
  # Load the pagseguro-test.yml file to
28
28
  # set some variables in order to compare it
@@ -55,7 +55,7 @@ describe PagSeguro::Rake do
55
55
  end
56
56
 
57
57
  it "should set number of items" do
58
- params["NumItens"].should == 3
58
+ params["NumItens"].should == 4
59
59
  end
60
60
 
61
61
  it "should set note" do
@@ -72,7 +72,7 @@ describe PagSeguro::Rake do
72
72
 
73
73
  it "should set transaction date" do
74
74
  now = Time.now
75
- Time.stub!(:now).and_return(now)
75
+ Time.stub :now => now
76
76
 
77
77
  PagSeguro::Rake.run
78
78
  params["DataTransacao"].should == now.strftime("%d/%m/%Y %H:%M:%S")
@@ -103,6 +103,13 @@ describe PagSeguro::Rake do
103
103
  params["ProdQuantidade_3"].should == "2"
104
104
  params["ProdExtras_3"].should == "0,00"
105
105
  params["ProdFrete_3"].should == "2,50"
106
+
107
+ params["ProdID_4"].should == "4"
108
+ params["ProdDescricao_4"].should == "Ruby Mug"
109
+ params["ProdValor_4"].should == "15,99"
110
+ params["ProdQuantidade_4"].should == "1"
111
+ params["ProdExtras_4"].should == "0,00"
112
+ params["ProdFrete_4"].should == "0,00"
106
113
  end
107
114
 
108
115
  it "should set client info" do
@@ -1,355 +1,34 @@
1
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
2
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
3
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
4
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
5
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
6
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
7
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
8
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
9
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
10
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
11
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
12
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
13
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
14
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
15
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
16
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
17
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
18
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
19
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
20
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
21
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
22
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
23
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:96)
24
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:84)
25
- DEPRECATION WARNING: You are using the old router DSL which will be removed in Rails 3.1. Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/. (called from draw_with_pagseguro_map at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:63)
26
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:85)
27
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:87)
28
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:87)
29
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
30
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:87)
31
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
32
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:87)
33
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
34
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/controllers/pagseguro_developer_controller.rb:3)
35
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
36
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/controllers/pagseguro_developer_controller.rb:3)
37
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
38
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/pagseguro_developer_controller.rb:3)
39
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
40
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/pagseguro_developer_controller.rb:3)
41
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
42
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/pagseguro_developer_controller.rb:3)
43
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/pagseguro_developer_controller.rb:3)
44
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
45
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
46
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
47
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
48
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
49
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
50
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
51
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
52
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
53
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
54
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
55
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
56
1
  Processing by PagSeguro::DeveloperController#create as HTML
57
2
  Redirected to http://test.host/invoices/confirmation
58
- Completed 302 Found in 3ms
59
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
60
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
61
- Processing by PagSeguro::DeveloperController#create as HTML
62
- Redirected to http://test.host/invoices/confirmation
63
- Completed 302 Found in 14ms
64
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
65
- DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
66
- Processing by PagSeguro::DeveloperController#create as HTML
67
- Redirected to http://test.host/invoices/confirmation
68
- Completed 302 Found in 3ms
69
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
70
- Processing by PagSeguro::DeveloperController#create as HTML
71
- Redirected to http://test.host/invoices/confirmation
72
- Completed 302 Found in 3ms
73
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
74
- Processing by PagSeguro::DeveloperController#create as HTML
75
- Redirected to http://test.host/invoices/confirmation
76
- Completed 302 Found in 3ms
77
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
78
- Processing by PagSeguro::DeveloperController#create as HTML
79
- Redirected to http://test.host/invoices/confirmation
80
- Completed 302 Found in 3ms
81
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
82
- Processing by PagSeguro::DeveloperController#create as HTML
83
- Redirected to http://test.host/invoices/confirmation
84
- Completed 302 Found in 3ms
85
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
86
- Processing by PagSeguro::DeveloperController#create as HTML
87
- Redirected to http://test.host/invoices/confirmation
88
- Completed 302 Found in 3ms
89
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
90
- Processing by PagSeguro::DeveloperController#create as HTML
91
- Redirected to http://test.host/invoices/confirmation
92
- Completed 302 Found in 3ms
93
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
94
- Processing by PagSeguro::DeveloperController#create as HTML
95
- Redirected to http://test.host/invoices/confirmation
96
- Completed 302 Found in 3ms
97
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
98
- Processing by PagSeguro::DeveloperController#create as HTML
99
- Redirected to http://test.host/invoices/confirmation
100
- Completed 302 Found in 3ms
101
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
102
- Processing by PagSeguro::DeveloperController#create as HTML
103
- Redirected to http://test.host/invoices/confirmation
104
- Completed 302 Found in 3ms
105
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
106
- Processing by PagSeguro::DeveloperController#create as HTML
107
- Redirected to http://test.host/invoices/confirmation
108
- Completed 302 Found in 3ms
109
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
110
- Processing by PagSeguro::DeveloperController#create as HTML
111
- Redirected to http://test.host/invoices/confirmation
112
- Completed 302 Found in 3ms
113
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
114
- Processing by PagSeguro::DeveloperController#create as HTML
115
- Redirected to http://test.host/invoices/confirmation
116
- Completed 302 Found in 3ms
117
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
118
- Processing by PagSeguro::DeveloperController#create as HTML
119
- Redirected to http://test.host/invoices/confirmation
120
- Completed 302 Found in 3ms
121
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
122
- Processing by PagSeguro::DeveloperController#create as HTML
123
- Redirected to http://test.host/invoices/confirmation
124
- Completed 302 Found in 4ms
125
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
126
- Processing by PagSeguro::DeveloperController#create as HTML
127
- Redirected to http://test.host/invoices/confirmation
128
- Completed 302 Found in 3ms
129
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
130
- Processing by PagSeguro::DeveloperController#create as HTML
131
- Redirected to http://test.host/invoices/confirmation
132
- Completed 302 Found in 3ms
133
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
134
- Processing by PagSeguro::DeveloperController#create as HTML
135
- Redirected to http://test.host/invoices/confirmation
136
- Completed 302 Found in 3ms
137
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
138
- Processing by PagSeguro::DeveloperController#create as HTML
139
- Redirected to http://test.host/invoices/confirmation
140
- Completed 302 Found in 3ms
141
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
142
- Processing by PagSeguro::DeveloperController#create as HTML
143
- Redirected to http://test.host/invoices/confirmation
144
- Completed 302 Found in 3ms
145
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
146
- Processing by PagSeguro::DeveloperController#create as HTML
147
- Redirected to http://test.host/invoices/confirmation
148
- Completed 302 Found in 3ms
149
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
150
- Processing by PagSeguro::DeveloperController#create as HTML
151
- Redirected to http://test.host/invoices/confirmation
152
- Completed 302 Found in 3ms
153
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
154
- Processing by PagSeguro::DeveloperController#create as HTML
155
- Redirected to http://test.host/invoices/confirmation
156
- Completed 302 Found in 3ms
157
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
158
- Processing by PagSeguro::DeveloperController#create as HTML
159
- Redirected to http://test.host/invoices/confirmation
160
- Completed 302 Found in 3ms
161
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
162
- Processing by PagSeguro::DeveloperController#create as HTML
163
- Redirected to http://test.host/invoices/confirmation
164
- Completed 302 Found in 3ms
165
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
166
- Processing by PagSeguro::DeveloperController#create as HTML
167
- Redirected to http://test.host/invoices/confirmation
168
- Completed 302 Found in 3ms
169
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
170
- Processing by PagSeguro::DeveloperController#create as HTML
171
- Redirected to http://test.host/invoices/confirmation
172
- Completed 302 Found in 3ms
173
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
174
- Processing by PagSeguro::DeveloperController#create as HTML
175
- Redirected to http://test.host/invoices/confirmation
176
- Completed 302 Found in 3ms
177
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
178
- Processing by PagSeguro::DeveloperController#create as HTML
179
- Redirected to http://test.host/invoices/confirmation
180
- Completed 302 Found in 3ms
181
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
182
- Processing by PagSeguro::DeveloperController#create as HTML
183
- Redirected to http://test.host/invoices/confirmation
184
- Completed 302 Found in 3ms
185
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
186
- Processing by PagSeguro::DeveloperController#create as HTML
187
- Redirected to http://test.host/invoices/confirmation
188
- Completed 302 Found in 3ms
189
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
190
- Processing by PagSeguro::DeveloperController#create as HTML
191
- Redirected to http://test.host/invoices/confirmation
192
- Completed 302 Found in 3ms
193
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
194
- Processing by PagSeguro::DeveloperController#create as HTML
195
- Redirected to http://test.host/invoices/confirmation
196
- Completed 302 Found in 3ms
197
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
198
- Processing by PagSeguro::DeveloperController#create as HTML
199
- Redirected to http://test.host/invoices/confirmation
200
- Completed 302 Found in 3ms
201
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
202
- Processing by PagSeguro::DeveloperController#create as HTML
203
- Redirected to http://test.host/invoices/confirmation
204
- Completed 302 Found in 3ms
205
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
206
- Processing by PagSeguro::DeveloperController#create as HTML
207
- Redirected to http://test.host/invoices/confirmation
208
- Completed 302 Found in 3ms
209
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
210
- Processing by PagSeguro::DeveloperController#create as HTML
211
- Redirected to http://test.host/invoices/confirmation
212
- Completed 302 Found in 3ms
213
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
214
- Processing by PagSeguro::DeveloperController#create as HTML
215
- Redirected to http://test.host/invoices/confirmation
216
- Completed 302 Found in 3ms
217
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
218
- Processing by PagSeguro::DeveloperController#create as HTML
219
- Redirected to http://test.host/invoices/confirmation
220
- Completed 302 Found in 3ms
221
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
222
- Processing by PagSeguro::DeveloperController#create as HTML
223
- Redirected to http://test.host/invoices/confirmation
224
- Completed 302 Found in 3ms
225
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
226
- Processing by PagSeguro::DeveloperController#create as HTML
227
- Redirected to http://test.host/invoices/confirmation
228
- Completed 302 Found in 3ms
229
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
230
- Processing by PagSeguro::DeveloperController#create as HTML
231
- Redirected to http://test.host/invoices/confirmation
232
- Completed 302 Found in 3ms
233
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
234
- Processing by PagSeguro::DeveloperController#create as HTML
235
- Redirected to http://test.host/invoices/confirmation
236
- Completed 302 Found in 3ms
237
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
238
- Processing by PagSeguro::DeveloperController#create as HTML
239
- Redirected to http://test.host/invoices/confirmation
240
- Completed 302 Found in 3ms
241
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
242
- Processing by PagSeguro::DeveloperController#create as HTML
243
- Redirected to http://test.host/invoices/confirmation
244
- Completed 302 Found in 3ms
245
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
246
- Processing by PagSeguro::DeveloperController#create as HTML
247
- Redirected to http://test.host/invoices/confirmation
248
- Completed 302 Found in 3ms
249
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
250
- Processing by PagSeguro::DeveloperController#create as HTML
251
- Redirected to http://test.host/invoices/confirmation
252
- Completed 302 Found in 3ms
253
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
254
- Processing by PagSeguro::DeveloperController#create as HTML
255
- Redirected to http://test.host/invoices/confirmation
256
- Completed 302 Found in 3ms
257
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
258
- Processing by PagSeguro::DeveloperController#create as HTML
259
- Redirected to http://test.host/invoices/confirmation
260
- Completed 302 Found in 3ms
261
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
262
- Processing by PagSeguro::DeveloperController#create as HTML
263
- Redirected to http://test.host/invoices/confirmation
264
- Completed 302 Found in 3ms
265
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
266
- Processing by PagSeguro::DeveloperController#create as HTML
267
- Redirected to http://test.host/invoices/confirmation
268
- Completed 302 Found in 3ms
269
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
270
- Processing by PagSeguro::DeveloperController#create as HTML
271
- Redirected to http://test.host/invoices/confirmation
272
- Completed 302 Found in 3ms
273
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
274
- Processing by PagSeguro::DeveloperController#create as HTML
275
- Redirected to http://test.host/invoices/confirmation
276
- Completed 302 Found in 3ms
277
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
278
- Processing by PagSeguro::DeveloperController#create as HTML
279
- Redirected to http://test.host/invoices/confirmation
280
- Completed 302 Found in 3ms
281
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
282
- Processing by PagSeguro::DeveloperController#create as HTML
283
- Redirected to http://test.host/invoices/confirmation
284
- Completed 302 Found in 3ms
285
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
286
- Processing by PagSeguro::DeveloperController#create as HTML
287
- Redirected to http://test.host/invoices/confirmation
288
- Completed 302 Found in 3ms
289
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
290
- Processing by PagSeguro::DeveloperController#create as HTML
291
- Redirected to http://test.host/invoices/confirmation
292
- Completed 302 Found in 3ms
293
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
294
- Processing by PagSeguro::DeveloperController#create as HTML
295
- Redirected to http://test.host/invoices/confirmation
296
- Completed 302 Found in 3ms
297
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
298
- Processing by PagSeguro::DeveloperController#create as HTML
299
- Redirected to http://test.host/invoices/confirmation
300
- Completed 302 Found in 3ms
301
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
302
- Processing by PagSeguro::DeveloperController#create as HTML
303
- Redirected to http://test.host/invoices/confirmation
304
- Completed 302 Found in 3ms
305
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
306
- Processing by PagSeguro::DeveloperController#create as HTML
307
- Redirected to http://test.host/invoices/confirmation
308
- Completed 302 Found in 3ms
309
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
310
- Processing by PagSeguro::DeveloperController#create as HTML
311
- Redirected to http://test.host/invoices/confirmation
312
- Completed 302 Found in 3ms
313
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
314
- Processing by PagSeguro::DeveloperController#create as HTML
315
- Redirected to http://test.host/invoices/confirmation
316
- Completed 302 Found in 3ms
317
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
318
- Processing by PagSeguro::DeveloperController#create as HTML
319
- Redirected to http://test.host/invoices/confirmation
320
- Completed 302 Found in 3ms
321
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
322
- Processing by PagSeguro::DeveloperController#create as HTML
323
- Redirected to http://test.host/invoices/confirmation
324
- Completed 302 Found in 3ms
325
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
3
+ Completed 302 Found in 2ms
326
4
  Processing by PagSeguro::DeveloperController#create as HTML
5
+ Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
327
6
  Redirected to http://test.host/invoices/confirmation
328
- Completed 302 Found in 3ms
329
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
7
+ Completed 302 Found in 2ms
330
8
  Processing by PagSeguro::DeveloperController#create as HTML
9
+ Parameters: {"ref_transacao"=>"I1001"}
331
10
  Redirected to http://test.host/invoices/confirmation
332
- Completed 302 Found in 3ms
333
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
11
+ Completed 302 Found in 1ms
334
12
  Processing by PagSeguro::DeveloperController#create as HTML
335
13
  Redirected to http://test.host/invoices/confirmation
336
14
  Completed 302 Found in 2ms
337
- DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
338
15
  Processing by PagSeguro::DeveloperController#create as HTML
16
+ Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
339
17
  Redirected to http://test.host/invoices/confirmation
340
- Completed 302 Found in 2ms
18
+ Completed 302 Found in 1ms
341
19
  Processing by PagSeguro::DeveloperController#create as HTML
20
+ Parameters: {"ref_transacao"=>"I1001"}
342
21
  Redirected to http://test.host/invoices/confirmation
343
- Completed 302 Found in 2ms
22
+ Completed 302 Found in 1ms
344
23
  Processing by PagSeguro::DeveloperController#create as HTML
345
- Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
346
24
  Redirected to http://test.host/invoices/confirmation
347
25
  Completed 302 Found in 2ms
348
26
  Processing by PagSeguro::DeveloperController#create as HTML
27
+ Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
349
28
  Redirected to http://test.host/invoices/confirmation
350
29
  Completed 302 Found in 2ms
351
30
  Processing by PagSeguro::DeveloperController#create as HTML
352
- Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
31
+ Parameters: {"ref_transacao"=>"I1001"}
353
32
  Redirected to http://test.host/invoices/confirmation
354
33
  Completed 302 Found in 2ms
355
34
  Processing by PagSeguro::DeveloperController#create as HTML
@@ -358,10 +37,11 @@ Completed 302 Found in 2ms
358
37
  Processing by PagSeguro::DeveloperController#create as HTML
359
38
  Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
360
39
  Redirected to http://test.host/invoices/confirmation
361
- Completed 302 Found in 2ms
40
+ Completed 302 Found in 1ms
362
41
  Processing by PagSeguro::DeveloperController#create as HTML
42
+ Parameters: {"ref_transacao"=>"I1001"}
363
43
  Redirected to http://test.host/invoices/confirmation
364
- Completed 302 Found in 2ms
44
+ Completed 302 Found in 1ms
365
45
  Processing by PagSeguro::DeveloperController#create as HTML
366
46
  Redirected to http://test.host/invoices/confirmation
367
47
  Completed 302 Found in 2ms
@@ -1,30 +1,36 @@
1
- ---
2
- ABC: !map:HashWithIndifferentAccess
1
+ ---
2
+ ABC: !map:HashWithIndifferentAccess
3
3
  commit: Pagar com PagSeguro
4
4
  email_cobranca: user@example.com
5
5
  encoding: utf-8
6
-
6
+
7
7
  item_descr_1: Ruby 1.9 PDF
8
8
  item_frete_1: "0"
9
9
  item_id_1: "1"
10
10
  item_peso_1: "0"
11
11
  item_quant_1: "1"
12
12
  item_valor_1: "900"
13
-
13
+
14
14
  item_descr_2: Ruby 1.9 Screencast
15
15
  item_frete_2: "0"
16
16
  item_id_2: "2"
17
17
  item_peso_2: "0"
18
18
  item_quant_2: "1"
19
19
  item_valor_2: "1250"
20
-
20
+
21
21
  item_descr_3: Ruby T-Shirt
22
22
  item_frete_3: "250"
23
23
  item_id_3: "3"
24
24
  item_peso_3: "300"
25
25
  item_quant_3: "2"
26
26
  item_valor_3: "1989"
27
-
27
+
28
+ item_descr_4: Ruby Mug
29
+ item_id_4: "4"
30
+ item_peso_4: "100"
31
+ item_quant_4: "1"
32
+ item_valor_4: "1599"
33
+
28
34
  moeda: BRL
29
35
  ref_transacao: ABC
30
36
  tipo: CP
@@ -1,30 +1,36 @@
1
- ---
2
- ABC: !map:HashWithIndifferentAccess
1
+ ---
2
+ ABC: !map:HashWithIndifferentAccess
3
3
  commit: Pagar com PagSeguro
4
4
  email_cobranca: user@example.com
5
5
  encoding: utf-8
6
-
6
+
7
7
  item_descr_1: Ruby 1.9 PDF
8
8
  item_frete_1: "0"
9
9
  item_id_1: "1"
10
10
  item_peso_1: "0"
11
11
  item_quant_1: "1"
12
12
  item_valor_1: "900"
13
-
13
+
14
14
  item_descr_2: Ruby 1.9 Screencast
15
15
  item_frete_2: "0"
16
16
  item_id_2: "2"
17
17
  item_peso_2: "0"
18
18
  item_quant_2: "1"
19
19
  item_valor_2: "1250"
20
-
20
+
21
21
  item_descr_3: Ruby T-Shirt
22
22
  item_frete_3: "250"
23
23
  item_id_3: "3"
24
24
  item_peso_3: "300"
25
25
  item_quant_3: "2"
26
26
  item_valor_3: "1989"
27
-
27
+
28
+ item_descr_4: Ruby Mug
29
+ item_id_4: "4"
30
+ item_peso_4: "100"
31
+ item_quant_4: "1"
32
+ item_valor_4: "1599"
33
+
28
34
  moeda: BRL
29
35
  ref_transacao: ABC
30
36
  tipo: CP
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nando Vieira
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-10 00:00:00 -03:00
17
+ date: 2010-10-16 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -76,7 +76,6 @@ files:
76
76
  - spec/support/config/database.yml
77
77
  - spec/support/config/pagseguro.yml
78
78
  - spec/support/config/routes.rb
79
- - spec/support/log/development.log
80
79
  - spec/support/log/test.log
81
80
  - spec/support/matcher.rb
82
81
  - spec/support/pagseguro-test.yml
File without changes