justools 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/VERSION +1 -1
- data/justools.gemspec +2 -2
- data/lib/justools/core_ext/array/args_and_opts.rb +6 -0
- data/lib/justools.rb +0 -3
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.2
|
data/justools.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "justools"
|
8
|
-
s.version = "1.2.
|
8
|
+
s.version = "1.2.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["caleon"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-02-07"
|
13
13
|
s.description = "Core extensions with lots of handy methods"
|
14
14
|
s.email = "caleon@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -1,5 +1,11 @@
|
|
1
1
|
require 'justools/core_ext/array/merge_options'
|
2
2
|
|
3
|
+
module Juscribe
|
4
|
+
ARGS_AND_OPTS_REGEXP = /^#{%w(arg(?:ument)?s opt(?:ion)?s).
|
5
|
+
zip(Array.new(2, "(?:_with_(\\w+))?")).
|
6
|
+
map(&:join) * '_and_'}!?$/
|
7
|
+
end
|
8
|
+
|
3
9
|
class Array
|
4
10
|
unless Array.instance_methods.include?(:rotate) # Was only patch for 1.8
|
5
11
|
def rotate
|
data/lib/justools.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: justools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.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:
|
12
|
+
date: 2013-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
segments:
|
141
141
|
- 0
|
142
|
-
hash:
|
142
|
+
hash: 451023112130127125
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
none: false
|
145
145
|
requirements:
|