itamae-plugin-recipe-redmine 0.1.6 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 426f8d0c0026e49001c0ae65888e2f3936237b720cf5e3117cadab77a65b96c0
4
- data.tar.gz: 1c28a84124086c169b8fafda014198a1a103d482c0490586782cc557b58f56dc
3
+ metadata.gz: 2ca698d1b00ca0e49e9c8652c68049e3ff4d3fc012d2849759d1d1fef707f70d
4
+ data.tar.gz: 7b5b40822e2abcd56a2a53dd793fd165044a03b8c89da4b4fc1daaeec800449a
5
5
  SHA512:
6
- metadata.gz: 84c457dc7c38330ebdaa3c5e96e84088a93d4c3cbd1efbf0ff47227b598be7127f1248c0f84fc0976c6c05ee06ca507d3745bceef5efc6b694113072affcc881
7
- data.tar.gz: 73fbcee351a63efcb6a37a354b26fc305e71d30f56c3534b36509e6a74037cdacf6ebe235098eab238a7b9529cef15bb047b8ee64d214eb87ce491f6d40b9b80
6
+ metadata.gz: 68e161ac51ec969ee0286a9035d40d970731ed7ce7a9772957e7b14c9e56f35aa25b1288c365cf139b9e68909432a4c322d1a287fdeb342ac30c0cd3378a8355
7
+ data.tar.gz: 1804b49c5d04e906ed130a4235112f0e4711a95c34e00fb10efb2d55737a4d6b7467b89f9833c24fae131d09aec407b06c68473102e68164b1e7565900645933
data/README.md CHANGED
@@ -21,10 +21,12 @@ Or install it yourself as:
21
21
  ## Usage
22
22
 
23
23
  from command line:
24
+
24
25
  $ itamae local -n redmine::default # dry-run
25
26
  $ itamae local redmine::default # real-run
26
27
 
27
28
  from recipe:
29
+
28
30
  include_recipe 'redmine'
29
31
 
30
32
  ## Development
@@ -79,8 +79,12 @@ link 'current' do
79
79
  end
80
80
 
81
81
  patch_file = "#{File.dirname(__FILE__)}/files/application.rb.diff"
82
- execute 'apply patch to config.session_store :cookie_store ... secure:true' do
83
- command "patch -p1 <#{patch_file}"
84
- not_if "patch -p1 -Rsf --dry-run <#{patch_file}"
85
- cwd '/opt/redmine/current'
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
@@ -0,0 +1,12 @@
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
+
@@ -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.6"
5
+ VERSION = "0.2.1"
6
6
 
7
7
  REDMINE_VERSION = [
8
8
  REDMINE_VERSION_MAJOR = '4',
9
- REDMINE_VERSION_MINOR = '1',
10
- REDMINE_VERSION_PATCH = '7'
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.6
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-12 00:00:00.000000000 Z
11
+ date: 2022-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -75,12 +75,14 @@ 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
78
79
  - lib/itamae/plugin/recipe/redmine/redmine-3.2.5_sha256sum.txt
79
80
  - lib/itamae/plugin/recipe/redmine/redmine-3.4.10_sha256sum.txt
80
81
  - lib/itamae/plugin/recipe/redmine/redmine-4.0.3_sha256sum.txt
81
82
  - lib/itamae/plugin/recipe/redmine/redmine-4.1.1_sha256sum.txt
82
83
  - lib/itamae/plugin/recipe/redmine/redmine-4.1.5_sha256sum.txt
83
84
  - lib/itamae/plugin/recipe/redmine/redmine-4.1.7_sha256sum.txt
85
+ - lib/itamae/plugin/recipe/redmine/redmine-4.2.6_sha256sum.txt
84
86
  - lib/itamae/plugin/recipe/redmine/templates/configuration.yml.erb
85
87
  - lib/itamae/plugin/recipe/redmine/version.rb
86
88
  homepage: https://github.com/maedadev/itamae-plugin-recipe-redmine
@@ -102,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
104
  - !ruby/object:Gem::Version
103
105
  version: '0'
104
106
  requirements: []
105
- rubygems_version: 3.2.29
107
+ rubygems_version: 3.3.16
106
108
  signing_key:
107
109
  specification_version: 4
108
110
  summary: itamae recipe to ease redmine installation