agig 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Agig::VERSION
17
17
 
18
- gem.add_dependency 'net-irc', ['>= 0']
19
- gem.add_dependency 'nokogiri', ['>= 0']
18
+ gem.add_dependency 'net-irc'
19
+ gem.add_dependency 'nokogiri'
20
+ gem.add_dependency 'certified'
20
21
  end
@@ -1,6 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'net/irc'
3
3
  require 'nokogiri'
4
+ require 'certified'
4
5
 
5
6
  require 'open-uri'
6
7
  require 'ostruct'
@@ -87,7 +88,7 @@ class Agig::Session < Net::IRC::Server::Session
87
88
  end
88
89
 
89
90
  entries.reverse_each do |entry|
90
- next if entry[:datetime] <= @last_retrieved
91
+ next if entry[:datetime].utc <= @last_retrieved.utc
91
92
  type = entry[:id][%r|tag:github.com,2008:(.+?)/\d+|, 1]
92
93
  post entry[:author], PRIVMSG, channel(type), "\003#{EVENTS[type] || '5'}#{entry[:title]}\017 \00314#{entry[:link]}\017"
93
94
  end
@@ -1,3 +1,3 @@
1
1
  module Agig
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-24 00:00:00.000000000 Z
12
+ date: 2013-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-irc
@@ -43,6 +43,22 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: certified
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
46
62
  description: another Github IRC Gateway
47
63
  email:
48
64
  - shibata.hiroshi@gmail.com
@@ -83,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
99
  version: '0'
84
100
  requirements: []
85
101
  rubyforge_project:
86
- rubygems_version: 1.8.23
102
+ rubygems_version: 1.8.24
87
103
  signing_key:
88
104
  specification_version: 3
89
105
  summary: agig is another Github IRC Gateway. agig is forked from gig.rb, and contained