obbistrano 1.1.147 → 1.1.148
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/obbistrano_tasks.rb +1 -3
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
|
@@ -522,8 +522,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
522
522
|
Dir.mkdir("#{build_to}/public/stylesheets/build") rescue ""
|
|
523
523
|
paths.each do |bundle_directory|
|
|
524
524
|
bundle_name = bundle_directory.gsub("#{build_to}/", "").gsub("plugins/", "").gsub("/resources/public/stylesheets", "").gsub("public/stylesheets/", "")
|
|
525
|
-
pretty_print "--> Adding Bundle: #{bundle_name}"
|
|
526
|
-
puts_ok
|
|
527
525
|
next if bundle_name.empty?
|
|
528
526
|
files = recursive_file_list(bundle_directory, ".css")
|
|
529
527
|
next if files.empty? || bundle_name == 'dev'
|
|
@@ -533,7 +531,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
533
531
|
end
|
|
534
532
|
target = "#{build_to}/public/stylesheets/build/#{bundle_name}_combined.css"
|
|
535
533
|
File.open(target, 'w') { |f| f.write(bundle) }
|
|
536
|
-
pretty_print "--> Created File: #{target}"
|
|
534
|
+
pretty_print "--> Created Bundle File: #{target}"
|
|
537
535
|
puts_ok
|
|
538
536
|
end
|
|
539
537
|
else
|
data/obbistrano.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{obbistrano}
|
|
5
|
-
s.version = "1.1.
|
|
5
|
+
s.version = "1.1.148"
|
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
|
7
7
|
s.date = Time.now
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|