ov 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/ov/version.rb +1 -1
- data/ov.gemspec +6 -6
- data/spec/fixtures/fixture_classes.rb +6 -6
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4095d58a1383095ab408a0c28db129a3af36cdc8ff06b54ed3b47be26c075dc1
|
4
|
+
data.tar.gz: 652595cb1a34d9e33ff280cf3a13e720fe9572a5b273375520c4ef50b81330d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0beaf66d68fe162b5b4af2baaba206384c8e9dfb2b7980a22c96f88fa608e653c142dbebcaa3bfca7c9d535bf92c480a66e89517a93512d7494d371534357c55
|
7
|
+
data.tar.gz: aedb7a9f183943c1c89fb089b39b37362e5e41f94e1ca54094b3285ecdfff6773b1c466f06780f7ac1de45a0b8d1dff1aeef05d92f42c8e69627e619f310963d
|
data/lib/ov/version.rb
CHANGED
data/ov.gemspec
CHANGED
@@ -6,11 +6,11 @@ require 'ov/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "ov"
|
8
8
|
spec.version = Ov::VERSION
|
9
|
-
spec.authors = ["
|
10
|
-
spec.email = ["
|
9
|
+
spec.authors = ["fntz"]
|
10
|
+
spec.email = ["mike.fch1@gmail.com"]
|
11
11
|
spec.description = %q{write overloaded methods for fun :)}
|
12
|
-
spec.summary = %q{ov gem
|
13
|
-
spec.homepage = "https://github.com/
|
12
|
+
spec.summary = %q{ov gem provide hacks for write multimemethods in Ruby.}
|
13
|
+
spec.homepage = "https://github.com/fntz/ov"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
-
spec.add_development_dependency "rake"
|
23
|
-
spec.add_development_dependency "rspec",
|
22
|
+
spec.add_development_dependency "rake", '~> 0'
|
23
|
+
spec.add_development_dependency "rspec", '~> 2.14', '>= 2.14.0'
|
24
24
|
end
|
@@ -10,7 +10,7 @@ class Test
|
|
10
10
|
str
|
11
11
|
end
|
12
12
|
|
13
|
-
let :my_instance_method,
|
13
|
+
let :my_instance_method, Integer do |fixnum|
|
14
14
|
my_instance_method([], my_instance_method("bar"))
|
15
15
|
end
|
16
16
|
end
|
@@ -22,7 +22,7 @@ class TestInitialize
|
|
22
22
|
str << "foo"
|
23
23
|
@arg = str
|
24
24
|
end
|
25
|
-
let :initialize,
|
25
|
+
let :initialize, Integer do |fx|
|
26
26
|
@arg = fx*100
|
27
27
|
end
|
28
28
|
end
|
@@ -30,7 +30,7 @@ end
|
|
30
30
|
|
31
31
|
class TestException
|
32
32
|
include Ov
|
33
|
-
let :some_method,
|
33
|
+
let :some_method, Integer do |fx|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
@@ -72,7 +72,7 @@ class TestSingletonClass
|
|
72
72
|
str
|
73
73
|
end
|
74
74
|
|
75
|
-
let :my_instance_method,
|
75
|
+
let :my_instance_method, Integer do |fixnum|
|
76
76
|
my_instance_method([], my_instance_method("bar"))
|
77
77
|
end
|
78
78
|
end
|
@@ -91,7 +91,7 @@ module TestModule
|
|
91
91
|
str
|
92
92
|
end
|
93
93
|
|
94
|
-
let :my_instance_method,
|
94
|
+
let :my_instance_method, Integer do |fixnum|
|
95
95
|
my_instance_method([], my_instance_method("bar"))
|
96
96
|
end
|
97
97
|
end
|
@@ -100,7 +100,7 @@ class ClassWithBlock
|
|
100
100
|
include Ov
|
101
101
|
|
102
102
|
|
103
|
-
let :test,
|
103
|
+
let :test, Integer do |num, block|
|
104
104
|
num + block.call
|
105
105
|
end
|
106
106
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- fntz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -43,6 +43,9 @@ dependencies:
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.14'
|
48
|
+
- - ">="
|
46
49
|
- !ruby/object:Gem::Version
|
47
50
|
version: 2.14.0
|
48
51
|
type: :development
|
@@ -50,11 +53,14 @@ dependencies:
|
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
55
|
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '2.14'
|
58
|
+
- - ">="
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: 2.14.0
|
55
61
|
description: write overloaded methods for fun :)
|
56
62
|
email:
|
57
|
-
-
|
63
|
+
- mike.fch1@gmail.com
|
58
64
|
executables: []
|
59
65
|
extensions: []
|
60
66
|
extra_rdoc_files: []
|
@@ -82,7 +88,7 @@ files:
|
|
82
88
|
- spec/fixtures/fixture_classes.rb
|
83
89
|
- spec/override_spec.rb
|
84
90
|
- spec/spec_helper.rb
|
85
|
-
homepage: https://github.com/
|
91
|
+
homepage: https://github.com/fntz/ov
|
86
92
|
licenses:
|
87
93
|
- MIT
|
88
94
|
metadata: {}
|
@@ -102,10 +108,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
108
|
version: '0'
|
103
109
|
requirements: []
|
104
110
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.7.6
|
106
112
|
signing_key:
|
107
113
|
specification_version: 4
|
108
|
-
summary: ov gem
|
114
|
+
summary: ov gem provide hacks for write multimemethods in Ruby.
|
109
115
|
test_files:
|
110
116
|
- spec/fixtures/ext_spec.rb
|
111
117
|
- spec/fixtures/fixture_classes.rb
|