Skip to content

Instantly share code, notes, and snippets.

View pkananen's full-sized avatar

Peter Kananen pkananen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am pkananen on github.
  • I am pkananen (https://keybase.io/pkananen) on keybase.
  • I have a public key whose fingerprint is 2ACA 250B D977 6209 F226 C629 E023 801D 6FE5 EAC9

To claim this, I am signing this object:

Pod::Spec.new do |s|
s.name = "ShapeKit"
s.version = "0.0.1"
s.summary = "ShapeKit is a geometry library for iOS that aims to bridge GEOS with Apple's MapKit."
s.homepage = "https://github.com/mweisman/ShapeKit"
s.license = { :type => 'LGPL' }
s.author = { "Michael Weisman" => "mweisman@gmail.com" }
s.source = { :git => "https://github.com/pkananen/ShapeKit.git", :tag => "0.0.1" }
@pkananen
pkananen / AWSiOSSDK.podspec
Last active December 10, 2015 18:48
wrapping prefix_header_contents with a foundation import
Pod::Spec.new do |s|
s.name = 'AWSiOSSDK'
s.version = '1.4.4'
s.license = 'Apache 2.0'
s.summary = 'Amazon Web Services SDK for iOS.'
s.homepage = 'http://aws.amazon.com/sdkforios'
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :git => 'https://github.com/aws/aws-sdk-ios.git', :tag => '1.4.4' }
s.frameworks = 'foundation'
s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@pkananen
pkananen / set-interval-spec.js
Last active February 8, 2016 20:56
testing setInterval with Jasmine using a Mock Clock
describe('createIntervalCallback', function() {
var sut = $.clockTest;
it('calls setInterval with callback() at a delay of 7000 ms', function() {
spyOn(sut, 'callback');
jasmine.Clock.useMock();
sut.createIntervalCallback();
jasmine.Clock.tick(7000);