railman 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acc098517b4918ee82a037121e6a507cb7bfe746
4
- data.tar.gz: ff24ea121eadcaf6b80e4b0415b12fc513644fc4
3
+ metadata.gz: fc1920be3b4235bb10d818b3b348a794035d0298
4
+ data.tar.gz: bd8be02573c1b1757332c591117c5f95d16a93ea
5
5
  SHA512:
6
- metadata.gz: c23f33b06866d7f2284cb3fc11d2f1061569c3c466076989d212ef1d48302a27c2f91c0397e28277369f3f7e1b2da0a12555c9f76ad27361020795e3fa80afcf
7
- data.tar.gz: d730ff383b32f58a3ff98e309201b36d0cc47cd3ff8de3828d60af274dc8ae61ce180c1209ae2b8abf8b65f4d067c0f63a2728bc4e2ab887fd1f0ace2f5cfd2f
6
+ metadata.gz: f3637c9323a23861e65e360f3ee69fbdde437ba4ed1ce370ebcf367b9b02891b3c5bb4f5dfcb3a009256fe396d3f992c726b84cc9dd0383d88a6f788e9ef5d61
7
+ data.tar.gz: 82c00e37a34acc67061c0112e2ff6627d6dbbeceab192aaa71bfb78927b32361cd60c33c546f81fc53e8c18a5a53a21d860a169a4a18ee65b4a8050759327e0f
data/lib/railman/cli.rb CHANGED
@@ -41,6 +41,7 @@ module Railman
41
41
  template "rails_app/.env.example.development.tt", "#{app_name}/.env"
42
42
  Dir.chdir app_name do
43
43
  run "bundle install"
44
+ run "chmod +x bin/*"
44
45
  create_local_git_repository
45
46
  create_remote_git_repository(@repository) if yes?("Do you want me to create bitbucket repository named #{app_name}? (y/n)")
46
47
  end
@@ -1,3 +1,3 @@
1
1
  module Railman
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -45,12 +45,10 @@ task :setup do
45
45
  execute :eye, :start, fetch(:application)
46
46
  execute :service, "nginx restart"
47
47
  else
48
- warn "TODO 1: Create .env on the server by copying from .env.example.production and modify your database and smtp settings."
49
- warn "TODO 2: Create rails secret token with 'rake secret' and insert it into .env"
50
- warn "TODO 3: Check if you have ssl certificates for #{fetch(:application)} in /etc/letsencrypt/live/<%= @domain %>"
51
- warn "TODO 4: If not, create ssl certificates by running the following command as root: "
52
- warn " /opt/letsencrypt/letsencrypt-auto --config /etc/nginx/letsencrypt/#{fetch(:application)}.conf --standalone certonly"
53
- warn "TODO 5: Run 'cap ENV setup' again!"
48
+ warn "TODO: Create .env on the server by copying from .env.example.production and modify your database and smtp settings."
49
+ warn "TODO: Create rails secret token with 'rake secret' and insert it into .env"
50
+ warn "TODO: Create ssl certificates by running the following command as root: /etc/letsencrypt/generate_letsencrypt.sh"
51
+ warn "TODO: Run 'cap ENV setup' again!"
54
52
  end
55
53
  end
56
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-19 00:00:00.000000000 Z
11
+ date: 2016-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler