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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea09e9b4dcde84766fa7083c8bb1a86c8491af61c42e2e8347c870aadb751899
4
- data.tar.gz: 77f7d6e095253daa31e11b7633735e0c707b16de3adbbadeb5291f70a9207c37
3
+ metadata.gz: 2ca698d1b00ca0e49e9c8652c68049e3ff4d3fc012d2849759d1d1fef707f70d
4
+ data.tar.gz: 7b5b40822e2abcd56a2a53dd793fd165044a03b8c89da4b4fc1daaeec800449a
5
5
  SHA512:
6
- metadata.gz: 15e293bbfbc61dcb4b7bc4606c8f00e82bd754b2615b9a30532633e5a898ef12b8de85770254f233027c40c2fd72f4e489d592e2a8d3a4aceaee5f87e1b9b7bb
7
- data.tar.gz: 851585204c32c83e9fa190ebb66e02eafdb350bbd173c52c1d00cf378a709f84e2665c8643792497340540cb7a744f74b000fd0e990a8eca9d0c1669c14b1d2e
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
@@ -1,12 +1,12 @@
1
1
  diff --git a/config/application.rb b/config/application.rb
2
- index c40a580..e748028 100644
2
+ index 1905b45..4316f1a 100644
3
3
  --- a/config/application.rb
4
4
  +++ b/config/application.rb
5
- @@ -80,6 +80,7 @@ module RedmineApp
6
- config.session_store :cookie_store,
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.7"
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.7
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-13 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
@@ -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.2.29
107
+ rubygems_version: 3.3.16
107
108
  signing_key:
108
109
  specification_version: 4
109
110
  summary: itamae recipe to ease redmine installation