mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
Added test resources to cover interesting bundle-audit cases.
This commit is contained in:
@@ -66,7 +66,7 @@ public class RubyGemspecAnalyzerTest extends BaseTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test of getName method, of class PythonDistributionAnalyzer.
|
||||
* Test Ruby Gemspec name.
|
||||
*/
|
||||
@Test
|
||||
public void testGetName() {
|
||||
@@ -74,7 +74,7 @@ public class RubyGemspecAnalyzerTest extends BaseTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test of supportsExtension method, of class PythonDistributionAnalyzer.
|
||||
* Test Ruby Gemspec file support.
|
||||
*/
|
||||
@Test
|
||||
public void testSupportsFiles() {
|
||||
@@ -83,14 +83,14 @@ public class RubyGemspecAnalyzerTest extends BaseTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test of inspect method, of class PythonDistributionAnalyzer.
|
||||
* Test Ruby Gemspec analysis.
|
||||
*
|
||||
* @throws AnalysisException is thrown when an exception occurs.
|
||||
*/
|
||||
@Test
|
||||
public void testAnalyzePackageJson() throws AnalysisException {
|
||||
final Dependency result = new Dependency(BaseTest.getResourceAsFile(this,
|
||||
"ruby/gems/specifications/rest-client-1.7.2.gemspec"));
|
||||
"ruby/vulnerable/gems/specifications/rest-client-1.7.2.gemspec"));
|
||||
analyzer.analyze(result, null);
|
||||
final String vendorString = result.getVendorEvidence().toString();
|
||||
assertThat(vendorString, containsString("REST Client Team"));
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# stub: mime-types 2.6.1 ruby lib
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "mime-types"
|
||||
s.version = "2.6.1"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib"]
|
||||
s.authors = ["Austin Ziegler"]
|
||||
s.date = "2015-05-25"
|
||||
s.description = "The mime-types library provides a library and registry for information about\nMIME content type definitions. It can be used to determine defined filename\nextensions for MIME types, or to use filename extensions to look up the likely\nMIME type definitions.\n\nMIME content types are used in MIME-compliant communications, as in e-mail or\nHTTP traffic, to indicate the type of content which is transmitted. The\nmime-types library provides the ability for detailed information about MIME\nentities (provided as an enumerable collection of MIME::Type objects) to be\ndetermined and used. There are many types defined by RFCs and vendors, so the\nlist is long but by definition incomplete; don't hesitate to add additional\ntype definitions. MIME type definitions found in mime-types are from RFCs, W3C\nrecommendations, the {IANA Media Types\nregistry}[https://www.iana.org/assignments/media-types/media-types.xhtml], and\nuser contributions. It conforms to RFCs 2045 and 2231.\n\nThis is release 2.6 with two new experimental features. The first new feature\nis a new default registry storage format that greatly reduces the initial\nmemory use of the mime-types library. This feature is enabled by requiring\n+mime/types/columnar+ instead of +mime/types+ with a small performance cost and\nno change in *total* memory use if certain methods are called (see {Columnar\nStore}[#columnar-store] for more details). The second new feature is a logger\ninterface that conforms to the expectations of an ActiveSupport::Logger so that\nwarnings can be written to an application's log rather than the default\nlocation for +warn+. This interface may be used for other logging purposes in\nthe future.\n\nmime-types 2.6 is the last planned version of mime-types 2.x, so deprecation\nwarnings are no longer cached but provided every time the method is called.\nmime-types 2.6 supports Ruby 1.9.2 or later."
|
||||
s.email = ["halostatue@gmail.com"]
|
||||
s.extra_rdoc_files = ["Contributing.rdoc", "History-Types.rdoc", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "docs/COPYING.txt", "docs/artistic.txt"]
|
||||
s.files = ["Contributing.rdoc", "History-Types.rdoc", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "docs/COPYING.txt", "docs/artistic.txt"]
|
||||
s.homepage = "https://github.com/mime-types/ruby-mime-types/"
|
||||
s.licenses = ["MIT", "Artistic 2.0", "GPL-2"]
|
||||
s.rdoc_options = ["--main", "README.rdoc"]
|
||||
s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
|
||||
s.rubygems_version = "2.2.2"
|
||||
s.summary = "The mime-types library provides a library and registry for information about MIME content type definitions"
|
||||
|
||||
s.installed_by_version = "2.2.2" if s.respond_to? :installed_by_version
|
||||
|
||||
if s.respond_to? :specification_version then
|
||||
s.specification_version = 4
|
||||
|
||||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||||
s.add_development_dependency(%q<minitest>, ["~> 5.6"])
|
||||
s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
|
||||
s.add_development_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
||||
s.add_development_dependency(%q<hoe-gemspec2>, ["~> 1.1"])
|
||||
s.add_development_dependency(%q<hoe-git>, ["~> 1.6"])
|
||||
s.add_development_dependency(%q<hoe-rubygems>, ["~> 1.0"])
|
||||
s.add_development_dependency(%q<hoe-travis>, ["~> 1.2"])
|
||||
s.add_development_dependency(%q<minitest-autotest>, ["~> 1.0"])
|
||||
s.add_development_dependency(%q<minitest-focus>, ["~> 1.0"])
|
||||
s.add_development_dependency(%q<rake>, ["~> 10.0"])
|
||||
s.add_development_dependency(%q<simplecov>, ["~> 0.7"])
|
||||
s.add_development_dependency(%q<coveralls>, ["~> 0.8"])
|
||||
s.add_development_dependency(%q<hoe>, ["~> 3.13"])
|
||||
else
|
||||
s.add_dependency(%q<minitest>, ["~> 5.6"])
|
||||
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
||||
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
||||
s.add_dependency(%q<hoe-gemspec2>, ["~> 1.1"])
|
||||
s.add_dependency(%q<hoe-git>, ["~> 1.6"])
|
||||
s.add_dependency(%q<hoe-rubygems>, ["~> 1.0"])
|
||||
s.add_dependency(%q<hoe-travis>, ["~> 1.2"])
|
||||
s.add_dependency(%q<minitest-autotest>, ["~> 1.0"])
|
||||
s.add_dependency(%q<minitest-focus>, ["~> 1.0"])
|
||||
s.add_dependency(%q<rake>, ["~> 10.0"])
|
||||
s.add_dependency(%q<simplecov>, ["~> 0.7"])
|
||||
s.add_dependency(%q<coveralls>, ["~> 0.8"])
|
||||
s.add_dependency(%q<hoe>, ["~> 3.13"])
|
||||
end
|
||||
else
|
||||
s.add_dependency(%q<minitest>, ["~> 5.6"])
|
||||
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
||||
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
||||
s.add_dependency(%q<hoe-gemspec2>, ["~> 1.1"])
|
||||
s.add_dependency(%q<hoe-git>, ["~> 1.6"])
|
||||
s.add_dependency(%q<hoe-rubygems>, ["~> 1.0"])
|
||||
s.add_dependency(%q<hoe-travis>, ["~> 1.2"])
|
||||
s.add_dependency(%q<minitest-autotest>, ["~> 1.0"])
|
||||
s.add_dependency(%q<minitest-focus>, ["~> 1.0"])
|
||||
s.add_dependency(%q<rake>, ["~> 10.0"])
|
||||
s.add_dependency(%q<simplecov>, ["~> 0.7"])
|
||||
s.add_dependency(%q<coveralls>, ["~> 0.8"])
|
||||
s.add_dependency(%q<hoe>, ["~> 3.13"])
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,24 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# stub: activerecord-oracle_enhanced-adapter 1.1.7 ruby lib
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "activerecord-oracle_enhanced-adapter"
|
||||
s.version = "1.1.7"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib"]
|
||||
s.authors = ["Raimonds Simanovskis"]
|
||||
s.date = "2008-08-20"
|
||||
s.description = "Oracle enhaced adapter for Active Record"
|
||||
s.email = ["raymonds72@gmail.com"]
|
||||
s.extra_rdoc_files = ["History.txt", "License.txt", "README.txt"]
|
||||
s.files = ["History.txt", "License.txt", "README.txt"]
|
||||
s.homepage = "http://oracle-enhanced.rubyforge.org"
|
||||
s.post_install_message = ""
|
||||
s.rdoc_options = ["--main", "README.txt"]
|
||||
s.rubyforge_project = "oracle-enhanced"
|
||||
s.rubygems_version = "2.2.2"
|
||||
s.summary = "Oracle enhaced adapter for Active Record"
|
||||
|
||||
s.installed_by_version = "2.2.2" if s.respond_to? :installed_by_version
|
||||
end
|
||||
@@ -0,0 +1,22 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# stub: i18n 0.7.0 ruby lib
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "i18n"
|
||||
s.version = "0.7.0"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib"]
|
||||
s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore"]
|
||||
s.date = "2014-12-19"
|
||||
s.description = "New wave Internationalization support for Ruby."
|
||||
s.email = "rails-i18n@googlegroups.com"
|
||||
s.homepage = "http://github.com/svenfuchs/i18n"
|
||||
s.licenses = ["MIT"]
|
||||
s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
|
||||
s.rubyforge_project = "[none]"
|
||||
s.rubygems_version = "2.2.2"
|
||||
s.summary = "New wave Internationalization support for Ruby"
|
||||
|
||||
s.installed_by_version = "2.2.2" if s.respond_to? :installed_by_version
|
||||
end
|
||||
@@ -0,0 +1,39 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# stub: mail 2.4.3 ruby lib
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "mail"
|
||||
s.version = "2.4.3"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib"]
|
||||
s.authors = ["Mikel Lindsaar"]
|
||||
s.date = "2012-03-05"
|
||||
s.description = "A really Ruby Mail handler."
|
||||
s.email = "raasdnil@gmail.com"
|
||||
s.extra_rdoc_files = ["README.md", "CONTRIBUTING.md", "CHANGELOG.rdoc", "TODO.rdoc"]
|
||||
s.files = ["CHANGELOG.rdoc", "CONTRIBUTING.md", "README.md", "TODO.rdoc"]
|
||||
s.homepage = "http://github.com/mikel/mail"
|
||||
s.rubygems_version = "2.2.2"
|
||||
s.summary = "Mail provides a nice Ruby DSL for making, sending and reading emails."
|
||||
|
||||
s.installed_by_version = "2.2.2" if s.respond_to? :installed_by_version
|
||||
|
||||
if s.respond_to? :specification_version then
|
||||
s.specification_version = 3
|
||||
|
||||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||||
s.add_runtime_dependency(%q<mime-types>, ["~> 1.16"])
|
||||
s.add_runtime_dependency(%q<treetop>, ["~> 1.4.8"])
|
||||
s.add_runtime_dependency(%q<i18n>, [">= 0.4.0"])
|
||||
else
|
||||
s.add_dependency(%q<mime-types>, ["~> 1.16"])
|
||||
s.add_dependency(%q<treetop>, ["~> 1.4.8"])
|
||||
s.add_dependency(%q<i18n>, [">= 0.4.0"])
|
||||
end
|
||||
else
|
||||
s.add_dependency(%q<mime-types>, ["~> 1.16"])
|
||||
s.add_dependency(%q<treetop>, ["~> 1.4.8"])
|
||||
s.add_dependency(%q<i18n>, [">= 0.4.0"])
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,67 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# stub: mime-types 1.25.1 ruby lib
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "mime-types"
|
||||
s.version = "1.25.1"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib"]
|
||||
s.authors = ["Austin Ziegler"]
|
||||
s.cert_chain = ["-----BEGIN CERTIFICATE-----\nMIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZhdXN0\naW4xGTAXBgoJkiaJk/IsZAEZFglydWJ5Zm9yZ2UxEzARBgoJkiaJk/IsZAEZFgNv\ncmcwHhcNMTMwMjA0MDMzMzI3WhcNMTQwMjA0MDMzMzI3WjBBMQ8wDQYDVQQDDAZh\ndXN0aW4xGTAXBgoJkiaJk/IsZAEZFglydWJ5Zm9yZ2UxEzARBgoJkiaJk/IsZAEZ\nFgNvcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2mPNf4L37GhKI\nSPCYsvYWXA2/R9u5+pyUnbJ2R1o2CiRq2ZA/AIzY6N3hGnsgoWnh5RzvgTN1Lt08\nDNIrsIG2VDYk/JVt6f9J6zZ8EQHbznWa3cWYoCFaaICdk7jV1n/42hg70jEDYXl9\ngDOl0k6JmyF/rtfFu/OIkFGWeFYIuFHvRuLyUbw66+QDTOzKb3t8o55Ihgy1GVwT\ni6pkDs8LhZWXdOD+921l2Z1NZGZa9KNbJIg6vtgYKU98jQ5qr9iY3ikBAspHrFas\nK6USvGgAg8fCD5YiotBEvCBMYtfqmfrhpdU2p+gvTgeLW1Kaevwqd7ngQmFUrFG1\neUJSURv5AgMBAAGjOTA3MAkGA1UdEwQCMAAwHQYDVR0OBBYEFAtJKMp6YYNqlgR3\n9TiZLWqvLagSMAsGA1UdDwQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEApTPkvDm8\n7gJlUT4FfumXPvtuqP67LxUtGE8syvR0A4As+0P/wylLJFUOsGTTdZYtThhxCSJG\n+7KG2FfIcH4Zz2d97arZGAzBoi8iPht2/UtSl1fCcUI5vmJa1MiXZT2oqdW7Wydq\nrAZcBPlrYYuiwtGI0yqIOgBfXSZCWWsJsuyTKELep6mCLgz0YZUfmvKr8W/Ab3ax\nDuLzH92LSRjZJyjyAUpw/Vc2rM4giiP5jtByrb1Y1dGnQhHTMHf1GfucWm7Nw/V9\ntwEPVw8+0f88JQucxOTmTF1NbLFpiRwQUZ1zoZbNg2e7mShc/eexnVLWKFKxRoP6\nKPj3WoD+spB8fA==\n-----END CERTIFICATE-----\n"]
|
||||
s.date = "2013-11-24"
|
||||
s.description = "This library allows for the identification of a file's likely MIME content\ntype. This is release 1.25.1, fixing an issue with priority comparison for\nmime-types 1.x. The current release is 2.0, which only supports Ruby 1.9 or\nlater.\n\nRelease 1.25.1 contains all features of 1.25, including the experimental\ncaching and lazy loading functionality. The caching and lazy loading features\nwere initially implemented by Greg Brockman (gdb). As these features are\nexperimental, they are disabled by default and must be enabled through the use\nof environment variables. The cache is invalidated on a per-version basis; the\ncache for version 1.25 will not be reused for any later version.\n\nTo use lazy loading, set the environment variable +RUBY_MIME_TYPES_LAZY_LOAD+\nto any value other than 'false'. When using lazy loading, the initial startup\nof MIME::Types is around 12\u{2013}25\u{d7} faster than normal startup (on my system,\nnormal startup is about 90 ms; lazy startup is about 4 ms). This isn't\ngenerally useful, however, as the MIME::Types database has not been loaded.\nLazy startup and load is just *slightly* faster\u{2014}around 1 ms. The real advantage\ncomes from using the cache.\n\nTo enable the cache, set the environment variable +RUBY_MIME_TYPES_CACHE+ to a\nfilename where MIME::Types will have read-write access. The first time a new\nversion of MIME::Types is run using this file, it will be created, taking a\nlittle longer than normal. Subsequent loads using the same cache file will be\napproximately 3\u{bd}\u{d7} faster (25 ms) than normal loads. This can be combined with\n+RUBY_MIME_TYPES_LAZY_LOAD+, but this is *not* recommended in a multithreaded\nor multiprocess environment where all threads or processes will be using the\nsame cache file.\n\nAs the caching interface is still experimental, the only values cached are the\ndefault MIME::Types database, not any custom MIME::Types added by users.\n\nMIME types are used in MIME-compliant communications, as in e-mail or HTTP\ntraffic, to indicate the type of content which is transmitted. MIME::Types\nprovides the ability for detailed information about MIME entities (provided as\na set of MIME::Type objects) to be determined and used programmatically. There\nare many types defined by RFCs and vendors, so the list is long but not\ncomplete; don't hesitate to ask to add additional information. This library\nfollows the IANA collection of MIME types (see below for reference).\n\nMIME::Types for Ruby was originally based on MIME::Types for Perl by Mark\nOvermeer, copyright 2001 - 2009.\n\nMIME::Types is built to conform to the MIME types of RFCs 2045 and 2231. It\ntracks the {IANA registry}[http://www.iana.org/assignments/media-types/]\n({ftp}[ftp://ftp.iana.org/assignments/media-types]) with some unofficial types\nadded from the {LTSW collection}[http://www.ltsw.se/knbase/internet/mime.htp]\nand added by the users of MIME::Types."
|
||||
s.email = ["austin@rubyforge.org"]
|
||||
s.extra_rdoc_files = ["Contributing.rdoc", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "docs/COPYING.txt", "docs/artistic.txt"]
|
||||
s.files = ["Contributing.rdoc", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "docs/COPYING.txt", "docs/artistic.txt"]
|
||||
s.homepage = "http://mime-types.rubyforge.org/"
|
||||
s.licenses = ["MIT", "Artistic 2.0", "GPL-2"]
|
||||
s.rdoc_options = ["--main", "README.rdoc"]
|
||||
s.rubyforge_project = "mime-types"
|
||||
s.rubygems_version = "2.2.2"
|
||||
s.summary = "This library allows for the identification of a file's likely MIME content type"
|
||||
|
||||
s.installed_by_version = "2.2.2" if s.respond_to? :installed_by_version
|
||||
|
||||
if s.respond_to? :specification_version then
|
||||
s.specification_version = 4
|
||||
|
||||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||||
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
|
||||
s.add_development_dependency(%q<minitest>, ["~> 5.0"])
|
||||
s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
|
||||
s.add_development_dependency(%q<hoe-bundler>, ["~> 1.2"])
|
||||
s.add_development_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
||||
s.add_development_dependency(%q<hoe-gemspec2>, ["~> 1.1"])
|
||||
s.add_development_dependency(%q<hoe-git>, ["~> 1.5"])
|
||||
s.add_development_dependency(%q<hoe-rubygems>, ["~> 1.0"])
|
||||
s.add_development_dependency(%q<hoe-travis>, ["~> 1.2"])
|
||||
s.add_development_dependency(%q<rake>, ["~> 10.0"])
|
||||
s.add_development_dependency(%q<hoe>, ["~> 3.7"])
|
||||
else
|
||||
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
||||
s.add_dependency(%q<minitest>, ["~> 5.0"])
|
||||
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
||||
s.add_dependency(%q<hoe-bundler>, ["~> 1.2"])
|
||||
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
||||
s.add_dependency(%q<hoe-gemspec2>, ["~> 1.1"])
|
||||
s.add_dependency(%q<hoe-git>, ["~> 1.5"])
|
||||
s.add_dependency(%q<hoe-rubygems>, ["~> 1.0"])
|
||||
s.add_dependency(%q<hoe-travis>, ["~> 1.2"])
|
||||
s.add_dependency(%q<rake>, ["~> 10.0"])
|
||||
s.add_dependency(%q<hoe>, ["~> 3.7"])
|
||||
end
|
||||
else
|
||||
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
||||
s.add_dependency(%q<minitest>, ["~> 5.0"])
|
||||
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
||||
s.add_dependency(%q<hoe-bundler>, ["~> 1.2"])
|
||||
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
||||
s.add_dependency(%q<hoe-gemspec2>, ["~> 1.1"])
|
||||
s.add_dependency(%q<hoe-git>, ["~> 1.5"])
|
||||
s.add_dependency(%q<hoe-rubygems>, ["~> 1.0"])
|
||||
s.add_dependency(%q<hoe-travis>, ["~> 1.2"])
|
||||
s.add_dependency(%q<rake>, ["~> 10.0"])
|
||||
s.add_dependency(%q<hoe>, ["~> 3.7"])
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,22 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# stub: polyglot 0.3.5 ruby lib
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "polyglot"
|
||||
s.version = "0.3.5"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib"]
|
||||
s.authors = ["Clifford Heath"]
|
||||
s.date = "2014-05-30"
|
||||
s.description = "\nThe Polyglot library allows a Ruby module to register a loader\nfor the file type associated with a filename extension, and it\naugments 'require' to find and load matching files."
|
||||
s.email = ["clifford.heath@gmail.com"]
|
||||
s.extra_rdoc_files = ["README.txt"]
|
||||
s.files = ["README.txt"]
|
||||
s.homepage = "http://github.com/cjheath/polyglot"
|
||||
s.licenses = ["MIT"]
|
||||
s.rubygems_version = "2.2.2"
|
||||
s.summary = "Augment 'require' to load non-Ruby file types"
|
||||
|
||||
s.installed_by_version = "2.2.2" if s.respond_to? :installed_by_version
|
||||
end
|
||||
@@ -0,0 +1,56 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
# stub: treetop 1.4.15 ruby lib
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "treetop"
|
||||
s.version = "1.4.15"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.require_paths = ["lib"]
|
||||
s.authors = ["Nathan Sobo", "Clifford Heath"]
|
||||
s.autorequire = "treetop"
|
||||
s.date = "2013-08-17"
|
||||
s.email = "cliffordheath@gmail.com"
|
||||
s.executables = ["tt"]
|
||||
s.extra_rdoc_files = ["LICENSE", "README.md"]
|
||||
s.files = ["LICENSE", "README.md", "bin/tt"]
|
||||
s.homepage = "https://github.com/cjheath/treetop"
|
||||
s.licenses = ["MIT"]
|
||||
s.rubygems_version = "2.2.2"
|
||||
s.summary = "A Ruby-based text parsing and interpretation DSL"
|
||||
|
||||
s.installed_by_version = "2.2.2" if s.respond_to? :installed_by_version
|
||||
|
||||
if s.respond_to? :specification_version then
|
||||
s.specification_version = 3
|
||||
|
||||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||||
s.add_runtime_dependency(%q<polyglot>, [">= 0"])
|
||||
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
||||
s.add_development_dependency(%q<activesupport>, [">= 0"])
|
||||
s.add_development_dependency(%q<i18n>, ["~> 0.5.0"])
|
||||
s.add_development_dependency(%q<rr>, ["~> 1.0"])
|
||||
s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
|
||||
s.add_development_dependency(%q<rake>, [">= 0"])
|
||||
s.add_runtime_dependency(%q<polyglot>, [">= 0.3.1"])
|
||||
else
|
||||
s.add_dependency(%q<polyglot>, [">= 0"])
|
||||
s.add_dependency(%q<jeweler>, [">= 0"])
|
||||
s.add_dependency(%q<activesupport>, [">= 0"])
|
||||
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
||||
s.add_dependency(%q<rr>, ["~> 1.0"])
|
||||
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
||||
s.add_dependency(%q<rake>, [">= 0"])
|
||||
s.add_dependency(%q<polyglot>, [">= 0.3.1"])
|
||||
end
|
||||
else
|
||||
s.add_dependency(%q<polyglot>, [">= 0"])
|
||||
s.add_dependency(%q<jeweler>, [">= 0"])
|
||||
s.add_dependency(%q<activesupport>, [">= 0"])
|
||||
s.add_dependency(%q<i18n>, ["~> 0.5.0"])
|
||||
s.add_dependency(%q<rr>, ["~> 1.0"])
|
||||
s.add_dependency(%q<rspec>, [">= 2.0.0"])
|
||||
s.add_dependency(%q<rake>, [">= 0"])
|
||||
s.add_dependency(%q<polyglot>, [">= 0.3.1"])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user