openreceive-rails 0.4.1 → 0.4.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2dbfdf2839c02c9304b822e46e2e15cec7a15b9a54868ba26548f7d777bd8042
|
|
4
|
+
data.tar.gz: aa47745eb8b94dde5c846ac2814f4328cb2cfe62355c6d3c6090c97d492cca2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb6cda2f07f78cca96802de2db826421fb304b56bd5c3c4e4873d735449369b613146aa615f876a45e74c738613cf032357e1d6344b303a3c278762780c68ade
|
|
7
|
+
data.tar.gz: 8d9c887792d1029cff868ecc466b21f90a62da9b7414e5a752501227d9e767d2ad421ec084f4771824e9392fda91240583fd93b7600574625d4fb4795a7e04d9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenReceive agent directions (Node.js)
|
|
2
2
|
|
|
3
|
-
These directions describe OpenReceive 0.4.
|
|
3
|
+
These directions describe OpenReceive 0.4.2.
|
|
4
4
|
|
|
5
5
|
Add OpenReceive to a Node application — the app you are already working in. You
|
|
6
6
|
do not need a copy of the OpenReceive source: the packages are on npm, and the
|
|
@@ -439,7 +439,9 @@ import "@openreceive/react/styles.css";
|
|
|
439
439
|
|
|
440
440
|
The checkout renders, polls, and settles itself. The compiled `styles.css`
|
|
441
441
|
sheets (`@openreceive/react`, `@openreceive/elements`) are self-contained — a
|
|
442
|
-
plain `<link rel="stylesheet">` works with no build step
|
|
442
|
+
plain `<link rel="stylesheet">` works with no build step — and scoped: every
|
|
443
|
+
rule applies only inside what OpenReceive renders, so the sheet is safe next
|
|
444
|
+
to any CSS framework (Mantine, Bootstrap, your own reset) in any import order.
|
|
443
445
|
|
|
444
446
|
`<Checkout>` is complete as rendered: it already shows the `description` from
|
|
445
447
|
`amountFor` and the collapsed transaction-details panel. Do not build a custom
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenReceive agent directions (Rails)
|
|
2
2
|
|
|
3
|
-
These directions describe OpenReceive 0.4.
|
|
3
|
+
These directions describe OpenReceive 0.4.2.
|
|
4
4
|
|
|
5
5
|
Add OpenReceive to a Rails application — the app you are already working in. You
|
|
6
6
|
do not need a copy of the OpenReceive source: the gem is on RubyGems, the
|
|
@@ -486,7 +486,8 @@ The engine serves JSON checkout routes only — rendering is your view. Any
|
|
|
486
486
|
OpenReceive frontend package works against the `/openreceive` mount; the
|
|
487
487
|
smallest is the custom element (its default `prefix` is already
|
|
488
488
|
`/openreceive`, and the package ships a self-contained `styles.css` a plain
|
|
489
|
-
stylesheet link can serve
|
|
489
|
+
stylesheet link can serve; it is scoped to what OpenReceive renders, so it
|
|
490
|
+
sits safely next to any CSS framework in any order):
|
|
490
491
|
|
|
491
492
|
```erb
|
|
492
493
|
<%# app/views/orders/pay.html.erb %>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openreceive-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenReceive
|
|
@@ -15,28 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.4.
|
|
18
|
+
version: 0.4.2
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.4.
|
|
25
|
+
version: 0.4.2
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: openreceive-server
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - '='
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.4.
|
|
32
|
+
version: 0.4.2
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - '='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.4.
|
|
39
|
+
version: 0.4.2
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: rails
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|