itamae-plugin-recipe-redmine 0.2.3 → 0.2.4
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 +4 -4
- data/itamae-plugin-recipe-redmine.gemspec +2 -2
- data/lib/itamae/plugin/recipe/redmine/default.rb +3 -13
- data/lib/itamae/plugin/recipe/redmine/redmine-4.2.11_sha256sum.txt +1 -0
- data/lib/itamae/plugin/recipe/redmine/version.rb +2 -2
- metadata +6 -6
- data/lib/itamae/plugin/recipe/redmine/files/application.rb.diff +0 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96cf7903fa63ad86c9ebfe3b1322d2be4cae68dcd19254821c298811c494830d
|
|
4
|
+
data.tar.gz: fbde145e8152a74b4124767669a928ea8f3c0130ee108a5370a2bd7c045e95b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acf89e364759af86dc531ad08bb15f30207b18af9db8ce1275da3fc9772d23c989c79e833cd997d8fcfe56f97624f6386d76072a5c8343201d95148384d76379
|
|
7
|
+
data.tar.gz: 7c318878d3115bb253ded3ea4ea1ca8b1987f51d71d0a7272d2d3982fa4f8bbdfd3599e8be168f59009c68edbcc7f490ed4ec3c52a2e6122c20055440b27d17c
|
|
@@ -5,8 +5,8 @@ require "itamae/plugin/recipe/redmine/version"
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "itamae-plugin-recipe-redmine"
|
|
7
7
|
spec.version = Itamae::Plugin::Recipe::Redmine::VERSION
|
|
8
|
-
spec.authors = ["y
|
|
9
|
-
spec.email = ["matsuda@
|
|
8
|
+
spec.authors = ["y.matsuda"]
|
|
9
|
+
spec.email = ["y.matsuda@bizside.biz"]
|
|
10
10
|
|
|
11
11
|
spec.summary = %q{itamae recipe to ease redmine installation}
|
|
12
12
|
spec.description = %q{itamae recipe to ease redmine installation}
|
|
@@ -71,11 +71,12 @@ if ENV['GEMFILE_LOCAL'] || version == '4.1.7'
|
|
|
71
71
|
end
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
execute 'bundle install
|
|
74
|
+
execute 'bundle install' do
|
|
75
75
|
cwd "/opt/redmine/redmine-#{version}"
|
|
76
76
|
command <<-EOF
|
|
77
77
|
set -eu
|
|
78
|
-
bundle
|
|
78
|
+
bundle config set --local without 'itamae development test'
|
|
79
|
+
bundle install -j2
|
|
79
80
|
touch BUNDLED
|
|
80
81
|
EOF
|
|
81
82
|
not_if "test -e /opt/redmine/redmine-#{version}/BUNDLED"
|
|
@@ -87,14 +88,3 @@ link 'current' do
|
|
|
87
88
|
to "redmine-#{version}"
|
|
88
89
|
force true
|
|
89
90
|
end
|
|
90
|
-
|
|
91
|
-
patch_file = "#{File.dirname(__FILE__)}/files/application.rb.diff"
|
|
92
|
-
if version == '4.2.6'
|
|
93
|
-
execute 'apply patch to config.session_store :cookie_store ... secure:true' do
|
|
94
|
-
command "patch -p1 <#{patch_file}"
|
|
95
|
-
not_if "patch -p1 -Rsf --dry-run <#{patch_file}"
|
|
96
|
-
cwd '/opt/redmine/current'
|
|
97
|
-
end
|
|
98
|
-
else
|
|
99
|
-
Itamae.logger.warn "patch(#{patch_file}) is just for redmine #{version}, skipped."
|
|
100
|
-
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
de4ce017c2ad0af94b2941259f356094f369b1b2c621b5a1dd8984a2cf10dc25 redmine-4.2.11.tar.gz
|
|
@@ -2,12 +2,12 @@ module Itamae
|
|
|
2
2
|
module Plugin
|
|
3
3
|
module Recipe
|
|
4
4
|
module Redmine
|
|
5
|
-
VERSION =
|
|
5
|
+
VERSION = '0.2.4'
|
|
6
6
|
|
|
7
7
|
REDMINE_VERSION = [
|
|
8
8
|
REDMINE_VERSION_MAJOR = '4',
|
|
9
9
|
REDMINE_VERSION_MINOR = '2',
|
|
10
|
-
REDMINE_VERSION_PATCH = '
|
|
10
|
+
REDMINE_VERSION_PATCH = '11'
|
|
11
11
|
].join('.')
|
|
12
12
|
end
|
|
13
13
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itamae-plugin-recipe-redmine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- y
|
|
7
|
+
- y.matsuda
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-05
|
|
11
|
+
date: 2023-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: itamae
|
|
@@ -60,7 +60,7 @@ dependencies:
|
|
|
60
60
|
version: 12.3.3
|
|
61
61
|
description: itamae recipe to ease redmine installation
|
|
62
62
|
email:
|
|
63
|
-
- matsuda@
|
|
63
|
+
- y.matsuda@bizside.biz
|
|
64
64
|
executables: []
|
|
65
65
|
extensions: []
|
|
66
66
|
extra_rdoc_files: []
|
|
@@ -75,13 +75,13 @@ files:
|
|
|
75
75
|
- bin/setup
|
|
76
76
|
- itamae-plugin-recipe-redmine.gemspec
|
|
77
77
|
- lib/itamae/plugin/recipe/redmine/default.rb
|
|
78
|
-
- lib/itamae/plugin/recipe/redmine/files/application.rb.diff
|
|
79
78
|
- lib/itamae/plugin/recipe/redmine/redmine-3.2.5_sha256sum.txt
|
|
80
79
|
- lib/itamae/plugin/recipe/redmine/redmine-3.4.10_sha256sum.txt
|
|
81
80
|
- lib/itamae/plugin/recipe/redmine/redmine-4.0.3_sha256sum.txt
|
|
82
81
|
- lib/itamae/plugin/recipe/redmine/redmine-4.1.1_sha256sum.txt
|
|
83
82
|
- lib/itamae/plugin/recipe/redmine/redmine-4.1.5_sha256sum.txt
|
|
84
83
|
- lib/itamae/plugin/recipe/redmine/redmine-4.1.7_sha256sum.txt
|
|
84
|
+
- lib/itamae/plugin/recipe/redmine/redmine-4.2.11_sha256sum.txt
|
|
85
85
|
- lib/itamae/plugin/recipe/redmine/redmine-4.2.6_sha256sum.txt
|
|
86
86
|
- lib/itamae/plugin/recipe/redmine/templates/Gemfile.local.erb
|
|
87
87
|
- lib/itamae/plugin/recipe/redmine/templates/configuration.yml.erb
|
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
105
105
|
- !ruby/object:Gem::Version
|
|
106
106
|
version: '0'
|
|
107
107
|
requirements: []
|
|
108
|
-
rubygems_version: 3.3.
|
|
108
|
+
rubygems_version: 3.3.26
|
|
109
109
|
signing_key:
|
|
110
110
|
specification_version: 4
|
|
111
111
|
summary: itamae recipe to ease redmine installation
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
diff --git a/config/application.rb b/config/application.rb
|
|
2
|
-
index 1905b45..4316f1a 100644
|
|
3
|
-
--- a/config/application.rb
|
|
4
|
-
+++ b/config/application.rb
|
|
5
|
-
@@ -81,6 +81,7 @@ module RedmineApp
|
|
6
|
-
:cookie_store,
|
|
7
|
-
:key => '_redmine_session',
|
|
8
|
-
:path => config.relative_url_root || '/',
|
|
9
|
-
+ :secure => true,
|
|
10
|
-
:same_site => :lax
|
|
11
|
-
)
|
|
12
|
-
|