event_nlp 0.6.5 → 0.6.6

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
  SHA256:
3
- metadata.gz: 7b1e6f2d72c19b4eb44412c8ffdb4e9f4ec608e19007399c705b59d7d1c5a75b
4
- data.tar.gz: '098c42a759bf88789275945a35da5c3e2a970b89f8a52d59c0d122c859c30e91'
3
+ metadata.gz: a841e6980bb14291c3a224491b761e57f6966260c3b11e6e8a78eb121c37220b
4
+ data.tar.gz: 9d7686cde4d18d14bfb9b35d29ae2a268423c396c4decb6a5bf4c8e9541df8a1
5
5
  SHA512:
6
- metadata.gz: 1445fe116865cfe527862e13d0cb0f71c8bf3be774f81382db98c276df3d3ea98a94c97c998eb443544a0b1e2824cc15f37b1f3be7fa2c850f75f94c0df3fb8d
7
- data.tar.gz: f9d55ee54ecedeba724748722fb96b64782f6bd685c16b9f0e9c65330a4551c2dcf54fb30185a30308eb8f930b3c92a5eb40e30ed5a6beacaf34457afdf51e19
6
+ metadata.gz: a000f3bcffe7f4388a75e3aab7de09fa6f01bf63bf673c3c6faca9a041603dd2ccd21af608008493d8f2c6c3b9547bc6aad7e45b79ef882740f195ddd8b0b2c1
7
+ data.tar.gz: ac5744ba228a291483b2bf52a2688d07d3516d46ca951edf982fa5e4ca8fde6e7cb53647d723f5067c807a03a765bf5d2a93ad0e901962b6c2283ecc6c490b11
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/event_nlp.rb CHANGED
@@ -117,6 +117,14 @@ class EventNlp
117
117
  found[:day].to_i.ordinal]
118
118
  end
119
119
 
120
+ # e.g. "Utility bill last day Monthly" =>
121
+ # Utility bill last day of the month
122
+ #
123
+ if raws =~ /last day monthly$/i then
124
+ s = raws.sub(/last day monthly$/i,'last day of the month')
125
+ end
126
+
127
+
120
128
  puts 'filter_irregular - s: ' + s.inspect if @debug
121
129
  return s || raws
122
130
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_nlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  w8lJ+I6Lqqr5GpsweOnEHW4w200sMRD40u8qmGHrqirihL2KrwTD6A9UObvA5AxZ
36
36
  4Z4EPvKg+3jsK9Gv3GGSLdrD
37
37
  -----END CERTIFICATE-----
38
- date: 2022-04-02 00:00:00.000000000 Z
38
+ date: 2022-04-03 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: chronic_cron
metadata.gz.sig CHANGED
Binary file