catarse_moip 0.1.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -6
  3. data/.rspec +2 -0
  4. data/.travis.yml +17 -0
  5. data/Gemfile +2 -109
  6. data/Gemfile.lock +73 -476
  7. data/README.md +2 -26
  8. data/Rakefile +7 -2
  9. data/app/assets/javascripts/catarse_moip/moip_form.js +80 -0
  10. data/app/assets/javascripts/catarse_moip/payment_account.js +37 -0
  11. data/app/assets/javascripts/catarse_moip/payment_card.js +89 -0
  12. data/app/assets/javascripts/catarse_moip/payment_choice.js +19 -0
  13. data/app/assets/javascripts/catarse_moip/payment_slip.js +35 -0
  14. data/app/assets/javascripts/catarse_moip/user_document.js +111 -0
  15. data/app/assets/javascripts/catarse_moip.js +7 -0
  16. data/app/controllers/catarse_moip/moip_controller.rb +126 -0
  17. data/app/views/catarse_moip/moip/review.html.slim +105 -0
  18. data/catarse_moip.gemspec +5 -5
  19. data/config/initializers/moip.rb +4 -7
  20. data/config/initializers/register.rb +5 -0
  21. data/config/locales/en.yml +2 -0
  22. data/config/locales/pt.yml +19 -0
  23. data/config/routes.rb +9 -5
  24. data/lib/catarse_moip/engine.rb +7 -0
  25. data/lib/catarse_moip/version.rb +1 -1
  26. data/lib/catarse_moip.rb +1 -1
  27. data/lib/moip_transparente/checkout.rb +218 -0
  28. data/lib/moip_transparente/version.rb +3 -0
  29. data/lib/moip_transparente.rb +32 -0
  30. data/spec/controllers/catarse_moip/moip_controller_spec.rb +230 -0
  31. data/spec/fixtures/ipn_data.txt +1 -0
  32. data/spec/javascripts/moip_form_spec.js +25 -0
  33. data/spec/javascripts/support/app.js +1 -0
  34. data/spec/javascripts/support/backbone.js +1571 -0
  35. data/spec/javascripts/support/jquery.js +8829 -0
  36. data/spec/javascripts/support/skull.js +64 -0
  37. data/spec/javascripts/support/underscore.js +1227 -0
  38. data/spec/spec_helper.rb +2 -23
  39. data/spec/support/payment_engines.rb +3 -0
  40. data/test/dummy/README.rdoc +261 -0
  41. data/test/dummy/Rakefile +7 -0
  42. data/test/dummy/app/assets/javascripts/application.js +15 -0
  43. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  44. data/test/dummy/app/controllers/application_controller.rb +3 -0
  45. data/test/dummy/app/helpers/application_helper.rb +2 -0
  46. data/test/dummy/app/mailers/.gitkeep +0 -0
  47. data/test/dummy/app/models/.gitkeep +0 -0
  48. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  49. data/test/dummy/config/application.rb +59 -0
  50. data/test/dummy/config/boot.rb +10 -0
  51. data/test/dummy/config/database.yml +50 -0
  52. data/test/dummy/config/environment.rb +5 -0
  53. data/test/dummy/config/environments/development.rb +37 -0
  54. data/test/dummy/config/environments/production.rb +67 -0
  55. data/test/dummy/config/environments/test.rb +37 -0
  56. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  57. data/test/dummy/config/initializers/inflections.rb +15 -0
  58. data/test/dummy/config/initializers/mime_types.rb +5 -0
  59. data/test/dummy/config/initializers/secret_token.rb +7 -0
  60. data/test/dummy/config/initializers/session_store.rb +8 -0
  61. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  62. data/test/dummy/config/locales/en.yml +5 -0
  63. data/test/dummy/config/routes.rb +4 -0
  64. data/test/dummy/config.ru +4 -0
  65. data/test/dummy/lib/assets/.gitkeep +0 -0
  66. data/test/dummy/log/.gitkeep +0 -0
  67. data/test/dummy/public/404.html +26 -0
  68. data/test/dummy/public/422.html +26 -0
  69. data/test/dummy/public/500.html +25 -0
  70. data/test/dummy/public/favicon.ico +0 -0
  71. data/test/dummy/script/rails +6 -0
  72. metadata +120 -35
  73. data/.gitmodules +0 -3
  74. data/app/controllers/catarse_moip/payment/moip_controller.rb +0 -49
  75. data/spec/controllers/catarse_moip/payment/moip_controller_spec.rb +0 -81
