capistrano-symfony-doctrine 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5f71acc70be0b343f6d68128e4e49ac9cc7303b0
4
+ data.tar.gz: 5308d2b63504ba80d9cc972715cc0042485bfbbf
5
+ SHA512:
6
+ metadata.gz: 16dd69c4f51f97a7913c1e3c032e98d6368594aa3360f8139820d95fdb426b266b2fe71c08d86e6578a7d36927e99f9656fe91c5de4965490ef2515baf1e574f
7
+ data.tar.gz: 3e08a7721d80647358f67b84b15cf75249da2406534a95cfd6763a1713e7be736edbf56a50ae5bff6d6f402f3cf65766d5e23382ce7174c11208d92f243d9583
@@ -0,0 +1 @@
1
+ pkg
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in capistrano-php-fpm.gemspec
4
+ gemspec
@@ -0,0 +1,43 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ capistrano-symfony-doctrine (0.1.0)
5
+ capistrano (>= 3.1.0)
6
+ capistrano-symfony (>= 0.4.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ capistrano (3.4.0)
12
+ i18n
13
+ rake (>= 10.0.0)
14
+ sshkit (~> 1.3)
15
+ capistrano-composer (0.0.6)
16
+ capistrano (>= 3.0.0.pre)
17
+ capistrano-file-permissions (0.1.1)
18
+ capistrano (~> 3.1)
19
+ capistrano-symfony (0.4.0)
20
+ capistrano (~> 3.1)
21
+ capistrano-composer (~> 0.0.3)
22
+ capistrano-file-permissions (~> 0.1.0)
23
+ colorize (0.7.4)
24
+ i18n (0.7.0)
25
+ net-scp (1.2.1)
26
+ net-ssh (>= 2.6.5)
27
+ net-ssh (2.9.2)
28
+ rake (10.4.2)
29
+ sshkit (1.7.1)
30
+ colorize (>= 0.7.0)
31
+ net-scp (>= 1.1.2)
32
+ net-ssh (>= 2.8.0)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ bundler (~> 1.10)
39
+ capistrano-symfony-doctrine!
40
+ rake (~> 10.0)
41
+
42
+ BUNDLED WITH
43
+ 1.10.5
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 glooby
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,57 @@
1
+ # Capistrano::Symfony::Doctrine
2
+
3
+ doctrine support for Capistrano 3.x
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'capistrano', '~> 3.1.0'
11
+ gem 'capistrano-symfony'
12
+ gem 'capistrano-symfony-doctrine'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install capistrano-symfony-doctrine
22
+
23
+ ## Usage
24
+
25
+ Require in Capfile to use the default task:
26
+
27
+ ```ruby
28
+ require 'capistrano/symfony-doctrine'
29
+ ```
30
+
31
+ Configure in deploy.rb to execute the tasks:
32
+
33
+ ```ruby
34
+ before 'deploy:updated', 'symfony:doctrine:migrations'
35
+ ```
36
+
37
+ ### Configurable options:
38
+
39
+ ```ruby
40
+
41
+ ```
42
+
43
+ ## Development
44
+
45
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `capistrano-symfony-doctrine.gemspec`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
46
+
47
+ ## Contributing
48
+
49
+ 1. Fork it
50
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
51
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
52
+ 4. Push to the branch (`git push origin my-new-feature`)
53
+ 5. Create new Pull Request
54
+
55
+ ## License
56
+
57
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "capistrano-symfony-doctrine"
7
+ spec.version = '0.1.0'
8
+ spec.authors = ["Emil Kilhage"]
9
+ spec.email = ["emil.kilhage@glooby.com"]
10
+
11
+ spec.summary = %q{doctrine support for Capistrano 3.x}
12
+ spec.description = %q{doctrine support for Capistrano 3.x}
13
+ spec.homepage = "https://github.com/glooby/capistrano-symfony-doctrine"
14
+ spec.license = "MIT"
15
+
16
+ if spec.respond_to?(:metadata)
17
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
18
+ else
19
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
20
+ end
21
+
22
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+
27
+ spec.add_dependency 'capistrano', '>= 3.1.0'
28
+ spec.add_dependency 'capistrano-symfony', '>= 0.4.0'
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.10"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ end
@@ -0,0 +1 @@
1
+ load File.expand_path('../tasks/symfony-doctrine.rake', __FILE__)
@@ -0,0 +1,17 @@
1
+ namespace :symfony do
2
+ namespace :doctrine do
3
+ desc "Run app/console doctrine:migrations:migrate for the environment"
4
+ task :migrations do
5
+ on roles fetch(:symfony_doctrine_migrations_roles) do
6
+ invoke "symfony:console", "doctrine:migrations:migrate", fetch(:symfony_doctrine_migrations_flags)
7
+ end
8
+ end
9
+ end
10
+ end
11
+
12
+ namespace :load do
13
+ task :defaults do
14
+ set :symfony_doctrine_migrations_flags, '--no-interaction'
15
+ set :symfony_doctrine_migrations_roles, :db
16
+ end
17
+ end
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ bundle install
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ rake release
metadata ADDED
@@ -0,0 +1,113 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capistrano-symfony-doctrine
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Emil Kilhage
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-07-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: capistrano
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: capistrano-symfony
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.4.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 0.4.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.10'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.10'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ description: doctrine support for Capistrano 3.x
70
+ email:
71
+ - emil.kilhage@glooby.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - CODE_OF_CONDUCT.md
78
+ - Gemfile
79
+ - Gemfile.lock
80
+ - LICENSE
81
+ - README.md
82
+ - Rakefile
83
+ - capistrano-symfony-doctrine.gemspec
84
+ - lib/capistrano/symfony-doctrine.rb
85
+ - lib/capistrano/tasks/symfony-doctrine.rake
86
+ - script/bootstrap
87
+ - script/release
88
+ homepage: https://github.com/glooby/capistrano-symfony-doctrine
89
+ licenses:
90
+ - MIT
91
+ metadata:
92
+ allowed_push_host: https://rubygems.org
93
+ post_install_message:
94
+ rdoc_options: []
95
+ require_paths:
96
+ - lib
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ requirements: []
108
+ rubyforge_project:
109
+ rubygems_version: 2.4.8
110
+ signing_key:
111
+ specification_version: 4
112
+ summary: doctrine support for Capistrano 3.x
113
+ test_files: []