Skip to content

Commit

Permalink
bump: Version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoCardoso committed Jan 6, 2018
1 parent 2686a05 commit d9bc145
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 14 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change Log

#### 2.x Releases
- `2.2.x` Releases - [2.2.0](#220)
- `2.1.x` Releases - [2.1.0](#210)
- `2.0.x` Releases - [2.0.0](#200) | [2.0.1](#201) | [2.0.2](#202) | [2.0.3](#203) | [2.0.4](#204) | [2.0.5](#205) | [2.0.6](#206) | [2.0.7](#207)

Expand All @@ -13,6 +14,18 @@

---

## [2.2.0](https://github.com/LeonardoCardoso/Swift-Link-Preview/releases/tag/2.2.0)
Released on 2018-01-06.

#### Changed

- Improved scraping
- Improved error logging
- Retry as GET if HEAD is redirected
- String charset set to UTF16
- No force wrapping
- Changed by [Leonardo Cardoso](https://github.com/LeonardoCardoso).

## [2.1.0](https://github.com/LeonardoCardoso/Swift-Link-Preview/releases/tag/2.1.0)
Released on 2017-11-09.

Expand Down
2 changes: 1 addition & 1 deletion Example/SwiftLinkPreviewExample/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
> It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
[![Platform](https://img.shields.io/badge/platform-iOS%20|%20macOS%20|%20watchOS%20|%20tvOS-orange.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#requirements-and-details)
[![CocoaPods](https://img.shields.io/badge/pod-v2.1.0-red.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#cocoapods)
[![CocoaPods](https://img.shields.io/badge/pod-v2.2.0-red.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#cocoapods)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#carthage)
[![Swift Package Manager](https://img.shields.io/badge/SPM-compatible-orange.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#swift-package-manager)
[![Build Status](https://travis-ci.org/LeonardoCardoso/SwiftLinkPreview.svg?branch=master)](https://travis-ci.org/LeonardoCardoso/SwiftLinkPreview)
Expand Down Expand Up @@ -59,7 +59,7 @@ To use **SwiftLinkPreview** as a pod package just add the following in your **Po
target 'Your Target Name' do
use_frameworks!
// ...
pod 'SwiftLinkPreview', '~> 2.1.0'
pod 'SwiftLinkPreview', '~> 2.2.0'
// ...
end
```
Expand All @@ -70,7 +70,7 @@ To use **SwiftLinkPreview** as a Carthage module package just add the following

```ruby
// ...
github "LeonardoCardoso/SwiftLinkPreview" ~> 2.1.0
github "LeonardoCardoso/SwiftLinkPreview" ~> 2.2.0
// ...
```

Expand All @@ -85,7 +85,7 @@ let package = Package(
name: "Your Target Name",
dependencies: [
// ...
.Package(url: "https://github.com/LeonardoCardoso/SwiftLinkPreview.git", "2.1.0")
.Package(url: "https://github.com/LeonardoCardoso/SwiftLinkPreview.git", "2.2.0")
// ...
]
)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info-macOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info-tvOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info-watchOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion SwiftLinkPreview.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Pod::Spec.new do |s|
s.name = "SwiftLinkPreview"
s.summary = "It makes a preview from an url, grabbing all the information such as title, relevant texts and images."
s.requires_arc = true
s.version = "2.1.0"
s.version = "2.2.0"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Leonardo Cardoso" => "[email protected]" }
s.homepage = "https://github.com/LeonardoCardoso/SwiftLinkPreview"
Expand Down
2 changes: 1 addition & 1 deletion SwiftLinkPreviewTests/Info-macOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion SwiftLinkPreviewTests/Info-tvOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion SwiftLinkPreviewTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion update-version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
grep -rl '2\.0\.7' . --exclude-dir={"Build","libs","Pods",".git"} --exclude={"Podfile.lock","CHANGELOG.md","update-version.sh"} | xargs sed -i.bak 's/2\.0\.7/2\.1\.0/g';
grep -rl '2\.1\.0' . --exclude-dir={"Build","libs","Pods",".git"} --exclude={"Podfile.lock","CHANGELOG.md","update-version.sh"} | xargs sed -i.bak 's/2\.1\.0/2\.2\.0/g';

find . -type f -name '*.bak' -delete

0 comments on commit d9bc145

Please sign in to comment.