githubbish_assets 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{githubbish_assets}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Oleg Dashevskii"]
12
- s.date = %q{2011-01-30}
12
+ s.date = %q{2011-02-01}
13
13
  s.description = %q{Github style assets bundling in a Rails 3 engine}
14
14
  s.email = %q{olegdashevski@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  "VERSION",
27
27
  "githubbish_assets.gemspec",
28
28
  "lib/githubbish_assets.rb",
29
+ "lib/githubbish_assets/capistrano.rb",
29
30
  "lib/githubbish_assets/helper.rb",
30
31
  "lib/githubbish_assets/lister.rb",
31
32
  "lib/githubbish_assets/packer.rb",
@@ -0,0 +1,8 @@
1
+ namespace :deploy do
2
+ desc "Shrink and bundle js and css"
3
+ task :bundle, :roles => :web, :except => { :no_release => true } do
4
+ run "cd #{release_path}; RAILS_ROOT=#{release_path} #{fetch(:rake, 'rake')} ghbundle:all RAILS_ENV=#{fetch(:rails_env, 'production')}"
5
+ end
6
+ end
7
+
8
+ after "deploy:update_code", "deploy:bundle"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githubbish_assets
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Oleg Dashevskii
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-30 00:00:00 +06:00
18
+ date: 2011-02-01 00:00:00 +06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -127,6 +127,7 @@ files:
127
127
  - VERSION
128
128
  - githubbish_assets.gemspec
129
129
  - lib/githubbish_assets.rb
130
+ - lib/githubbish_assets/capistrano.rb
130
131
  - lib/githubbish_assets/helper.rb
131
132
  - lib/githubbish_assets/lister.rb
132
133
  - lib/githubbish_assets/packer.rb