ov 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: 4095d58a1383095ab408a0c28db129a3af36cdc8ff06b54ed3b47be26c075dc1
4
- data.tar.gz: 652595cb1a34d9e33ff280cf3a13e720fe9572a5b273375520c4ef50b81330d8
3
+ metadata.gz: 3409748614eefe08f0fbe3b99b5b7f7ec3f71e03b81d037a2e44285ed584fce5
4
+ data.tar.gz: 2d3a4e8c16561931ec702abc89b961d0cb64d565fc94a798e774c30ef22201b7
5
5
  SHA512:
6
- metadata.gz: 0beaf66d68fe162b5b4af2baaba206384c8e9dfb2b7980a22c96f88fa608e653c142dbebcaa3bfca7c9d535bf92c480a66e89517a93512d7494d371534357c55
7
- data.tar.gz: aedb7a9f183943c1c89fb089b39b37362e5e41f94e1ca54094b3285ecdfff6773b1c466f06780f7ac1de45a0b8d1dff1aeef05d92f42c8e69627e619f310963d
6
+ metadata.gz: c7143608b15d4beb711e9dff8b06d6371a8f38b7d7045e34fc7839ee1f58b921ce9d65aeede5eecf82eaedf32d83f9409b8bad391cc8fa02d857039dcbf66a90
7
+ data.tar.gz: 5650ef3869f093be3666dd132c60c6b3f21bea990a31e9be128d13caea374dadfd64d5e0b04b66411df10d2ed6dbecd85a4ceba67a255c889165ffc1105fab80
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013-2014 fntzr
1
+ Copyright (c) 2013-2018 fntz
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ov
2
2
 
3
- Create a multimethods in Ruby
3
+ Create multimethods in Ruby
4
4
 
5
5
  ## Installation
6
6
 
@@ -17,7 +17,7 @@ Or install it yourself as:
17
17
  $ gem install ov
18
18
 
19
19
 
20
- ## Some examples:
20
+ ## A few examples:
21
21
 
22
22
  ```ruby
23
23
  require 'ov'
@@ -84,7 +84,7 @@ puts result
84
84
 
85
85
  ## Usage
86
86
 
87
- Firstly include `Ov` in you class
87
+ Firstly include `Ov` in your class
88
88
 
89
89
  ```ruby
90
90
  class MyClass
@@ -92,7 +92,7 @@ class MyClass
92
92
  end
93
93
  ```
94
94
 
95
- After define method with types:
95
+ After: define method with types:
96
96
 
97
97
  ```ruby
98
98
  class MyClass
@@ -217,7 +217,7 @@ end
217
217
 
218
218
  Examples
219
219
  --------
220
- see [link](https://github.com/fntzr/ov/blob/master/samples)
220
+ see [link](https://github.com/fntz/ov/blob/master/samples)
221
221
 
222
222
  ## TODO
223
223
 
@@ -226,13 +226,13 @@ see [link](https://github.com/fntzr/ov/blob/master/samples)
226
226
 
227
227
  ```ruby
228
228
  # multiple arguments
229
- let :test, Fixnum, [String] # signature: Fixnum, and others must be String
229
+ let :test, Integer, [String] # signature: Integer, and others must be String
230
230
 
231
231
  let :test, Multiple #any types
232
232
 
233
233
  let :test, :foo # Type must have :foo method
234
234
 
235
- let :test, Or[Fixnum, String] # work for String or Fixnum
235
+ let :test, Or[Integer, String] # work for String or Integer
236
236
 
237
237
  ```
238
238
 
data/Rakefile CHANGED
@@ -2,10 +2,6 @@ require "rubygems"
2
2
  require "rake"
3
3
  require "rspec/core/rake_task"
4
4
 
5
- desc "Run spec"
6
- RSpec::Core::RakeTask.new 'spec' do |t|
7
- t.verbose = false
8
- end
5
+ RSpec::Core::RakeTask.new(:spec)
9
6
 
10
- task :default => 'spec'
11
-
7
+ task :default => :spec
@@ -1,3 +1,3 @@
1
1
  module Ov
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/ov.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
22
- spec.add_development_dependency "rake", '~> 0'
21
+ spec.add_development_dependency "bundler", '~> 2.0'
22
+ spec.add_development_dependency "rake", '~> 12.3', '>= 12.3.3'
23
23
  spec.add_development_dependency "rspec", '~> 2.14', '>= 2.14.0'
24
24
  end
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - fntz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-24 00:00:00.000000000 Z
11
+ date: 2020-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '12.3'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 12.3.3
34
37
  type: :development
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
- version: '0'
43
+ version: '12.3'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 12.3.3
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rspec
43
49
  requirement: !ruby/object:Gem::Requirement