Skip to content

Commit

Permalink
* 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
icanzilb committed Nov 10, 2013
1 parent be2f1e7 commit 494a284
Show file tree
Hide file tree
Showing 25 changed files with 82 additions and 63 deletions.
2 changes: 1 addition & 1 deletion AppledocSettings.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>--project-name</key>
<string>JSONModel 0.9.2</string>
<string>JSONModel 0.10.0</string>
<key>--print-settings</key>
<true/>
<key>--project-company</key>
Expand Down
19 changes: 19 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
Change-log
==========

## Nota Bene!

Version 0.10 will be one of (if not) the last version for the "0" major version.

Currently I'm wrapping up the features to get into 1.0 and the list of breaking changes it will introduce.

---

**Version 0.10** @ 2013-11-10

- fixed handling of *null* values in JSON, which was **broken until now**, make sure to test after upgrading. Now *null* values for required properties will result in a failed init of the model class.

- a number of pull requests for *JSONHTTPClient*, slowly trying to polish it

- added propertyIsIgnored: method, for ignoring primitive properties

- fixes in globalKeyMapper import/export JSON, fixes for automatic snake_case convertions, added masking of BOOL as struct for custom convertors

**Version 0.9.3** @ 2013-09-25

- Bug fixes up to issue #90
Expand Down
4 changes: 2 additions & 2 deletions JSONModel.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Pod::Spec.new do |s|
s.name = "JSONModel"
s.version = "0.9.3"
s.version = "0.10.0"
s.summary = "Magical Data Modelling Framework for JSON. Create rapidly powerful, atomic and smart data model classes."
s.homepage = "http://www.jsonmodel.com"

s.license = { :type => 'MIT', :file => 'LICENSE_jsonmodel.txt' }
s.author = { "Marin Todorov" => "[email protected]" }

s.source = { :git => "https://github.com/icanzilb/JSONModel.git", :tag => "0.9.3" }
s.source = { :git => "https://github.com/icanzilb/JSONModel.git", :tag => "0.10.0" }

s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModel/JSONModel.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModel.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModel/JSONModel.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModel.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModel/JSONModelArray.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModelArray.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModel/JSONModelClassProperty.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModelClassProperty.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModel/JSONModelClassProperty.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModelClassProperty.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModel/JSONModelError.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModelError.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModel/JSONModelError.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModelError.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelCategories/NSArray+JSONModel.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// NSArray+JSONModel.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelCategories/NSArray+JSONModel.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// NSArray+JSONModel.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelLib.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModelLib.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelNetworking/JSONAPI.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONAPI.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelNetworking/JSONAPI.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONAPI.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelNetworking/JSONHTTPClient.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModelHTTPClient.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelNetworking/JSONHTTPClient.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModelHTTPClient.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelNetworking/JSONModel+networking.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModel+networking.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelNetworking/JSONModel+networking.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONModel+networking.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelTransformations/JSONKeyMapper.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONKeyMapper.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelTransformations/JSONKeyMapper.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONKeyMapper.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelTransformations/JSONValueTransformer.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONValueTransformer.h
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
2 changes: 1 addition & 1 deletion JSONModel/JSONModelTransformations/JSONValueTransformer.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// JSONValueTransformer.m
//
// @version 0.9.3
// @version 0.10.0
// @author Marin Todorov, http://www.touch-code-magazine.com
//

Expand Down
40 changes: 20 additions & 20 deletions JSONModelDemo_OSX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -186,27 +186,27 @@
9C05B43E168CEB220054215E /* ValidationTestSuite.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ValidationTestSuite.m; sourceTree = "<group>"; };
9C08C1AD1749750100AA8CC9 /* CopyrightModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CopyrightModel.h; sourceTree = "<group>"; };
9C08C1AE1749750100AA8CC9 /* CopyrightModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CopyrightModel.m; sourceTree = "<group>"; };
9C66DFDE168CF09A0015CCDF /* JSONModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONModel.h; sourceTree = "<group>"; };
9C66DFDF168CF09A0015CCDF /* JSONModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONModel.m; sourceTree = "<group>"; };
9C66DFDE168CF09A0015CCDF /* JSONModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONModel.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFDF168CF09A0015CCDF /* JSONModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONModel.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFE0168CF09A0015CCDF /* JSONModelArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONModelArray.h; sourceTree = "<group>"; };
9C66DFE1168CF09A0015CCDF /* JSONModelArray.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONModelArray.m; sourceTree = "<group>"; };
9C66DFE2168CF09A0015CCDF /* JSONModelClassProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONModelClassProperty.h; sourceTree = "<group>"; };
9C66DFE3168CF09A0015CCDF /* JSONModelClassProperty.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONModelClassProperty.m; sourceTree = "<group>"; };
9C66DFE4168CF09A0015CCDF /* JSONModelError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONModelError.h; sourceTree = "<group>"; };
9C66DFE5168CF09A0015CCDF /* JSONModelError.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONModelError.m; sourceTree = "<group>"; };
9C66DFE7168CF09A0015CCDF /* NSArray+JSONModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+JSONModel.h"; sourceTree = "<group>"; };
9C66DFE8168CF09A0015CCDF /* NSArray+JSONModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+JSONModel.m"; sourceTree = "<group>"; };
9C66DFE9168CF09A0015CCDF /* JSONModelLib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONModelLib.h; sourceTree = "<group>"; };
9C66DFEB168CF09A0015CCDF /* JSONAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONAPI.h; sourceTree = "<group>"; };
9C66DFEC168CF09A0015CCDF /* JSONAPI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONAPI.m; sourceTree = "<group>"; };
9C66DFED168CF09A0015CCDF /* JSONHTTPClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONHTTPClient.h; sourceTree = "<group>"; };
9C66DFEE168CF09A0015CCDF /* JSONHTTPClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONHTTPClient.m; sourceTree = "<group>"; };
9C66DFEF168CF09A0015CCDF /* JSONModel+networking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "JSONModel+networking.h"; sourceTree = "<group>"; };
9C66DFF0168CF09A0015CCDF /* JSONModel+networking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "JSONModel+networking.m"; sourceTree = "<group>"; };
9C66DFF2168CF09A0015CCDF /* JSONKeyMapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONKeyMapper.h; sourceTree = "<group>"; };
9C66DFF3168CF09A0015CCDF /* JSONKeyMapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONKeyMapper.m; sourceTree = "<group>"; };
9C66DFF4168CF09A0015CCDF /* JSONValueTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONValueTransformer.h; sourceTree = "<group>"; };
9C66DFF5168CF09A0015CCDF /* JSONValueTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONValueTransformer.m; sourceTree = "<group>"; };
9C66DFE1168CF09A0015CCDF /* JSONModelArray.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONModelArray.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFE2168CF09A0015CCDF /* JSONModelClassProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONModelClassProperty.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFE3168CF09A0015CCDF /* JSONModelClassProperty.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONModelClassProperty.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFE4168CF09A0015CCDF /* JSONModelError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONModelError.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFE5168CF09A0015CCDF /* JSONModelError.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONModelError.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFE7168CF09A0015CCDF /* NSArray+JSONModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = "NSArray+JSONModel.h"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFE8168CF09A0015CCDF /* NSArray+JSONModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "NSArray+JSONModel.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFE9168CF09A0015CCDF /* JSONModelLib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONModelLib.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFEB168CF09A0015CCDF /* JSONAPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONAPI.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFEC168CF09A0015CCDF /* JSONAPI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONAPI.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFED168CF09A0015CCDF /* JSONHTTPClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONHTTPClient.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFEE168CF09A0015CCDF /* JSONHTTPClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONHTTPClient.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFEF168CF09A0015CCDF /* JSONModel+networking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = "JSONModel+networking.h"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFF0168CF09A0015CCDF /* JSONModel+networking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "JSONModel+networking.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFF2168CF09A0015CCDF /* JSONKeyMapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONKeyMapper.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFF3168CF09A0015CCDF /* JSONKeyMapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONKeyMapper.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C66DFF4168CF09A0015CCDF /* JSONValueTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = JSONValueTransformer.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
9C66DFF5168CF09A0015CCDF /* JSONValueTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = JSONValueTransformer.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
9C6C35DB181CF7B500BEE72D /* nestedDataWithArrayError.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = nestedDataWithArrayError.json; sourceTree = "<group>"; };
9C6C35DC181CF7B500BEE72D /* nestedDataWithDictionaryError.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = nestedDataWithDictionaryError.json; sourceTree = "<group>"; };
9C6C35DD181CF7B500BEE72D /* nestedDataWithTypeMismatchOnImages.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = nestedDataWithTypeMismatchOnImages.json; sourceTree = "<group>"; };
Expand Down
Loading

0 comments on commit 494a284

Please sign in to comment.