daily_notices 0.5.3 → 0.5.4

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: f055ddc77d79cf8ec132a7ff8b06268ccb23efcc
4
- data.tar.gz: 91afd4fe8a53ad103578f5a3748136e51321f63c
3
+ metadata.gz: 34d8dfe89e8a2b5a68cf02c28bf5a565d02436ad
4
+ data.tar.gz: 943d7b1ea98309a3f8e6b43629e611296cf83643
5
5
  SHA512:
6
- metadata.gz: e3c909aeae9025382c925cb30fc30f7ecedb71807f2b7d4b81128d5016f0f83923f379a44ac27e558a8ffcafe9bb402d1d8d39324a50f3093db06193e8c32dfc
7
- data.tar.gz: '0389eb853e59364eb73fcdfa566db233c2dc5a416f9ae14b0d96857d14329c01af38645c96c5fdb33bb7e1bdf4e6ac45b75c8888a2c489774f4598e9e94cdc22'
6
+ metadata.gz: ff37351c29e386d1279ce4e68f59badc581512f37428242c39a52fdaf8e821d2b48d4033ca4df0d6e448e9021c141754dec734cd7adc10790b9ce3ac2f4c7dfd
7
+ data.tar.gz: 452a724863159c48a1a2cbc648964ad9dd94316a2b0b5b332619ec787f1a51880c716158b3e8bc023e8e22feddb7376df930dbd1e784b63b55807e83a91f775c
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/daily_notices.rb CHANGED
@@ -79,7 +79,7 @@ class DailyNotices
79
79
 
80
80
  new_day() if @day != Time.now.day
81
81
 
82
- if @dx.all.any? and @dx.all.last.description == CGI.unescape(description) then
82
+ if @dx.all.any? and @dx.all.first.description == CGI.unescape(description) then
83
83
 
84
84
  return :duplicate
85
85
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daily_notices
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file