gritano 0.1.4 → 0.1.5

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/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = Gritano v0.1.4
1
+ = Gritano v0.1.5
2
2
 
3
3
  Gritano is the simplest way to configure a git server over ssh. You can create repositories and manage user access using this practical tool.
4
4
 
data/TODO CHANGED
@@ -1,4 +1,4 @@
1
- v0.1.5
1
+ v0.1.6
2
2
  - exibir o tipo de acesso do usuario pelo commando repo users
3
3
 
4
4
  v0.2.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -48,8 +48,6 @@ Feature: Console operations
48
48
  | repo -write tmp/gritano.git igorbonadio | success |
49
49
  | repo list | success |
50
50
  | repo users tmp/jeka.git | success |
51
- | repo readers tmp/jeka.git | success |
52
- | repo writers tmp/jeka.git | success |
53
51
  | user add igorbonadio | error |
54
52
  | user rm jose | error |
55
53
  | user +key igorbonadio marvin features/data/keys/arybonadio.pub | error |
@@ -67,5 +65,3 @@ Feature: Console operations
67
65
  | repo -write tmp/gritano.git arybonadio | error |
68
66
  | repo -write tmp/p-lang.git igorbonadio | error |
69
67
  | repo users tmp/ruby.git | error |
70
- | repo readers tmp/ruby.git | error |
71
- | repo writers tmp/ruby.git | error |
data/gritano.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gritano"
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Igor Bonadio"]
@@ -30,7 +30,7 @@ module Gritano
30
30
  keys = user.keys
31
31
  msg = "User's keys:\n"
32
32
  keys.each do |key|
33
- " - #{key.name}\n"
33
+ msg += " - #{key.name}\n"
34
34
  end
35
35
  msg = "there is no key registered" if keys.count == 0
36
36
  return [true, msg]
@@ -46,7 +46,7 @@ module Gritano
46
46
  repos = user.repositories
47
47
  msg = "User's repositories:\n"
48
48
  repos.each do |repo|
49
- " - #{repo.name}\n"
49
+ msg += " - #{repo.name}\n"
50
50
  end
51
51
  msg = "there is no repository registered" if repos.count == 0
52
52
  return [true, msg]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gritano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -245,7 +245,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
245
245
  version: '0'
246
246
  segments:
247
247
  - 0
248
- hash: 1207246342986126643
248
+ hash: -72039970687723004
249
249
  required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  none: false
251
251
  requirements: