sibu 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/sibu/dynamic_style.rb +0 -6
- data/lib/sibu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f21c0e57d197aef9ccc58d6550ec76528dae4734
|
4
|
+
data.tar.gz: 2eb5f3f77327aa5033975dfa7bf97d78d4688789
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1043883196cda560f8ae664d68543c5f4489b10d14274ac3a9a99f89775f906a0c7a119c3d27e9192a9716fe821ce97b3eb8da92d0cd465c3795e9951fbb4d8
|
7
|
+
data.tar.gz: 2f7447ce56ee95d3e4fd8f888ee1e487195778d25d6427f47af6557eed1007eb58c8eb2768b72a4a3950ff7a8516f2ad13bdbe2baf194987bf8043eea915fbd3
|
@@ -16,17 +16,11 @@ module Sibu
|
|
16
16
|
|
17
17
|
begin
|
18
18
|
scss_file.write generate_css
|
19
|
-
logger.info "Generated scss file"
|
20
19
|
scss_file.flush
|
21
|
-
logger.info "flushed"
|
22
20
|
scss_file.close
|
23
|
-
logger.info "closed"
|
24
21
|
css_file_path = scss_file_path.gsub('scss', 'css')
|
25
|
-
logger.info "Generated css file : #{css_file_path}"
|
26
22
|
File.rename(scss_file_path, css_file_path)
|
27
|
-
logger.info "File renamed"
|
28
23
|
site.update(style: File.new(css_file_path))
|
29
|
-
logger.info "Style updated"
|
30
24
|
rescue Exception => ex
|
31
25
|
logger.error(ex)
|
32
26
|
ensure
|
data/lib/sibu/version.rb
CHANGED