solidus_nexio 0.6.3 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -3
- data/app/assets/javascripts/solidus_nexio/checkout.js +394 -2
- data/app/helpers/solidus_nexio/checkout_helper.rb +1 -0
- data/app/views/spree/api/payments/source_views/_nexio_apm.json.jbuilder +1 -1
- data/lib/solidus_nexio/version.rb +1 -1
- data/lib/solidus_nexio.rb +4 -0
- metadata +3 -4
- data/app/assets/javascripts/solidus_nexio/checkout.js.LICENSE.txt +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97dbb5f4527c8a4b5651690fa36afca688aecc5aefb6d759ad7465c1114f95e0
|
4
|
+
data.tar.gz: f9d986a696470eb10cf8f9f543116ed8e6d3ad40f936c2d61c33d485804720cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fcbdd5cbfcc61ea3365b73231979aa1725d431fe1f3dd6e27f6454b5863f05314a0e57f60eeabf29b26faa9ef5b1d9edc06b8bb586c2fed9162ef5bb4420901
|
7
|
+
data.tar.gz: fa70fe17dff715516a260691be5be20f32e13a5c42b2fd5c6de3efeff6e1eade9799baccb4d44819035797de24e8ead6f64c9016b8cb48aa7cd4c37d7c44506c
|
data/README.md
CHANGED
@@ -24,11 +24,24 @@ Or install it yourself as:
|
|
24
24
|
|
25
25
|
TODO: Write usage instructions here
|
26
26
|
|
27
|
-
## Development
|
27
|
+
## Frontend Development
|
28
28
|
|
29
|
-
|
29
|
+
1. Set the `development` mode for the webpacker in line #22 of `webpack.config.js`
|
30
|
+
```
|
31
|
+
mode: 'development',
|
32
|
+
```
|
33
|
+
2. Add the gem as a local one in your app `Gemfile`
|
34
|
+
```
|
35
|
+
gem 'solidus_nexio', path: '~/apps/solidus_gems/solidus_nexio'
|
36
|
+
```
|
37
|
+
|
38
|
+
2. Uncomment the line #45 in `app/helpers/solidus_nexio/checkout_helper.rb`
|
39
|
+
```
|
40
|
+
`cd #{::SolidusNexio.gem_dir}; yarn webpack --config webpack.config.js` if Rails.env.development?
|
41
|
+
```
|
30
42
|
|
31
|
-
|
43
|
+
3. Reload the page you're debugging after any change in a js-file.
|
44
|
+
4. *Nota Bene* -> Revert all changes above after your development is completed.
|
32
45
|
|
33
46
|
## Contributing
|
34
47
|
|