pagseguro-transparente 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.DS_Store +0 -0
  3. data/.gitignore +34 -0
  4. data/Gemfile +2 -0
  5. data/Gemfile.lock +89 -0
  6. data/README.md +79 -0
  7. data/Rakefile +5 -0
  8. data/coverage/.last_run.json +5 -0
  9. data/coverage/.resultset.json +1665 -0
  10. data/coverage/assets/0.8.0/application.css +799 -0
  11. data/coverage/assets/0.8.0/application.js +1559 -0
  12. data/coverage/assets/0.8.0/colorbox/border.png +0 -0
  13. data/coverage/assets/0.8.0/colorbox/controls.png +0 -0
  14. data/coverage/assets/0.8.0/colorbox/loading.gif +0 -0
  15. data/coverage/assets/0.8.0/colorbox/loading_background.png +0 -0
  16. data/coverage/assets/0.8.0/favicon_green.png +0 -0
  17. data/coverage/assets/0.8.0/favicon_red.png +0 -0
  18. data/coverage/assets/0.8.0/favicon_yellow.png +0 -0
  19. data/coverage/assets/0.8.0/loading.gif +0 -0
  20. data/coverage/assets/0.8.0/magnify.png +0 -0
  21. data/coverage/assets/0.8.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  22. data/coverage/assets/0.8.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  23. data/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  24. data/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  25. data/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  26. data/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  27. data/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  28. data/coverage/assets/0.8.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  29. data/coverage/assets/0.8.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  30. data/coverage/assets/0.8.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  31. data/coverage/assets/0.8.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  32. data/coverage/assets/0.8.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  33. data/coverage/assets/0.8.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  34. data/coverage/index.html +10198 -0
  35. data/lib/pagseguro/address.rb +46 -0
  36. data/lib/pagseguro/bank.rb +15 -0
  37. data/lib/pagseguro/credit_card.rb +23 -0
  38. data/lib/pagseguro/document.rb +20 -0
  39. data/lib/pagseguro/exceptions.rb +22 -0
  40. data/lib/pagseguro/holder.rb +24 -0
  41. data/lib/pagseguro/installment.rb +17 -0
  42. data/lib/pagseguro/item.rb +29 -0
  43. data/lib/pagseguro/items.rb +16 -0
  44. data/lib/pagseguro/notification/address.rb +43 -0
  45. data/lib/pagseguro/notification/item.rb +14 -0
  46. data/lib/pagseguro/notification/items.rb +18 -0
  47. data/lib/pagseguro/notification/payment_method.rb +19 -0
  48. data/lib/pagseguro/notification/phone.rb +19 -0
  49. data/lib/pagseguro/notification/sender.rb +23 -0
  50. data/lib/pagseguro/notification/shipping.rb +23 -0
  51. data/lib/pagseguro/notification.rb +82 -0
  52. data/lib/pagseguro/phone.rb +21 -0
  53. data/lib/pagseguro/request.rb +21 -0
  54. data/lib/pagseguro/sender.rb +28 -0
  55. data/lib/pagseguro/session/response.rb +15 -0
  56. data/lib/pagseguro/session.rb +7 -0
  57. data/lib/pagseguro/shipping.rb +23 -0
  58. data/lib/pagseguro/transaction/serializer.rb +158 -0
  59. data/lib/pagseguro/transaction.rb +91 -0
  60. data/lib/pagseguro/version.rb +3 -0
  61. data/lib/pagseguro-transparente.rb +1 -0
  62. data/lib/pagseguro.rb +54 -0
  63. data/pagseguro-transparente.gemspec +34 -0
  64. data/spec/pagseguro/address_spec.rb +35 -0
  65. data/spec/pagseguro/bank_spec.rb +17 -0
  66. data/spec/pagseguro/credit_card_spec.rb +18 -0
  67. data/spec/pagseguro/document_spec.rb +18 -0
  68. data/spec/pagseguro/holder_spec.rb +18 -0
  69. data/spec/pagseguro/installment_spec.rb +14 -0
  70. data/spec/pagseguro/item_spec.rb +28 -0
  71. data/spec/pagseguro/items_spec.rb +13 -0
  72. data/spec/pagseguro/notification/address_spec.rb +33 -0
  73. data/spec/pagseguro/notification/item_spec.rb +15 -0
  74. data/spec/pagseguro/notification/items_spec.rb +31 -0
  75. data/spec/pagseguro/notification/payment_method_spec.rb +21 -0
  76. data/spec/pagseguro/notification/phone_spec.rb +21 -0
  77. data/spec/pagseguro/notification/sender_spec.rb +26 -0
  78. data/spec/pagseguro/notification/shipping_spec.rb +22 -0
  79. data/spec/pagseguro/notification_spec.rb +45 -0
  80. data/spec/pagseguro/pagseguro_spec.rb +23 -0
  81. data/spec/pagseguro/phone_spec.rb +19 -0
  82. data/spec/pagseguro/sender_spec.rb +20 -0
  83. data/spec/pagseguro/session/response_spec.rb +17 -0
  84. data/spec/pagseguro/session_spec.rb +23 -0
  85. data/spec/pagseguro/shipping_spec.rb +22 -0
  86. data/spec/pagseguro/transaction/serializer_spec.rb +131 -0
  87. data/spec/pagseguro/transaction_spec.rb +91 -0
  88. data/spec/spec_helper.rb +16 -0
  89. metadata +311 -0
