eac_ruby_gems_utils 0.3.1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/.rspec +1 -0
- data/.rubocop.yml +25 -0
- data/Gemfile +5 -0
- data/LICENCE +16 -0
- data/eac_ruby_gems_utils.gemspec +29 -0
- data/lib/eac_ruby_gems_utils/gem.rb +35 -5
- data/lib/eac_ruby_gems_utils/gem/command.rb +33 -0
- data/lib/eac_ruby_gems_utils/tests/base.rb +2 -4
- data/lib/eac_ruby_gems_utils/tests/minitest.rb +2 -6
- data/lib/eac_ruby_gems_utils/tests/multiple.rb +8 -2
- data/lib/eac_ruby_gems_utils/tests/rspec.rb +2 -6
- data/lib/eac_ruby_gems_utils/version.rb +1 -1
- data/spec/lib/eac_ruby_gems_utils/gem_spec.rb +20 -0
- data/spec/rubocop_check_spec.rb +7 -0
- data/spec/spec_helper.rb +100 -0
- data/spec/support/mygem/Gemfile +5 -0
- data/spec/support/mygem/Gemfile.lock +19 -0
- data/spec/support/mygem/Rakefile +14 -0
- data/spec/support/mygem/exe/myrunner +5 -0
- data/spec/support/mygem/lib/mygem.rb +5 -0
- data/spec/support/mygem/lib/mygem/version.rb +5 -0
- data/spec/support/mygem/mygem.gemspec +16 -0
- metadata +41 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f75298747a013afc0a9885aa971bf93245ca3b94b6967b21c80a2644a19ec68
|
4
|
+
data.tar.gz: 5b8c611448808035da09b60baf19e97cd1e86f631fb889c18dc53c638a096ce9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c075d0b148870a9981c6457cccdfc3a7a41b8f79b8a9d4fa6aecbf8adb11bc483049d3359d8d034d30225d5a27b5f667a8cc4dbc58b8e91f70c19272149192aa
|
7
|
+
data.tar.gz: 50a6af80b9f47c4673669c1c6da5a041700700de23d15ecc05150b608b85d16019f894d437efb2c5b3fafe04519055fcd4229528d89dceff0e863f36b1117ec2
|
data/.gitignore
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--require spec_helper
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rails
|
3
|
+
- rubocop-rspec
|
4
|
+
|
5
|
+
AllCops:
|
6
|
+
TargetRubyVersion: 2.4
|
7
|
+
|
8
|
+
Layout/LineLength:
|
9
|
+
Max: 100
|
10
|
+
|
11
|
+
Rails/RakeEnvironment:
|
12
|
+
Exclude:
|
13
|
+
- spec/support/mygem/Rakefile
|
14
|
+
|
15
|
+
Style/Documentation:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Style/HashEachMethods:
|
19
|
+
Enabled: true
|
20
|
+
|
21
|
+
Style/HashTransformKeys:
|
22
|
+
Enabled: true
|
23
|
+
|
24
|
+
Style/HashTransformValues:
|
25
|
+
Enabled: true
|
data/Gemfile
ADDED
data/LICENCE
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
Copyright (c) 2020 Eduardo Henrique Bogoni
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
4
|
+
associated documentation files (the "Software"), to deal in the Software without restriction,
|
5
|
+
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
6
|
+
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
7
|
+
furnished to do so, subject to the following conditions:
|
8
|
+
|
9
|
+
The above copyright notice and this permission notice (including the next paragraph) shall be
|
10
|
+
included in all copies or substantial portions of the Software.
|
11
|
+
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
|
13
|
+
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
14
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
15
|
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
|
16
|
+
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
+
|
5
|
+
# Maintain your gem's version:
|
6
|
+
require 'eac_ruby_gems_utils/version'
|
7
|
+
|
8
|
+
# Describe your gem and declare its dependencies:
|
9
|
+
Gem::Specification.new do |s|
|
10
|
+
s.name = 'eac_ruby_gems_utils'
|
11
|
+
s.version = ::EacRubyGemsUtils::VERSION
|
12
|
+
s.authors = ['Esquilo Azul Company']
|
13
|
+
s.summary = 'Utilities for Ruby gems development.'
|
14
|
+
s.license = 'MIT'
|
15
|
+
s.homepage = 'https://github.com/esquilo-azul/eac_ruby_gems_utils'
|
16
|
+
s.metadata = { 'source_code_uri' => s.homepage }
|
17
|
+
|
18
|
+
s.extra_rdoc_files = ['README.rdoc']
|
19
|
+
s.rdoc_options = ['--charset=UTF-8']
|
20
|
+
|
21
|
+
s.require_paths = ['lib']
|
22
|
+
s.files = `git ls-files`.split("\n")
|
23
|
+
s.test_files = `git ls-files spec examples`.split("\n")
|
24
|
+
|
25
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.29'
|
26
|
+
|
27
|
+
# Tests
|
28
|
+
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.1'
|
29
|
+
end
|
@@ -5,20 +5,21 @@ require 'eac_ruby_utils/envs'
|
|
5
5
|
|
6
6
|
module EacRubyGemsUtils
|
7
7
|
class Gem
|
8
|
+
require_sub __FILE__
|
8
9
|
enable_simple_cache
|
9
10
|
|
10
|
-
|
11
|
-
|
11
|
+
GEMSPEC_EXTNAME = '.gemspec'
|
12
|
+
|
13
|
+
common_constructor :root do
|
12
14
|
@root = ::Pathname.new(root).expand_path
|
13
15
|
end
|
14
16
|
|
15
17
|
def to_s
|
16
|
-
|
18
|
+
name
|
17
19
|
end
|
18
20
|
|
19
21
|
def bundle(*args)
|
20
|
-
::
|
21
|
-
.envvar('BUNDLE_GEMFILE', gemfile_path)
|
22
|
+
::EacRubyGemsUtils::Gem::Command.new(self, %w[bundle] + args).envvar_gemfile
|
22
23
|
end
|
23
24
|
|
24
25
|
def gemfile_lock_gem_version(gem_name)
|
@@ -29,12 +30,33 @@ module EacRubyGemsUtils
|
|
29
30
|
::Bundler::LockfileParser.new(::Bundler.read_file(gemfile_lock_path))
|
30
31
|
end
|
31
32
|
|
33
|
+
def name
|
34
|
+
name_by_gemspec || name_by_path
|
35
|
+
end
|
36
|
+
|
37
|
+
def name_by_gemspec
|
38
|
+
gemspec_path.if_present { |v| v.basename(GEMSPEC_EXTNAME).to_path }
|
39
|
+
end
|
40
|
+
|
41
|
+
def name_by_path
|
42
|
+
fullname = root.basename.to_s
|
43
|
+
/\A(.+)(?:-\d+(?:\.\d+)*)\z/.if_match(fullname, false) { |m| m[1] }.if_present(fullname)
|
44
|
+
end
|
45
|
+
|
46
|
+
def namespace_parts
|
47
|
+
name.split('-')
|
48
|
+
end
|
49
|
+
|
32
50
|
def rake(*args)
|
33
51
|
raise "File \"#{rakefile_path}\" does not exist" unless rakefile_path.exist?
|
34
52
|
|
35
53
|
bundle('exec', 'rake', '--rakefile', rakefile_path, *args)
|
36
54
|
end
|
37
55
|
|
56
|
+
def version
|
57
|
+
/VERSION\s*=\s*[\'\"]([^\'\"]+)[\'\"]/.if_match(version_file.read) { |m| m[1] }
|
58
|
+
end
|
59
|
+
|
38
60
|
private
|
39
61
|
|
40
62
|
def gemfile_path_uncached
|
@@ -45,8 +67,16 @@ module EacRubyGemsUtils
|
|
45
67
|
root.join('Gemfile.lock')
|
46
68
|
end
|
47
69
|
|
70
|
+
def gemspec_path_uncached
|
71
|
+
::Pathname.glob("#{root.to_path}/*#{GEMSPEC_EXTNAME}").first
|
72
|
+
end
|
73
|
+
|
48
74
|
def rakefile_path_uncached
|
49
75
|
root.join('Rakefile')
|
50
76
|
end
|
77
|
+
|
78
|
+
def version_file_uncached
|
79
|
+
root.join('lib', *namespace_parts, 'version.rb')
|
80
|
+
end
|
51
81
|
end
|
52
82
|
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
require 'eac_ruby_utils/ruby/command'
|
5
|
+
require 'delegate'
|
6
|
+
|
7
|
+
module EacRubyGemsUtils
|
8
|
+
class Gem
|
9
|
+
class Command < ::EacRubyUtils::Ruby::Command
|
10
|
+
attr_reader :gem
|
11
|
+
|
12
|
+
def initialize(gem, command_args, extra_options = {})
|
13
|
+
@gem = gem
|
14
|
+
super(command_args, extra_options)
|
15
|
+
end
|
16
|
+
|
17
|
+
# Changes current directory to the gem's directory.
|
18
|
+
def chdir_root
|
19
|
+
chdir(gem.root.to_path)
|
20
|
+
end
|
21
|
+
|
22
|
+
def envvar_gemfile
|
23
|
+
envvar('BUNDLE_GEMFILE', gem.gemfile_path.to_path)
|
24
|
+
end
|
25
|
+
|
26
|
+
protected
|
27
|
+
|
28
|
+
def duplicate(command, extra_options)
|
29
|
+
self.class.new(gem, command, extra_options)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -44,13 +44,11 @@ module EacRubyGemsUtils
|
|
44
44
|
def result_uncached
|
45
45
|
return RESULT_NONEXISTENT unless elegible?
|
46
46
|
|
47
|
-
|
47
|
+
exec_run_with_log ? RESULT_SUCCESSFUL : RESULT_FAILED
|
48
48
|
end
|
49
49
|
|
50
50
|
def exec_run
|
51
|
-
|
52
|
-
::Dir.chdir(gem.root) { gem.send(exec_method, *exec_args).execute }
|
53
|
-
end
|
51
|
+
gem.bundle('exec', *bundle_exec_args).chdir_root.execute
|
54
52
|
end
|
55
53
|
|
56
54
|
def exec_run_with_log
|
@@ -5,12 +5,8 @@ require 'eac_ruby_gems_utils/tests/base'
|
|
5
5
|
module EacRubyGemsUtils
|
6
6
|
module Tests
|
7
7
|
class Minitest < ::EacRubyGemsUtils::Tests::Base
|
8
|
-
def
|
9
|
-
%w[test]
|
10
|
-
end
|
11
|
-
|
12
|
-
def exec_method
|
13
|
-
:rake
|
8
|
+
def bundle_exec_args
|
9
|
+
%w[rake test]
|
14
10
|
end
|
15
11
|
|
16
12
|
def dependency_gem
|
@@ -9,13 +9,17 @@ module EacRubyGemsUtils
|
|
9
9
|
class Multiple
|
10
10
|
enable_console_speaker
|
11
11
|
enable_simple_cache
|
12
|
-
common_constructor :gems
|
12
|
+
common_constructor :gems, :options, default: [{}]
|
13
13
|
set_callback :initialize, :after, :run
|
14
14
|
|
15
15
|
def ok?
|
16
16
|
failed_tests.none?
|
17
17
|
end
|
18
18
|
|
19
|
+
def only
|
20
|
+
options[:only]
|
21
|
+
end
|
22
|
+
|
19
23
|
private
|
20
24
|
|
21
25
|
def all_tests_uncached
|
@@ -33,7 +37,9 @@ module EacRubyGemsUtils
|
|
33
37
|
end
|
34
38
|
|
35
39
|
def decorated_gems_uncached
|
36
|
-
|
40
|
+
r = gems
|
41
|
+
r = r.select { |gem| only.include?(gem.name) } if only.present?
|
42
|
+
r.map { |gem| DecoratedGem.new(gem) }
|
37
43
|
end
|
38
44
|
|
39
45
|
def failed_tests_uncached
|
@@ -5,12 +5,8 @@ require 'eac_ruby_gems_utils/tests/base'
|
|
5
5
|
module EacRubyGemsUtils
|
6
6
|
module Tests
|
7
7
|
class Rspec < ::EacRubyGemsUtils::Tests::Base
|
8
|
-
def
|
9
|
-
%w[
|
10
|
-
end
|
11
|
-
|
12
|
-
def exec_method
|
13
|
-
:bundle
|
8
|
+
def bundle_exec_args
|
9
|
+
%w[rspec]
|
14
10
|
end
|
15
11
|
|
16
12
|
def dependency_gem
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_gems_utils/gem'
|
4
|
+
|
5
|
+
::RSpec.describe ::EacRubyGemsUtils::Gem do
|
6
|
+
let(:mygem_path) { ::Pathname.new(__dir__).expand_path.parent.parent.join('support', 'mygem') }
|
7
|
+
let(:mygem) { described_class.new(mygem_path) }
|
8
|
+
|
9
|
+
describe '#bundle' do
|
10
|
+
specify do
|
11
|
+
expect(mygem.bundle('exec', 'myrunner').execute!).to include('My Runner')
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
describe '#rake' do
|
16
|
+
specify do
|
17
|
+
expect(mygem.rake('mygem:stub').execute!).to include('Stub!')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
4
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
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
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
begin
|
4
|
+
require 'bundler/setup'
|
5
|
+
rescue LoadError
|
6
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
7
|
+
end
|
8
|
+
|
9
|
+
namespace :mygem do
|
10
|
+
desc 'A stub task.'
|
11
|
+
task :stub do
|
12
|
+
puts 'Stub!'
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'mygem'
|
7
|
+
s.version = '1.0.0'
|
8
|
+
s.authors = ['Esquilo Azul Company']
|
9
|
+
s.summary = 'Stub gem.'
|
10
|
+
|
11
|
+
s.files = Dir['{exe,lib}/**/*', 'Gemfile', 'Rakefile']
|
12
|
+
s.bindir = 'exe'
|
13
|
+
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
14
|
+
|
15
|
+
s.add_dependency 'rake'
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_ruby_gems_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
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: 2020-
|
11
|
+
date: 2020-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eac_ruby_utils
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.29'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.29'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: eac_ruby_gem_support
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,23 +42,43 @@ description:
|
|
42
42
|
email:
|
43
43
|
executables: []
|
44
44
|
extensions: []
|
45
|
-
extra_rdoc_files:
|
45
|
+
extra_rdoc_files:
|
46
|
+
- README.rdoc
|
46
47
|
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- ".rspec"
|
50
|
+
- ".rubocop.yml"
|
51
|
+
- Gemfile
|
52
|
+
- LICENCE
|
47
53
|
- README.rdoc
|
54
|
+
- eac_ruby_gems_utils.gemspec
|
48
55
|
- lib/eac_ruby_gems_utils.rb
|
49
56
|
- lib/eac_ruby_gems_utils/gem.rb
|
57
|
+
- lib/eac_ruby_gems_utils/gem/command.rb
|
50
58
|
- lib/eac_ruby_gems_utils/tests.rb
|
51
59
|
- lib/eac_ruby_gems_utils/tests/base.rb
|
52
60
|
- lib/eac_ruby_gems_utils/tests/minitest.rb
|
53
61
|
- lib/eac_ruby_gems_utils/tests/multiple.rb
|
54
62
|
- lib/eac_ruby_gems_utils/tests/rspec.rb
|
55
63
|
- lib/eac_ruby_gems_utils/version.rb
|
56
|
-
|
64
|
+
- spec/lib/eac_ruby_gems_utils/gem_spec.rb
|
65
|
+
- spec/rubocop_check_spec.rb
|
66
|
+
- spec/spec_helper.rb
|
67
|
+
- spec/support/mygem/Gemfile
|
68
|
+
- spec/support/mygem/Gemfile.lock
|
69
|
+
- spec/support/mygem/Rakefile
|
70
|
+
- spec/support/mygem/exe/myrunner
|
71
|
+
- spec/support/mygem/lib/mygem.rb
|
72
|
+
- spec/support/mygem/lib/mygem/version.rb
|
73
|
+
- spec/support/mygem/mygem.gemspec
|
74
|
+
homepage: https://github.com/esquilo-azul/eac_ruby_gems_utils
|
57
75
|
licenses:
|
58
|
-
-
|
59
|
-
metadata:
|
76
|
+
- MIT
|
77
|
+
metadata:
|
78
|
+
source_code_uri: https://github.com/esquilo-azul/eac_ruby_gems_utils
|
60
79
|
post_install_message:
|
61
|
-
rdoc_options:
|
80
|
+
rdoc_options:
|
81
|
+
- "--charset=UTF-8"
|
62
82
|
require_paths:
|
63
83
|
- lib
|
64
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -72,9 +92,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
92
|
- !ruby/object:Gem::Version
|
73
93
|
version: '0'
|
74
94
|
requirements: []
|
75
|
-
|
76
|
-
rubygems_version: 2.7.7
|
95
|
+
rubygems_version: 3.0.6
|
77
96
|
signing_key:
|
78
97
|
specification_version: 4
|
79
98
|
summary: Utilities for Ruby gems development.
|
80
|
-
test_files:
|
99
|
+
test_files:
|
100
|
+
- spec/lib/eac_ruby_gems_utils/gem_spec.rb
|
101
|
+
- spec/rubocop_check_spec.rb
|
102
|
+
- spec/spec_helper.rb
|
103
|
+
- spec/support/mygem/Gemfile
|
104
|
+
- spec/support/mygem/Gemfile.lock
|
105
|
+
- spec/support/mygem/Rakefile
|
106
|
+
- spec/support/mygem/exe/myrunner
|
107
|
+
- spec/support/mygem/lib/mygem.rb
|
108
|
+
- spec/support/mygem/lib/mygem/version.rb
|
109
|
+
- spec/support/mygem/mygem.gemspec
|