caboose-cms 0.2.98 → 0.2.99

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTllOTM4NTc2MzRmMjczYjE2Mzk5ZTRhZTc0ODM5ZTBiNjc1YjY5OA==
4
+ ZjZhMDhjMzMyMGJmOTFhMTFiOWRkNGZkNTMwYTE3ZDFiOGFiMGNiNg==
5
5
  data.tar.gz: !binary |-
6
- ZmIwNzdmZmRiMWEzNTc2YmU2NTQ5NmI2MGQzMjMxMjk0MzE4OTIzMg==
6
+ NTdhMmRjOGZhYjhhNzJiMWVkODUyY2Y0ZTUxNDEyMTY5NjIxM2YzNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGMxNGMyYmQwMDQ4ODAxM2VlNWI3NzE0OWY1MjQ2YzVlNDA2NTJjZDVmMTAw
10
- N2UzYzFkYzE4NjdmZDZhYTg0OTdkOTJlNDA1Yzc1MzJlZTQ1MTNlMzYwM2Nh
11
- MzExNDRmM2E2MjE5M2U4ZjdmNjg0YzJmYjVmNjg0MzUwZTIwZGE=
9
+ NjUwMjM5ZTk4ZjhiNmU0ODZmNTNkYTI3M2M0N2U3MDc4YzcyMDU3Nzk0MmU2
10
+ ZWM4NDJjOTIwMWIxZDc0OTg5ZDk3ZTAwMzlkNjY1MTYzNTQ3ZTM1ZjljMjky
11
+ ZDg2NTM4MWQxMDZmZTllODEzZmJlODRhNzJlM2Y0MjcxNGI0MmI=
12
12
  data.tar.gz: !binary |-
13
- YTVlZTVlYTlhNThmNjg1YTI3NzRiOWMyYWZiOGQzMzFiOWI0OGJmMTliNTRl
14
- ODQ2MTE4Y2M4ZjgyZGZkOTJkYmQxM2ViYmFmMTVjZDUxYWZlZjVhYjNiMjI3
15
- NWRjZDYwOTFkYWI0ZGFlM2ZmZDk1YjBlMTgwMWI4NzkxM2NlNWQ=
13
+ ZWE4N2IwOTExYzBlMTE5ODRiODQ0YWZiZGYyZmQxM2FmZTgxNmY5MDk3ZjVh
14
+ Zjg0MmJiZjFlOGUwNjYyOWZhZWRlNDE0Mjg1YmUwZDdhNjFmMTBmZWJlNWM1
15
+ NGFmMjZmMGQyNzVkOTY3ODI3OThhYmM2YmMyZDZmOWNmMThiZTQ=
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.2.98'
2
+ VERSION = '0.2.99'
3
3
  end
@@ -45,5 +45,20 @@ namespace :caboose do
45
45
  `pg_restore --verbose --clean --no-acl --no-owner -h #{ddb['host']} -U #{ddb['username']} -d #{ddb['database']} #{dump_file}`
46
46
 
47
47
  end
48
+
49
+ end
50
+
51
+ namespace :assets do
52
+
53
+ desc "Precompile assets, upload to S3, then remove locally"
54
+ task :purl => :environment do
55
+
56
+ Rake::Task['assets:precompile'].invoke
57
+ `mv #{Rails.root.join('public', 'assets', 'manifest.yml')} #{Rails.root.join('public', 'manifest.yml')}`
58
+ `rm -rf #{Rails.root.join('public', 'assets')}`
59
+ `mkdir #{Rails.root.join('public', 'assets')}`
60
+ `mv #{Rails.root.join('public', 'manifest.yml')} #{Rails.root.join('public', 'assets', 'manifest.yml')}`
61
+
62
+ end
48
63
 
49
64
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.98
4
+ version: 0.2.99
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-06 00:00:00.000000000 Z
11
+ date: 2013-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails