capistrano-ash 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.3.1
2
+ * Added additional variable (:skip_compass_compile) to skip the compilation and just upload stylesheets (useful for our upcoming Wraith theme)
3
+ * Namespaced the commands within `compass:defualt` to avoid any future conflicts
4
+
1
5
  == 1.3.0
2
6
  * Version bump! - Adds tasks for compiling Sass/compass stylesheets and make it part of the deployment task chain. Although it's part of the task chain, it will only be ran if the `:compass_watched_dirs` is defined
3
7
 
data/Rakefile CHANGED
@@ -4,13 +4,19 @@ require 'rake'
4
4
  begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gemspec|
7
- gemspec.name = "capistrano-ash"
8
- gemspec.summary = "Useful task libraries for August Ash recipes for Capistrano"
7
+ gemspec.name = "capistrano-ash"
8
+ gemspec.summary = "Useful task libraries for August Ash recipes for Capistrano"
9
9
  gemspec.description = "August Ash recipes for Capistrano"
10
- gemspec.email = "code@augustash.com"
11
- gemspec.homepage = "https://github.com/augustash/capistrano-ash"
12
- gemspec.authors = ["August Ash"]
10
+ gemspec.email = "code@augustash.com"
11
+ gemspec.homepage = "https://github.com/augustash/capistrano-ash"
12
+ gemspec.authors = ["August Ash"]
13
+ # Gem dependencies
14
+ gemspec.add_dependency('capistrano', '>= 2.12.0')
15
+ gemspec.add_dependency('capistrano-ext')
16
+ gemspec.add_dependency('railsless-deploy')
17
+ gemspec.add_dependency('capistrano_colors')
18
+
13
19
  end
14
20
  rescue LoadError
15
21
  puts "Jeweler not available. Install it with: gem install jeweler"
16
- end
22
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
data/lib/ash/base.rb CHANGED
@@ -436,8 +436,11 @@ configuration.load do
436
436
  namespace :compass do
437
437
  desc "Compile SASS stylesheets and upload to remote server"
438
438
  task :default do
439
- compile
440
- upload_stylesheets
439
+ # optional way to skip compiling of stylesheets and just upload them to the servers
440
+ skip_compass_compile = fetch(:skip_compass_compile, false)
441
+
442
+ compass.compile unless skip_compass_compile
443
+ compass.upload_stylesheets
441
444
  ash.fixperms
442
445
  end
443
446
 
@@ -484,9 +487,11 @@ configuration.load do
484
487
 
485
488
  desc 'Compile minified version of CSS assets using Compass gem'
486
489
  task :compile, :roles => :web, :except => { :no_release => true } do
487
- watched_dirs = fetch(:compass_watched_dirs, nil)
490
+ watched_dirs = fetch(:compass_watched_dirs, nil)
491
+ skip_compass_compile = fetch(:skip_compass_compile, false)
488
492
 
489
- if !watched_dirs.nil?
493
+
494
+ if !watched_dirs.nil? && skip_compass_compile == false
490
495
  compass_bin_local = find_compass_bin_path
491
496
  compass_bin = fetch(:compass_bin, compass_bin_local)
492
497
  compass_env = fetch(:compass_env, "production")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-ash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,72 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-15 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2013-02-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: capistrano
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.12.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.12.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: capistrano-ext
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: railsless-deploy
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: capistrano_colors
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
14
78
  description: August Ash recipes for Capistrano
15
79
  email: code@augustash.com
16
80
  executables: []
@@ -22,7 +86,6 @@ files:
22
86
  - README.textile
23
87
  - Rakefile
24
88
  - VERSION
25
- - capistrano-ash.gemspec
26
89
  - lib/ash/base.rb
27
90
  - lib/ash/common.rb
28
91
  - lib/ash/drupal.rb
@@ -1,49 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "capistrano-ash"
8
- s.version = "1.3.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["August Ash"]
12
- s.date = "2013-02-15"
13
- s.description = "August Ash recipes for Capistrano"
14
- s.email = "code@augustash.com"
15
- s.extra_rdoc_files = [
16
- "README.textile"
17
- ]
18
- s.files = [
19
- "CHANGELOG.rdoc",
20
- "README.textile",
21
- "Rakefile",
22
- "VERSION",
23
- "capistrano-ash.gemspec",
24
- "lib/ash/base.rb",
25
- "lib/ash/common.rb",
26
- "lib/ash/drupal.rb",
27
- "lib/ash/drupal_shared_hosting.rb",
28
- "lib/ash/hosted_magento.rb",
29
- "lib/ash/magento.rb",
30
- "lib/ash/wordpress.rb",
31
- "lib/ash/wordpress_shared_hosting.rb",
32
- "lib/ash/zend_doctrine.rb",
33
- "lib/ash/zend_doctrine_shared_hosting.rb"
34
- ]
35
- s.homepage = "https://github.com/augustash/capistrano-ash"
36
- s.require_paths = ["lib"]
37
- s.rubygems_version = "1.8.24"
38
- s.summary = "Useful task libraries for August Ash recipes for Capistrano"
39
-
40
- if s.respond_to? :specification_version then
41
- s.specification_version = 3
42
-
43
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
- else
45
- end
46
- else
47
- end
48
- end
49
-