mina 0.3.8 → 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +16 -0
  3. data/.gitignore +0 -1
  4. data/.rubocop.yml +1156 -0
  5. data/Gemfile +2 -8
  6. data/{CHANGELOG.md → PRE_1_CHANGELOG.md} +0 -0
  7. data/Rakefile +2 -18
  8. data/Readme.md +39 -1116
  9. data/bin/mina +1 -62
  10. data/data/deploy.rb +19 -46
  11. data/data/deploy.sh.erb +22 -23
  12. data/docs/Readme.md +8 -0
  13. data/docs/command_line_options.md +33 -0
  14. data/docs/deploying.md +97 -0
  15. data/docs/faq.md +1 -0
  16. data/docs/getting_started.md +44 -0
  17. data/docs/migrating.md +30 -0
  18. data/docs/writing_your_own_tasks.md +117 -0
  19. data/lib/Minafile +3 -0
  20. data/lib/mina.rb +30 -18
  21. data/lib/mina/application.rb +74 -0
  22. data/lib/mina/backend/local.rb +22 -0
  23. data/lib/mina/backend/remote.rb +42 -0
  24. data/lib/mina/commands.rb +45 -0
  25. data/lib/mina/configuration.rb +36 -0
  26. data/lib/mina/dsl.rb +47 -0
  27. data/lib/mina/helpers/internal.rb +29 -0
  28. data/lib/mina/helpers/output.rb +42 -0
  29. data/lib/mina/runner.rb +39 -0
  30. data/lib/mina/runner/exec.rb +15 -0
  31. data/lib/mina/runner/pretty.rb +53 -0
  32. data/lib/mina/runner/printer.rb +17 -0
  33. data/lib/mina/runner/system.rb +15 -0
  34. data/lib/mina/version.rb +1 -3
  35. data/mina.gemspec +27 -16
  36. data/spec/lib/mina/application_spec.rb +39 -0
  37. data/spec/lib/mina/backend/local_spec.rb +16 -0
  38. data/spec/lib/mina/backend/remote_spec.rb +17 -0
  39. data/spec/lib/mina/commands_spec.rb +93 -0
  40. data/spec/lib/mina/configuration_spec.rb +52 -0
  41. data/spec/lib/mina/helpers/internal_spec.rb +50 -0
  42. data/spec/lib/mina/helpers/output_spec.rb +48 -0
  43. data/spec/lib/mina/runner_spec.rb +36 -0
  44. data/spec/lib/mina_spec.rb +7 -0
  45. data/spec/spec_helper.rb +13 -21
  46. data/spec/support/run_helper.rb +36 -0
  47. data/tasks/mina/bundler.rb +15 -0
  48. data/tasks/mina/chruby.rb +19 -0
  49. data/tasks/mina/default.rb +36 -0
  50. data/tasks/mina/deploy.rb +85 -0
  51. data/tasks/mina/git.rb +36 -0
  52. data/tasks/mina/install.rb +18 -0
  53. data/tasks/mina/rails.rb +108 -0
  54. data/tasks/mina/rbenv.rb +15 -0
  55. data/tasks/mina/rvm.rb +39 -0
  56. data/tasks/mina/ry.rb +26 -0
  57. data/test_env/config/deploy.rb +44 -72
  58. metadata +82 -59
  59. data/.travis.yml +0 -21
  60. data/CONTRIBUTING.md +0 -124
  61. data/HISTORY.md +0 -394
  62. data/Makefile +0 -32
  63. data/Notes.md +0 -70
  64. data/lib/mina/bundler.rb +0 -49
  65. data/lib/mina/chruby.rb +0 -49
  66. data/lib/mina/default.rb +0 -158
  67. data/lib/mina/deploy.rb +0 -160
  68. data/lib/mina/deploy_helpers.rb +0 -34
  69. data/lib/mina/exec_helpers.rb +0 -111
  70. data/lib/mina/foreman.rb +0 -83
  71. data/lib/mina/git.rb +0 -69
  72. data/lib/mina/helpers.rb +0 -408
  73. data/lib/mina/local_helpers.rb +0 -97
  74. data/lib/mina/npm.rb +0 -89
  75. data/lib/mina/output_helpers.rb +0 -92
  76. data/lib/mina/rails.rb +0 -245
  77. data/lib/mina/rake.rb +0 -10
  78. data/lib/mina/rbenv.rb +0 -47
  79. data/lib/mina/rvm.rb +0 -88
  80. data/lib/mina/ry.rb +0 -55
  81. data/lib/mina/settings.rb +0 -32
  82. data/lib/mina/ssh_helpers.rb +0 -125
  83. data/lib/mina/tools.rb +0 -20
  84. data/lib/mina/whenever.rb +0 -51
  85. data/manual/index.md +0 -15
  86. data/manual/modules.md +0 -2
  87. data/spec/command_helper.rb +0 -52
  88. data/spec/commands/cleanup_spec.rb +0 -16
  89. data/spec/commands/command_spec.rb +0 -71
  90. data/spec/commands/custom_config_spec.rb +0 -20
  91. data/spec/commands/deploy_spec.rb +0 -40
  92. data/spec/commands/outside_project_spec.rb +0 -35
  93. data/spec/commands/real_deploy_spec.rb +0 -56
  94. data/spec/commands/ssh_spec.rb +0 -14
  95. data/spec/commands/verbose_spec.rb +0 -21
  96. data/spec/dsl/invoke_spec.rb +0 -49
  97. data/spec/dsl/queue_spec.rb +0 -49
  98. data/spec/dsl/settings_in_rake_spec.rb +0 -39
  99. data/spec/dsl/settings_spec.rb +0 -61
  100. data/spec/dsl/to_spec.rb +0 -20
  101. data/spec/fixtures/custom_file_env/custom_deploy.rb +0 -15
  102. data/spec/fixtures/empty_env/config/deploy.rb +0 -15
  103. data/spec/helpers/exec_helper_spec.rb +0 -19
  104. data/spec/helpers/local_helper_spec.rb +0 -70
  105. data/spec/helpers/output_helper_spec.rb +0 -38
  106. data/support/Readme-footer.md +0 -31
  107. data/support/Readme-header.md +0 -16
  108. data/support/guide.md +0 -297
  109. data/support/index.html +0 -53
  110. data/support/third_party_modules.md +0 -23
  111. data/support/to_md.rb +0 -11
