capifony 2.4.1 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77efc5f01473a9700f7ff156b1be77deb7367c2a
4
- data.tar.gz: 18c3ef1bece626e2c7c8ec3a7cf7f76bb97be797
3
+ metadata.gz: e6f781a5144c1c21a72540ff49825d83a3546512
4
+ data.tar.gz: cd681575238c59a92a96fae6198cadc06b31279b
5
5
  SHA512:
6
- metadata.gz: 6eadfe24b25fc181e2aa5c6015ca3e02e80f5fbb9f68f58e95cd19ff65a735d6ecc228dd39f47ed2c99cbdf91b3a747abea27b56f485f7cb29f09418ebd1f8a1
7
- data.tar.gz: 60f99b48345edf40167d702e1a24ac51ad67ce0dd7953fdec7b848453f3b841b2fb97636157b6238a12b1032a42d80d05aa1cf727e0a1bd2ffd40757c9028428
6
+ metadata.gz: 8cdc5e00e554a3007b48fcfd02cfd3ee478fae0232bf660f133ffe8f5faa5ec8820f39aa7e3bb6172d9d819aa12c10e64168c52a0466725a683260f188c4ae90
7
+ data.tar.gz: d9aabff9538a01c7c939a714d7370b5a0e7bff29faaf0db43843edb8ff5a08fdce5de66be2d3f364c3951a14ec382c6bfc9965c59ddb079c009e40c6aa6c31c2
@@ -1,3 +1,10 @@
1
+ ### 2.4.2 / January 7, 2014
2
+
3
+ * Fixed: add null value(tylda) to regular expression (#447)
4
+ * Fixed: move set_permission task after cache warmup (#443, #453)
5
+ * Removed: unneeded overwrite of assetic `write_to` parameter when dumping
6
+ assets (#451)
7
+
1
8
  ### 2.4.1 / November 19, 2013
2
9
 
3
10
  * Fixed: Set facl permissions only once
@@ -5,7 +5,7 @@ require 'fileutils'
5
5
 
6
6
  symfony_version = nil
7
7
  symfony_app_path = 'app'
8
- capifony_version = '2.4.1'
8
+ capifony_version = '2.4.2'
9
9
 
10
10
  OptionParser.new do |opts|
11
11
  opts.banner = "Usage: #{File.basename($0)} [path]"
@@ -294,10 +294,6 @@ module Capifony
294
294
  end
295
295
  end
296
296
 
297
- if use_set_permissions
298
- symfony.deploy.set_permissions
299
- end
300
-
301
297
  if model_manager == "propel"
302
298
  symfony.propel.build.model
303
299
  end
@@ -330,6 +326,11 @@ module Capifony
330
326
  end
331
327
  symfony.project.clear_controllers
332
328
  end
329
+
330
+ if use_set_permissions
331
+ # Set permissions after all cache files have been created
332
+ symfony.deploy.set_permissions
333
+ end
333
334
  end
334
335
 
335
336
  before "deploy:update_code" do
@@ -29,7 +29,7 @@ namespace :symfony do
29
29
  task :update_version, :roles => :app, :except => { :no_release => true } do
30
30
  capifony_pretty_print "--> Updating assets version (in config.yml)"
31
31
 
32
- run "#{try_sudo} sed -i 's/\\(assets_version:[ ]*\\)\\([a-zA-Z0-9_]*\\)\\(.*\\)$/\\1#{real_revision.to_s[0,7]}\\3/g' #{latest_release}/#{app_config_path}/config.yml"
32
+ run "#{try_sudo} sed -i 's/\\(assets_version:[ ]*\\)\\([a-zA-Z0-9_~]*\\)\\(.*\\)$/\\1#{real_revision.to_s[0,7]}\\3/g' #{latest_release}/#{app_config_path}/config.yml"
33
33
  capifony_puts_ok
34
34
  end
35
35
 
@@ -57,7 +57,7 @@ namespace :symfony do
57
57
  task :dump, :roles => :app, :except => { :no_release => true } do
58
58
  capifony_pretty_print "--> Dumping all assets to the filesystem"
59
59
 
60
- run "#{try_sudo} sh -c 'cd #{latest_release} && #{php_bin} #{symfony_console} assetic:dump #{console_options} #{latest_release}/#{web_path}'"
60
+ run "#{try_sudo} sh -c 'cd #{latest_release} && #{php_bin} #{symfony_console} assetic:dump #{console_options}'"
61
61
  capifony_puts_ok
62
62
  end
63
63
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capifony
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Kudryashov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-19 00:00:00.000000000 Z
12
+ date: 2014-01-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  requirements: []
142
142
  rubyforge_project: capifony
143
- rubygems_version: 2.0.3
143
+ rubygems_version: 2.1.11
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Deploying symfony PHP applications with Capistrano.