data/Gemfile.lock CHANGED
@@ -1,536 +1,133 @@
1
1
  GIT
2
- remote: git://github.com/gregbell/active_admin.git
3
- revision: 3130933893714019684d5713e6afba92a7717d2d
4
- specs:
5
- activeadmin (0.4.4)
6
- arbre (>= 1.0.0.rc4)
7
- bourbon (>= 1.0.0)
8
- devise (>= 1.1.2)
9
- fastercsv
10
- formtastic (>= 2.0.0)
11
- inherited_resources (>= 1.3.1)
12
- jquery-rails (>= 1.0.0)
13
- kaminari (>= 0.13.0)
14
- meta_search (>= 0.9.2)
15
- rails (>= 3.0.0)
16
- sass (>= 3.1.0)
17
-
18
- GIT
19
- remote: git://github.com/ncri/validation_reflection.git
20
- revision: 60320e6beb088808fd625a8d958dbd0d2661d494
21
- specs:
22
- validation_reflection (1.0.0)
23
-
24
- GIT
25
- remote: https://github.com/danielweinmann/moip-ruby.git
26
- revision: db1b879358c623b597dc1c221b53336f9f06db0e
27
- ref: db1b879358c623b597dc1c221b53336f9f06db0e
2
+ remote: git://github.com/catarse/moip-ruby.git
3
+ revision: 39f9dab38fc33fe9bf614deb8e90ca166ab2d6bf
28
4
  specs:
29
5
  moip (1.0.2)
30
6
  activesupport (>= 2.3.2)
31
7
  httparty (~> 0.6.1)
32
- nokogiri (~> 1.4.3)
8
+ nokogiri (~> 1.5.0)
33
9
 
34
10
  PATH
35
11
  remote: .
36
12
  specs:
37
- catarse_moip (0.0.2)
38
- moip_catarse (~> 1.0.6)
39
- rails (~> 3.2.6)
40
-
41
- PATH
42
- remote: ~/store/code/catarse_paypal_express
43
- specs:
44
- catarse_paypal_express (0.0.2)
45
- activemerchant (~> 1.17.0)
46
- rails (~> 3.2.6)
13
+ catarse_moip (1.0.0)
14
+ libxml-ruby (~> 2.6.0)
15
+ rails (~> 3.2.12)
47
16
 
48
17
  GEM
49
18
  remote: http://rubygems.org/
50
- remote: http://rubygems.org/
51
- remote: http://gems.github.com/
52
19
  specs:
53
- RedCloth (4.2.9)
54
- actionmailer (3.2.6)
55
- actionpack (= 3.2.6)
56
- mail (~> 2.4.4)
57
- actionpack (3.2.6)
58
- activemodel (= 3.2.6)
59
- activesupport (= 3.2.6)
20
+ actionmailer (3.2.13)
21
+ actionpack (= 3.2.13)
22
+ mail (~> 2.5.3)
23
+ actionpack (3.2.13)
24
+ activemodel (= 3.2.13)
25
+ activesupport (= 3.2.13)
60
26
  builder (~> 3.0.0)
61
27
  erubis (~> 2.7.0)
62
- journey (~> 1.0.1)
63
- rack (~> 1.4.0)
28
+ journey (~> 1.0.4)
29
+ rack (~> 1.4.5)
64
30
  rack-cache (~> 1.2)
65
31
  rack-test (~> 0.6.1)
66
- sprockets (~> 2.1.3)
67
- activemerchant (1.17.0)
68
- activesupport (>= 2.3.11)
69
- braintree (>= 2.0.0)
70
- builder (>= 2.0.0)
71
- json (>= 1.5.1)
72
- activemodel (3.2.6)
73
- activesupport (= 3.2.6)
32
+ sprockets (~> 2.2.1)
33
+ activemodel (3.2.13)
34
+ activesupport (= 3.2.13)
74
35
  builder (~> 3.0.0)
75
- activerecord (3.2.6)
76
- activemodel (= 3.2.6)
77
- activesupport (= 3.2.6)
36
+ activerecord (3.2.13)
37
+ activemodel (= 3.2.13)
38
+ activesupport (= 3.2.13)
78
39
  arel (~> 3.0.2)
79
40
  tzinfo (~> 0.3.29)
80
- activerecord-postgresql-adapter (0.0.1)
81
- pg
82
- activeresource (3.2.6)
83
- activemodel (= 3.2.6)
84
- activesupport (= 3.2.6)
85
- activesupport (3.2.6)
86
- i18n (~> 0.6)
41
+ activeresource (3.2.13)
42
+ activemodel (= 3.2.13)
43
+ activesupport (= 3.2.13)
44
+ activesupport (3.2.13)
45
+ i18n (= 0.6.1)
87
46
  multi_json (~> 1.0)
88
- addressable (2.3.2)
89
- airbrake (3.1.2)
90
- activesupport
91
- builder
92
- annotate (2.5.0)
93
- rake
94
- arbre (1.0.0.rc4)
95
- activesupport (>= 3.0.0)
96
- archive-tar-minitar (0.5.2)
97
47
  arel (3.0.2)
98
- attr_required (0.0.5)
99
- auto_html (1.4.2)
100
- RedCloth
101
- redcarpet
102
- rinku
103
- tag_helper
104
- bcrypt-ruby (3.0.1)
105
- bourbon (2.1.1)
106
- sass (>= 3.1)
107
- braintree (2.16.0)
108
- builder (>= 2.0.0)
109
- brcep (3.1.0)
110
- builder (3.0.0)
111
- cancan (1.6.8)
112
- capybara (1.1.2)
113
- mime-types (>= 1.16)
114
- nokogiri (>= 1.3.3)
115
- rack (>= 1.0.0)
116
- rack-test (>= 0.5.4)
117
- selenium-webdriver (~> 2.0)
118
- xpath (~> 0.1.4)
119
- carrierwave (0.5.8)
120
- activesupport (~> 3.0)
121
- childprocess (0.3.5)
122
- ffi (~> 1.0, >= 1.0.6)
123
- chunky_png (1.2.6)
124
- coffee-rails (3.2.2)
125
- coffee-script (>= 2.2.0)
126
- railties (~> 3.2.0)
127
- coffee-script (2.2.0)
128
- coffee-script-source
129
- execjs
130
- coffee-script-source (1.3.3)
131
- columnize (0.3.6)
132
- compass (0.12.2)
133
- chunky_png (~> 1.2)
134
- fssm (>= 0.2.7)
135
- sass (~> 3.1)
136
- compass-960-plugin (0.10.4)
137
- compass (>= 0.10.0)
138
- compass-rails (1.0.3)
139
- compass (>= 0.12.2, < 0.14)
48
+ builder (3.0.4)
140
49
  crack (0.1.8)
141
- curb (0.7.18)
142
- daemons (1.1.8)
143
- dalli (2.1.0)
144
- database_cleaner (0.8.0)
145
- devise (1.5.3)
146
- bcrypt-ruby (~> 3.0)
147
- orm_adapter (~> 0.0.3)
148
- warden (~> 1.1)
149
- diff-lcs (1.1.3)
150
- enumerate_it (0.7.16)
50
+ database_cleaner (1.0.1)
51
+ diff-lcs (1.2.4)
52
+ enumerate_it (1.0.3)
151
53
  activesupport (>= 3.0.0)
