gemspec 0.2.3 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +58 -0
- data/Rakefile +5 -0
- data/gemspec.gemspec +4 -1
- data/lib/gemspec.rb +9 -1
- data/lib/gemspec/VERSION +1 -1
- data/lib/gemspec/VERSION_FOR_HUMANS +1 -1
- data/lib/gemspec/bootstrap_lib.rb +7 -4
- data/lib/gemspec/git.rb +23 -2
- data/share/gemspec/licenses/{AAL → AAL.erb} +0 -0
- data/share/gemspec/licenses/{ADSL → ADSL.erb} +0 -0
- data/share/gemspec/licenses/{AFL-1.1 → AFL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{AFL-1.2 → AFL-1.2.erb} +0 -0
- data/share/gemspec/licenses/{AFL-2.0 → AFL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{AFL-2.1 → AFL-2.1.erb} +0 -0
- data/share/gemspec/licenses/{AFL-3.0 → AFL-3.0.erb} +0 -0
- data/share/gemspec/licenses/{AGPL-1.0 → AGPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{AGPL-3.0 → AGPL-3.0.erb} +0 -0
- data/share/gemspec/licenses/{AMDPLPA → AMDPLPA.erb} +0 -0
- data/share/gemspec/licenses/{AML → AML.erb} +0 -0
- data/share/gemspec/licenses/{AMPAS → AMPAS.erb} +0 -0
- data/share/gemspec/licenses/{ANTLR-PD → ANTLR-PD.erb} +0 -0
- data/share/gemspec/licenses/{APAFML → APAFML.erb} +0 -0
- data/share/gemspec/licenses/{APL-1.0 → APL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{APSL-1.0 → APSL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{APSL-1.1 → APSL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{APSL-1.2 → APSL-1.2.erb} +0 -0
- data/share/gemspec/licenses/{APSL-2.0 → APSL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{Abstyles → Abstyles.erb} +0 -0
- data/share/gemspec/licenses/{Adobe-2006 → Adobe-2006.erb} +0 -0
- data/share/gemspec/licenses/{Adobe-Glyph → Adobe-Glyph.erb} +0 -0
- data/share/gemspec/licenses/{Afmparse → Afmparse.erb} +0 -0
- data/share/gemspec/licenses/{Aladdin → Aladdin.erb} +0 -0
- data/share/gemspec/licenses/{Apache-1.0 → Apache-1.0.erb} +0 -0
- data/share/gemspec/licenses/{Apache-1.1 → Apache-1.1.erb} +0 -0
- data/share/gemspec/licenses/{Apache-2.0 → Apache-2.0.erb} +0 -0
- data/share/gemspec/licenses/{Artistic-1.0-Perl → Artistic-1.0-Perl.erb} +0 -0
- data/share/gemspec/licenses/{Artistic-1.0-cl8 → Artistic-1.0-cl8.erb} +0 -0
- data/share/gemspec/licenses/{Artistic-1.0 → Artistic-1.0.erb} +0 -0
- data/share/gemspec/licenses/{Artistic-2.0 → Artistic-2.0.erb} +0 -0
- data/share/gemspec/licenses/{BSD-2-Clause-FreeBSD → BSD-2-Clause-FreeBSD.erb} +0 -0
- data/share/gemspec/licenses/{BSD-2-Clause-NetBSD → BSD-2-Clause-NetBSD.erb} +0 -0
- data/share/gemspec/licenses/{BSD-2-Clause → BSD-2-Clause.erb} +0 -0
- data/share/gemspec/licenses/{BSD-3-Clause-Attribution → BSD-3-Clause-Attribution.erb} +0 -0
- data/share/gemspec/licenses/{BSD-3-Clause-Clear → BSD-3-Clause-Clear.erb} +0 -0
- data/share/gemspec/licenses/{BSD-3-Clause-LBNL → BSD-3-Clause-LBNL.erb} +0 -0
- data/share/gemspec/licenses/{BSD-3-Clause → BSD-3-Clause.erb} +0 -0
- data/share/gemspec/licenses/{BSD-4-Clause-UC → BSD-4-Clause-UC.erb} +0 -0
- data/share/gemspec/licenses/{BSD-4-Clause → BSD-4-Clause.erb} +0 -0
- data/share/gemspec/licenses/{BSD-Protection → BSD-Protection.erb} +0 -0
- data/share/gemspec/licenses/{BSL-1.0 → BSL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{Bahyph → Bahyph.erb} +0 -0
- data/share/gemspec/licenses/{Barr → Barr.erb} +0 -0
- data/share/gemspec/licenses/{Beerware → Beerware.erb} +0 -0
- data/share/gemspec/licenses/{BitTorrent-1.0 → BitTorrent-1.0.erb} +0 -0
- data/share/gemspec/licenses/{BitTorrent-1.1 → BitTorrent-1.1.erb} +0 -0
- data/share/gemspec/licenses/{Borceux → Borceux.erb} +0 -0
- data/share/gemspec/licenses/{CATOSL-1.1 → CATOSL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-1.0 → CC-BY-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-2.0 → CC-BY-2.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-2.5 → CC-BY-2.5.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-3.0 → CC-BY-3.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-4.0 → CC-BY-4.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-1.0 → CC-BY-NC-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-2.0 → CC-BY-NC-2.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-2.5 → CC-BY-NC-2.5.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-3.0 → CC-BY-NC-3.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-4.0 → CC-BY-NC-4.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-ND-1.0 → CC-BY-NC-ND-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-ND-2.0 → CC-BY-NC-ND-2.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-ND-2.5 → CC-BY-NC-ND-2.5.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-ND-3.0 → CC-BY-NC-ND-3.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-ND-4.0 → CC-BY-NC-ND-4.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-SA-1.0 → CC-BY-NC-SA-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-SA-2.0 → CC-BY-NC-SA-2.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-SA-2.5 → CC-BY-NC-SA-2.5.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-SA-3.0 → CC-BY-NC-SA-3.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-NC-SA-4.0 → CC-BY-NC-SA-4.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-ND-1.0 → CC-BY-ND-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-ND-2.0 → CC-BY-ND-2.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-ND-2.5 → CC-BY-ND-2.5.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-ND-3.0 → CC-BY-ND-3.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-ND-4.0 → CC-BY-ND-4.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-SA-1.0 → CC-BY-SA-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-SA-2.0 → CC-BY-SA-2.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-SA-2.5 → CC-BY-SA-2.5.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-SA-3.0 → CC-BY-SA-3.0.erb} +0 -0
- data/share/gemspec/licenses/{CC-BY-SA-4.0 → CC-BY-SA-4.0.erb} +0 -0
- data/share/gemspec/licenses/{CC0-1.0 → CC0-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CDDL-1.0 → CDDL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CDDL-1.1 → CDDL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{CECILL-1.0 → CECILL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CECILL-1.1 → CECILL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{CECILL-2.0 → CECILL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{CECILL-B → CECILL-B.erb} +0 -0
- data/share/gemspec/licenses/{CECILL-C → CECILL-C.erb} +0 -0
- data/share/gemspec/licenses/{CNRI-Python-GPL-Compatible → CNRI-Python-GPL-Compatible.erb} +0 -0
- data/share/gemspec/licenses/{CNRI-Python → CNRI-Python.erb} +0 -0
- data/share/gemspec/licenses/{CPAL-1.0 → CPAL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CPL-1.0 → CPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{CPOL-1.02 → CPOL-1.02.erb} +0 -0
- data/share/gemspec/licenses/{CUA-OPL-1.0 → CUA-OPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{Caldera → Caldera.erb} +0 -0
- data/share/gemspec/licenses/{ClArtistic → ClArtistic.erb} +0 -0
- data/share/gemspec/licenses/{Condor-1.1 → Condor-1.1.erb} +0 -0
- data/share/gemspec/licenses/{Crossword → Crossword.erb} +0 -0
- data/share/gemspec/licenses/{Cube → Cube.erb} +0 -0
- data/share/gemspec/licenses/{D-FSL-1.0 → D-FSL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{DOC → DOC.erb} +0 -0
- data/share/gemspec/licenses/{DSDP → DSDP.erb} +0 -0
- data/share/gemspec/licenses/{Dotseqn → Dotseqn.erb} +0 -0
- data/share/gemspec/licenses/{ECL-1.0 → ECL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{ECL-2.0 → ECL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{EFL-1.0 → EFL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{EFL-2.0 → EFL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{EPL-1.0 → EPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{EUDatagrid → EUDatagrid.erb} +0 -0
- data/share/gemspec/licenses/{EUPL-1.0 → EUPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{EUPL-1.1 → EUPL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{Entessa → Entessa.erb} +0 -0
- data/share/gemspec/licenses/{ErlPL-1.1 → ErlPL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{Eurosym → Eurosym.erb} +0 -0
- data/share/gemspec/licenses/{FSFUL → FSFUL.erb} +0 -0
- data/share/gemspec/licenses/{FSFULLR → FSFULLR.erb} +0 -0
- data/share/gemspec/licenses/{FTL → FTL.erb} +0 -0
- data/share/gemspec/licenses/{Fair → Fair.erb} +0 -0
- data/share/gemspec/licenses/{Frameworx-1.0 → Frameworx-1.0.erb} +0 -0
- data/share/gemspec/licenses/{FreeImage → FreeImage.erb} +0 -0
- data/share/gemspec/licenses/{GFDL-1.1 → GFDL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{GFDL-1.2 → GFDL-1.2.erb} +0 -0
- data/share/gemspec/licenses/{GFDL-1.3 → GFDL-1.3.erb} +0 -0
- data/share/gemspec/licenses/{GL2PS → GL2PS.erb} +0 -0
- data/share/gemspec/licenses/{GPL-1.0+ → GPL-1.0+.erb} +0 -0
- data/share/gemspec/licenses/{GPL-1.0 → GPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{GPL-2.0+ → GPL-2.0+.erb} +0 -0
- data/share/gemspec/licenses/{GPL-2.0-with-GCC-exception → GPL-2.0-with-GCC-exception.erb} +0 -0
- data/share/gemspec/licenses/{GPL-2.0-with-autoconf-exception → GPL-2.0-with-autoconf-exception.erb} +0 -0
- data/share/gemspec/licenses/{GPL-2.0-with-bison-exception → GPL-2.0-with-bison-exception.erb} +0 -0
- data/share/gemspec/licenses/{GPL-2.0-with-classpath-exception → GPL-2.0-with-classpath-exception.erb} +0 -0
- data/share/gemspec/licenses/{GPL-2.0-with-font-exception → GPL-2.0-with-font-exception.erb} +0 -0
- data/share/gemspec/licenses/{GPL-2.0 → GPL-2.0.erb} +1 -1
- data/share/gemspec/licenses/{GPL-3.0+ → GPL-3.0+.erb} +0 -0
- data/share/gemspec/licenses/{GPL-3.0-with-GCC-exception → GPL-3.0-with-GCC-exception.erb} +0 -0
- data/share/gemspec/licenses/{GPL-3.0-with-autoconf-exception → GPL-3.0-with-autoconf-exception.erb} +0 -0
- data/share/gemspec/licenses/{GPL-3.0 → GPL-3.0.erb} +0 -0
- data/share/gemspec/licenses/{Giftware → Giftware.erb} +0 -0
- data/share/gemspec/licenses/{Glide → Glide.erb} +0 -0
- data/share/gemspec/licenses/{Glulxe → Glulxe.erb} +0 -0
- data/share/gemspec/licenses/{HPND → HPND.erb} +0 -0
- data/share/gemspec/licenses/{HaskellReport → HaskellReport.erb} +0 -0
- data/share/gemspec/licenses/{IBM-pibs → IBM-pibs.erb} +0 -0
- data/share/gemspec/licenses/{ICU → ICU.erb} +0 -0
- data/share/gemspec/licenses/{IJG → IJG.erb} +0 -0
- data/share/gemspec/licenses/{IPA → IPA.erb} +0 -0
- data/share/gemspec/licenses/{IPL-1.0 → IPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{ISC → ISC.erb} +0 -0
- data/share/gemspec/licenses/{ImageMagick → ImageMagick.erb} +0 -0
- data/share/gemspec/licenses/{Imlib2 → Imlib2.erb} +0 -0
- data/share/gemspec/licenses/{Intel-ACPI → Intel-ACPI.erb} +0 -0
- data/share/gemspec/licenses/{Intel → Intel.erb} +0 -0
- data/share/gemspec/licenses/{JSON → JSON.erb} +0 -0
- data/share/gemspec/licenses/{JasPer-2.0 → JasPer-2.0.erb} +0 -0
- data/share/gemspec/licenses/{LGPL-2.0+ → LGPL-2.0+.erb} +0 -0
- data/share/gemspec/licenses/{LGPL-2.0 → LGPL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{LGPL-2.1+ → LGPL-2.1+.erb} +0 -0
- data/share/gemspec/licenses/{LGPL-2.1 → LGPL-2.1.erb} +0 -0
- data/share/gemspec/licenses/{LGPL-3.0+ → LGPL-3.0+.erb} +0 -0
- data/share/gemspec/licenses/{LGPL-3.0 → LGPL-3.0.erb} +0 -0
- data/share/gemspec/licenses/{LPL-1.0 → LPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{LPL-1.02 → LPL-1.02.erb} +0 -0
- data/share/gemspec/licenses/{LPPL-1.0 → LPPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{LPPL-1.1 → LPPL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{LPPL-1.2 → LPPL-1.2.erb} +0 -0
- data/share/gemspec/licenses/{LPPL-1.3a → LPPL-1.3a.erb} +0 -0
- data/share/gemspec/licenses/{LPPL-1.3c → LPPL-1.3c.erb} +0 -0
- data/share/gemspec/licenses/{Latex2e → Latex2e.erb} +0 -0
- data/share/gemspec/licenses/{Leptonica → Leptonica.erb} +0 -0
- data/share/gemspec/licenses/{Libpng → Libpng.erb} +0 -0
- data/share/gemspec/licenses/{MIT-CMU → MIT-CMU.erb} +0 -0
- data/share/gemspec/licenses/{MIT-advertising → MIT-advertising.erb} +0 -0
- data/share/gemspec/licenses/{MIT-enna → MIT-enna.erb} +0 -0
- data/share/gemspec/licenses/{MIT-feh → MIT-feh.erb} +0 -0
- data/share/gemspec/licenses/{MIT → MIT.erb} +1 -1
- data/share/gemspec/licenses/{MITNFA → MITNFA.erb} +0 -0
- data/share/gemspec/licenses/{MPL-1.0 → MPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{MPL-1.1 → MPL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{MPL-2.0-no-copyleft-exception → MPL-2.0-no-copyleft-exception.erb} +0 -0
- data/share/gemspec/licenses/{MPL-2.0 → MPL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{MS-PL → MS-PL.erb} +0 -0
- data/share/gemspec/licenses/{MS-RL → MS-RL.erb} +0 -0
- data/share/gemspec/licenses/{MTLL → MTLL.erb} +0 -0
- data/share/gemspec/licenses/{MakeIndex → MakeIndex.erb} +0 -0
- data/share/gemspec/licenses/{MirOS → MirOS.erb} +0 -0
- data/share/gemspec/licenses/{Motosoto → Motosoto.erb} +0 -0
- data/share/gemspec/licenses/{Multics → Multics.erb} +0 -0
- data/share/gemspec/licenses/{Mup → Mup.erb} +0 -0
- data/share/gemspec/licenses/{NASA-1.3 → NASA-1.3.erb} +0 -0
- data/share/gemspec/licenses/{NBPL-1.0 → NBPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{NCSA → NCSA.erb} +0 -0
- data/share/gemspec/licenses/{NGPL → NGPL.erb} +0 -0
- data/share/gemspec/licenses/{NLPL → NLPL.erb} +0 -0
- data/share/gemspec/licenses/{NOSL → NOSL.erb} +0 -0
- data/share/gemspec/licenses/{NPL-1.0 → NPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{NPL-1.1 → NPL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{NPOSL-3.0 → NPOSL-3.0.erb} +0 -0
- data/share/gemspec/licenses/{NRL → NRL.erb} +0 -0
- data/share/gemspec/licenses/{NTP → NTP.erb} +0 -0
- data/share/gemspec/licenses/{Naumen → Naumen.erb} +0 -0
- data/share/gemspec/licenses/{NetCDF → NetCDF.erb} +0 -0
- data/share/gemspec/licenses/{Newsletr → Newsletr.erb} +0 -0
- data/share/gemspec/licenses/{Nokia → Nokia.erb} +0 -0
- data/share/gemspec/licenses/{Noweb → Noweb.erb} +0 -0
- data/share/gemspec/licenses/{Nunit → Nunit.erb} +0 -0
- data/share/gemspec/licenses/{OCLC-2.0 → OCLC-2.0.erb} +0 -0
- data/share/gemspec/licenses/{ODbL-1.0 → ODbL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{OFL-1.0 → OFL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{OFL-1.1 → OFL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{OGTSL → OGTSL.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-1.1 → OLDAP-1.1.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-1.2 → OLDAP-1.2.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-1.3 → OLDAP-1.3.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-1.4 → OLDAP-1.4.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.0.1 → OLDAP-2.0.1.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.0 → OLDAP-2.0.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.1 → OLDAP-2.1.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.2.1 → OLDAP-2.2.1.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.2.2 → OLDAP-2.2.2.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.2 → OLDAP-2.2.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.3 → OLDAP-2.3.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.4 → OLDAP-2.4.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.5 → OLDAP-2.5.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.6 → OLDAP-2.6.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.7 → OLDAP-2.7.erb} +0 -0
- data/share/gemspec/licenses/{OLDAP-2.8 → OLDAP-2.8.erb} +0 -0
- data/share/gemspec/licenses/{OML → OML.erb} +0 -0
- data/share/gemspec/licenses/{OPL-1.0 → OPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{OSL-1.0 → OSL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{OSL-1.1 → OSL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{OSL-2.0 → OSL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{OSL-2.1 → OSL-2.1.erb} +0 -0
- data/share/gemspec/licenses/{OSL-3.0 → OSL-3.0.erb} +0 -0
- data/share/gemspec/licenses/{OpenSSL → OpenSSL.erb} +0 -0
- data/share/gemspec/licenses/{PDDL-1.0 → PDDL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{PHP-3.0 → PHP-3.0.erb} +0 -0
- data/share/gemspec/licenses/{PHP-3.01 → PHP-3.01.erb} +0 -0
- data/share/gemspec/licenses/{Plexus → Plexus.erb} +0 -0
- data/share/gemspec/licenses/{PostgreSQL → PostgreSQL.erb} +0 -0
- data/share/gemspec/licenses/{Python-2.0 → Python-2.0.erb} +0 -0
- data/share/gemspec/licenses/{QPL-1.0 → QPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{Qhull → Qhull.erb} +0 -0
- data/share/gemspec/licenses/{RHeCos-1.1 → RHeCos-1.1.erb} +0 -0
- data/share/gemspec/licenses/{RPL-1.1 → RPL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{RPL-1.5 → RPL-1.5.erb} +0 -0
- data/share/gemspec/licenses/{RPSL-1.0 → RPSL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{RSCPL → RSCPL.erb} +0 -0
- data/share/gemspec/licenses/{Rdisc → Rdisc.erb} +0 -0
- data/share/gemspec/licenses/{Ruby → Ruby.erb} +0 -0
- data/share/gemspec/licenses/{SAX-PD → SAX-PD.erb} +0 -0
- data/share/gemspec/licenses/{SCEA → SCEA.erb} +0 -0
- data/share/gemspec/licenses/{SGI-B-1.0 → SGI-B-1.0.erb} +0 -0
- data/share/gemspec/licenses/{SGI-B-1.1 → SGI-B-1.1.erb} +0 -0
- data/share/gemspec/licenses/{SGI-B-2.0 → SGI-B-2.0.erb} +0 -0
- data/share/gemspec/licenses/{SISSL-1.2 → SISSL-1.2.erb} +0 -0
- data/share/gemspec/licenses/{SISSL → SISSL.erb} +0 -0
- data/share/gemspec/licenses/{SMLNJ → SMLNJ.erb} +0 -0
- data/share/gemspec/licenses/{SNIA → SNIA.erb} +0 -0
- data/share/gemspec/licenses/{SPL-1.0 → SPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{SWL → SWL.erb} +0 -0
- data/share/gemspec/licenses/{Saxpath → Saxpath.erb} +0 -0
- data/share/gemspec/licenses/{SimPL-2.0 → SimPL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{Sleepycat → Sleepycat.erb} +0 -0
- data/share/gemspec/licenses/{StandardML-NJ → StandardML-NJ.erb} +0 -0
- data/share/gemspec/licenses/{SugarCRM-1.1.3 → SugarCRM-1.1.3.erb} +0 -0
- data/share/gemspec/licenses/{TCL → TCL.erb} +0 -0
- data/share/gemspec/licenses/{TMate → TMate.erb} +0 -0
- data/share/gemspec/licenses/{TORQUE-1.1 → TORQUE-1.1.erb} +0 -0
- data/share/gemspec/licenses/{TOSL → TOSL.erb} +0 -0
- data/share/gemspec/licenses/{Unicode-TOU → Unicode-TOU.erb} +0 -0
- data/share/gemspec/licenses/{Unlicense → Unlicense.erb} +0 -0
- data/share/gemspec/licenses/{VOSTROM → VOSTROM.erb} +0 -0
- data/share/gemspec/licenses/{VSL-1.0 → VSL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{Vim → Vim.erb} +0 -0
- data/share/gemspec/licenses/{W3C-19980720 → W3C-19980720.erb} +0 -0
- data/share/gemspec/licenses/{W3C → W3C.erb} +0 -0
- data/share/gemspec/licenses/{WTFPL → WTFPL.erb} +0 -0
- data/share/gemspec/licenses/{WXwindows → WXwindows.erb} +0 -0
- data/share/gemspec/licenses/{Watcom-1.0 → Watcom-1.0.erb} +0 -0
- data/share/gemspec/licenses/{Wsuipa → Wsuipa.erb} +0 -0
- data/share/gemspec/licenses/{X11 → X11.erb} +0 -0
- data/share/gemspec/licenses/{XFree86-1.1 → XFree86-1.1.erb} +0 -0
- data/share/gemspec/licenses/{XSkat → XSkat.erb} +0 -0
- data/share/gemspec/licenses/{Xerox → Xerox.erb} +0 -0
- data/share/gemspec/licenses/{Xnet → Xnet.erb} +0 -0
- data/share/gemspec/licenses/{YPL-1.0 → YPL-1.0.erb} +0 -0
- data/share/gemspec/licenses/{YPL-1.1 → YPL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{ZPL-1.1 → ZPL-1.1.erb} +0 -0
- data/share/gemspec/licenses/{ZPL-2.0 → ZPL-2.0.erb} +0 -0
- data/share/gemspec/licenses/{ZPL-2.1 → ZPL-2.1.erb} +0 -0
- data/share/gemspec/licenses/{Zed → Zed.erb} +0 -0
- data/share/gemspec/licenses/{Zend-2.0 → Zend-2.0.erb} +0 -0
- data/share/gemspec/licenses/{Zimbra-1.3 → Zimbra-1.3.erb} +0 -0
- data/share/gemspec/licenses/{Zimbra-1.4 → Zimbra-1.4.erb} +0 -0
- data/share/gemspec/licenses/{Zlib → Zlib.erb} +0 -0
- data/share/gemspec/licenses/{bzip2-1.0.5 → bzip2-1.0.5.erb} +0 -0
- data/share/gemspec/licenses/{bzip2-1.0.6 → bzip2-1.0.6.erb} +0 -0
- data/share/gemspec/licenses/{diffmark → diffmark.erb} +0 -0
- data/share/gemspec/licenses/{dvipdfm → dvipdfm.erb} +0 -0
- data/share/gemspec/licenses/{eCos-2.0 → eCos-2.0.erb} +0 -0
- data/share/gemspec/licenses/{eGenix → eGenix.erb} +0 -0
- data/share/gemspec/licenses/{gSOAP-1.3b → gSOAP-1.3b.erb} +0 -0
- data/share/gemspec/licenses/{gnuplot → gnuplot.erb} +0 -0
- data/share/gemspec/licenses/{iMatix → iMatix.erb} +0 -0
- data/share/gemspec/licenses/{libtiff → libtiff.erb} +0 -0
- data/share/gemspec/licenses/{mpich2 → mpich2.erb} +0 -0
- data/share/gemspec/licenses/{psfrag → psfrag.erb} +0 -0
- data/share/gemspec/licenses/{psutils → psutils.erb} +0 -0
- data/share/gemspec/licenses/{txt → txt.erb} +0 -0
- data/share/gemspec/licenses/{xinetd → xinetd.erb} +0 -0
- data/share/gemspec/licenses/{xpp → xpp.erb} +0 -0
- data/share/gemspec/licenses/{zlib-acknowledgement → zlib-acknowledgement.erb} +0 -0
- data/share/gemspec/templates.erb/init/Gemfile.erb +5 -0
- data/share/gemspec/templates/init/.gitignore +4 -0
- data/share/gemspec/templates/init/Gemfile +1 -1
- data/share/gemspec/templates/init/Rakefile +1 -0
- data/share/gemspec/templates/init/gemspec.gemspec +1 -0
- data/share/gemspec/templates/init/rakelib/licenses.rake +35 -0
- data/share/gemspec/templates/init/rakelib/release.rake +15 -0
- data/share/gemspec/templates/init/test/minitest_helper.rb +1 -1
- data/test/minitest_helper.rb +6 -0
- data/test/test_spec.rb +11 -0
- data/test/test_test.rb +11 -0
- metadata +341 -319
- data/rakelib/gem.rake +0 -13
- data/rakelib/license.rake +0 -19
- data/share/gemspec/templates/init/rakelib/license.rake +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 863ecd4044a3c3e0a8db818fd7a6659752242631
|
4
|
+
data.tar.gz: 283be7643cad5a5b506643040e176111a69564c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0e27b1054c318dc203aa1453c5dc79271655cce9a1b18ef03a4ac3ca17c91e28fba0190228b67f9e4f1dbe5c8b68b7188f890ecd8d22f14d25ee69e7c652490
|
7
|
+
data.tar.gz: 8475bd3329dbf4b24412d62009931a283a2a2f24306b43b819c4b8f3a2c3624d631c0c56980d2f54b83c475fbe0912a35b95d9d359b78c3786198f0a32836adb
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -38,5 +38,63 @@ The latter creates and views licenses specified in the gemspec (no need to have
|
|
38
38
|
|
39
39
|
## Usage
|
40
40
|
|
41
|
+
### Installation
|
42
|
+
|
41
43
|
gem install gemspec
|
44
|
+
#Install templates somewhere
|
45
|
+
mkdir -p ~/.gemspec/
|
46
|
+
gemspec-install_templates ~/.gemspec/
|
47
|
+
|
48
|
+
### Starting a project
|
49
|
+
|
50
|
+
mkdir project/
|
51
|
+
cd $_
|
52
|
+
git flow init
|
53
|
+
rsync -avi ~/.gemspec/init/ .
|
54
|
+
|
55
|
+
#Add a summary and description
|
56
|
+
$EDITOR gemspec.gemspec
|
57
|
+
|
58
|
+
#Scaffold out lib
|
59
|
+
ruby gemspec.gemspec
|
60
|
+
|
61
|
+
#Build gem
|
62
|
+
rake gem
|
63
|
+
|
64
|
+
#Run test stubs
|
65
|
+
rake test
|
66
|
+
|
67
|
+
### Renameing a project
|
68
|
+
|
69
|
+
mv project/ something_something-whatever/
|
70
|
+
cd $_
|
71
|
+
#Scaffold out new lib:
|
72
|
+
ruby gemspec.gemspec
|
73
|
+
#Manually fix code in lib/ -- and that’s it; all other references are dynamic
|
74
|
+
|
75
|
+
### Render and view-licenses specified in gemspec.gemspec
|
76
|
+
|
77
|
+
rake view-licenses
|
78
|
+
|
79
|
+
### Bump a version
|
80
|
+
|
81
|
+
#First install gemspec-bump
|
82
|
+
gem install gemspec-bump
|
83
|
+
|
84
|
+
#This’ll bump the last version numbers, commit the change, merge the commit into master, tag it, and merge back
|
85
|
+
gemspec-bump +1.+1
|
86
|
+
|
87
|
+
|
88
|
+
## Contributing
|
89
|
+
|
90
|
+
Highly welcome. The project is very bare-bones right now.
|
42
91
|
|
92
|
+
## Goals
|
93
|
+
|
94
|
+
- DRY-ness:
|
95
|
+
All info in one place
|
96
|
+
- Convention over configuration for basic gem structure that no-one every changes anyway
|
97
|
+
- Flexibility/customizability
|
98
|
+
-gems should be easy to rename and parts of a gem should be usable in another gem (no hardcoded references)
|
99
|
+
- packaging should get out of the way as much as possible -- it’s your code that matters
|
100
|
+
- straightforward workflow
|
data/Rakefile
CHANGED
data/gemspec.gemspec
CHANGED
@@ -18,8 +18,10 @@ Gem::Specification.new do |s|
|
|
18
18
|
#####Must change
|
19
19
|
s.summary = %q{Gemspec aims to streamline and DRY up the creation of ruby packages AKA gems}
|
20
20
|
s.description = File.open('README.md').gets('.')
|
21
|
-
s.licenses = %w[
|
21
|
+
s.licenses = %w[GPL-2.0]
|
22
22
|
|
23
|
+
#s.files += Dir["share/gemspec/templates/**"]
|
24
|
+
s.files << "share/gemspec/templates/init/Gemfile"
|
23
25
|
|
24
26
|
#####Unlikely to change
|
25
27
|
s.email = [ `git config user.email`.chomp ]
|
@@ -30,5 +32,6 @@ Gem::Specification.new do |s|
|
|
30
32
|
s.add_dependency 'activesupport', '4.2.1'
|
31
33
|
s.add_dependency 'memoist', '0.12.0'
|
32
34
|
s.add_dependency 'rake', '~> 10.4'
|
35
|
+
s.add_dependency 'minitest-documentation'
|
33
36
|
|
34
37
|
end
|
data/lib/gemspec.rb
CHANGED
@@ -14,7 +14,6 @@ module Gemspec
|
|
14
14
|
|
15
15
|
#####These settings shouldn't change as long as you follow conventions
|
16
16
|
def boilerplate(s)
|
17
|
-
Dir.exist?('.git') || system('git', 'init', '.')
|
18
17
|
|
19
18
|
#Naming according to conventions
|
20
19
|
s.metadata["namespaced_path"] = s.name.tr('-', '/')
|
@@ -43,4 +42,13 @@ module Gemspec
|
|
43
42
|
#Authors are all committers or `git config user.name` if the former is empty
|
44
43
|
s.authors = Git::ls_authors
|
45
44
|
end
|
45
|
+
|
46
|
+
memoize def current
|
47
|
+
spec = nil
|
48
|
+
Git.cdroot do
|
49
|
+
spec = Gem::Specification.load('gemspec.gemspec')
|
50
|
+
end
|
51
|
+
spec
|
52
|
+
end
|
53
|
+
|
46
54
|
end
|
data/lib/gemspec/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.5
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4
|
@@ -16,6 +16,7 @@ module Gemspec
|
|
16
16
|
|
17
17
|
def bootstrap_lib!(spec)
|
18
18
|
|
19
|
+
system('git', 'status', out: '/dev/null') || system(*%w[git init .])
|
19
20
|
config = {}
|
20
21
|
config["constant_name"] = spec.metadata["constant_name"] || camelize(metadata["namespaced_path"])
|
21
22
|
config["namespaced_path"] = spec.metadata["namespaced_path"] || spec.name.tr('-', '/')
|
@@ -31,8 +32,10 @@ module Gemspec
|
|
31
32
|
|
32
33
|
template_write(rbfile, config, templates["newgem.tt"]) unless File.exist?(rbfile)
|
33
34
|
template_write(versionfilerb, config, templates["version.rb.tt"]) unless File.exist?(versionfilerb)
|
34
|
-
File.write(versionfile, '0.1.0') unless File.exist?(versionfile)
|
35
|
-
File.
|
35
|
+
File.write(versionfile, '0.1.0' + "\n") unless File.exist?(versionfile)
|
36
|
+
File.symlink(versionfile, "VERSION") unless File.exist?("VERSION")
|
37
|
+
File.write(human_versionfile, '0.1' + "\n") unless File.exist?(human_versionfile)
|
38
|
+
File.symlink(human_versionfile, "VERSION_FOR_HUMANS") unless File.exist?("VERSION_FOR_HUMANS")
|
36
39
|
end
|
37
40
|
|
38
41
|
memoize def templates
|
@@ -68,8 +71,8 @@ version.rb.tt: |
|
|
68
71
|
<%- config["constant_array"].each_with_index do |c,i| -%>
|
69
72
|
<%= ' '*i %>module <%= c %>
|
70
73
|
<%- end -%>
|
71
|
-
<%= ' '*config["constant_array"].size %>VERSION = File.read(File.expand_path("../VERSION", __FILE__))
|
72
|
-
<%= ' '*config["constant_array"].size %>VERSION_FOR_HUMANS = File.read(File.expand_path("../VERSION_FOR_HUMANS", __FILE__))
|
74
|
+
<%= ' '*config["constant_array"].size %>VERSION = File.read(File.expand_path("../VERSION", __FILE__)).chomp
|
75
|
+
<%= ' '*config["constant_array"].size %>VERSION_FOR_HUMANS = File.read(File.expand_path("../VERSION_FOR_HUMANS", __FILE__)).chomp
|
73
76
|
<%- (config["constant_array"].size-1).downto(0) do |i| -%>
|
74
77
|
<%= ' '*i %>end
|
75
78
|
<%- end -%>
|
data/lib/gemspec/git.rb
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
require 'memoist'
|
4
4
|
require 'super_hash'
|
5
5
|
|
6
|
-
Dir.exist?('.git') || system(*%w[git init .])
|
7
6
|
module Gemspec
|
8
7
|
module Git
|
9
8
|
extend Memoist
|
@@ -30,6 +29,28 @@ module Gemspec
|
|
30
29
|
authors = `git log > /dev/null 2>&1 && git shortlog -sn`.split("\n").map {|a| a.sub(/^[\d\s]*/, '') }
|
31
30
|
authors = (authors.empty? && [ `git config user.name` ]) || authors
|
32
31
|
end
|
33
|
-
end
|
34
32
|
|
33
|
+
#Go to the repo's root (and back if a block is given)
|
34
|
+
|
35
|
+
def cdroot!(&blk)
|
36
|
+
cdup = '.' if (cdup=`git rev-parse --show-cdup`.chomp) == ""
|
37
|
+
if blk
|
38
|
+
Dir.chdir cdup, &blk
|
39
|
+
else
|
40
|
+
Dir.chdir cdup
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
#Go to the repo's root -- block must be given
|
45
|
+
|
46
|
+
def cdroot(&blk)
|
47
|
+
return unless blk
|
48
|
+
cdroot! &blk
|
49
|
+
end
|
50
|
+
|
51
|
+
def clean?
|
52
|
+
`git status --porcelain`.chomp == ""
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
35
56
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|