Commit Graph

643 Commits

Author SHA1 Message Date
JP Simard 44a6a3b078
Hardcode absolute URL for yams.jpg 2018-05-09 19:56:18 -07:00
JP Simard 9d8a174ec5
Update CocoaPods to 1.5.2 & jazzy to 0.9.3 2018-05-09 16:35:52 -07:00
JP Simard 0d3f24226e
Make Emitter.data publicly readable 2018-05-09 16:34:56 -07:00
JP Simard f540796d72
Remove extra word 2018-05-09 16:33:34 -07:00
JP Simard ebf789366c
Add docstrings for sortKeys 2018-05-09 16:32:35 -07:00
Norio Nomura 3473ce2170
Merge pull request #123 from jpsim/use-additional-import-instead-of-defining-constants
Use additional import instead of defining constants on Linux
2018-05-08 08:19:40 +09:00
Norio Nomura 9eaf812eca
Use `import CoreFoundation` instead of defining `DBL_DECIMAL_DIG` on Linux 2018-05-07 10:21:22 +09:00
Norio Nomura 8e229f12f3
Use `import CDispatch` instead of defining `NSEC_PER_SEC` on `!_runtime(_ObjC)` 2018-05-07 08:33:14 +09:00
JP Simard 47220b97ac
Add jazzy job to CircleCI 2018-05-06 12:46:43 -07:00
JP Simard ac1626fce0
Add jazzy to Gemfile 2018-05-06 11:26:49 -07:00
JP Simard f761dda3ef
Add docstrings to Resolver.swift 2018-05-06 11:14:26 -07:00
JP Simard 9bbd3a2c40
Add docstrings to Node.Sequence.swift 2018-05-06 11:07:16 -07:00
JP Simard 3708bcb0a4
Add docstrings for Node.Scalar.swift 2018-05-06 11:03:55 -07:00
JP Simard faa2541f53
Fix SwiftLint violation 2018-04-29 17:43:46 -07:00
JP Simard 35ca190308
More docstrings for Node.swift & Node.Mapping.swift 2018-04-29 17:38:54 -07:00
JP Simard e598f5c853
Allow nesting types 2 levels & add docstrings to Node.Mapping.swift 2018-04-29 17:22:50 -07:00
JP Simard 96a117eab2
Add doscstrings to Tag.swift 2018-04-29 17:18:41 -07:00
JP Simard ce43d9faad
Add docstrings to Parser.swift 2018-04-29 17:11:56 -07:00
JP Simard 42b94088a0
Add docstrings to Constructor.swift 2018-04-29 17:00:56 -07:00
JP Simard 2f3fe06fff
Add docstrings to Representer.swift 2018-04-29 16:49:40 -07:00
JP Simard 4c0ec3aa20
Fix typos 2018-04-29 16:43:32 -07:00
JP Simard b15f1bd0b9
Add docstrings to YamlError.swift 2018-04-29 16:40:20 -07:00
JP Simard 05fc492d44
Add docstrings to Node.swift 2018-04-29 16:37:33 -07:00
JP Simard cdea3d3d4b
Tweak docstrings in Mark.swift 2018-04-29 16:16:16 -07:00
JP Simard c971f1fb68
Add docstrings to Encoder.swift 2018-04-29 16:12:59 -07:00
JP Simard 50420f0a87
Adjust indentation in YamlError.swift 2018-04-29 16:03:38 -07:00
JP Simard de565215f4
Adjust indentation in Representer.swift 2018-04-29 16:02:54 -07:00
JP Simard d9416f03f8
Adjust indentation in Parser.swift 2018-04-29 16:02:27 -07:00
JP Simard 5f1f10fb52
Adjust indentation in Tag.swift 2018-04-29 16:01:27 -07:00
JP Simard eb4bb2a945
Adjust indentation in shim.swift 2018-04-29 16:01:01 -07:00
JP Simard 454544bd15
Add docstrings to Emitter.swift 2018-04-29 15:58:31 -07:00
JP Simard f851400e15
Add dosctrings to Emitter.swift 2018-04-29 15:42:59 -07:00
JP Simard 96ae475f29
Add docstrings to Decoder.swift 2018-04-29 15:14:12 -07:00
JP Simard 4f50d2101e
Add docstrings to Constructor.swift 2018-04-29 15:02:45 -07:00
JP Simard 997e8de884
Add basic Docs.md 2018-04-29 14:33:24 -07:00
JP Simard d8ed52cff5
Basic API doc generation 2018-04-29 14:33:24 -07:00
Norio Nomura 18d23ab535
Merge pull request #120 from jpsim/nn-remove-caching-cocoapods-from-circleci
Remove caching `~/.cocoapods` from CircleCI
2018-04-09 13:38:34 +09:00
Norio Nomura 0c58de53ba
Remove caching `~/.cocoapods` from CircleCI
Since `Yams.podspec` has no dependency, updating repo won't happen on `pod lib lint`.
2018-04-09 12:48:10 +09:00
Norio Nomura 6b86ac841b
Merge pull request #119 from jpsim/nn-use-swiftlint-on-swift-4.1-for-linux
Use norionomura/swiftlint:swift-4.1 in linux_swift_4.1 job on CircleCI
2018-04-09 12:26:27 +09:00
Norio Nomura 3dfecd8f63
Use norionomura/swiftlint:swift-4.1 in linux_swift_4.1 job on CircleCI 2018-04-09 11:32:35 +09:00
JP Simard 1f82c01c1a
Check in IDEWorkspaceChecks.plist
which is automatically created when opening the project with Xcode 9.3
2018-04-02 08:11:55 -07:00
Norio Nomura b0a7f7c945
Merge pull request #113 from jpsim/nn-refactor-constructor
Refactor Constructor
2018-04-02 18:12:56 +09:00
Norio Nomura 6c0443e46e
Merge pull request #114 from jpsim/nn-simplify-yamlencoder
Simplify `YAMLEncoder` by replacing methods required by protocol with generic methods
2018-04-02 18:12:12 +09:00
Norio Nomura ce04cd33a1
Use identifier in nanosecond calculation instead of `$0` 2018-04-02 09:21:30 +09:00
Norio Nomura f56723d392
Change `substring(from:)` to return `SubSequence` 2018-04-02 08:28:58 +09:00
Norio Nomura a9b24df987
Merge pull request #115 from jpsim/nn-simplify-yaml-decoder
Simplify `YAMLDecoder`
2018-04-02 07:59:28 +09:00
Norio Nomura 87dc4c4bb8
Add an entry to changelog 2018-04-01 15:26:23 +09:00
Norio Nomura 18e173301d
Simplify `YAMLEncoder`
- Rename `ScalarRepresentableCustomizedForCodable` to `YAMLEncodable`
- Replace methods required by protocol with generic methods
2018-04-01 09:07:47 +09:00
Norio Nomura 3041d16db2
Add overload method to `ScalarRepresentable` that returns `Node.Scalar` 2018-04-01 09:07:46 +09:00
Norio Nomura 064c2eee2f
Change from String manipulation to Int manipulation in nanosecond calculation
This improves performance.
`repeatElement(10, count: 9 - length).reduce($0, *)` is also faster than `$0 * Int(pow(10, Double(9 - length))`.
2018-04-01 09:04:49 +09:00