Skip to content

Commit

Permalink
Merge pull request #22 from aporat/master_base
Browse files Browse the repository at this point in the history
updated podspec to swift 3.0
  • Loading branch information
coneybeare committed Oct 17, 2016
2 parents fd23894 + a43f338 commit 4ab8e60
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 253 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0
120 changes: 0 additions & 120 deletions UAObfuscatedString.h

This file was deleted.

122 changes: 0 additions & 122 deletions UAObfuscatedString.m

This file was deleted.

13 changes: 7 additions & 6 deletions UAObfuscatedString.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
Pod::Spec.new do |s|
s.name = "UAObfuscatedString"
s.version = "0.3.2"
s.summary = "A simple NSMutableString subclass to hide sensitive strings from appearing in your binary"
s.version = "0.4.0"
s.summary = "A simple String Swift extension to hide sensitive strings from appearing in your binary"
s.description = <<-DESC
UAObfuscatedString is a simple and lightweight subclass of NSMutableString that allows you to prevent sensitive strings from appearing in the binary. Without some sort of obfuscation, strings like backend API methods and urls, API keys and other sensitive data can be read by utilizing various tools such as strings.
UAObfuscatedString is a simple and lightweight Swift String extension that allows you to prevent sensitive strings from appearing in the binary. Without some sort of obfuscation, strings like backend API methods and urls, API keys and other sensitive data can be read by utilizing various tools such as strings.
DESC
s.homepage = "https://github.com/UrbanApps/UAObfuscatedString"
s.license = 'MIT'
s.author = { "Matt Coneybeare" => "coneybeare@urbanapps.com" }
s.source = { :git => "#{s.homepage}.git", :tag => s.version.to_s }
s.source_files = "UAObfuscatedString.[h|m]"
s.requires_arc = true # https://github.com/CocoaPods/CocoaPods/issues/2712
end
s.source_files = "UAObfuscatedString.swift"
s.ios.deployment_target = "8.0"
s.requires_arc = true
end
10 changes: 5 additions & 5 deletions UAObfuscatedString.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

// MARK: - a-z -
extension String {
public extension String {
var a : String { get { return self + "a" } }
var b : String { get { return self + "b" } }
var c : String { get { return self + "c" } }
Expand Down Expand Up @@ -36,7 +36,7 @@ extension String {
}

// MARK: - A-Z -
extension String {
public extension String {
var A : String { get { return self + "A" } }
var B : String { get { return self + "B" } }
var C : String { get { return self + "C" } }
Expand Down Expand Up @@ -66,7 +66,7 @@ extension String {
}

// MARK: - Numbers -
extension String {
public extension String {
var _1 : String { get { return self + "1" } }
var _2 : String { get { return self + "2" } }
var _3 : String { get { return self + "3" } }
Expand All @@ -81,7 +81,7 @@ extension String {
}

// MARK: - Punctuation -
extension String {
public extension String {
var space : String { get { return self + " " } }
var point : String { get { return self + "." } }
var dash : String { get { return self + "-" } }
Expand Down Expand Up @@ -116,7 +116,7 @@ extension String {
}

// MARK: - Aliases -
extension String {
public extension String {
var dot : String { get { return point } }
}

0 comments on commit 4ab8e60

Please sign in to comment.