metadata ADDED
@@ -0,0 +1,311 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pagseguro-transparente
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Cirdes Henrique
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-04-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: json
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activemodel
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: shoulda-matchers
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 2.5.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 2.5.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: coveralls
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: webmock
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: thread_safe
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '='
158
+ - !ruby/object:Gem::Version
159
+ version: 0.2.0
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '='
165
+ - !ruby/object:Gem::Version
166
+ version: 0.2.0
167
+ description: Integração com o novo checkout transparente do Pagseguro.
168
+ email:
169
+ - cirdes@gmail.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".DS_Store"
175
+ - ".gitignore"
176
+ - Gemfile
177
+ - Gemfile.lock
178
+ - README.md
179
+ - Rakefile
180
+ - coverage/.last_run.json
181
+ - coverage/.resultset.json
182
+ - coverage/assets/0.8.0/application.css
183
+ - coverage/assets/0.8.0/application.js
184
+ - coverage/assets/0.8.0/colorbox/border.png
185
+ - coverage/assets/0.8.0/colorbox/controls.png
186
+ - coverage/assets/0.8.0/colorbox/loading.gif
187
+ - coverage/assets/0.8.0/colorbox/loading_background.png
188
+ - coverage/assets/0.8.0/favicon_green.png
189
+ - coverage/assets/0.8.0/favicon_red.png
190
+ - coverage/assets/0.8.0/favicon_yellow.png
191
+ - coverage/assets/0.8.0/loading.gif
192
+ - coverage/assets/0.8.0/magnify.png
193
+ - coverage/assets/0.8.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
194
+ - coverage/assets/0.8.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
195
+ - coverage/assets/0.8.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
196
+ - coverage/assets/0.8.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
197
+ - coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
198
+ - coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
199
+ - coverage/assets/0.8.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
200
+ - coverage/assets/0.8.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
201
+ - coverage/assets/0.8.0/smoothness/images/ui-icons_222222_256x240.png
202
+ - coverage/assets/0.8.0/smoothness/images/ui-icons_2e83ff_256x240.png
203
+ - coverage/assets/0.8.0/smoothness/images/ui-icons_454545_256x240.png
204
+ - coverage/assets/0.8.0/smoothness/images/ui-icons_888888_256x240.png
205
+ - coverage/assets/0.8.0/smoothness/images/ui-icons_cd0a0a_256x240.png
206
+ - coverage/index.html
207
+ - lib/pagseguro-transparente.rb
208
+ - lib/pagseguro.rb
209
+ - lib/pagseguro/address.rb
210
+ - lib/pagseguro/bank.rb
211
+ - lib/pagseguro/credit_card.rb
212
+ - lib/pagseguro/document.rb
213
+ - lib/pagseguro/exceptions.rb
214
+ - lib/pagseguro/holder.rb
215
+ - lib/pagseguro/installment.rb
216
+ - lib/pagseguro/item.rb
217
+ - lib/pagseguro/items.rb
218
+ - lib/pagseguro/notification.rb
219
+ - lib/pagseguro/notification/address.rb
220
+ - lib/pagseguro/notification/item.rb
221
+ - lib/pagseguro/notification/items.rb
222
+ - lib/pagseguro/notification/payment_method.rb
223
+ - lib/pagseguro/notification/phone.rb
224
+ - lib/pagseguro/notification/sender.rb
225
+ - lib/pagseguro/notification/shipping.rb
226
+ - lib/pagseguro/phone.rb
227
+ - lib/pagseguro/request.rb
228
+ - lib/pagseguro/sender.rb
229
+ - lib/pagseguro/session.rb
230
+ - lib/pagseguro/session/response.rb
231
+ - lib/pagseguro/shipping.rb
232
+ - lib/pagseguro/transaction.rb
233
+ - lib/pagseguro/transaction/serializer.rb
234
+ - lib/pagseguro/version.rb
235
+ - pagseguro-transparente.gemspec
236
+ - spec/pagseguro/address_spec.rb
237
+ - spec/pagseguro/bank_spec.rb
238
+ - spec/pagseguro/credit_card_spec.rb
239
+ - spec/pagseguro/document_spec.rb
240
+ - spec/pagseguro/holder_spec.rb
241
+ - spec/pagseguro/installment_spec.rb
242
+ - spec/pagseguro/item_spec.rb
243
+ - spec/pagseguro/items_spec.rb
244
+ - spec/pagseguro/notification/address_spec.rb
245
+ - spec/pagseguro/notification/item_spec.rb
246
+ - spec/pagseguro/notification/items_spec.rb
247
+ - spec/pagseguro/notification/payment_method_spec.rb
248
+ - spec/pagseguro/notification/phone_spec.rb
249
+ - spec/pagseguro/notification/sender_spec.rb
250
+ - spec/pagseguro/notification/shipping_spec.rb
251
+ - spec/pagseguro/notification_spec.rb
252
+ - spec/pagseguro/pagseguro_spec.rb
253
+ - spec/pagseguro/phone_spec.rb
254
+ - spec/pagseguro/sender_spec.rb
255
+ - spec/pagseguro/session/response_spec.rb
256
+ - spec/pagseguro/session_spec.rb
257
+ - spec/pagseguro/shipping_spec.rb
258
+ - spec/pagseguro/transaction/serializer_spec.rb
259
+ - spec/pagseguro/transaction_spec.rb
260
+ - spec/spec_helper.rb
261
+ homepage: http://www.eventick.com.br
262
+ licenses:
263
+ - MIT
264
+ metadata: {}
265
+ post_install_message:
266
+ rdoc_options: []
267
+ require_paths:
268
+ - lib
269
+ required_ruby_version: !ruby/object:Gem::Requirement
270
+ requirements:
271
+ - - ">="
272
+ - !ruby/object:Gem::Version
273
+ version: 1.9.3
274
+ required_rubygems_version: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ requirements: []
280
+ rubyforge_project:
281
+ rubygems_version: 2.0.5
282
+ signing_key:
283
+ specification_version: 4
284
+ summary: Integração com o novo checkout transparente do Pagseguro.
285
+ test_files:
286
+ - spec/pagseguro/address_spec.rb
287
+ - spec/pagseguro/bank_spec.rb
288
+ - spec/pagseguro/credit_card_spec.rb
289
+ - spec/pagseguro/document_spec.rb
290
+ - spec/pagseguro/holder_spec.rb
291
+ - spec/pagseguro/installment_spec.rb
292
+ - spec/pagseguro/item_spec.rb
293
+ - spec/pagseguro/items_spec.rb
294
+ - spec/pagseguro/notification/address_spec.rb
295
+ - spec/pagseguro/notification/item_spec.rb
296
+ - spec/pagseguro/notification/items_spec.rb
297
+ - spec/pagseguro/notification/payment_method_spec.rb
298
+ - spec/pagseguro/notification/phone_spec.rb
299
+ - spec/pagseguro/notification/sender_spec.rb
300
+ - spec/pagseguro/notification/shipping_spec.rb
301
+ - spec/pagseguro/notification_spec.rb
302
+ - spec/pagseguro/pagseguro_spec.rb
303
+ - spec/pagseguro/phone_spec.rb
304
+ - spec/pagseguro/sender_spec.rb
305
+ - spec/pagseguro/session/response_spec.rb
306
+ - spec/pagseguro/session_spec.rb
307
+ - spec/pagseguro/shipping_spec.rb
308
+ - spec/pagseguro/transaction/serializer_spec.rb
309
+ - spec/pagseguro/transaction_spec.rb
310
+ - spec/spec_helper.rb
311
+ has_rdoc: