obbistrano 1.1.106 → 1.1.107

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.
@@ -509,9 +509,9 @@ Capistrano::Configuration.instance(:must_exist).load do
509
509
  end
510
510
  Dir.mkdir("#{build_to}/public/stylesheets/build") rescue ""
511
511
  paths.each do |bundle_directory|
512
- pretty_print "--> directory: #{bundle_directory}\n"
513
512
  bundle_name = bundle_directory.gsub("#{build_to}/", "").gsub("plugins/", "").gsub("/resources/public/stylesheets", "").gsub("public/stylesheets/", "")
514
- pretty_print "--> bundle name: #{bundle_name}\n"
513
+ pretty_print "--> bundle name: #{bundle_name}"
514
+ puts_ok
515
515
  next if bundle_name.empty?
516
516
  files = recursive_file_list(bundle_directory, ".css")
517
517
  next if files.empty? || bundle_name == 'dev'
@@ -542,6 +542,7 @@ Capistrano::Configuration.instance(:must_exist).load do
542
542
  File.open(target, 'w') { |f| f.write(bundle) }
543
543
  end
544
544
  end
545
+ pretty_print "--> Uploading CSS build files"
545
546
  upload "#{build_to}/public/stylesheets/build", "#{deploy_to}/public/stylesheets/", :via => :scp, :recursive=>true
546
547
  puts_ok
547
548
  end
@@ -551,17 +552,16 @@ Capistrano::Configuration.instance(:must_exist).load do
551
552
  if defined? "#{plugins}"
552
553
  plugins.each do |plugin|
553
554
  pretty_print "--> plugin: #{plugin}"
555
+ puts_ok
554
556
  paths << "#{build_to}/plugins/#{plugin}/resources/public/javascripts"
555
557
  end
556
558
  end
557
- paths.each do |path|
558
- pretty_print "--> folders: #{path}".green
559
- end
559
+
560
560
  Dir.mkdir("#{build_to}/public/javascripts/build") rescue ""
561
561
  paths.each do |bundle_directory|
562
- pretty_print "--> directory: #{bundle_directory}\n"
563
562
  bundle_name = bundle_directory.gsub("#{build_to}/", "").gsub("plugins/", "").gsub("/resources/public/javascripts", "").gsub("public/javascripts/", "")
564
- pretty_print "--> bundle name: #{bundle_name}\n"
563
+ pretty_print "--> bundle name: #{bundle_name}"
564
+ puts_ok
565
565
  next if bundle_name.empty?
566
566
  files = recursive_file_list(bundle_directory, ".js")
567
567
  next if files.empty? || bundle_name == 'dev'
@@ -590,6 +590,7 @@ Capistrano::Configuration.instance(:must_exist).load do
590
590
  File.open(target, 'w') { |f| f.write(bundle) }
591
591
  end
592
592
  end
593
+ pretty_print "--> Uploading javascript build files"
593
594
  upload "#{build_to}/public/javascripts/build", "#{deploy_to}/public/javascripts/", :via => :scp, :recursive=>true
594
595
  puts_ok
595
596
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.106"
5
+ s.version = "1.1.107"
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=
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 106
9
- version: 1.1.106
8
+ - 107
9
+ version: 1.1.107
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ross Riley