ruboty-github 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6b529aabc96d23db82568cf953c9893ceb313f34
4
- data.tar.gz: 51c0942be60ed3eb2abbb51bee21f87ded0ba34a
2
+ SHA256:
3
+ metadata.gz: ca90484555edbcd0c7d115256daf80863bac1e3e1fc196654c7b4ffb6d5a0a01
4
+ data.tar.gz: 98414de76d55e9ffbd9463d3321663a2b205c312ba55c7865d5b56b4f67b513b
5
5
  SHA512:
6
- metadata.gz: 0512725c0cfe6fe77c76b46b2131efa22e4b603981fb410c1843d4b152e18505f574847c3421764b2506353d3e9158e7dd7bd953f85c39260157acb9486f3201
7
- data.tar.gz: 760462d06ec9955905c03d63a13b0f28bdee3d7d13607e8ab925a9a3d287accd27744a942236cd52a710169dfb6d17d048ce67f7e2e72c2df9049feebbfdea2c
6
+ metadata.gz: 45b57c5e82d2fdbb77e39cbf33411ea30159e213e9f87765c41f0f9626ef3c6b3d03eff33be86e537ab0fcb3fe8e271bce6cfb182f8222bd0972d7d342702146
7
+ data.tar.gz: 7dcc15dbaf50a4c93c6f44e5206bb76a1297c63df65499bc87255478d67fdbb57e48197916f73ef067fd7f3305cd17aa747b54da5aa69109e61f1307b2a29ce6
@@ -0,0 +1,23 @@
1
+ changelog:
2
+ categories:
3
+ - title: Added
4
+ labels:
5
+ - add
6
+ - title: Changed
7
+ labels:
8
+ - change
9
+ - title: Deprecated
10
+ labels:
11
+ - deprecate
12
+ - title: Fixed
13
+ labels:
14
+ - fix
15
+ - title: Removed
16
+ labels:
17
+ - remove
18
+ - title: Security
19
+ labels:
20
+ - security
21
+ - title: Others
22
+ labels:
23
+ - "*"
@@ -0,0 +1,37 @@
1
+ # This file is machine-generated by `gh actions-lock`.
2
+ # Do not edit by hand; run `gh actions-lock` to update.
3
+ # Docs: https://gh.io/actions-lockfile
4
+ version: 'v0.0.3'
5
+ workflows:
6
+ '.github/workflows/bump-request.yml':
7
+ - 'actions/checkout@v7.0.1'
8
+ - 'r7kamura/bump-request@v0.7.1'
9
+ - 'ruby/setup-ruby@v1.336.0'
10
+ '.github/workflows/ci.yml':
11
+ - 'actions/checkout@v7.0.1'
12
+ - 'ruby/setup-ruby@v1.336.0'
13
+ '.github/workflows/release.yml': []
14
+ dependencies:
15
+ 'actions/checkout@v7.0.1':
16
+ ref: 'v7.0.1'
17
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
18
+ owner_id: 44036562
19
+ repo_id: 197814629
20
+ 'actions/setup-node@v7.1.0':
21
+ ref: 'v7.1.0'
22
+ commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
23
+ owner_id: 44036562
24
+ repo_id: 189476904
25
+ 'r7kamura/bump-request@v0.7.1':
26
+ ref: 'v0.7.1'
27
+ commit: 'sha1-b27937188d404bc0c2fd442403e6de1d20f9b349'
28
+ owner_id: 111689
29
+ repo_id: 533135195
30
+ uses:
31
+ - 'actions/checkout@v7.0.1'
32
+ - 'actions/setup-node@v7.1.0'
33
+ 'ruby/setup-ruby@v1.336.0':
34
+ ref: 'v1.336.0'
35
+ commit: 'sha1-de492cf36cbab201753d720ce4f4e336cd688c94'
36
+ owner_id: 210414
37
+ repo_id: 231208785
@@ -0,0 +1,26 @@
1
+ name: bump-request
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version:
7
+ description: Version to change to.
8
+ required: true
9
+ type: string
10
+
11
+ jobs:
12
+ run:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v7.0.1
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1.336.0
18
+ with:
19
+ ruby-version: 3.3
20
+ bundler-cache: true
21
+ - uses: r7kamura/bump-request@v0.7.1
22
+ with:
23
+ command: |
24
+ sed -i -r 's/([0-9]+\.[0-9]+\.[0-9]+)/${{ inputs.version }}/' lib/ruboty/github/version.rb
25
+ bundle install
26
+ version: ${{ inputs.version }}
@@ -0,0 +1,26 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ name: Ruby ${{ matrix.ruby }}
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ ruby:
17
+ - '3.3'
18
+ - '3.4'
19
+ - '4.0'
20
+ steps:
21
+ - uses: actions/checkout@v7.0.1
22
+ - uses: ruby/setup-ruby@v1.336.0
23
+ with:
24
+ ruby-version: ${{ matrix.ruby }}
25
+ bundler-cache: true
26
+ - run: bundle exec rspec
@@ -0,0 +1,11 @@
1
+ name: release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ release:
10
+ uses: r7kamura/workflows/.github/workflows/gem-release.yml@main
11
+ if: github.repository_owner == 'r7kamura'
data/README.md CHANGED
@@ -24,4 +24,4 @@ GITHUB_BASE_URL - Pass GitHub base URL if needed (e.g. https://github.example.co
24
24
  ```
25
25
 
26
26
  ## Image
27
- ![](https://raw.githubusercontent.com/r7kamura/ruboty-github/master/images/screenshot.png)
27
+ ![](https://raw.githubusercontent.com/r7kamura/ruboty-github/main/images/screenshot.png)
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Github
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -11,17 +11,23 @@ Gem::Specification.new do |spec|
11
11
  spec.homepage = "https://github.com/r7kamura/ruboty-github"
12
12
  spec.license = "MIT"
13
13
 
14
+ spec.metadata["homepage_uri"] = spec.homepage
15
+ spec.metadata["source_code_uri"] = spec.homepage
16
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/releases"
17
+ spec.metadata["rubygems_mfa_required"] = "true"
18
+
14
19
  spec.files = `git ls-files -z`.split("\x0")
15
20
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
21
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
22
  spec.require_paths = ["lib"]
18
23
 
24
+ spec.required_ruby_version = ">= 3.3"
25
+
19
26
  spec.add_dependency "activesupport"
20
27
  spec.add_dependency "ruboty"
21
28
  spec.add_dependency "octokit"
22
- spec.add_development_dependency "bundler", "~> 1.6"
23
29
  spec.add_development_dependency "rake"
24
- spec.add_development_dependency "rspec", "2.14.1"
30
+ spec.add_development_dependency "rspec"
25
31
  spec.add_development_dependency "simplecov"
26
32
  spec.add_development_dependency "webmock"
27
33
  end
data/spec/spec_helper.rb CHANGED
@@ -5,7 +5,6 @@ require "ruboty/github"
5
5
  require "webmock/rspec"
6
6
 
7
7
  RSpec.configure do |config|
8
- config.treat_symbols_as_metadata_keys_with_true_values = true
9
8
  config.run_all_when_everything_filtered = true
10
9
  config.filter_run :focus
11
10
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2017-12-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -52,20 +51,6 @@ dependencies:
52
51
  - - ">="
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: bundler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.6'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.6'
69
54
  - !ruby/object:Gem::Dependency
70
55
  name: rake
71
56
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +69,16 @@ dependencies:
84
69
  name: rspec
85
70
  requirement: !ruby/object:Gem::Requirement
86
71
  requirements:
87
- - - '='
72
+ - - ">="
88
73
  - !ruby/object:Gem::Version
89
- version: 2.14.1
74
+ version: '0'
90
75
  type: :development
91
76
  prerelease: false
92
77
  version_requirements: !ruby/object:Gem::Requirement
93
78
  requirements:
94
- - - '='
79
+ - - ">="
95
80
  - !ruby/object:Gem::Version
96
- version: 2.14.1
81
+ version: '0'
97
82
  - !ruby/object:Gem::Dependency
98
83
  name: simplecov
99
84
  requirement: !ruby/object:Gem::Requirement
@@ -122,15 +107,18 @@ dependencies:
122
107
  - - ">="
123
108
  - !ruby/object:Gem::Version
124
109
  version: '0'
125
- description:
126
110
  email:
127
111
  - r7kamura@gmail.com
128
112
  executables: []
129
113
  extensions: []
130
114
  extra_rdoc_files: []
131
115
  files:
116
+ - ".github/release.yml"
117
+ - ".github/workflows/actions.lock"
118
+ - ".github/workflows/bump-request.yml"
119
+ - ".github/workflows/ci.yml"
120
+ - ".github/workflows/release.yml"
132
121
  - ".gitignore"
133
- - CHANGELOG.md
134
122
  - Gemfile
135
123
  - LICENSE.txt
136
124
  - README.md
@@ -153,8 +141,11 @@ files:
153
141
  homepage: https://github.com/r7kamura/ruboty-github
154
142
  licenses:
155
143
  - MIT
156
- metadata: {}
157
- post_install_message:
144
+ metadata:
145
+ homepage_uri: https://github.com/r7kamura/ruboty-github
146
+ source_code_uri: https://github.com/r7kamura/ruboty-github
147
+ changelog_uri: https://github.com/r7kamura/ruboty-github/releases
148
+ rubygems_mfa_required: 'true'
158
149
  rdoc_options: []
159
150
  require_paths:
160
151
  - lib
@@ -162,16 +153,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
153
  requirements:
163
154
  - - ">="
164
155
  - !ruby/object:Gem::Version
165
- version: '0'
156
+ version: '3.3'
166
157
  required_rubygems_version: !ruby/object:Gem::Requirement
167
158
  requirements:
168
159
  - - ">="
169
160
  - !ruby/object:Gem::Version
170
161
  version: '0'
171
162
  requirements: []
172
- rubyforge_project:
173
- rubygems_version: 2.6.11
174
- signing_key:
163
+ rubygems_version: 4.0.20
175
164
  specification_version: 4
176
165
  summary: Manage GitHub via Ruboty.
177
166
  test_files:
data/CHANGELOG.md DELETED
@@ -1,48 +0,0 @@
1
- ## 0.3.0
2
- - Add `create branch <to_branch> from <from>` command
3
-
4
- ## 0.2.1
5
- - Add `search issues <query>` command
6
-
7
- ## 0.2.0
8
- - Change ENV from GITHUB_HOST to GITHUB_BASE_URL
9
-
10
- ## 0.1.3
11
- - Fix bug that would not respond to issue URL
12
-
13
- ## 0.1.2
14
- - Allow merge & issue commands to take issue's URL
15
- - `close issue <target>` -> `close[ issue] <target>`
16
-
17
- ## 0.1.1
18
- - Pass empty string as issue body instead of nil
19
-
20
- ## 0.1.0
21
- - Change command: merge pull request -> merge
22
-
23
- ## 0.0.9
24
- - Rename: Ellen -> Ruboty
25
-
26
- ## 0.0.8
27
- - Support Github Enterprise
28
-
29
- ## 0.0.7
30
- - Use Ruboty::Message#from_name as user identifier
31
-
32
- ## 0.0.6
33
- - Add Create & Merge Pull Request commands
34
-
35
- ## 0.0.5
36
- - Description support
37
-
38
- ## 0.0.4
39
- - Add close command
40
-
41
- ## 0.0.3
42
- - Support Ruboty v0.2.0
43
-
44
- ## 0.0.2
45
- - Memorize access token and use it to create a new issue
46
-
47
- ## 0.0.1
48
- - 1st Release