Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kazucocoa/anticuado
Collect and arrange outdated libraries for various platforms such as Ruby/iOS/Android/Elixir
https://github.com/kazucocoa/anticuado
android cocoapods elixir gradle ios outdated-libraries ruby
Last synced: 3 months ago
JSON representation
Collect and arrange outdated libraries for various platforms such as Ruby/iOS/Android/Elixir
- Host: GitHub
- URL: https://github.com/kazucocoa/anticuado
- Owner: KazuCocoa
- License: mit
- Created: 2016-09-28T15:10:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-01T14:43:08.000Z (over 4 years ago)
- Last Synced: 2024-10-09T08:08:46.589Z (4 months ago)
- Topics: android, cocoapods, elixir, gradle, ios, outdated-libraries, ruby
- Language: Ruby
- Homepage:
- Size: 106 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Anticuado
This library collect __outdated__ libraries for each platforms. [Here](https://github.com/KazuCocoa/anticuado-example) is example how to use this library.
And [this travis project](https://travis-ci.org/KazuCocoa/anticuado-example) is just sample how to run this and the output.## Support
- Java
- Gradle
- iOS
- CocoaPods
- Carthage
- Ruby
- Bundler
- Elixir
- Hex
- JavaScript
- npm## Installation
Add this line to your application's Gemfile:
```ruby
gem 'anticuado'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install anticuado
## Usage
This library's results are like the following format:
```ruby
[
{
library_name: "AFNetworking",
current_version: "2.5.0",
available_version: "3.1.0",
latest_version: "3.1.0"
},
{
library_name: "OHHTTPStubs",
current_version: "4.1.0",
available_version: "5.0.0",
latest_version: "5.0.0"
}
]
```### iOS
#### CocoaPods
1. install `cocoadpos`. Read [official document](https://cocoapods.org/).
2. Run as the following script.```ruby
require "anticuado"cocoadpos = ::Anticuado::IOS::CocoaPods.new "path/to/project"
outdated = cocoadpos.outdated
cocoadpos.format outdated
```#### Carthage
1. install `carthage`. Read [official document](https://github.com/Carthage/Carthage).
2. Run as the following script.```ruby
require "anticuado"carthage = ::Anticuado::IOS::Carthage.new "path/to/project"
outdated = carthage.outdated
carthage.format outdated
```### Android
#### GradleThis library require the following plugin to collect library versions.
https://github.com/ben-manes/gradle-versions-plugin1. install `gradle` or set gradle wrapper, `gradlew`. Read [official document](https://gradle.org/).
2. Run as the following script.```ruby
require "anticuado"gradle = ::Anticuado::Java::Gradle.new "path/to/project"
gradle.outdated # Writes the result to "build/dependencyUpdates" by defaylt
outdated = gradle.parse_json "build/dependencyUpdates"
gradle.format outdated
```### Elixir
#### Hex
1. install `mix`. Read [official document](http://elixir-lang.org/install.html).
2. Run as the following script.```ruby
require "anticuado"hex = ::Anticuado::Elixir::Hex.new "path/to/project"
outdated = hex.outdated
hex.format outdated
```### Ruby
#### Bundler
1. install `bundler`. Read [official document](http://bundler.io/).
2. Run as the following script.```ruby
require "anticuado"bundler = ::Anticuado::Ruby::Bundler.new "path/to/project"
outdated = bundler.outdated
bundler.format outdated
```## In advance
- Create a PR automatically to update libraries
- See test/anticuado/git_test.rb## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Kazu_cocoa/anticuado. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).