seri 2.0.8 → 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: 862768106324d4c7174c6a1178775d4debf8e6b6e611c82406515210b16b07d5
4
- data.tar.gz: 843403ca37d16307bcf89594787676d367551bfdf93e07ddb815ca34f232fa01
3
+ metadata.gz: 21692a40765d15a68264fc63021e2420de532ae1130604198e6f2fd0540794a7
4
+ data.tar.gz: 75dc989828cd1f7bccb08105eb306dcd6ee06c0d5c4a5d9f4d8056d2ae157cd7
5
5
  SHA512:
6
- metadata.gz: 8629f6a3bc42b6c5d24211198c0c841a00603a081187984f7961150c067417f12261c8d66f2961d788af3b2dbb105b668adc1dab3652e8ad06a399fcb44c8aa0
7
- data.tar.gz: 4c097e812250f085937d30adf51baed9eb6b8521b3694b6437d8f51c2aacd1f7b17ed5845c75c0eb55cee0a3c1cabac33cab2f5cb664a3c8225b1bb5e6473816
6
+ metadata.gz: 6067cf696db0660b2da6c94a77972114662c51d5d4f6da00dbc744d7fe071ef73745888976a9b3d77652edde2a065f7166b95a51b3a02c9669a1ca576476f831
7
+ data.tar.gz: efc43d97c9fe75f323dd619f66001ea88b242883fe714e3fd3d67c8d401513cf30ba9fa2aa5fbf620670f48b1682631897803e0f79ff53180a0e3c0bb832617b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seri (2.0.7)
4
+ seri (2.0.9)
5
5
  oj (~> 3.7)
6
6
 
7
7
  GEM
@@ -9,32 +9,32 @@ GEM
9
9
  specs:
10
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.10)
15
- parallel (1.20.1)
16
- parser (3.0.3.2)
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 (2.2.0)
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.1)
30
- rspec-support (~> 3.10.0)
31
- rspec-expectations (3.10.1)
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.2)
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.3)
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,8 +44,8 @@ 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 (1.4.1)
48
- parser (>= 2.7.1.5)
47
+ rubocop-ast (1.17.0)
48
+ parser (>= 3.1.1.0)
49
49
  ruby-progressbar (1.11.0)
50
50
  unicode-display_width (1.8.0)
51
51
 
@@ -61,4 +61,4 @@ DEPENDENCIES
61
61
  seri!
62
62
 
63
63
  BUNDLED WITH
64
- 2.2.26
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.8'.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.8
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-12-23 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