bundler-console 0.0.2 → 0.0.3

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
- SHA1:
3
- metadata.gz: a012cebd973c5b6fecb012288760917359ef3f9d
4
- data.tar.gz: e5de7d6885230b01b5bf0b2b615a36bb90cf650f
2
+ SHA256:
3
+ metadata.gz: fced422704aa3518678fd61a36d63c87240026803b7172471de966b22666de56
4
+ data.tar.gz: b5b675b9971b4d0debdf73d57f0665b40acb92d507176903a94b2fad81e90232
5
5
  SHA512:
6
- metadata.gz: 6e01a973da90aad83f56cb90e9691f43c67e82f91a24f921f36a9ef6f8bb7a0a435abae74f6dd6ba2b14ae083dfb189aa57caf90eaaf464ee56b8f8375f73991
7
- data.tar.gz: a144d1f98fa9c3774821578f92638bdc3ff1011630dc9743921b19104de2c245524b9418b1c1600cf87b37c984945386a704273d5a35e701c73f9abdbf33ba14
6
+ metadata.gz: f9621f12f48feb448d03e8008b5d4798ab55cfae06af7b9a2aff9ecbf198dd2ae9311d6ed7b0eef54342969f33cc435d534d019393ee288159bb060044950e25
7
+ data.tar.gz: 89c5597e5ef5f9c7334f47bd4d2291325de4d8f301e2933653d9e54ffe9816e4211bf021e4be96e18a6b45387a230e7202d6ac73d4cfeff78a783ef6e1ae0dda
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
@@ -0,0 +1,34 @@
1
+ name: Main
2
+ on:
3
+ - push
4
+ - pull_request_target
5
+ jobs:
6
+ ci:
7
+ name: CI
8
+ runs-on: ubuntu-latest
9
+ env:
10
+ CI: true
11
+ steps:
12
+ - uses: actions/checkout@master
13
+ - uses: ruby/setup-ruby@v1
14
+ with:
15
+ ruby-version: 3.0
16
+ bundler-cache: true
17
+ - name: Lint and test
18
+ run: |
19
+ bundle exec rubocop --parallel
20
+ bundle exec rake test
21
+ automerge:
22
+ name: AutoMerge
23
+ needs: ci
24
+ runs-on: ubuntu-latest
25
+ if: github.event_name == 'pull_request_target' && (github.actor == github.repository_owner || github.actor == 'dependabot[bot]')
26
+ steps:
27
+ - uses: actions/github-script@v3
28
+ with:
29
+ script: |
30
+ github.pulls.merge({
31
+ owner: context.payload.repository.owner.login,
32
+ repo: context.payload.repository.name,
33
+ pull_number: context.payload.pull_request.number
34
+ })
data/.rubocop.yml CHANGED
@@ -1,12 +1,31 @@
1
1
  AllCops:
2
2
  DisplayCopNames: true
3
3
  DisplayStyleGuide: true
4
- TargetRubyVersion: 2.4
4
+ TargetRubyVersion: 2.7
5
5
  Exclude:
6
6
  - 'vendor/**/*'
7
+ - 'yard/**/*'
8
+
9
+ Gemspec/RequiredRubyVersion:
10
+ Enabled: false
11
+
12
+ Layout/LineLength:
13
+ Max: 80
14
+
15
+ Lint/AmbiguousBlockAssociation:
16
+ Enabled: false
17
+
18
+ Naming/RescuedExceptionsVariableName:
19
+ Enabled: false
7
20
 
8
21
  Style/Documentation:
9
22
  Enabled: false
10
23
 
11
- Style/FrozenStringLiteralComment:
24
+ Style/FormatString:
25
+ EnforcedStyle: percent
26
+
27
+ Style/FormatStringToken:
28
+ Enabled: false
29
+
30
+ Style/PerlBackrefs:
12
31
  Enabled: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [0.0.3] - 2021-11-17
10
+
11
+ ### Changed
12
+
13
+ - Require MFA for releasing.
14
+
15
+ [unreleased]: https://github.com/kddnewton/bundler-console/compare/v0.0.3...HEAD
16
+ [0.0.3]: https://github.com/kddnewton/bundler-console/compare/5f9619...v0.0.3
@@ -0,0 +1,76 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ - Using welcoming and inclusive language
18
+ - Being respectful of differing viewpoints and experiences
19
+ - Gracefully accepting constructive criticism
20
+ - Focusing on what is best for the community
21
+ - Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ - The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ - Trolling, insulting/derogatory comments, and personal or political attacks
28
+ - Public or private harassment
29
+ - Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ - Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at kddnewton@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
74
+
75
+ For answers to common questions about this code of conduct, see
76
+ https://www.contributor-covenant.org/faq
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
data/Gemfile.lock CHANGED
@@ -1,51 +1,55 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bundler-console (0.0.2)
4
+ bundler-console (0.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.3.0)
10
- docile (1.1.5)
11
- json (2.1.0)
12
- minitest (5.10.3)
13
- net-ssh (4.2.0)
14
- parallel (1.12.0)
15
- parser (2.4.0.2)
16
- ast (~> 2.3)
17
- powerpack (0.1.1)
18
- rainbow (2.2.2)
19
- rake
20
- rake (12.3.0)
21
- rubocop (0.51.0)
9
+ ast (2.4.2)
10
+ docile (1.3.5)
11
+ minitest (5.14.4)
12
+ net-ssh (6.1.0)
13
+ parallel (1.21.0)
14
+ parser (3.0.2.0)
15
+ ast (~> 2.4.1)
16
+ rainbow (3.0.0)
17
+ rake (13.0.6)
18
+ regexp_parser (2.1.1)
19
+ rexml (3.2.5)
20
+ rubocop (1.23.0)
22
21
  parallel (~> 1.10)
