chriseppstein-compass 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/compass.gemspec +2 -2
- data/lib/compass/commands/watch_project.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.1
|
data/compass.gemspec
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = %q{compass}
|
|
3
|
-
s.version = "0.5.
|
|
3
|
+
s.version = "0.5.1"
|
|
4
4
|
|
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
6
6
|
s.authors = ["Chris Eppstein"]
|
|
7
|
-
s.date = %q{2009-02-
|
|
7
|
+
s.date = %q{2009-02-25}
|
|
8
8
|
s.default_executable = %q{compass}
|
|
9
9
|
s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
|
|
10
10
|
s.email = %q{chris@eppsteins.net}
|
|
@@ -38,13 +38,13 @@ module Compass
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def most_recent_update_time
|
|
41
|
-
Dir.glob(separate("#{
|
|
41
|
+
Dir.glob(separate("#{projectize(Compass.configuration.sass_dir)}/**/*.sass")).map {|sass_file| File.stat(sass_file).mtime}.max
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
def should_update?
|
|
45
45
|
t = most_recent_update_time
|
|
46
46
|
if t > last_update_time
|
|
47
|
-
file = Dir.glob(separate("#{
|
|
47
|
+
file = Dir.glob(separate("#{projectize(Compass.configuration.sass_dir)}/**/*.sass")).detect {|sass_file| File.stat(sass_file).mtime >= t}
|
|
48
48
|
[file, t]
|
|
49
49
|
end
|
|
50
50
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chriseppstein-compass
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Eppstein
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-02-
|
|
12
|
+
date: 2009-02-25 00:00:00 -08:00
|
|
13
13
|
default_executable: compass
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|