quarter_system 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
module Argumentation
|
2
|
+
REGES = { :with_method_name => '(?:_with_([a-z0-9]+(?:[a-z0-9]|_(?![_=\b]))*?))?',
|
3
|
+
:method_name => '([a-z0-9]+(?:[a-z0-9]|_(?![_=\b]))*?)',
|
4
|
+
:method_name_with_setter => '([a-z0-9]+(?:[a-z0-9]|_(?![_=\b]))*?)(=?)',
|
5
|
+
:method_name_without_capture => '(?:[a-z0-9]+(?:[a-z0-9]|_(?![_=\b]))*?)' }
|
5
6
|
|
6
|
-
# REGEX is the Regular Expression that is not anchored.
|
7
|
-
REGEX = Hash[*REGES.to_a.map do |arr|
|
8
|
-
[ arr[0],
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
end.flatten]
|
7
|
+
# REGEX is the Regular Expression that is not anchored.
|
8
|
+
REGEX = Hash[*REGES.to_a.map do |arr|
|
9
|
+
[ arr[0],
|
10
|
+
if arr[1].is_a?(Hash)
|
11
|
+
Hash[*arr[1].to_a.map { |key, reges| [ key, Regexp.new(reges, Regexp::IGNORECASE) ] }.flatten]
|
12
|
+
else
|
13
|
+
Regexp.new(arr[1], Regexp::IGNORECASE)
|
14
|
+
end ]
|
15
|
+
end.flatten]
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quarter_system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-11-16 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70219919533820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.1
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70219919533820
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: schrodinger
|
27
|
-
requirement: &
|
27
|
+
requirement: &70219919533320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.1.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70219919533320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sqlite3
|
38
|
-
requirement: &
|
38
|
+
requirement: &70219919532880 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70219919532880
|
47
47
|
description: Class Quarter for handling with the division of a calendar year into
|
48
48
|
an arbitrary grouping of quarters, by default, the US fiscal calendar.
|
49
49
|
email:
|