Skip to content

Commit

Permalink
Count mingw as windows.
Browse files Browse the repository at this point in the history
Closes sassgh-230
  • Loading branch information
nex3 committed Aug 15, 2010
1 parent 8c89830 commit 01a9505
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions doc-src/HAML_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Table of contents
{:toc}

## 3.0.17 (Unreleased)

* Understand that mingw counts as Windows.

## 3.0.16

[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.16).
Expand Down
4 changes: 2 additions & 2 deletions doc-src/SASS_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

## 3.0.17 (Unreleased)

[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.17).

* Disallow `#{}` interpolation in `@media` queries or unrecognized directives.
This was never allowed, but now it explicitly throws an error
rather than just producing invalid CSS.

* Make `sass --watch` not throw an error when passed a single file or directory.

* Understand that mingw counts as Windows.

## 3.0.16

[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.16).
Expand Down
2 changes: 1 addition & 1 deletion lib/haml/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def rails_safe_buffer_class
#
# @return [Boolean]
def windows?
RbConfig::CONFIG['host_os'] =~ /mswin|windows/i
RbConfig::CONFIG['host_os'] =~ /mswin|windows|mingw/i
end

## Cross-Ruby-Version Compatibility
Expand Down

0 comments on commit 01a9505

Please sign in to comment.