teleporter 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/lib/generators/teleport/capistrano.rb +9 -10
- data/lib/teleporter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b01ddac0edef1bfe69ecee1290b03584b572e9f
|
4
|
+
data.tar.gz: e5699c0127fea6fbc1971f771624b615c3f73b0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6dae8a4529f6ded6a7ff0fe0c9d7ea4ee7f97879150a809d56ee691c53bab623f43648aaa103733a566e7d9847e070c7d4080d04ea1ed51ff0e6401cd3648c6
|
7
|
+
data.tar.gz: 1145f1b4ebdada6c7a2094cda21646ca0049d0a780046e3118b718b9290d2348a3f92bcf95461e348ea8bbefcd24909a85eef549fca321e5084e2cda7b8c7495
|
data/CHANGELOG.md
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
[https://github.com/
|
1
|
+
[https://github.com/evncom/teleporter/releases](https://github.com/evncom/teleporter/releases)
|
2
|
+
|
@@ -8,7 +8,7 @@ module Teleport
|
|
8
8
|
gem 'capistrano-rbenv'
|
9
9
|
gem 'capistrano-bundler'
|
10
10
|
gem 'capistrano-rails'
|
11
|
-
gem 'capistrano-sidekiq'
|
11
|
+
gem 'capistrano-sidekiq'
|
12
12
|
gem 'capistrano3-puma'
|
13
13
|
end
|
14
14
|
|
@@ -35,21 +35,20 @@ module Teleport
|
|
35
35
|
"require 'capistrano/puma/monit'\n",
|
36
36
|
after: "require 'capistrano/sidekiq'\n"
|
37
37
|
|
38
|
-
@app_name = ask 'App name:'
|
39
|
-
@git_repo_url = ask 'Git repo
|
40
|
-
@deploy_user = ask 'Deploy username
|
41
|
-
@ruby_version = ask 'Ruby version
|
42
|
-
@production_server_address = ask 'Production server
|
43
|
-
@add_staging = ask 'Add staging (y/n):'
|
38
|
+
@app_name = ask 'App name', :bold, default: 'blog'
|
39
|
+
@git_repo_url = ask 'Git repo', :bold, default: 'git@github.com:itsNikolay/puma-testing.git'
|
40
|
+
@deploy_user = ask 'Deploy username default', :bold, default: 'deploy'
|
41
|
+
@ruby_version = ask 'Ruby version', :bold, limited_to: ['2.1.3', '2.1.2', '1.9.3']
|
42
|
+
@production_server_address = ask 'Production server', :bold, default: '192.X.X.X'
|
44
43
|
|
45
44
|
template 'capistrano/deploy/deploy.rb', 'config/deploy.rb'
|
46
45
|
template 'capistrano/deploy/production.rb', 'config/deploy/production.rb'
|
47
|
-
if
|
48
|
-
@staging_server_address = ask 'Staging server
|
46
|
+
if yes?('Add staging? (y/n)')
|
47
|
+
@staging_server_address = ask 'Staging server', :bold, default: '192.X.X.X'
|
49
48
|
template 'capistrano/deploy/staging.rb', 'config/deploy/staging.rb'
|
50
49
|
end
|
51
50
|
|
52
|
-
|
51
|
+
say 'to setup server run: $ cap staging deploy:setup_config', :bold
|
53
52
|
end
|
54
53
|
end
|
55
54
|
end
|
data/lib/teleporter/version.rb
CHANGED