Creates a commit for each violation autofixed by rubocop. The result can be used to make a pull request for discussion purposes.
- Runs
rake spec
before commiting any violation. - Skips empty violations.
require 'octokit' | |
dry_run = false | |
token = '' | |
repo_slug = ARGV.first | |
unless repo_slug | |
puts "[!] A repo slug is required" | |
end |
$ rake spec --trace | |
** Invoke spec (first_time) | |
** Invoke spec:all (first_time) | |
** Invoke ext:cleanbuild (first_time) | |
** Invoke ext:clean (first_time) | |
** Execute ext:clean | |
cd ./external/Xcodeproj && rake ext:clean | |
[!] Install the required dependencies to generate documentation: $ bundle install | |
cd ext/xcodeproj && rm -f Makefile *.o *.bundle | |
** Invoke ext:build (first_time) |
require 'rubygems' | |
require 'cocoapods' | |
require 'rss/maker' | |
class CocoapodsRSS | |
include Pod::Command::SetPresent | |
def run | |
sets = sets_by_time[0..29] | |
puts "\nProcessing #{sets.count} pods" |
# | |
# Be sure to run `pod spec lint JBDeviceOwner.podspec' to ensure this is a | |
# valid spec. | |
# | |
# Remove all comments before submitting the spec. | |
# | |
Pod::Spec.new do |s| | |
# ――― REQUIRED VALUES ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
Pod::Spec.new do |s| | |
s.name = 'MKNetworkKit' | |
s.version = '0.83' | |
s.summary = 'Full ARC based Networking Kit for iOS 4+ devices.' | |
s.homepage = 'https://github.com/MugunthKumar/MKNetworkKit' | |
s.author = { 'MugunthKumar' => 'mknetworkkit@mk.sg' } | |
s.source = { :git => 'https://github.com/MugunthKumar/MKNetworkKit.git', :tag => 'v0.83' } | |
s.requires_arc = true | |
#s.prefix_header_contents = '#import "MKNetworkKit.h"' | |
s.header_mappings_dir = 'MKNetworkKit' |
#!/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: |
PODS: | |
- A2DynamicDelegate (2.0.1): | |
- libffi | |
- AFNetworking (1.0RC1) | |
- BlockAlertsAnd-ActionSheets (1.0.0) | |
- BlocksKit (1.5.1): | |
- A2DynamicDelegate | |
- DACircularProgress (2.0.0) | |
- DTCoreText (1.0.1) | |
- JMImageCache (0.2.1) |
# | |
# uncrustify config file for objective-c and objective-c++ | |
# | |
indent_with_tabs = 0 # 1=indent to level only, 2=indent with tabs | |
output_tab_size = 4 # new tab size | |
indent_columns = output_tab_size | |
indent_label = 2 # pos: absolute col, neg: relative column | |
indent_align_assign = FALSE |