itamae-plugin-recipe-redmine 0.1.7 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/itamae/plugin/recipe/redmine/default.rb +8 -4
- data/lib/itamae/plugin/recipe/redmine/files/application.rb.diff +4 -4
- data/lib/itamae/plugin/recipe/redmine/redmine-4.2.6_sha256sum.txt +1 -0
- data/lib/itamae/plugin/recipe/redmine/version.rb +3 -3
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ca698d1b00ca0e49e9c8652c68049e3ff4d3fc012d2849759d1d1fef707f70d
|
4
|
+
data.tar.gz: 7b5b40822e2abcd56a2a53dd793fd165044a03b8c89da4b4fc1daaeec800449a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68e161ac51ec969ee0286a9035d40d970731ed7ce7a9772957e7b14c9e56f35aa25b1288c365cf139b9e68909432a4c322d1a287fdeb342ac30c0cd3378a8355
|
7
|
+
data.tar.gz: 1804b49c5d04e906ed130a4235112f0e4711a95c34e00fb10efb2d55737a4d6b7467b89f9833c24fae131d09aec407b06c68473102e68164b1e7565900645933
|
data/README.md
CHANGED
@@ -79,8 +79,12 @@ link 'current' do
|
|
79
79
|
end
|
80
80
|
|
81
81
|
patch_file = "#{File.dirname(__FILE__)}/files/application.rb.diff"
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
82
|
+
if version == '4.2.6'
|
83
|
+
execute 'apply patch to config.session_store :cookie_store ... secure:true' do
|
84
|
+
command "patch -p1 <#{patch_file}"
|
85
|
+
not_if "patch -p1 -Rsf --dry-run <#{patch_file}"
|
86
|
+
cwd '/opt/redmine/current'
|
87
|
+
end
|
88
|
+
else
|
89
|
+
Itamae.logger.warn "patch(#{patch_file}) is just for redmine #{version}, skipped."
|
86
90
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
diff --git a/config/application.rb b/config/application.rb
|
2
|
-
index
|
2
|
+
index 1905b45..4316f1a 100644
|
3
3
|
--- a/config/application.rb
|
4
4
|
+++ b/config/application.rb
|
5
|
-
@@ -
|
6
|
-
|
5
|
+
@@ -81,6 +81,7 @@ module RedmineApp
|
6
|
+
:cookie_store,
|
7
7
|
:key => '_redmine_session',
|
8
8
|
:path => config.relative_url_root || '/',
|
9
9
|
+ :secure => true,
|
10
10
|
:same_site => :lax
|
11
|
+
)
|
11
12
|
|
12
|
-
if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb'))
|
@@ -0,0 +1 @@
|
|
1
|
+
022cb2eee0f8823fd27e2e93373086a29b4bb11215ee6dc7012b5ef2a3bada4c redmine-4.2.6.tar.gz
|
@@ -2,12 +2,12 @@ module Itamae
|
|
2
2
|
module Plugin
|
3
3
|
module Recipe
|
4
4
|
module Redmine
|
5
|
-
VERSION = "0.1
|
5
|
+
VERSION = "0.2.1"
|
6
6
|
|
7
7
|
REDMINE_VERSION = [
|
8
8
|
REDMINE_VERSION_MAJOR = '4',
|
9
|
-
REDMINE_VERSION_MINOR = '
|
10
|
-
REDMINE_VERSION_PATCH = '
|
9
|
+
REDMINE_VERSION_MINOR = '2',
|
10
|
+
REDMINE_VERSION_PATCH = '6'
|
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.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- y-matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07
|
11
|
+
date: 2022-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- lib/itamae/plugin/recipe/redmine/redmine-4.1.1_sha256sum.txt
|
83
83
|
- lib/itamae/plugin/recipe/redmine/redmine-4.1.5_sha256sum.txt
|
84
84
|
- lib/itamae/plugin/recipe/redmine/redmine-4.1.7_sha256sum.txt
|
85
|
+
- lib/itamae/plugin/recipe/redmine/redmine-4.2.6_sha256sum.txt
|
85
86
|
- lib/itamae/plugin/recipe/redmine/templates/configuration.yml.erb
|
86
87
|
- lib/itamae/plugin/recipe/redmine/version.rb
|
87
88
|
homepage: https://github.com/maedadev/itamae-plugin-recipe-redmine
|
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
104
|
- !ruby/object:Gem::Version
|
104
105
|
version: '0'
|
105
106
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
107
|
+
rubygems_version: 3.3.16
|
107
108
|
signing_key:
|
108
109
|
specification_version: 4
|
109
110
|
summary: itamae recipe to ease redmine installation
|