Sha256: 75deb0f500940ac77dfbe34fa3a97fcdccf3f87cb7d5102535b33a8ccffe2376
Contents?: true
Size: 524 Bytes
Versions: 2
Compression:
Stored size: 524 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Rubysmith module Builders module RSpec # Builds RSpec binstub for project skeleton. class Binstub < Abstract using Refinements::Struct def call return configuration unless configuration.build_rspec builder.call(configuration.merge(template_path: "%project_name%/bin/rspec.erb")) .render .permit 0o755 configuration end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-6.10.0 | lib/rubysmith/builders/rspec/binstub.rb |
rubysmith-6.9.0 | lib/rubysmith/builders/rspec/binstub.rb |