eac_rails_base0 0.32.0 → 0.36.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: bb3b18eec95976a1e5442f5571bc7908d4ecbb2fbfb2761557ace73bbbb100f4
4
- data.tar.gz: 843bad1e838cbd1be6598b4b7690cb5f6f9bc076bcf07b21dbe0efc0d9d45414
3
+ metadata.gz: 8d7fa88cb36806bcf8ad71688d160e44ef49790e758d19f3b9bd8e6ca1ae7e16
4
+ data.tar.gz: 10459334d6c04a82bc6aeb3a7b60081ff357660886d7db98ee36baac3c70a033
5
5
  SHA512:
6
- metadata.gz: 1d938a10d0d6b962dd749614dfa2ef4b18d68c5d67599ef5f50e2753ca2f2058a962d9e321844e44b29118097bf7ac0a4897f93558fbbbc502fc66cb688e7ce2
7
- data.tar.gz: 9390b72cc354accaaf17706ac2932005768140ce3166cc8d0a7e452bff47cc889544a55205f30a311e2a463a8ea4863c8d69125b4f0ca77f8d88ca613b160638
6
+ metadata.gz: 167574d13695693cc8f66e6a937e0c639f317bd0b0577ad87637783eb491c046ab37d04df90c6f564e3dd7748e324b2ef0963c3651b2c11f41e46ba5c1f09f29
7
+ data.tar.gz: 64597ee88092b76ac119d810262e0cee623e58b73c1b64041249007be1249962d14e535fd090922b0e166abc261763d1175be010a3dc072310286186216a8931
@@ -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.1')
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
@@ -50,5 +50,8 @@ module EacRailsBase0App
50
50
  env.logger
51
51
  )
52
52
  end
53
+
54
+ migrate_deprecated_dir = ::Rails.root.join('db', 'migrate_deprecated')
55
+ config.paths['db/migrate'] << migrate_deprecated_dir if migrate_deprecated_dir.directory?
53
56
  end
54
57
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsBase0
4
- VERSION = '0.32.0'
4
+ VERSION = '0.36.0'
5
5
  end
@@ -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.32.0
4
+ version: 0.36.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-01 00:00:00.000000000 Z
11
+ date: 2020-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -292,6 +292,34 @@ dependencies:
292
292
  - - ">="
293
293
  - !ruby/object:Gem::Version
294
294
  version: '0'
295
+ - !ruby/object:Gem::Dependency
296
+ name: launchy
297
+ requirement: !ruby/object:Gem::Requirement
298
+ requirements:
299
+ - - ">="
300
+ - !ruby/object:Gem::Version
301
+ version: '0'
302
+ type: :runtime
303
+ prerelease: false
304
+ version_requirements: !ruby/object:Gem::Requirement
305
+ requirements:
306
+ - - ">="
307
+ - !ruby/object:Gem::Version
308
+ version: '0'
309
+ - !ruby/object:Gem::Dependency
310
+ name: puma
311
+ requirement: !ruby/object:Gem::Requirement
312
+ requirements:
313
+ - - ">="
314
+ - !ruby/object:Gem::Version
315
+ version: '0'
316
+ type: :runtime
317
+ prerelease: false
318
+ version_requirements: !ruby/object:Gem::Requirement
319
+ requirements:
320
+ - - ">="
321
+ - !ruby/object:Gem::Version
322
+ version: '0'
295
323
  - !ruby/object:Gem::Dependency
296
324
  name: rails
297
325
  requirement: !ruby/object:Gem::Requirement
@@ -555,6 +583,7 @@ files:
555
583
  - lib/generators/eac_rails_base0/testers/testers_generator.rb
556
584
  - lib/generators/eac_rails_base0_generator.rb
557
585
  - lib/tasks/eac_rails_base0.rake
586
+ - lib/tasks/eac_rails_base0/gems.rake
558
587
  homepage: https://github.com/esquilo-azul/eac_rails_base0
559
588
  licenses:
560
589
  - MIT