forked from tmspzz/Tyro
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from netbe/feature/swift3
Swift 3 support
- Loading branch information
Showing
7 changed files
with
21 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
language: objective-c | ||
osx_image: xcode8.0 | ||
osx_image: xcode8.2 | ||
git: | ||
submodules: false | ||
before_install: | ||
- git submodule update --init --recursive | ||
install: true | ||
script: | ||
- pod lib lint | ||
# TODO: reenable when https://github.com/OpenShelter/Tyro/issues/2 solved | ||
# - pod lib lint | ||
- set -o pipefail | ||
- xcodebuild test -scheme Tyro -configuration Debug | xcpretty -c | ||
- xcodebuild test -scheme Tyro-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6s" | xcpretty -c | ||
- xcodebuild test -scheme Tyro-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' | xcpretty -c | ||
- xcodebuild build -scheme Tyro-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch - 42mm' | xcpretty -c | ||
notifications: | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/1d781e1bcbabade5de35 | ||
on_success: always | ||
on_failure: always | ||
on_start: always | ||
# deploy: | ||
# provider: script | ||
# script: ./scripts/push.sh | ||
# on: | ||
# tags: true |
Submodule SwiftCheck
updated
25 files
+6 −5 | .travis.yml | |
+10 −11 | README.md | |
+1 −1 | Sources/Arbitrary.swift | |
+1 −1 | Sources/CoArbitrary.swift | |
+10 −10 | Sources/Gen.swift | |
+1 −6 | Sources/Lattice.swift | |
+5 −30 | Sources/Modifiers.swift | |
+8 −17 | Sources/Random.swift | |
+13 −13 | Sources/Rose.swift | |
+6 −8 | Sources/Testable.swift | |
+0 −11 | SwiftCheck.xcodeproj/project.pbxproj | |
+37 −59 | Tests/SwiftCheckTests/BooleanIdentitySpec.swift | |
+41 −48 | Tests/SwiftCheckTests/ComplexSpec.swift | |
+11 −16 | Tests/SwiftCheckTests/DiscardSpec.swift | |
+0 −1,214 | Tests/SwiftCheckTests/FileCheck.swift | |
+8 −13 | Tests/SwiftCheckTests/FormatterSpec.swift | |
+251 −359 | Tests/SwiftCheckTests/GenSpec.swift | |
+1 −1 | Tests/SwiftCheckTests/LambdaSpec.swift | |
+38 −62 | Tests/SwiftCheckTests/ModifierSpec.swift | |
+4 −4 | Tests/SwiftCheckTests/PathSpec.swift | |
+107 −157 | Tests/SwiftCheckTests/PropertySpec.swift | |
+19 −33 | Tests/SwiftCheckTests/ShrinkSpec.swift | |
+60 −84 | Tests/SwiftCheckTests/SimpleSpec.swift | |
+35 −55 | Tests/SwiftCheckTests/TestSpec.swift | |
+3 −3 | Tutorial.playground/Contents.swift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Tyro | ||
====== | ||
|
||
Tyro used to be a Swift library for Functional JSON parsing and encoding. It is | ||
now **deprecated**. Please use your favorite extension of `Dictionary` instead. | ||
Tyro is a Swift library for Functional JSON parsing and encoding. It is now supported on this repo for swift 3 but used | ||
to be maintained by [typelift](https://github.com/typelift/tyro). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "Tyro" | ||
s.version = "0.0.8" | ||
s.version = "0.1.0" | ||
s.summary = "Functional JSON parsing and encoding." | ||
s.homepage = "https://github.com/typelift/Tyro" | ||
s.homepage = "https://github.com/OpenShelter/Tyro" | ||
s.license = { :type => "BSD" } | ||
s.authors = { "CodaFi" => "[email protected]", "pthariensflame" => "[email protected]", "mpurland" => "[email protected]" } | ||
|
||
|
@@ -11,7 +11,7 @@ Pod::Spec.new do |s| | |
s.ios.deployment_target = "8.0" | ||
s.tvos.deployment_target = "9.1" | ||
s.watchos.deployment_target = "2.1" | ||
s.source = { :git => "https://github.com/typelift/Tyro.git", :tag => "v#{s.version}", :submodules => true } | ||
s.source = { :git => "https://github.com/OpenShelter/Tyro.git", :tag => "v#{s.version}", :submodules => true } | ||
s.source_files = "Tyro/*.swift" | ||
s.dependency "Swiftz" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,8 +63,6 @@ extension JSONValue : Arbitrary { | |
return Gen.pure(JSONValue.Null) | ||
} | ||
} | ||
|
||
fatalError() | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
source ~/.rvm/scripts/rvm | ||
rvm use default | ||
pod trunk push |