From 91d1c56daf5728d11dc2a572e810538b144999b9 Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Wed, 11 Feb 2015 21:24:46 +1300 Subject: [PATCH 1/4] Removed unused APIs --- Snap/View+Snap.swift | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Snap/View+Snap.swift b/Snap/View+Snap.swift index 643fcce..ee032e6 100644 --- a/Snap/View+Snap.swift +++ b/Snap/View+Snap.swift @@ -84,26 +84,6 @@ public extension View { ConstraintMaker.removeConstraints(self) } - public func snp_prepareConstraints(tag: String, block: (maker: ConstraintMaker) -> ()) { - - } - - public func snp_enableConstraints(tag: String) { - - } - - public func snp_disableConstraints(tag: String) { - - } - - public func snp_toggleConstraints(tag: String) { - - } - - public func snp_removeConstraints(tag: String) { - - } - // internal internal var snp_installedLayoutConstraints: Array { From 0f58b26596ab95b6a3480d7678d390fb6d1ccf8e Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Wed, 11 Feb 2015 21:24:53 +1300 Subject: [PATCH 2/4] Rename maker to make --- Snap/View+Snap.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Snap/View+Snap.swift b/Snap/View+Snap.swift index ee032e6..ebb0c19 100644 --- a/Snap/View+Snap.swift +++ b/Snap/View+Snap.swift @@ -68,15 +68,15 @@ public extension View { public var snp_centerWithinMargins: ConstraintItem { return ConstraintItem(object: self, attributes: ConstraintAttributes.CenterWithinMargins) } #endif - public func snp_makeConstraints(block: (maker: ConstraintMaker) -> ()) { + public func snp_makeConstraints(block: (make: ConstraintMaker) -> ()) { ConstraintMaker.makeConstraints(self, block: block) } - public func snp_updateConstraints(block: (maker: ConstraintMaker) -> ()) { + public func snp_updateConstraints(block: (make: ConstraintMaker) -> ()) { ConstraintMaker.updateConstraints(self, block: block) } - public func snp_remakeConstraints(block: (maker: ConstraintMaker) -> ()) { + public func snp_remakeConstraints(block: (make: ConstraintMaker) -> ()) { ConstraintMaker.remakeConstraints(self, block: block) } From f0cc0501b0dc247febfdae035e507d45a6d3dd5c Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Wed, 11 Feb 2015 21:27:15 +1300 Subject: [PATCH 3/4] Update changelog --- CHANGELOG.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a52e09b..d6b722d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ -Preview +Beta ======= -Snap is currently in preview and regular Changelogs will be provided as it comes out of preview into production quality code. \ No newline at end of file +# 0.0.6 - February 11th, 2015 + +* Renamed `maker` to `make` in all block APIs \ No newline at end of file From 8907add87ffa717f6c0def1b77184989cbbb22a4 Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Wed, 11 Feb 2015 21:27:32 +1300 Subject: [PATCH 4/4] Update podspec --- Snap.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Snap.podspec b/Snap.podspec index d17ea4e..bd6da8c 100644 --- a/Snap.podspec +++ b/Snap.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = 'Snap' - s.version = '0.0.5' + s.version = '0.0.6' s.license = 'MIT' s.summary = 'Harness the power of auto layout with a simplified, chainable, and compile time safe syntax.' s.homepage = 'https://github.com/Masonry/Snap' s.authors = { 'Robert Payne' => 'robertpayne@me.com' } s.social_media_url = 'http://twitter.com/robertjpayne' - s.source = { :git => 'https://github.com/Masonry/Snap.git', :tag => '0.0.5' } + s.source = { :git => 'https://github.com/Masonry/Snap.git', :tag => '0.0.6' } s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.9'