heroku_tasks 0.1.0 → 0.1.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/lib/heroku_tasks/version.rb +1 -1
- data/lib/tasks/deploy.rake +4 -2
- metadata +4 -4
data/lib/heroku_tasks/version.rb
CHANGED
data/lib/tasks/deploy.rake
CHANGED
|
@@ -5,8 +5,10 @@ namespace :deploy do
|
|
|
5
5
|
system "bundle exec jammit -u #{HerokuTasks.production_url} -f"
|
|
6
6
|
|
|
7
7
|
Dir.glob("public/assets/*.css").each do |file|
|
|
8
|
-
|
|
9
|
-
buffer
|
|
8
|
+
buffer = File.new(file,'r').read
|
|
9
|
+
buffer.gsub!(/@media all and\(/,"@media all and (")
|
|
10
|
+
buffer.gsub!(/@media screen and\(/,"@media screen and (")
|
|
11
|
+
buffer.gsub!(/@media print and\(/,"@media print and (")
|
|
10
12
|
File.open(file,'w') {|fw| fw.write(buffer)}
|
|
11
13
|
end
|
|
12
14
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heroku_tasks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Thibaud Guillaume-Gentil
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-
|
|
18
|
+
date: 2010-09-01 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|