aceitafacil 0.0.4 → 0.0.5
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.
- checksums.yaml +8 -8
- data/README.md +4 -4
- data/aceitafacil.gemspec +2 -2
- data/lib/aceitafacil/version.rb +1 -1
- data/lib/generators/templates/aceitafacil.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NWM0OGFlZTNkMjU1YTcyNDRlZTBiYWY4NGQ3ZTZjNGRlZWIyMjYzMQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MTM2YTNlZGYyNWE1MzBkNmVmY2M5NjVlNTQ4NjdkMGNkMDc5YmU4ZA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MjZiZjk0OGNjNzI2OThhODZkMDU1M2IxNjQ2ZDk0MmZmNjlmZjQyNWM2ZTZm
|
|
10
|
+
NGI5NzdlNDFjNTk1Y2I0NTEwYzJmMDE1MGZhYTA2MTJmOGZlZGVkM2M2Nzhk
|
|
11
|
+
NjMyYjI3YTEzNzE5MDQ0ODFjNTgwMmEwYWJhMjhmYTBkNGIxZmY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Zjc1MTE1MWZlZGM4YTlmNWFkNjA3NTU0ZjNjYzY1ZjEwMmVhYzYzZmNhNTUx
|
|
14
|
+
OWExZTU5Njg5NWE2NTA1NWJiZGNjNjg4OTdlMWExZjE5MDAyYjAxN2IzNTRk
|
|
15
|
+
NDlkNjlhNDljZTc3YTAzYTU2NDI0OGU3MTdmNmNmZjE0NmVlMDI=
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# aceitaFacil
|
|
2
2
|
|
|
3
|
-
Esta gem habilita as funcionalidades da API do serviço [
|
|
3
|
+
Esta gem habilita as funcionalidades da API do serviço [aceitaFacil][url] no Ruby on Rails.
|
|
4
4
|
|
|
5
5
|
## Instalação
|
|
6
6
|
|
|
@@ -47,7 +47,7 @@ Implemente um formulário para capturar os dados do cartão de crédito. Segue u
|
|
|
47
47
|
|
|
48
48
|
O customer_id reference ao ID do cliente no banco de dados da aplicação Host.
|
|
49
49
|
|
|
50
|
-
O método __save__ sincroniza as informações enviadas com o servidor do [
|
|
50
|
+
O método __save__ sincroniza as informações enviadas com o servidor do [aceitaFacil][url].
|
|
51
51
|
|
|
52
52
|
Com os dados do cartão de crédito enviados e os vendedores cadastrados você já pode efetuar um pagamento, segue um exemplo:
|
|
53
53
|
|
|
@@ -93,4 +93,4 @@ Se for válido retornará true, se não false e o array @card.errors será preen
|
|
|
93
93
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
94
94
|
5. Create new Pull Request
|
|
95
95
|
|
|
96
|
-
[url]: http://
|
|
96
|
+
[url]: http://aceitafacil.com/ "aceitaFacil"
|
data/aceitafacil.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Aceitafacil::VERSION
|
|
9
9
|
spec.authors = ["Wilbert Ribeiro"]
|
|
10
10
|
spec.email = ["wkelyson@gmail.com"]
|
|
11
|
-
spec.summary = %q{ This gem enables
|
|
12
|
-
spec.description = %q{ It implements Cards and Payments from
|
|
11
|
+
spec.summary = %q{ This gem enables aceitaFacil API features on Ruby on Rails }
|
|
12
|
+
spec.description = %q{ It implements Cards and Payments from aceitaFacil doc spec. }
|
|
13
13
|
spec.homepage = "http://www.github.com/wilbert/aceitafacil"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
data/lib/aceitafacil/version.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
|
|
3
|
-
# Use esse arquivo para configurar a integração com o
|
|
3
|
+
# Use esse arquivo para configurar a integração com o aceitaFacil.
|
|
4
4
|
Aceitafacil.setup do |config|
|
|
5
5
|
# Altere para production ao final dos seus testes
|
|
6
6
|
config.environment = :test
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aceitafacil
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wilbert Ribeiro
|
|
@@ -136,7 +136,7 @@ dependencies:
|
|
|
136
136
|
- - '='
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: 1.6.6
|
|
139
|
-
description: ! ' It implements Cards and Payments from
|
|
139
|
+
description: ! ' It implements Cards and Payments from aceitaFacil doc spec. '
|
|
140
140
|
email:
|
|
141
141
|
- wkelyson@gmail.com
|
|
142
142
|
executables: []
|
|
@@ -189,7 +189,7 @@ rubyforge_project:
|
|
|
189
189
|
rubygems_version: 2.2.2
|
|
190
190
|
signing_key:
|
|
191
191
|
specification_version: 4
|
|
192
|
-
summary: This gem enables
|
|
192
|
+
summary: This gem enables aceitaFacil API features on Ruby on Rails
|
|
193
193
|
test_files:
|
|
194
194
|
- spec/aceitafacil/card_spec.rb
|
|
195
195
|
- spec/aceitafacil/connection_spec.rb
|