hollaback 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/main.yml +34 -0
- data/.gitignore +0 -1
- data/.rubocop.yml +22 -6
- data/CHANGELOG.md +16 -0
- data/CODE_OF_CONDUCT.md +76 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +51 -0
- data/LICENSE +1 -1
- data/README.md +38 -11
- data/Rakefile +2 -0
- data/bin/console +1 -0
- data/bin/setup +0 -2
- data/hollaback.gemspec +24 -16
- data/lib/hollaback/callback.rb +8 -3
- data/lib/hollaback/chain.rb +3 -0
- data/lib/hollaback/sequence.rb +9 -5
- data/lib/hollaback/version.rb +3 -1
- data/lib/hollaback.rb +2 -0
- metadata +33 -40
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ea92615d4b9e2efd215fc0eab350aa723563640a2a3468448b86a4e132aa3c64
|
4
|
+
data.tar.gz: a813bf9aebe70b6410cb7165a7f541a247ada986dcfcba3453e5eac2ae7757bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91de650d823b6ebe4427a6497f83fd0b00ea208b703e4d40d2cbb37e2436cdd6a40850c48d6ac34a2098a1f78281a69c1d450fd575fd5d919496300bcbd97fc5
|
7
|
+
data.tar.gz: 748fe37b4d56647abebdaff118d24066b8849da1a1838ec1db6bd6dea7b9f1287ef9b537daa9693a7dddf626be7c5ef82460b02119f0d0f5fb8fb990bba124cc
|
@@ -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/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,14 +1,30 @@
|
|
1
1
|
AllCops:
|
2
2
|
DisplayCopNames: true
|
3
3
|
DisplayStyleGuide: true
|
4
|
-
TargetRubyVersion: 2.
|
4
|
+
TargetRubyVersion: 2.7
|
5
5
|
Exclude:
|
6
|
-
- 'vendor/**/*'
|
6
|
+
- '{tmp,vendor,yard}/**/*'
|
7
|
+
|
8
|
+
Gemspec/RequiredRubyVersion:
|
9
|
+
Enabled: false
|
10
|
+
|
11
|
+
Layout/LineLength:
|
12
|
+
Max: 80
|
13
|
+
|
14
|
+
Lint/AmbiguousBlockAssociation:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
Naming/RescuedExceptionsVariableName:
|
18
|
+
Enabled: false
|
7
19
|
|
8
20
|
Style/Documentation:
|
9
21
|
Enabled: false
|
10
22
|
|
11
|
-
Style/
|
12
|
-
|
13
|
-
|
14
|
-
|
23
|
+
Style/FormatString:
|
24
|
+
EnforcedStyle: percent
|
25
|
+
|
26
|
+
Style/FormatStringToken:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
Style/PerlBackrefs:
|
30
|
+
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.1.1] - 2021-11-17
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
|
13
|
+
- Require MFA for releasing.
|
14
|
+
|
15
|
+
[unreleased]: https://github.com/kddnewton/hollaback/compare/v0.1.1...HEAD
|
16
|
+
[0.1.1]: https://github.com/kddnewton/hollaback/compare/ddb3d6...v0.1.1
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -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
data/Gemfile.lock
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
hollaback (0.1.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
ast (2.4.2)
|
10
|
+
docile (1.4.0)
|
11
|
+
minitest (5.14.4)
|
12
|
+
parallel (1.21.0)
|
13
|
+
parser (3.0.2.0)
|
14
|
+
ast (~> 2.4.1)
|
15
|
+
rainbow (3.0.0)
|
16
|
+
rake (13.0.6)
|
17
|
+
regexp_parser (2.1.1)
|
18
|
+
rexml (3.2.5)
|
19
|
+
rubocop (1.23.0)
|
20
|
+
parallel (~> 1.10)
|
21
|
+
parser (>= 3.0.0.0)
|
22
|
+
rainbow (>= 2.2.2, < 4.0)
|
23
|
+
regexp_parser (>= 1.8, < 3.0)
|
24
|
+
rexml
|
25
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
26
|
+
ruby-progressbar (~> 1.7)
|
27
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
28
|
+
rubocop-ast (1.13.0)
|
29
|
+
parser (>= 3.0.1.1)
|
30
|
+
ruby-progressbar (1.11.0)
|
31
|
+
simplecov (0.21.2)
|
32
|
+
docile (~> 1.1)
|
33
|
+
simplecov-html (~> 0.11)
|
34
|
+
simplecov_json_formatter (~> 0.1)
|
35
|
+
simplecov-html (0.12.3)
|
36
|
+
simplecov_json_formatter (0.1.3)
|
37
|
+
unicode-display_width (2.1.0)
|
38
|
+
|
39
|
+
PLATFORMS
|
40
|
+
ruby
|
41
|
+
|
42
|
+
DEPENDENCIES
|
43
|
+
bundler (~> 2.0)
|
44
|
+
hollaback!
|
45
|
+
minitest (~> 5.11)
|
46
|
+
rake (~> 13.0)
|
47
|
+
rubocop (~> 1.12)
|
48
|
+
simplecov (~> 0.14)
|
49
|
+
|
50
|
+
BUNDLED WITH
|
51
|
+
2.2.3
|
data/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2016
|
3
|
+
Copyright (c) 2016-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,7 +1,7 @@
|
|
1
1
|
# Hollaback
|
2
2
|
|
3
|
-
[![Build Status](https://
|
4
|
-
[![
|
3
|
+
[![Build Status](https://github.com/kddnewton/hollaback/workflows/Main/badge.svg)](https://github.com/kddnewton/hollaback/actions)
|
4
|
+
[![Gem Version](https://img.shields.io/gem/v/hollaback.svg)](https://rubygems.org/gems/hollaback)
|
5
5
|
|
6
6
|
Builds method chains such that you can execute functions inside of a predefined set of callbacks.
|
7
7
|
|
@@ -23,7 +23,31 @@ Or install it yourself as:
|
|
23
23
|
|
24
24
|
## Usage
|
25
25
|
|
26
|
-
Sometimes you want to execute code in the context of hooks. With this gem you can build `before`, `after`, and `around` callbacks that are executed in the context of the given object. For `before`s and `after`s you can use either symbols
|
26
|
+
Sometimes you want to execute code in the context of hooks. With this gem you can build `before`, `after`, and `around` callbacks that are executed in the context of the given object. For `before`s and `after`s you can use either symbols or procs. For `around`s you can use symbols.
|
27
|
+
|
28
|
+
First, create a `Hollaback::Chain` object that will represent all of the callbacks that will be called around a block of code.
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'hollaback'
|
32
|
+
chain = Hollaback::Chain.new
|
33
|
+
```
|
34
|
+
|
35
|
+
Then, specify the callbacks that will be called.
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
chain.before :say_hello
|
39
|
+
chain.before { puts 'How are you?' }
|
40
|
+
chain.after :say_goodbye
|
41
|
+
chain.around :say
|
42
|
+
```
|
43
|
+
|
44
|
+
Then, provide a block of code around which the callbacks will be called.
|
45
|
+
|
46
|
+
```ruby
|
47
|
+
compiled = chain.compile { '- Hollaback' }
|
48
|
+
```
|
49
|
+
|
50
|
+
Finally, call the compiled sequence of callbacks (with or without an optional context object on which the symbol callbacks should be defined).
|
27
51
|
|
28
52
|
```ruby
|
29
53
|
class Callbacker
|
@@ -42,15 +66,18 @@ class Callbacker
|
|
42
66
|
end
|
43
67
|
end
|
44
68
|
|
45
|
-
|
46
|
-
|
69
|
+
compiled.call(Callbacker.new)
|
70
|
+
```
|
47
71
|
|
48
|
-
|
49
|
-
chain.before { puts 'How are you?' }
|
50
|
-
chain.after :say_goodbye
|
51
|
-
chain.around :say
|
72
|
+
In the above example, the following will output to stdout:
|
52
73
|
|
53
|
-
|
74
|
+
```
|
75
|
+
speaking...
|
76
|
+
Hello!
|
77
|
+
How are you?
|
78
|
+
Goodbye!
|
79
|
+
- Hollaback
|
80
|
+
...done.
|
54
81
|
```
|
55
82
|
|
56
83
|
## Development
|
@@ -61,7 +88,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
61
88
|
|
62
89
|
## Contributing
|
63
90
|
|
64
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
91
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kddnewton/hollaback.
|
65
92
|
|
66
93
|
## License
|
67
94
|
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
data/bin/setup
CHANGED
data/hollaback.gemspec
CHANGED
@@ -1,29 +1,37 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/hollaback/version'
|
4
|
+
|
5
|
+
version = Hollaback::VERSION
|
6
|
+
repository = 'https://github.com/kddnewton/hollaback'
|
5
7
|
|
6
8
|
Gem::Specification.new do |spec|
|
7
9
|
spec.name = 'hollaback'
|
8
|
-
spec.version =
|
9
|
-
spec.authors = ['
|
10
|
-
spec.email = ['
|
10
|
+
spec.version = version
|
11
|
+
spec.authors = ['Kevin Newton']
|
12
|
+
spec.email = ['kddnewton@gmail.com']
|
11
13
|
|
12
14
|
spec.summary = 'Add callbacks to your methods'
|
13
|
-
spec.homepage =
|
15
|
+
spec.homepage = repository
|
14
16
|
spec.license = 'MIT'
|
15
17
|
|
16
|
-
|
17
|
-
|
18
|
+
spec.metadata = {
|
19
|
+
'bug_tracker_uri' => "#{repository}/issues",
|
20
|
+
'changelog_uri' => "#{repository}/blob/v#{version}/CHANGELOG.md",
|
21
|
+
'source_code_uri' => repository,
|
22
|
+
'rubygems_mfa_required' => 'true'
|
23
|
+
}
|
24
|
+
|
25
|
+
spec.files =
|
26
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
|
18
27
|
|
19
28
|
spec.bindir = 'exe'
|
20
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
30
|
spec.require_paths = ['lib']
|
22
31
|
|
23
|
-
spec.add_development_dependency 'bundler', '~>
|
24
|
-
spec.add_development_dependency '
|
25
|
-
spec.add_development_dependency '
|
26
|
-
spec.add_development_dependency '
|
27
|
-
spec.add_development_dependency '
|
28
|
-
spec.add_development_dependency 'rubocop', '~> 0.39'
|
32
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
33
|
+
spec.add_development_dependency 'minitest', '~> 5.11'
|
34
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
35
|
+
spec.add_development_dependency 'rubocop', '~> 1.12'
|
36
|
+
spec.add_development_dependency 'simplecov', '~> 0.14'
|
29
37
|
end
|
data/lib/hollaback/callback.rb
CHANGED
@@ -1,18 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Hollaback
|
4
|
+
# A callback that can be executed later
|
2
5
|
class Callback
|
3
6
|
attr_reader :type, :executable
|
4
7
|
|
5
8
|
def initialize(type, execute = nil, &block)
|
6
9
|
@type = type
|
7
|
-
@executable = (execute
|
10
|
+
@executable = (execute || block)
|
8
11
|
end
|
9
12
|
|
10
13
|
def build
|
11
14
|
case executable
|
12
15
|
when Symbol
|
13
|
-
->
|
16
|
+
->(target, &block) { target.send(executable, &block) }
|
14
17
|
when Proc
|
15
|
-
->
|
18
|
+
->(target) { target.instance_eval(&executable) }
|
19
|
+
else
|
20
|
+
raise ArgumentError, "Invalid callback argument: #{executable.inspect}"
|
16
21
|
end
|
17
22
|
end
|
18
23
|
end
|
data/lib/hollaback/chain.rb
CHANGED
data/lib/hollaback/sequence.rb
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Hollaback
|
4
|
+
# An object that contains a sequence of callbacks along with a main execution
|
5
|
+
# function
|
2
6
|
class Sequence
|
3
7
|
attr_reader :befores, :afters, :main
|
4
8
|
|
@@ -18,18 +22,18 @@ module Hollaback
|
|
18
22
|
self
|
19
23
|
end
|
20
24
|
|
21
|
-
# rubocop:disable Performance/RedundantBlockCall
|
22
25
|
def around(&around)
|
23
26
|
Sequence.new do |target|
|
24
27
|
around.call(target) { call(target) }
|
25
28
|
end
|
26
29
|
end
|
27
30
|
|
28
|
-
def call(target)
|
31
|
+
def call(target = nil)
|
29
32
|
befores.each { |before| before.call(target) }
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
+
|
34
|
+
main.call(target).tap do
|
35
|
+
afters.each { |after| after.call(target) }
|
36
|
+
end
|
33
37
|
end
|
34
38
|
end
|
35
39
|
end
|
data/lib/hollaback/version.rb
CHANGED
data/lib/hollaback.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hollaback
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- Kevin Newton
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,95 +16,85 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
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: '
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '10.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '10.0'
|
26
|
+
version: '2.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: minitest
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
33
|
+
version: '5.11'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
40
|
+
version: '5.11'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
42
|
+
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
47
|
+
version: '13.0'
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
54
|
+
version: '13.0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: rubocop
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
61
|
+
version: '1.12'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
68
|
+
version: '1.12'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: simplecov
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
75
|
+
version: '0.14'
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
97
|
-
description:
|
82
|
+
version: '0.14'
|
83
|
+
description:
|
98
84
|
email:
|
99
|
-
-
|
85
|
+
- kddnewton@gmail.com
|
100
86
|
executables: []
|
101
87
|
extensions: []
|
102
88
|
extra_rdoc_files: []
|
103
89
|
files:
|
90
|
+
- ".github/dependabot.yml"
|
91
|
+
- ".github/workflows/main.yml"
|
104
92
|
- ".gitignore"
|
105
93
|
- ".rubocop.yml"
|
106
|
-
-
|
94
|
+
- CHANGELOG.md
|
95
|
+
- CODE_OF_CONDUCT.md
|
107
96
|
- Gemfile
|
97
|
+
- Gemfile.lock
|
108
98
|
- LICENSE
|
109
99
|
- README.md
|
110
100
|
- Rakefile
|
@@ -116,11 +106,15 @@ files:
|
|
116
106
|
- lib/hollaback/chain.rb
|
117
107
|
- lib/hollaback/sequence.rb
|
118
108
|
- lib/hollaback/version.rb
|
119
|
-
homepage: https://github.com/
|
109
|
+
homepage: https://github.com/kddnewton/hollaback
|
120
110
|
licenses:
|
121
111
|
- MIT
|
122
|
-
metadata:
|
123
|
-
|
112
|
+
metadata:
|
113
|
+
bug_tracker_uri: https://github.com/kddnewton/hollaback/issues
|
114
|
+
changelog_uri: https://github.com/kddnewton/hollaback/blob/v0.1.1/CHANGELOG.md
|
115
|
+
source_code_uri: https://github.com/kddnewton/hollaback
|
116
|
+
rubygems_mfa_required: 'true'
|
117
|
+
post_install_message:
|
124
118
|
rdoc_options: []
|
125
119
|
require_paths:
|
126
120
|
- lib
|
@@ -135,9 +129,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
129
|
- !ruby/object:Gem::Version
|
136
130
|
version: '0'
|
137
131
|
requirements: []
|
138
|
-
|
139
|
-
|
140
|
-
signing_key:
|
132
|
+
rubygems_version: 3.2.3
|
133
|
+
signing_key:
|
141
134
|
specification_version: 4
|
142
135
|
summary: Add callbacks to your methods
|
143
136
|
test_files: []
|