redmine_with_git 0.6.6 → 0.6.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: d9cd18d67c21ce83f22e2fb723565d29ccabc5a94ecc067af4cdad07ddb6056f
4
- data.tar.gz: 20a85425786d00990baa5383914256fd9fd538ce706a7ead6090c5c333f2ca84
3
+ metadata.gz: 0042c0866a1c3837ee497d22bc60af1c308205aacfd5ed3dcbc1f8f5d18a1d55
4
+ data.tar.gz: 4900f7e85ee5f940d7a8fbe04a5d865c9b7fec47e86d47fd21a618d35df40493
5
5
  SHA512:
6
- metadata.gz: ccc841dbce7f3344eda27888db548e02c02e0a10423b7ca8b19eb89d609c73948a046feefaea1364b6b7e445f1848eda10e128810de0c626f642a193f23711d5
7
- data.tar.gz: aee908492c5f37941f2a27033a10225667b4b0b7c0c024d34c6a9c6f8007947b5f6ff6153b660659ffacff9b22d45530cb6d3f99e65a897c6a133c03f2a16591
6
+ metadata.gz: 3f5f9e2047c92a341762015813cd34e6d375267a3db52c3a2ae6f60249c9b9efec82920dcf3ecc47309655e330e1f03eed6d2c283ec673e98fe3c4d1753e6b16
7
+ data.tar.gz: dae66e51c807e2c87df8242a8207f8f538320f14e0463029bca54d25679d00135a93e16aba1363bcb2f8e3f8ffba28df0cb1b252b7aa9f01f5f735d021dc2db2
@@ -1,4 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ apply_patches_version_limit = ::Gem::Version.new('4.0.0')
4
+ redmine_git_hosting_version = ::Gem::Version.new(
5
+ ::Redmine::Plugin.registered_plugins[:redmine_git_hosting].version
6
+ )
7
+
8
+ return unless redmine_git_hosting_version < apply_patches_version_limit
9
+
3
10
  require 'redmine_with_git/patches/redmine_git_hosting/cache/database_patch'
4
11
  require 'redmine_with_git/patches/redmine_git_hosting/commands/git/git_patch'
@@ -8,5 +8,5 @@ function task_condition {
8
8
  }
9
9
 
10
10
  function task_dependencies {
11
- echo gitolite_rc redmine_gitolite_sudoer redmine_git_hosting_settings apt_ruby python_two
11
+ echo gitolite_setup redmine_gitolite_sudoer redmine_git_hosting_settings apt_ruby python_two
12
12
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RedmineWithGit
4
- VERSION = '0.6.6'
4
+ VERSION = '0.6.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_with_git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-02 00:00:00.000000000 Z
11
+ date: 2020-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm-tools