gritano 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. data/README.rdoc +1 -1
  2. data/VERSION +1 -1
  3. data/features/data/local_commands/repo_add_tmp_jeka_git.txt +1 -0
  4. data/features/data/local_commands/repo_add_tmp_p_lang_git.txt +1 -0
  5. data/features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio.txt +1 -0
  6. data/features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt +1 -0
  7. data/features/data/local_commands/repo_list.txt +6 -0
  8. data/features/data/local_commands/repo_read_add_tmp_gritano_git_arybonadio.txt +1 -0
  9. data/features/data/local_commands/repo_read_add_tmp_gritano_git_jessicaeto.txt +1 -0
  10. data/features/data/local_commands/repo_read_add_tmp_p_lang_git_jessicaeto.txt +1 -0
  11. data/features/data/local_commands/repo_read_rm_tmp_jeka_git_aribonadio.txt +1 -0
  12. data/features/data/local_commands/repo_read_rm_tmp_jeka_git_igorbonadio.txt +1 -0
  13. data/features/data/local_commands/repo_read_rm_tmp_p_lang_git_igorbonadio.txt +1 -0
  14. data/features/data/local_commands/repo_rm_tmp_jeka_git.txt +1 -0
  15. data/features/data/local_commands/repo_rm_tmp_p_lang_git.txt +1 -0
  16. data/features/data/local_commands/repo_user_list_tmp_jeka_git.txt +6 -0
  17. data/features/data/local_commands/repo_user_list_tmp_ruby_git.txt +1 -0
  18. data/features/data/local_commands/repo_write_add_tmp_gritano_git_arybonadio.txt +1 -0
  19. data/features/data/local_commands/repo_write_add_tmp_gritano_git_jessicaeto.txt +1 -0
  20. data/features/data/local_commands/repo_write_add_tmp_p_lang_git_jessicaeto.txt +1 -0
  21. data/features/data/local_commands/repo_write_rm_tmp_gritano_git_arybonadio.txt +1 -0
  22. data/features/data/local_commands/repo_write_rm_tmp_gritano_git_igorbonadio.txt +1 -0
  23. data/features/data/local_commands/repo_write_rm_tmp_p_lang_git_igorbonadio.txt +1 -0
  24. data/features/data/local_commands/user_add_igorbonadio.txt +1 -0
  25. data/features/data/local_commands/user_add_jose.txt +1 -0
  26. data/features/data/local_commands/user_admin_add_arybonadio.txt +1 -0
  27. data/features/data/local_commands/user_admin_add_igorbonadio.txt +1 -0
  28. data/features/data/local_commands/user_admin_rm_arybonadio.txt +1 -0
  29. data/features/data/local_commands/user_admin_rm_igorbonadio.txt +1 -0
  30. data/features/data/local_commands/user_key_add_igorbonadio_marvin.txt +1 -0
  31. data/features/data/local_commands/user_key_add_userrr_marvino.txt +1 -0
  32. data/features/data/local_commands/user_key_list_arybonadio.txt +1 -0
  33. data/features/data/local_commands/user_key_list_igorbonadio.txt +5 -0
  34. data/features/data/local_commands/user_key_rm_igorbonadio_eva.txt +1 -0
  35. data/features/data/local_commands/user_key_rm_igorbonadio_marvino.txt +1 -0
  36. data/features/data/local_commands/user_list.txt +6 -0
  37. data/features/data/local_commands/user_repo_list_arybonadio.txt +1 -0
  38. data/features/data/local_commands/user_repo_list_igorbonadio.txt +6 -0
  39. data/features/data/local_commands/user_rm_igorbonadio.txt +1 -0
  40. data/features/data/local_commands/user_rm_jose.txt +1 -0
  41. data/features/data/local_commands/version.txt +1 -0
  42. data/features/data/local_help.txt +27 -0
  43. data/features/data/remote_commands/admin_help_igorbonadio.txt +27 -0
  44. data/features/data/remote_commands/admin_help_jessicaeto.txt +27 -0
  45. data/features/data/remote_commands/admin_repo_add_tmp_jeka_git_igorbonadio.txt +1 -0
  46. data/features/data/remote_commands/admin_repo_add_tmp_jeka_git_jessicaeto.txt +1 -0
  47. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio.txt +1 -0
  48. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_igorbonadio.txt +1 -0
  49. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt +1 -0
  50. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_igorbonadio.txt +1 -0
  51. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_jessicaeto.txt +1 -0
  52. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_jessicaeto.txt +1 -0
  53. data/features/data/remote_commands/admin_repo_list_igorbonadio.txt +6 -0
  54. data/features/data/remote_commands/admin_repo_list_jessicaeto.txt +1 -0
  55. data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_igorbonadio.txt +1 -0
  56. data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_jessicaeto.txt +1 -0
  57. data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_igorbonadio.txt +1 -0
  58. data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_jessicaeto.txt +1 -0
  59. data/features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt +1 -0
  60. data/features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt +1 -0
  61. data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_igorbonadio.txt +1 -0
  62. data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_jessicaeto.txt +1 -0
  63. data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_igorbonadio.txt +1 -0
  64. data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_jessicaeto.txt +1 -0
  65. data/features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt +1 -0
  66. data/features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt +1 -0
  67. data/features/data/remote_commands/admin_repo_rm_tmp_jeka_git_igorbonadio.txt +1 -0
  68. data/features/data/remote_commands/admin_repo_rm_tmp_jeka_git_jessicaeto.txt +1 -0
  69. data/features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_igorbonadio.txt +1 -0
  70. data/features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_jessicaeto.txt +1 -0
  71. data/features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_igorbonadio.txt +6 -0
  72. data/features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_jessicaeto.txt +1 -0
  73. data/features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_igorbonadio.txt +1 -0
  74. data/features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_jessicaeto.txt +1 -0
  75. data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_igorbonadio.txt +1 -0
  76. data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_jessicaeto.txt +1 -0
  77. data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_igorbonadio.txt +1 -0
  78. data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_jessicaeto.txt +1 -0
  79. data/features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt +1 -0
  80. data/features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt +1 -0
  81. data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_igorbonadio.txt +1 -0
  82. data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_jessicaeto.txt +1 -0
  83. data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_igorbonadio.txt +1 -0
  84. data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_jessicaeto.txt +1 -0
  85. data/features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt +1 -0
  86. data/features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt +1 -0
  87. data/features/data/remote_commands/admin_user_add_igorbonadio_igorbonadio.txt +1 -0
  88. data/features/data/remote_commands/admin_user_add_igorbonadio_jessicaeto.txt +1 -0
  89. data/features/data/remote_commands/admin_user_add_jose_igorbonadio.txt +1 -0
  90. data/features/data/remote_commands/admin_user_add_jose_jessicaeto.txt +1 -0
  91. data/features/data/remote_commands/admin_user_admin_add_arybonadio_igorbonadio.txt +1 -0
  92. data/features/data/remote_commands/admin_user_admin_add_arybonadio_jessicaeto.txt +1 -0
  93. data/features/data/remote_commands/admin_user_admin_add_igorbonadio_igorbonadio.txt +1 -0
  94. data/features/data/remote_commands/admin_user_admin_add_igorbonadio_jessicaeto.txt +1 -0
  95. data/features/data/remote_commands/admin_user_admin_rm_arybonadio_igorbonadio.txt +1 -0
  96. data/features/data/remote_commands/admin_user_admin_rm_arybonadio_jessicaeto.txt +1 -0
  97. data/features/data/remote_commands/admin_user_admin_rm_igorbonadio_igorbonadio.txt +1 -0
  98. data/features/data/remote_commands/admin_user_admin_rm_igorbonadio_jessicaeto.txt +1 -0
  99. data/features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_igorbonadio.txt +1 -0
  100. data/features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_jessicaeto.txt +1 -0
  101. data/features/data/remote_commands/admin_user_key_add_userrr_marvino_igorbonadio.txt +1 -0
  102. data/features/data/remote_commands/admin_user_key_add_userrr_marvino_jessicaeto.txt +1 -0
  103. data/features/data/remote_commands/admin_user_key_list_arybonadio_igorbonadio.txt +1 -0
  104. data/features/data/remote_commands/admin_user_key_list_arybonadio_jessicaeto.txt +1 -0
  105. data/features/data/remote_commands/admin_user_key_list_igorbonadio_igorbonadio.txt +5 -0
  106. data/features/data/remote_commands/admin_user_key_list_igorbonadio_jessicaeto.txt +1 -0
  107. data/features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_igorbonadio.txt +1 -0
  108. data/features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_jessicaeto.txt +1 -0
  109. data/features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_igorbonadio.txt +1 -0
  110. data/features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_jessicaeto.txt +1 -0
  111. data/features/data/remote_commands/admin_user_list_igorbonadio.txt +6 -0
  112. data/features/data/remote_commands/admin_user_list_jessicaeto.txt +1 -0
  113. data/features/data/remote_commands/admin_user_repo_list_arybonadio_igorbonadio.txt +1 -0
  114. data/features/data/remote_commands/admin_user_repo_list_arybonadio_jessicaeto.txt +1 -0
  115. data/features/data/remote_commands/admin_user_repo_list_igorbonadio_igorbonadio.txt +6 -0
  116. data/features/data/remote_commands/admin_user_repo_list_igorbonadio_jessicaeto.txt +1 -0
  117. data/features/data/remote_commands/admin_user_rm_igorbonadio_igorbonadio.txt +1 -0
  118. data/features/data/remote_commands/admin_user_rm_igorbonadio_jessicaeto.txt +1 -0
  119. data/features/data/remote_commands/admin_user_rm_jose_igorbonadio.txt +1 -0
  120. data/features/data/remote_commands/admin_user_rm_jose_jessicaeto.txt +1 -0
  121. data/features/data/remote_commands/admin_version_igorbonadio.txt +13 -0
  122. data/features/data/remote_commands/admin_version_jessicaeto.txt +1 -0
  123. data/features/data/remote_commands/help_igorbonadio.txt +13 -0
  124. data/features/data/remote_commands/help_jessicaeto.txt +13 -0
  125. data/features/data/remote_commands/invalid_command_igorbonadio.txt +13 -0
  126. data/features/data/remote_commands/invalid_command_jessicaeto.txt +13 -0
  127. data/features/data/remote_commands/key_add_keyname_igorbonadio.txt +1 -0
  128. data/features/data/remote_commands/key_add_keyname_jessicaeto.txt +1 -0
  129. data/features/data/remote_commands/key_list_igorbonadio.txt +5 -0
  130. data/features/data/remote_commands/key_list_jessicaeto.txt +5 -0
  131. data/features/data/remote_commands/key_rm_hal_igorbonadio.txt +1 -0
  132. data/features/data/remote_commands/key_rm_hal_jessicaeto.txt +1 -0
  133. data/features/data/remote_commands/repo_list_igorbonadio.txt +6 -0
  134. data/features/data/remote_commands/repo_list_jessicaeto.txt +5 -0
  135. data/features/data/remote_commands/version_igorbonadio.txt +1 -0
  136. data/features/data/remote_commands/version_jessicaeto.txt +1 -0
  137. data/features/install.feature +40 -0
  138. data/features/local.feature +80 -0
  139. data/features/remote.feature +156 -0
  140. data/features/step_definitions/background_step.rb +24 -0
  141. data/features/step_definitions/install_step.rb +30 -0
  142. data/features/step_definitions/local_step.rb +25 -0
  143. data/features/step_definitions/remote_step.rb +49 -0
  144. data/gritano.gemspec +142 -1
  145. data/lib/gritano/cli.rb +1 -1
  146. data/lib/gritano/console/remote.rb +8 -2
  147. data/lib/gritano/models/user.rb +0 -6
  148. data/spec/model_user_spec.rb +0 -26
  149. metadata +143 -2
@@ -0,0 +1,24 @@
1
+ Given /^the following users exist:$/ do |table|
2
+ table.hashes.each do |user|
3
+ Gritano::User.create(user)
4
+ end
5
+ end
6
+
7
+ Given /^the following keys exist:$/ do |table|
8
+ table.hashes.each do |key|
9
+ Gritano::User.find_by_login(key['login']).keys.create(name: key["key"], key: "key")
10
+ end
11
+ end
12
+
13
+ Given /^the following repositories exist:$/ do |table|
14
+ table.hashes.each do |repo|
15
+ Gritano::Repository.create(repo)
16
+ end
17
+ end
18
+
19
+ Given /^the following permissions exist:$/ do |table|
20
+ table.hashes.each do |permission|
21
+ Gritano::User.find_by_login(permission['user'])
22
+ .add_access(Gritano::Repository.find_by_name(permission['repo']), permission['access'].to_sym)
23
+ end
24
+ end
@@ -0,0 +1,30 @@
1
+ Given /^I start the gritano console but gritano is not installed$/ do
2
+ stdin = double()
3
+ stdin.stub(:read).and_return("Your SSHKEY here...")
4
+ FileUtils.rm_rf('tmp\.gritano')
5
+ @home_dir = 'tmp'
6
+ @repo_dir = 'tmp'
7
+ @console = Gritano::CLI
8
+ end
9
+
10
+ When /^I execute any command$/ do
11
+ @command = "user:list"
12
+ end
13
+
14
+ Then /^I should see the error: "(.*?)"$/ do |error|
15
+ lambda {@console.execute(@command.split(' '), @stdin, @home_dir, @repo_dir)}.should raise_error SystemExit
16
+ end
17
+
18
+ When /^I install it$/ do
19
+ @prepare_output = @console.execute(['setup:prepare'], @stdin, @home_dir, @repo_dir)
20
+ @install_output = @console.execute(['setup:install'], @stdin, @home_dir, @repo_dir)
21
+ end
22
+
23
+ Then /^I should see that gritano was successful (installed|updated)$/ do |opt|
24
+ @prepare_output.should be == 'configuration has been generated' if opt == 'installed'
25
+ @install_output.should be == 'gritano has been installed'
26
+ end
27
+
28
+ When /^I update it$/ do
29
+ @install_output = @console.execute(['setup:install'], @stdin, @home_dir, @repo_dir)
30
+ end
@@ -0,0 +1,25 @@
1
+ Given /^I start the gritano console$/ do
2
+ @stdin = double()
3
+ @stdin.stub(:read).and_return("Your SSHKEY here...")
4
+ @home_dir = '.'
5
+ @repo_dir = 'tmp'
6
+ @console = Gritano::CLI
7
+ end
8
+
9
+ When /^I execute "(.*?)"$/ do |command|
10
+ @command = command.gsub(' ', '_').gsub(':', '_').gsub('/', '_').
11
+ gsub('-', '_').gsub('.', '_')
12
+ @output = @console.execute(command.split(' '), @stdin, @home_dir, @repo_dir)
13
+ end
14
+
15
+ Then /^I should see the local help$/ do
16
+ help = File.open("features/data/local_help.txt").readlines.join.
17
+ gsub('{{VERSION}}', File.open("VERSION").readlines.join)
18
+ @output.should be == help
19
+ end
20
+
21
+ Then /^I should see a message$/ do
22
+ msg = File.open("features/data/local_commands/#{@command}.txt").readlines.join.
23
+ gsub('{{VERSION}}', File.open("VERSION").readlines.join)
24
+ @output.should be == msg
25
+ end
@@ -0,0 +1,49 @@
1
+ Given /^I start the remote console with "(.*?)"$/ do |login|
2
+ @stdin = double()
3
+ @stdin.stub(:read).and_return("Your SSHKEY here...")
4
+ @home_dir = '.'
5
+ @repo_dir = 'tmp'
6
+ @login = login
7
+ @console = Gritano::CLI
8
+ end
9
+
10
+ When /^I execute "(.*?)" via ssh$/ do |command|
11
+ @command = command + "_" + @login
12
+ @command = @command.gsub(' ', '_').gsub(':', '_').gsub('/', '_').
13
+ gsub('-', '_').gsub('.', '_')
14
+ @output = @console.check(command.split(' '), @login, @stdin, @home_dir, @repo_dir)
15
+ end
16
+
17
+ Then /^I should see a message via ssh$/ do
18
+ msg = File.open("features/data/remote_commands/#{@command}.txt").readlines.join.
19
+ gsub('{{VERSION}}', File.open("VERSION").readlines.join)
20
+ @output.should be == msg
21
+ end
22
+
23
+ When /^I try to get "(.*?)"$/ do |repo|
24
+ @command = ['git-receive-pack', repo]
25
+ end
26
+
27
+ Then /^I should get it$/ do
28
+ Kernel.should_receive(:exec)
29
+ @console.check(@command, @login, @stdin, @home_dir, @repo_dir)
30
+ end
31
+
32
+ Then /^I should not get it$/ do
33
+ Kernel.should_not_receive(:exec)
34
+ @console.check(@command, @login, @stdin, @home_dir, @repo_dir)
35
+ end
36
+
37
+ When /^I try to send data to "(.*?)"$/ do |repo|
38
+ @command = ['git-upload-pack', repo]
39
+ end
40
+
41
+ Then /^I should send it$/ do
42
+ Kernel.should_receive(:exec)
43
+ @console.check(@command, @login, @stdin, @home_dir, @repo_dir)
44
+ end
45
+
46
+ Then /^I should not send it$/ do
47
+ Kernel.should_not_receive(:exec)
48
+ @console.check(@command, @login, @stdin, @home_dir, @repo_dir)
49
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gritano"
8
- s.version = "0.5.2"
8
+ s.version = "0.5.3"
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"]
@@ -36,6 +36,147 @@ Gem::Specification.new do |s|
36
36
  "db/migrate/003_create_permissions.rb",
