diff --git a/JSONStub.podspec b/JSONStub.podspec index e7ad37a..ec82a6c 100644 --- a/JSONStub.podspec +++ b/JSONStub.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'JSONStub' - s.version = '0.1.4' + s.version = '0.1.5' s.summary = 'Use JSONStub to easily load JSON files into your Mappable objects.' # This description is used to generate tags and improve search results. diff --git a/JSONStub/Classes/Mappable.swift b/JSONStub/Classes/Mappable.swift index fd4230a..cf2983a 100644 --- a/JSONStub/Classes/Mappable.swift +++ b/JSONStub/Classes/Mappable.swift @@ -8,7 +8,7 @@ import protocol ObjectMapper.Mappable -extension Mappable { +public extension Mappable { init?(fromFileName file: String) { guard let json = file.fileDictionary() else { return nil }