Skip to content

Instantly share code, notes, and snippets.

@fabiopelosin
fabiopelosin / Post.md
Last active December 17, 2015 09:08
CocoaPods communication.

CocoaPods: YAML Specifications

Since version 0.17 CocoaPods support the YAML format for specifications. The YAML format is similar to the Ruby DSL with some minor adaptations.

To convert the Master repo we need your help to ensure that the transition is smooth. Please follow the below presented steps to help us identify any issue.

Testing

@fabiopelosin
fabiopelosin / CocoaPodsBot.rb
Created December 2, 2013 22:14
Experimental CocoaPodsBot
#!/usr/bin/env ruby
# Experimental CocoaPodsBot
#
# Synopsis:
#
# The CocoaPodsBot performs a full lint (including xcodebuild) and prints a
# markdown message with the result of the lint.
#
# Usage:

Rubocop Preview

Creates a commit for each violation autofixed by rubocop. The result can be used to make a pull request for discussion purposes.

Features

  • Runs rake spec before commiting any violation.
  • Skips empty violations.
@fabiopelosin
fabiopelosin / cocoapods-github-labels.rb
Created April 15, 2014 10:13
Script to update the labels of a repo to the CocoaPods style
require 'octokit'
dry_run = false
token = ''
repo_slug = ARGV.first
unless repo_slug
puts "[!] A repo slug is required"
end