catarse_dineromail 0.1.5 → 0.1.6

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/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm --create 1.9.2@catarse_dineromail
data/Gemfile CHANGED
@@ -1,9 +1,110 @@
1
- source "http://rubygems.org"
2
-
3
- # Declare your gem's dependencies in catarse_dineromail.gemspec.
4
- # Bundler will treat runtime dependencies like base dependencies, and
5
- # development dependencies will be added by default to the :development group
6
- gemspec
1
+ source 'http://rubygems.org'
2
+ source 'http://gems.github.com'
7
3
 
8
4
  gem 'dinero_mail_checkout', git: "git://github.com/josemarluedke/dinero_mail_checkout.git"
9
5
  gem 'dinero_mail_ipn', git: "git://github.com/josemarluedke/dinero_mail_ipn.git"
6
+
7
+ gem 'rails', '3.2.6'
8
+ gem 'rake', '0.9.2.2'
9
+
10
+ # Database [Putting pg to the end because of a weird bug with Lion, pg and openssl]
11
+ gem 'pg'
12
+ gem 'foreigner'
13
+ gem 'activerecord-postgresql-adapter'
14
+
15
+ # Frontend stuff
16
+ gem 'jquery-rails'
17
+ gem 'slim'
18
+ gem 'slim-rails'
19
+
20
+ # Authentication and Authorization
21
+ gem 'omniauth', "~> 1.1.0"
22
+ gem 'omniauth-openid', '~> 1.0.1'
23
+ gem 'omniauth-twitter', '~> 0.0.12'
24
+ #gem 'omniauth-facebook', '~> 1.2.0'
25
+ gem 'omniauth-github', '~> 1.0.1'
26
+ gem 'omniauth-linkedin', '~> 0.0.6'
27
+ gem 'omniauth-yahoo', '~> 0.0.4'
28
+ gem 'devise', '1.5.3'
29
+ gem 'cancan'
30
+
31
+ gem 'rails_autolink', '~> 1.0.7'
32
+
33
+ # Tools
34
+ gem 'mailchimp'
35
+ gem "airbrake"
36
+ gem 'feedzirra'
37
+ gem 'formtastic'
38
+ gem "auto_html", '= 1.4.2'
39
+ gem 'validation_reflection', git: 'git://github.com/ncri/validation_reflection.git'
40
+ gem 'maxim-sexy_pg_constraints'
41
+ gem 'inherited_resources', '1.3.1'
42
+ gem 'spectator-validates_email', require: 'validates_email'
43
+ gem 'has_vimeo_video', '>= 0.0.4'
44
+ gem 'wirble'
45
+ gem "on_the_spot"
46
+ gem 'weekdays'
47
+ gem 'brcep'
48
+ gem "RedCloth"
49
+ gem 'unicode'
50
+ gem 'carrierwave', '= 0.5.8'
51
+ gem 'rmagick'
52
+ gem 'fog'
53
+ gem 'enumerate_it'
54
+ gem 'httparty', '~> 0.6.1'
55
+ gem "rack-timeout"
56
+ gem 'kaminari'
57
+ gem 'tumblr-api'
58
+ gem 'dalli'
59
+ gem 'capybara', ">= 1.0.1"
60
+
61
+ # Translations
62
+ gem 'http_accept_language'
63
+ gem 'web_translate_it'
64
+ gem 'routing-filter' #, :git => 'git://github.com/svenfuchs/routing-filter.git'
65
+
66
+ # Administration
67
+ #gem 'activeadmin', git: 'git://github.com/gregbell/active_admin.git'
68
+ gem "meta_search", "1.1.3"
69
+
70
+ # Payment (moip)
71
+ gem 'moip', git: 'https://github.com/danielweinmann/moip-ruby.git', ref: 'db1b879358c623b597dc1c221b53336f9f06db0e'
72
+
73
+ # Payment (paypal adaptive)
74
+ gem 'activemerchant', '1.17.0', require: 'active_merchant'
75
+ #gem 'active_paypal_adaptive_payment', '~> 0.3.13'
76
+ gem 'httpclient', '2.2.5'
77
+ gem 'selenium-webdriver', '~> 2.25.0'
78
+ gem 'bourbon'
79
+ gem 'paypal-express', :require => 'paypal'
80
+
81
+ # Server
82
+ gem 'thin'
83
+
84
+ group :assets do
85
+ gem 'sass-rails', '~> 3.2.5'
86
+ gem 'coffee-rails', '~> 3.2.2'
87
+ gem "compass-rails", "~> 1.0.1"
88
+ gem 'uglifier', '>= 1.0.3'
89
+ gem 'compass-960-plugin', '~> 0.10.4'
90
+ end
91
+
92
+ group :test, :development do
93
+ gem 'annotate'
94
+ gem 'launchy'
95
+ gem 'database_cleaner'
96
+ gem 'steak', "~> 1.1.0"
97
+ gem 'rspec-rails', "~> 2.10.0"
98
+ gem 'rcov', '= 0.9.11'
99
+ gem 'mocha', '0.10.4'
100
+ end
101
+
102
+ group :development do
103
+ gem 'mailcatcher'
104
+ gem 'ruby-debug19'
105
+ end
106
+
107
+ group :test do
108
+ gem 'shoulda'
109
+ gem 'factory_girl_rails', '1.7.0'
110
+ end
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  GIT
2
2
  remote: git://github.com/josemarluedke/dinero_mail_checkout.git
3
- revision: ac19016a9956acf5c86a5e88e59cba977dc9c2bb
3
+ revision: 8a786dfabae588d3e801e79349cf159cbd791434
4
4
  specs:
5
- dinero_mail_checkout (0.0.1)
5
+ dinero_mail_checkout (0.1.0)
6
6
 
7
7
  GIT
8
8
  remote: git://github.com/josemarluedke/dinero_mail_ipn.git
@@ -12,17 +12,27 @@ GIT
12
12
  httparty (~> 0.6.1)
13
13
  nokogiri (~> 1.4.3)
14
14
 
15
- PATH
16
- remote: .
15
+ GIT
16
+ remote: git://github.com/ncri/validation_reflection.git
17
+ revision: 60320e6beb088808fd625a8d958dbd0d2661d494
18
+ specs:
19
+ validation_reflection (1.0.0)
20
+
21
+ GIT
22
+ remote: https://github.com/danielweinmann/moip-ruby.git
23
+ revision: db1b879358c623b597dc1c221b53336f9f06db0e
24
+ ref: db1b879358c623b597dc1c221b53336f9f06db0e
17
25
  specs:
18
- catarse_dineromail (0.0.1)
19
- dinero_mail_checkout
20
- dinero_mail_ipn
21
- rails (~> 3.2.6)
26
+ moip (1.0.2)
27
+ activesupport (>= 2.3.2)
28
+ httparty (~> 0.6.1)
29
+ nokogiri (~> 1.4.3)
22
30
 
23
31
  GEM
24
32
  remote: http://rubygems.org/
33
+ remote: http://gems.github.com/
25
34
  specs:
35
+ RedCloth (4.2.9)
26
36
  actionmailer (3.2.6)
27
37
  actionpack (= 3.2.6)
28
38
  mail (~> 2.4.4)
@@ -36,6 +46,11 @@ GEM
36
46
  rack-cache (~> 1.2)
37
47
  rack-test (~> 0.6.1)
38
48
  sprockets (~> 2.1.3)
49
+ activemerchant (1.17.0)
50
+ activesupport (>= 2.3.11)
51
+ braintree (>= 2.0.0)
52
+ builder (>= 2.0.0)
53
+ json (>= 1.5.1)
39
54
  activemodel (3.2.6)
40
55
  activesupport (= 3.2.6)
41
56
  builder (~> 3.0.0)
@@ -44,45 +59,236 @@ GEM
44
59
  activesupport (= 3.2.6)
45
60
  arel (~> 3.0.2)
46
61
  tzinfo (~> 0.3.29)
62
+ activerecord-postgresql-adapter (0.0.1)
63
+ pg
47
64
  activeresource (3.2.6)
48
65
  activemodel (= 3.2.6)
49
66
  activesupport (= 3.2.6)
50
67
  activesupport (3.2.6)
51
68
  i18n (~> 0.6)
52
69
  multi_json (~> 1.0)
