Skip to content

Commit

Permalink
Update podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Stromire committed Aug 31, 2017
1 parent 5016a96 commit bcded03
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 33 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2
39 changes: 9 additions & 30 deletions E3db.podspec
Original file line number Diff line number Diff line change
@@ -1,43 +1,22 @@
#
# Be sure to run `pod lib lint E3db.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
s.name = 'E3db'
s.version = '0.1.0'
s.summary = 'A short description of E3db.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.version = '1.0.0'
s.summary = 'Super Easy End-to-End Encryption'

s.description = <<-DESC
TODO: Add long description of the pod here.
Protect your users’ data at the code level.
From the very first line to your final release, Tozny's E3db makes
protecting your users’ sensitive data as easy as a few lines of code.
DESC

s.homepage = 'https://github.com/gstro/E3db'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.homepage = 'https://tozny.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'gstro' => 'gstromire@gmail.com' }
s.source = { :git => 'https://github.com/gstro/E3db.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.author = { 'Tozny' => 'info@tozny.com' }
s.source = { :git => 'https://github.com/tozny/e3db-swift.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/@tozny'

s.ios.deployment_target = '9.0'

s.source_files = 'E3db/Classes/**/*'

# s.resource_bundles = {
# 'E3db' => ['E3db/Assets/*.png']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'

s.dependency 'Swish', '~> 2.0'
s.dependency 'Curry', '~> 3.0'
Expand Down
6 changes: 3 additions & 3 deletions E3db/Classes/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ public final class Client {

// MARK: Key Generation

/// A data type holding the public and private keys as
/// A data type holding the public and private Curve25519 keys as
/// Base64URL encoded strings, used for encryption operations.
/// Only the `publicKey` is sent to the E3db service.
public struct KeyPair {

/// The public key from a generated keypair as a Base64URL encoded string.
/// The public Curve25519 key from a generated keypair as a Base64URL encoded string.
public let publicKey: String

/// The private key from a generated keypair as a Base64URL encoded string.
/// The private Curve25519 key from a generated keypair as a Base64URL encoded string.
public let secretKey: String
}

Expand Down

0 comments on commit bcded03

Please sign in to comment.