Module: XDep::Ruby::Helper

Included in:
Bundler::GemfileOutput, CSV, XDep::RubyGems::GemspecOutput
Defined in:
lib/xdep/ruby.rb

Constant Summary collapse

COMMENT =
/\A\s*#/
GEMFILE =
/\A(\s*)gem\s+(["'])(\S+)\2/
GEMSPEC =
%r|\A(\s*)\w+\.add(?:_development)?_dependency[(\s+]?(["'])(\S+)\2|
SPEC_MISSING =

I think 2.4.0 added MissingSpecError

defined?(Gem::MissingSpecError) ? Gem::MissingSpecError : Gem::LoadError
KNOWN_DEPENDENCIES =

> 50 million downloads according to rubygems.com, with a few exceptions

%w[
  actionmailer actionpack actionview activemodel activerecord
  activesupport addressable arel aws-sdk builder
  bundler coderay coffee-rails coffee-script coffee-script-source
  daemons diff-lcs erubis eventmachine execjs
  faraday ffi hike i18n jquery-rails
  json mail method_source mime-types mini_portile
  minitest multi_json multipart-post mysql2 net-ssh nokogiri
  polyglot pry rack rack-test rails
  railties rake rest-client rspec rspec-core
  rspec-expectations rspec-mocks rspec-support rubygems-bundler sass
  sass-rails sinatra slop sprockets sprockets-rails sqlite3
  thor thread_safe tilt tzinfo
  uglifier
].freeze