ruby_array_find_consecutive 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/ruby_array_find_consecutive.gemspec +2 -2
- metadata +3 -3
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
##
|
1
|
+
## C extension for Ruby: Array#find_consecutive
|
2
2
|
|
3
3
|
### Description
|
4
4
|
|
5
|
-
`Array#find_consecutive` is a
|
5
|
+
`Array#find_consecutive` is a C extension for Ruby. It returns an array of non-overlapping arrays of consecutive numbers for `self` for a given interval. If no interval argument is provided the default is 1. That's a mouthful, so perhaps an example will help.
|
6
6
|
|
7
7
|
### Usage
|
8
8
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'ruby_array_find_consecutive'
|
3
|
-
gem.version = '0.0.
|
3
|
+
gem.version = '0.0.2'
|
4
4
|
gem.authors = ['Richard Calahan']
|
5
5
|
gem.email = ['richard@calahan.me']
|
6
6
|
gem.description = 'Provides a C level extension to Ruby, Array#find_consecutive'
|
7
7
|
gem.summary = 'Array#find_consecutive implementation'
|
8
|
-
gem.homepage = ''
|
8
|
+
gem.homepage = 'https://github.com/richardcalahan/ruby_array_find_consecutive'
|
9
9
|
gem.files = `git ls-files`.split($/)
|
10
10
|
gem.extensions = ['ext/ruby_array_find_consecutive/extconf.rb']
|
11
11
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_array_find_consecutive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -80,7 +80,7 @@ files:
|
|
80
80
|
- ruby_array_find_consecutive.gemspec
|
81
81
|
- spec/ruby_array_consecutive_spec.rb
|
82
82
|
- spec/spec_helper.rb
|
83
|
-
homepage:
|
83
|
+
homepage: https://github.com/richardcalahan/ruby_array_find_consecutive
|
84
84
|
licenses: []
|
85
85
|
post_install_message:
|
86
86
|
rdoc_options: []
|