eac_ruby_gems_utils 0.9.4 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eac_ruby_gems_utils/tests/base.rb +0 -6
- data/lib/eac_ruby_gems_utils/version.rb +1 -1
- data/spec/code/rubocop_check_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -101
- data/spec/support/mygem/Gemfile.lock +1 -1
- metadata +9 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8656e37db357f1cb682da3113a9a6f8f38f657b8d333fe8790fd12d64504f2d
|
4
|
+
data.tar.gz: bd634dce65b3b031caca0cede6d8edbdec9dfdbbe0a65dabe71ffadfdf1f2f26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38c0f2c8cda052a8452504d11120f1f001e9fb787aed405b34050ba557baf136f682ea387b245f3a66e34d8533942b816692ed9bebe166ab548038a8c364a1b0
|
7
|
+
data.tar.gz: 938769bd2ca0bffb5dc353614747469739553b47c9c3ee2288eaa1aa2256a285250ba8247583e62d5829c1aec4ebcb311b558addadf66ce2dafdc94102242553
|
@@ -2,9 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'eac_ruby_utils/core_ext'
|
4
4
|
require 'eac_ruby_utils/fs/logs'
|
5
|
-
require 'eac_ruby_utils/fs_cache'
|
6
5
|
require 'eac_ruby_utils/listable'
|
7
|
-
require 'eac_ruby_utils/on_clean_ruby_environment'
|
8
6
|
|
9
7
|
module EacRubyGemsUtils
|
10
8
|
module Tests
|
@@ -54,10 +52,6 @@ module EacRubyGemsUtils
|
|
54
52
|
logs[:stderr].write(r[:stderr])
|
55
53
|
r[:exit_code].zero?
|
56
54
|
end
|
57
|
-
|
58
|
-
def root_cache
|
59
|
-
::EacRubyUtils.fs_cache.child(gem.root.to_s.parameterize, self.class.name.parameterize)
|
60
|
-
end
|
61
55
|
end
|
62
56
|
end
|
63
57
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,103 +1,4 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
6
|
-
# this file to always be loaded, without a need to explicitly require it in any
|
7
|
-
# files.
|
8
|
-
#
|
9
|
-
# Given that it is always loaded, you are encouraged to keep this file as
|
10
|
-
# light-weight as possible. Requiring heavyweight dependencies from this file
|
11
|
-
# will add to the boot time of your test suite on EVERY test run, even for an
|
12
|
-
# individual file that may not need all of that loaded. Instead, consider making
|
13
|
-
# a separate helper file that requires the additional dependencies and performs
|
14
|
-
# the additional setup, and require it from the spec files that actually need
|
15
|
-
# it.
|
16
|
-
#
|
17
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
18
|
-
RSpec.configure do |config|
|
19
|
-
# rspec-expectations config goes here. You can use an alternate
|
20
|
-
# assertion/expectation library such as wrong or the stdlib/minitest
|
21
|
-
# assertions if you prefer.
|
22
|
-
config.expect_with :rspec do |expectations|
|
23
|
-
# This option will default to `true` in RSpec 4. It makes the `description`
|
24
|
-
# and `failure_message` of custom matchers include text for helper methods
|
25
|
-
# defined using `chain`, e.g.:
|
26
|
-
# be_bigger_than(2).and_smaller_than(4).description
|
27
|
-
# # => "be bigger than 2 and smaller than 4"
|
28
|
-
# ...rather than:
|
29
|
-
# # => "be bigger than 2"
|
30
|
-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
31
|
-
end
|
32
|
-
|
33
|
-
# rspec-mocks config goes here. You can use an alternate test double
|
34
|
-
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
35
|
-
config.mock_with :rspec do |mocks|
|
36
|
-
# Prevents you from mocking or stubbing a method that does not exist on
|
37
|
-
# a real object. This is generally recommended, and will default to
|
38
|
-
# `true` in RSpec 4.
|
39
|
-
mocks.verify_partial_doubles = true
|
40
|
-
end
|
41
|
-
|
42
|
-
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
43
|
-
# have no way to turn it off -- the option exists only for backwards
|
44
|
-
# compatibility in RSpec 3). It causes shared context metadata to be
|
45
|
-
# inherited by the metadata hash of host groups and examples, rather than
|
46
|
-
# triggering implicit auto-inclusion in groups with matching metadata.
|
47
|
-
config.shared_context_metadata_behavior = :apply_to_host_groups
|
48
|
-
|
49
|
-
# The settings below are suggested to provide a good initial experience
|
50
|
-
# with RSpec, but feel free to customize to your heart's content.
|
51
|
-
# # This allows you to limit a spec run to individual examples or groups
|
52
|
-
# # you care about by tagging them with `:focus` metadata. When nothing
|
53
|
-
# # is tagged with `:focus`, all examples get run. RSpec also provides
|
54
|
-
# # aliases for `it`, `describe`, and `context` that include `:focus`
|
55
|
-
# # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
56
|
-
# config.filter_run_when_matching :focus
|
57
|
-
#
|
58
|
-
# # Allows RSpec to persist some state between runs in order to support
|
59
|
-
# # the `--only-failures` and `--next-failure` CLI options. We recommend
|
60
|
-
# # you configure your source control system to ignore this file.
|
61
|
-
# config.example_status_persistence_file_path = "spec/examples.txt"
|
62
|
-
#
|
63
|
-
# # Limits the available syntax to the non-monkey patched syntax that is
|
64
|
-
# # recommended. For more details, see:
|
65
|
-
# # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
66
|
-
# # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
67
|
-
# # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
68
|
-
# config.disable_monkey_patching!
|
69
|
-
#
|
70
|
-
# # This setting enables warnings. It's recommended, but in some cases may
|
71
|
-
# # be too noisy due to issues in dependencies.
|
72
|
-
# config.warnings = true
|
73
|
-
#
|
74
|
-
# # Many RSpec users commonly either run the entire suite or an individual
|
75
|
-
# # file, and it's useful to allow more verbose output when running an
|
76
|
-
# # individual spec file.
|
77
|
-
# if config.files_to_run.one?
|
78
|
-
# # Use the documentation formatter for detailed output,
|
79
|
-
# # unless a formatter has already been configured
|
80
|
-
# # (e.g. via a command-line flag).
|
81
|
-
# config.default_formatter = "doc"
|
82
|
-
# end
|
83
|
-
#
|
84
|
-
# # Print the 10 slowest examples and example groups at the
|
85
|
-
# # end of the spec run, to help surface which specs are running
|
86
|
-
# # particularly slow.
|
87
|
-
# config.profile_examples = 10
|
88
|
-
#
|
89
|
-
# # Run specs in random order to surface order dependencies. If you find an
|
90
|
-
# # order dependency and want to debug it, you can fix the order by providing
|
91
|
-
# # the seed, which is printed after each run.
|
92
|
-
# # --seed 1234
|
93
|
-
# config.order = :random
|
94
|
-
#
|
95
|
-
# # Seed global randomization in this process using the `--seed` CLI option.
|
96
|
-
# # Setting this allows you to use `--seed` to deterministically reproduce
|
97
|
-
# # test failures related to randomization by passing the same `--seed` value
|
98
|
-
# # as the one that triggered the failure.
|
99
|
-
# Kernel.srand config.seed
|
100
|
-
|
101
|
-
require 'eac_ruby_gem_support/rspec'
|
102
|
-
::EacRubyGemSupport::Rspec.setup(::File.expand_path('..', __dir__), config)
|
103
|
-
end
|
3
|
+
require 'eac_ruby_utils/rspec/default_setup'
|
4
|
+
::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__))
|
metadata
CHANGED
@@ -1,63 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_ruby_gems_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06
|
11
|
+
date: 2021-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.2'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
19
|
+
version: '0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '2.2'
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
26
|
+
version: '0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: eac_ruby_utils
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
33
|
+
version: '0.70'
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
38
|
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
40
|
+
version: '0.70'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: eac_ruby_gem_support
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
44
|
requirements:
|
51
45
|
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
47
|
+
version: '0.3'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
51
|
requirements:
|
58
52
|
- - "~>"
|
59
53
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
54
|
+
version: '0.3'
|
61
55
|
description:
|
62
56
|
email:
|
63
57
|
executables: []
|
@@ -113,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
107
|
- !ruby/object:Gem::Version
|
114
108
|
version: '0'
|
115
109
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
110
|
+
rubygems_version: 3.1.6
|
117
111
|
signing_key:
|
118
112
|
specification_version: 4
|
119
113
|
summary: Utilities for Ruby gems development.
|