spree_paypal_website_standard 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A [Spree](http://spreecommerce.com) extension to allow payments using PayPal Website Standard.
4
4
 
5
+ [![Build Status](https://secure.travis-ci.org/tomash/spree-pp-website-standard.png)](http://travis-ci.org/tomash/spree-pp-website-standard)
6
+
5
7
  ## Before you read further
6
8
 
7
9
  This README is in the process of thorough rework to describe the current codebase, design decisions and how to use it. But at the moment some parts are out-of-date. Please read the code of the extension, it's pretty well commented and structured.
@@ -36,10 +38,18 @@ Add to your Spree application Gemfile.
36
38
 
37
39
  gem "spree_paypal_website_standard", :git => "git://github.com/tomash/spree-pp-website-standard.git"
38
40
 
41
+ Run the bundle install
42
+
43
+ bundle install
44
+
39
45
  Run the install rake task to copiy migrations (create payment_notifications table)
40
46
 
41
47
  rake pp_website_standard:install
42
48
 
49
+ Run migrations
50
+
51
+ rake db:migrate
52
+
43
53
  Configure, run, test.
44
54
 
45
55
 
Binary file
@@ -1,4 +1,4 @@
1
- <%- if(RAILS_ENV == 'development')
1
+ <%- if Rails.env.development?
2
2
  submit_url = Spree::Paypal::Config[:sandbox_url]
3
3
  else
4
4
  submit_url = Spree::Paypal::Config[:paypal_url]
@@ -1,5 +1,5 @@
1
1
  <% content_for :head do %>
2
- <%= javascript_include_tag 'checkout', '/states' %>
2
+ <%= javascript_include_tag '/states' %>
3
3
  <% end %>
4
4
  <div id="checkout">
5
5
  <h1><%= t("checkout")%></h1>
@@ -16,8 +16,8 @@ namespace :pp_website_standard do
16
16
 
17
17
  desc "Copies all assets (NOTE: This will be obsolete with Rails 3.1)"
18
18
  task :assets do
19
- source = File.join(File.dirname(__FILE__), '..', '..', 'public')
20
- destination = File.join(Rails.root, 'public')
19
+ source = File.join(File.dirname(__FILE__), '..', '..', 'app/assets')
20
+ destination = File.join(Rails.root, 'app/assets')
21
21
  puts "INFO: Mirroring assets from #{source} to #{destination}"
22
22
  Spree::FileUtilz.mirror_files(source, destination)
23
23
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_paypal_website_standard
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 55
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 8
8
- - 3
9
- version: 0.8.3
9
+ - 4
10
+ version: 0.8.4
10
11
  platform: ruby
11
12
  authors:
12
13
  - Gregg Pollack, Sean Schofield, Tomasz Stachewicz
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-10-10 00:00:00 +02:00
18
+ date: 2011-12-27 00:00:00 +01:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,13 +26,28 @@ dependencies:
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 261
28
30
  segments:
29
31
  - 0
30
- - 50
31
- - 0
32
- version: 0.50.0
32
+ - 70
33
+ - 1
34
+ version: 0.70.1
33
35
  type: :runtime
34
36
  version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: rspec-rails
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ type: :development
50
+ version_requirements: *id002
35
51
  description: Spree extension for integration with PayPal Website Standard payment
36
52
  email: tomekrs@o2.pl
37
53
  executables: []
@@ -58,6 +74,7 @@ files:
58
74
  - app/views/checkout/edit.html.erb
59
75
  - app/models/order_decorator.rb
60
76
  - app/models/payment_notification.rb
77
+ - app/assets/images/pp_checkout.gif
61
78
  has_rdoc: true
62
79
  homepage: http://github.com/tomash/spree-pp-website-standard
63
80
  licenses: []
@@ -72,6 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
89
  requirements:
73
90
  - - ">="
74
91
  - !ruby/object:Gem::Version
92
+ hash: 57
75
93
  segments:
76
94
  - 1
77
95
  - 8
@@ -82,6 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
100
  requirements:
83
101
  - - ">="
84
102
  - !ruby/object:Gem::Version
103
+ hash: 3
85
104
  segments:
86
105
  - 0
87
106
  version: "0"