itamae-plugin-recipe-redmine 0.1.4 → 0.1.7

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: 2c5cf1d8b8b7af0170790cf8de73ec94223ef06ab2da199a6b5f718e16481815
4
- data.tar.gz: 5f333eeb03b2739f4bffc77f2ce6bb96888919525d9620184d66cf3248ce3c3b
3
+ metadata.gz: ea09e9b4dcde84766fa7083c8bb1a86c8491af61c42e2e8347c870aadb751899
4
+ data.tar.gz: 77f7d6e095253daa31e11b7633735e0c707b16de3adbbadeb5291f70a9207c37
5
5
  SHA512:
6
- metadata.gz: a862b6a326df22f550b5b6cff7fbfda5ec2d365315bb8ea2940c707843f7c4454b02f0adab6d8a523bb9890cbf5f8315685b271a534ec8c0f2057299955fe25e
7
- data.tar.gz: 8b9896c0522968ca8fc88811b8daa6fe5a2dbc0f886592770dc0cdfa49ffde88bf0a4954f5f3e5b1a7cc57d0fd5c1eb80716d5e1a7fe8f24a90019c7a97980b2
6
+ metadata.gz: 15e293bbfbc61dcb4b7bc4606c8f00e82bd754b2615b9a30532633e5a898ef12b8de85770254f233027c40c2fd72f4e489d592e2a8d3a4aceaee5f87e1b9b7bb
7
+ data.tar.gz: 851585204c32c83e9fa190ebb66e02eafdb350bbd173c52c1d00cf378a709f84e2665c8643792497340540cb7a744f74b000fd0e990a8eca9d0c1669c14b1d2e
@@ -77,3 +77,10 @@ link 'current' do
77
77
  to "redmine-#{version}"
78
78
  force true
79
79
  end
80
+
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'
86
+ end
@@ -0,0 +1,12 @@
1
+ diff --git a/config/application.rb b/config/application.rb
2
+ index c40a580..e748028 100644
3
+ --- a/config/application.rb
4
+ +++ b/config/application.rb
5
+ @@ -80,6 +80,7 @@ module RedmineApp
6
+ config.session_store :cookie_store,
7
+ :key => '_redmine_session',
8
+ :path => config.relative_url_root || '/',
9
+ + :secure => true,
10
+ :same_site => :lax
11
+
12
+ if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb'))
@@ -0,0 +1 @@
1
+ bf56cade5d0a6623af590652bffe2865208f399fe77746d4e1bbd9d1a995a38a redmine-4.1.7.tar.gz
@@ -2,12 +2,12 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Redmine
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.7"
6
6
 
7
7
  REDMINE_VERSION = [
8
8
  REDMINE_VERSION_MAJOR = '4',
9
9
  REDMINE_VERSION_MINOR = '1',
10
- REDMINE_VERSION_PATCH = '5'
10
+ REDMINE_VERSION_PATCH = '7'
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
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - y-matsuda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -75,11 +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
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
84
+ - lib/itamae/plugin/recipe/redmine/redmine-4.1.7_sha256sum.txt
83
85
  - lib/itamae/plugin/recipe/redmine/templates/configuration.yml.erb
84
86
  - lib/itamae/plugin/recipe/redmine/version.rb
85
87
  homepage: https://github.com/maedadev/itamae-plugin-recipe-redmine
@@ -101,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
103
  - !ruby/object:Gem::Version
102
104
  version: '0'
103
105
  requirements: []
104
- rubygems_version: 3.2.16
106
+ rubygems_version: 3.2.29
105
107
  signing_key:
106
108
  specification_version: 4
107
109
  summary: itamae recipe to ease redmine installation