ws-style 6.9.0 → 6.9.1

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: 5c3052065b3051c117f5c7b7c61595251dcf7f8a570a2466b6e49cdba05576f5
4
- data.tar.gz: 56ccc78ce8d6eef314dc82a08a979de0f7bf60d43edb5fcd5b9dd467399e42f9
3
+ metadata.gz: 1534b8c72fed6c2716b540649f4545d259d2303d0a2856b627164a987d41c689
4
+ data.tar.gz: 1322e12769f39ef63f623dbf27034562a4b066862dca6e1425dbdf74eeb2e76e
5
5
  SHA512:
6
- metadata.gz: 76d5a74efb8384b113edfe82577dc2297b63ce6e2082e1bc6d2ac707a02f5cbf3f8fbc2734de39e42645db57ea1545994a091e1446f1eb8de9458c3caa545b97
7
- data.tar.gz: b48a8e1f03c3bc0a6079177ce0cd81593d6bfa9bd9f68257fe43c5924eb0e6fbc9cc1f85e4d8866db96cfb7eaa282be2bbccd9a3b0fe165ec8916de2f5ef5d2a
6
+ metadata.gz: f99397106605ef6dff276d0fe650b9fb3bd5a9edd32dd5823919033a847c975b6df5500f6dca9ee9b339e660ae78f926e696f684d7e3e07d789f9265937b95f6
7
+ data.tar.gz: 176c0bcca798e5944a109b1b2b1597933cf4d1dc6ee930be52c8c4fc7945f705590f079078e2417c7b869e507375c745ad9415087e572dfc30080578901acd5c
@@ -12,8 +12,9 @@ jobs:
12
12
  ref: ${{ github.event.pull_request.head.sha }}
13
13
  - uses: ruby/setup-ruby@v1
14
14
  with:
15
- ruby-version: 2.7.2
16
15
  bundler-cache: true
16
+ - name: Fetch main branch
17
+ run: git fetch origin main
17
18
  - uses: r7kamura/rubocop-problem-matchers-action@v1
18
19
  - uses: wealthsimple/toolbox-script@main
19
20
  name: RuboCop
@@ -22,7 +23,7 @@ jobs:
22
23
  - name: Run rspec
23
24
  run: bundle exec rspec
24
25
  - name: Release the gem
25
- if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' }}
26
+ if: ${{ github.ref == 'refs/heads/main' }}
26
27
  run: |
27
28
  mkdir -p ~/.gem
28
29
  cat << EOF > ~/.gem/credentials
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 6.9.1 - 2021-05-06
8
+ - Migrate CI from CircleCI to GitHub Actions
9
+ - Change default GitHub branch to `main`
10
+
7
11
  ## 6.9.0 - 2021-04-06
8
12
  - Upgraded rubocop to 1.12.1
9
13
  - Upgraded rubocop-performance to 1.10.2
data/Gemfile.lock ADDED
@@ -0,0 +1,100 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ws-style (6.9.1)
5
+ rubocop (>= 1.12.1)
6
+ rubocop-performance (>= 1.10.2)
7
+ rubocop-rails (>= 2.9.1)
8
+ rubocop-rspec (>= 2.2.0)
9
+ rubocop-vendor (>= 0.6.0)
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ activesupport (6.1.3.2)
15
+ concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ i18n (>= 1.6, < 2)
17
+ minitest (>= 5.1)
18
+ tzinfo (~> 2.0)
19
+ zeitwerk (~> 2.3)
20
+ ast (2.4.2)
21
+ bundler-audit (0.7.0.1)
22
+ bundler (>= 1.2.0, < 3)
23
+ thor (>= 0.18, < 2)
24
+ concurrent-ruby (1.1.8)
25
+ diff-lcs (1.4.4)
26
+ git (1.8.1)
27
+ rchardet (~> 1.8)
28
+ i18n (1.8.10)
29
+ concurrent-ruby (~> 1.0)
30
+ json (2.5.1)
31
+ keepachangelog (0.6.1)
32
+ json (~> 2.1)
33
+ thor (~> 0.20)
34
+ minitest (5.14.4)
35
+ parallel (1.20.1)
36
+ parser (3.0.1.1)
37
+ ast (~> 2.4.1)
38
+ rack (2.2.3)
39
+ rainbow (3.0.0)
40
+ rake (13.0.3)
41
+ rchardet (1.8.0)
42
+ regexp_parser (2.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)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.10.0)
53
+ rspec-mocks (3.10.2)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.10.0)
56
+ rspec-support (3.10.2)
57
+ rubocop (1.14.0)
58
+ parallel (~> 1.10)
59
+ parser (>= 3.0.0.0)
60
+ rainbow (>= 2.2.2, < 4.0)
61
+ regexp_parser (>= 1.8, < 3.0)
62
+ rexml
63
+ rubocop-ast (>= 1.5.0, < 2.0)
64
+ ruby-progressbar (~> 1.7)
65
+ unicode-display_width (>= 1.4.0, < 3.0)
66
+ rubocop-ast (1.5.0)
67
+ parser (>= 3.0.1.1)
68
+ rubocop-performance (1.11.3)
69
+ rubocop (>= 1.7.0, < 2.0)
70
+ rubocop-ast (>= 0.4.0)
71
+ rubocop-rails (2.10.1)
72
+ activesupport (>= 4.2.0)
73
+ rack (>= 1.1)
74
+ rubocop (>= 1.7.0, < 2.0)
75
+ rubocop-rspec (2.3.0)
76
+ rubocop (~> 1.0)
77
+ rubocop-ast (>= 1.1.0)
78
+ rubocop-vendor (0.6.0)
79
+ rubocop (>= 0.53.0)
80
+ ruby-progressbar (1.11.0)
81
+ thor (0.20.3)
82
+ tzinfo (2.0.4)
83
+ concurrent-ruby (~> 1.0)
84
+ unicode-display_width (2.0.0)
85
+ zeitwerk (2.4.2)
86
+
87
+ PLATFORMS
88
+ ruby
89
+
90
+ DEPENDENCIES
91
+ bundler
92
+ bundler-audit
93
+ git
94
+ keepachangelog
95
+ rake
96
+ rspec (~> 3.10.0)
97
+ ws-style!
98
+
99
+ BUNDLED WITH
100
+ 2.2.16
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- # ws-style [![CircleCI](https://circleci.com/gh/wealthsimple/ws-style.svg?style=svg)](https://circleci.com/gh/wealthsimple/ws-style) [![Gem Version](https://badge.fury.io/rb/ws-style.svg)](https://rubygems.org/gems/ws-style)
1
+ # ws-style
2
+ [![Github Actions Badge](https://github.com/wealthsimple/ws-style/actions/workflows/pipeline.yml/badge.svg)](https://github.com/wealthsimple/ws-style/actions)
2
3
 
3
4
  Shared [rubocop](https://github.com/bbatsov/rubocop) config to enforce Ruby style consistently across Wealthsimple libraries and services.
4
5
 
@@ -73,4 +74,4 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
73
74
 
74
75
  To install this gem onto your local machine, run `bundle exec rake install`.
75
76
 
76
- New versions are automatically released by CI when merged to `master`.
77
+ New versions are automatically released by CI when merged to `main`.
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '6.9.0'.freeze
3
+ VERSION = '6.9.1'.freeze
4
4
  end
5
5
  end
data/ws-style.gemspec CHANGED
@@ -30,6 +30,8 @@ Gem::Specification.new do |s|
30
30
 
31
31
  s.add_development_dependency 'bundler'
32
32
  s.add_development_dependency 'bundler-audit'
33
+ s.add_development_dependency 'git'
34
+ s.add_development_dependency 'keepachangelog'
33
35
  s.add_development_dependency 'rake'
34
36
  s.add_development_dependency 'rspec', '~> 3.10.0'
35
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ws-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.9.0
4
+ version: 6.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-07 00:00:00.000000000 Z
11
+ date: 2021-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -108,6 +108,34 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: git
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: keepachangelog
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: rake
113
141
  requirement: !ruby/object:Gem::Requirement
@@ -153,6 +181,7 @@ files:
153
181
  - ".ruby-version"
154
182
  - CHANGELOG.md
155
183
  - Gemfile
184
+ - Gemfile.lock
156
185
  - README.md
157
186
  - Rakefile
158
187
  - bin/console