Sha256: c30d9902dbf513891ec22253b56083745b03e3c7f224b2934003f3f7f806111e

Contents?: true

Size: 620 Bytes

Versions: 15

Compression:

Stored size: 620 Bytes

Contents

# frozen_string_literal: true

##
# Usage example:
#
#   ConvenientService::Examples::Rails::Gemfile::Services::AssertNodeAvailable.result
#
module ConvenientService
  module Examples
    module Rails
      module Gemfile
        module Services
          class AssertNodeAvailable
            include RailsService::Config

            ##
            # NOTE: `> /dev/null 2>&1` is used to hide output.
            # https://unix.stackexchange.com/a/119650/394253
            #
            step Services::RunShell, in: {command: -> { "which node > /dev/null 2>&1" }}
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
convenient_service-0.12.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.11.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.10.1 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.10.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.9.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.8.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.7.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.6.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.5.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.4.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.3.1 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.3.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.2.1 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.2.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb
convenient_service-0.1.0 lib/convenient_service/examples/rails/gemfile/services/assert_node_available.rb