rspec-parameterized 0.3.0 → 0.3.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: 5b1e47f21d0fa2e6268bb78df5922518f9adb747
4
- data.tar.gz: 8897c535ddd9f8fec343989981e1939c43b32ddf
3
+ metadata.gz: b9bb7c728e9be30cccd124ebbd51d43efbcb0ea9
4
+ data.tar.gz: 8a08fa1727c563a958827988c74fd3549493c7d2
5
5
  SHA512:
6
- metadata.gz: febab443a471a5a06141f9b3d995c68d19d62ac9eabc3a892114f777910f5bcf9403153c1cf4ac6d80b22b23c7feb091ada7fb3d004d8fd99c3997ef33a3a140
7
- data.tar.gz: 4fdb021af367becb415dfa560b530a34b8003c774b40c9fe75728c1d2ee3a0959b3cfddb2ab872ec1a46f220762fcf27a9bab9926dcd0fe35afa65549711a7a8
6
+ metadata.gz: 69ce4c22c994ffb04ba2a843a55fa1072445f0641de800d36ad46624c056d2c47c4df5df43e3e2a54f7d6ace0b616443ef0b85c6360a950e60dd82768bf7e9f9
7
+ data.tar.gz: 05237e124b01dd4c2c75e28f93d7db359442e451bc08efecd231ad4bd3f37f1dc2ac188fc21a2a9e93bdbd30dfe96c81ac76362ff5db757fcdfa861d55cafa3c
@@ -1,9 +1,16 @@
1
+ language: ruby
2
+ cache: bundler
1
3
  sudo: false
2
4
  rvm:
3
5
  - 2.2
4
6
  - 2.3.0
7
+ - ruby-head
5
8
 
6
9
  gemfile:
7
10
  - gemfiles/rspec2.gemfile
8
11
  - gemfiles/rspec3.3.gemfile
9
12
  - gemfiles/rspec3.4.gemfile
13
+
14
+ matrix:
15
+ allow_failures:
16
+ - rvm: ruby-head
@@ -0,0 +1,119 @@
1
+ # Change Log
2
+
3
+ ## [v0.3.0](https://github.com/tomykaira/rspec-parameterized/tree/v0.3.0) (2016-02-22)
4
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.2.0...v0.3.0)
5
+
6
+ **Closed issues:**
7
+
8
+ - Usage of variables in testcase name [\#27](https://github.com/tomykaira/rspec-parameterized/issues/27)
9
+ - Remove `where\_table` method, when release next version [\#24](https://github.com/tomykaira/rspec-parameterized/issues/24)
10
+ - Release v0.2.0 [\#23](https://github.com/tomykaira/rspec-parameterized/issues/23)
11
+ - UTF-8 is converted to ASCII8BIT through sourcify [\#5](https://github.com/tomykaira/rspec-parameterized/issues/5)
12
+ - where\_table does not work with proc [\#4](https://github.com/tomykaira/rspec-parameterized/issues/4)
13
+
14
+ **Merged pull requests:**
15
+
16
+ - Enable to browse parameter values in with\_them block [\#30](https://github.com/tomykaira/rspec-parameterized/pull/30) ([joker1007](https://github.com/joker1007))
17
+ - Remove unnecessary methods [\#29](https://github.com/tomykaira/rspec-parameterized/pull/29) ([joker1007](https://github.com/joker1007))
18
+ - Remove `where\_table` [\#28](https://github.com/tomykaira/rspec-parameterized/pull/28) ([joker1007](https://github.com/joker1007))
19
+
20
+ ## [v0.2.0](https://github.com/tomykaira/rspec-parameterized/tree/v0.2.0) (2015-09-17)
21
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.1.3...v0.2.0)
22
+
23
+ **Merged pull requests:**
24
+
25
+ - allow hash arguments [\#22](https://github.com/tomykaira/rspec-parameterized/pull/22) ([takkanm](https://github.com/takkanm))
26
+ - Update README to use expect syntax. [\#21](https://github.com/tomykaira/rspec-parameterized/pull/21) ([JunichiIto](https://github.com/JunichiIto))
27
+
28
+ ## [v0.1.3](https://github.com/tomykaira/rspec-parameterized/tree/v0.1.3) (2015-02-13)
29
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.1.2...v0.1.3)
30
+
31
+ **Closed issues:**
32
+
33
+ - rspec-parameterized-0.1.1.gem is broken [\#18](https://github.com/tomykaira/rspec-parameterized/issues/18)
34
+
35
+ **Merged pull requests:**
36
+
37
+ - Accept nil/boolean for 1st column [\#20](https://github.com/tomykaira/rspec-parameterized/pull/20) ([ryonext](https://github.com/ryonext))
38
+ - Update travis config [\#19](https://github.com/tomykaira/rspec-parameterized/pull/19) ([joker1007](https://github.com/joker1007))
39
+
40
+ ## [v0.1.2](https://github.com/tomykaira/rspec-parameterized/tree/v0.1.2) (2014-09-04)
41
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.1.1...v0.1.2)
42
+
43
+ **Merged pull requests:**
44
+
45
+ - Remove trailing '\>' character from TableSyntax [\#17](https://github.com/tomykaira/rspec-parameterized/pull/17) ([joker1007](https://github.com/joker1007))
46
+ - \[Suggest\] Where table syntax by Refinement [\#16](https://github.com/tomykaira/rspec-parameterized/pull/16) ([joker1007](https://github.com/joker1007))
47
+
48
+ ## [v0.1.1](https://github.com/tomykaira/rspec-parameterized/tree/v0.1.1) (2014-05-16)
49
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.1.0...v0.1.1)
50
+
51
+ **Merged pull requests:**
52
+
53
+ - Support RSpec3 [\#15](https://github.com/tomykaira/rspec-parameterized/pull/15) ([joker1007](https://github.com/joker1007))
54
+
55
+ ## [v0.1.0](https://github.com/tomykaira/rspec-parameterized/tree/v0.1.0) (2014-04-06)
56
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.9...v0.1.0)
57
+
58
+ **Merged pull requests:**
59
+
60
+ - Fix AST manipulation, for remove sourcify [\#14](https://github.com/tomykaira/rspec-parameterized/pull/14) ([joker1007](https://github.com/joker1007))
61
+ - Clear "already initialized constant Regexp::ENC\_XXX" warnings. [\#13](https://github.com/tomykaira/rspec-parameterized/pull/13) ([saturday06](https://github.com/saturday06))
62
+
63
+ ## [v0.0.9](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.9) (2013-07-29)
64
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.8...v0.0.9)
65
+
66
+ **Merged pull requests:**
67
+
68
+ - Update rspec to v2.14 [\#12](https://github.com/tomykaira/rspec-parameterized/pull/12) ([joker1007](https://github.com/joker1007))
69
+
70
+ ## [v0.0.8](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.8) (2013-05-16)
71
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.7...v0.0.8)
72
+
73
+ **Closed issues:**
74
+
75
+ - Please support rspec-rails 2.12 [\#9](https://github.com/tomykaira/rspec-parameterized/issues/9)
76
+
77
+ **Merged pull requests:**
78
+
79
+ - rspec: 2.12.0 -\> 2.13.0 [\#10](https://github.com/tomykaira/rspec-parameterized/pull/10) ([sue445](https://github.com/sue445))
80
+
81
+ ## [v0.0.7](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.7) (2012-11-13)
82
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.6...v0.0.7)
83
+
84
+ ## [v0.0.6](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.6) (2012-09-24)
85
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.5...v0.0.6)
86
+
87
+ **Merged pull requests:**
88
+
89
+ - Fix where scope, in order to use let method and matcher in where blocks [\#7](https://github.com/tomykaira/rspec-parameterized/pull/7) ([joker1007](https://github.com/joker1007))
90
+
91
+ ## [v0.0.5](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.5) (2012-08-22)
92
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.4...v0.0.5)
93
+
94
+ ## [v0.0.4](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.4) (2012-08-20)
95
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.3...v0.0.4)
96
+
97
+ **Merged pull requests:**
98
+
99
+ - Update to rspec 2.11.0 [\#6](https://github.com/tomykaira/rspec-parameterized/pull/6) ([mfolnovic](https://github.com/mfolnovic))
100
+
101
+ ## [v0.0.3](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.3) (2012-05-24)
102
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.2...v0.0.3)
103
+
104
+ **Closed issues:**
105
+
106
+ - Where cannot be after with\_them [\#1](https://github.com/tomykaira/rspec-parameterized/issues/1)
107
+
108
+ **Merged pull requests:**
109
+
110
+ - fix params.inspect for document format. use Hash and Proc soucify. [\#3](https://github.com/tomykaira/rspec-parameterized/pull/3) ([joker1007](https://github.com/joker1007))
111
+ - fix where\_table method comment. method name was "where". [\#2](https://github.com/tomykaira/rspec-parameterized/pull/2) ([joker1007](https://github.com/joker1007))
112
+
113
+ ## [v0.0.2](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.2) (2012-05-22)
114
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.0.1...v0.0.2)
115
+
116
+ ## [v0.0.1](https://github.com/tomykaira/rspec-parameterized/tree/v0.0.1) (2012-05-20)
117
+
118
+
119
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -62,6 +62,10 @@ module RSpec
62
62
  # end
63
63
  #
64
64
  def with_them(*args, &b)
65
+ opts = args.last.is_a?(Hash) ? args.pop : {}
66
+ opts[:caller] = caller unless opts[:caller]
67
+ args.push(opts)
68
+
65
69
  if @parameter.nil?
66
70
  @parameterized_pending_cases ||= []
67
71
  @parameterized_pending_cases << [args, b]
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Parameterized
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.description = %q{RSpec::Parameterized supports simple parameterized test syntax in rspec.}
8
8
  gem.summary = %q{RSpec::Parameterized supports simple parameterized test syntax in rspec.
9
9
  I was inspired by [udzura's mock](https://gist.github.com/1881139).}
10
- gem.homepage = ""
10
+ gem.homepage = "https://github.com/tomykaira/rspec-parameterized"
11
11
 
12
12
  gem.add_dependency('rspec', '>= 2.13', '< 4')
13
13
  gem.add_dependency('parser')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-parameterized
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tomykaira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-22 00:00:00.000000000 Z
11
+ date: 2016-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -110,6 +110,7 @@ files:
110
110
  - ".gitignore"
111
111
  - ".rspec"
112
112
  - ".travis.yml"
113
+ - CHANGELOG.md
113
114
  - Gemfile
114
115
  - LICENSE
115
116
  - README.md
@@ -125,7 +126,7 @@ files:
125
126
  - rspec-parameterized.gemspec
126
127
  - spec/parametarized_spec.rb
127
128
  - spec/spec_helper.rb
128
- homepage: ''
129
+ homepage: https://github.com/tomykaira/rspec-parameterized
129
130
  licenses: []
130
131
  metadata: {}
131
132
  post_install_message:
@@ -144,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
145
  version: '0'
145
146
  requirements: []
146
147
  rubyforge_project:
147
- rubygems_version: 2.5.1
148
+ rubygems_version: 2.6.4
148
149
  signing_key:
149
150
  specification_version: 4
150
151
  summary: RSpec::Parameterized supports simple parameterized test syntax in rspec.