ws-style 2.0.0 → 3.0.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: 80bf145ffdf9b3a11d801062a7fef235ce913a2e66d2c3092358d7d9723e9f87
4
- data.tar.gz: 0da7d02bc4a13136c0370eb7559f54d54d96b2da676526ac4e9a8510582a1453
3
+ metadata.gz: 7f82736c68e74eb3c304384b10613029993d120a1a67a94b202f59022953ca9e
4
+ data.tar.gz: edb72e3ccfca5f07ac31e41ca671674d90bed0053f445bce8bbb0b72bc6b3680
5
5
  SHA512:
6
- metadata.gz: 53143b16d8c5e9434de64927aa8f1023e7a40133269b256de1a80ce8c11bab73154dadf35459330dc39dd8212a5f1ee5447145002294703f3088e7a437d689a3
7
- data.tar.gz: '0594b0683cf3298a030bdd598fbd3350c8e2e4c668ff3f6cc9f2179dc0b9362ee7f41c8c8c3468242648429e9c4dea1e93e69a7ada153a85d1861b50021f2eb1'
6
+ metadata.gz: 244d8ecfb9779a5522068bc2c1ba174ba93c6407f214c10ab29ed39987a387ffb13324fa16a1c107529bc8ae57c6608f277d139054553f8778b7e05fe650e1bd
7
+ data.tar.gz: f226dfc625a3c23b6c12ff5ac7cf136f4ef1d8e6ed35464cc994f6b6c85027879ab1ed10e13c86aedb0c92b6d8009ea5295dfa9f9d8dc75e78a4a7d7e246cb0d
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
+ ## 3.0.0 - 2019-02-26
8
+ ### Changed
9
+ - Added rubocop-rspec to enforce good rspec hygiene. https://wealthsimple.quip.com/ywj9AznUePvo/HOWTO-ws-style-10-Rubocop-Upgrade-guide
10
+
7
11
  ## 2.0.0 - 2019-02-12
8
12
  ### Changed
9
13
  - Use trailing dots for multiline chained method invocations. This prevents bugs when pasting Ruby snippets into REPLs.
data/README.md CHANGED
@@ -63,4 +63,6 @@ Style/HashSyntax:
63
63
 
64
64
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
65
65
 
66
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
66
+ To install this gem onto your local machine, run `bundle exec rake install`.
67
+
68
+ New versions are automatically released by CI when merged to `master`.
data/default.yml CHANGED
@@ -126,3 +126,6 @@ Rails/SkipsModelValidations:
126
126
 
127
127
  Rails/TimeZone:
128
128
  Enabled: false
129
+
130
+ require: rubocop-rspec
131
+
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '3.0.0'.freeze
4
4
  end
5
5
  end
data/ws-style.gemspec CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.require_paths = ['lib']
23
23
 
24
24
  s.add_dependency 'rubocop', '~> 0.64'
25
+ s.add_dependency 'rubocop-rspec', '~> 1.32'
25
26
 
26
27
  s.add_development_dependency 'bundler'
27
28
  s.add_development_dependency 'bundler-audit'
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: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-12 00:00:00.000000000 Z
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.64'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.32'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.32'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement