Skip to content

Commit d5846a1

Browse files
committed
Allow PMJSON 4.0 in podspec
Bump Cartfile to 4.0 as well, since Carthage has no way to allow a range greater than a single major version. This is a potentially breaking change for Carthage users, but I'm not willing to bump PMHTTP's major version because of Carthage limitations.
1 parent 8f79bba commit d5846a1

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "postmates/PMJSON" ~> 3.0
1+
github "postmates/PMJSON" ~> 4.0

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "postmates/PMJSON" "v3.1.1"
2-
github "robbiehanson/CocoaAsyncSocket" "ec6c373de9eb7606a229ab927d1cce432073cc26"
1+
github "postmates/PMJSON" "v4.0.0"
2+
github "robbiehanson/CocoaAsyncSocket" "b179ea4013e94e31e6e637955e520ea4fb9d1b13"

PMHTTP.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ Pod::Spec.new do |s|
2828
s.library = 'c++'
2929
s.module_map = "Sources/pmhttp.modulemap"
3030

31-
s.dependency "PMJSON", "~> 3.0"
31+
s.dependency "PMJSON", ">= 3.0", "< 5.0"
3232
end

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,10 @@ work by you shall be dual licensed as above, without any additional terms or con
410410

411411
## Version History
412412

413+
#### Development
414+
415+
* Support PMJSON 4.x in addition to PMJSON 3.x with CocoaPods. Carthage doesn't support that kind of version range so it's now just set to PMJSON 4.x only.
416+
413417
#### v4.4.2 (2019-08-13)
414418

415419
* Fix a bug with the deprecated `HTTPManagerObjectParseRequest.credential` property where assigning to the property wouldn't work.

0 commit comments

Comments
 (0)