gem-release 2.1.1 → 2.2.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
2
  SHA256:
3
- metadata.gz: 13e7245de85b0a195a059fd967ca71e197e4ecb8d702dff78a8433c723e5eeb4
4
- data.tar.gz: 85ae522b405e4e6de2f48fef2570b1c4f6cec4285ec5e1d25fa0700aa75e7e9a
3
+ metadata.gz: df5f557db83497785b9b32c6c0c13220b7b7a8ec48b23fc5d368050faa07996a
4
+ data.tar.gz: bafa68971d2a88664d8f40dcba532dbecddf67fc4e513dd85c0cfc0dade2e758
5
5
  SHA512:
6
- metadata.gz: de94b0478b5b662637283017ab1697ddaf98dd90c13fe770fd22cd1a4b2d21d2880c0ba2ebf44028b985ab68d869f1baef18b33edc9eb37debdf0ad7288c48fe
7
- data.tar.gz: 644fcfb61875e06b4f2f84f939f6bd9521b454901a1715248a9a71575025ee893222fe6a63fefb185079c7a4eb506eeabdb6a023b4ee5f2fabda55b892281c22
6
+ metadata.gz: 325cf631c857c024f39b835c18ad9b1fa6ef9517f351ba7dab1fba0a3a577eecc1e184981d1fe7b42d19d0d63fb3d4503780a7d30333246c6dbe364b49c89838
7
+ data.tar.gz: 8097e8309baa8bebcb967a382cf731f6c9f229016b3c77aefa062249350613e671213425fd58e229bc05017ef88a58a01602a0d53d0dda99af5997fcaa325484
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.2.0 - 2020-10-12
4
+
5
+ ### Added
6
+
7
+ - Allow version bump to specific prerelease version number
8
+ (PR: https://github.com/svenfuchs/gem-release/pull/97)
9
+
3
10
  ## v2.1.1 - 2019-10-28
4
11
 
5
12
  ### Fixed
@@ -1,74 +1,78 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gem-release (2.1.1)
4
+ gem-release (2.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  addressable (2.7.0)
10
10
  public_suffix (>= 2.0.2, < 5.0)
11
- builder (3.2.3)
12
- coveralls (0.8.23)
13
- json (>= 1.8, < 3)
14
- simplecov (~> 0.16.1)
15
- term-ansicolor (~> 1.3)
16
- thor (>= 0.19.4, < 2.0)
17
- tins (~> 1.6)
18
- crack (0.4.3)
19
- safe_yaml (~> 1.0.0)
20
- diff-lcs (1.3)
11
+ builder (3.2.4)
12
+ coveralls (0.7.2)
13
+ multi_json (~> 1.3)
14
+ rest-client (= 1.6.7)
15
+ simplecov (>= 0.7)
16
+ term-ansicolor (= 1.2.2)
17
+ thor (= 0.18.1)
18
+ crack (0.4.4)
19
+ diff-lcs (1.4.4)
21
20
  docile (1.3.2)
22
- faraday (0.17.0)
21
+ faraday (1.0.1)
23
22
  multipart-post (>= 1.2, < 3)
24
- geminabox (1.1.1)
23
+ geminabox (1.2.0)
25
24
  builder
26
25
  faraday
27
26
  httpclient (>= 2.2.7)
28
27
  nesty
29
28
  reentrant_flock
30
29
  sinatra (>= 1.2.7)
31
- hashdiff (1.0.0)
30
+ hashdiff (1.0.1)
32
31
  httpclient (2.8.3)
33
- json (2.2.0)
32
+ mime-types (3.3.1)
33
+ mime-types-data (~> 3.2015)
34
+ mime-types-data (3.2020.0512)
35
+ multi_json (1.15.0)
34
36
  multipart-post (2.1.1)
35
- mustermann (1.0.3)
37
+ mustermann (1.1.1)
38
+ ruby2_keywords (~> 0.0.1)
36
39
  nesty (1.0.2)
37
- public_suffix (4.0.1)
38
- rack (2.0.7)
39
- rack-protection (2.0.7)
40
+ public_suffix (4.0.6)
41
+ rack (2.2.3)
42
+ rack-protection (2.1.0)
40
43
  rack
41
44
  reentrant_flock (0.1.1)
45
+ rest-client (1.6.7)
46
+ mime-types (>= 1.16)
42
47
  rspec (3.9.0)
43
48
  rspec-core (~> 3.9.0)
44
49
  rspec-expectations (~> 3.9.0)
45
50
  rspec-mocks (~> 3.9.0)
46
- rspec-core (3.9.0)
47
- rspec-support (~> 3.9.0)
48
- rspec-expectations (3.9.0)
51
+ rspec-core (3.9.3)
52
+ rspec-support (~> 3.9.3)
53
+ rspec-expectations (3.9.2)
49
54
  diff-lcs (>= 1.2.0, < 2.0)
50
55
  rspec-support (~> 3.9.0)
51
- rspec-mocks (3.9.0)
56
+ rspec-mocks (3.9.1)
52
57
  diff-lcs (>= 1.2.0, < 2.0)
53
58
  rspec-support (~> 3.9.0)
54
- rspec-support (3.9.0)
55
- safe_yaml (1.0.5)
56
- simplecov (0.16.1)
59
+ rspec-support (3.9.3)
60
+ ruby2_keywords (0.0.2)
61
+ simplecov (0.19.0)
57
62
  docile (~> 1.1)
58
- json (>= 1.8, < 3)
59
- simplecov-html (~> 0.10.0)
60
- simplecov-html (0.10.2)
61
- sinatra (2.0.7)
63
+ simplecov-html (~> 0.11)
64
+ simplecov-html (0.12.3)
65
+ sinatra (2.1.0)
62
66
  mustermann (~> 1.0)
63
- rack (~> 2.0)
64
- rack-protection (= 2.0.7)
67
+ rack (~> 2.2)
68
+ rack-protection (= 2.1.0)
65
69
  tilt (~> 2.0)
66
- term-ansicolor (1.7.1)
67
- tins (~> 1.0)
68
- thor (0.20.3)
70
+ term-ansicolor (1.2.2)
71
+ tins (~> 0.8)
72
+ thor (0.18.1)
69
73
  tilt (2.0.10)
70
- tins (1.21.1)
71
- webmock (3.7.6)
74
+ tins (0.13.2)
75
+ webmock (3.9.1)
72
76
  addressable (>= 2.3.6)
73
77
  crack (>= 0.3.2)
74
78
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -85,4 +89,4 @@ DEPENDENCIES
85
89
  webmock
86
90
 
87
91
  BUNDLED WITH
88
- 2.0.2
92
+ 2.1.4
data/README.md CHANGED
@@ -209,7 +209,7 @@ 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]
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]
213
213
  -c, --[no-]commit Create a commit after incrementing gem version (default: true)
214
214
  -m, --message Commit message template (default: Bump %{name} to %{version} %{skip_ci})
215
215
  --skip-ci Add the [skip ci] tag to the commit message
@@ -249,6 +249,7 @@ 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
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
252
253
  ```
253
254
 
254
255
  When searching for the version file for a gem named `gem-name`: the
@@ -312,6 +313,8 @@ gem_name - name of the gem (optional, will use the first gemspec, or all gemspec
312
313
  --recurse Recurse into directories that contain gemspec files
313
314
  --[no-]color
314
315
  --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.
315
318
  ```
316
319
 
317
320
  ### Description
@@ -0,0 +1,5 @@
1
+ require 'rubygems'
2
+ require 'geminabox'
3
+
4
+ Geminabox.data = '/tmp/geminabox/data'
5
+ run Geminabox::Server
@@ -0,0 +1,19 @@
1
+ # encoding: utf-8
2
+
3
+ $:.unshift File.expand_path('../lib', __FILE__)
4
+ require 'gem/release/version'
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = 'gem-release'
8
+ s.version = Gem::Release::VERSION
9
+ s.authors = ['Sven Fuchs', 'Dan Gebhardt']
10
+ s.email = ['me@svenfuchs.com']
11
+ s.homepage = 'https://github.com/svenfuchs/gem-release'
12
+ s.licenses = ['MIT']
13
+ s.summary = 'Release your ruby gems with ease'
14
+ s.description = 'Release your ruby gems with ease. (What a bold statement for such a tiny plugin ...)'
15
+
16
+ s.files = Dir.glob('{bin/*,lib/**/*,[A-Z]*}', File::FNM_DOTMATCH)
17
+ s.platform = Gem::Platform::RUBY
18
+ s.require_path = 'lib'
19
+ end
@@ -1,5 +1,5 @@
1
1
  module Gem
2
2
  module Release
3
- VERSION = '2.1.1'
3
+ VERSION = '2.2.0'
4
4
  end
5
5
  end
@@ -3,6 +3,7 @@ module Gem
3
3
  module Version
4
4
  class Number < Struct.new(:number, :target)
5
5
  NUMBER = /^(\d+)\.?(\d+)?\.?(\d+)?(\-|\.)?(\w+)?\.?(\d+)?$/
6
+ PRE_RELEASE = /^(\d+)\.(\d+)\.(\d+)\.?(.*)(\d+)$/
6
7
 
7
8
  STAGES = %i(alpha beta pre rc)
8
9
 
@@ -21,7 +22,7 @@ module Gem
21
22
  private
22
23
 
23
24
  def specific?
24
- target =~ NUMBER
25
+ target =~ NUMBER || target =~ PRE_RELEASE
25
26
  end
26
27
 
27
28
  def major
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Fuchs
8
8
  - Dan Gebhardt
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-10-28 00:00:00.000000000 Z
12
+ date: 2020-10-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Release your ruby gems with ease. (What a bold statement for such a tiny
15
15
  plugin ...)
@@ -25,6 +25,8 @@ files:
25
25
  - MIT-LICENSE.md
26
26
  - README.md
27
27
  - README.md.erb
28
+ - config.ru
29
+ - gem-release.gemspec
28
30
  - lib/gem/release.rb
29
31
  - lib/gem/release/cmds.rb
30
32
  - lib/gem/release/cmds/base.rb
@@ -80,7 +82,7 @@ homepage: https://github.com/svenfuchs/gem-release
80
82
  licenses:
81
83
  - MIT
82
84
  metadata: {}
83
- post_install_message:
85
+ post_install_message:
84
86
  rdoc_options: []
85
87
  require_paths:
86
88
  - lib
@@ -95,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
97
  - !ruby/object:Gem::Version
96
98
  version: '0'
97
99
  requirements: []
98
- rubygems_version: 3.0.6
99
- signing_key:
100
+ rubygems_version: 3.1.4
101
+ signing_key:
100
102
  specification_version: 4
101
103
  summary: Release your ruby gems with ease
102
104
  test_files: []