37
37
  "db/migrate/004_create_keys.rb",
38
38
  "db/migrate/005_add_admin_to_users.rb",
39
+ "features/data/local_commands/repo_add_tmp_jeka_git.txt",
40
+ "features/data/local_commands/repo_add_tmp_p_lang_git.txt",
41
+ "features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio.txt",
42
+ "features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt",
43
+ "features/data/local_commands/repo_list.txt",
44
+ "features/data/local_commands/repo_read_add_tmp_gritano_git_arybonadio.txt",
45
+ "features/data/local_commands/repo_read_add_tmp_gritano_git_jessicaeto.txt",
46
+ "features/data/local_commands/repo_read_add_tmp_p_lang_git_jessicaeto.txt",
47
+ "features/data/local_commands/repo_read_rm_tmp_jeka_git_aribonadio.txt",
48
+ "features/data/local_commands/repo_read_rm_tmp_jeka_git_igorbonadio.txt",
49
+ "features/data/local_commands/repo_read_rm_tmp_p_lang_git_igorbonadio.txt",
50
+ "features/data/local_commands/repo_rm_tmp_jeka_git.txt",
51
+ "features/data/local_commands/repo_rm_tmp_p_lang_git.txt",
52
+ "features/data/local_commands/repo_user_list_tmp_jeka_git.txt",
53
+ "features/data/local_commands/repo_user_list_tmp_ruby_git.txt",
54
+ "features/data/local_commands/repo_write_add_tmp_gritano_git_arybonadio.txt",
55
+ "features/data/local_commands/repo_write_add_tmp_gritano_git_jessicaeto.txt",
56
+ "features/data/local_commands/repo_write_add_tmp_p_lang_git_jessicaeto.txt",
57
+ "features/data/local_commands/repo_write_rm_tmp_gritano_git_arybonadio.txt",
58
+ "features/data/local_commands/repo_write_rm_tmp_gritano_git_igorbonadio.txt",
59
+ "features/data/local_commands/repo_write_rm_tmp_p_lang_git_igorbonadio.txt",
60
+ "features/data/local_commands/user_add_igorbonadio.txt",
61
+ "features/data/local_commands/user_add_jose.txt",
62
+ "features/data/local_commands/user_admin_add_arybonadio.txt",
63
+ "features/data/local_commands/user_admin_add_igorbonadio.txt",
64
+ "features/data/local_commands/user_admin_rm_arybonadio.txt",
65
+ "features/data/local_commands/user_admin_rm_igorbonadio.txt",
66
+ "features/data/local_commands/user_key_add_igorbonadio_marvin.txt",
67
+ "features/data/local_commands/user_key_add_userrr_marvino.txt",
68
+ "features/data/local_commands/user_key_list_arybonadio.txt",
69
+ "features/data/local_commands/user_key_list_igorbonadio.txt",
70
+ "features/data/local_commands/user_key_rm_igorbonadio_eva.txt",
71
+ "features/data/local_commands/user_key_rm_igorbonadio_marvino.txt",
72
+ "features/data/local_commands/user_list.txt",
73
+ "features/data/local_commands/user_repo_list_arybonadio.txt",
74
+ "features/data/local_commands/user_repo_list_igorbonadio.txt",
75
+ "features/data/local_commands/user_rm_igorbonadio.txt",
76
+ "features/data/local_commands/user_rm_jose.txt",
77
+ "features/data/local_commands/version.txt",
78
+ "features/data/local_help.txt",
79
+ "features/data/remote_commands/admin_help_igorbonadio.txt",
80
+ "features/data/remote_commands/admin_help_jessicaeto.txt",
81
+ "features/data/remote_commands/admin_repo_add_tmp_jeka_git_igorbonadio.txt",
82
+ "features/data/remote_commands/admin_repo_add_tmp_jeka_git_jessicaeto.txt",
83
+ "features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio.txt",
84
+ "features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_igorbonadio.txt",
85
+ "features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt",
86
+ "features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_igorbonadio.txt",
87
+ "features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_jessicaeto.txt",
88
+ "features/data/remote_commands/admin_repo_add_tmp_p_lang_git_jessicaeto.txt",
89
+ "features/data/remote_commands/admin_repo_list_igorbonadio.txt",
90
+ "features/data/remote_commands/admin_repo_list_jessicaeto.txt",
91
+ "features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_igorbonadio.txt",
92
+ "features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_jessicaeto.txt",
93
+ "features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_igorbonadio.txt",
94
+ "features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_jessicaeto.txt",
95
+ "features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt",
96
+ "features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt",
97
+ "features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_igorbonadio.txt",
98
+ "features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_jessicaeto.txt",
99
+ "features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_igorbonadio.txt",
100
+ "features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_jessicaeto.txt",
101
+ "features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt",
102
+ "features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt",
103
+ "features/data/remote_commands/admin_repo_rm_tmp_jeka_git_igorbonadio.txt",
104
+ "features/data/remote_commands/admin_repo_rm_tmp_jeka_git_jessicaeto.txt",
105
+ "features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_igorbonadio.txt",
106
+ "features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_jessicaeto.txt",
107
+ "features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_igorbonadio.txt",
108
+ "features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_jessicaeto.txt",
109
+ "features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_igorbonadio.txt",
110
+ "features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_jessicaeto.txt",
111
+ "features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_igorbonadio.txt",
112
+ "features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_jessicaeto.txt",
113
+ "features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_igorbonadio.txt",
114
+ "features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_jessicaeto.txt",
115
+ "features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt",
116
+ "features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt",
117
+ "features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_igorbonadio.txt",
118
+ "features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_jessicaeto.txt",
119
+ "features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_igorbonadio.txt",
120
+ "features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_jessicaeto.txt",
121
+ "features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt",
122
+ "features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt",
123
+ "features/data/remote_commands/admin_user_add_igorbonadio_igorbonadio.txt",
124
+ "features/data/remote_commands/admin_user_add_igorbonadio_jessicaeto.txt",
125
+ "features/data/remote_commands/admin_user_add_jose_igorbonadio.txt",
126
+ "features/data/remote_commands/admin_user_add_jose_jessicaeto.txt",
127
+ "features/data/remote_commands/admin_user_admin_add_arybonadio_igorbonadio.txt",
128
+ "features/data/remote_commands/admin_user_admin_add_arybonadio_jessicaeto.txt",
129
+ "features/data/remote_commands/admin_user_admin_add_igorbonadio_igorbonadio.txt",
130
+ "features/data/remote_commands/admin_user_admin_add_igorbonadio_jessicaeto.txt",
131
+ "features/data/remote_commands/admin_user_admin_rm_arybonadio_igorbonadio.txt",
132
+ "features/data/remote_commands/admin_user_admin_rm_arybonadio_jessicaeto.txt",
133
+ "features/data/remote_commands/admin_user_admin_rm_igorbonadio_igorbonadio.txt",
134
+ "features/data/remote_commands/admin_user_admin_rm_igorbonadio_jessicaeto.txt",
135
+ "features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_igorbonadio.txt",
136
+ "features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_jessicaeto.txt",
137
+ "features/data/remote_commands/admin_user_key_add_userrr_marvino_igorbonadio.txt",
138
+ "features/data/remote_commands/admin_user_key_add_userrr_marvino_jessicaeto.txt",
139
+ "features/data/remote_commands/admin_user_key_list_arybonadio_igorbonadio.txt",
140
+ "features/data/remote_commands/admin_user_key_list_arybonadio_jessicaeto.txt",
141
+ "features/data/remote_commands/admin_user_key_list_igorbonadio_igorbonadio.txt",
142
+ "features/data/remote_commands/admin_user_key_list_igorbonadio_jessicaeto.txt",
143
+ "features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_igorbonadio.txt",
144
+ "features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_jessicaeto.txt",
145
+ "features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_igorbonadio.txt",
146
+ "features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_jessicaeto.txt",
147
+ "features/data/remote_commands/admin_user_list_igorbonadio.txt",
148
+ "features/data/remote_commands/admin_user_list_jessicaeto.txt",
149
+ "features/data/remote_commands/admin_user_repo_list_arybonadio_igorbonadio.txt",
150
+ "features/data/remote_commands/admin_user_repo_list_arybonadio_jessicaeto.txt",
151
+ "features/data/remote_commands/admin_user_repo_list_igorbonadio_igorbonadio.txt",
152
+ "features/data/remote_commands/admin_user_repo_list_igorbonadio_jessicaeto.txt",
153
+ "features/data/remote_commands/admin_user_rm_igorbonadio_igorbonadio.txt",
154
+ "features/data/remote_commands/admin_user_rm_igorbonadio_jessicaeto.txt",
155
+ "features/data/remote_commands/admin_user_rm_jose_igorbonadio.txt",
156
+ "features/data/remote_commands/admin_user_rm_jose_jessicaeto.txt",
157
+ "features/data/remote_commands/admin_version_igorbonadio.txt",
158
+ "features/data/remote_commands/admin_version_jessicaeto.txt",
159
+ "features/data/remote_commands/help_igorbonadio.txt",
160
+ "features/data/remote_commands/help_jessicaeto.txt",
161
+ "features/data/remote_commands/invalid_command_igorbonadio.txt",
162
+ "features/data/remote_commands/invalid_command_jessicaeto.txt",
163
+ "features/data/remote_commands/key_add_keyname_igorbonadio.txt",
164
+ "features/data/remote_commands/key_add_keyname_jessicaeto.txt",
165
+ "features/data/remote_commands/key_list_igorbonadio.txt",
166
+ "features/data/remote_commands/key_list_jessicaeto.txt",
167
+ "features/data/remote_commands/key_rm_hal_igorbonadio.txt",
168
+ "features/data/remote_commands/key_rm_hal_jessicaeto.txt",
169
+ "features/data/remote_commands/repo_list_igorbonadio.txt",
170
+ "features/data/remote_commands/repo_list_jessicaeto.txt",
171
+ "features/data/remote_commands/version_igorbonadio.txt",
172
+ "features/data/remote_commands/version_jessicaeto.txt",
173
+ "features/install.feature",
174
+ "features/local.feature",
175
+ "features/remote.feature",
176
+ "features/step_definitions/background_step.rb",
177
+ "features/step_definitions/install_step.rb",
178
+ "features/step_definitions/local_step.rb",
179
+ "features/step_definitions/remote_step.rb",
39
180
  "features/support/database_cleaner.rb",
40
181
  "features/support/env.rb",
41
182
  "gritano.gemspec",
@@ -5,7 +5,7 @@ module Gritano
5
5
  begin
6
6
  output = console.execute(cmd)
7
7
  if output[0]
8
- output[1]
8
+ output[1].to_s
9
9
  else
10
10
  "error: #{output[1]}"
11
11
  end
@@ -64,10 +64,16 @@ module Gritano
64
64
  end
65
65
  elsif meth.to_s =~ /^git-receive-pack/
66
66
  repo, login = args[0]
67
- Kernel.exec "git-receive-pack #{repo(repo).full_path}"
67
+ user = ::Gritano::User.find_by_login(login)
68
+ if user
69
+ Kernel.exec "git-receive-pack #{repo(repo).full_path}" if user.check_access(repo(repo), :read)
70
+ end
68
71
  elsif meth.to_s =~ /^git-upload-pack/
69
72
  repo, login = args[0]
70
- Kernel.exec "git-upload-pack #{repo(repo).full_path}"
73
+ user = ::Gritano::User.find_by_login(login)
74
+ if user
75
+ Kernel.exec "git-upload-pack #{repo(repo).full_path}" if user.check_access(repo(repo), :write)
76
+ end
71
77
  else
72
78
  super
73
79
  end
@@ -6,12 +6,6 @@ module Gritano
6
6
  has_many :permissions
7
7
  has_many :repositories, through: :permissions
8
8
  has_many :keys
9
-
10
- def create_repository(repo)
11
- repository = Repository.create(repo)
12
- add_access(repository, :read)
13
- add_access(repository, :write)
14
- end
15
9
 
16
10
  def add_access(repo, access)
17
11
  change_access(repo, "add", access)
@@ -36,20 +36,6 @@ describe Gritano::User do
36
36
  user.add_access(repo, :read).should be_true
37
37
  end
38
38
 
39
- it 'should remove read access to a repository' do
40
- user = Gritano::User.create(login: 'test')
41
- user.create_repository(name: 'tmp/repo.git')
42
- user.remove_access(Gritano::Repository.find_by_name('tmp/repo.git'), :read).should be_true
43
- user.check_access(Gritano::Repository.find_by_name('tmp/repo.git'), :read).should be_false
44
- end
45
-
46
- it 'should remove write access to a repository' do
47
- user = Gritano::User.create(login: 'test')
48
- user.create_repository(name: 'tmp/repo.git')
49
- user.remove_access(Gritano::Repository.find_by_name('tmp/repo.git'), :write).should be_true
50
- user.check_access(Gritano::Repository.find_by_name('tmp/repo.git'), :write).should be_false
51
- end
52
-
53
39
  it 'should not add an wrong type access to a repository' do
