Skip to content

Commit

Permalink
made wikipedia_url_suffix non-optional in Country; bump CocoaPods…
Browse files Browse the repository at this point in the history
… version
  • Loading branch information
RandomHashTags committed Feb 19, 2023
1 parent d7e73c0 commit 4fc2de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/SwiftSovereignStates/Country.swift
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public enum Country : String, SovereignState {
return "https://en.wikipedia.org/wiki/" + name
}

public var wikipedia_url_suffix : String? {
public var wikipedia_url_suffix : String {
let shortName:String = short_name.replacingOccurrences(of: " ", with: "_")
switch self {
case .bahamas,
Expand Down
2 changes: 1 addition & 1 deletion SwiftSovereignStates.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SwiftSovereignStates'
s.version = '1.2.0'
s.version = '1.2.1'
s.summary = 'Sovereign States, Subdivisions, and other relevant information to use in your Swift projects.'
s.homepage = 'https://github.com/RandomHashTags/swift-sovereign-states'
s.license = { :type => 'CC0 1.0 Universal', :file => 'LICENSE.txt' }
Expand Down

0 comments on commit 4fc2de7

Please sign in to comment.