obbistrano 1.1.56 → 1.1.57

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.
@@ -461,7 +461,8 @@ Capistrano::Configuration.instance(:must_exist).load do
461
461
  namespace :bundle do
462
462
 
463
463
  task :css, :roles => [:web] do
464
- paths = get_top_level_directories("#{build_to}/public/stylesheets") | get_top_level_directories("#{build_to}/plugins/cms/resources/public/stylesheets")
464
+ paths = get_top_level_directories("#{build_to}/public/stylesheets")
465
+ paths = paths | get_top_level_directories("#{build_to}/plugins/cms/resources/public/stylesheets") if defined? "#{cms}"
465
466
  paths << "#{build_to}/public/stylesheets/"
466
467
  Dir.mkdir("#{build_to}/public/stylesheets/build") rescue ""
467
468
  paths.each do |bundle_directory|
@@ -481,7 +482,8 @@ Capistrano::Configuration.instance(:must_exist).load do
481
482
  end
482
483
 
483
484
  task :js , :roles => [:web] do
484
- paths = get_top_level_directories("#{build_to}/public/javascripts") | get_top_level_directories("#{build_to}/plugins/cms/resources/public/javascripts")
485
+ paths = get_top_level_directories("#{build_to}/public/javascripts")
486
+ paths = paths | get_top_level_directories("#{build_to}/plugins/cms/resources/public/javascripts") if defined? "#{cms}"
485
487
  paths << "#{build_to}/public/javascripts/"
486
488
  Dir.mkdir("#{build_to}/public/javascripts/build") rescue ""
487
489
  paths.each do |bundle_directory|
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.56"
5
+ s.version = "1.1.57"
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
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- hash: 99
4
+ hash: 97
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 56
10
- version: 1.1.56
9
+ - 57
10
+ version: 1.1.57
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ross Riley