railman 0.3.0 → 0.3.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: e1ecb9d6bcb4c0a2dbd78093cd8892efe6b89884
4
- data.tar.gz: 9a65f64857c7dd6e9dd27e451addebb774d4eb86
3
+ metadata.gz: 9327ab63c74e0ed95f0855c9317b24a591c6d31b
4
+ data.tar.gz: 8e2b0b59f5a25331fdb3765392f66e27a41311bd
5
5
  SHA512:
6
- metadata.gz: 9d436a33a67ad227d9975bb7059ae627aa9133c75af7cd6b3f4d3cea50b4547ffe81f3e716313af694cc3c3d9549b81364a496f4faea32612c4d0681994716f2
7
- data.tar.gz: 8370baad6e71bf1d1436e25c299e188359496c1ca80739b25e5d3613272c4df32e4813be9dcdb1b35bf1c5ee02beac411e50eeac28f2e3bf474bba55ecc120c1
6
+ metadata.gz: 43377aec6caec8c871e6c14d52559737fe19f8a156cabf726e7e6051bc0b98c6141aa567ec0d5e13980c91165626a896436399010bea6334e871b840689f51b9
7
+ data.tar.gz: 4b1a9684673eef0c18a750bcfa1aa15b80da068198924fcf0a45e5c9892a48fd6b513287f9f833e33739d3bfde367ed8a58741409db9b89dcfb66b5e7c4656d7
data/lib/railman/cli.rb CHANGED
@@ -49,6 +49,7 @@ module Railman
49
49
  config.www_domain = nil
50
50
  config.domains = [config.domain]
51
51
  end
52
+ config.server = ask("What is the name of the production server?")
52
53
  config
53
54
  end
54
55
 
@@ -1,3 +1,3 @@
1
1
  module Railman
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
@@ -48,9 +48,8 @@ task :setup do
48
48
  execute :service, "nginx restart"
49
49
  else
50
50
  execute :cp, '.env.example.production', '.env'
51
- execute "sed -i -e 's/TODO: generate with: rake secret/#{SecureRandom.hex(64)}/g' .en"
51
+ execute "sed -i -e 's/TODO: generate with: rake secret/#{SecureRandom.hex(64)}/g' #{fetch(:deploy_to)}/.env"
52
52
  warn "TODO: Edit .env and modify your database and smtp settings."
53
- warn "TODO: Create rails secret token with 'rake secret' and insert it into .env"
54
53
  warn "TODO: Create ssl certificates by running the following command as root: /etc/letsencrypt/generate_letsencrypt.sh"
55
54
  warn "TODO: Run 'cap ENV setup' again!"
56
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev