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 +4 -4
- data/lib/eac_rails_base0.rb +1 -0
- data/lib/eac_rails_base0/gems.rb +32 -0
- data/lib/eac_rails_base0/version.rb +1 -1
- data/lib/tasks/eac_rails_base0.rake +9 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03077522dbeb6bece0eb8218eb7403338191e70716c8ced2aae74a356e11923b
|
4
|
+
data.tar.gz: 35179a2e8c05e6b346e4c5d8efbddef90135f508dc17083ae4be9b869c755436
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 283ae5004951ccff0d24d3b7660f936b15905867f295b4ef37ec1f90f6aae6f2607e213a7e8a3b5e20aef3c83bf95c320dcce1ef6ba3bbe22fba1511d3ddbb0f
|
7
|
+
data.tar.gz: 6df83822ba4dec1e7c00d652635c9ebfd96593913a78316c3e241f0c037a380c8c4f946b4a3cd325dafecf2998a870eec3a99e054097a9b38785b303a40cd5c6
|
data/lib/eac_rails_base0.rb
CHANGED
@@ -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
|
@@ -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(
|
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.
|
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
|
+
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
|