gem-release 2.2.2 → 2.2.3.alpha1

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: e449d756e94c4481c1aa935a110f9e349671ad211eacd4793b4a48b104067512
4
- data.tar.gz: a3e95dc96402384039d750d000aa2949384798354933d8b90141aaee8b381dce
3
+ metadata.gz: e86d658e65e82a15a6a990555ce4fbae75d3ab1bc3caec5a4b9a4dacc8ae9db9
4
+ data.tar.gz: 89bdbefeb343b8c5a7bfd3e4ab100b6b6a398452d40a98638af96a92a82226e9
5
5
  SHA512:
6
- metadata.gz: 204a586c20ee01dff608cab12c4562f9fcd1fa121164480b5083aaa13a660d1212c26bb778cb3ea3b393d6aa63fb1e6c757ae771bebab71a2e03897c2d4aef47
7
- data.tar.gz: a167159e43bbf4a03d852710411ab40ab1390785e4dc936a870352a681d5af8bd6b02dbe3a45eedfb06c5f863f382bc19d3c51758c95f6370c000268a43db221
6
+ metadata.gz: 83bfb283e9e31554875f4e1fc69d2f8c2f523e33690b7ae047104ee50040a9b17a3813ffe8764479e7fff5138c137b8a6b0be94362b0a1c5cf77f5296d773203
7
+ data.tar.gz: 415f5af0c03dce7f2fff0184595eec221fe722e831e65cd2c87ef6b020dca499e6018607cc6d5944b5a70955d8cc456c2c8dbbc7a68415331319dd426b386eb2
data/Gemfile.lock CHANGED
@@ -6,75 +6,79 @@ PATH
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- addressable (2.7.0)
10
- public_suffix (>= 2.0.2, < 5.0)
11
- builder (3.2.4)
12
- crack (0.4.5)
9
+ addressable (2.8.7)
10
+ public_suffix (>= 2.0.2, < 7.0)
11
+ bigdecimal (3.1.8)
12
+ builder (3.3.0)
13
+ crack (1.0.0)
14
+ bigdecimal
13
15
  rexml
14
- diff-lcs (1.4.4)
15
- docile (1.4.0)
16
- faraday (1.4.1)
17
- faraday-excon (~> 1.1)
18
- faraday-net_http (~> 1.0)
19
- faraday-net_http_persistent (~> 1.1)
20
- multipart-post (>= 1.2, < 3)
21
- ruby2_keywords (>= 0.0.4)
22
- faraday-excon (1.1.0)
23
- faraday-net_http (1.0.1)
24
- faraday-net_http_persistent (1.1.0)
25
- geminabox (1.3.0)
16
+ diff-lcs (1.5.1)
17
+ docile (1.4.1)
18
+ faraday (2.12.2)
19
+ faraday-net_http (>= 2.0, < 3.5)
20
+ json
21
+ logger
22
+ faraday-net_http (3.4.0)
23
+ net-http (>= 0.5.0)
24
+ geminabox (2.1.0)
26
25
  builder
27
- faraday
26
+ faraday (> 1.0, < 3.0)
28
27
  httpclient (>= 2.2.7)
29
28
  nesty
30
29
  reentrant_flock
31
- sinatra (>= 1.2.7)
32
- hashdiff (1.0.1)
30
+ sinatra (~> 2.0)
31
+ hashdiff (1.1.2)
33
32
  httpclient (2.8.3)
34
- multipart-post (2.1.1)
35
- mustermann (1.1.1)
33
+ json (2.9.0)
34
+ logger (1.6.3)
35
+ mustermann (2.0.2)
36
36
  ruby2_keywords (~> 0.0.1)
37
37
  nesty (1.0.2)
38
- public_suffix (4.0.6)
39
- rack (2.2.3)
40
- rack-protection (2.1.0)
38
+ net-http (0.6.0)
39
+ uri
40
+ public_suffix (6.0.1)
41
+ rack (2.2.10)
42
+ rack-protection (2.2.4)
41
43
  rack
42
44
  reentrant_flock (0.1.1)
