octopussy 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/changelog.markdown +2 -0
- data/lib/octopussy/event.rb +3 -0
- data/octopussy.gemspec +2 -2
- data/test/test_octopussy.rb +1 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/changelog.markdown
CHANGED
data/lib/octopussy/event.rb
CHANGED
@@ -8,6 +8,9 @@ module Octopussy
|
|
8
8
|
event.published = (entry.published.is_a?(String) ? DateTime.parse(entry.published) : entry.published)
|
9
9
|
event.id = entry.id.split("/").pop.to_i
|
10
10
|
|
11
|
+
event.links = entry.links
|
12
|
+
event.content = entry.content
|
13
|
+
|
11
14
|
case entry.id
|
12
15
|
when /CreateEvent/
|
13
16
|
case entry.title
|
data/octopussy.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{octopussy}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Wynn Netherland", "Adam Stacoviak"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2010-01-13}
|
13
13
|
s.description = %q{Simple wrapper for the GitHub API v2}
|
14
14
|
s.email = %q{wynn.netherland@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/test/test_octopussy.rb
CHANGED
@@ -412,6 +412,7 @@ class TestOctopussy < Test::Unit::TestCase
|
|
412
412
|
event.published.month.should == 12
|
413
413
|
event.id.should == 110645788
|
414
414
|
event.title.should == 'pengwynn created tag v0.7.10 at jnunemaker/twitter'
|
415
|
+
event.links.first.should == 'http://github.com/jnunemaker/twitter/tree/v0.7.10'
|
415
416
|
end
|
416
417
|
|
417
418
|
should "should create a repo event from an atom entry" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopussy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wynn Netherland
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2010-01-13 00:00:00 -06:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|