152
54
  erubis (2.7.0)
153
- eventmachine (0.12.10)
154
- excon (0.6.6)
155
- execjs (1.4.0)
156
- multi_json (~> 1.0)
157
- factory_girl (2.6.4)
158
- activesupport (>= 2.3.9)
159
- factory_girl_rails (1.7.0)
160
- factory_girl (~> 2.6.0)
55
+ factory_girl (4.2.0)
56
+ activesupport (>= 3.0.0)
57
+ factory_girl_rails (4.2.1)
58
+ factory_girl (~> 4.2.0)
161
59
  railties (>= 3.0.0)
162
- faraday (0.8.1)
163
- multipart-post (~> 1.1)
164
- fastercsv (1.5.5)
165
- feedzirra (0.0.31)
166
- activesupport (>= 3.0.8)
167
- builder (~> 3.0.0)
168
- curb (~> 0.7.15)
169
- i18n (>= 0.5.0)
170
- loofah (~> 1.0.0)
171
- nokogiri (~> 1.4.4)
172
- rake (>= 0.9.2)
173
- rdoc (~> 3.8)
174
- sax-machine (~> 0.0.20)
175
- ffi (1.1.4)
176
- fog (0.9.0)
177
- builder
178
- excon (~> 0.6.1)
179
- formatador (>= 0.1.3)
180
- json
181
- mime-types
182
- net-scp (>= 1.0.4)
183
- net-ssh (>= 2.1.4)
184
- nokogiri (>= 1.4.4)
185
- ruby-hmac
186
- foreigner (1.2.0)
187
- activerecord (>= 3.0.0)
188
- formatador (0.2.3)
189
- formtastic (2.2.1)
190
- actionpack (>= 3.0)
191
- fssm (0.2.9)
192
- haml (3.1.6)
193
- has_scope (0.5.1)
194
- has_vimeo_video (0.0.5)
195
- supermodel
196
- vimeo
197
- hashie (1.2.0)
198
- hike (1.2.1)
199
- http_accept_language (1.0.2)
60
+ hike (1.2.3)
200
61
  httparty (0.6.1)
201
62
  crack (= 0.1.8)
202
- httpauth (0.1)
203
- httpclient (2.2.5)
204
- i18n (0.6.0)
205
- inherited_resources (1.3.1)
206
- has_scope (~> 0.5.0)
207
- responders (~> 0.6)
63
+ i18n (0.6.1)
208
64
  journey (1.0.4)
209
- jquery-rails (2.0.2)
210
- railties (>= 3.2.0, < 5.0)
211
- thor (~> 0.14)
212
- json (1.7.3)
213
- json_pure (1.7.4)
214
- jwt (0.1.5)
215
- multi_json (>= 1.0)
216
- kaminari (0.13.0)
217
- actionpack (>= 3.0.0)
218
- activesupport (>= 3.0.0)
219
- railties (>= 3.0.0)
220
- launchy (2.1.2)
221
- addressable (~> 2.3)
222
- libwebsocket (0.1.5)
223
- addressable
224
- linecache19 (0.5.12)
225
- ruby_core_source (>= 0.1.4)
226
- loofah (1.0.0)
227
- nokogiri (>= 1.3.3)
228
- mail (2.4.4)
229
- i18n (>= 0.4.0)
65
+ json (1.8.0)
66
+ libxml-ruby (2.6.0)
67
+ mail (2.5.4)
230
68
  mime-types (~> 1.16)
231
69
  treetop (~> 1.4.8)
