Skip to content

Commit 14ac48e

Browse files
committed
Rename repo
1 parent e555e60 commit 14ac48e

File tree

2 files changed

+32
-28
lines changed

2 files changed

+32
-28
lines changed

EntropyString.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = "EntropyString"
5-
s.version = "0.2.0"
5+
s.version = "0.3.0"
66
s.summary = "Efficiently generate secure strings of specified entropy from various character sets"
77

88
# This description is used to generate tags and improve search results.
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414
Efficiently generate secure strings of specified entropy from various character sets for use when probabilisticly unique string identifiers are needed. Entropy is specified by total number of strings and acceptable risk of a repeat.
1515
DESC
1616

17-
s.homepage = "https://github.com/#{s.name}/Swift"
17+
s.homepage = "https://github.com/#{s.name}/#{s.name}-Swift"
1818
s.license = { :type => "MIT", :file => "LICENSE" }
1919
s.authors = { "Paul Rogers" => "paul@knoxen.com", "dingo sky" => "paul@dingosky.com" }
2020
# s.authors = { "dingo sky" => "paul@dingosky.com" }
@@ -42,7 +42,7 @@ Efficiently generate secure strings of specified entropy from various character
4242
# Supports git, hg, bzr, svn and HTTP.
4343
#
4444

45-
s.source = { :git => "https://github.com/EntropyString/Swift.git", :tag => "#{s.version}" }
45+
s.source = { :git => "https://github.com/EntropyString/EntropyString-Swift.git", :tag => "#{s.version}" }
4646

4747
s.source_files = "Sources/**/*.swift"
4848
# s.public_header_files = "#{s.name}/{s.name}.h"

README.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
## EntropyString for Swift
12

23
<p align="center">
34
<a href="https://github.com/Carthage/Carthage"><img
45
src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat"
56
alt="Carthage"></a>
7+
<a href="https://cocoapods.org/pods/EntropyString"><img src="https://img.shields.io/cocoapods/v/EntropyString.svg" alt="CocoaPods - EntropyString"></a>
68
</p>
79

810
EntropyString provides easy creation of randomly generated strings of specific entropy using various character sets.
@@ -28,38 +30,14 @@ EntropyString provides easy creation of randomly generated strings of specific e
2830

2931
## <a name="Installation"></a>Installation
3032

31-
### Swift Package Manager
32-
33-
The [Swift Package Manager](https://swift.org/package-manager/) is a decentralized dependency manager for Swift.
34-
35-
1. Add the project to your `Package.swift`.
36-
37-
```swift
38-
import PackageDescription
39-
40-
let package = Package(
41-
name: "YourProject",
42-
dependencies: [
43-
.Package(url: "https://github.com/EntropyString/Swift.git",
44-
majorVersion: 1)
45-
]
46-
)
47-
```
48-
49-
2. Import module EntropyString
50-
51-
```swift
52-
import EntropyString
53-
```
54-
5533
### Carthage
5634

5735
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager for Objective-C and Swift.
5836

5937
1. Add the project to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile).
6038

6139
```
62-
github "EntropyString/Swift.git"
40+
github "EntropyString/EntropyString-Swift.git"
6341
```
6442
6543
2. Run `carthage update` and follow the [Carthage getting started steps](https://github.com/Carthage/Carthage#getting-started).
@@ -90,6 +68,32 @@ The [Swift Package Manager](https://swift.org/package-manager/) is a decentraliz
9068
import EntropyString
9169
```
9270
71+
### Swift Package Manager
72+
73+
##### CxNote: Linux not yet supported until random byte generation issue resolved.
74+
75+
The [Swift Package Manager](https://swift.org/package-manager/) is a decentralized dependency manager for Swift.
76+
77+
1. Add the project to your `Package.swift`.
78+
79+
```swift
80+
import PackageDescription
81+
82+
let package = Package(
83+
name: "YourProject",
84+
dependencies: [
85+
.Package(url: "https://github.com/EntropyString/EntropyString-Swift.git",
86+
majorVersion: 1)
87+
]
88+
)
89+
```
90+
91+
2. Import module EntropyString
92+
93+
```swift
94+
import EntropyString
95+
```
96+
9397
[TOC](#TOC)
9498
9599
## <a name="BasicUsage"></a>Basic Usage

0 commit comments

Comments
 (0)