Project

anticuado

0.0
No commit activity in last 3 years
No release in over 3 years
Collect and arrange some outdated libraries for several platforms
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.12
~> 5.0
>= 0
~> 12.3

Runtime

>= 1.3, < 1.7
>= 4.8, < 4.17
 Project Readme

Anticuado

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.

Support

  • Java
    • Gradle
  • iOS
    • CocoaPods
    • Carthage
  • Ruby
    • Bundler
  • Elixir
    • Hex
  • JavaScript
    • npm

Installation

Add this line to your application's Gemfile:

gem 'anticuado'

And then execute:

$ bundle

Or install it yourself as:

$ gem install anticuado

Usage

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"
  }
]

iOS

CocoaPods

  1. install cocoadpos. Read official document.
  2. Run as the following script.
require "anticuado"

cocoadpos = ::Anticuado::IOS::CocoaPods.new "path/to/project"
outdated = cocoadpos.outdated 
cocoadpos.format outdated

Carthage

  1. install carthage. Read official document.
  2. Run as the following script.
require "anticuado"

carthage = ::Anticuado::IOS::Carthage.new "path/to/project"
outdated = carthage.outdated
carthage.format outdated

Android

Gradle

This library require the following plugin to collect library versions. https://github.com/ben-manes/gradle-versions-plugin

  1. install gradle or set gradle wrapper, gradlew. Read official document.
  2. 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

Elixir

Hex

  1. install mix. Read official document.
  2. Run as the following script.
require "anticuado"

hex = ::Anticuado::Elixir::Hex.new "path/to/project"
outdated = hex.outdated 
hex.format outdated

Ruby

Bundler

  1. install bundler. Read official document.
  2. Run as the following script.
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 code of conduct.

License

The gem is available as open source under the terms of the MIT License.