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 CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/changelog.markdown CHANGED
@@ -1,4 +1,6 @@
1
1
  # Changelog
2
+ ## 0.1.4
3
+ * Preserved links array and content for events parsed from feeds
2
4
  ## 0.1.3
3
5
  * Added Download event
4
6
  ## 0.1.2
@@ -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.3"
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{2009-12-16}
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 = [
@@ -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.3
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: 2009-12-16 00:00:00 -06:00
13
+ date: 2010-01-13 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency