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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e73fa00ecd3c147dd563366abacf85eca0121cbc
4
- data.tar.gz: bb766bd1179690f60eee05a9131ef442fba07e75
3
+ metadata.gz: 5b01ddac0edef1bfe69ecee1290b03584b572e9f
4
+ data.tar.gz: e5699c0127fea6fbc1971f771624b615c3f73b0d
5
5
  SHA512:
6
- metadata.gz: f6e014dc0426292511668cbe7694c8678b3b32b32a74ed9319ff8d0a731ddfd8b9e2dd9812bbae136200aa333dfd0d5e9802856fcddd7441039644c412e08dd3
7
- data.tar.gz: 9072839ab602e5bc63bd271b59b38750f2bf64264205ed6feb9d8556b4ed0c80622d583345a6cd620f7667e2e760bc2d9c1b48bd6a725c937052671e7715e5cc
6
+ metadata.gz: b6dae8a4529f6ded6a7ff0fe0c9d7ea4ee7f97879150a809d56ee691c53bab623f43648aaa103733a566e7d9847e070c7d4080d04ea1ed51ff0e6401cd3648c6
7
+ data.tar.gz: 1145f1b4ebdada6c7a2094cda21646ca0049d0a780046e3118b718b9290d2348a3f92bcf95461e348ea8bbefcd24909a85eef549fca321e5084e2cda7b8c7495
data/CHANGELOG.md CHANGED
@@ -1 +1,2 @@
1
- [https://github.com/itsNikolay/teleporter/releases](https://github.com/itsNikolay/teleporter/releases)
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' , github: 'seuros/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 (git@github.com:itsNikolay/puma-testing.git):'
40
- @deploy_user = ask 'Deploy username (deploy):'
41
- @ruby_version = ask 'Ruby version (2.1.2)'
42
- @production_server_address = ask 'Production server (192.168.33.10):'
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 @add_staging =~ /y/
48
- @staging_server_address = ask 'Staging server (192.168.33.10):'
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
- p 'to setup server run: $ cap staging deploy:setup_config'
51
+ say 'to setup server run: $ cap staging deploy:setup_config', :bold
53
52
  end
54
53
  end
55
54
  end
@@ -1,3 +1,3 @@
1
1
  module Teleporter
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teleporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ponomarev Nikolay