capifony 2.6.0 → 2.7.0

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: 1fa99fc5b5f004ec80818f553f487295b2f753d9
4
- data.tar.gz: e60758b6f8207fb374f3cc4ac2be8d2e3534d934
3
+ metadata.gz: b168e07e1c173b358ed5cdb9467fb690d5085a9e
4
+ data.tar.gz: 155fd4a31fe4e3b0ca319abc9bdbb3e687718d6e
5
5
  SHA512:
6
- metadata.gz: 0e2b2a47913ccc5b73dbdebcd3c2e16b08578ce1a21c537c1850e363ee1afb131090521259d170d65ea020501c2238f0b6479d35d052cfc37ab710deb4c40b30
7
- data.tar.gz: ea084b66d208d806956edf9954c49da22163d81705b4ead24f47541bde565ff950eae4385582c4c9bf5bb59a717f1495f18948f4014cd1d16c2334d768fae5f2
6
+ metadata.gz: 0cd77b0fa8b14b7b5c9b09dc3800a8153533e5baa0ab5cc1819124f7618c16dcd5912b5dc1da82c679626897bd550cc17da507fc69bf018d91b7a88525070b8d
7
+ data.tar.gz: 610507812169e062fc095fb71c8aec2d01df0683c7d4de4b82ff920fc7e3e9f12acd461a01dfb66c002855729bc0c6360bffa15a429df06dab6edc3fec86d612
@@ -1,3 +1,7 @@
1
+ ### 2.7.0 / May 16, 2014
2
+
3
+ * Added: support for command `doctrine:mongodb:fixtures:load`
4
+
1
5
  ### 2.6.0 / April 9, 2014
2
6
 
3
7
  * Added: `no_release` for symfony1 `publish_assets`
@@ -5,7 +5,7 @@ require 'fileutils'
5
5
 
6
6
  symfony_version = nil
7
7
  symfony_app_path = 'app'
8
- capifony_version = '2.6.0'
8
+ capifony_version = '2.7.0'
9
9
 
10
10
  OptionParser.new do |opts|
11
11
  opts.banner = "Usage: #{File.basename($0)} [path]"
@@ -159,6 +159,14 @@ namespace :symfony do
159
159
  end
160
160
  end
161
161
  end
162
+
163
+ desc "Load data fixtures"
164
+ task :load_fixtures, :roles => :app, :except => { :no_release => true } do
165
+ if !interactive_mode || Capistrano::CLI.ui.agree("Careful, database will be purged. Do you want to continue? (Y/N)")
166
+ run "#{try_sudo} sh -c 'cd #{latest_release} && #{php_bin} #{symfony_console} doctrine:mongodb:fixtures:load --no-interaction #{console_options}'", :once => true
167
+ end
168
+ capifony_puts_ok
169
+ end
162
170
  end
163
171
 
164
172
  namespace :init do
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.6.0
4
+ version: 2.7.0
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: 2014-04-09 00:00:00.000000000 Z
12
+ date: 2014-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano