Created
May 29, 2018 14:27
-
-
Save ilovezfs/84f7b86d20c4ea1b238ffe459bd65ce5 to your computer and use it in GitHub Desktop.
requirement to dep chart for ruby and perl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
depends_on :ruby => "2.3" | |
depends_on :ruby => "2.2" | |
depends_on :ruby => "2.1" | |
``` | |
into | |
``` | |
depends_on "ruby" if MacOS.version <= :sierra | |
``` | |
``` | |
depends_on :ruby => "2.0" | |
depends_on :ruby => "1.9" | |
``` | |
into | |
``` | |
depends_on "ruby" if MacOS.version <= :mountain_lion | |
``` | |
``` | |
depends_on :ruby => "1.8" | |
``` | |
into | |
nothing (since even Tiger had 1.8) | |
@commitay do you want to handle the `:perl` ones too? | |
OS X 10.6 had 5.10 | |
OS X 10.8, OS X 10.7 had 5.12.4 | |
OS X 10.9 had 5.16.2 | |
OS X 10.10, OS X 10.11, macOS 10.12, macOS 10.13 have 5.18.2 | |
``` | |
5.26 => depends_on "perl" | |
5.25 => depends_on "perl" | |
5.24 => depends_on "perl" | |
5.23 => depends_on "perl" | |
5.22 => depends_on "perl" | |
5.21 => depends_on "perl" | |
5.20 => depends_on "perl" | |
5.19 => depends_on "perl" | |
5.18 => depends_on "perl" if MacOS.version <= :mavericks | |
5.17 => depends_on "perl" if MacOS.version <= :mavericks | |
5.16 => depends_on "perl" if MacOS.version <= :mountain_lion | |
5.15 => depends_on "perl" if MacOS.version <= :mountain_lion | |
5.14 => depends_on "perl" if MacOS.version <= :mountain_lion | |
5.13 => depends_on "perl" if MacOS.version <= :mountain_lion | |
5.12 => depends_on "perl" if MacOS.version <= :snow_leopard | |
5.11 => depends_on "perl" if MacOS.version <= :snow_leopard | |
5.10 => nothing | |
5.9 => nothing | |
5.8 => nothing | |
5.7 => nothing | |
5.6 => nothing | |
5.5 => nothing | |
5.4 => nothing | |
5.3 => nothing | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment