seri 2.0.6 → 2.0.9

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: 8a775adddd637ad613ad798bbaa73de144254bf46ab1fe9aa12c761b92283423
4
- data.tar.gz: '089b766c83754fa0c4d2f11c739ad965abd453a70b3b5ed2a21ea0a0eba9ae6e'
3
+ metadata.gz: 21692a40765d15a68264fc63021e2420de532ae1130604198e6f2fd0540794a7
4
+ data.tar.gz: 75dc989828cd1f7bccb08105eb306dcd6ee06c0d5c4a5d9f4d8056d2ae157cd7
5
5
  SHA512:
6
- metadata.gz: 12daf63364847c273a782f99f9ea8f41538936613067b873880c966a03c02fe7e2d8fe68b0a2f5b8438d4c329ae2c49b805d85be8163b640a432589fe08a52ed
7
- data.tar.gz: 2d84cbf2e45a4b0126ba8de4902e8e940e3cbb94c0ccd3f818e3e1d9e21872ae08dfe891051804233a23774097e71f781c6c7c99c6e5fd696c36e36210875adc
6
+ metadata.gz: 6067cf696db0660b2da6c94a77972114662c51d5d4f6da00dbc744d7fe071ef73745888976a9b3d77652edde2a065f7166b95a51b3a02c9669a1ca576476f831
7
+ data.tar.gz: efc43d97c9fe75f323dd619f66001ea88b242883fe714e3fd3d67c8d401513cf30ba9fa2aa5fbf620670f48b1682631897803e0f79ff53180a0e3c0bb832617b
data/Gemfile.lock CHANGED
@@ -1,40 +1,40 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seri (2.0.6)
4
+ seri (2.0.9)
5
5
  oj (~> 3.7)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- ast (2.4.1)
10
+ ast (2.4.2)
11
11
  coderay (1.1.3)
12
- diff-lcs (1.4.4)
12
+ diff-lcs (1.5.0)
13
13
  method_source (1.0.0)
14
- oj (3.13.2)
15
- parallel (1.19.2)
16
- parser (2.7.2.0)
14
+ oj (3.13.11)
15
+ parallel (1.22.1)
16
+ parser (3.1.2.0)
17
17
  ast (~> 2.4.1)
18
18
  pry (0.14.1)
19
19
  coderay (~> 1.1)
20
20
  method_source (~> 1.0)
21
- rainbow (3.0.0)
21
+ rainbow (3.1.1)
22
22
  rake (13.0.6)
23
- regexp_parser (1.8.2)
23
+ regexp_parser (2.3.1)
24
24
  rexml (3.2.5)
25
- rspec (3.10.0)
26
- rspec-core (~> 3.10.0)
27
- rspec-expectations (~> 3.10.0)
28
- rspec-mocks (~> 3.10.0)
29
- rspec-core (3.10.0)
30
- rspec-support (~> 3.10.0)
31
- rspec-expectations (3.10.0)
25
+ rspec (3.11.0)
26
+ rspec-core (~> 3.11.0)
27
+ rspec-expectations (~> 3.11.0)
28
+ rspec-mocks (~> 3.11.0)
29
+ rspec-core (3.11.0)
30
+ rspec-support (~> 3.11.0)
31
+ rspec-expectations (3.11.0)
32
32
  diff-lcs (>= 1.2.0, < 2.0)
33
- rspec-support (~> 3.10.0)
34
- rspec-mocks (3.10.0)
33
+ rspec-support (~> 3.11.0)
34
+ rspec-mocks (3.11.1)
35
35
  diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.10.0)
37
- rspec-support (3.10.0)
36
+ rspec-support (~> 3.11.0)
37
+ rspec-support (3.11.0)
38
38
  rubocop (0.93.1)
39
39
  parallel (~> 1.10)
40
40
  parser (>= 2.7.1.5)
@@ -44,10 +44,10 @@ GEM
44
44
  rubocop-ast (>= 0.6.0)
45
45
  ruby-progressbar (~> 1.7)
46
46
  unicode-display_width (>= 1.4.0, < 2.0)
47
- rubocop-ast (0.8.0)
48
- parser (>= 2.7.1.5)
49
- ruby-progressbar (1.10.1)
50
- unicode-display_width (1.7.0)
47
+ rubocop-ast (1.17.0)
48
+ parser (>= 3.1.1.0)
49
+ ruby-progressbar (1.11.0)
50
+ unicode-display_width (1.8.0)
51
51
 
52
52
  PLATFORMS
53
53
  ruby
@@ -61,4 +61,4 @@ DEPENDENCIES
61
61
  seri!
62
62
 
63
63
  BUNDLED WITH
64
- 2.2.21
64
+ 2.3.10
data/create_release ADDED
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/env bash
2
+
3
+ if ! [ -x "$(command -v gh)" ]; then
4
+ echo "Requires gh, please install."
5
+ exit 1
6
+ fi
7
+
8
+ echo "> Updating local repository..."
9
+ git fetch
10
+
11
+ prev_release="$(git tag --sort=-creatordate | head -n 1)"
12
+ notes=$(git log --pretty="- %s" $prev_release...origin/master)
13
+
14
+ if [ -z "$notes" ]; then
15
+ echo "> There is nothing to release"
16
+ exit 1
17
+ fi
18
+
19
+ echo "> Changes since $prev_release:"
20
+ echo "$notes"
21
+ echo ""
22
+ echo "The previous version is $prev_release. Supply a new release version:"
23
+ read version
24
+
25
+ gh release create $version --title $version --notes "$notes"
@@ -1,5 +1,5 @@
1
1
  module Seri
2
2
  class Serializer
3
- VERSION = '2.0.6'.freeze
3
+ VERSION = '2.0.9'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seri
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - grdw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-26 00:00:00.000000000 Z
11
+ date: 2022-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -112,6 +112,7 @@ files:
112
112
  - LICENSE.txt
113
113
  - README.md
114
114
  - Rakefile
115
+ - create_release
115
116
  - lib/seri.rb
116
117
  - lib/serializer.rb
117
118
  - lib/serializer/group_serializer.rb
@@ -138,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
139
  - !ruby/object:Gem::Version
139
140
  version: '0'
140
141
  requirements: []
141
- rubygems_version: 3.2.3
142
+ rubygems_version: 3.2.22
142
143
  signing_key:
143
144
  specification_version: 4
144
145
  summary: A basic serializer