transpec 1.11.0 → 1.11.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
  SHA1:
3
- metadata.gz: 2a58d3e3885da1a031fbcaded738c876e1a69ae7
4
- data.tar.gz: 408e608704f0245c39dbb42ea308c909174b13f9
3
+ metadata.gz: be81d8c6008e09a8dd02f276b7dd3b01155b28be
4
+ data.tar.gz: 06c16bc90a1ba3851bc4004f29aadb1daf736dd4
5
5
  SHA512:
6
- metadata.gz: 8950975c78264dfc28fccb498c9e669c3a69216f32f3d669148646d2d69858c0fd41919985a240c2660aba96f0686cdf05adf07bcfa469994117cf2329d674a5
7
- data.tar.gz: a33005b1b484f2e8dab7b9c18d07da52838c3db3876d2f8b2100974a553dd287dff8f36355392e7242da5ba5fa0ddc6471fe6dd9bb48cf2c17e42ab5dc75cfee
6
+ metadata.gz: f7cd465d319c14f360688e20e34c3cf8ce66b7f209d7cbd2f9b84397761d9ec44f39f0f78c19fa474af8509f0d894c54154f982dbc677d7ab6be1be5ec6c4478
7
+ data.tar.gz: 212dcc0282e32fc1a64a1887d3159635434cdfb48567a34a077c9c6712f578f277a4ab229e6c0a9e5ac569dbf51f7d308603d96ec31123d607bb18e0bc38ba71
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Development
4
4
 
5
+ ## v1.11.1
6
+
7
+ * Add missing description of `example_group` for `-v/--convert` option in the `-h/--help` text
8
+
5
9
  ## v1.11.0
6
10
 
7
11
  * Support conversion to non-monkey-patch example groups ([#22](https://github.com/yujinakayama/transpec/issues/22))
@@ -136,7 +136,7 @@ module Transpec
136
136
  'Keep specific syntaxes by disabling conversions.',
137
137
  'Conversion Types:',
138
138
  ' *should* (to `expect(obj).to`)',
139
- ' *oneliner* (from `it { should ... }` to `it { is_expected.to ... }`)',
139
+ ' *oneliner* (`it { should ... }` to `it { is_expected.to ... }`)',
140
140
  ' *should_receive* (to `expect(obj).to receive`)',
141
141
  ' *stub* (to `allow(obj).to receive`)',
142
142
  ' *have_items* (to `expect(collection.size).to eq(n)`)',
@@ -148,6 +148,7 @@ module Transpec
148
148
  '-v' => [
149
149
  'Enable specific conversions that are disabled by default.',
150
150
  'Conversion Types:',
151
+ ' *example_group* (`describe` to `RSpec.describe`)',
151
152
  ' *stub_with_hash* (`obj.stub(:msg => val)` to',
152
153
  ' `allow(obj).to receive(:msg).and_return(val)`)',
153
154
  'These conversions are disabled by default.'
@@ -5,7 +5,7 @@ module Transpec
5
5
  module Version
6
6
  MAJOR = 1
7
7
  MINOR = 11
8
- PATCH = 0
8
+ PATCH = 1
9
9
 
10
10
  def self.to_s
11
11
  [MAJOR, MINOR, PATCH].join('.')
@@ -32,7 +32,7 @@ class TranspecDemo < TranspecTest
32
32
  def run_demo(transpec_args = [])
33
33
  in_project_dir do
34
34
  with_clean_bundler_env do
35
- sh File.join(Transpec.root, 'bin', 'transpec'), '--force', '--convert-stub-with-hash'
35
+ sh File.join(Transpec.root, 'bin', 'transpec'), '--force', '--convert', 'stub_with_hash'
36
36
  sh 'bundle exec rspec'
37
37
  sh "git checkout --quiet -b #{DEMO_BRANCH}"
38
38
  sh 'git commit --all --file .git/COMMIT_EDITMSG'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transpec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuji Nakayama