From 8bb9a7678272fad0483e9c43e6e03a90ec191a32 Mon Sep 17 00:00:00 2001 From: Bartek Chlebek Date: Fri, 8 May 2015 14:28:01 +0200 Subject: [PATCH 1/4] Podspec added --- SwiftyStateMachine.podspec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 SwiftyStateMachine.podspec diff --git a/SwiftyStateMachine.podspec b/SwiftyStateMachine.podspec new file mode 100644 index 0000000..e85de8b --- /dev/null +++ b/SwiftyStateMachine.podspec @@ -0,0 +1,14 @@ +Pod::Spec.new do |s| + s.name = "SwiftyStateMachine" + s.version = "0.1.0" + s.summary = "A Swift µframework for creating finite-state machines, designed for clarity and maintainability." + s.homepage = "https://github.com/macoscope/SwiftyStateMachine" + s.license = "MIT" + s.author = { "Maciej Konieczny" => "hello@narf.pl" } + s.social_media_url = "https://twitter.com/narfdotpl" + s.ios.deployment_target = "8.0" + s.osx.deployment_target = "10.10" + s.source = { :git => "https://github.com/macoscope/SwiftyStateMachine.git", :tag => "#{s.version}" } + s.source_files = "StateMachine/*.swift" + s.requires_arc = true +end From d2efd3f6968c9731b96bb2cbe4a97c1860842705 Mon Sep 17 00:00:00 2001 From: Maciej Konieczny Date: Sat, 6 Jun 2015 17:48:58 +0200 Subject: [PATCH 2/4] #6: tweaked podspec --- SwiftyStateMachine.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SwiftyStateMachine.podspec b/SwiftyStateMachine.podspec index e85de8b..cb9d3f8 100644 --- a/SwiftyStateMachine.podspec +++ b/SwiftyStateMachine.podspec @@ -7,8 +7,8 @@ Pod::Spec.new do |s| s.author = { "Maciej Konieczny" => "hello@narf.pl" } s.social_media_url = "https://twitter.com/narfdotpl" s.ios.deployment_target = "8.0" - s.osx.deployment_target = "10.10" + s.osx.deployment_target = "10.9" s.source = { :git => "https://github.com/macoscope/SwiftyStateMachine.git", :tag => "#{s.version}" } - s.source_files = "StateMachine/*.swift" + s.source_files = "StateMachine/*.swift" s.requires_arc = true end From 7d2a4bcdc5e28d838750606201cc4b03d2081cd9 Mon Sep 17 00:00:00 2001 From: Maciej Konieczny Date: Sat, 6 Jun 2015 17:50:00 +0200 Subject: [PATCH 3/4] #6: added info about CocoaPods --- HISTORY.md | 1 + README.md | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 07ebb12..633e71d 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,7 @@ - #2: Changed `StateMachine` into a class (was a struct). - #5: Lowered the minimum deployment targets to iOS 8.0 and OS X 10.9. +- #6: Added support for CocoaPods. ## [0.1.0][] • 2015-04-29 diff --git a/README.md b/README.md index bfc7530..a291ff7 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,12 @@ for clarity and maintainability. Can create diagrams: - Developed and tested under Swift 1.2 (Xcode 6.3) - Published under the [MIT License](LICENSE) - [Carthage][] compatible +- [CocoaPods][] compatible [FSM]: http://en.wikipedia.org/wiki/Finite-state_machine [Semantic Versioning]: http://semver.org/ [Carthage]: https://github.com/Carthage/Carthage + [CocoaPods]: https://cocoapods.org/ Table of Contents @@ -61,6 +63,12 @@ project. We recommend using [Carthage][Carthage add]: [Carthage add]: https://github.com/Carthage/Carthage#adding-frameworks-to-an-application +You can also use [CocoaPods][]: + + # Podfile + pod 'SwiftyStateMachine', '0.1.0' + + Example ------- From cdfb30e2ff16cfd1fe23a2180f5c3412a439cd5c Mon Sep 17 00:00:00 2001 From: Maciej Konieczny Date: Sat, 6 Jun 2015 17:59:13 +0200 Subject: [PATCH 4/4] #6: 0.2.0 --- README.md | 6 +++--- SwiftyStateMachine.podspec | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a291ff7..d390e42 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ for clarity and maintainability. Can create diagrams: ![example digraph](example-digraph.png) -- Version 0.1.0 (following [Semantic Versioning][]) +- Version 0.2.0 (following [Semantic Versioning][]) - Developed and tested under Swift 1.2 (Xcode 6.3) - Published under the [MIT License](LICENSE) - [Carthage][] compatible @@ -58,7 +58,7 @@ SwiftyStateMachine is a framework — you can build it and drag it to your project. We recommend using [Carthage][Carthage add]: # Cartfile - github "macoscope/SwiftyStateMachine" == 0.1.0 + github "macoscope/SwiftyStateMachine" == 0.2.0 [Carthage add]: https://github.com/Carthage/Carthage#adding-frameworks-to-an-application @@ -66,7 +66,7 @@ project. We recommend using [Carthage][Carthage add]: You can also use [CocoaPods][]: # Podfile - pod 'SwiftyStateMachine', '0.1.0' + pod 'SwiftyStateMachine', '0.2.0' Example diff --git a/SwiftyStateMachine.podspec b/SwiftyStateMachine.podspec index cb9d3f8..dc978b2 100644 --- a/SwiftyStateMachine.podspec +++ b/SwiftyStateMachine.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SwiftyStateMachine" - s.version = "0.1.0" + s.version = "0.2.0" s.summary = "A Swift µframework for creating finite-state machines, designed for clarity and maintainability." s.homepage = "https://github.com/macoscope/SwiftyStateMachine" s.license = "MIT"