rspec-parameterized 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: b9bb7c728e9be30cccd124ebbd51d43efbcb0ea9
4
- data.tar.gz: 8a08fa1727c563a958827988c74fd3549493c7d2
3
+ metadata.gz: a4ec74624713209b381c818242bdc31bed08c769
4
+ data.tar.gz: a369308c5fa930c420763d32dbdc7d3f5e856002
5
5
  SHA512:
6
- metadata.gz: 69ce4c22c994ffb04ba2a843a55fa1072445f0641de800d36ad46624c056d2c47c4df5df43e3e2a54f7d6ace0b616443ef0b85c6360a950e60dd82768bf7e9f9
7
- data.tar.gz: 05237e124b01dd4c2c75e28f93d7db359442e451bc08efecd231ad4bd3f37f1dc2ac188fc21a2a9e93bdbd30dfe96c81ac76362ff5db757fcdfa861d55cafa3c
6
+ metadata.gz: 21671b32125d34ef3efb84f11bbdb4a4a0f501f110c367e0b56b8999fa70254d7cd6dab31b33d0ac8ae485a2e7bcbbdb6345e262787cccc258c27940949799bb
7
+ data.tar.gz: 2142247c46e8093a87bfab1deb178185952be853068e7503c35861c990123dad2816a5eccaf6bc3698bec93ba443653b90ec1ce68698423fc020d1efec799a78
data/.travis.yml CHANGED
@@ -4,6 +4,7 @@ sudo: false
4
4
  rvm:
5
5
  - 2.2
6
6
  - 2.3.0
7
+ - 2.4.0
7
8
  - ruby-head
8
9
 
9
10
  gemfile:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Change Log
2
2
 
3
+ ## [Unreleased](https://github.com/tomykaira/rspec-parameterized/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.3.1...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Add rubygems version badge [\#38](https://github.com/tomykaira/rspec-parameterized/pull/38) ([sue445](https://github.com/sue445))
10
+
11
+ ## [v0.3.1](https://github.com/tomykaira/rspec-parameterized/tree/v0.3.1) (2016-08-17)
12
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.3.0...v0.3.1)
13
+
14
+ **Closed issues:**
15
+
16
+ - Support "||" syntax [\#34](https://github.com/tomykaira/rspec-parameterized/issues/34)
17
+
18
+ **Merged pull requests:**
19
+
20
+ - Set the caller of `.with\_them` to metadata of ExampleGroup [\#37](https://github.com/tomykaira/rspec-parameterized/pull/37) ([nalabjp](https://github.com/nalabjp))
21
+ - Add homepage url in gemspec [\#33](https://github.com/tomykaira/rspec-parameterized/pull/33) ([sue445](https://github.com/sue445))
22
+ - Tweak travis setting [\#32](https://github.com/tomykaira/rspec-parameterized/pull/32) ([sue445](https://github.com/sue445))
23
+ - Generate CHANGELOG [\#31](https://github.com/tomykaira/rspec-parameterized/pull/31) ([sue445](https://github.com/sue445))
24
+
3
25
  ## [v0.3.0](https://github.com/tomykaira/rspec-parameterized/tree/v0.3.0) (2016-02-22)
4
26
  [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v0.2.0...v0.3.0)
5
27
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RSpec::Parameterized [![Build Status](https://travis-ci.org/tomykaira/rspec-parameterized.svg)](https://travis-ci.org/tomykaira/rspec-parameterized)
1
+ # RSpec::Parameterized [![Gem Version](https://badge.fury.io/rb/rspec-parameterized.svg)](https://badge.fury.io/rb/rspec-parameterized) [![Build Status](https://travis-ci.org/tomykaira/rspec-parameterized.svg)](https://travis-ci.org/tomykaira/rspec-parameterized)
2
2
 
3
3
  Support simple parameterized test syntax in rspec.
4
4
 
@@ -27,12 +27,18 @@ module RSpec
27
27
  include TableSyntaxImplement
28
28
  end
29
29
 
30
- refine Fixnum do
31
- include TableSyntaxImplement
32
- end
30
+ if Gem::Version.create(RUBY_VERSION) >= Gem::Version.create("2.4.0")
31
+ refine Integer do
32
+ include TableSyntaxImplement
33
+ end
34
+ else
35
+ refine Fixnum do
36
+ include TableSyntaxImplement
37
+ end
33
38
 
34
- refine Bignum do
35
- include TableSyntaxImplement
39
+ refine Bignum do
40
+ include TableSyntaxImplement
41
+ end
36
42
  end
37
43
 
38
44
  refine Array do
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Parameterized
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
@@ -14,7 +14,7 @@ I was inspired by [udzura's mock](https://gist.github.com/1881139).}
14
14
  gem.add_dependency('unparser')
15
15
  gem.add_dependency('proc_to_ast')
16
16
  gem.add_dependency('binding_of_caller')
17
- gem.add_development_dependency('rake')
17
+ gem.add_development_dependency('rake', '< 12.0.0')
18
18
 
19
19
  gem.files = `git ls-files`.split($\)
20
20
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -74,6 +74,7 @@ describe RSpec::Parameterized do
74
74
  1 | 2 | 3
75
75
  "hello " | "world" | "hello world"
76
76
  [1, 2, 3] | [4, 5, 6] | [1, 2, 3, 4, 5, 6]
77
+ 100000000000000000000 | 100000000000000000000 | 200000000000000000000
77
78
  end
78
79
 
79
80
  with_them do
@@ -90,6 +91,7 @@ describe RSpec::Parameterized do
90
91
  1 | 2 | -> { eq(3) }
91
92
  "hello " | "world" | -> { eq("hello world") }
92
93
  [1, 2, 3] | [4, 5, 6] | -> { be_a(Array) }
94
+ 100000000000000000000 | 100000000000000000000 | -> { eq(200000000000000000000) }
93
95
  end
94
96
 
95
97
  with_them do
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.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tomykaira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-17 00:00:00.000000000 Z
11
+ date: 2016-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -90,16 +90,16 @@ dependencies:
90
90
  name: rake
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">="
93
+ - - "<"
94
94
  - !ruby/object:Gem::Version
95
- version: '0'
95
+ version: 12.0.0
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ">="
100
+ - - "<"
101
101
  - !ruby/object:Gem::Version
102
- version: '0'
102
+ version: 12.0.0
103
103
  description: RSpec::Parameterized supports simple parameterized test syntax in rspec.
104
104
  email:
105
105
  - tomykaira@gmail.com
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.6.4
148
+ rubygems_version: 2.6.8
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: RSpec::Parameterized supports simple parameterized test syntax in rspec.