Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
X140Yu committed Sep 14, 2018
1 parent 93633c4 commit 6e61e6c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@

# rspec failure tracking
.rspec_status

*.gem
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ PLATFORMS
DEPENDENCIES
bundler (~> 1.16)
cocoapods-dependency!
coveralls
coveralls (~> 0)
rake (~> 10.0)
rspec (~> 3.0)

BUNDLED WITH
1.16.1
1.16.4
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@

[![Build Status](https://travis-ci.org/X140Yu/cocoapods-dependency.svg?branch=master)](https://travis-ci.org/X140Yu/cocoapods-dependency)
[![Coverage Status](https://coveralls.io/repos/github/X140Yu/cocoapods-dependency/badge.svg?branch=master)](https://coveralls.io/github/X140Yu/cocoapods-dependency?branch=master)
[![Gem Version](https://badge.fury.io/rb/cocoapods-dependency.svg)](https://badge.fury.io/rb/cocoapods-dependency)


A ruby gem which analyzes the dependencies of any cocoapods projects. Subspecs are properly handled.
A CocoaPods plugin which analyzes the dependencies of any cocoapods projects. Subspecs are properly handled.

## [涓枃璇存槑](https://zhaoxinyu.me/2018-08-20-analyze-pods-dependecy/)

## Installation & Usage
## Installation

Clone this repo,
$ gem install cocoapods-dependency

And then execute:
## Usage

$ pod dependency

$ cd cocoapods-dependency
$ bundle
$ bin/analyze /path/to/podfile_dir

Note: the argument has to be a absolute path to the podfile directory.
The command should be executed in directory that contains podfile.

You will get a result like this,

Expand Down Expand Up @@ -49,8 +48,8 @@ It seems like this project has just a single dependency, but behind this pod, it

## TODO

- [X] Lift it to a cocoapods-plugin
- [ ] Pretty printed result
- [ ] Lift it to a cocoapods-plugin

## License

Expand Down
8 changes: 4 additions & 4 deletions cocoapods-dependency.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
spec.authors = ['Xinyu Zhao']
spec.email = ['zhaoxinyu1994@gmail.com']

spec.summary = 'Analyze cocoapods dependencies'
spec.description = 'Analyze cocoapods dependenciesssss'
spec.homepage = 'https://zhaoxinyu.me'
spec.summary = 'Analyzes the dependencies of any cocoapods projects.'
spec.description = 'Analyzes the dependencies of any cocoapods projects. Subspecs are properly handled.'
spec.homepage = 'https://github.com/X140Yu/cocoapods-dependency'
spec.license = 'MIT'

spec.files = `git ls-files -z`.split("\x0").reject do |f|
Expand All @@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

spec.add_development_dependency 'bundler', '~> 1.16'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'coveralls', '~> 0'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'

Expand Down

0 comments on commit 6e61e6c

Please sign in to comment.