Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
Use main
Browse files Browse the repository at this point in the history
  • Loading branch information
hkellaway committed Feb 8, 2021
1 parent 9e538fd commit a0d8834
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion GLOSS_CODABLE_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ struct RepoOwner: Codable {
}
```

And our need for snake-case is defined in just one place, instead of stringly-typed in each and every model. Talk about [lightweight](https://github.com/hkellaway/Gloss/blob/production/README_ARCHIVE.md#why-gloss)!
And our need for snake-case is defined in just one place, instead of stringly-typed in each and every model. Talk about [lightweight](https://github.com/hkellaway/Gloss/blob/main/README_ARCHIVE.md#why-gloss)!

Take the opportunity with this migration to pare your models down to the slim amount of code Codable needs to work its magic and detangle your networking code from the details of JSON serialization. Future you will be grateful! :crystal_ball:

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020 Harlan Kellaway
Copyright (c) 2021 Harlan Kellaway

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The existing Gloss source is not going away, however updates will only be made t
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-brightgreen.svg)](https://github.com/Carthage/Carthage)
[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)
[![CocoaPods](https://img.shields.io/cocoapods/p/Gloss.svg)](http://cocoapods.org/pods/Gloss)
[![Build Status](https://travis-ci.org/hkellaway/Gloss.svg?branch=production)](https://travis-ci.org/hkellaway/Gloss)
[![Build Status](https://travis-ci.org/hkellaway/Gloss.svg?branch=main)](https://travis-ci.org/hkellaway/Gloss)

See the [former README.md](README_ARCHIVE.md) on instructions for using Gloss pre-Codable migration.

Expand All @@ -25,9 +25,9 @@ Gloss was created by [Harlan Kellaway](http://hkellaway.github.io)

Thank you to all [contributors](https://github.com/hkellaway/Gloss/contributors) and the Swift community for 5 years of Gloss! :sparkling_heart:

### License [![License](https://img.shields.io/cocoapods/l/Gloss.svg)](https://raw.githubusercontent.com/hkellaway/Gloss/production/LICENSE)
### License [![License](https://img.shields.io/cocoapods/l/Gloss.svg)](https://raw.githubusercontent.com/hkellaway/Gloss/main/LICENSE)

See the [LICENSE](https://raw.githubusercontent.com/hkellaway/Gloss/production/LICENSE) file for more info.
See the [LICENSE](https://raw.githubusercontent.com/hkellaway/Gloss/main/LICENSE) file for more info.

## Codable Migration Quick Reference

Expand Down
8 changes: 4 additions & 4 deletions README_ARCHIVE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[![CocoaPods](https://img.shields.io/cocoapods/v/Gloss.svg)](http://cocoapods.org/pods/Gloss)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-brightgreen.svg)](https://github.com/Carthage/Carthage)
[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)
[![License](https://img.shields.io/cocoapods/l/Gloss.svg)](https://raw.githubusercontent.com/hkellaway/Gloss/production/LICENSE)
[![License](https://img.shields.io/cocoapods/l/Gloss.svg)](https://raw.githubusercontent.com/hkellaway/Gloss/main/LICENSE)
[![CocoaPods](https://img.shields.io/cocoapods/p/Gloss.svg)](http://cocoapods.org/pods/Gloss)
[![Build Status](https://travis-ci.org/hkellaway/Gloss.svg?branch=production)](https://travis-ci.org/hkellaway/Gloss)
[![Build Status](https://travis-ci.org/hkellaway/Gloss.svg?branch=main)](https://travis-ci.org/hkellaway/Gloss)

* Mapping JSON to objects
* Mapping objects to JSON
Expand Down Expand Up @@ -37,7 +37,7 @@ github "hkellaway/Gloss"

### Installation with Swift Package Manager

See [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app). Search for `Gloss` with *Owner* `hkellaway`. Point to the desired version or the `production` branch.
See [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app). Search for `Gloss` with *Owner* `hkellaway`. Point to the desired version or the `main` branch.

## Usage

Expand Down Expand Up @@ -563,4 +563,4 @@ Check out Gloss in these cool places!

## License

Gloss is available under the MIT license. See the [LICENSE](https://raw.githubusercontent.com/hkellaway/Gloss/production/LICENSE) file for more info.
Gloss is available under the MIT license. See the [LICENSE](https://raw.githubusercontent.com/hkellaway/Gloss/main/LICENSE) file for more info.

0 comments on commit a0d8834

Please sign in to comment.