thematic 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thematic/tasks/thematic.rake +6 -4
- data/lib/thematic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db3b15e9ac911e792a3e1f621fb3fb7c048ad245
|
4
|
+
data.tar.gz: e11186834ec26237618775a038eb4bc67667695a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4088c4f6c119a7b10e1731bed1d700120fd18b7218af7874614d86c5a16d24c35bf15b9389f5386083b8091652c5c6e32f807c4a2c2856420bc204f3cafb1468
|
7
|
+
data.tar.gz: da3bbdbabc587e8ddd859a28519e1619544d3d8da6ddf334f051447883221cd87fb30fd02690bd050678285ce55cf31f1330f390346e03032adab7b2fc1e9f12
|
@@ -151,11 +151,12 @@ namespace :thematic do
|
|
151
151
|
assets_initializer.close
|
152
152
|
|
153
153
|
# REWRITING URLS REFERENCED IN CSS ##########
|
154
|
-
|
155
|
-
|
156
|
-
|
154
|
+
puts "Configuring images referenced in CSS..."
|
155
|
+
Dir.open("vendor/assets/stylesheets/#{theme_subfolder}").each do |filename|
|
156
|
+
next if filename[0] == "."
|
157
|
+
FileUtils.mv("vendor/assets/stylesheets/#{theme_subfolder}/#{filename}", "vendor/assets/stylesheets/#{theme_subfolder}/#{filename}.erb")
|
157
158
|
|
158
|
-
file_to_edit = "vendor/assets/stylesheets/#{theme_subfolder}
|
159
|
+
file_to_edit = "vendor/assets/stylesheets/#{theme_subfolder}/#{filename}.erb"
|
159
160
|
f = File.new(file_to_edit)
|
160
161
|
tempfile = File.open("file.tmp", 'w')
|
161
162
|
|
@@ -174,6 +175,7 @@ namespace :thematic do
|
|
174
175
|
f.close
|
175
176
|
tempfile.close
|
176
177
|
end
|
178
|
+
|
177
179
|
puts "Theme installed! Please restart your Rails server."
|
178
180
|
end
|
179
181
|
|
data/lib/thematic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thematic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay Wengrow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|