23
- parser (>= 2.3.3.1, < 3.0)
24
- powerpack (~> 0.1)
25
- rainbow (>= 2.2.2, < 3.0)
22
+ parser (>= 3.0.0.0)
23
+ rainbow (>= 2.2.2, < 4.0)
24
+ regexp_parser (>= 1.8, < 3.0)
25
+ rexml
26
+ rubocop-ast (>= 1.12.0, < 2.0)
26
27
  ruby-progressbar (~> 1.7)
27
- unicode-display_width (~> 1.0, >= 1.0.1)
28
- ruby-progressbar (1.9.0)
29
- simplecov (0.15.1)
30
- docile (~> 1.1.0)
31
- json (>= 1.8, < 3)
32
- simplecov-html (~> 0.10.0)
33
- simplecov-html (0.10.2)
28
+ unicode-display_width (>= 1.4.0, < 3.0)
29
+ rubocop-ast (1.13.0)
30
+ parser (>= 3.0.1.1)
31
+ ruby-progressbar (1.11.0)
32
+ simplecov (0.21.2)
33
+ docile (~> 1.1)
34
+ simplecov-html (~> 0.11)
35
+ simplecov_json_formatter (~> 0.1)
36
+ simplecov-html (0.12.3)
37
+ simplecov_json_formatter (0.1.2)
34
38
  tiny_struct (0.0.1)
35
- unicode-display_width (1.3.0)
39
+ unicode-display_width (2.1.0)
36
40
 
37
41
  PLATFORMS
38
42
  ruby
39
43
 
40
44
  DEPENDENCIES
41
- bundler (~> 1.16)
45
+ bundler (~> 2.0)
42
46
  bundler-console!
43
- minitest (~> 5.10)
47
+ minitest (~> 5.11)
44
48
  net-ssh
45
- rake (~> 12.3)
46
- rubocop (~> 0.51)
47
- simplecov (~> 0.15)
49
+ rake (~> 13.0)
50
+ rubocop (~> 1.12)
51
+ simplecov (~> 0.19)
48
52
  tiny_struct
49
53
 
50
54
  BUNDLED WITH
51
- 1.16.0
55
+ 2.2.3
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Kevin Deisz
3
+ Copyright (c) 2017-present Kevin Newton
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Bundler::Console
2
2
 
