vpsb 1.1.0 → 1.1.1

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: d523d2398c1b52d60e865333033beff9ddf9eeb3
4
- data.tar.gz: 6ae88dc2b64b09bbe958b56164840b1a18ca06f8
3
+ metadata.gz: 0c515cc85539788c3ee5c333aa085912029f2841
4
+ data.tar.gz: 14cdb67a63b910dffa454ccf72253c4925e664dc
5
5
  SHA512:
6
- metadata.gz: e669e7bc527dc94d99d00746a97f112ad7e4837bfd0446e7e5551bd2b69fbdafe87770ddeaf28a434716fc695f3eb666ac2be3da45535be48b837f604549c593
7
- data.tar.gz: e84592ef61986e77a8062bd919c42464a204bd18f2fb3b74ea88b18fe4f79707b4645e5dd123fadf5cd69f20e6752a2a984744bcf56a1b903383f3e46b43b056
6
+ metadata.gz: 14b60553daca3202cb63bcaea102672d4754b888937e4ecc6e667a5d3f72d88f1f20bd51aaf1b6fefeeae5ebdabf818486f20c64dd09c72073a533bf00706153
7
+ data.tar.gz: d72ac2501221eddc0d04ca4f842f29aff927a35db39b6688b96589a96d1e894ad5719fed8741d04a3ee5beaa3b7e4111eb8c2027af0f732e5042d9508d6cdc91
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vpsb (1.0.9)
4
+ vpsb (1.1.1)
5
5
  activesupport (~> 4.0)
6
6
  awesome_print (~> 1.2)
7
7
  capistrano (~> 3.1.0)
@@ -56,10 +56,6 @@ module Vpsb
56
56
  case name.to_s.strip
57
57
  when 'go', 'g' then go(params)
58
58
  when 'init', 'i' then init(params)
59
- when 'setup', 's' then setup(params)
60
- when 'build', 'b' then build(params)
61
- when 'cook', 'c' then cook(params)
62
- when 'deploy', 'd' then deploy(params)
63
59
  else puts Vpsb::Commands::HelpMessages.unknown_command
64
60
  end
65
61
  end
@@ -16,6 +16,7 @@ module Vpsb
16
16
  monit_role.call if ask_to_confirm("Do you want configure monit(newrelic)")
17
17
  packages_bags.call if ask_to_confirm("Do you want to install additional apt-get apps")
18
18
  node.call
19
+ ask { puts "Now everything will be installed. It should take 10-15 minutes. Click ENTER to start" }
19
20
  end
20
21
 
21
22
  private
@@ -5,15 +5,13 @@ module Vpsb
5
5
 
6
6
  PATH = 'bootstrap_rails_app_in_do/config/deploy/production.rb'
7
7
  DEPLOY_RB_PATH = 'bootstrap_rails_app_in_do/config/deploy.rb'
8
- GEMFILE_PATH = 'bootstrap_rails_app_in_do/Gemfile'
9
8
 
10
- prepare_squence :deploy_config, :deploy_rb, :app_gemfile
9
+ prepare_squence :deploy_config, :deploy_rb
11
10
 
12
11
  def call
13
12
  prepare
14
13
  Vpsb::Helpers::FileReplace.replace_text(PATH, core.get(:deploy_config))
15
14
  Vpsb::Helpers::FileReplace.replace_text(DEPLOY_RB_PATH, core.get(:deploy_rb))
16
- Vpsb::Helpers::FileReplace.replace_text(GEMFILE_PATH, core.get(:app_gemfile))
17
15
  end
18
16
  end
19
17
  end
@@ -1,3 +1,3 @@
1
1
  module Vpsb
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpsb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Niemczyk
@@ -241,7 +241,6 @@ files:
241
241
  - lib/vpsb/resources.rb
242
242
  - lib/vpsb/resources/app_bags_json.rb
243
243
  - lib/vpsb/resources/app_env_variables.rb
244
- - lib/vpsb/resources/app_gemfile.rb
245
244
  - lib/vpsb/resources/app_host.rb
246
245
  - lib/vpsb/resources/app_name.rb
247
246
  - lib/vpsb/resources/app_nginx_use_ssl.rb
@@ -1,71 +0,0 @@
1
- module Vpsb
2
- module Resources
3
- class AppGemfile < BaseResource
4
- res :app_gemfile
5
-
6
- def call(data)
7
- template(data)
8
- end
9
-
10
- private
11
-
12
- def template(data)
13
- <<-EOF
14
- source 'https://rubygems.org'
15
-
16
- ruby '#{data.get(:ruby_version)}'
17
-
18
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
19
- gem 'rails', '4.1.1'
20
- # Use sqlite3 as the database for Active Record
21
- gem 'sqlite3'
22
- # Use SCSS for stylesheets
23
- gem 'sass-rails', '~> 4.0.3'
24
- # Use Uglifier as compressor for JavaScript assets
25
- gem 'uglifier', '>= 1.3.0'
26
- # Use CoffeeScript for .js.coffee assets and views
27
- gem 'coffee-rails', '~> 4.0.0'
28
- # See https://github.com/sstephenson/execjs#readme for more supported runtimes
29
- # gem 'therubyracer', platforms: :ruby
30
-
31
- # Use jquery as the JavaScript library
32
- gem 'jquery-rails'
33
- # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
34
- gem 'turbolinks'
35
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
36
- gem 'jbuilder', '~> 2.0'
37
- # bundle exec rake doc:rails generates the API under doc/api.
38
- gem 'sdoc', '~> 0.4.0', group: :doc
39
-
40
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
41
- gem 'spring', group: :development
42
-
43
- # Use ActiveModel has_secure_password
44
- # gem 'bcrypt', '~> 3.1.7'
45
-
46
- # Use unicorn as the app server
47
- gem 'unicorn'
48
-
49
- # Use Capistrano for deployment
50
- # gem 'capistrano-rails', group: :development
51
-
52
- # Use debugger
53
- # gem 'debugger', group: [:development, :test]
54
-
55
- group :development do
56
- gem 'quiet_assets'
57
-
58
- gem 'capistrano', '~> 3.1.0', require: false
59
- gem 'capistrano-rvm', require: false
60
- gem 'capistrano-rails', require: false
61
- gem 'capistrano-bundler', require: false
62
- gem 'capistrano-rsync', '~> 1.0.2', require: false
63
-
64
- gem 'meta_request'
65
- gem 'awesome_print'
66
- end
67
- EOF
68
- end
69
- end
70
- end
71
- end