70
+ addressable (2.3.2)
71
+ airbrake (3.1.2)
72
+ activesupport
73
+ builder
74
+ annotate (2.5.0)
75
+ rake
76
+ archive-tar-minitar (0.5.2)
53
77
  arel (3.0.2)
78
+ attr_required (0.0.5)
79
+ auto_html (1.4.2)
80
+ RedCloth
81
+ redcarpet
82
+ rinku
83
+ tag_helper
84
+ bcrypt-ruby (3.0.1)
85
+ bourbon (2.1.1)
86
+ sass (>= 3.1)
87
+ braintree (2.16.0)
88
+ builder (>= 2.0.0)
89
+ brcep (3.1.0)
54
90
  builder (3.0.0)
91
+ cancan (1.6.8)
92
+ capybara (1.1.2)
93
+ mime-types (>= 1.16)
94
+ nokogiri (>= 1.3.3)
95
+ rack (>= 1.0.0)
96
+ rack-test (>= 0.5.4)
97
+ selenium-webdriver (~> 2.0)
98
+ xpath (~> 0.1.4)
99
+ carrierwave (0.5.8)
100
+ activesupport (~> 3.0)
101
+ childprocess (0.3.4)
102
+ ffi (~> 1.0, >= 1.0.6)
103
+ chunky_png (1.2.5)
104
+ coffee-rails (3.2.2)
105
+ coffee-script (>= 2.2.0)
106
+ railties (~> 3.2.0)
107
+ coffee-script (2.2.0)
108
+ coffee-script-source
109
+ execjs
110
+ coffee-script-source (1.3.3)
111
+ columnize (0.3.6)
112
+ compass (0.12.2)
113
+ chunky_png (~> 1.2)
114
+ fssm (>= 0.2.7)
115
+ sass (~> 3.1)
116
+ compass-960-plugin (0.10.4)
117
+ compass (>= 0.10.0)
118
+ compass-rails (1.0.3)
119
+ compass (>= 0.12.2, < 0.14)
55
120
  crack (0.1.8)
121
+ curb (0.7.18)
122
+ daemons (1.1.8)
123
+ dalli (2.1.0)
56
124
  database_cleaner (0.8.0)
125
+ devise (1.5.3)
126
+ bcrypt-ruby (~> 3.0)
127
+ orm_adapter (~> 0.0.3)
128
+ warden (~> 1.1)
57
129
  diff-lcs (1.1.3)
130
+ enumerate_it (0.7.16)
131
+ activesupport (>= 3.0.0)
58
132
  erubis (2.7.0)
133
+ eventmachine (0.12.10)
134
+ excon (0.6.6)
135
+ execjs (1.4.0)
136
+ multi_json (~> 1.0)
59
137
  factory_girl (2.6.4)
60
138
  activesupport (>= 2.3.9)
61
139
  factory_girl_rails (1.7.0)
62
140
  factory_girl (~> 2.6.0)
63
141
  railties (>= 3.0.0)
64
- fakeweb (1.3.0)
142
+ faraday (0.8.1)
143
+ multipart-post (~> 1.1)
144
+ feedzirra (0.0.31)
145
+ activesupport (>= 3.0.8)
146
+ builder (~> 3.0.0)
147
+ curb (~> 0.7.15)
148
+ i18n (>= 0.5.0)
149
+ loofah (~> 1.0.0)
150
+ nokogiri (~> 1.4.4)
151
+ rake (>= 0.9.2)
152
+ rdoc (~> 3.8)
153
+ sax-machine (~> 0.0.20)
154
+ ffi (1.1.3)
155
+ fog (0.9.0)
156
+ builder
157
+ excon (~> 0.6.1)
158
+ formatador (>= 0.1.3)
159
+ json
160
+ mime-types
161
+ net-scp (>= 1.0.4)
162
+ net-ssh (>= 2.1.4)
163
+ nokogiri (>= 1.4.4)
164
+ ruby-hmac
165
+ foreigner (1.2.0)
166
+ activerecord (>= 3.0.0)
167
+ formatador (0.2.3)
168
+ formtastic (2.2.1)
169
+ actionpack (>= 3.0)
170
+ fssm (0.2.9)
171
+ haml (3.1.6)
172
+ has_scope (0.5.1)
173
+ has_vimeo_video (0.0.5)
174
+ supermodel
175
+ vimeo
176
+ hashie (1.2.0)
65
177
  hike (1.2.1)
178
+ http_accept_language (1.0.2)
66
179
  httparty (0.6.1)
67
180
  crack (= 0.1.8)
181
+ httpauth (0.1)
182
+ httpclient (2.2.5)
68
183
  i18n (0.6.0)
184
+ inherited_resources (1.3.1)
185
+ has_scope (~> 0.5.0)
186
+ responders (~> 0.6)
69
187
  journey (1.0.4)
70
- json (1.7.3)
188
+ jquery-rails (2.0.2)
189
+ railties (>= 3.2.0, < 5.0)
190
+ thor (~> 0.14)
191
+ json (1.7.4)
192
+ json_pure (1.7.4)
193
+ jwt (0.1.5)
194
+ multi_json (>= 1.0)
195
+ kaminari (0.13.0)
196
+ actionpack (>= 3.0.0)
197
+ activesupport (>= 3.0.0)
198
+ railties (>= 3.0.0)
199
+ launchy (2.1.1)
200
+ addressable (~> 2.3)
201
+ libwebsocket (0.1.5)
202
+ addressable
203
+ linecache19 (0.5.12)
204
+ ruby_core_source (>= 0.1.4)
205
+ loofah (1.0.0)
206
+ nokogiri (>= 1.3.3)
71
207
  mail (2.4.4)
72
208
  i18n (>= 0.4.0)
73
209
  mime-types (~> 1.16)
74
210
  treetop (~> 1.4.8)
211
+ mailcatcher (0.5.8)
212
+ activesupport (~> 3.0)
213
+ eventmachine (~> 0.12)
214
+ haml (~> 3.1)
215
+ mail (~> 2.3)
216
+ sinatra (~> 1.2)
217
+ skinny (~> 0.2, >= 0.2.1)
218
+ sqlite3 (~> 1.3)
219
+ thin (~> 1.2)
220
+ mailchimp (0.0.7.alpha)
221
+ httparty
222
+ maxim-sexy_pg_constraints (0.1.3)
223
+ meta_search (1.1.3)
224
+ actionpack (~> 3.1)
225
+ activerecord (~> 3.1)
226
+ activesupport (~> 3.1)
227
+ polyamorous (~> 0.5.0)
228
+ metaclass (0.0.1)
75
229
  mime-types (1.19)
230
+ mocha (0.10.4)
231
+ metaclass (~> 0.0.1)
76
232
  multi_json (1.3.6)
233
+ multipart-post (1.1.5)
234
+ net-scp (1.0.4)
235
+ net-ssh (>= 1.99.1)
236
+ net-ssh (2.5.2)
77
237
  nokogiri (1.4.7)
238
+ oauth (0.4.6)
239
+ oauth2 (0.8.0)
240
+ faraday (~> 0.8)
241
+ httpauth (~> 0.1)
242
+ jwt (~> 0.1.4)
243
+ multi_json (~> 1.0)
244
+ rack (~> 1.2)
245
+ omniauth (1.1.0)
246
+ hashie (~> 1.2)
247
+ rack
248
+ omniauth-github (1.0.2)
249
+ omniauth (~> 1.0)
250
+ omniauth-oauth2 (~> 1.1)
251
+ omniauth-linkedin (0.0.6)
252
+ omniauth-oauth (~> 1.0.0)
253
+ omniauth-oauth (1.0.1)
254
+ oauth
255
+ omniauth (~> 1.0)
256
+ omniauth-oauth2 (1.1.0)
257
+ oauth2 (~> 0.8.0)
258
+ omniauth (~> 1.0)
259
+ omniauth-openid (1.0.1)
260
+ omniauth (~> 1.0)
261
+ rack-openid (~> 1.3.1)
262
+ omniauth-twitter (0.0.12)
263
+ multi_json (~> 1.3)
264
+ omniauth-oauth (~> 1.0)
265
+ omniauth-yahoo (0.0.4)
266
+ omniauth-oauth (~> 1.0)
267
+ on_the_spot (1.0.1)
268
+ json_pure (>= 1.4.6)
269
+ orm_adapter (0.0.7)
270
+ paypal-express (0.5.0)
271
+ activesupport (>= 2.3)
272
+ attr_required (>= 0.0.5)
273
+ i18n
274
+ restclient_with_cert
275
+ pg (0.14.0)
276
+ polyamorous (0.5.0)
277
+ activerecord (~> 3.0)
78
278
  polyglot (0.3.3)
79
279
  rack (1.4.1)
80
280
  rack-cache (1.2)
81
281
  rack (>= 0.4)
282
+ rack-openid (1.3.1)
283
+ rack (>= 1.1.0)
284
+ ruby-openid (>= 2.1.8)
285
+ rack-protection (1.2.0)
286
+ rack
82
287
  rack-ssl (1.3.2)
83
288
  rack
84
289
  rack-test (0.6.1)
85
290
  rack (>= 1.0)
291
+ rack-timeout (0.0.3)
86
292
  rails (3.2.6)
87
293
  actionmailer (= 3.2.6)
88
294
  actionpack (= 3.2.6)
@@ -91,6 +297,8 @@ GEM
91
297
  activesupport (= 3.2.6)
92
298
  bundler (~> 1.0)
93
299
  railties (= 3.2.6)
300
+ rails_autolink (1.0.9)
301
+ rails (~> 3.1)
94
302
  railties (3.2.6)
95
303
  actionpack (= 3.2.6)
96
304
  activesupport (= 3.2.6)
@@ -99,8 +307,20 @@ GEM
99
307
  rdoc (~> 3.4)
100
308
  thor (>= 0.14.6, < 2.0)
101
309
  rake (0.9.2.2)
310
+ rcov (0.9.11)
102
311
  rdoc (3.12)
103
312
  json (~> 1.4)
313
+ redcarpet (2.1.1)
314
+ responders (0.9.2)
315
+ railties (~> 3.1)
316
+ rest-client (1.6.7)
317
+ mime-types (>= 1.16)
318
+ restclient_with_cert (0.0.8)
319
+ rest-client (>= 1.6)
320
+ rinku (1.7.0)
321
+ rmagick (2.13.1)
322
+ routing-filter (0.3.1)
323
+ actionpack
104
324
  rspec (2.10.0)
105
325
  rspec-core (~> 2.10.0)
106
326
  rspec-expectations (~> 2.10.0)
@@ -114,25 +334,174 @@ GEM
114
334
  activesupport (>= 3.0)
115
335
  railties (>= 3.0)
116
336
  rspec (~> 2.10.0)
337
+ ruby-debug-base19 (0.11.25)
338
+ columnize (>= 0.3.1)
339
+ linecache19 (>= 0.5.11)
340
+ ruby_core_source (>= 0.1.4)
341
+ ruby-debug19 (0.11.6)
342
+ columnize (>= 0.3.1)
343
+ linecache19 (>= 0.5.11)
344
+ ruby-debug-base19 (>= 0.11.19)
345
+ ruby-hmac (0.4.0)
346
+ ruby-openid (2.2.0)
347
+ ruby_core_source (0.1.5)
348
+ archive-tar-minitar (>= 0.5.2)
349
+ rubyzip (0.9.9)
350
+ sass (3.1.20)
351
+ sass-rails (3.2.5)
352
+ railties (~> 3.2.0)
353
+ sass (>= 3.1.10)
354
+ tilt (~> 1.3)
355
+ sax-machine (0.0.20)
356
+ nokogiri (> 0.0.0)
357
+ selenium-webdriver (2.25.0)
358
+ childprocess (>= 0.2.5)
359
+ libwebsocket (~> 0.1.3)
360
+ multi_json (~> 1.0)
361
+ rubyzip
362
+ shoulda (3.1.1)
363
+ shoulda-context (~> 1.0)
364
+ shoulda-matchers (~> 1.2)
365
+ shoulda-context (1.0.0)
366
+ shoulda-matchers (1.2.0)
367
+ activesupport (>= 3.0.0)
368
+ sinatra (1.3.2)
369
+ rack (~> 1.3, >= 1.3.6)
370
+ rack-protection (~> 1.2)
371
+ tilt (~> 1.3, >= 1.3.3)
372
+ skinny (0.2.1)
373
+ eventmachine (~> 0.12)
374
+ thin (~> 1.2)
375
+ slim (1.2.2)
376
+ temple (~> 0.4.0)
377
+ tilt (~> 1.3.3)
378
+ slim-rails (1.0.3)
379
+ actionpack (~> 3.0)
380
+ activesupport (~> 3.0)
381
+ railties (~> 3.0)
382
+ slim (~> 1.0)
383
+ spectator-validates_email (0.1.1)
384
+ actionpack (>= 3.0.0)
385
+ activemodel (>= 3.0.0)
117
386
  sprockets (2.1.3)
118
387
  hike (~> 1.2)
119
388
  rack (~> 1.0)
120
389
  tilt (~> 1.1, != 1.3.0)
390
+ sqlite3 (1.3.6)
391
+ steak (1.1.0)
392
+ rspec (>= 1.3)
393
+ supermodel (0.1.4)
394
+ activemodel (>= 3.0.0.beta)
395
+ tag_helper (0.0.3)
396
+ temple (0.4.0)
397
+ thin (1.4.1)
398
+ daemons (>= 1.0.9)
399
+ eventmachine (>= 0.12.6)
400
+ rack (>= 1.0.0)
121
401
  thor (0.15.4)
122
402
  tilt (1.3.3)
123
403
  treetop (1.4.10)
124
404
  polyglot
125
405
  polyglot (>= 0.3.1)
406
+ trollop (1.16.2)
407
+ tumblr-api (0.1.4)
408
+ activesupport
409
+ httparty
126
410
  tzinfo (0.3.33)
411
+ uglifier (1.2.6)
412
+ execjs (>= 0.3.0)
413
+ multi_json (~> 1.3)
414
+ unicode (0.4.2)
415
+ vimeo (1.5.3)
416
+ httparty (>= 0.4.5)
417
+ httpclient (>= 2.1.5.2)
418
+ json (>= 1.1.9)
419
+ multipart-post (>= 1.0.1)
420
+ oauth (>= 0.4.3)
421
+ warden (1.2.1)
422
+ rack (>= 1.0)
423
+ web_translate_it (2.0.3)
424
+ json
425
+ multipart-post (~> 1.1.3)
426
+ trollop (~> 1.16.2)
427
+ weekdays (1.0.2)
428
+ wirble (0.1.3)
429
+ xpath (0.1.4)
430
+ nokogiri (~> 1.3)
127
431
 
128
432
  PLATFORMS
129
433
  ruby
130
434
 
131
435
  DEPENDENCIES
132
- catarse_dineromail!
436
+ RedCloth
437
+ activemerchant (= 1.17.0)
438
+ activerecord-postgresql-adapter
439
+ airbrake
440
+ annotate
441
+ auto_html (= 1.4.2)
442
+ bourbon
443
+ brcep
444
+ cancan
445
+ capybara (>= 1.0.1)
446
+ carrierwave (= 0.5.8)
447
+ coffee-rails (~> 3.2.2)
448
+ compass-960-plugin (~> 0.10.4)
449
+ compass-rails (~> 1.0.1)
450
+ dalli
133
451
  database_cleaner
452
+ devise (= 1.5.3)
134
453
  dinero_mail_checkout!
135
454
  dinero_mail_ipn!
136
- factory_girl_rails
137
- fakeweb
138
- rspec-rails
455
+ enumerate_it
456
+ factory_girl_rails (= 1.7.0)
457
+ feedzirra
458
+ fog
459
+ foreigner
460
+ formtastic
461
+ has_vimeo_video (>= 0.0.4)
462
+ http_accept_language
463
+ httparty (~> 0.6.1)
464
+ httpclient (= 2.2.5)
465
+ inherited_resources (= 1.3.1)
466
+ jquery-rails
467
+ kaminari
468
+ launchy
469
+ mailcatcher
470
+ mailchimp
471
+ maxim-sexy_pg_constraints
472
+ meta_search (= 1.1.3)
473
+ mocha (= 0.10.4)
474
+ moip!
475
+ omniauth (~> 1.1.0)
476
+ omniauth-github (~> 1.0.1)
477
+ omniauth-linkedin (~> 0.0.6)
478
+ omniauth-openid (~> 1.0.1)
479
+ omniauth-twitter (~> 0.0.12)
480
+ omniauth-yahoo (~> 0.0.4)
481
+ on_the_spot
482
+ paypal-express
483
+ pg
484
+ rack-timeout
485
+ rails (= 3.2.6)
486
+ rails_autolink (~> 1.0.7)
487
+ rake (= 0.9.2.2)
488
+ rcov (= 0.9.11)
489
+ rmagick
490
+ routing-filter
491
+ rspec-rails (~> 2.10.0)
492
+ ruby-debug19
493
+ sass-rails (~> 3.2.5)
494
+ selenium-webdriver (~> 2.25.0)
495
+ shoulda
496
+ slim
497
+ slim-rails
498
+ spectator-validates_email
499
+ steak (~> 1.1.0)
500
+ thin
501
+ tumblr-api
502
+ uglifier (>= 1.0.3)
503
+ unicode
504
+ validation_reflection!
505
+ web_translate_it
506
+ weekdays
507
+ wirble
data/README.md CHANGED
@@ -16,7 +16,7 @@ And then execute:
16
16
  ## Usage
17
17
 
18
18
  Configure the routes for your Catarse application. Add the following lines in the routes file (config/routes.rb):
19
-
19
+
20
20
  mount CatarseDineromail::Engine => "/", :as => "catarse_dineromail"
21
21
 
22
22
  ### Configurations
@@ -49,6 +49,22 @@ And then execute:
49
49
 
50
50
  $ bundle
51
51
 
52
+ Replace the content of test/dummy/config/boot.rb by this:
53
+ require 'rubygems'
54
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
55
+ if File.exist?(gemfile)
56
+ ENV['BUNDLE_GEMFILE'] = gemfile
57
+ require 'bundler'
58
+ Bundler.setup
59
+ end
60
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
61
+
62
+ ## Troubleshooting in development environment
63
+
64
+ Remove the admin folder from test/dummy application to prevent a weird active admin bug:
65
+
66
+ $ rm -rf test/dummy/app/admin
67
+
52
68
  ## Contributing
53
69
 
54
70
  1. Fork it
@@ -3,7 +3,7 @@ module CatarseDineromail
3
3
  class DineromailController < ApplicationController
4
4
  skip_before_filter :verify_authenticity_token, :only => [:notifications]
5
5
  skip_before_filter :detect_locale, :only => [:notifications]
6
- skip_before_filter :set_locale, :only => [:notifications]
6
+ skip_before_filter :set_locale, :only => [:notifications
7
7
  before_filter :initialize_dineromail
8
8
  SCOPE = "projects.backers.checkout"
9
9
 
@@ -16,7 +16,7 @@ module CatarseDineromail
16
16
  backer.update_attribute :payment_token, transaction_id
17
17
  data = DineroMailCheckout::CheckoutData.validate({item_name_1: t('dineromail_description', scope: SCOPE),
18
18
  item_quantity_1: 1,
19
- item_currency_1: DineroMailCheckout.configuration.currency,
19
+ item_currency_1: DineroMailCheckout.configuratior.currency,
20
20
  change_quantity: 0,
21
21
  item_ammount_1: backer.moip_value,
22
22
  buyer_name: backer.user.full_name,
@@ -51,7 +51,7 @@ module CatarseDineromail
51
51
  end
52
52
 
53
53
  def notifications
54
- notification = params[:Notificacion]
54
+ notification = URI::decode(params[:Notificacion])
55
55
  return render(status: 404, nothing: true) if notification.nil?
56
56
 
57
57
  xml = Nokogiri::XML(notification)
@@ -1,3 +1,3 @@
1
1
  module CatarseDineromail
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  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.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -131,6 +131,7 @@ extensions: []
131
131
  extra_rdoc_files: []
132
132
  files:
133
133
  - .gitignore
134
+ - .rvmrc
134
135
  - Gemfile
135
136
  - Gemfile.lock
136
137
  - MIT-LICENSE