solidus_inter 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -53
- data/app/models/solidus_inter/inter_pix.rb +1 -1
- data/lib/solidus_inter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e914a20c06aee6978f5e168cdcec9fab0e45e8d82c7c25c35c6826f40fe0bbd
|
4
|
+
data.tar.gz: f4b4c1c9e6e3aaa1809659e44f5a8d9b16958a01983ab0b67efe97bec414c086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2717dc3520c55adb260ea9f54350914cea1fc9076f32389b9aed762113b05ba63d3e5d51c37d01141e3f9a82abcb4d519c855b33d9623e501351733d648f461
|
7
|
+
data.tar.gz: 37640b8a2e34e04a45116f5eb43304f904fe505861cfad0bcff825d23d284589af4afed1cbd0e2dd1e23a23a10ae01f12de0430f05670f485c6484b01e0567c6
|
data/README.md
CHANGED
@@ -18,56 +18,3 @@ Bundle your dependencies and run the installation generator:
|
|
18
18
|
```shell
|
19
19
|
bin/rails generate solidus_inter:install
|
20
20
|
```
|
21
|
-
|
22
|
-
## Usage
|
23
|
-
|
24
|
-
<!-- Explain how to use your extension once it's been installed. -->
|
25
|
-
|
26
|
-
## Development
|
27
|
-
|
28
|
-
### Testing the extension
|
29
|
-
|
30
|
-
First bundle your dependencies, then run `bin/rake`. `bin/rake` will default to building the dummy
|
31
|
-
app if it does not exist, then it will run specs. The dummy app can be regenerated by using
|
32
|
-
`bin/rake extension:test_app`.
|
33
|
-
|
34
|
-
```shell
|
35
|
-
bin/rake
|
36
|
-
```
|
37
|
-
|
38
|
-
To run [Rubocop](https://github.com/bbatsov/rubocop) static code analysis run
|
39
|
-
|
40
|
-
```shell
|
41
|
-
bundle exec rubocop
|
42
|
-
```
|
43
|
-
|
44
|
-
When testing your application's integration with this extension you may use its factories.
|
45
|
-
You can load Solidus core factories along with this extension's factories using this statement:
|
46
|
-
|
47
|
-
```ruby
|
48
|
-
SolidusDevSupport::TestingSupport::Factories.load_for(SolidusInter::Engine)
|
49
|
-
```
|
50
|
-
|
51
|
-
### Running the sandbox
|
52
|
-
|
53
|
-
To run this extension in a sandboxed Solidus application, you can run `bin/sandbox`. The path for
|
54
|
-
the sandbox app is `./sandbox` and `bin/rails` will forward any Rails commands to
|
55
|
-
`sandbox/bin/rails`.
|
56
|
-
|
57
|
-
Here's an example:
|
58
|
-
|
59
|
-
```
|
60
|
-
$ bin/rails server
|
61
|
-
=> Booting Puma
|
62
|
-
=> Rails 6.0.2.1 application starting in development
|
63
|
-
* Listening on tcp://127.0.0.1:3000
|
64
|
-
Use Ctrl-C to stop
|
65
|
-
```
|
66
|
-
|
67
|
-
### Releasing new versions
|
68
|
-
|
69
|
-
Please refer to the [dedicated page](https://github.com/solidusio/solidus/wiki/How-to-release-extensions) in the Solidus wiki.
|
70
|
-
|
71
|
-
## License
|
72
|
-
|
73
|
-
Copyright (c) 2024 ulysses, released under the New BSD License.
|
@@ -33,7 +33,7 @@ module SolidusInter
|
|
33
33
|
amount: payment.amount,
|
34
34
|
payer_tax_id: payment.source.payer_tax_id,
|
35
35
|
payer_name: payment.source.payer_name,
|
36
|
-
expiration:
|
36
|
+
expiration: 600
|
37
37
|
)
|
38
38
|
payment.response_code = inter_payment.txid
|
39
39
|
payment.source.assign_attributes(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_inter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ulysses
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_core
|