Sha256: 737e2116fb4f1641355aaea1c5fa494321170e9c1d6868084ec92293beff5669

Contents?: true

Size: 807 Bytes

Versions: 21

Compression:

Stored size: 807 Bytes

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard :rspec, cmd: "bundle exec rspec" do
  require "ostruct"

  # Generic Ruby apps
  rspec = OpenStruct.new
  rspec.spec = ->(m) { "spec/#{m}_spec.rb" }
  rspec.spec_dir = "spec"
  rspec.spec_helper = "spec/spec_helper.rb"


#  watch(%r{^lib/models/ib/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
#  watch(%r{^lib/ib/messages/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
#  watch(%r{^lib/ib/symbols/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }

  watch(%r{^ib/(.+)\.rb$})  { |m| "spec/ib/#{m[1]}_spec.rb" }
#  watch(%r{^models/(.+)\.rb$})  { |m| "spec/models/#{m[1]}_spec.rb" }
  watch(%r{^spec/.+_spec\.rb$})
  watch('spec/spec_helper.rb')  { "spec" }
#  watch(%r{^spec/support/(.+)\.rb$})                  { "spec" }
end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
ib-extensions-1.3.1 Guardfile
ib-extensions-1.3 Guardfile
ib-api-972.5.2 Guardfile
ib-symbols-1.5 Guardfile
ib-api-972.5.1 Guardfile
ib-symbols-1.4 Guardfile
ib-symbols-1.3 Guardfile
ib-symbols-1.2 Guardfile
ib-extensions-1.2 Guardfile
ib-api-972.5 Guardfile
ib-extensions-1.1 Guardfile
ib-api-972.4 Guardfile
ib-symbols-1.1 Guardfile
ib-api-972.3.1 Guardfile
ib-api-972.3 Guardfile
ib-api-972.2 Guardfile
ib-orientdb-1.0 Guardfile
ib-api-972.1 Guardfile
ib-extensions-1.0 Guardfile
ib-symbols-1.0 Guardfile