Skip to content

Commit

Permalink
Dependency Updates (#25)
Browse files Browse the repository at this point in the history
* Replace ObjectMapper with Codable

* Validate AF requests

* Use Decodable opposed to Codable

* Update .gitmodules

* Bump AlamoFire version

* Convert to URL on decoding

* Clean up spacing in Example

* Format variables correctly for decoding in CDYelpEvent

* Parse dates as Date opposed to String

* Update example documentation

* update version number

* update dependency versions

* fix SwiftPackageManager

* Update CHANGELOG.md

* remove travis.yml

* Update CHANGELOG.md
  • Loading branch information
chrisdhaan authored Sep 13, 2021
1 parent 88c632b commit 781c96a
Show file tree
Hide file tree
Showing 40 changed files with 644 additions and 958 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "Carthage/Checkouts/Alamofire"]
path = Carthage/Checkouts/Alamofire
url = https://github.com/Alamofire/Alamofire.git
[submodule "Carthage/Checkouts/ObjectMapper"]
path = Carthage/Checkouts/ObjectMapper
url = https://github.com/tristanhimmelman/ObjectMapper.git
15 changes: 8 additions & 7 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
disabled_rules: # rule identifiers to exclude from running
- inclusive_language
included: # paths to include during linting. `--path` is ignored if present.
- Source
- Example/Source
Expand All @@ -12,18 +13,18 @@ colon:
apply_to_dictionaries: false
# complexity of a function
cyclomatic_complexity:
error: 55
warning: 50
error: 60
warning: 55
# number of lines allowed in a function
function_body_length:
error: 50
warning: 45
error: 60
warning: 55
# number of parameters allowed for a function
function_parameter_count: 15
# number of lines allowed in a file
file_length:
error: 1200
warning: 700
warning: 750
# rules related to vars/lets
identifier_name:
excluded:
Expand All @@ -36,5 +37,5 @@ line_length:
warning: 195
# number of lines allowed in a type declaration
type_body_length:
error: 400
warning: 350
error: 450
warning: 400
59 changes: 0 additions & 59 deletions .travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions CDYelpFusionKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'CDYelpFusionKit'
s.version = '2.1.1'
s.version = '3.0.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'An extensive Swift wrapper for the Yelp Fusion API.'
s.description = <<-DESC
Expand All @@ -20,6 +20,5 @@ Pod::Spec.new do |s|
s.source_files = 'Source/*.swift'
s.resources = ['Resources/*.xcassets']

s.dependency 'Alamofire', '5.2.2'
s.dependency 'ObjectMapper', '4.2.0'
s.dependency 'Alamofire', '5.4.3'
end
Loading

0 comments on commit 781c96a

Please sign in to comment.