daddy 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dad +1 -1
- data/itamae/cookbooks/jenkins/install.rb +6 -4
- data/itamae/cookbooks/mysql/install.rb +1 -1
- data/itamae/locale/en.yml +4 -0
- data/itamae/locale/ja.yml +4 -0
- data/lib/daddy/carrierwave.rb +1 -0
- data/lib/daddy/itamae.rb +5 -0
- data/lib/daddy/version.rb +1 -1
- data/lib/tasks/task_helper.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eadb2a4c7c0979839b8071a127c7b4b3105469e
|
4
|
+
data.tar.gz: d4b5a43b23fbd764e30c09b52a991eb3d1a0513d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92b51005d14db37725b7f4b8e88dac35a4570576030bbe7edf89bdf57f382faadf4f1f7f4427ab25d5957cda668e62d7af6ad5d3bd94dad70f1be83025dd5596
|
7
|
+
data.tar.gz: 60c76f810f20cf21c5c300e08910b6f235c4f7e35f38c1455bcc89e1a0f982394ee4c637440940556e3f5c550097ac9fa0571934db85ce52aaa427798c757bf6
|
data/bin/dad
CHANGED
@@ -16,6 +16,11 @@ else
|
|
16
16
|
raise "サポートしていないOSバージョンです。#{@os_version}"
|
17
17
|
end
|
18
18
|
|
19
|
+
execute 'rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key' do
|
20
|
+
user 'root'
|
21
|
+
not_if 'test -e /etc/yum.repos.d/jenkins.repo'
|
22
|
+
end
|
23
|
+
|
19
24
|
http_request '/etc/yum.repos.d/jenkins.repo' do
|
20
25
|
user 'root'
|
21
26
|
owner 'root'
|
@@ -24,10 +29,6 @@ http_request '/etc/yum.repos.d/jenkins.repo' do
|
|
24
29
|
url 'http://pkg.jenkins-ci.org/redhat/jenkins.repo'
|
25
30
|
end
|
26
31
|
|
27
|
-
execute 'rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key' do
|
28
|
-
user 'root'
|
29
|
-
end
|
30
|
-
|
31
32
|
package 'jenkins' do
|
32
33
|
user 'root'
|
33
34
|
end
|
@@ -68,6 +69,7 @@ directory '/var/lib/jenkins/plugins' do
|
|
68
69
|
end
|
69
70
|
|
70
71
|
@plugins = [
|
72
|
+
{:name => 'ansicolor', :version => nil},
|
71
73
|
{:name => 'build-pipeline-plugin', :version => nil},
|
72
74
|
{:name => 'git', :version => nil},
|
73
75
|
{:name => 'git-client', :version => nil},
|
@@ -0,0 +1 @@
|
|
1
|
+
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/
|
data/lib/daddy/itamae.rb
CHANGED
@@ -34,6 +34,11 @@ module Itamae
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
+
require 'i18n'
|
38
|
+
I18n.available_locales = [:en, :ja]
|
39
|
+
I18n.default_locale = ENV['LANG'].start_with?('ja_') ? :ja : en
|
40
|
+
I18n.load_path += Dir.glob(File.expand_path('../../../itamae/locale/*.yml', __FILE__))
|
41
|
+
|
37
42
|
Dir[File.join(File.dirname(__FILE__), 'itamae', '*.rb')].each do |f|
|
38
43
|
require f
|
39
44
|
end
|
data/lib/daddy/version.rb
CHANGED
data/lib/tasks/task_helper.rb
CHANGED
@@ -4,7 +4,7 @@ require 'yaml'
|
|
4
4
|
require File.expand_path('../../daddy/version', __FILE__)
|
5
5
|
|
6
6
|
require 'i18n'
|
7
|
-
I18n.load_path += Dir.glob(File.expand_path('
|
7
|
+
I18n.load_path += Dir.glob(File.expand_path('../../tasks/locale/*.yml', __FILE__))
|
8
8
|
|
9
9
|
def self.daddy_version
|
10
10
|
Daddy::VERSION
|
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.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -254,6 +254,8 @@ files:
|
|
254
254
|
- itamae/cookbooks/mysql/install.rb
|
255
255
|
- itamae/cookbooks/mysql/mysql_secure_installation.sh
|
256
256
|
- itamae/cookbooks/phantomjs/install.rb
|
257
|
+
- itamae/locale/en.yml
|
258
|
+
- itamae/locale/ja.yml
|
257
259
|
- itamae/templates/etc/god/master.conf.erb
|
258
260
|
- itamae/templates/etc/init.d/god.erb
|
259
261
|
- itamae/templates/etc/logrotate.d/god.erb
|
@@ -265,6 +267,7 @@ files:
|
|
265
267
|
- lib/capistrano/daddy.rb
|
266
268
|
- lib/capistrano/tasks/update_linked_files.rake
|
267
269
|
- lib/daddy.rb
|
270
|
+
- lib/daddy/carrierwave.rb
|
268
271
|
- lib/daddy/cucumber.rb
|
269
272
|
- lib/daddy/cucumber/helpers.rb
|
270
273
|
- lib/daddy/cucumber/helpers/assert.rb
|