Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update my libraries #953

Merged
merged 2 commits into from Dec 31, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions SSPullToRefresh/1.0.2/SSPullToRefresh.podspec
@@ -0,0 +1,16 @@
Pod::Spec.new do |s|
s.name = 'SSPullToRefresh'
s.version = '1.0.2'
s.summary = 'Simple and highly customizable pull to refresh view.'
s.homepage = 'https://github.com/samsoffes/sspulltorefresh'
s.author = { 'Sam Soffes' => 'sam@soff.es' }
s.source = { :git => 'https://github.com/soffes/sspulltorefresh.git', :tag => '1.0.2' }
s.license = {
:type => 'MIT',
:file => 'LICENSE'
}
s.source_files = '*.{h,m}'
s.description = 'SSPullToRefresh is a simple andhighly customizable pull to refresh view. It lets you implement a content view separate so you don\'t have to hack up the pulling logic everything you want to customize the appearance.'
s.platform = :ios
s.requires_arc = true
end
33 changes: 22 additions & 11 deletions SSToolkit/1.0.2/SSToolkit.podspec
@@ -1,23 +1,34 @@
Pod::Spec.new do |s|
s.name = 'SSToolkit'
s.version = '1.0.2'
s.platform = :ios
s.summary = 'A collection of well-documented iOS classes for making life easier.'
s.homepage = 'http://sstoolk.it'
s.author = { 'Sam Soffes' => 'sam@samsoff.es' }
s.license = 'MIT'
s.source = { :git => 'https://github.com/fictorial/sstoolkit.git', :tag => '1.0.2' }

s.name = 'SSToolkit'
s.version = '1.0.2'
s.platform = :ios
s.summary = 'A collection of well-documented iOS classes for making life easier.'
s.homepage = 'http://sstoolk.it'
s.author = { 'Sam Soffes' => 'sam@soff.es' }
s.source = { :git => 'https://github.com/soffes/sstoolkit.git', :tag => '1.0.2' }
s.description = 'SSToolkit is a collection of well-documented iOS classes for making life ' \
'easier by solving common problems all iOS developers face. Some really ' \
'handy classes are SSCollectionView, SSGradientView, SSSwitch, and many more.'

s.resources = 'Assets'
s.source_files = 'SSToolkit/**/*.{h,m}'
s.frameworks = 'QuartzCore', 'CoreGraphics'
s.requires_arc = true
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.preserve_paths = 'SSToolkit.xcodeproj', 'Resources'

def s.post_install(target)
puts "\nGenerating SSToolkit resources bundle\n".yellow if config.verbose?
Dir.chdir File.join(config.project_pods_root, 'SSToolkit') do
command = "xcodebuild -project SSToolkit.xcodeproj -target SSToolkitResources CONFIGURATION_BUILD_DIR=../Resources"
command << " 2>&1 > /dev/null" unless config.verbose?
unless system(command)
raise ::Pod::Informative, "Failed to generate SSToolkit resources bundle"
end

File.open(File.join(config.project_pods_root, target.target_definition.copy_resources_script_name), 'a') do |file|
file.puts "install_resource 'Resources/SSToolkitResources.bundle'"
end
end

prefix_header = config.project_pods_root + target.prefix_header_filename
prefix_header.open('a') do |file|
file.puts(%{#ifdef __OBJC__\n#import "SSToolkitDefines.h"\n#endif})
Expand Down