dcuddeback-octopi 0.2.11 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ examples/github.yml
2
2
  doc/
3
3
  pkg/
4
4
  contrib/nothingspecial.rb
5
+ **/*.swp
@@ -2,4 +2,4 @@
2
2
  :major: 0
3
3
  :build:
4
4
  :minor: 2
5
- :patch: 11
5
+ :patch: 12
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dcuddeback-octopi}
8
- s.version = "0.2.11"
8
+ s.version = "0.2.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Felipe Coury", "David Cuddeback"]
12
- s.date = %q{2010-07-06}
12
+ s.date = %q{2010-07-23}
13
13
  s.email = %q{david.cuddeback@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -109,7 +109,7 @@ module Octopi
109
109
  end
110
110
 
111
111
  def collaborators
112
- property('collaborators', [self.owner, self.name].join('/')).values.map { |v| User.find(v.join) }
112
+ property('collaborators', [self.owner, self.name].join('/')).values.flatten.map { |v| User.find(v) }
113
113
  end
114
114
 
115
115
  def deploy_keys
@@ -97,8 +97,9 @@ class RepositoryTest < Test::Unit::TestCase
97
97
  should "be able to find all collaborators" do
98
98
  @collaborators = @repository.collaborators
99
99
  assert_not_nil @collaborators
100
- assert_equal 1, @collaborators.size
100
+ assert_equal 2, @collaborators.size
101
101
  assert @collaborators.first.is_a?(User)
102
+ assert @collaborators.last.is_a?(User)
102
103
  end
103
104
 
104
105
  should "be able to create a repository" do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcuddeback-octopi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 11
10
- version: 0.2.11
9
+ - 12
10
+ version: 0.2.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Felipe Coury
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-07-06 00:00:00 -07:00
19
+ date: 2010-07-23 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency