redmine_avm 0.3.9 → 0.3.10

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: 173ffbb2bc1168282efb7029c7b43b18b22fd7b7ac2bab42198a39e499902a55
4
+ data.tar.gz: 2727e56f0cad03356708e7b0e03e1639c49e61611828bcde298d4274df31eb52
5
5
  SHA512:
6
- metadata.gz: feea40f6f5f64360365e3a81a2f0c17c210915ae63aef6e1f62953b274bbab9e0cfc96f8e94a736770a47cad8034bd107f4d67e5365f214a3f4088571bab4032
7
- data.tar.gz: c8cceb5e4362f19c57269383716902ab54cc2d0d561b717aa85d29bab6dde6b2d19aa6efb891f7661d48fade4466bf205cdf706649197a7f27149ce8c4e0092c
6
+ metadata.gz: a566cb5e5e742aa2dcd09f7fe668166737e0b917d51f69f39b8a42ff27d8f97eea41fdebb40ff57bde72bf04183953bb41c85f19881bb309c195f0fa2d731685
7
+ data.tar.gz: b99152e6e17351778243217508694085073a6729df5826d73746d2d0f395e999cfdf52948cf774de6b928b30717410437ec3151f8e6e262f0a49475c1dddc6f8
@@ -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.10'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.10
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: 2022-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers