eac_rails_base0 0.28.3 → 0.29.0

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: 2ca6e4ae6b633d71a62eb6a2d6783360edb9edbbab02ec6ba90c75dc3e3bcd62
4
- data.tar.gz: 7790ab4931d43b09539cb8af9457d588c1fa9c3063a4be7320498aa98401cd89
3
+ metadata.gz: 03077522dbeb6bece0eb8218eb7403338191e70716c8ced2aae74a356e11923b
4
+ data.tar.gz: 35179a2e8c05e6b346e4c5d8efbddef90135f508dc17083ae4be9b869c755436
5
5
  SHA512:
6
- metadata.gz: 5dfdc2e9c6cc418a8b026d73fd35cb928126a76e86403fc02df459586055ae554b9e1b4bd4082cda4d416658d73570c93b0f27bd142017fab7f6a9ed3793ac47
7
- data.tar.gz: 25847b52d81ea6525e8b20b8a43fadc139a3bfd661b54815f056afcc4212647f0576074d23cc813b506bd65440d67770a5c916688e0821afd0e2376fff901e80
6
+ metadata.gz: 283ae5004951ccff0d24d3b7660f936b15905867f295b4ef37ec1f90f6aae6f2607e213a7e8a3b5e20aef3c83bf95c320dcce1ef6ba3bbe22fba1511d3ddbb0f
7
+ data.tar.gz: 6df83822ba4dec1e7c00d652635c9ebfd96593913a78316c3e241f0c037a380c8c4f946b4a3cd325dafecf2998a870eec3a99e054097a9b38785b303a40cd5c6
@@ -17,6 +17,7 @@ require 'rails-i18n'
17
17
  module EacRailsBase0
18
18
  end
19
19
 
20
+ require_dependency 'eac_rails_base0/gems'
20
21
  require_dependency 'eac_rails_base0/app_base/ability_mapping'
21
22
  require_dependency 'eac_rails_base0/app_base/ability'
22
23
  require_dependency 'eac_rails_base0/boolean_value'
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+ require 'eac_ruby_utils/gem'
3
+
4
+ module EacRailsBase0
5
+ module Gems
6
+ class << self
7
+ enable_simple_cache
8
+
9
+ def vendor_gems_root
10
+ ::Rails.root.join('vendor', 'gems')
11
+ end
12
+
13
+ private
14
+
15
+ def app_uncached
16
+ ::EacRubyUtils::Gem.new(::Rails.root)
17
+ end
18
+
19
+ def all_uncached
20
+ vendor_gems + [app]
21
+ end
22
+
23
+ def vendor_gems_uncached
24
+ r = []
25
+ vendor_gems_root.each_child.each do |child|
26
+ r << ::EacRubyUtils::Gem.new(child) if child.directory?
27
+ end
28
+ r
29
+ end
30
+ end
31
+ end
32
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsBase0
4
- VERSION = '0.28.3'
4
+ VERSION = '0.29.0'
5
5
  end
@@ -21,7 +21,15 @@ namespace :eac_rails_base0 do
21
21
 
22
22
  desc 'Minitest and RSpec for application'
23
23
  task test: ['test', 'eac_rails_base0:rspec']
24
+
25
+ namespace :gems do
26
+ desc 'Minitest and RSpec for application and local gems'
27
+ task test_all: :environment do
28
+ require 'eac_ruby_utils/gem/test_all'
29
+ ::EacRubyUtils::Gem::TestAll.new(::EacRailsBase0::Gems.all)
30
+ end
31
+ end
24
32
  end
25
33
 
26
34
  Rake::Task['default'].clear
27
- task default: %w(test eac_rails_base0:rspec)
35
+ task default: %w(eac_rails_base0:gems:test_all)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.3
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-11 00:00:00.000000000 Z
11
+ date: 2020-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -166,6 +166,20 @@ dependencies:
166
166
  - - ">="
167
167
  - !ruby/object:Gem::Version
168
168
  version: 0.7.1
169
+ - !ruby/object:Gem::Dependency
170
+ name: eac_ruby_utils
171
+ requirement: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - "~>"
174
+ - !ruby/object:Gem::Version
175
+ version: '0.19'
176
+ type: :runtime
177
+ prerelease: false
178
+ version_requirements: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - "~>"
181
+ - !ruby/object:Gem::Version
182
+ version: '0.19'
169
183
  - !ruby/object:Gem::Dependency
170
184
  name: eac_users_support
171
185
  requirement: !ruby/object:Gem::Requirement
@@ -517,6 +531,7 @@ files:
517
531
  - lib/eac_rails_base0/app_generator/templates/lib/local_plugins.rb
518
532
  - lib/eac_rails_base0/boolean_value.rb
519
533
  - lib/eac_rails_base0/engine.rb
534
+ - lib/eac_rails_base0/gems.rb
520
535
  - lib/eac_rails_base0/patches/eac_rails_utils_links_helper_patch.rb
521
536
  - lib/eac_rails_base0/patches/url_for_patch.rb
522
537
  - lib/eac_rails_base0/spec_helper.rb