rhino_project_core 0.21.0.beta.1 → 0.21.0.beta.3

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: 93462d001e490b84cb70add85535ccc110e7ef295b10a2542a7abbd2be3ce9cb
4
- data.tar.gz: a94ccc16f6aa3a551ab4e81ac5ec50f443de0c486adc50a4518eec1777c940af
3
+ metadata.gz: dfa745215723c40c62037f2983e39837f1b656d6997f58e99a04b145bd2801ba
4
+ data.tar.gz: 991446616eabaa3092ead218f9f799badc4ac11835aef320a1c0e4367390500a
5
5
  SHA512:
6
- metadata.gz: 4f40f0b2cf3e2d17e92a12d1616c4224ec6a1f332c405fbe9c35036163d1db8486a31cceec2afde345cb81aeddd54f8cb8baba0cb6cceaa4dffd0c633624cb32
7
- data.tar.gz: 8da8295883e984c5e82f1cf552f1123a349b6b54a5661d23a5c8b92f48624b8adc0386101f02b781d78c329a2a13e3bb47b3f581b008ef13ac9125304b0f479f
6
+ metadata.gz: a533e172b0b6d18d85ebf6b23df9944119012d69458ac63a862ac394bf8a8c8ee1fe241477a2fbbde8310ccb15f885d495c5e9fc1324d5055e6f875dfa17a1de
7
+ data.tar.gz: 6e84290fa698fd226df20792ea4bfcb4ea6ba0901222d34fb3009fbf1855d950ba5eef197ead98743ab61d742223fddf57cc1a4095e6ef0469c035db733e5e24
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "rails/generators"
4
4
  require "rails/generators/active_record/model/model_generator"
5
+ require "rails/generators/active_record/migration/migration_generator"
5
6
 
6
7
  module Rhino
7
8
  class ModelGenerator < ::ActiveRecord::Generators::ModelGenerator
@@ -15,7 +16,8 @@ module Rhino
15
16
  def source_paths
16
17
  [
17
18
  File.expand_path("templates", __dir__),
18
- ::ActiveRecord::Generators::ModelGenerator.source_root
19
+ ::ActiveRecord::Generators::ModelGenerator.source_root,
20
+ ::ActiveRecord::Generators::MigrationGenerator.source_root
19
21
  ]
20
22
  end
21
23
 
@@ -44,7 +44,7 @@ module Rhino
44
44
  end
45
45
 
46
46
  def virtual_properties
47
- columns.select(&:virtual?).map(&:name)
47
+ columns.select(&:virtual?).map(&:name) # rubocop:todo Performance/SelectMap
48
48
  end
49
49
 
50
50
  def foreign_key_properties
data/lib/rhino/version.rb CHANGED
@@ -10,7 +10,7 @@ module Rhino
10
10
  MAJOR = 0
11
11
  MINOR = 21
12
12
  TINY = 0
13
- PRE = "beta.1"
13
+ PRE = "beta.3"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhino_project_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0.beta.1
4
+ version: 0.21.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Rosevear
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-08 00:00:00.000000000 Z
11
+ date: 2024-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.0
19
+ version: 7.1.0
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 7.0.0
22
+ version: 7.1.0
23
23
  type: :runtime
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: 7.0.0
29
+ version: 7.1.0
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 7.0.0
32
+ version: 7.1.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activeadmin
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -520,11 +520,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
520
520
  version: '0'
521
521
  required_rubygems_version: !ruby/object:Gem::Requirement
522
522
  requirements:
523
- - - ">"
523
+ - - ">="
524
524
  - !ruby/object:Gem::Version
525
- version: 1.3.1
525
+ version: '0'
526
526
  requirements: []
527
- rubygems_version: 3.3.27
527
+ rubygems_version: 3.5.11
528
528
  signing_key:
529
529
  specification_version: 4
530
530
  summary: ''