lib/shelly/cli/main.rb in shelly-0.2.11 vs lib/shelly/cli/main.rb in shelly-0.2.12
- old
+ new
@@ -437,11 +437,13 @@
print_check(structure.gem?("shelly-dependencies"),
"Gem 'shelly-dependencies' is present",
"Gem 'shelly-dependencies' is missing, we recommend to install it\n See more at https://shellycloud.com/documentation/requirements#shelly-dependencies",
:show_fulfilled => verbose || structure.warnings?, :failure_level => :warning)
- print_check(structure.gem?("thin"), "Gem 'thin' is present",
- "Gem 'thin' is missing in the Gemfile", :show_fulfilled => verbose)
+ print_check(structure.gem?("thin") || structure.gem?("puma"),
+ "Web server gem is present",
+ "Missing web server gem in Gemfile. Currently supported: 'thin' and 'puma'",
+ :show_fulfilled => verbose)
print_check(structure.gem?("rake"), "Gem 'rake' is present",
"Gem 'rake' is missing in the Gemfile", :show_fulfilled => verbose)
print_check(structure.task?("db:migrate"), "Task 'db:migrate' is present",