okay 12.0.0 → 12.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/okay/version.rb +1 -1
- data/okay.gemspec +2 -4
- metadata +4 -17
- data/.cirrus.yml +0 -23
- data/.gitignore +0 -11
- data/.rspec +0 -2
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -15
- data/Gemfile.lock +0 -40
- data/Rakefile +0 -8
- data/bin/console +0 -14
- data/bin/httpbin +0 -3
- data/bin/setup +0 -8
- data/bors.toml +0 -5
- data/examples/github-graphql-example.rb +0 -11
- data/examples/github-graphql-intentional-failure-example.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c78533be4627e09653d047a0b1e9324c4a7536017323cf9cf3ac568fa466b7e
|
4
|
+
data.tar.gz: e6998cfd4eec770e2af999e76d432fa5500b8af8e580aa534716eb832d058bf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a11db0ced14f57a8e037db3bdd2ffcc218ee79f2fdce37003e4df38c0ff93c073b92aaad6aa41ca77dd7eb0d64a00a5b98c8c03ce0f0f43bc709b8a2f939c20f
|
7
|
+
data.tar.gz: 4f160ba25d683ce69a4fc04d722edb590ae2024ff125b061fae9f17e53b8730eaa22551631d05564ccc8fec45b4b1ca757641ebb2088bb067953c4d974cd079a
|
data/lib/okay/version.rb
CHANGED
data/okay.gemspec
CHANGED
@@ -16,9 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.homepage = "https://github.com/duckinator/okay"
|
17
17
|
spec.license = "MIT"
|
18
18
|
|
19
|
-
spec.files =
|
20
|
-
f.match(%r{^(test|spec|features)/})
|
21
|
-
end
|
19
|
+
spec.files = ['README.md', 'LICENSE.txt', 'okay.gemspec'] + Dir['lib/**/*.rb']
|
22
20
|
spec.bindir = "exe"
|
23
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
22
|
spec.require_paths = ["lib"]
|
@@ -30,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
30
28
|
# Ruby maintenance info: https://www.ruby-lang.org/en/downloads/branches/
|
31
29
|
#
|
32
30
|
# NOTE: Update Gemfile when this is updated!
|
33
|
-
spec.required_ruby_version = ">=
|
31
|
+
spec.required_ruby_version = ">= 3.0"
|
34
32
|
|
35
33
|
spec.add_runtime_dependency "cacert"
|
36
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: okay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0.
|
4
|
+
version: 12.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ellen Marie Dash
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cacert
|
@@ -74,21 +74,8 @@ executables: []
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
-
- ".cirrus.yml"
|
78
|
-
- ".gitignore"
|
79
|
-
- ".rspec"
|
80
|
-
- CODE_OF_CONDUCT.md
|
81
|
-
- Gemfile
|
82
|
-
- Gemfile.lock
|
83
77
|
- LICENSE.txt
|
84
78
|
- README.md
|
85
|
-
- Rakefile
|
86
|
-
- bin/console
|
87
|
-
- bin/httpbin
|
88
|
-
- bin/setup
|
89
|
-
- bors.toml
|
90
|
-
- examples/github-graphql-example.rb
|
91
|
-
- examples/github-graphql-intentional-failure-example.rb
|
92
79
|
- lib/okay.rb
|
93
80
|
- lib/okay/default.rb
|
94
81
|
- lib/okay/graphql.rb
|
@@ -110,14 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
110
97
|
requirements:
|
111
98
|
- - ">="
|
112
99
|
- !ruby/object:Gem::Version
|
113
|
-
version: '
|
100
|
+
version: '3.0'
|
114
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
102
|
requirements:
|
116
103
|
- - ">="
|
117
104
|
- !ruby/object:Gem::Version
|
118
105
|
version: '0'
|
119
106
|
requirements: []
|
120
|
-
rubygems_version: 3.
|
107
|
+
rubygems_version: 3.5.0.dev
|
121
108
|
signing_key:
|
122
109
|
specification_version: 4
|
123
110
|
summary: Okay, minimalist implementations of common utilities.
|
data/.cirrus.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# Allow compute credits usage by collaborators and bors.
|
2
|
-
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH == 'staging' || $CIRRUS_BRANCH == 'trying'
|
3
|
-
|
4
|
-
Linux_task:
|
5
|
-
container:
|
6
|
-
matrix:
|
7
|
-
- image: ruby:2.6-slim
|
8
|
-
- image: ruby:2.7-slim
|
9
|
-
- image: ruby:3.0-slim
|
10
|
-
install_script:
|
11
|
-
# git is installed since the gemspec uses it.
|
12
|
-
- apt-get update && apt-get install -y git
|
13
|
-
- gem install bundler
|
14
|
-
- bundle install
|
15
|
-
script:
|
16
|
-
- ruby --version
|
17
|
-
- bundle exec rake spec
|
18
|
-
|
19
|
-
task:
|
20
|
-
name: CI Success
|
21
|
-
container: {image: "busybox"}
|
22
|
-
depends_on:
|
23
|
-
- Linux
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
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, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
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 me@duckie.co. 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 [http://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
# Okay only supports Ruby versions under "normal maintenance".
|
6
|
-
# This number should be updated when a Ruby version goes into security
|
7
|
-
# maintenance.
|
8
|
-
#
|
9
|
-
# Ruby maintenance info: https://www.ruby-lang.org/en/downloads/branches/
|
10
|
-
#
|
11
|
-
# NOTE: Update how_is.gemspec when this is updated!
|
12
|
-
ruby ">= 2.6"
|
13
|
-
|
14
|
-
# Specify your gem's dependencies in okay.gemspec
|
15
|
-
gemspec
|
data/Gemfile.lock
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
okay (11.0.0)
|
5
|
-
cacert
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
cacert (0.6.0)
|
11
|
-
diff-lcs (1.4.4)
|
12
|
-
rake (12.3.3)
|
13
|
-
rspec (3.10.0)
|
14
|
-
rspec-core (~> 3.10.0)
|
15
|
-
rspec-expectations (~> 3.10.0)
|
16
|
-
rspec-mocks (~> 3.10.0)
|
17
|
-
rspec-core (3.10.1)
|
18
|
-
rspec-support (~> 3.10.0)
|
19
|
-
rspec-expectations (3.10.1)
|
20
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
21
|
-
rspec-support (~> 3.10.0)
|
22
|
-
rspec-mocks (3.10.2)
|
23
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
24
|
-
rspec-support (~> 3.10.0)
|
25
|
-
rspec-support (3.10.2)
|
26
|
-
|
27
|
-
PLATFORMS
|
28
|
-
x86_64-freebsd-13
|
29
|
-
|
30
|
-
DEPENDENCIES
|
31
|
-
bundler (~> 2.0)
|
32
|
-
okay!
|
33
|
-
rake (~> 12.3)
|
34
|
-
rspec (~> 3.8)
|
35
|
-
|
36
|
-
RUBY VERSION
|
37
|
-
ruby 3.0.1p64
|
38
|
-
|
39
|
-
BUNDLED WITH
|
40
|
-
2.2.15
|
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "okay"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/httpbin
DELETED
data/bin/setup
DELETED
data/bors.toml
DELETED