chronic_between 0.2.21 → 0.2.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -2
- data/lib/chronic_between.rb +4 -4
- metadata +35 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 950a7b75d0a94bf583479236db63901ac5497ea2
|
4
|
+
data.tar.gz: a6718b76e616240dfa9e6cc08497bb9dfd295fae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9a75d0cd6a1b4d457b0dacdd5cb9ce3ce3c78e8508e18f9ac6dda5538844366adcd9a404394398a5c33972b541684ac4592381302d49183dfd8f7e7ca27de15
|
7
|
+
data.tar.gz: da718dd72272028073d02764cf5048b4ef995de197d8ef1e956082bdeeabb6cfc90c94682988cf305b1d86f1b93d720cbb8698268e8c883f2277b88b0c30d1ed
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
n
|
1
|
+
S�I'm�;n�u�b�aj�6���� \H@��52�V� �WO�����q��[3��j���49b}�Jo}Xa�Zxnѓ}."��t���l�o�*�
|
2
|
+
5ua~��9�J1v���D�a�yJ����(�P�>>0�3d�z�!n�Jdε��b�A�����z���zN��1R�gʧ&�lLg��*fT�x��=��r"D �ep�gp�1����II�+�!�걸\�s��`�)
|
data/lib/chronic_between.rb
CHANGED
@@ -88,7 +88,7 @@ class ChronicBetween
|
|
88
88
|
end
|
89
89
|
|
90
90
|
# e.g. 3:45-5:15
|
91
|
-
get %r{^(\d[\w:]*)
|
91
|
+
get %r{^(\d[\w:]*)\s*-\s*(\d[\w:]*)(?=\s*(daily|every day)?)} do
|
92
92
|
t1, t2 = params[:captures]
|
93
93
|
time_range(date, t1, t2)
|
94
94
|
end
|
@@ -100,7 +100,7 @@ class ChronicBetween
|
|
100
100
|
end
|
101
101
|
|
102
102
|
# e.g. Mon 3:45-5:15
|
103
|
-
get %r{^(\w+)\s+(\d[\w:]*)
|
103
|
+
get %r{^(\w+)\s+(\d[\w:]*)\s*-\s*(\d[\w:]*)$} do
|
104
104
|
d1, t1, t2 = params[:captures]
|
105
105
|
cdatetime_range(date, d1, t1, t2)
|
106
106
|
end
|
@@ -112,7 +112,7 @@ class ChronicBetween
|
|
112
112
|
end
|
113
113
|
|
114
114
|
# e.g. 3:45-5:15 Mon
|
115
|
-
get %r{^(\d[\w:]*)
|
115
|
+
get %r{^(\d[\w:]*)\s*-\s*(\d[\w:]*)\s+(\w+)$} do
|
116
116
|
t1, t2, d1 = params[:captures]
|
117
117
|
cdatetime_range(date, d1, t1, t2)
|
118
118
|
end
|
@@ -124,7 +124,7 @@ class ChronicBetween
|
|
124
124
|
end
|
125
125
|
|
126
126
|
# e.g. Mon-Wed
|
127
|
-
get %r{^(\w+)
|
127
|
+
get %r{^(\w+)\s*-\s*(\w+)$} do
|
128
128
|
d1, d2 = params[:captures]
|
129
129
|
cdate2, n_days = latest_date_and_ndays(date, d1, d2)
|
130
130
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chronic_between
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,55 +12,67 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|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emUnYhnH6Zs0NaJnLejWILQvZoGZcFHrRDR6BA9+NjLkpmz7LZiV8D8R3Q9
|
29
|
+
rddYAZhRtpxgXLNIZE4AQUY9YrpW7sGyRv2njao3+FYiG35pqHGEkx9qUDLSSS2L
|
30
|
+
EDSn8uAeFdE75VoZvq77okQz6karc2J1l/LMMPyTQWhJJ2wFFCalxRP2eOnvJG6a
|
31
|
+
gYAnNN6964dJK3oesiLcjg63rKSzHdCi9lmJT2AI/4pipR9a+tLLdd5zDRr5nCsv
|
32
|
+
UYxJo7I155qFQQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2015-03-04 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: chronic
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.10'
|
40
43
|
- - ">="
|
41
44
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
45
|
+
version: 0.10.2
|
43
46
|
type: :runtime
|
44
47
|
prerelease: false
|
45
48
|
version_requirements: !ruby/object:Gem::Requirement
|
46
49
|
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0.10'
|
47
53
|
- - ">="
|
48
54
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
55
|
+
version: 0.10.2
|
50
56
|
- !ruby/object:Gem::Dependency
|
51
57
|
name: app-routes
|
52
58
|
requirement: !ruby/object:Gem::Requirement
|
53
59
|
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0.1'
|
54
63
|
- - ">="
|
55
64
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
65
|
+
version: 0.1.18
|
57
66
|
type: :runtime
|
58
67
|
prerelease: false
|
59
68
|
version_requirements: !ruby/object:Gem::Requirement
|
60
69
|
requirements:
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0.1'
|
61
73
|
- - ">="
|
62
74
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
75
|
+
version: 0.1.18
|
64
76
|
description:
|
65
77
|
email: james@r0bertson.co.uk
|
66
78
|
executables: []
|
@@ -80,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
92
|
requirements:
|
81
93
|
- - ">="
|
82
94
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
95
|
+
version: 2.1.2
|
84
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
97
|
requirements:
|
86
98
|
- - ">="
|
@@ -88,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
100
|
version: '0'
|
89
101
|
requirements: []
|
90
102
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.2.2
|
92
104
|
signing_key:
|
93
105
|
specification_version: 4
|
94
106
|
summary: chronic_between
|
metadata.gz.sig
CHANGED
Binary file
|