3
- [![Build Status](https://travis-ci.org/kddeisz/bundler-console.svg?branch=master)](https://travis-ci.org/kddeisz/bundler-console)
3
+ [![Build Status](https://github.com/kddnewton/bundler-console/workflows/Main/badge.svg)](https://github.com/kddnewton/bundler-console/actions)
4
+ [![Gem](https://img.shields.io/gem/v/bundler-console.svg)](https://rubygems.org/gems/bundler-console)
4
5
 
5
6
  A bundler plugin that starts a console session with your gem dependencies.
6
7
 
@@ -20,7 +21,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
20
21
 
21
22
  ## Contributing
22
23
 
23
- Bug reports and pull requests are welcome on GitHub at https://github.com/kddeisz/bundler-console.
24
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kddnewton/bundler-console.
24
25
 
25
26
  ## License
26
27
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
  require 'rake/testtask'
3
5
 
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'bundler/setup'
4
5
  require 'bundler/console'
data/bin/rubocop ADDED
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rubocop' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ bundle_binstub = File.expand_path('bundle', __dir__)
12
+ load(bundle_binstub) if File.file?(bundle_binstub)
13
+
14
+ require 'pathname'
15
+ ENV['BUNDLE_GEMFILE'] ||=
16
+ File.expand_path('../../Gemfile', Pathname.new(__FILE__).realpath)
17
+
18
+ require 'rubygems'
19
+ require 'bundler/setup'
20
+
21
+ load Gem.bin_path('rubocop', 'rubocop')
@@ -1,18 +1,28 @@
1
- lib = File.expand_path('../lib', __FILE__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require 'bundler/console/version'
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/bundler/console/version'
4
+
5
+ version = Bundler::Console::VERSION
6
+ repository = 'https://github.com/kddnewton/bundler-console'
4
7
 
5
8
  Gem::Specification.new do |spec|
6
9
  spec.name = 'bundler-console'
7
- spec.version = Bundler::Console::VERSION
8
- spec.authors = ['Kevin Deisz']
9
- spec.email = ['kevin.deisz@gmail.com']
10
+ spec.version = version
11
+ spec.authors = ['Kevin Newton']
12
+ spec.email = ['kddnewton@gmail.com']
10
13
 
11
14
  spec.summary = 'A bundler plugin that starts a console session with ' \
12
15
  'your gem dependencies.'
13
- spec.homepage = 'https://github.com/kddeisz/bundler-console'
16
+ spec.homepage = repository
14
17
  spec.license = 'MIT'
15
18
 
19
+ spec.metadata = {
20
+ 'bug_tracker_uri' => "#{repository}/issues",
21
+ 'changelog_uri' => "#{repository}/blob/v#{version}/CHANGELOG.md",
22
+ 'source_code_uri' => repository,
23
+ 'rubygems_mfa_required' => 'true'
24
+ }
25
+
16
26
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
27
  f.match(%r{^(test|spec|features)/})
18
28
  end
@@ -20,9 +30,9 @@ Gem::Specification.new do |spec|
20
30
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
31
  spec.require_paths = ['lib']
22
32
 
23
- spec.add_development_dependency 'bundler', '~> 1.16'
24
- spec.add_development_dependency 'minitest', '~> 5.10'
25
- spec.add_development_dependency 'rake', '~> 12.3'
26
- spec.add_development_dependency 'rubocop', '~> 0.51'
27
- spec.add_development_dependency 'simplecov', '~> 0.15'
33
+ spec.add_development_dependency 'bundler', '~> 2.0'
34
+ spec.add_development_dependency 'minitest', '~> 5.11'
35
+ spec.add_development_dependency 'rake', '~> 13.0'
36
+ spec.add_development_dependency 'rubocop', '~> 1.12'
37
+ spec.add_development_dependency 'simplecov', '~> 0.19'
28
38
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Bundler
2
4
  module Console
3
- VERSION = '0.0.2'.freeze
5
+ VERSION = '0.0.3'
4
6
  end
5
7
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/console/version'
2
4
 
3
5
  module Bundler
@@ -5,7 +7,7 @@ module Bundler
5
7
  class Command
6
8
  Plugin::API.command('console', self)
7
9
 
8
- def exec(_, args)
10
+ def exec(_name, args)
9
11
  if args.any?
10
12
  Bundler.require(:default, *args.map!(&:to_sym))
11
13
  else
data/plugins.rb CHANGED
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/console'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
- - Kevin Deisz
8
- autorequire:
7
+ - Kevin Newton
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-05 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,96 +16,104 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '2.0'
20
20
  type: :development
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: '1.16'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '5.10'
33
+ version: '5.11'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '5.10'
40
+ version: '5.11'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '12.3'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '12.3'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.51'
61
+ version: '1.12'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.51'
68
+ version: '1.12'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.15'
75
+ version: '0.19'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.15'
83
- description:
82
+ version: '0.19'
83
+ description:
84
84
  email:
85
- - kevin.deisz@gmail.com
85
+ - kddnewton@gmail.com
86
86
  executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
+ - ".github/dependabot.yml"
91
+ - ".github/workflows/main.yml"
90
92
  - ".gitignore"
91
93
  - ".rubocop.yml"
92
- - ".travis.yml"
94
+ - CHANGELOG.md
95
+ - CODE_OF_CONDUCT.md
93
96
  - Gemfile
94
97
  - Gemfile.lock
95
98
  - LICENSE
96
99
  - README.md
97
100
  - Rakefile
98
101
  - bin/console
102
+ - bin/rubocop
99
103
  - bin/setup
100
104
  - bundler-console.gemspec
101
105
  - lib/bundler/console.rb
102
106
  - lib/bundler/console/version.rb
103
107
  - plugins.rb
104
- homepage: https://github.com/kddeisz/bundler-console
108
+ homepage: https://github.com/kddnewton/bundler-console
105
109
  licenses:
106
110
  - MIT
107
- metadata: {}
108
- post_install_message:
111
+ metadata:
112
+ bug_tracker_uri: https://github.com/kddnewton/bundler-console/issues
113
+ changelog_uri: https://github.com/kddnewton/bundler-console/blob/v0.0.3/CHANGELOG.md
114
+ source_code_uri: https://github.com/kddnewton/bundler-console
115
+ rubygems_mfa_required: 'true'
116
+ post_install_message:
109
117
  rdoc_options: []
110
118
  require_paths:
111
119
  - lib
@@ -120,9 +128,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
128
  - !ruby/object:Gem::Version
121
129
  version: '0'
122
130
  requirements: []
123
- rubyforge_project:
124
- rubygems_version: 2.6.13
125
- signing_key:
131
+ rubygems_version: 3.2.3
132
+ signing_key:
126
133
  specification_version: 4
127
134
  summary: A bundler plugin that starts a console session with your gem dependencies.
128
135
  test_files: []
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- language: ruby
2
- rvm: 2.4.2
3
- cache: bundler
4
- script:
5
- - bundle exec rake
6
- - bundle exec rubocop