gritano 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/TODO +1 -1
- data/VERSION +1 -1
- data/features/console.feature +0 -4
- data/gritano.gemspec +1 -1
- data/lib/gritano/console.rb +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
data/TODO
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/features/console.feature
CHANGED
@@ -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
data/lib/gritano/console.rb
CHANGED
@@ -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
|
+
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:
|
248
|
+
hash: -72039970687723004
|
249
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
250
250
|
none: false
|
251
251
|
requirements:
|