@@ -0,0 +1,18 @@
1
+ desc 'Creates a sample config file.'
2
+ task :init do
3
+ name = Rake.application.name
4
+ config_file = Rake.application.rakefile
5
+
6
+ unless File.exist?(config_file)
7
+ print_str "! You already have #{config_file}."
8
+ exit 8
9
+ end
10
+
11
+ outfile = './config/deploy.rb'
12
+ require 'fileutils'
13
+ FileUtils.mkdir_p './config'
14
+ FileUtils.cp Mina.root_path('data/deploy.rb'), outfile
15
+
16
+ print_str "-----> Created #{outfile}"
17
+ print_str "Edit this file, then run `#{name} setup` after."
18
+ end
@@ -0,0 +1,108 @@
1
+ require 'mina/deploy'
2
+ require 'mina/bundler'
3
+
4
+ set :rails_env, 'production'
5
+ set :bundle_prefix, -> { "RAILS_ENV='#{fetch(:rails_env)}' #{fetch(:bundle_bin)} exec" }
6
+ set :rake, -> { "#{fetch(:bundle_prefix)} rake" }
7
+ set :rails, -> { "#{fetch(:bundle_prefix)} rails" }
8
+ set :compiled_asset_path, 'public/assets'
9
+ set :asset_paths, ['vendor/assets/', 'app/assets/']
10
+
11
+ set :shared_dirs, fetch(:shared_dirs, []).push('log', 'tmp/cache', fetch(:compiled_asset_path))
12
+
13
+ desc 'Starts an interactive console.'
14
+ task console: :environment do
15
+ set :execution_mode, :exec
16
+ in_path "#{fetch(:current_path)}" do
17
+ command "#{fetch(:rails)} console"
18
+ end
19
+ end
20
+
21
+ desc 'Tail log from server'
22
+ task log: :environment do
23
+ set :execution_mode, :exec
24
+ in_path "#{fetch(:shared_path)}/log" do
25
+ command "tail -f #{fetch(:rails_env)}.log"
26
+ end
27
+ end
28
+
29
+ namespace :rails do
30
+ desc 'Migrate database'
31
+ task db_migrate: :environment do
32
+ if fetch(:force_migrate)
33
+ comment 'Migrating database'
34
+ command "#{fetch(:rake)} db:migrate"
35
+ else
36
+ command check_for_changes_script(
37
+ at: ['db/migrate'],
38
+ skip: "echo '-----> DB migrations unchanged; skipping DB migration'",
39
+ changed: %(
40
+ echo '-----> Migrating database'
41
+ #{echo_cmd("#{fetch(:rake)} db:migrate")}
42
+ )
43
+ ), quiet: true
44
+ end
45
+ end
46
+
47
+ desc 'Create database'
48
+ task db_create: :environment do
49
+ comment 'Creating database'
50
+ command "#{fetch(:rake)} db:create"
51
+ end
52
+
53
+ desc 'Rollback database'
54
+ task db_rollback: :environment do
55
+ comment 'Rollbacking database'
56
+ command "#{fetch(:rake)} db:rollback"
57
+ end
58
+
59
+ desc 'Precompiles assets (skips if nothing has changed since the last release).'
60
+ task assets_precompile: :environment do
61
+ if fetch(:force_asset_precompile)
62
+ comment 'Precompiling asset files'
63
+ command "#{fetch(:rake)} assets:precompile"
64
+ else
65
+ command check_for_changes_script(
66
+ at: fetch(:asset_paths),
67
+ skip: 'echo "-----> Skipping asset precompilation"',
68
+ changed: %(
69
+ echo "-----> Precompiling asset files"
70
+ #{echo_cmd "#{fetch(:rake)} assets:precompile"}
71
+ )
72
+ ), quiet: true
73
+ end
74
+ end
75
+ end
76
+
77
+ def check_for_changes_script(options)
78
+ diffs = options[:at].map do |path|
79
+ "diff -qrN '#{fetch(:current_path)}/#{path}' './#{path}' 2>/dev/null"
80
+ end.join(' && ')
81
+
82
+ %(if #{diffs}
83
+ then
84
+ #{options[:skip]}
85
+ else
86
+ #{options[:changed]}
87
+ fi)
88
+ end
89
+
90
+ # Macro used later by :rails, :rake, etc
91
+ make_run_task = lambda { |name, example|
92
+ task name, [:arguments] => :environment do |_, args|
93
+ set :execution_mode, :exec
94
+
95
+ arguments = args[:arguments]
96
+ unless arguments
97
+ puts %(You need to provide arguments. Try: mina "#{name}[#{example}]")
98
+ exit 1
99
+ end
100
+ command %(cd "#{deploy_to!}/#{current_path!}" && #{fetch(name)} #{arguments})
101
+ end
102
+ }
103
+
104
+ desc 'Execute a Rails command in the current deploy.'
105
+ make_run_task[:rails, 'console']
106
+
107
+ desc 'Execute a Rake command in the current deploy.'
108
+ make_run_task[:rake, 'db:migrate']
@@ -0,0 +1,15 @@
1
+ set :rbenv_path, "$HOME/.rbenv"
2
+
3
+ task :'rbenv:load' do
4
+ comment 'Loading rbenv'
5
+ command "export RBENV_ROOT='#{fetch(:rbenv_path)}'"
6
+ command "export PATH='#{fetch(:rbenv_path)}/bin:$PATH'"
7
+ command %(
8
+ if ! which rbenv >/dev/null; then
9
+ echo "! rbenv not found"
10
+ echo "! If rbenv is installed, check your :rbenv_path setting."
11
+ exit 1
12
+ fi
13
+ )
14
+ command 'eval "$(rbenv init -)"'
15
+ end
data/tasks/mina/rvm.rb ADDED
@@ -0,0 +1,39 @@
1
+ set :rvm_path, '$HOME/.rvm/scripts/rvm'
2
+
3
+ task :'rvm:use', :env do |_, args|
4
+ unless args[:env]
5
+ print_error "Task 'rvm:use' needs an RVM environment name as an argument."
6
+ print_error "Example: invoke :'rvm:use[ruby-1.9.2@default]'"
7
+ die
8
+ end
9
+
10
+ comment "Using RVM environment '#{args[:env]}'"
11
+ command %(
12
+ if [[ ! -s "#{fetch(:rvm_path)}" ]]; then
13
+ echo "! Ruby Version Manager not found"
14
+ echo "! If RVM is installed, check your :rvm_path setting."
15
+ exit 1
16
+ fi
17
+ )
18
+ command "source #{fetch(:rvm_path)}"
19
+ command "rvm use '#{args[:env]}' --create"
20
+ end
21
+
22
+ task :'rvm:wrapper', :env, :name, :bin do |_, args|
23
+ unless args[:env] && args[:name] && args[:bin]
24
+ print_error "Task 'rvm:wrapper' needs an RVM environment name, an wrapper name and the binary name as arguments"
25
+ print_error "Example: invoke :'rvm:wrapper[ruby-1.9.2@myapp,myapp,unicorn_rails]'"
26
+ die
27
+ end
28
+
29
+ comment "creating RVM wrapper '#{args[:name]}_#{args[:bin]}' using '#{args[:env]}'"
30
+ command %(
31
+ if [[ ! -s "#{fetch(:rvm_path)}" ]]; then
32
+ echo "! Ruby Version Manager not found"
33
+ echo "! If RVM is installed, check your :rvm_path setting."
34
+ exit 1
35
+ fi
36
+ )
37
+ command "source #{fetch(:rvm_path)}"
38
+ command "rvm wrapper #{args[:env]} #{args[:name]} #{args[:bin]} || exit 1"
39
+ end
data/tasks/mina/ry.rb ADDED
@@ -0,0 +1,26 @@
1
+ set :ry_path, '$HOME/.local'
2
+
3
+ task :ry, :env do |_, args|
4
+ unless args[:env]
5
+ print_status "Task 'ry' without argument will use default Ruby version."
6
+ end
7
+
8
+ comment "ry to version: '#{args[:env] || '**not specified**'}"
9
+ comment 'Loading ry'
10
+
11
+ command %(
12
+ if [[ ! -e "#{fetch(:ry_path)}/bin" ]]; then
13
+ echo "! ry not found"
14
+ echo "! If ry is installed, check your :ry_path setting."
15
+ exit 1
16
+ fi
17
+ )
18
+ command "export PATH='#{fetch(:ry_path)}/bin:$PATH'"
19
+ command 'eval "$(ry setup)"'
20
+ command "RY_RUBY='#{args[:env]}'"
21
+ command %(
22
+ if [ -n "$RY_RUBY" ]; then
23
+ #{echo_cmd 'ry use $RY_RUBY'} || exit 1
24
+ fi
25
+ )
26
+ end
@@ -1,89 +1,61 @@
1
- # NOTE:
2
- # Yes, you can deploy this project. It will deploy into the ./deploy/
3
- # directory. The commands have been stubbed, so it's harmless. No rails or
4
- # bundler magic will happen.
1
+ # # NOTE:
2
+ # # Yes, you can deploy this project. It will deploy into the ./deploy/
3
+ # # directory. The commands have been stubbed, so it's harmless. No rails or
4
+ # # bundler magic will happen.
5
+ #
6
+ # # ASSUMPTIONS:
7
+ # # - You have git installed. (of course you do)
8
+ # # - You have SSH enabled. In OS X, this is "Remote Login" under the Sharing pref pane.
9
+ # # - You have your own SSH key added to your own user so you can SSH to your own machine.
10
+ #
11
+ # # In fact, let's make that folder right now.
12
+ # require 'fileutils'
13
+ # FileUtils.mkdir_p "#{Dir.pwd}/deploy"
14
+ # FileUtils.mkdir_p "#{Dir.pwd}/deploy/config"
15
+ # File.open("#{Dir.pwd}/deploy/config/database.yml", 'w') { |f| f.write "Hello" }
16
+ #
17
+ # # -- Stubs end, deploy script begins! --------------
18
+ #
5
19
 
6
- # ASSUMPTIONS:
7
- # - You have git installed. (of course you do)
8
- # - You have SSH enabled. In OS X, this is "Remote Login" under the Sharing pref pane.
9
- # - You have your own SSH key added to your own user so you can SSH to your own machine.
10
-
11
- # In fact, let's make that folder right now.
12
- require 'fileutils'
13
- FileUtils.mkdir_p "#{Dir.pwd}/deploy"
14
- FileUtils.mkdir_p "#{Dir.pwd}/deploy/config"
15
- File.open("#{Dir.pwd}/deploy/config/database.yml", 'w') { |f| f.write "Hello" }
16
-
17
- # -- Stubs end, deploy script begins! --------------
18
-
19
- require 'mina/rails'
20
- require 'mina/bundler'
21
20
  require 'mina/git'
22
- require 'pry'
21
+ require 'mina/rails'
22
+ # require 'pry'
23
+ #
23
24
 
24
25
  set :domain, 'localhost'
25
26
  set :deploy_to, "#{Dir.pwd}/deploy"
26
27
  set :repository, "#{Mina.root_path}"
27
- set :shared_paths, ['config/database.yml']
28
-
28
+ set :shared_paths, ['config/database.yml', 'log']
29
29
  set :keep_releases, 2
30
30
 
31
31
  task :environment do
32
- queue %[echo "-----> Loading env"]
32
+ command 'eval "$(rbenv init -)"'
33
33
  end
34
-
35
- desc "Deploys."
36
- task :deploy => :environment do
37
- queue "bundle() { true; }" # Stub the bundle command.
38
-
39
- to :before_hook do
40
- queue %[ echo "-----> This is before hook"]
41
- end
42
-
34
+ #
35
+ # desc "Deploys."
36
+ task deploy: :environment do
43
37
  deploy do
44
- to :default do
45
- queue %[ruby -e "\\$stderr.write \\\"This is stdout output\n\\\""]
46
- invoke :'git:clone'
47
- invoke :'deploy:link_shared_paths'
48
- invoke :'bundle:install'
49
- invoke :'rails:db_migrate'
38
+ invoke :'git:clone'
39
+ invoke :'deploy:link_shared_paths'
40
+ invoke :'bundle:install'
41
+ invoke :'rails:db_migrate'
42
+ invoke :'deploy:cleanup'
43
+
44
+ on :launch do
45
+ comment 'in launch'
50
46
  end
51
-
52
- to :build do
53
- queue "touch build.txt"
54
- end
55
- to :launch do
56
- invoke :'passenger:restart'
57
- end
58
- end
59
- end
60
-
61
- desc "Restarts the passenger server."
62
- task :restart do
63
- set :term_mode, :pretty
64
- to :before do
65
- queue %(
66
- echo "-----> Copying files"
67
- #{echo_cmd %[cp deploy/last_version deploy/last_version_2]}
68
- )
69
- end
70
- invoke :'passenger:restart'
71
- to :after do
72
- queue "echo '-----> After'"
73
47
  end
74
48
  end
75
49
 
76
- namespace :passenger do
77
- task :restart do
78
- queue %{
79
- echo "-----> Restarting passenger"
80
- #{echo_cmd %[mkdir -p tmp]}
81
- #{echo_cmd %[touch tmp/restart.txt]}
82
- }
50
+ desc 'Task description'
51
+ task :test do
52
+ run :local do
53
+ comment 'PWD'
54
+ in_path('/Users') do
55
+ command 'ls -al'
56
+ end
57
+ on :after do
58
+ command 'pwd'
59
+ end
83
60
  end
84
61
  end
85
-
86
- task :get_password do
87
- set :term_mode, :pretty
88
- queue %[echo "-> Getting password"; echo -n "Password: "; read x; echo ""; echo out: $x;]
89
- end
metadata CHANGED
@@ -1,15 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 1.0.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
+ - Stjepan Hadjić
8
+ - Gabrijel Škoro
7
9
  - Rico Sta. Cruz
8
10
  - Michael Galero
9
11
  autorequire:
10
12
  bindir: bin
11
13
  cert_chain: []
12
- date: 2016-01-04 00:00:00.000000000 Z
14
+ date: 2016-06-30 00:00:00.000000000 Z
13
15
  dependencies:
14
16
  - !ruby/object:Gem::Dependency
15
17
  name: rake
@@ -67,8 +69,38 @@ dependencies:
67
69
  - - "~>"
68
70
  - !ruby/object:Gem::Version
69
71
  version: 0.9.0
72
+ - !ruby/object:Gem::Dependency
73
+ name: awesome_print
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ - !ruby/object:Gem::Dependency
87
+ name: codeclimate-test-reporter
88
+ requirement: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
70
100
  description: Really fast deployer and server automation tool.
71
101
  email:
102
+ - stjepan.hadjic@infinum.co
103
+ - gabrijel.skoro@infinum.co
72
104
  - rico@nadarei.co
73
105
  - mikong@nadarei.co
74
106
  executables:
@@ -76,75 +108,65 @@ executables:
76
108
  extensions: []
77
109
  extra_rdoc_files: []
78
110
  files:
111
+ - ".codeclimate.yml"
79
112
  - ".gitignore"
80
113
  - ".rspec"
81
- - ".travis.yml"
82
- - CHANGELOG.md
83
- - CONTRIBUTING.md
114
+ - ".rubocop.yml"
84
115
  - Gemfile
85
- - HISTORY.md
86
116
  - LICENSE
87
- - Makefile
88
- - Notes.md
117
+ - PRE_1_CHANGELOG.md
89
118
  - Rakefile
90
119
  - Readme.md
91
120
  - bin/mina
92
121
  - data/deploy.rb
93
122
  - data/deploy.sh.erb
123
+ - docs/Readme.md
124
+ - docs/command_line_options.md
125
+ - docs/deploying.md
126
+ - docs/faq.md
127
+ - docs/getting_started.md
128
+ - docs/migrating.md
129
+ - docs/writing_your_own_tasks.md
130
+ - lib/Minafile
94
131
  - lib/mina.rb
95
- - lib/mina/bundler.rb
96
- - lib/mina/chruby.rb
97
- - lib/mina/default.rb
98
- - lib/mina/deploy.rb
99
- - lib/mina/deploy_helpers.rb
100
- - lib/mina/exec_helpers.rb
101
- - lib/mina/foreman.rb
102
- - lib/mina/git.rb
103
- - lib/mina/helpers.rb
104
- - lib/mina/local_helpers.rb
105
- - lib/mina/npm.rb
106
- - lib/mina/output_helpers.rb
107
- - lib/mina/rails.rb
108
- - lib/mina/rake.rb
109
- - lib/mina/rbenv.rb
110
- - lib/mina/rvm.rb
111
- - lib/mina/ry.rb
112
- - lib/mina/settings.rb
113
- - lib/mina/ssh_helpers.rb
114
- - lib/mina/tools.rb
132
+ - lib/mina/application.rb
133
+ - lib/mina/backend/local.rb
134
+ - lib/mina/backend/remote.rb
135
+ - lib/mina/commands.rb
136
+ - lib/mina/configuration.rb
137
+ - lib/mina/dsl.rb
138
+ - lib/mina/helpers/internal.rb
139
+ - lib/mina/helpers/output.rb
140
+ - lib/mina/runner.rb
141
+ - lib/mina/runner/exec.rb
142
+ - lib/mina/runner/pretty.rb
143
+ - lib/mina/runner/printer.rb
144
+ - lib/mina/runner/system.rb
115
145
  - lib/mina/version.rb
116
- - lib/mina/whenever.rb
117
- - manual/index.md
118
- - manual/modules.md
119
146
  - mina.gemspec
120
- - spec/command_helper.rb
121
- - spec/commands/cleanup_spec.rb
122
- - spec/commands/command_spec.rb
123
- - spec/commands/custom_config_spec.rb
124
- - spec/commands/deploy_spec.rb
125
- - spec/commands/outside_project_spec.rb
126
- - spec/commands/real_deploy_spec.rb
127
- - spec/commands/ssh_spec.rb
128
- - spec/commands/verbose_spec.rb
129
- - spec/dsl/invoke_spec.rb
130
- - spec/dsl/queue_spec.rb
131
- - spec/dsl/settings_in_rake_spec.rb
132
- - spec/dsl/settings_spec.rb
133
- - spec/dsl/to_spec.rb
134
- - spec/fixtures/custom_file_env/custom_deploy.rb
135
- - spec/fixtures/empty_env/config/deploy.rb
136
- - spec/helpers/exec_helper_spec.rb
137
- - spec/helpers/local_helper_spec.rb
138
- - spec/helpers/output_helper_spec.rb
147
+ - spec/lib/mina/application_spec.rb
148
+ - spec/lib/mina/backend/local_spec.rb
149
+ - spec/lib/mina/backend/remote_spec.rb
150
+ - spec/lib/mina/commands_spec.rb
151
+ - spec/lib/mina/configuration_spec.rb
152
+ - spec/lib/mina/helpers/internal_spec.rb
153
+ - spec/lib/mina/helpers/output_spec.rb
154
+ - spec/lib/mina/runner_spec.rb
155
+ - spec/lib/mina_spec.rb
139
156
  - spec/spec_helper.rb
140
- - support/Readme-footer.md
141
- - support/Readme-header.md
142
- - support/guide.md
143
- - support/index.html
144
- - support/third_party_modules.md
145
- - support/to_md.rb
157
+ - spec/support/run_helper.rb
158
+ - tasks/mina/bundler.rb
159
+ - tasks/mina/chruby.rb
160
+ - tasks/mina/default.rb
161
+ - tasks/mina/deploy.rb
162
+ - tasks/mina/git.rb
163
+ - tasks/mina/install.rb
164
+ - tasks/mina/rails.rb
165
+ - tasks/mina/rbenv.rb
166
+ - tasks/mina/rvm.rb
167
+ - tasks/mina/ry.rb
146
168
  - test_env/config/deploy.rb
147
- homepage: http://github.com/nadarei/mina
169
+ homepage: https://github.com/mina-deploy/mina
148
170
  licenses:
149
171
  - MIT
150
172
  metadata: {}
@@ -159,9 +181,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
181
  version: '0'
160
182
  required_rubygems_version: !ruby/object:Gem::Requirement
161
183
  requirements:
162
- - - ">="
184
+ - - ">"
163
185
  - !ruby/object:Gem::Version
164
- version: '0'
186
+ version: 1.3.1
165
187
  requirements: []
166
188
  rubyforge_project:
167
189
  rubygems_version: 2.5.1
@@ -169,3 +191,4 @@ signing_key:
169
191
  specification_version: 4
170
192
  summary: Really fast deployer and server automation tool.
171
193
  test_files: []
194
+ has_rdoc: