capun 0.0.1 → 0.0.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: a2a2aa39992b1871940909998ca236757f1cd4f8
4
- data.tar.gz: 021cd0fd56fbee637fe0a12b27e466fb2e4d031c
3
+ metadata.gz: 80bc86df6d8fcf58d07dacc0f6874dcc643ae184
4
+ data.tar.gz: a12470dffb7ea931b301d8fa1d5032064b92a17b
5
5
  SHA512:
6
- metadata.gz: 74046b4766512b64e683d0afef02148c0bde3e061f467140807901ede5f1cc865798ae42794d530a4782ddd4a9acb74884c95223a17c403f66683f018bd8dbb4
7
- data.tar.gz: 09c792840e76066441b7f50135b8e33b4c3281b2e17b5fad08f645899c10040d296cf167f31db1eec5cc1c89643ba9072069fec45898a12bf4b3623fd2570032
6
+ metadata.gz: e51d2366d3f998e25a7c2f905d8dd40bb99601575f4ddc40c8cfd4c4d5a9fdc4bf3515470af31e20cd41bc5cc87a8393b8b430f19e254fe46b1235bd62644604
7
+ data.tar.gz: 3cb20599c6914624ceef6b4a606d76aa49af08ca9a437c0ad5f3548090de638af3508b40df4146af5f529dc24a39e5252a689a196268967e30b9399c2c1cd649
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  ###Prerequisites
5
5
 
6
6
  We expect you to have the following things setup before you run `cap staging|production|beta|etc deploy`:
7
- * linux server with a ssh user who would own a project (see the wiki page for instuctions on how to configure a user)
7
+ * linux server with a ssh user who would own a project (see the wiki page for instructions on how to configure a user)
8
8
  * `nginx` installed in the `/etc/nginx` directory
9
9
  * dedicated host (e.g. `beta.example.com`)
10
10
  * `unicorn` gem added to a `Gemfile`
@@ -13,9 +13,9 @@ We expect you to have the following things setup before you run `cap staging|pro
13
13
 
14
14
  ### Getting started
15
15
 
16
- Deployer works with Rails 4.0 onwards. You can add it to your Gemfile with:
16
+ Capun works with Rails 4.0 onwards. You can add it to your Gemfile with:
17
17
 
18
- <pre><code>gem 'devise', group: :development
18
+ <pre><code>gem 'capun', group: :development
19
19
  \#add unicorn as well, as we use it as application server
20
20
  gem 'unicorn', group: :production
21
21
  </pre></code>
data/capun.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Ivan Zamylin"]
10
10
  spec.email = ["zamylin@yandex.ru"]
11
11
  spec.summary = %q{Opinionated Rails deployment solution with CAPistrano, Unicorn and Nginx.}
12
- spec.description = %q{Opinionated Rails deployment solution with CAPistrano, Unicorn and Nginx.}
13
- spec.homepage = "http://oblakogroup.ru"
12
+ spec.description = %q{Opinionated Rails deployment solution with CAPistrano, Unicorn and Nginx. It helps to make deployment easily, but preserves all the power of capistrano.}
13
+ spec.homepage = "https://github.com/zamylin/capun"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.5"
22
- spec.add_development_dependency "rake"
23
- spec.add_dependency "capistrano"
24
- spec.add_dependency "capistrano-rails"
25
- spec.add_dependency "rvm1-capistrano3"
26
- spec.add_dependency "capistrano-bundler"
27
- spec.add_dependency "capistrano3-unicorn"
22
+ spec.add_development_dependency "rake", "~> 10.1"
23
+ spec.add_dependency "capistrano", "~> 3.1"
24
+ spec.add_dependency "capistrano-rails", "~> 1.1"
25
+ spec.add_dependency "rvm1-capistrano3", "~> 1.2"
26
+ spec.add_dependency "capistrano-bundler", "~> 1.1"
27
+ spec.add_dependency "capistrano3-unicorn", "~> 0.1"
28
28
  end
data/lib/capun/setup.rb CHANGED
@@ -17,6 +17,8 @@ set :unicorn_config_path, -> { "#{shared_path}/config/unicorn.config.rb" }
17
17
 
18
18
  set :uploads, []
19
19
  set :std_uploads, [
20
+ #basic_authenticatable.rb
21
+ {what: "config/application.yml", where: '#{shared_path}/config/application.yml'},
20
22
  #basic_authenticatable.rb
21
23
  {what: "config/deploy/basic_authenticatable.rb.erb", where: '#{release_path}/app/controllers/concerns/basic_authenticatable.rb'},
22
24
  #nginx.conf
@@ -32,7 +34,8 @@ set :std_uploads, [
32
34
  set :symlinks, []
33
35
  set :std_symlinks, [
34
36
  {what: "nginx.conf", where: '/etc/nginx/sites-enabled/#{fetch(:application)}'},
35
- {what: "database.yml", where: '#{release_path}/config/database.yml'}
37
+ {what: "database.yml", where: '#{release_path}/config/database.yml'},
38
+ {what: "application.yml", where: '#{release_path}/config/application.yml'}
36
39
  ]
37
40
 
38
41
  before 'deploy', 'rvm1:install:rvm' # install/update RVM
data/lib/capun/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Capun
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Zamylin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-25 00:00:00.000000000 Z
11
+ date: 2014-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,87 +28,88 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '10.1'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '10.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: capistrano
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '3.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: capistrano-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '1.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '1.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rvm1-capistrano3
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '1.2'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '1.2'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: capistrano-bundler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '1.1'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '1.1'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: capistrano3-unicorn
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '0.1'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '0.1'
111
111
  description: Opinionated Rails deployment solution with CAPistrano, Unicorn and Nginx.
112
+ It helps to make deployment easily, but preserves all the power of capistrano.
112
113
  email:
113
114
  - zamylin@yandex.ru
114
115
  executables: []
@@ -133,7 +134,7 @@ files:
133
134
  - lib/generators/capun/templates/nginx.conf.erb
134
135
  - lib/generators/capun/templates/stage.rb.erb
135
136
  - lib/generators/capun/templates/unicorn.config.rb.erb
136
- homepage: http://oblakogroup.ru
137
+ homepage: https://github.com/zamylin/capun
137
138
  licenses:
138
139
  - MIT
139
140
  metadata: {}