eac_rails_base0 0.33.0 → 0.36.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/pg_deprecated_constants.rb +1 -1
- data/lib/eac_rails_base0/app_base/application.rb +3 -0
- data/lib/eac_rails_base0/engine.rb +5 -0
- 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 +23 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d120f94fa8405a3f4cfb5ee52090c58b9b0dae1a2a9bece05a33c61794385cc0
|
4
|
+
data.tar.gz: 0532c6ae78103c821e123d69c90364dd02c4cfffbb037247854cef124a795bde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5442fbfc8a27b7a1611745a6e2d17f139f65368d9955b1ddcc9cb7bf6e9284791c63bb1ecb8c26fa3bc4c53ad1716962fe5f0e5feed5f7e055cb2bba146c4634
|
7
|
+
data.tar.gz: bb81896acfc52f7b4f5ec629ed7c9ca7b27d6ca67097c2b2d0604de8d7b497abe714228b5e735310d62cd3ee49408254cad1ea6ea45a71698b86d85d516be04b
|
@@ -17,7 +17,7 @@
|
|
17
17
|
#
|
18
18
|
# config.autoload_paths << Rails.root.join('lib')
|
19
19
|
#
|
20
|
-
if (PG::VERSION != '0.21.0') || (ActiveRecord.version.to_s != '4.2.11.
|
20
|
+
if (PG::VERSION != '0.21.0') || (ActiveRecord.version.to_s != '4.2.11.3')
|
21
21
|
::Rails.logger.warn(<<~MSG)
|
22
22
|
-----------------------------------------------------------------------------------
|
23
23
|
The pg and/or activerecord gem version has changed, meaning deprecated pg constants
|
@@ -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.36.1
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.14'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.14.2
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0.14'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.14.2
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bootstrap-sass
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,6 +298,20 @@ dependencies:
|
|
292
298
|
- - ">="
|
293
299
|
- !ruby/object:Gem::Version
|
294
300
|
version: '0'
|
301
|
+
- !ruby/object:Gem::Dependency
|
302
|
+
name: launchy
|
303
|
+
requirement: !ruby/object:Gem::Requirement
|
304
|
+
requirements:
|
305
|
+
- - ">="
|
306
|
+
- !ruby/object:Gem::Version
|
307
|
+
version: '0'
|
308
|
+
type: :runtime
|
309
|
+
prerelease: false
|
310
|
+
version_requirements: !ruby/object:Gem::Requirement
|
311
|
+
requirements:
|
312
|
+
- - ">="
|
313
|
+
- !ruby/object:Gem::Version
|
314
|
+
version: '0'
|
295
315
|
- !ruby/object:Gem::Dependency
|
296
316
|
name: puma
|
297
317
|
requirement: !ruby/object:Gem::Requirement
|
@@ -569,6 +589,7 @@ files:
|
|
569
589
|
- lib/generators/eac_rails_base0/testers/testers_generator.rb
|
570
590
|
- lib/generators/eac_rails_base0_generator.rb
|
571
591
|
- lib/tasks/eac_rails_base0.rake
|
592
|
+
- lib/tasks/eac_rails_base0/gems.rake
|
572
593
|
homepage: https://github.com/esquilo-azul/eac_rails_base0
|
573
594
|
licenses:
|
574
595
|
- MIT
|