redmine_avm 0.3.9 → 0.3.11

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: f31a235786842c1f954bb2a74bc83bfadefb877018a2d4fb5664033013e76a7a
4
- data.tar.gz: aaa5f48be4c389994b9f9f51a215d674f881e3f78ff426bb5babe8d005bafa52
3
+ metadata.gz: 3442d9e1194d25d289d9d641f94d9ed2b0afa92148e0d27f00526bdbed797b52
4
+ data.tar.gz: 214be7dc79de1799669efd782a59f0e7e1477f6d8d1b773641bdda18861c0ada
5
5
  SHA512:
6
- metadata.gz: feea40f6f5f64360365e3a81a2f0c17c210915ae63aef6e1f62953b274bbab9e0cfc96f8e94a736770a47cad8034bd107f4d67e5365f214a3f4088571bab4032
7
- data.tar.gz: c8cceb5e4362f19c57269383716902ab54cc2d0d561b717aa85d29bab6dde6b2d19aa6efb891f7661d48fade4466bf205cdf706649197a7f27149ce8c4e0092c
6
+ metadata.gz: c0dd004ea1d1d3e49e7516f58236c7bb9825b9227c7e373ba7aebff413d52981f6db6be7495b7fb5361e34e75d549da232861cf6183bba67c2f42809be41ca93
7
+ data.tar.gz: 640b8cdfed028ce82829d8156a2c2f69085c57c0296b229a793901db57c36dc68535df6a776de7e230979e3fec3b9715dc6a19c192e7bd82cf15fe2363edde71
@@ -11,7 +11,7 @@ default_value = {
11
11
  unmotivated_message: 'This issue is not motivated.'
12
12
  }
13
13
 
14
- if ActiveRecord::Base.connection.table_exists? ::User.table_name
14
+ if ::RedminePluginsHelper::Available.model?(::User)
15
15
  default_admin = ::User.where(id: 1, admin: true).first
16
16
  default_value[:admin_user_id] = default_admin.id if default_admin
17
17
  end
@@ -4,5 +4,5 @@ module RedmineAvm
4
4
  AUTHOR = 'Eduardo Henrique Bogoni'
5
5
  HOMEPAGE = 'https://github.com/esquilo-azul/redmine_avm'
6
6
  SUMMARY = 'AVM support for Redmine.'
7
- VERSION = '0.3.9'
7
+ VERSION = '0.3.11'
8
8
  end
metadata CHANGED
@@ -1,49 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_avm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Henrique Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-06 00:00:00.000000000 Z
11
+ date: 2024-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: aranha-parsers
14
+ name: eac_rails_gem_support
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.14'
19
+ version: '0.9'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.14.1
23
- type: :runtime
22
+ version: 0.9.2
23
+ type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '0.14'
29
+ version: '0.9'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.14.1
33
- - !ruby/object:Gem::Dependency
34
- name: eac_ruby_gem_support
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: 0.5.1
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: 0.5.1
32
+ version: 0.9.2
47
33
  description:
48
34
  email:
49
35
  executables: []