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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3d968ce9b2f81737fb89d9d5d1724e4d86d2bcd
4
- data.tar.gz: ad2fb0eee29e9de621c73a2e5d7709d8417c7278
3
+ metadata.gz: 950a7b75d0a94bf583479236db63901ac5497ea2
4
+ data.tar.gz: a6718b76e616240dfa9e6cc08497bb9dfd295fae
5
5
  SHA512:
6
- metadata.gz: 962205a48171d76ec5bcf0a07a22bdf21972de0d2e1b45b5c4b5cedcdb76edc1962de6ad019a63e7d5bc843e289678dcd9082b2567d936965fdf3ba252cda9a7
7
- data.tar.gz: efbcd8fd96296877cbd93d0fd95f55cb61208d46535828c64846bd3c36bd4ac91bb317bb7b05e47d3ab3265549b3c49ec27a52da3579f5c22744244cb14c2bc4
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
- h4�4��F/Z6�
2
- n���O女��"@66b��5����.�@k~�� x
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ʧ&�lL g��*fT�x��=��r"D �ep�gp�1����II�+�!�걸\�s��`�)
@@ -88,7 +88,7 @@ class ChronicBetween
88
88
  end
89
89
 
90
90
  # e.g. 3:45-5:15
91
- get %r{^(\d[\w:]*)-(\d[\w:]*)(?=\s*(daily|every day)?)} do
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:]*)-(\d[\w:]*)$} do
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:]*)-(\d[\w:]*)\s+(\w+)$} do
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+)-(\w+)$} do
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.21
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
- 8ixkARkWAmV1MB4XDTE0MD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CERTIFICATE-----
34
- date: 2014-02-22 00:00:00.000000000 Z
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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.1.11
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