justools 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.2.2
2
+
3
+ * Moving constant for regular expression to array/args_and_opts to allow each extension to be indepedently required
4
+
1
5
  == 1.2.0
2
6
 
3
7
  * Re-architecting for Jeweler compatibility
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
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.1"
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 = "2012-10-25"
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
@@ -1,7 +1,4 @@
1
1
  require 'justools/core_ext'
2
2
 
3
3
  module Justools
4
- ARGS_AND_OPTS_REGEXP = /^#{%w(arg(?:ument)?s opt(?:ion)?s).
5
- zip(Array.new(2, "(?:_with_(\\w+))?")).
6
- map(&:join) * '_and_'}!?$/
7
4
  end
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.1
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: 2012-10-25 00:00:00.000000000 Z
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: -2722346722178019927
142
+ hash: 451023112130127125
143
143
  required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  none: false
145
145
  requirements: