negroku 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2e0e6d50d9850939d12982dfd7fcec1d8fb36742
4
+ data.tar.gz: d130dbd98469ec4793a94644733313bb8fa36fd0
5
+ SHA512:
6
+ metadata.gz: 888c62ba794e44bccd7204722dc6c95fc4998667d399125da8637734078ee95589777abb3e95c104a327d234f682d815dccb3f643dcca3a670ccb006a4c0055b
7
+ data.tar.gz: b48a89c66d729ee0f6bbb0744e8d2dae7ef9792762fce95cda57195a4157bd62be319324d057f019155926270f1113d7ce3b16d77678e0a9e53056e39e8e776b
data/README.md CHANGED
File without changes
data/lib/negroku/cli.rb CHANGED
@@ -104,20 +104,13 @@ class App < Thor
104
104
 
105
105
  init(".", data)
106
106
 
107
- puts "[Negroku] => Running capistrano task deploy:setup"
108
- `cap deploy:setup`
109
-
110
107
  say "\n\nWhat to do next?\n".bright()
108
+ say "Setup your app running " + "cap deploy:setup".color(:yellow)
111
109
  say "You can try with " + "cap -T".color(:yellow) +" to see the available tasks"
112
110
  say "Also you can check the " + "config/deploy.rb".color(:yellow) + " file, you may want to change some things there"
113
- say "NOTE: If this is the first time the app is deployed, use the task " + "cap deploy:cold task".color(:yellow)
111
+ say "NOTE: If this is the first time the app is deployed, use the task " + "cap deploy:cold".color(:yellow)
114
112
  say "\n HAPPY DEPLOY".foreground(:green)
115
113
  end
116
-
117
- desc "deploy", "Deploy the application"
118
- def deploy
119
- put "I will deploy"
120
- end
121
114
  end
122
115
 
123
116
  class Target < Thor
@@ -199,4 +192,4 @@ module Negroku
199
192
  register(Konfig, 'config', 'config [COMMAND]', 'Configuration')
200
193
  register(RemoteEnv, 'env', 'env [COMMAND]', 'Remote environmental variables')
201
194
  end
202
- end
195
+ end
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -40,7 +40,7 @@ namespace :nginx do
40
40
  desc "Setup nginx configuration for this application."
41
41
  task :setup, roles: :web do
42
42
  template "nginx.erb", "/tmp/nginx.conf"
43
- run "#{sudo} mv /tmp/nginx.conf /opt/nginx/sites-enabled/#{fetch(:application)}"
43
+ run "#{sudo} mv /tmp/nginx.conf /etc/nginx/sites-enabled/#{fetch(:application)}"
44
44
  run "mkdir -p /home/#{fetch(:user)}/log"
45
45
  reload
46
46
  end
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module Negroku
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/negroku.rb CHANGED
File without changes
metadata CHANGED
@@ -1,81 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: negroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Juan Ignacio Donoso
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-31 00:00:00.000000000 Z
11
+ date: 2013-05-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: capistrano
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.5.13
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 2.5.13
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rainbow
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.1.4
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.1.4
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: highline
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: 1.6.15
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: 1.6.15
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: thor
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: 0.17.0
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: 0.17.0
78
- description: ! '["To deploy application"]'
69
+ description: '["To deploy application"]'
79
70
  email:
80
71
  - jidonoso@gmail.com
81
72
  executables:
@@ -101,27 +92,25 @@ files:
101
92
  - README.md
102
93
  homepage: ''
103
94
  licenses: []
95
+ metadata: {}
104
96
  post_install_message:
105
97
  rdoc_options: []
106
98
  require_paths:
107
99
  - lib
108
100
  required_ruby_version: !ruby/object:Gem::Requirement
109
- none: false
110
101
  requirements:
111
- - - ! '>='
102
+ - - '>='
112
103
  - !ruby/object:Gem::Version
113
104
  version: '0'
114
105
  required_rubygems_version: !ruby/object:Gem::Requirement
115
- none: false
116
106
  requirements:
117
- - - ! '>='
107
+ - - '>='
118
108
  - !ruby/object:Gem::Version
119
109
  version: '0'
120
110
  requirements: []
121
111
  rubyforge_project:
122
- rubygems_version: 1.8.23
112
+ rubygems_version: 2.0.0
123
113
  signing_key:
124
- specification_version: 3
125
- summary: ! '["Capistrano Wrapper"]'
114
+ specification_version: 4
115
+ summary: '["Capistrano Wrapper"]'
126
116
  test_files: []
127
- has_rdoc: