eac_rails_base0 0.34.1 → 0.35.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/version.rb +1 -1
- data/lib/tasks/eac_rails_base0.rake +0 -9
- data/lib/tasks/eac_rails_base0/gems.rake +22 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7ab092bcae0b8395b3cce25776b7c171b25d0e8c2cce7e67541142cb3884d83
|
4
|
+
data.tar.gz: 771ac8ec4cfc03683bdaec5dea1d91fd6ce261490d6cc7e3a5faf7147c87d94d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09eacbb0d72fff06c47bc50d42b0cc84e3031a11d2cb7b136b27bb3af7d8c9452c27d8db1cb098a719430b9c2abed095c3808f80fc4f6000f9de910cf82dcba0'
|
7
|
+
data.tar.gz: 826830d5b719a1f82df6ed40627566435d23743ee665b3c6315c614513b8e7df025cdfcf2e2227e4de34999204a3048998df5ab9af7287cb03b517984c63f6c6
|
@@ -22,15 +22,6 @@ namespace :eac_rails_base0 do
|
|
22
22
|
|
23
23
|
desc 'Minitest and RSpec for application'
|
24
24
|
task test: ['test', 'eac_rails_base0:rspec']
|
25
|
-
|
26
|
-
namespace :gems do
|
27
|
-
desc 'Minitest and RSpec for application and local gems'
|
28
|
-
task test_all: :environment do
|
29
|
-
require 'eac_ruby_gems_utils/tests/multiple'
|
30
|
-
tests = ::EacRubyGemsUtils::Tests::Multiple.new(::EacRailsBase0::Gems.all)
|
31
|
-
raise 'Some test did not pass' unless tests.ok?
|
32
|
-
end
|
33
|
-
end
|
34
25
|
end
|
35
26
|
|
36
27
|
Rake::Task['default'].clear
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
namespace :eac_rails_base0 do
|
4
|
+
namespace :gems do
|
5
|
+
desc <<~DESCRIPTION
|
6
|
+
Minitest and RSpec for application and local gems.
|
7
|
+
|
8
|
+
Use GEMS environment variable to test only selected gems. Example:
|
9
|
+
|
10
|
+
rake eac_rails_base0:gems:test_all GEMS=gem1_name,gem2_name
|
11
|
+
DESCRIPTION
|
12
|
+
task test_all: :environment do
|
13
|
+
require 'eac_ruby_gems_utils/tests/multiple'
|
14
|
+
gems = ::EacRailsBase0::Gems.all
|
15
|
+
ENV['GEMS'].if_present { |v| v.to_s.split(',').map(&:strip) }.if_present do |gem_names|
|
16
|
+
gems = gems.select { |gem| gem_names.include?(gem.to_s) }
|
17
|
+
end
|
18
|
+
tests = ::EacRubyGemsUtils::Tests::Multiple.new(gems)
|
19
|
+
raise 'Some test did not pass' unless tests.ok?
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
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.35.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-06-
|
11
|
+
date: 2020-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha
|
@@ -583,6 +583,7 @@ files:
|
|
583
583
|
- lib/generators/eac_rails_base0/testers/testers_generator.rb
|
584
584
|
- lib/generators/eac_rails_base0_generator.rb
|
585
585
|
- lib/tasks/eac_rails_base0.rake
|
586
|
+
- lib/tasks/eac_rails_base0/gems.rake
|
586
587
|
homepage: https://github.com/esquilo-azul/eac_rails_base0
|
587
588
|
licenses:
|
588
589
|
- MIT
|