catarse_dineromail 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -4,9 +4,10 @@ Dineromail integration with [Catarse](http://github.com/danielweinmann/catarse)
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
Add this
|
7
|
+
Add this lines to your Catarse application's Gemfile:
|
8
8
|
|
9
|
-
gem '
|
9
|
+
gem 'dinero_mail_ipn', git: "git://github.com/josemarluedke/dinero_mail_ipn.git"
|
10
|
+
gem 'catarse_dineromail'
|
10
11
|
|
11
12
|
And then execute:
|
12
13
|
|
@@ -18,13 +19,17 @@ Configure the routes for your Catarse application. Add the following lines in th
|
|
18
19
|
|
19
20
|
mount CatarseDineromail::Engine => "/", :as => "catarse_dineromail"
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
22
|
+
### Configurations
|
23
|
+
|
24
|
+
Create this configurations into Catarse database:
|
25
|
+
|
26
|
+
dineromail_merchant, dineromail_ipn_password and dineromail_country_id
|
24
27
|
|
25
|
-
|
28
|
+
In Rails console, run this:
|
26
29
|
|
27
|
-
|
30
|
+
Configuration.create!(name: "dineromail_merchant", value: "123456")
|
31
|
+
Configuration.create!(name: "dineromail_country_id", value: "2")
|
32
|
+
Configuration.create!(name: "dineromail_ipn_password", value: "ipn_password")
|
28
33
|
|
29
34
|
## Development environment setup
|
30
35
|
|
@@ -36,7 +41,7 @@ Add the catarse code into test/dummy:
|
|
36
41
|
|
37
42
|
$ git submodule add git://github.com/danielweinmann/catarse.git test/dummy
|
38
43
|
|
39
|
-
Copy the Catarse's
|
44
|
+
Copy the Catarse's gems to Gemfile:
|
40
45
|
|
41
46
|
$ cat test/dummy/Gemfile >> Gemfile
|
42
47
|
|
@@ -76,7 +76,7 @@ module CatarseDineromail
|
|
76
76
|
config.payment_method = 'all'
|
77
77
|
config.merchant = (::Configuration[:dineromail_merchant] || nil)
|
78
78
|
config.logo_url = "#{request.protocol}#{request.host_with_port}/assets/logo.png"
|
79
|
-
config.currency = DineroMailCheckout::Configuration::Currency::
|
79
|
+
config.currency = DineroMailCheckout::Configuration::Currency::USD
|
80
80
|
config.country_id = ::Configuration[:dineromail_country_id]
|
81
81
|
end
|
82
82
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catarse_dineromail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-17 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70228763782920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70228763782920
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: dinero_mail_checkout
|
27
|
-
requirement: &
|
27
|
+
requirement: &70228763773620 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70228763773620
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dinero_mail_ipn
|
38
|
-
requirement: &
|
38
|
+
requirement: &70228763771860 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70228763771860
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec-rails
|
49
|
-
requirement: &
|
49
|
+
requirement: &70228763770560 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70228763770560
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: fakeweb
|
60
|
-
requirement: &
|
60
|
+
requirement: &70228763768300 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70228763768300
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: factory_girl_rails
|
71
|
-
requirement: &
|
71
|
+
requirement: &70228763767100 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70228763767100
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: database_cleaner
|
82
|
-
requirement: &
|
82
|
+
requirement: &70228763765680 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70228763765680
|
91
91
|
description: Dineromail integration with Catarse crowdfunding platform
|
92
92
|
email:
|
93
93
|
- josemarluedke@gmail.com
|
@@ -141,3 +141,4 @@ test_files:
|
|
141
141
|
- spec/fixtures/dineromail_ipn_request.xml
|
142
142
|
- spec/fixtures/dineromail_ipn_response.xml
|
143
143
|
- spec/spec_helper.rb
|
144
|
+
has_rdoc:
|