Create a gist now

Instantly share code, notes, and snippets.

@meganemura /deps.rb
Last active Mar 23, 2018

What would you like to do?
List dependencies
# $ cat Gemfile.lock | ruby deps.rb
ds = false
STDIN.each do |line|
if line.match?(/^DEPENDENCIES/)
ds = true
next
end
next if !ds
if ds && line.chomp == ""
ds = false
next
end
puts line.split.first.tr('!', '')
end
active_model_serializers
active_record_query_trace
addressable
annotate
aws-sdk
better_errors
binding_of_caller
bootsnap
brakeman
browser
bullet
bundler-audit
capistrano
capistrano-rails
capistrano-rbenv
capistrano-yarn
capybara
charlock_holmes
cld3
climate_control
devise
devise-two-factor
doorkeeper
dotenv-rails
fabrication
faker
fast_blank
fog-openstack
fuubar
goldfinger
hamlit-rails
hiredis
htmlentities
http
http_accept_language
httplog
i18n-tasks
idn-ruby
iso-639
json-ld-preloaded
kaminari
letter_opener
letter_opener_web
link_header
lograge
mario-redis-lock
microformats
mime-types
nokogiri
nsa
oj
ostatus2
ox
paperclip
paperclip-av-transcoder
parallel_tests
pg
pghero
pkg-config
pry-rails
puma
pundit
rabl
rack-attack
rack-cors
rack-timeout
rails
rails-controller-testing
rails-i18n
rails-settings-cached
rdf-normalize
redis
redis-namespace
redis-rails
rqrcode
rspec-rails
rspec-sidekiq
rubocop
ruby-oembed
sanitize
scss_lint
sidekiq
sidekiq-bulk
sidekiq-scheduler
sidekiq-unique-jobs
simple-navigation
simple_form
simplecov
sprockets-rails
strong_migrations
twitter-text
tzinfo-data
uglifier
webmock
webpacker
webpush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment