opal-jquery 0.5.1 → 0.5.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 +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/opal/jquery/http.rb +1 -1
- data/lib/opal/jquery/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b99a0ceb30b1ae234765ac6421f4979e018bc479a5a5852675e19379b619792
|
|
4
|
+
data.tar.gz: ae8603ce08da849eb3bf5cae6171f172388d32d3b0fe72a77f53c8a1938380e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9730079c3b3317d90518fc261bd371e2537795a3a50389b87a2e2856d5e95c4bed29b61fd454d07272cce804c46d6aac5c7f70ac70fe0353faeedcca885eed5f
|
|
7
|
+
data.tar.gz: 7750ec82463424925c15afc58a4a1edc828bcd947d893ca7975f31a158c45a5ddcd09fc014b4e4dd4a2a38363c09bde3b6467f6bc3ce90c8642dedd974f74e13
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
## [0.5.2](https://github.com/opal/opal-jquery/compare/v0.5.1...v0.5.2) 2024-07-31
|
|
2
|
+
|
|
3
|
+
* Fix issue with incorrectly auto-setting content-type as 'application/json' when payload is null (#122)
|
|
4
|
+
|
|
1
5
|
## [0.5.1](https://github.com/opal/opal-jquery/compare/v0.5.0...v0.5.1) 2024-01-08
|
|
2
6
|
|
|
3
|
-
* Added `# backtick_javascript: true` where needed to satisfy new Opal requirement (#
|
|
7
|
+
* Added `# backtick_javascript: true` where needed to satisfy new Opal requirement (#121)
|
|
4
8
|
|
|
5
9
|
## [0.5.0](https://github.com/opal/opal-jquery/compare/v0.4.6...v0.5.0) 2024-01-05
|
|
6
10
|
|
data/lib/opal/jquery/http.rb
CHANGED
|
@@ -169,7 +169,7 @@ class HTTP
|
|
|
169
169
|
if (typeof(payload) === 'string' || settings.processData === false) {
|
|
170
170
|
settings.data = payload;
|
|
171
171
|
}
|
|
172
|
-
else if (payload !=
|
|
172
|
+
else if (payload != null) {
|
|
173
173
|
settings.data = JSON.stringify(payload);
|
|
174
174
|
settings.contentType = 'application/json';
|
|
175
175
|
}
|
data/lib/opal/jquery/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opal-jquery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam Beynon
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2024-
|
|
13
|
+
date: 2024-07-31 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: opal
|
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
187
187
|
- !ruby/object:Gem::Version
|
|
188
188
|
version: '0'
|
|
189
189
|
requirements: []
|
|
190
|
-
rubygems_version: 3.
|
|
190
|
+
rubygems_version: 3.4.10
|
|
191
191
|
signing_key:
|
|
192
192
|
specification_version: 4
|
|
193
193
|
summary: Opal access to jQuery
|