Sha256: 253b79c2a098370b37516b32ac9949f56f4fbba1038062f8ea08456c22af84f5

Contents?: true

Size: 119 Bytes

Versions: 25

Compression:

Stored size: 119 Bytes

Contents

RSpec::Matchers.define :have_linux_line_endings do
  match do |file|
    !file.content.include?("\r\n")
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
octopus-serverspec-extensions-0.7.2 lib/octopus_serverspec_extensions/matcher/have_linux_line_endings.rb
octopus-serverspec-extensions-0.7.1 lib/octopus_serverspec_extensions/matcher/have_linux_line_endings.rb
octopus-serverspec-extensions-0.7.0 lib/octopus_serverspec_extensions/matcher/have_linux_line_endings.rb
octopus-serverspec-extensions-0.6.1 lib/octopus_serverspec_extensions/matcher/have_linux_line_endings.rb
octopus-serverspec-extensions-0.6.0 lib/octopus_serverspec_extensions/matcher/have_linux_line_endings.rb