daddy 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/daddy/version.rb +1 -1
- data/lib/tasks/unicorn/unicorn.erb +5 -1
- data/lib/tasks/unicorn/unicorn.rb.erb +1 -1
- data/templates/Gemfile.erb +20 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fa6c09b0cd2f9072b2ef9dd46add1bdff4a5906
|
4
|
+
data.tar.gz: f0e63b5ee13a0c2fb2d2ef7ad7b86ae473dde439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f182d03a22575c106f39fea76a2e99bc243d91c58f08fb651402d6011a6d4400febf166a33fa8d0fac5fa23628a342f04efd753b3d0bbd886d870f73861b9c06
|
7
|
+
data.tar.gz: ac7076cd36aafebaab6a176751a6331504bdba418bb6783d6d28e85e0e97515196368a00591a170249b88a93c84373e895fd5cba8a0fcef73882a952d09a875b
|
data/lib/daddy/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
#
|
3
3
|
# chkconfig: - 85 15
|
4
|
-
# description:
|
4
|
+
# description: <%= app_name %>
|
5
5
|
|
6
6
|
. /etc/rc.d/init.d/functions
|
7
7
|
|
@@ -15,11 +15,15 @@ CONFIG=${RAILS_ROOT}/config/unicorn.rb
|
|
15
15
|
export PATH="${PATH}":/usr/local/bin
|
16
16
|
|
17
17
|
start() {
|
18
|
+
echo -n 'Starting <%= app_name %>: '
|
18
19
|
daemon --user=${RAILS_USER} --pidfile=$PID bundle exec unicorn_rails -c ${CONFIG} -E ${RAILS_ENV} -D
|
20
|
+
echo
|
19
21
|
}
|
20
22
|
|
21
23
|
stop() {
|
24
|
+
echo -n 'Stopping <%= app_name %>: '
|
22
25
|
killproc -p ${PID} -QUIT
|
26
|
+
echo
|
23
27
|
}
|
24
28
|
|
25
29
|
cd ${RAILS_ROOT} || exit 1
|
@@ -6,7 +6,7 @@ rails_env = ENV['RAILS_ENV'] || 'development'
|
|
6
6
|
worker_processes 2
|
7
7
|
working_directory rails_root
|
8
8
|
|
9
|
-
app_name = YAML.load_file("#{File.dirname(__FILE__)}/database.yml")[
|
9
|
+
app_name = YAML.load_file("#{File.dirname(__FILE__)}/database.yml")[rails_env]['database']
|
10
10
|
listen "/tmp/#{app_name}.sock"
|
11
11
|
timeout 300
|
12
12
|
|
data/templates/Gemfile.erb
CHANGED
@@ -5,27 +5,39 @@ gem 'rails', '<%= RAILS_VERSION %>'
|
|
5
5
|
|
6
6
|
gem 'coffee-rails', '~> 4.0.0'
|
7
7
|
gem 'daddy', '~> 0.4.0'
|
8
|
-
gem 'jbuilder', '~>
|
8
|
+
gem 'jbuilder', '~> 2.0'
|
9
9
|
gem 'jquery-rails'
|
10
10
|
gem 'mysql2'
|
11
11
|
gem 'rails-i18n'
|
12
|
-
gem '
|
12
|
+
gem 'rake'
|
13
|
+
gem 'sass-rails', '~> 4.0.3'
|
13
14
|
gem 'turbolinks'
|
14
15
|
gem 'uglifier', '>= 1.3.0'
|
15
16
|
|
16
|
-
group :
|
17
|
-
|
18
|
-
gem 'sdoc', require: false
|
17
|
+
group :development do
|
18
|
+
gem 'spring'
|
19
19
|
end
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
group :development, :test do
|
22
|
+
gem 'thin'
|
23
|
+
end
|
24
|
+
|
25
|
+
group :test do
|
26
|
+
gem 'minitest'
|
27
|
+
gem 'minitest-reporters'
|
28
|
+
end
|
23
29
|
|
24
30
|
# Use unicorn as the app server
|
25
31
|
gem 'unicorn'
|
26
32
|
|
27
33
|
# Use Capistrano for deployment
|
28
|
-
|
34
|
+
group :development do
|
35
|
+
gem 'capistrano'
|
36
|
+
gem 'capistrano-bundler'
|
37
|
+
gem 'capistrano-rails'
|
38
|
+
end
|
39
|
+
|
40
|
+
gem 'sdoc', '~> 0.4.0', group: :doc
|
29
41
|
|
30
42
|
# Use debugger
|
31
43
|
# gem 'debugger', group: [:development, :test]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: closer
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|