43
- rexml (3.2.5)
44
- rspec (3.10.0)
45
- rspec-core (~> 3.10.0)
46
- rspec-expectations (~> 3.10.0)
47
- rspec-mocks (~> 3.10.0)
48
- rspec-core (3.10.1)
49
- rspec-support (~> 3.10.0)
50
- rspec-expectations (3.10.1)
45
+ rexml (3.4.0)
46
+ rspec (3.13.0)
47
+ rspec-core (~> 3.13.0)
48
+ rspec-expectations (~> 3.13.0)
49
+ rspec-mocks (~> 3.13.0)
50
+ rspec-core (3.13.2)
51
+ rspec-support (~> 3.13.0)
52
+ rspec-expectations (3.13.3)
51
53
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.10.0)
53
- rspec-mocks (3.10.2)
54
+ rspec-support (~> 3.13.0)
55
+ rspec-mocks (3.13.2)
54
56
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.10.0)
56
- rspec-support (3.10.2)
57
- ruby2_keywords (0.0.4)
58
- simplecov (0.21.2)
57
+ rspec-support (~> 3.13.0)
58
+ rspec-support (3.13.2)
59
+ ruby2_keywords (0.0.5)
60
+ simplecov (0.22.0)
59
61
  docile (~> 1.1)
60
62
  simplecov-html (~> 0.11)
61
63
  simplecov_json_formatter (~> 0.1)
62
- simplecov-html (0.12.3)
64
+ simplecov-html (0.13.1)
63
65
  simplecov-lcov (0.8.0)
64
- simplecov_json_formatter (0.1.3)
65
- sinatra (2.1.0)
66
- mustermann (~> 1.0)
66
+ simplecov_json_formatter (0.1.4)
67
+ sinatra (2.2.4)
68
+ mustermann (~> 2.0)
67
69
  rack (~> 2.2)
68
- rack-protection (= 2.1.0)
70
+ rack-protection (= 2.2.4)
69
71
  tilt (~> 2.0)
70
- tilt (2.0.10)
71
- webmock (3.12.2)
72
+ tilt (2.4.0)
73
+ uri (1.0.2)
74
+ webmock (3.1.1)
72
75
  addressable (>= 2.3.6)
73
76
  crack (>= 0.3.2)
74
- hashdiff (>= 0.4.0, < 2.0.0)
77
+ hashdiff
75
78
 
76
79
  PLATFORMS
77
- ruby
80
+ arm64-darwin-21
81
+ arm64-darwin-22
78
82
 
79
83
  DEPENDENCIES
80
84
  gem-release!
@@ -85,4 +89,4 @@ DEPENDENCIES
85
89
  webmock
86
90
 
87
91
  BUNDLED WITH
88
- 2.2.18
92
+ 2.6.1
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # gem release [![Build Status](https://secure.travis-ci.org/svenfuchs/gem-release.svg)](http://travis-ci.org/svenfuchs/gem-release)
1
+ # gem release
2
2
 
3
3
  This gem plugin aims at making gem development easier by automating repetitive work based on conventions, configuration, and templates.
4
4
 
@@ -8,10 +8,10 @@ It adds the commands `bootstrap`, `gemspec`, `bump`, `tag` and a `release` to th
8
8
  | ---------------------- | ------------ |
9
9
  | Gem name | gem-release |
10
10
  | License | [MIT](https://github.com/svenfuchs/gem-release/blob/master/LICENSE.md) |
11
- | Version | [![Gem Version](https://badge.fury.io/rb/gem-release.svg)](http://badge.fury.io/rb/gem-release) |
12
- | Continuous integration | [![GitHub Build Status](https://img.shields.io/github/workflow/status/svenfuchs/gem-release/Tests)](https://github.com/svenfuchs/gem-release/actions?query=workflow%3ATests) |
13
- | Test coverage | [![Coverage Status](https://coveralls.io/repos/svenfuchs/gem-release/badge.svg)](https://coveralls.io/r/svenfuchs/gem-release) |
14
- | Documentation | [Documentation](http://rdoc.info/github/svenfuchs/gem-release/frames) |
11
+ | Version | [![Gem Version](https://img.shields.io/gem/v/gem-release.svg?style=flat-square)](https://badge.fury.io/rb/gem-release) |
12
+ | Continuous integration | [![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/svenfuchs/gem-release/tests.yaml?branch=master&style=flat-square)](https://github.com/svenfuchs/gem-release/actions/workflows/tests.yaml) |
13
+ | Test coverage | [![Coverage Status](https://img.shields.io/coveralls/svenfuchs/gem-release.svg?style=flat-square)](https://coveralls.io/r/svenfuchs/gem-release) |
14
+ | Documentation | [Documentation](https://www.rubydoc.info/gems/gem-release) |
15
15
  | Credits | [Contributors](https://github.com/svenfuchs/gem-release/graphs/contributors) |
16
16
 
17
17
  # Table of contents
@@ -209,9 +209,9 @@ gem_name - name of the gem (optional, will use the directory name, or all gemspe
209
209
  ### Options
210
210
 
211
211
  ```
212
- -v, --version VERSION Target version: next [major|minor|patch|pre|release] or a given version number [x.x.x, x.x.x.yyy.z]
212
+ -v, --version VERSION Target version: next [major|minor|patch|pre|release] or a given version number [x.x.x]
213
213
  -c, --[no-]commit Create a commit after incrementing gem version (default: true)
214
- -m, --message Commit message template (default: Bump %{name} to %{version} %{skip_ci})
214
+ -m, --message MESSAGE Commit message template (default: Bump %{name} to %{version} %{skip_ci})
215
215
  --skip-ci Add the [skip ci] tag to the commit message
216
216
  -p, --push Push the new commit to the git remote repository
217
217
  --remote REMOTE Git remote to push to (defaults to origin) (default: origin)
@@ -227,7 +227,7 @@ gem_name - name of the gem (optional, will use the directory name, or all gemspe
227
227
 
228
228
  ### Description
229
229
 
230
- Bumps the version number defined in lib/[gem_name]/version.rb to to a
230
+ Bumps the version number defined in lib/[gem_name]/version.rb to a
231
231
  given, specific version number, or to the next major, minor, patch, or
232
232
  pre-release level.
233
233
 
@@ -248,8 +248,7 @@ major # Bump to the next major level (e.g. 0.0.1 to 1.0.0)
248
248
  minor # Bump to the next minor level (e.g. 0.0.1 to 0.1.0)
249
249
  patch # Bump to the next patch level (e.g. 0.0.1 to 0.0.2)
250
250
  pre|rc|etc # Bump to the next pre-release level (e.g. 0.0.1 to
251
- # 0.1.0.pre.1, 1.0.0.pre.1 to 1.0.0.pre.2)
252
- 1.2.0.pre.3 # Bump to specific version number with provided pre-release level and build number
251
+ # 0.1.0.pre.1, 1.0.0.pre.1 to 1.0.0.pre.2)
253
252
  ```
254
253
 
255
254
  When searching for the version file for a gem named `gem-name`: the
@@ -311,10 +310,12 @@ gem_name - name of the gem (optional, will use the first gemspec, or all gemspec
311
310
  -t, --tag Shortcut for running the `gem tag` command
312
311
  -p, --push Push tag to the remote git repository
313
312
  --recurse Recurse into directories that contain gemspec files
313
+ -g, --github Create a GitHub release
314
+ -d, --description DESCRIPTION Description of the release
315
+ --repo REPO Full name of the repository on GitHub, e.g. svenfuchs/gem-release (defaults to the repo name from the gemspec's homepage if this is a GitHub URL)
316
+ --token TOKEN GitHub OAuth token
314
317
  --[no-]color
315
318
  --pretend
316
- --github Creates a Release on GitHub. Requires GitHub OAuth token passed by `--token TOKEN`
317
- --token GitHub OAuth token. See https://developer.github.com/v3/#oauth2-token-sent-in-a-header for more details.
318
319
  ```
319
320
 
320
321
  ### Description
@@ -679,4 +680,3 @@ echo ':localhost: none' >> ~/.gem/credentials
679
680
  # test release
680
681
  bundle exec gem release --host=http://localhost:9292 --key localhost
681
682
  ```
682
-
data/README.md.erb CHANGED
@@ -1,4 +1,4 @@
1
- # gem release [![Build Status](https://secure.travis-ci.org/svenfuchs/gem-release.svg)](http://travis-ci.org/svenfuchs/gem-release)
1
+ # gem release
2
2
 
3
3
  This gem plugin aims at making gem development easier by automating repetitive work based on conventions, configuration, and templates.
4
4
 
@@ -8,10 +8,10 @@ It adds the commands `bootstrap`, `gemspec`, `bump`, `tag` and a `release` to th
8
8
  | ---------------------- | ------------ |
9
9
  | Gem name | gem-release |
10
10
  | License | [MIT](https://github.com/svenfuchs/gem-release/blob/master/LICENSE.md) |
11
- | Version | [![Gem Version](https://badge.fury.io/rb/gem-release.svg)](http://badge.fury.io/rb/gem-release) |
12
- | Continuous integration | [![Build Status](https://secure.travis-ci.org/svenfuchs/gem-release.svg?branch=master)](https://travis-ci.org/svenfuchs/gem-release) |
13
- | Test coverage | [![Coverage Status](https://coveralls.io/repos/svenfuchs/gem-release/badge.svg)](https://coveralls.io/r/svenfuchs/gem-release) |
14
- | Documentation | [Documentation](http://rdoc.info/github/svenfuchs/gem-release/frames) |
11
+ | Version | [![Gem Version](https://img.shields.io/gem/v/gem-release.svg?style=flat-square)](https://badge.fury.io/rb/gem-release) |
12
+ | Continuous integration | [![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/svenfuchs/gem-release/tests.yaml?branch=master&style=flat-square)](https://github.com/svenfuchs/gem-release/actions/workflows/tests.yaml) |
13
+ | Test coverage | [![Coverage Status](https://img.shields.io/coveralls/svenfuchs/gem-release.svg?style=flat-square)](https://coveralls.io/r/svenfuchs/gem-release) |
14
+ | Documentation | [Documentation](https://www.rubydoc.info/gems/gem-release) |
15
15
  | Credits | [Contributors](https://github.com/svenfuchs/gem-release/graphs/contributors) |
16
16
 
17
17
  # Table of contents
@@ -180,4 +180,3 @@ echo ':localhost: none' >> ~/.gem/credentials
180
180
  # test release
181
181
  bundle exec gem release --host=http://localhost:9292 --key localhost
182
182
  ```
183
-
Binary file
@@ -8,7 +8,7 @@ module Gem
8
8
  summary 'Bumps one, several, or all gems in this directory.'
9
9
 
10
10
  description <<-str.split("\n").map(&:lstrip).join("\n")
11
- Bumps the version number defined in lib/[gem_name]/version.rb to to a given,
11
+ Bumps the version number defined in lib/[gem_name]/version.rb to a given,
12
12
  specific version number, or to the next major, minor, patch, or pre-release
13
13
  level.
14
14
 
@@ -20,13 +20,13 @@ module Gem
20
20
  end
21
21
 
22
22
  def client
23
- http_client = Net::HTTP.new(uri.host, uri.port)
23
+ http_client = ::Net::HTTP.new(uri.host, uri.port)
24
24
  http_client.use_ssl = (uri.scheme == 'https')
25
25
  http_client
26
26
  end
27
27
 
28
28
  def const
29
- Net::HTTP.const_get(method.to_s.capitalize)
29
+ ::Net::HTTP.const_get(method.to_s.capitalize)
30
30
  end
31
31
  end
32
32
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gem
4
4
  module Release
5
- VERSION = '2.2.2'
5
+ VERSION = '2.2.3.alpha1'
6
6
  end
7
7
  end
@@ -1,14 +1,18 @@
1
- require 'gem/release'
2
- require 'rubygems/command_manager'
1
+ begin
2
+ require 'gem/release'
3
+ require 'rubygems/command_manager'
3
4
 
4
- require 'rubygems/commands/bootstrap_command'
5
- require 'rubygems/commands/bump_command'
6
- require 'rubygems/commands/gemspec_command'
7
- require 'rubygems/commands/release_command'
8
- require 'rubygems/commands/tag_command'
5
+ require 'rubygems/commands/bootstrap_command'
6
+ require 'rubygems/commands/bump_command'
7
+ require 'rubygems/commands/gemspec_command'
8
+ require 'rubygems/commands/release_command'
9
+ require 'rubygems/commands/tag_command'
9
10
 
10
- Gem::CommandManager.instance.register_command :bootstrap
11
- Gem::CommandManager.instance.register_command :bump
12
- Gem::CommandManager.instance.register_command :gemspec
13
- Gem::CommandManager.instance.register_command :release
14
- Gem::CommandManager.instance.register_command :tag
11
+ Gem::CommandManager.instance.register_command :bootstrap
12
+ Gem::CommandManager.instance.register_command :bump
13
+ Gem::CommandManager.instance.register_command :gemspec
14
+ Gem::CommandManager.instance.register_command :release
15
+ Gem::CommandManager.instance.register_command :tag
16
+ rescue LoadError
17
+ # Plugin is sometimes run even on projects without this gem specified as dependency
18
+ end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3.alpha1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Fuchs
8
8
  - Dan Gebhardt
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2021-05-31 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Release your ruby gems with ease. (What a bold statement for such a tiny
15
14
  plugin ...)
@@ -26,6 +25,7 @@ files:
26
25
  - README.md
27
26
  - README.md.erb
28
27
  - config.ru
28
+ - gem-release-2.2.2.gem
29
29
  - gem-release.gemspec
30
30
  - lib/gem/release.rb
31
31
  - lib/gem/release/cmds.rb
@@ -82,7 +82,6 @@ homepage: https://github.com/svenfuchs/gem-release
82
82
  licenses:
83
83
  - MIT
84
84
  metadata: {}
85
- post_install_message:
86
85
  rdoc_options: []
87
86
  require_paths:
88
87
  - lib
@@ -97,8 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
96
  - !ruby/object:Gem::Version
98
97
  version: '0'
99
98
  requirements: []
100
- rubygems_version: 3.2.18
101
- signing_key:
99
+ rubygems_version: 3.6.1
102
100
  specification_version: 4
103
101
  summary: Release your ruby gems with ease
104
102
  test_files: []