232
- mailcatcher (0.5.8)
233
- activesupport (~> 3.0)
234
- eventmachine (~> 0.12)
235
- haml (~> 3.1)
236
- mail (~> 2.3)
237
- sinatra (~> 1.2)
238
- skinny (~> 0.2, >= 0.2.1)
239
- sqlite3 (~> 1.3)
240
- thin (~> 1.2)
241
- mailchimp (0.0.7.alpha)
242
- httparty
243
- maxim-sexy_pg_constraints (0.1.3)
244
- meta_search (1.1.3)
245
- actionpack (~> 3.1)
246
- activerecord (~> 3.1)
247
- activesupport (~> 3.1)
248
- polyamorous (~> 0.5.0)
249
- metaclass (0.0.1)
250
- mime-types (1.19)
251
- mocha (0.10.4)
252
- metaclass (~> 0.0.1)
253
- moip_catarse (1.0.6)
254
- activesupport (>= 2.3.2)
255
- httparty (~> 0.6.1)
256
- nokogiri (~> 1.4.2)
257
- multi_json (1.3.6)
258
- multipart-post (1.1.5)
259
- net-scp (1.0.4)
260
- net-ssh (>= 1.99.1)
261
- net-ssh (2.5.2)
262
- nokogiri (1.4.7)
263
- oauth (0.4.6)
264
- oauth2 (0.8.0)
265
- faraday (~> 0.8)
266
- httpauth (~> 0.1)
267
- jwt (~> 0.1.4)
268
- multi_json (~> 1.0)
269
- rack (~> 1.2)
270
- omniauth (1.1.0)
271
- hashie (~> 1.2)
272
- rack
273
- omniauth-facebook (1.2.0)
274
- omniauth-oauth2 (~> 1.0.0)
275
- omniauth-github (1.0.1)
276
- omniauth (~> 1.0)
277
- omniauth-oauth2 (~> 1.0)
278
- omniauth-linkedin (0.0.6)
279
- omniauth-oauth (~> 1.0.0)
280
- omniauth-oauth (1.0.1)
281
- oauth
282
- omniauth (~> 1.0)
283
- omniauth-oauth2 (1.0.3)
284
- oauth2 (~> 0.8.0)
285
- omniauth (~> 1.0)
286
- omniauth-openid (1.0.1)
287
- omniauth (~> 1.0)
288
- rack-openid (~> 1.3.1)
289
- omniauth-twitter (0.0.12)
290
- multi_json (~> 1.3)
291
- omniauth-oauth (~> 1.0)
292
- omniauth-yahoo (0.0.4)
293
- omniauth-oauth (~> 1.0)
294
- on_the_spot (1.0.1)
295
- json_pure (>= 1.4.6)
296
- orm_adapter (0.0.7)
297
- paypal-express (0.5.0)
298
- activesupport (>= 2.3)
299
- attr_required (>= 0.0.5)
300
- i18n
301
- restclient_with_cert
302
- pg (0.14.0)
303
- polyamorous (0.5.0)
304
- activerecord (~> 3.0)
70
+ mime-types (1.24)
71
+ multi_json (1.7.6)
72
+ nokogiri (1.5.9)
73
+ pg (0.15.1)
305
74
  polyglot (0.3.3)
306
- rack (1.4.1)
75
+ rack (1.4.5)
307
76
  rack-cache (1.2)
308
77
  rack (>= 0.4)
309
- rack-openid (1.3.1)
310
- rack (>= 1.1.0)
311
- ruby-openid (>= 2.1.8)
312
- rack-protection (1.2.0)
313
- rack
314
- rack-ssl (1.3.2)
78
+ rack-ssl (1.3.3)
315
79
  rack
316
- rack-test (0.6.1)
80
+ rack-test (0.6.2)
317
81
  rack (>= 1.0)
318
- rack-timeout (0.0.3)
319
- rails (3.2.6)
320
- actionmailer (= 3.2.6)
321
- actionpack (= 3.2.6)
322
- activerecord (= 3.2.6)
323
- activeresource (= 3.2.6)
324
- activesupport (= 3.2.6)
82
+ rails (3.2.13)
83
+ actionmailer (= 3.2.13)
84
+ actionpack (= 3.2.13)
85
+ activerecord (= 3.2.13)
86
+ activeresource (= 3.2.13)
87
+ activesupport (= 3.2.13)
325
88
  bundler (~> 1.0)
326
- railties (= 3.2.6)
327
- rails_autolink (1.0.9)
328
- rails (~> 3.1)
329
- railties (3.2.6)
330
- actionpack (= 3.2.6)
331
- activesupport (= 3.2.6)
89
+ railties (= 3.2.13)
90
+ railties (3.2.13)
91
+ actionpack (= 3.2.13)
92
+ activesupport (= 3.2.13)
332
93
  rack-ssl (~> 1.3.2)
333
94
  rake (>= 0.8.7)
334
95
  rdoc (~> 3.4)
335
96
  thor (>= 0.14.6, < 2.0)
336
- rake (0.9.2.2)
337
- rcov (0.9.11)
338
- rdoc (3.12)
97
+ rake (10.0.4)
98
+ rdoc (3.12.2)
339
99
  json (~> 1.4)
340
- redcarpet (2.1.1)
341
- responders (0.9.2)
342
- railties (~> 3.1)
343
- rest-client (1.6.7)
344
- mime-types (>= 1.16)
345
- restclient_with_cert (0.0.8)
346
- rest-client (>= 1.6)
347
- rinku (1.7.0)
348
- rmagick (2.13.1)
349
- routing-filter (0.3.1)
350
- actionpack
351
- rspec (2.10.0)
352
- rspec-core (~> 2.10.0)
353
- rspec-expectations (~> 2.10.0)
354
- rspec-mocks (~> 2.10.0)
355
- rspec-core (2.10.1)
356
- rspec-expectations (2.10.0)
357
- diff-lcs (~> 1.1.3)
358
- rspec-mocks (2.10.1)
359
- rspec-rails (2.10.1)
100
+ rspec-core (2.13.1)
101
+ rspec-expectations (2.13.0)
102
+ diff-lcs (>= 1.1.3, < 2.0)
103
+ rspec-mocks (2.13.1)
104
+ rspec-rails (2.13.2)
360
105
  actionpack (>= 3.0)
361
106
  activesupport (>= 3.0)
362
107
  railties (>= 3.0)
363
- rspec (~> 2.10.0)
364
- ruby-debug-base19 (0.11.25)
365
- columnize (>= 0.3.1)
366
- linecache19 (>= 0.5.11)
367
- ruby_core_source (>= 0.1.4)
368
- ruby-debug19 (0.11.6)
369
- columnize (>= 0.3.1)
370
- linecache19 (>= 0.5.11)
371
- ruby-debug-base19 (>= 0.11.19)
372
- ruby-hmac (0.4.0)
373
- ruby-openid (2.2.0)
374
- ruby_core_source (0.1.5)
375
- archive-tar-minitar (>= 0.5.2)
376
- rubyzip (0.9.9)
377
- sass (3.1.20)
378
- sass-rails (3.2.5)
379
- railties (~> 3.2.0)
380
- sass (>= 3.1.10)
381
- tilt (~> 1.3)
382
- sax-machine (0.0.20)
383
- nokogiri (> 0.0.0)
384
- selenium-webdriver (2.25.0)
385
- childprocess (>= 0.2.5)
386
- libwebsocket (~> 0.1.3)
387
- multi_json (~> 1.0)
388
- rubyzip
389
- shoulda (3.1.1)
390
- shoulda-context (~> 1.0)
391
- shoulda-matchers (~> 1.2)
392
- shoulda-context (1.0.0)
393
- shoulda-matchers (1.2.0)
394
- activesupport (>= 3.0.0)
395
- sinatra (1.3.2)
396
- rack (~> 1.3, >= 1.3.6)
397
- rack-protection (~> 1.2)
398
- tilt (~> 1.3, >= 1.3.3)
399
- skinny (0.2.1)
400
- eventmachine (~> 0.12)
401
- thin (~> 1.2)
402
- slim (1.2.2)
403
- temple (~> 0.4.0)
404
- tilt (~> 1.3.3)
405
- slim-rails (1.0.3)
406
- actionpack (~> 3.0)
407
- activesupport (~> 3.0)
408
- railties (~> 3.0)
409
- slim (~> 1.0)
410
- spectator-validates_email (0.1.1)
411
- actionpack (>= 3.0.0)
412
- activemodel (>= 3.0.0)
413
- sprockets (2.1.3)
108
+ rspec-core (~> 2.13.0)
109
+ rspec-expectations (~> 2.13.0)
110
+ rspec-mocks (~> 2.13.0)
111
+ sprockets (2.2.2)
414
112
  hike (~> 1.2)
113
+ multi_json (~> 1.0)
415
114
  rack (~> 1.0)
416
115
  tilt (~> 1.1, != 1.3.0)
417
- sqlite3 (1.3.6)
418
- steak (1.1.0)
419
- rspec (>= 1.3)
420
- supermodel (0.1.4)
421
- activemodel (>= 3.0.0.beta)
422
- tag_helper (0.0.3)
423
- temple (0.4.0)
424
- thin (1.4.1)
425
- daemons (>= 1.0.9)
426
- eventmachine (>= 0.12.6)
427
- rack (>= 1.0.0)
428
- thor (0.15.4)
429
- tilt (1.3.3)
430
- treetop (1.4.10)
116
+ thor (0.18.1)
117
+ tilt (1.4.1)
118
+ treetop (1.4.14)
431
119
  polyglot
432
120
  polyglot (>= 0.3.1)
433
- trollop (1.16.2)
434
- tumblr-api (0.1.4)
435
- activesupport
436
- httparty
437
- tzinfo (0.3.33)
438
- uglifier (1.2.7)
439
- execjs (>= 0.3.0)
440
- multi_json (~> 1.3)
441
- unicode (0.4.2)
442
- vimeo (1.5.3)
443
- httparty (>= 0.4.5)
444
- httpclient (>= 2.1.5.2)
445
- json (>= 1.1.9)
446
- multipart-post (>= 1.0.1)
447
- oauth (>= 0.4.3)
448
- warden (1.2.1)
449
- rack (>= 1.0)
450
- web_translate_it (2.0.4)
451
- json
452
- multipart-post (~> 1.1.3)
453
- trollop (~> 1.16.2)
454
- weekdays (1.0.2)
455
- wirble (0.1.3)
456
- xpath (0.1.4)
457
- nokogiri (~> 1.3)
121
+ tzinfo (0.3.37)
458
122
 
459
123
  PLATFORMS
460
124
  ruby
461
125
 
462
126
  DEPENDENCIES
463
- RedCloth
464
- activeadmin!
465
- activemerchant (= 1.17.0)
466
- activerecord-postgresql-adapter
467
- airbrake
468
- annotate
469
- auto_html (= 1.4.2)
470
- bourbon
471
- brcep
472
- cancan
473
- capybara (>= 1.0.1)
474
- carrierwave (= 0.5.8)
475
127
  catarse_moip!
476
- catarse_paypal_express!
477
- coffee-rails (~> 3.2.2)
478
- compass-960-plugin (~> 0.10.4)
479
- compass-rails (~> 1.0.1)
480
- dalli
481
128
  database_cleaner
482
- devise (= 1.5.3)
483
129
  enumerate_it
484
- factory_girl_rails (= 1.7.0)
485
- feedzirra
486
- fog
487
- foreigner
488
- formtastic
489
- has_vimeo_video (>= 0.0.4)
490
- http_accept_language
491
- httparty (~> 0.6.1)
492
- httpclient (= 2.2.5)
493
- inherited_resources (= 1.3.1)
494
- jquery-rails
495
- kaminari
496
- launchy
497
- mailcatcher
498
- mailchimp
499
- maxim-sexy_pg_constraints
500
- meta_search (= 1.1.3)
501
- mocha (= 0.10.4)
130
+ factory_girl_rails
502
131
  moip!
503
- omniauth (~> 1.1.0)
504
- omniauth-facebook (~> 1.2.0)
505
- omniauth-github (~> 1.0.1)
506
- omniauth-linkedin (~> 0.0.6)
507
- omniauth-openid (~> 1.0.1)
508
- omniauth-twitter (~> 0.0.12)
509
- omniauth-yahoo (~> 0.0.4)
510
- on_the_spot
511
- paypal-express
512
132
  pg
513
- rack-timeout
514
- rails (= 3.2.6)
515
- rails_autolink (~> 1.0.7)
516
- rake (= 0.9.2.2)
517
- rcov (= 0.9.11)
518
- rmagick
519
- routing-filter
520
- rspec-rails (~> 2.10.0)
521
- ruby-debug19
522
- sass-rails (~> 3.2.5)
523
- selenium-webdriver (~> 2.25.0)
524
- shoulda
525
- slim
526
- slim-rails
527
- spectator-validates_email
528
- steak (~> 1.1.0)
529
- thin
530
- tumblr-api
531
- uglifier (>= 1.0.3)
532
- unicode
533
- validation_reflection!
534
- web_translate_it
535
- weekdays
536
- wirble
133
+ rspec-rails
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # CatarseMoip
1
+ # CatarseMoip [![Build Status](https://travis-ci.org/catarse/catarse_moip.png)](https://travis-ci.org/catarse/catarse_moip)
2
2
 
3
- Catarse moip integration with [Catarse](http://github.com/danielweinmann/catarse) crowdfunding platform
3
+ Catarse moip integration with [Catarse](http://github.com/catarse/catarse) crowdfunding platform
4
4
 
5
5
  ## Installation
6
6
 
@@ -30,30 +30,6 @@ In Rails console, run this:
30
30
  Configuration.create!(name: "moip_token", value: "TOKEN")
31
31
  Configuration.create!(name: "moip_key", value: "KEY")
32
32
 
33
- ## Development environment setup
34
-
35
- Clone the repository:
36
-
37
- $ git clone git://github.com/devton/catarse_moip.git
38
-
39
- Add the catarse code into test/dummy:
40
-
41
- $ git submodule add git://github.com/danielweinmann/catarse.git test/dummy
42
-
43
- Copy the Catarse's gems to Gemfile:
44
-
45
- $ cat test/dummy/Gemfile >> Gemfile
46
-
47
- And then execute:
48
-
49
- $ bundle
50
-
51
- ## Troubleshooting in development environment
52
-
53
- Remove the admin folder from test/dummy application to prevent a weird active admin bug:
54
-
55
- $ rm -rf test/dummy/app/admin
56
-
57
33
  ## Contributing
58
34
 
59
35
  1. Fork it
data/Rakefile CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env rake
2
2
  begin
3
3
  require 'bundler/setup'
4
+ require 'rspec/core/rake_task'
4
5
  rescue LoadError
5
6
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
7
  end
@@ -20,8 +21,12 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
21
  rdoc.rdoc_files.include('lib/**/*.rb')
21
22
  end
22
23
 
24
+ Bundler::GemHelper.install_tasks
25
+ RSpec::Core::RakeTask.new(:spec)
23
26
 
27
+ task :jasmine do
28
+ sh "jasmine-node spec/javascripts"
29
+ end
24
30
 
25
-
26
- Bundler::GemHelper.install_tasks
31
+ task default: [:spec, :jasmine]
27
32