54
40
  user = Gritano::User.create(login: 'test')
55
41
  repo = Gritano::Repository.create(name: 'tmp/repo.git')
@@ -62,18 +48,6 @@ describe Gritano::User do
62
48
  user.remove_access(repo, :wrong).should be_false
63
49
  end
64
50
 
65
- it 'should have read access to a repository' do
66
- user = Gritano::User.create(login: 'test')
67
- user.create_repository(name: 'tmp/gritano.git')
68
- user.check_access(Gritano::Repository.find_by_name('tmp/gritano.git'), :read).should be_true
69
- end
70
-
71
- it 'should have write access to a repository' do
72
- user = Gritano::User.create(login: 'test')
73
- user.create_repository(name: 'tmp/gritano.git')
74
- user.check_access(Gritano::Repository.find_by_name('tmp/gritano.git'), :write).should be_true
75
- end
76
-
77
51
  it 'should not have read access to a repository' do
78
52
  user = Gritano::User.create(login: 'test')
79
53
  repo = Gritano::Repository.create(name: 'tmp/repo.git')
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.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -216,6 +216,147 @@ files:
216
216
  - db/migrate/003_create_permissions.rb
217
217
  - db/migrate/004_create_keys.rb
218
218
  - db/migrate/005_add_admin_to_users.rb
