thematic 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/thematic/tasks/thematic.rake +7 -1
- data/lib/thematic/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: bd4b70c607509150311f1b0895056fdacabf638d
|
4
|
+
data.tar.gz: d0de4d9b20799fa80b7d2cb8a70ad9b9733076af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d281a896c826a80ee5e3416348ccb9403b6c71f10a5285f0be4ed7fa7f173e2b24c030d6d8e76befbb22cfa3b0a260c2234017874b52632e27e105ee0682d96
|
7
|
+
data.tar.gz: 8977ff80323b05eee48fb642905588b1fa2f0611388deffa23e8e41ce909b5e04ca602826abc8a9648cbcefebd21c380737cdeb0b772b49f42e28e5869aea58f
|
data/README.md
CHANGED
@@ -26,6 +26,8 @@ The installation only copies JavaScript from the JS folder, but if there are add
|
|
26
26
|
|
27
27
|
rake thematic:plugin[../relative/path/to/your/plugin/folder]
|
28
28
|
|
29
|
+
You can also watch a [video demo!](https://vimeo.com/126414898)
|
30
|
+
|
29
31
|
## Contributing
|
30
32
|
|
31
33
|
1. Fork it ( https://github.com/[my-github-username]/thematic/fork )
|
@@ -122,6 +122,10 @@ namespace :thematic do
|
|
122
122
|
tempfile.close
|
123
123
|
end
|
124
124
|
|
125
|
+
assets_initializer = File.open("config/initializers/assets.rb", 'a')
|
126
|
+
assets_initializer << "Rails.application.config.assets.paths << Rails.root.join('app', 'assets', 'fonts')"
|
127
|
+
assets_initializer.close
|
128
|
+
|
125
129
|
# REWRITING URLS REFERENCED IN CSS ##########
|
126
130
|
if File.exist?("vendor/assets/stylesheets/#{theme_subfolder}/style.css")
|
127
131
|
puts "Configuring images referenced in CSS..."
|
@@ -145,7 +149,7 @@ namespace :thematic do
|
|
145
149
|
f.close
|
146
150
|
tempfile.close
|
147
151
|
end
|
148
|
-
puts "Theme installed!"
|
152
|
+
puts "Theme installed! Please restart your Rails server."
|
149
153
|
end
|
150
154
|
|
151
155
|
task :plugin, [:filepath] do |task, args|
|
@@ -203,6 +207,8 @@ namespace :thematic do
|
|
203
207
|
f.close
|
204
208
|
tempfile.close
|
205
209
|
sourcefile.close
|
210
|
+
|
211
|
+
puts "Theme template installed!"
|
206
212
|
end
|
207
213
|
|
208
214
|
end
|
data/lib/thematic/version.rb
CHANGED