ymdp 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -290,7 +290,7 @@ module YMDP
290
290
  if filename
291
291
  options[:filename] = filename
292
292
  end
293
- ::Sass::Engine.new(template, options).render(self) do
293
+ ::Sass::Engine.new(template, options).render do
294
294
  yield
295
295
  end
296
296
  end
@@ -400,10 +400,9 @@ module YMDP
400
400
  filename.gsub!(/\.css$/, "")
401
401
  f = "#{BASE_PATH}/app/stylesheets/#{filename}.css"
402
402
  if !File.exists?(f)
403
- f = "#{BASE_PATH}/app/stylesheets/#{filename}.scss"
404
- else
405
- $stdout.puts("Could not find #{filename}.css or #{filename}.scss")
403
+ f = "#{BASE_PATH}/app/stylesheets/#{filename}"
406
404
  end
405
+ f
407
406
  end
408
407
 
409
408
  output = combine_files(filenames)
@@ -429,7 +428,7 @@ module YMDP
429
428
  def render_without_compression(path="", tags=true)
430
429
  path ||= ""
431
430
  output = ""
432
-
431
+
433
432
  if File.exists?("#{path}.coffee")
434
433
  path = "#{path}.coffee"
435
434
  $stdout.puts("Parsing #{path}")
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ymdp"
8
- s.version = "1.3.0"
8
+ s.version = "1.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Isaac Priestley"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ymdp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 0
10
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Isaac Priestley