This library collect outdated libraries for each platforms. Here is example how to use this library. And this travis project is just sample how to run this and the output.
- Java
- Gradle
- iOS
- CocoaPods
- Carthage
- Ruby
- Bundler
- Elixir
- Hex
- JavaScript
- npm
Add this line to your application's Gemfile:
gem 'anticuado'
And then execute:
$ bundle
Or install it yourself as:
$ gem install anticuado
This library's results are like the following format:
[
{
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"
}
]
- install
cocoadpos
. Read official document. - Run as the following script.
require "anticuado"
cocoadpos = ::Anticuado::IOS::CocoaPods.new "path/to/project"
outdated = cocoadpos.outdated
cocoadpos.format outdated
- install
carthage
. Read official document. - Run as the following script.
require "anticuado"
carthage = ::Anticuado::IOS::Carthage.new "path/to/project"
outdated = carthage.outdated
carthage.format outdated
This library require the following plugin to collect library versions. https://github.com/ben-manes/gradle-versions-plugin
- install
gradle
or set gradle wrapper,gradlew
. Read official document. - Run as the following script.
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
- install
mix
. Read official document. - Run as the following script.
require "anticuado"
hex = ::Anticuado::Elixir::Hex.new "path/to/project"
outdated = hex.outdated
hex.format outdated
- install
bundler
. Read official document. - Run as the following script.
require "anticuado"
bundler = ::Anticuado::Ruby::Bundler.new "path/to/project"
outdated = bundler.outdated
bundler.format outdated
- Create a PR automatically to update libraries
- See test/anticuado/git_test.rb
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 code of conduct.
The gem is available as open source under the terms of the MIT License.