219
+ - features/data/local_commands/repo_add_tmp_jeka_git.txt
220
+ - features/data/local_commands/repo_add_tmp_p_lang_git.txt
221
+ - features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio.txt
222
+ - features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt
223
+ - features/data/local_commands/repo_list.txt
224
+ - features/data/local_commands/repo_read_add_tmp_gritano_git_arybonadio.txt
225
+ - features/data/local_commands/repo_read_add_tmp_gritano_git_jessicaeto.txt
226
+ - features/data/local_commands/repo_read_add_tmp_p_lang_git_jessicaeto.txt
227
+ - features/data/local_commands/repo_read_rm_tmp_jeka_git_aribonadio.txt
228
+ - features/data/local_commands/repo_read_rm_tmp_jeka_git_igorbonadio.txt
229
+ - features/data/local_commands/repo_read_rm_tmp_p_lang_git_igorbonadio.txt
230
+ - features/data/local_commands/repo_rm_tmp_jeka_git.txt
231
+ - features/data/local_commands/repo_rm_tmp_p_lang_git.txt
232
+ - features/data/local_commands/repo_user_list_tmp_jeka_git.txt
233
+ - features/data/local_commands/repo_user_list_tmp_ruby_git.txt
234
+ - features/data/local_commands/repo_write_add_tmp_gritano_git_arybonadio.txt
235
+ - features/data/local_commands/repo_write_add_tmp_gritano_git_jessicaeto.txt
236
+ - features/data/local_commands/repo_write_add_tmp_p_lang_git_jessicaeto.txt
237
+ - features/data/local_commands/repo_write_rm_tmp_gritano_git_arybonadio.txt
238
+ - features/data/local_commands/repo_write_rm_tmp_gritano_git_igorbonadio.txt
239
+ - features/data/local_commands/repo_write_rm_tmp_p_lang_git_igorbonadio.txt
240
+ - features/data/local_commands/user_add_igorbonadio.txt
241
+ - features/data/local_commands/user_add_jose.txt
242
+ - features/data/local_commands/user_admin_add_arybonadio.txt
243
+ - features/data/local_commands/user_admin_add_igorbonadio.txt
244
+ - features/data/local_commands/user_admin_rm_arybonadio.txt
245
+ - features/data/local_commands/user_admin_rm_igorbonadio.txt
246
+ - features/data/local_commands/user_key_add_igorbonadio_marvin.txt
247
+ - features/data/local_commands/user_key_add_userrr_marvino.txt
248
+ - features/data/local_commands/user_key_list_arybonadio.txt
249
+ - features/data/local_commands/user_key_list_igorbonadio.txt
250
+ - features/data/local_commands/user_key_rm_igorbonadio_eva.txt
251
+ - features/data/local_commands/user_key_rm_igorbonadio_marvino.txt
252
+ - features/data/local_commands/user_list.txt
253
+ - features/data/local_commands/user_repo_list_arybonadio.txt
254
+ - features/data/local_commands/user_repo_list_igorbonadio.txt
255
+ - features/data/local_commands/user_rm_igorbonadio.txt
256
+ - features/data/local_commands/user_rm_jose.txt
257
+ - features/data/local_commands/version.txt
258
+ - features/data/local_help.txt
259
+ - features/data/remote_commands/admin_help_igorbonadio.txt
260
+ - features/data/remote_commands/admin_help_jessicaeto.txt
261
+ - features/data/remote_commands/admin_repo_add_tmp_jeka_git_igorbonadio.txt
262
+ - features/data/remote_commands/admin_repo_add_tmp_jeka_git_jessicaeto.txt
263
+ - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio.txt
264
+ - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_igorbonadio.txt
265
+ - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt
266
+ - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_igorbonadio.txt
267
+ - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_jessicaeto.txt
268
+ - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_jessicaeto.txt
269
+ - features/data/remote_commands/admin_repo_list_igorbonadio.txt
270
+ - features/data/remote_commands/admin_repo_list_jessicaeto.txt
271
+ - features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_igorbonadio.txt
272
+ - features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_jessicaeto.txt
273
+ - features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_igorbonadio.txt
274
+ - features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_jessicaeto.txt
275
+ - features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt
276
+ - features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt
277
+ - features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_igorbonadio.txt
278
+ - features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_jessicaeto.txt
279
+ - features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_igorbonadio.txt
280
+ - features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_jessicaeto.txt
281
+ - features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt
282
+ - features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt
283
+ - features/data/remote_commands/admin_repo_rm_tmp_jeka_git_igorbonadio.txt
284
+ - features/data/remote_commands/admin_repo_rm_tmp_jeka_git_jessicaeto.txt
285
+ - features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_igorbonadio.txt
286
+ - features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_jessicaeto.txt
287
+ - features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_igorbonadio.txt
288
+ - features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_jessicaeto.txt
289
+ - features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_igorbonadio.txt
290
+ - features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_jessicaeto.txt
291
+ - features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_igorbonadio.txt
292
+ - features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_jessicaeto.txt
293
+ - features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_igorbonadio.txt
294
+ - features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_jessicaeto.txt
295
+ - features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt
296
+ - features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt
297
+ - features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_igorbonadio.txt
298
+ - features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_jessicaeto.txt
299
+ - features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_igorbonadio.txt
300
+ - features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_jessicaeto.txt
301
+ - features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt
302
+ - features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt
303
+ - features/data/remote_commands/admin_user_add_igorbonadio_igorbonadio.txt
304
+ - features/data/remote_commands/admin_user_add_igorbonadio_jessicaeto.txt
305
+ - features/data/remote_commands/admin_user_add_jose_igorbonadio.txt
306
+ - features/data/remote_commands/admin_user_add_jose_jessicaeto.txt
307
+ - features/data/remote_commands/admin_user_admin_add_arybonadio_igorbonadio.txt
308
+ - features/data/remote_commands/admin_user_admin_add_arybonadio_jessicaeto.txt
309
+ - features/data/remote_commands/admin_user_admin_add_igorbonadio_igorbonadio.txt
310
+ - features/data/remote_commands/admin_user_admin_add_igorbonadio_jessicaeto.txt
311
+ - features/data/remote_commands/admin_user_admin_rm_arybonadio_igorbonadio.txt
312
+ - features/data/remote_commands/admin_user_admin_rm_arybonadio_jessicaeto.txt
313
+ - features/data/remote_commands/admin_user_admin_rm_igorbonadio_igorbonadio.txt
314
+ - features/data/remote_commands/admin_user_admin_rm_igorbonadio_jessicaeto.txt
315
+ - features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_igorbonadio.txt
316
+ - features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_jessicaeto.txt
317
+ - features/data/remote_commands/admin_user_key_add_userrr_marvino_igorbonadio.txt
318
+ - features/data/remote_commands/admin_user_key_add_userrr_marvino_jessicaeto.txt
319
+ - features/data/remote_commands/admin_user_key_list_arybonadio_igorbonadio.txt
320
+ - features/data/remote_commands/admin_user_key_list_arybonadio_jessicaeto.txt
321
+ - features/data/remote_commands/admin_user_key_list_igorbonadio_igorbonadio.txt
322
+ - features/data/remote_commands/admin_user_key_list_igorbonadio_jessicaeto.txt
323
+ - features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_igorbonadio.txt
324
+ - features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_jessicaeto.txt
325
+ - features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_igorbonadio.txt
326
+ - features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_jessicaeto.txt
327
+ - features/data/remote_commands/admin_user_list_igorbonadio.txt
328
+ - features/data/remote_commands/admin_user_list_jessicaeto.txt
329
+ - features/data/remote_commands/admin_user_repo_list_arybonadio_igorbonadio.txt
330
+ - features/data/remote_commands/admin_user_repo_list_arybonadio_jessicaeto.txt
331
+ - features/data/remote_commands/admin_user_repo_list_igorbonadio_igorbonadio.txt
332
+ - features/data/remote_commands/admin_user_repo_list_igorbonadio_jessicaeto.txt
333
+ - features/data/remote_commands/admin_user_rm_igorbonadio_igorbonadio.txt
334
+ - features/data/remote_commands/admin_user_rm_igorbonadio_jessicaeto.txt
335
+ - features/data/remote_commands/admin_user_rm_jose_igorbonadio.txt
336
+ - features/data/remote_commands/admin_user_rm_jose_jessicaeto.txt
337
+ - features/data/remote_commands/admin_version_igorbonadio.txt
338
+ - features/data/remote_commands/admin_version_jessicaeto.txt
339
+ - features/data/remote_commands/help_igorbonadio.txt
340
+ - features/data/remote_commands/help_jessicaeto.txt
341
+ - features/data/remote_commands/invalid_command_igorbonadio.txt
342
+ - features/data/remote_commands/invalid_command_jessicaeto.txt
343
+ - features/data/remote_commands/key_add_keyname_igorbonadio.txt
344
+ - features/data/remote_commands/key_add_keyname_jessicaeto.txt
345
+ - features/data/remote_commands/key_list_igorbonadio.txt
346
+ - features/data/remote_commands/key_list_jessicaeto.txt
347
+ - features/data/remote_commands/key_rm_hal_igorbonadio.txt
348
+ - features/data/remote_commands/key_rm_hal_jessicaeto.txt
349
+ - features/data/remote_commands/repo_list_igorbonadio.txt
350
+ - features/data/remote_commands/repo_list_jessicaeto.txt
351
+ - features/data/remote_commands/version_igorbonadio.txt
352
+ - features/data/remote_commands/version_jessicaeto.txt
353
+ - features/install.feature
354
+ - features/local.feature
355
+ - features/remote.feature
356
+ - features/step_definitions/background_step.rb
357
+ - features/step_definitions/install_step.rb
358
+ - features/step_definitions/local_step.rb
359
+ - features/step_definitions/remote_step.rb
219
360
  - features/support/database_cleaner.rb
220
361
  - features/support/env.rb
221
362
  - gritano.gemspec
@@ -255,7 +396,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
255
396
  version: '0'
256
397
  segments:
257
398
  - 0
258
- hash: 4484062896934626166
399
+ hash: 3314074490218943518
259
400
  required_rubygems_version: !ruby/object:Gem::Requirement
260
401
  none: false
261
402
  requirements: