ruby_ci 0.1.1 → 0.1.2

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
2
  SHA256:
3
- metadata.gz: 57e0c7c2a361ec9e8593b1a18493ed2e59b6a2093f8cc50ac81e53757ad3b4e9
4
- data.tar.gz: 8ed6ac909dba27be725e498ff068e422a5352dd432367bc71eb6b31b779ba9c5
3
+ metadata.gz: 8332d877f151e3d8f22ba4bb7bb5a066a18ea4e2dca33c22d8fd291583536119
4
+ data.tar.gz: f79de1393cbecbfd85e4a3c6b37efff3335dfaebcf6e88f965f06f739d8fb51b
5
5
  SHA512:
6
- metadata.gz: 06e0dad118feea336a5c37bd01b3be1fb381305863fbdba06e0aec6b66ee45e922164f8df1189c0089a74543897e91466004043b4b681c3b7c28786a30aaa812
7
- data.tar.gz: ba26aef78a312efd0b6452121eea6fac7796a9e0a6a86823306faea2e31c6239dbf7d3e66f160458ca51712a7dc8c9275798c3c52d2c5017bcf42c865bf9f415
6
+ metadata.gz: 3267344b805f906d969cc3c688c3194f9a60ce6735ce99d1321effab38dd07c38dd21904d628bc3fb0b1096c575a7b594e12980f13dde085317c45e918f91af0
7
+ data.tar.gz: 5d0a5f2c37419df2b5946754e6ed66bf99c2c5dccc81ddb803f0aa2ffeb289f7f49aa11bddd84054d96bc964ce9de8bdf309cfc6b353d0064e82e87116678f76
@@ -0,0 +1,26 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ - master
6
+
7
+ pull_request:
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+
13
+ strategy:
14
+ matrix:
15
+ ruby:
16
+ - 3.0.1
17
+
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: Set up Ruby
21
+ uses: ruby/setup-ruby@v1
22
+ with:
23
+ ruby-version: ${{ matrix.ruby }}
24
+ bundler-cache: true
25
+ - name: Run the default task
26
+ run: bundle exec rake
data/.rubocop.yml CHANGED
@@ -1,3 +1,6 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.4
3
+
1
4
  Style/StringLiterals:
2
5
  Enabled: true
3
6
  EnforcedStyle: double_quotes
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at you@example.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile CHANGED
@@ -13,4 +13,4 @@ gem "rspec", "~> 3.0"
13
13
 
14
14
  gem "rubocop", "~> 1.7"
15
15
 
16
- gem "async-websocket", github: "socketry/async-websocket", branch: "master"
16
+ gem "async-websocket", github: "socketry/async-websocket", ref: "a63151d0759edde5ca5cd9ffa0414d9f2e295ee8"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  GIT
2
2
  remote: https://github.com/socketry/async-websocket
3
3
  revision: a63151d0759edde5ca5cd9ffa0414d9f2e295ee8
4
- branch: master
4
+ ref: a63151d0759edde5ca5cd9ffa0414d9f2e295ee8
5
5
  specs:
6
6
  async-websocket (0.19.0)
7
7
  async-http (~> 0.54)
@@ -29,22 +29,22 @@ GEM
29
29
  protocol-http (~> 0.22.0)
30
30
  protocol-http1 (~> 0.14.0)
31
31
  protocol-http2 (~> 0.14.0)
32
- async-io (1.32.2)
32
+ async-io (1.33.0)
33
33
  async
34
34
  async-pool (0.3.9)
35
35
  async (>= 1.25)
36
36
  coderay (1.1.3)
37
- console (1.13.1)
37
+ console (1.15.0)
38
38
  fiber-local
39
- diff-lcs (1.4.4)
39
+ diff-lcs (1.5.0)
40
40
  fiber-local (1.0.0)
41
41
  method_source (1.0.0)
42
42
  nio4r (2.5.8)
43
- parallel (1.20.1)
44
- parser (3.0.2.0)
43
+ parallel (1.22.1)
44
+ parser (3.1.2.0)
45
45
  ast (~> 2.4.1)
46
46
  protocol-hpack (1.4.2)
47
- protocol-http (0.22.5)
47
+ protocol-http (0.22.6)
48
48
  protocol-http1 (0.14.2)
49
49
  protocol-http (~> 0.22)
50
50
  protocol-http2 (0.14.2)
@@ -56,48 +56,48 @@ GEM
56
56
  pry (0.14.1)
57
57
  coderay (~> 1.1)
58
58
  method_source (~> 1.0)
59
- rainbow (3.0.0)
59
+ rainbow (3.1.1)
60
60
  rake (13.0.6)
61
- regexp_parser (2.1.1)
61
+ regexp_parser (2.3.1)
62
62
  rexml (3.2.5)
63
- rspec (3.10.0)
64
- rspec-core (~> 3.10.0)
65
- rspec-expectations (~> 3.10.0)
66
- rspec-mocks (~> 3.10.0)
67
- rspec-core (3.10.1)
68
- rspec-support (~> 3.10.0)
69
- rspec-expectations (3.10.1)
63
+ rspec (3.11.0)
64
+ rspec-core (~> 3.11.0)
65
+ rspec-expectations (~> 3.11.0)
66
+ rspec-mocks (~> 3.11.0)
67
+ rspec-core (3.11.0)
68
+ rspec-support (~> 3.11.0)
69
+ rspec-expectations (3.11.0)
70
70
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.10.0)
72
- rspec-mocks (3.10.2)
71
+ rspec-support (~> 3.11.0)
72
+ rspec-mocks (3.11.1)
73
73
  diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.10.0)
75
- rspec-support (3.10.2)
76
- rubocop (1.20.0)
74
+ rspec-support (~> 3.11.0)
75
+ rspec-support (3.11.0)
76
+ rubocop (1.28.2)
77
77
  parallel (~> 1.10)
78
- parser (>= 3.0.0.0)
78
+ parser (>= 3.1.0.0)
79
79
  rainbow (>= 2.2.2, < 4.0)
80
80
  regexp_parser (>= 1.8, < 3.0)
81
81
  rexml
82
- rubocop-ast (>= 1.9.1, < 2.0)
82
+ rubocop-ast (>= 1.17.0, < 2.0)
83
83
  ruby-progressbar (~> 1.7)
84
84
  unicode-display_width (>= 1.4.0, < 3.0)
85
- rubocop-ast (1.11.0)
86
- parser (>= 3.0.1.1)
85
+ rubocop-ast (1.17.0)
86
+ parser (>= 3.1.1.0)
87
87
  ruby-progressbar (1.11.0)
88
88
  timers (4.3.3)
89
- unicode-display_width (2.0.0)
89
+ unicode-display_width (2.1.0)
90
90
 
91
91
  PLATFORMS
92
- arm64-darwin-20
92
+ x86_64-linux
93
93
 
94
94
  DEPENDENCIES
95
95
  async-websocket!
96
- ruby_ci!
97
96
  pry
98
97
  rake (~> 13.0)
99
98
  rspec (~> 3.0)
100
99
  rubocop (~> 1.7)
100
+ ruby_ci!
101
101
 
102
102
  BUNDLED WITH
103
- 2.2.22
103
+ 2.2.26
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 Ale
3
+ Copyright (c) 2022 Your Name
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,4 +1,4 @@
1
- # RubyCI
1
+ # RubyCi
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ruby_ci`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
@@ -32,8 +32,12 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/ruby_ci.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/ruby_ci. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/ruby_ci/blob/master/CODE_OF_CONDUCT.md).
36
36
 
37
37
  ## License
38
38
 
39
39
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the RubyCi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/ruby_ci/blob/master/CODE_OF_CONDUCT.md).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCI
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
data/lib/ruby_ci.rb CHANGED
@@ -7,8 +7,6 @@ require_relative "ruby_ci/exceptions"
7
7
  require "async"
8
8
  require "async/http/endpoint"
9
9
  require "async/websocket/client"
10
- require "async/logger"
11
- Async.logger.debug!
12
10
 
13
11
  module RubyCI
14
12
  class Error < StandardError; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ale ∴
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-16 00:00:00.000000000 Z
11
+ date: 2022-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-websocket
@@ -45,9 +45,11 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".github/workflows/main.yml"
48
49
  - ".gitignore"
49
50
  - ".rspec"
50
51
  - ".rubocop.yml"
52
+ - CODE_OF_CONDUCT.md
51
53
  - Gemfile
52
54
  - Gemfile.lock
53
55
  - LICENSE.txt
@@ -67,7 +69,7 @@ metadata:
67
69
  homepage_uri: https://github.com/alexvko/ruby_ci-rb
68
70
  source_code_uri: https://github.com/alexvko/ruby_ci-rb
69
71
  changelog_uri: https://github.com/alexvko/ruby_ci-rb
70
- post_install_message:
72
+ post_install_message:
71
73
  rdoc_options: []
72
74
  require_paths:
73
75
  - lib
@@ -82,8 +84,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
84
  - !ruby/object:Gem::Version
83
85
  version: '0'
84
86
  requirements: []
85
- rubygems_version: 3.2.22
86
- signing_key:
87
+ rubygems_version: 3.2.15
88
+ signing_key:
87
89
  specification_version: 4
88
90
  summary: Ruby wrapper for creating RubyCI integrations
89
91
  test_files: []