gritano 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. data/Gemfile +9 -17
  2. data/Gemfile.lock +78 -50
  3. data/Guardfile +9 -0
  4. data/README.rdoc +23 -24
  5. data/Rakefile +8 -12
  6. data/TODO +12 -8
  7. data/VERSION +1 -1
  8. data/bin/gritano +8 -1
  9. data/bin/gritano-remote +16 -2
  10. data/gritano.gemspec +52 -230
  11. data/lib/gritano.rb +12 -6
  12. data/lib/gritano/config.rb +11 -31
  13. data/lib/gritano/console/base.rb +6 -74
  14. data/lib/gritano/console/git.rb +29 -0
  15. data/lib/gritano/console/local.rb +131 -0
  16. data/lib/gritano/console/remote.rb +47 -93
  17. data/lib/gritano/core/key.rb +18 -0
  18. data/lib/gritano/core/user.rb +12 -0
  19. data/lib/gritano/helpers.rb +52 -0
  20. data/lib/gritano/renderer.rb +36 -0
  21. data/lib/gritano/thor.rb +27 -0
  22. data/spec/data/development.yml +2 -0
  23. data/spec/gritano/console/git_spec.rb +55 -0
  24. data/spec/gritano/console/local_spec.rb +148 -0
  25. data/spec/gritano/console/remote_spec.rb +56 -0
  26. data/spec/gritano/core/key_spec.rb +21 -0
  27. data/spec/gritano/core/user_spec.rb +43 -0
  28. data/spec/gritano/helpers_spec.rb +113 -0
  29. data/spec/gritano/thor_spec.rb +29 -0
  30. data/spec/spec_helper.rb +1 -16
  31. data/templates/local.gritano +4 -0
  32. data/templates/remote.gritano +5 -0
  33. metadata +61 -280
  34. data/.gritano/config.yml +0 -2
  35. data/.gritano/database.yml +0 -2
  36. data/.ssh/.gitignore +0 -4
  37. data/bin/gritano-pub-key +0 -15
  38. data/db/migrate/001_create_users.rb +0 -8
  39. data/db/migrate/002_create_repositories.rb +0 -9
  40. data/db/migrate/003_create_permissions.rb +0 -10
  41. data/db/migrate/004_create_keys.rb +0 -11
  42. data/db/migrate/005_add_admin_to_users.rb +0 -10
  43. data/db/migrate/006_add_email_to_users.rb +0 -10
  44. data/db/migrate/007_add_password_to_users.rb +0 -10
  45. data/db/migrate/008_remove_password_from_user.rb +0 -10
  46. data/db/migrate/009_remove_email_from_users.rb +0 -10
  47. data/features/data/config_true.yml +0 -2
  48. data/features/data/local_commands/repo_add_tmp_jeka_git.txt +0 -1
  49. data/features/data/local_commands/repo_add_tmp_p_lang_git.txt +0 -1
  50. data/features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio.txt +0 -1
  51. data/features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt +0 -1
  52. data/features/data/local_commands/repo_list.txt +0 -6
  53. data/features/data/local_commands/repo_read_add_tmp_gritano_git_arybonadio.txt +0 -1
  54. data/features/data/local_commands/repo_read_add_tmp_gritano_git_jessicaeto.txt +0 -1
  55. data/features/data/local_commands/repo_read_add_tmp_p_lang_git_jessicaeto.txt +0 -1
  56. data/features/data/local_commands/repo_read_rm_tmp_jeka_git_aribonadio.txt +0 -1
  57. data/features/data/local_commands/repo_read_rm_tmp_jeka_git_igorbonadio.txt +0 -1
  58. data/features/data/local_commands/repo_read_rm_tmp_p_lang_git_igorbonadio.txt +0 -1
  59. data/features/data/local_commands/repo_rm_tmp_jeka_git.txt +0 -1
  60. data/features/data/local_commands/repo_rm_tmp_p_lang_git.txt +0 -1
  61. data/features/data/local_commands/repo_user_list_tmp_jeka_git.txt +0 -6
  62. data/features/data/local_commands/repo_user_list_tmp_ruby_git.txt +0 -1
  63. data/features/data/local_commands/repo_write_add_tmp_gritano_git_arybonadio.txt +0 -1
  64. data/features/data/local_commands/repo_write_add_tmp_gritano_git_jessicaeto.txt +0 -1
  65. data/features/data/local_commands/repo_write_add_tmp_p_lang_git_jessicaeto.txt +0 -1
  66. data/features/data/local_commands/repo_write_rm_tmp_gritano_git_arybonadio.txt +0 -1
  67. data/features/data/local_commands/repo_write_rm_tmp_gritano_git_igorbonadio.txt +0 -1
  68. data/features/data/local_commands/repo_write_rm_tmp_p_lang_git_igorbonadio.txt +0 -1
  69. data/features/data/local_commands/user_add_igorbonadio.txt +0 -1
  70. data/features/data/local_commands/user_add_jose.txt +0 -1
  71. data/features/data/local_commands/user_admin_add_arybonadio.txt +0 -1
  72. data/features/data/local_commands/user_admin_add_igorbonadio.txt +0 -1
  73. data/features/data/local_commands/user_admin_rm_arybonadio.txt +0 -1
  74. data/features/data/local_commands/user_admin_rm_igorbonadio.txt +0 -1
  75. data/features/data/local_commands/user_key_add_igorbonadio_marvin.txt +0 -1
  76. data/features/data/local_commands/user_key_add_userrr_marvino.txt +0 -1
  77. data/features/data/local_commands/user_key_list_arybonadio.txt +0 -1
  78. data/features/data/local_commands/user_key_list_igorbonadio.txt +0 -5
  79. data/features/data/local_commands/user_key_rm_igorbonadio_eva.txt +0 -1
  80. data/features/data/local_commands/user_key_rm_igorbonadio_marvino.txt +0 -1
  81. data/features/data/local_commands/user_list.txt +0 -6
  82. data/features/data/local_commands/user_repo_list_arybonadio.txt +0 -1
  83. data/features/data/local_commands/user_repo_list_igorbonadio.txt +0 -6
  84. data/features/data/local_commands/user_rm_igorbonadio.txt +0 -1
  85. data/features/data/local_commands/user_rm_jose.txt +0 -1
  86. data/features/data/local_commands/version.txt +0 -1
  87. data/features/data/local_help.txt +0 -32
  88. data/features/data/remote_commands/admin_help_igorbonadio.txt +0 -32
  89. data/features/data/remote_commands/admin_help_jessicaeto.txt +0 -32
  90. data/features/data/remote_commands/admin_repo_add_tmp_jeka_git_igorbonadio.txt +0 -1
  91. data/features/data/remote_commands/admin_repo_add_tmp_jeka_git_jessicaeto.txt +0 -1
  92. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio.txt +0 -1
  93. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_igorbonadio.txt +0 -1
  94. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt +0 -1
  95. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_igorbonadio.txt +0 -1
  96. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_jessicaeto.txt +0 -1
  97. data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_jessicaeto.txt +0 -1
  98. data/features/data/remote_commands/admin_repo_list_igorbonadio.txt +0 -6
  99. data/features/data/remote_commands/admin_repo_list_jessicaeto.txt +0 -1
  100. data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_igorbonadio.txt +0 -1
  101. data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_jessicaeto.txt +0 -1
  102. data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_igorbonadio.txt +0 -1
  103. data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_jessicaeto.txt +0 -1
  104. data/features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt +0 -1
  105. data/features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt +0 -1
  106. data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_igorbonadio.txt +0 -1
  107. data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_jessicaeto.txt +0 -1
  108. data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_igorbonadio.txt +0 -1
  109. data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_jessicaeto.txt +0 -1
  110. data/features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt +0 -1
  111. data/features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt +0 -1
  112. data/features/data/remote_commands/admin_repo_rm_tmp_jeka_git_igorbonadio.txt +0 -1
  113. data/features/data/remote_commands/admin_repo_rm_tmp_jeka_git_jessicaeto.txt +0 -1
  114. data/features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_igorbonadio.txt +0 -1
  115. data/features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_jessicaeto.txt +0 -1
  116. data/features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_igorbonadio.txt +0 -6
  117. data/features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_jessicaeto.txt +0 -1
  118. data/features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_igorbonadio.txt +0 -1
  119. data/features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_jessicaeto.txt +0 -1
  120. data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_igorbonadio.txt +0 -1
  121. data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_jessicaeto.txt +0 -1
  122. data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_igorbonadio.txt +0 -1
  123. data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_jessicaeto.txt +0 -1
  124. data/features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt +0 -1
  125. data/features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt +0 -1
  126. data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_igorbonadio.txt +0 -1
  127. data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_jessicaeto.txt +0 -1
  128. data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_igorbonadio.txt +0 -1
  129. data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_jessicaeto.txt +0 -1
  130. data/features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt +0 -1
  131. data/features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt +0 -1
  132. data/features/data/remote_commands/admin_user_add_igorbonadio_igorbonadio.txt +0 -1
  133. data/features/data/remote_commands/admin_user_add_igorbonadio_jessicaeto.txt +0 -1
  134. data/features/data/remote_commands/admin_user_add_jose_igorbonadio.txt +0 -1
  135. data/features/data/remote_commands/admin_user_add_jose_jessicaeto.txt +0 -1
  136. data/features/data/remote_commands/admin_user_admin_add_arybonadio_igorbonadio.txt +0 -1
  137. data/features/data/remote_commands/admin_user_admin_add_arybonadio_jessicaeto.txt +0 -1
  138. data/features/data/remote_commands/admin_user_admin_add_igorbonadio_igorbonadio.txt +0 -1
  139. data/features/data/remote_commands/admin_user_admin_add_igorbonadio_jessicaeto.txt +0 -1
  140. data/features/data/remote_commands/admin_user_admin_rm_arybonadio_igorbonadio.txt +0 -1
  141. data/features/data/remote_commands/admin_user_admin_rm_arybonadio_jessicaeto.txt +0 -1
  142. data/features/data/remote_commands/admin_user_admin_rm_igorbonadio_igorbonadio.txt +0 -1
  143. data/features/data/remote_commands/admin_user_admin_rm_igorbonadio_jessicaeto.txt +0 -1
  144. data/features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_igorbonadio.txt +0 -1
  145. data/features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_jessicaeto.txt +0 -1
  146. data/features/data/remote_commands/admin_user_key_add_userrr_marvino_igorbonadio.txt +0 -1
  147. data/features/data/remote_commands/admin_user_key_add_userrr_marvino_jessicaeto.txt +0 -1
  148. data/features/data/remote_commands/admin_user_key_list_arybonadio_igorbonadio.txt +0 -1
  149. data/features/data/remote_commands/admin_user_key_list_arybonadio_jessicaeto.txt +0 -1
  150. data/features/data/remote_commands/admin_user_key_list_igorbonadio_igorbonadio.txt +0 -5
  151. data/features/data/remote_commands/admin_user_key_list_igorbonadio_jessicaeto.txt +0 -1
  152. data/features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_igorbonadio.txt +0 -1
  153. data/features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_jessicaeto.txt +0 -1
  154. data/features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_igorbonadio.txt +0 -1
  155. data/features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_jessicaeto.txt +0 -1
  156. data/features/data/remote_commands/admin_user_list_igorbonadio.txt +0 -6
  157. data/features/data/remote_commands/admin_user_list_jessicaeto.txt +0 -1
  158. data/features/data/remote_commands/admin_user_repo_list_arybonadio_igorbonadio.txt +0 -1
  159. data/features/data/remote_commands/admin_user_repo_list_arybonadio_jessicaeto.txt +0 -1
  160. data/features/data/remote_commands/admin_user_repo_list_igorbonadio_igorbonadio.txt +0 -6
  161. data/features/data/remote_commands/admin_user_repo_list_igorbonadio_jessicaeto.txt +0 -1
  162. data/features/data/remote_commands/admin_user_rm_igorbonadio_igorbonadio.txt +0 -1
  163. data/features/data/remote_commands/admin_user_rm_igorbonadio_jessicaeto.txt +0 -1
  164. data/features/data/remote_commands/admin_user_rm_jose_igorbonadio.txt +0 -1
  165. data/features/data/remote_commands/admin_user_rm_jose_jessicaeto.txt +0 -1
  166. data/features/data/remote_commands/admin_version_igorbonadio.txt +0 -1
  167. data/features/data/remote_commands/admin_version_jessicaeto.txt +0 -1
  168. data/features/data/remote_commands/email_get_igorbonadio.txt +0 -1
  169. data/features/data/remote_commands/email_get_jessicaeto.txt +0 -1
  170. data/features/data/remote_commands/email_update_email@server_com_igorbonadio.txt +0 -1
  171. data/features/data/remote_commands/email_update_email@server_com_jessicaeto.txt +0 -1
  172. data/features/data/remote_commands/help_igorbonadio.txt +0 -14
  173. data/features/data/remote_commands/help_jessicaeto.txt +0 -14
  174. data/features/data/remote_commands/invalid_command_igorbonadio.txt +0 -14
  175. data/features/data/remote_commands/invalid_command_jessicaeto.txt +0 -14
  176. data/features/data/remote_commands/key_add_keyname_igorbonadio.txt +0 -1
  177. data/features/data/remote_commands/key_add_keyname_jessicaeto.txt +0 -1
  178. data/features/data/remote_commands/key_list_igorbonadio.txt +0 -5
  179. data/features/data/remote_commands/key_list_jessicaeto.txt +0 -5
  180. data/features/data/remote_commands/key_rm_hal_igorbonadio.txt +0 -1
  181. data/features/data/remote_commands/key_rm_hal_jessicaeto.txt +0 -1
  182. data/features/data/remote_commands/repo_list_igorbonadio.txt +0 -6
  183. data/features/data/remote_commands/repo_list_jessicaeto.txt +0 -5
  184. data/features/data/remote_commands/version_igorbonadio.txt +0 -1
  185. data/features/data/remote_commands/version_jessicaeto.txt +0 -1
  186. data/features/data/remote_help.txt +0 -14
  187. data/features/install.feature +0 -40
  188. data/features/local.feature +0 -80
  189. data/features/pub_key.feature +0 -25
  190. data/features/remote.feature +0 -150
  191. data/features/step_definitions/background_step.rb +0 -26
  192. data/features/step_definitions/install_step.rb +0 -30
  193. data/features/step_definitions/local_step.rb +0 -25
  194. data/features/step_definitions/pub_key_step.rb +0 -15
  195. data/features/step_definitions/remote_step.rb +0 -49
  196. data/features/support/database_cleaner.rb +0 -15
  197. data/features/support/env.rb +0 -30
  198. data/lib/gritano/cli.rb +0 -49
  199. data/lib/gritano/console.rb +0 -26
  200. data/lib/gritano/console/executor.rb +0 -298
  201. data/lib/gritano/console/gritano.rb +0 -35
  202. data/lib/gritano/console/installer.rb +0 -55
  203. data/lib/gritano/models.rb +0 -7
  204. data/lib/gritano/models/key.rb +0 -37
  205. data/lib/gritano/models/permission.rb +0 -39
  206. data/lib/gritano/models/repository.rb +0 -29
  207. data/lib/gritano/models/user.rb +0 -39
  208. data/spec/cli_spec.rb +0 -26
  209. data/spec/config_spec.rb +0 -64
  210. data/spec/console_base_spec.rb +0 -61
  211. data/spec/console_executor_spec.rb +0 -183
  212. data/spec/console_gritano_spec.rb +0 -121
  213. data/spec/console_installer_spec.rb +0 -28
  214. data/spec/console_remote_spec.rb +0 -70
  215. data/spec/console_spec.rb +0 -27
  216. data/spec/data/help_command_name.txt +0 -7
  217. data/spec/model_key_spec.rb +0 -44
  218. data/spec/model_permission_spec.rb +0 -72
  219. data/spec/model_repository_spec.rb +0 -56
  220. data/spec/model_user_spec.rb +0 -96
@@ -0,0 +1,113 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+
3
+ module Gritano::CLI
4
+ describe Helpers do
5
+
6
+ before(:each) do
7
+ @object = Object.new
8
+ @object.extend(Helpers)
9
+ end
10
+
11
+ describe "#create" do
12
+ it "should create valid models" do
13
+ model = double("Model")
14
+ instance = double("Instance")
15
+ params = {param: 'value'}
16
+ model.should_receive(:new).with(params).and_return(instance)
17
+ model.stub(:name).and_return("Module::Class")
18
+ instance.should_receive(:save).and_return(true)
19
+ @object.should_receive(:render_text).with(/was successfully created/)
20
+ @object.create_model(model, params)
21
+ end
22
+
23
+ it "should not create invalid models" do
24
+ model = double("Model")
25
+ instance = double("Instance")
26
+ params = {param: 'value'}
27
+ model.should_receive(:new).with(params).and_return(instance)
28
+ model.stub(:name).and_return("Module::Class")
29
+ instance.should_receive(:save).and_return(false)
30
+ @object.should_receive(:render_text).with(/an error occurred/)
31
+ @object.create_model(model, params)
32
+ end
33
+ end
34
+
35
+ describe "#update" do
36
+ it "should update valid parameters" do
37
+ instance = double("Instance")
38
+ params = {param: 'value'}
39
+ instance.should_receive(:update_attributes).with(params).and_return(true)
40
+ @object.should_receive(:render_text).with(/was successfully updated/)
41
+ @object.update_model(instance, params)
42
+ end
43
+
44
+ it "should not update invalid parameters" do
45
+ instance = double("Instance")
46
+ params = {param: 'value'}
47
+ instance.should_receive(:update_attributes).with(params).and_return(false)
48
+ @object.should_receive(:render_text).with(/an error occurred/)
49
+ @object.update_model(instance, params)
50
+ end
51
+ end
52
+
53
+ describe "#destroy" do
54
+ it "should destroy valid instances" do
55
+ model = double("Model")
56
+ instance = double("Instance")
57
+ params = {param: 'value'}
58
+ model.should_receive(:where).with(params).and_return([instance])
59
+ model.stub(:name).and_return("Module::Class")
60
+ instance.should_receive(:destroy).and_return(true)
61
+ @object.should_receive(:render_text).with(/was successfully destroyed/)
62
+ @object.destroy_model(model, params)
63
+ end
64
+
65
+ it "should not destroy invalid instances" do
66
+ model = double("Model")
67
+ params = {param: 'value'}
68
+ model.should_receive(:where).with(params).and_return([])
69
+ model.stub(:name).and_return("Module::Class")
70
+ @object.should_receive(:render_text).with(/doens't exist/)
71
+ @object.destroy_model(model, params)
72
+ end
73
+ end
74
+
75
+ describe "#use_if" do
76
+ it "should use non-nil objects" do
77
+ obj = double("NonNil")
78
+ obj.should_receive(:touch)
79
+ @object.use_if_not_nil(true) { obj.touch }
80
+ end
81
+
82
+ it "should not use nil objects" do
83
+ obj = double("Nil")
84
+ obj.should_not_receive(:touch)
85
+ @object.should_receive(:render_text).with(/an error occurred/)
86
+ @object.use_if_not_nil(nil) { obj.touch }
87
+ end
88
+ end
89
+
90
+ describe "#change_access" do
91
+ it "should change valid access" do
92
+ user = double("User")
93
+ repo = double("Repo")
94
+ user.should_receive(:send).and_return(true)
95
+ @object.should_receive(:render_text).with(/done/)
96
+ @object.try_change_access(user, repo, :add, :read)
97
+ end
98
+
99
+ it "should not change invalid access" do
100
+ user = double("User")
101
+ repo = double("Repo")
102
+ user.should_receive(:send).and_return(false)
103
+ @object.should_receive(:render_text).with(/an error occurred/)
104
+ @object.try_change_access(user, repo, :add, :read)
105
+ end
106
+ end
107
+
108
+ it "should help to check if an option is valid" do
109
+ @object.valid_options?({}).should be_nil
110
+ @object.valid_options?({some: :thing}).should be_true
111
+ end
112
+ end
113
+ end
@@ -0,0 +1,29 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
+
3
+ module Gritano::CLI
4
+ describe Thor do
5
+ it "should define tasks" do
6
+ Thor.should respond_to(:define_task)
7
+ end
8
+
9
+ it "should define an instance method for a task" do
10
+ Thor.define_task("gritano:task") do end
11
+ Thor.new.should respond_to("gritano:task")
12
+ end
13
+
14
+ it "should define a description for a task" do
15
+ Thor.should_receive(:desc).with("gritano:task", "some gritano task")
16
+ Thor.define_task("gritano:task", "some gritano task") do end
17
+ end
18
+
19
+ it "should define a description for a task that have parameters" do
20
+ Thor.should_receive(:desc).with("gritano:task NAME ORDER", "some gritano task")
21
+ Thor.define_task("gritano:task", "some gritano task") do |name, order| end
22
+ end
23
+
24
+ it "should define a simple description for a task that doens't have description" do
25
+ Thor.should_receive(:desc).with("gritano:task NAME ORDER", "")
26
+ Thor.define_task("gritano:task") do |name, order| end
27
+ end
28
+ end
29
+ end
@@ -1,14 +1,11 @@
1
1
  require 'simplecov'
2
2
  SimpleCov.start do
3
- add_filter "/features/"
4
3
  add_filter "/spec/"
5
4
  end
6
-
5
+
7
6
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
8
7
  $LOAD_PATH.unshift(File.dirname(__FILE__))
9
8
  require 'rspec'
10
- require 'database_cleaner'
11
- require 'active_record'
12
9
  require 'gritano'
13
10
 
14
11
  # Requires supporting files with custom matchers and macros, etc,
@@ -16,17 +13,5 @@ require 'gritano'
16
13
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
17
14
 
18
15
  RSpec.configure do |config|
19
- config.before(:suite) do
20
- ActiveRecord::Base.establish_connection(YAML::load(File.open('.gritano/database.yml')))
21
- DatabaseCleaner.strategy = :transaction
22
- DatabaseCleaner.clean_with(:truncation)
23
- end
24
-
25
- config.before(:each) do
26
- DatabaseCleaner.start
27
- end
28
16
 
29
- config.after(:each) do
30
- DatabaseCleaner.clean
31
- end
32
17
  end
@@ -0,0 +1,4 @@
1
+ Gritano::CLI.configure do |config|
2
+ config.database_connection = File.open(File.join(Etc.getpwuid.dir, '.gritano/database.yml'))
3
+ config.repository_path = File.join(Etc.getpwuid.dir)
4
+ end
@@ -0,0 +1,5 @@
1
+ Gritano::CLI.configure do |config|
2
+ config.database_connection = File.open(File.join(Etc.getpwuid.dir, '.gritano/database.yml'))
3
+ config.repository_path = File.join(Etc.getpwuid.dir)
4
+ config.remote_ssh_prefix = 'ssh git@server.com'
5
+ end
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: 1.0.0
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,62 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-29 00:00:00.000000000 Z
12
+ date: 2013-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: activerecord
15
+ name: thor
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 3.2.8
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 3.2.8
30
- - !ruby/object:Gem::Dependency
31
- name: sqlite3
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: 1.3.6
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
19
+ - - ~>
44
20
  - !ruby/object:Gem::Version
45
- version: 1.3.6
46
- - !ruby/object:Gem::Dependency
47
- name: grit
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: 2.5.0
21
+ version: 0.18.1
54
22
  type: :runtime
55
23
  prerelease: false
56
24
  version_requirements: !ruby/object:Gem::Requirement
57
25
  none: false
58
26
  requirements:
59
- - - ! '>='
27
+ - - ~>
60
28
  - !ruby/object:Gem::Version
61
- version: 2.5.0
29
+ version: 0.18.1
62
30
  - !ruby/object:Gem::Dependency
63
31
  name: terminal-table
64
32
  requirement: !ruby/object:Gem::Requirement
65
33
  none: false
66
34
  requirements:
67
- - - ! '>='
35
+ - - ~>
68
36
  - !ruby/object:Gem::Version
69
37
  version: 1.4.5
70
38
  type: :runtime
@@ -72,95 +40,79 @@ dependencies:
72
40
  version_requirements: !ruby/object:Gem::Requirement
73
41
  none: false
74
42
  requirements:
75
- - - ! '>='
43
+ - - ~>
76
44
  - !ruby/object:Gem::Version
77
45
  version: 1.4.5
78
46
  - !ruby/object:Gem::Dependency
79
- name: bcrypt-ruby
47
+ name: gritano-core
80
48
  requirement: !ruby/object:Gem::Requirement
81
49
  none: false
82
50
  requirements:
83
- - - ! '>='
51
+ - - ~>
84
52
  - !ruby/object:Gem::Version
85
- version: '0'
53
+ version: 2.0.0
86
54
  type: :runtime
87
55
  prerelease: false
88
56
  version_requirements: !ruby/object:Gem::Requirement
89
57
  none: false
90
58
  requirements:
91
- - - ! '>='
59
+ - - ~>
92
60
  - !ruby/object:Gem::Version
93
- version: '0'
61
+ version: 2.0.0
94
62
  - !ruby/object:Gem::Dependency
95
- name: rspec
63
+ name: sqlite3
96
64
  requirement: !ruby/object:Gem::Requirement
97
65
  none: false
98
66
  requirements:
99
- - - ! '>='
67
+ - - ~>
100
68
  - !ruby/object:Gem::Version
101
- version: 2.11.0
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: 2.11.0
110
- - !ruby/object:Gem::Dependency
111
- name: rdoc
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '3.12'
118
- type: :development
69
+ version: 1.3.7
70
+ type: :runtime
119
71
  prerelease: false
120
72
  version_requirements: !ruby/object:Gem::Requirement
121
73
  none: false
122
74
  requirements:
123
- - - ! '>='
75
+ - - ~>
124
76
  - !ruby/object:Gem::Version
125
- version: '3.12'
77
+ version: 1.3.7
126
78
  - !ruby/object:Gem::Dependency
127
- name: cucumber
79
+ name: rspec
128
80
  requirement: !ruby/object:Gem::Requirement
129
81
  none: false
130
82
  requirements:
131
- - - ! '>='
83
+ - - ~>
132
84
  - !ruby/object:Gem::Version
133
- version: 1.2.1
85
+ version: 2.13.0
134
86
  type: :development
135
87
  prerelease: false
136
88
  version_requirements: !ruby/object:Gem::Requirement
137
89
  none: false
138
90
  requirements:
139
- - - ! '>='
91
+ - - ~>
140
92
  - !ruby/object:Gem::Version
141
- version: 1.2.1
93
+ version: 2.13.0
142
94
  - !ruby/object:Gem::Dependency
143
- name: bundler
95
+ name: rdoc
144
96
  requirement: !ruby/object:Gem::Requirement
145
97
  none: false
146
98
  requirements:
147
- - - ! '>='
99
+ - - ~>
148
100
  - !ruby/object:Gem::Version
149
- version: '1.0'
101
+ version: 4.0.0
150
102
  type: :development
151
103
  prerelease: false
152
104
  version_requirements: !ruby/object:Gem::Requirement
153
105
  none: false
154
106
  requirements:
155
- - - ! '>='
107
+ - - ~>
156
108
  - !ruby/object:Gem::Version
157
- version: '1.0'
109
+ version: 4.0.0
158
110
  - !ruby/object:Gem::Dependency
159
111
  name: jeweler
160
112
  requirement: !ruby/object:Gem::Requirement
161
113
  none: false
162
114
  requirements:
163
- - - ! '>='
115
+ - - ~>
164
116
  - !ruby/object:Gem::Version
165
117
  version: 1.8.4
166
118
  type: :development
@@ -168,7 +120,7 @@ dependencies:
168
120
  version_requirements: !ruby/object:Gem::Requirement
169
121
  none: false
170
122
  requirements:
171
- - - ! '>='
123
+ - - ~>
172
124
  - !ruby/object:Gem::Version
173
125
  version: 1.8.4
174
126
  - !ruby/object:Gem::Dependency
@@ -176,25 +128,25 @@ dependencies:
176
128
  requirement: !ruby/object:Gem::Requirement
177
129
  none: false
178
130
  requirements:
179
- - - ! '>='
131
+ - - ~>
180
132
  - !ruby/object:Gem::Version
181
- version: 0.6.4
133
+ version: 0.7.0
182
134
  type: :development
183
135
  prerelease: false
184
136
  version_requirements: !ruby/object:Gem::Requirement
185
137
  none: false
186
138
  requirements:
187
- - - ! '>='
139
+ - - ~>
188
140
  - !ruby/object:Gem::Version
189
- version: 0.6.4
141
+ version: 0.7.0
190
142
  - !ruby/object:Gem::Dependency
191
- name: database_cleaner
143
+ name: guard-rspec
192
144
  requirement: !ruby/object:Gem::Requirement
193
145
  none: false
194
146
  requirements:
195
147
  - - ! '>='
196
148
  - !ruby/object:Gem::Version
197
- version: 0.8.0
149
+ version: '0'
198
150
  type: :development
199
151
  prerelease: false
200
152
  version_requirements: !ruby/object:Gem::Requirement
@@ -202,13 +154,11 @@ dependencies:
202
154
  requirements:
203
155
  - - ! '>='
204
156
  - !ruby/object:Gem::Version
205
- version: 0.8.0
206
- description: Gritano is the simplest way to configure your git server over ssh. You
207
- can create repositories and manage user access.
157
+ version: '0'
158
+ description: Gritano is a tool to configure git servers over ssh
208
159
  email: igorbonadio@gmail.com
209
160
  executables:
210
161
  - gritano
211
- - gritano-pub-key
212
162
  - gritano-remote
213
163
  extensions: []
214
164
  extra_rdoc_files:
@@ -217,211 +167,42 @@ extra_rdoc_files:
217
167
  - TODO
218
168
  files:
219
169
  - .document
220
- - .gritano/config.yml
221
- - .gritano/database.yml
222
170
  - .rspec
223
- - .ssh/.gitignore
224
171
  - .travis.yml
225
172
  - Gemfile
226
173
  - Gemfile.lock
174
+ - Guardfile
227
175
  - LICENSE.txt
228
176
  - README.rdoc
229
177
  - Rakefile
230
178
  - VERSION
231
179
  - bin/gritano
232
- - bin/gritano-pub-key
233
180
  - bin/gritano-remote
234
- - db/migrate/001_create_users.rb
235
- - db/migrate/002_create_repositories.rb
236
- - db/migrate/003_create_permissions.rb
237
- - db/migrate/004_create_keys.rb
238
- - db/migrate/005_add_admin_to_users.rb
239
- - db/migrate/006_add_email_to_users.rb
240
- - db/migrate/007_add_password_to_users.rb
241
- - db/migrate/008_remove_password_from_user.rb
242
- - db/migrate/009_remove_email_from_users.rb
243
- - features/data/config_true.yml
244
- - features/data/local_commands/repo_add_tmp_jeka_git.txt
245
- - features/data/local_commands/repo_add_tmp_p_lang_git.txt
246
- - features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio.txt
247
- - features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt
248
- - features/data/local_commands/repo_list.txt
249
- - features/data/local_commands/repo_read_add_tmp_gritano_git_arybonadio.txt
250
- - features/data/local_commands/repo_read_add_tmp_gritano_git_jessicaeto.txt
251
- - features/data/local_commands/repo_read_add_tmp_p_lang_git_jessicaeto.txt
252
- - features/data/local_commands/repo_read_rm_tmp_jeka_git_aribonadio.txt
253
- - features/data/local_commands/repo_read_rm_tmp_jeka_git_igorbonadio.txt
254
- - features/data/local_commands/repo_read_rm_tmp_p_lang_git_igorbonadio.txt
255
- - features/data/local_commands/repo_rm_tmp_jeka_git.txt
256
- - features/data/local_commands/repo_rm_tmp_p_lang_git.txt
257
- - features/data/local_commands/repo_user_list_tmp_jeka_git.txt
258
- - features/data/local_commands/repo_user_list_tmp_ruby_git.txt
259
- - features/data/local_commands/repo_write_add_tmp_gritano_git_arybonadio.txt
260
- - features/data/local_commands/repo_write_add_tmp_gritano_git_jessicaeto.txt
261
- - features/data/local_commands/repo_write_add_tmp_p_lang_git_jessicaeto.txt
262
- - features/data/local_commands/repo_write_rm_tmp_gritano_git_arybonadio.txt
263
- - features/data/local_commands/repo_write_rm_tmp_gritano_git_igorbonadio.txt
264
- - features/data/local_commands/repo_write_rm_tmp_p_lang_git_igorbonadio.txt
265
- - features/data/local_commands/user_add_igorbonadio.txt
266
- - features/data/local_commands/user_add_jose.txt
267
- - features/data/local_commands/user_admin_add_arybonadio.txt
268
- - features/data/local_commands/user_admin_add_igorbonadio.txt
269
- - features/data/local_commands/user_admin_rm_arybonadio.txt
270
- - features/data/local_commands/user_admin_rm_igorbonadio.txt
271
- - features/data/local_commands/user_key_add_igorbonadio_marvin.txt
272
- - features/data/local_commands/user_key_add_userrr_marvino.txt
273
- - features/data/local_commands/user_key_list_arybonadio.txt
274
- - features/data/local_commands/user_key_list_igorbonadio.txt
275
- - features/data/local_commands/user_key_rm_igorbonadio_eva.txt
276
- - features/data/local_commands/user_key_rm_igorbonadio_marvino.txt
277
- - features/data/local_commands/user_list.txt
278
- - features/data/local_commands/user_repo_list_arybonadio.txt
279
- - features/data/local_commands/user_repo_list_igorbonadio.txt
280
- - features/data/local_commands/user_rm_igorbonadio.txt
281
- - features/data/local_commands/user_rm_jose.txt
282
- - features/data/local_commands/version.txt
283
- - features/data/local_help.txt
284
- - features/data/remote_commands/admin_help_igorbonadio.txt
285
- - features/data/remote_commands/admin_help_jessicaeto.txt
286
- - features/data/remote_commands/admin_repo_add_tmp_jeka_git_igorbonadio.txt
287
- - features/data/remote_commands/admin_repo_add_tmp_jeka_git_jessicaeto.txt
288
- - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio.txt
289
- - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_igorbonadio.txt
290
- - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt
291
- - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_igorbonadio.txt
292
- - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_jessicaeto.txt
293
- - features/data/remote_commands/admin_repo_add_tmp_p_lang_git_jessicaeto.txt
294
- - features/data/remote_commands/admin_repo_list_igorbonadio.txt
295
- - features/data/remote_commands/admin_repo_list_jessicaeto.txt
296
- - features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_igorbonadio.txt
297
- - features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_jessicaeto.txt
298
- - features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_igorbonadio.txt
299
- - features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_jessicaeto.txt
300
- - features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt
301
- - features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt
302
- - features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_igorbonadio.txt
303
- - features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_jessicaeto.txt
304
- - features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_igorbonadio.txt
305
- - features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_jessicaeto.txt
306
- - features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt
307
- - features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt
308
- - features/data/remote_commands/admin_repo_rm_tmp_jeka_git_igorbonadio.txt
309
- - features/data/remote_commands/admin_repo_rm_tmp_jeka_git_jessicaeto.txt
310
- - features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_igorbonadio.txt
311
- - features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_jessicaeto.txt
312
- - features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_igorbonadio.txt
313
- - features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_jessicaeto.txt
314
- - features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_igorbonadio.txt
315
- - features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_jessicaeto.txt
316
- - features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_igorbonadio.txt
317
- - features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_jessicaeto.txt
318
- - features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_igorbonadio.txt
319
- - features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_jessicaeto.txt
320
- - features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt
321
- - features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt
322
- - features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_igorbonadio.txt
323
- - features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_jessicaeto.txt
324
- - features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_igorbonadio.txt
325
- - features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_jessicaeto.txt
326
- - features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt
327
- - features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt
328
- - features/data/remote_commands/admin_user_add_igorbonadio_igorbonadio.txt
329
- - features/data/remote_commands/admin_user_add_igorbonadio_jessicaeto.txt
330
- - features/data/remote_commands/admin_user_add_jose_igorbonadio.txt
331
- - features/data/remote_commands/admin_user_add_jose_jessicaeto.txt
332
- - features/data/remote_commands/admin_user_admin_add_arybonadio_igorbonadio.txt
333
- - features/data/remote_commands/admin_user_admin_add_arybonadio_jessicaeto.txt
334
- - features/data/remote_commands/admin_user_admin_add_igorbonadio_igorbonadio.txt
335
- - features/data/remote_commands/admin_user_admin_add_igorbonadio_jessicaeto.txt
336
- - features/data/remote_commands/admin_user_admin_rm_arybonadio_igorbonadio.txt
337
- - features/data/remote_commands/admin_user_admin_rm_arybonadio_jessicaeto.txt
338
- - features/data/remote_commands/admin_user_admin_rm_igorbonadio_igorbonadio.txt
339
- - features/data/remote_commands/admin_user_admin_rm_igorbonadio_jessicaeto.txt
340
- - features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_igorbonadio.txt
341
- - features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_jessicaeto.txt
342
- - features/data/remote_commands/admin_user_key_add_userrr_marvino_igorbonadio.txt
343
- - features/data/remote_commands/admin_user_key_add_userrr_marvino_jessicaeto.txt
344
- - features/data/remote_commands/admin_user_key_list_arybonadio_igorbonadio.txt
345
- - features/data/remote_commands/admin_user_key_list_arybonadio_jessicaeto.txt
346
- - features/data/remote_commands/admin_user_key_list_igorbonadio_igorbonadio.txt
347
- - features/data/remote_commands/admin_user_key_list_igorbonadio_jessicaeto.txt
348
- - features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_igorbonadio.txt
349
- - features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_jessicaeto.txt
350
- - features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_igorbonadio.txt
351
- - features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_jessicaeto.txt
352
- - features/data/remote_commands/admin_user_list_igorbonadio.txt
353
- - features/data/remote_commands/admin_user_list_jessicaeto.txt
354
- - features/data/remote_commands/admin_user_repo_list_arybonadio_igorbonadio.txt
355
- - features/data/remote_commands/admin_user_repo_list_arybonadio_jessicaeto.txt
356
- - features/data/remote_commands/admin_user_repo_list_igorbonadio_igorbonadio.txt
357
- - features/data/remote_commands/admin_user_repo_list_igorbonadio_jessicaeto.txt
358
- - features/data/remote_commands/admin_user_rm_igorbonadio_igorbonadio.txt
359
- - features/data/remote_commands/admin_user_rm_igorbonadio_jessicaeto.txt
360
- - features/data/remote_commands/admin_user_rm_jose_igorbonadio.txt
361
- - features/data/remote_commands/admin_user_rm_jose_jessicaeto.txt
362
- - features/data/remote_commands/admin_version_igorbonadio.txt
363
- - features/data/remote_commands/admin_version_jessicaeto.txt
364
- - features/data/remote_commands/email_get_igorbonadio.txt
365
- - features/data/remote_commands/email_get_jessicaeto.txt
366
- - features/data/remote_commands/email_update_email@server_com_igorbonadio.txt
367
- - features/data/remote_commands/email_update_email@server_com_jessicaeto.txt
368
- - features/data/remote_commands/help_igorbonadio.txt
369
- - features/data/remote_commands/help_jessicaeto.txt
370
- - features/data/remote_commands/invalid_command_igorbonadio.txt
371
- - features/data/remote_commands/invalid_command_jessicaeto.txt
372
- - features/data/remote_commands/key_add_keyname_igorbonadio.txt
373
- - features/data/remote_commands/key_add_keyname_jessicaeto.txt
374
- - features/data/remote_commands/key_list_igorbonadio.txt
375
- - features/data/remote_commands/key_list_jessicaeto.txt
376
- - features/data/remote_commands/key_rm_hal_igorbonadio.txt
377
- - features/data/remote_commands/key_rm_hal_jessicaeto.txt
378
- - features/data/remote_commands/repo_list_igorbonadio.txt
379
- - features/data/remote_commands/repo_list_jessicaeto.txt
380
- - features/data/remote_commands/version_igorbonadio.txt
381
- - features/data/remote_commands/version_jessicaeto.txt
382
- - features/data/remote_help.txt
383
- - features/install.feature
384
- - features/local.feature
385
- - features/pub_key.feature
386
- - features/remote.feature
387
- - features/step_definitions/background_step.rb
388
- - features/step_definitions/install_step.rb
389
- - features/step_definitions/local_step.rb
390
- - features/step_definitions/pub_key_step.rb
391
- - features/step_definitions/remote_step.rb
392
- - features/support/database_cleaner.rb
393
- - features/support/env.rb
394
181
  - gritano.gemspec
395
182
  - lib/gritano.rb
396
- - lib/gritano/cli.rb
397
183
  - lib/gritano/config.rb
398
- - lib/gritano/console.rb
399
184
  - lib/gritano/console/base.rb
400
- - lib/gritano/console/executor.rb
401
- - lib/gritano/console/gritano.rb
402
- - lib/gritano/console/installer.rb
185
+ - lib/gritano/console/git.rb
186
+ - lib/gritano/console/local.rb
403
187
  - lib/gritano/console/remote.rb
404
- - lib/gritano/models.rb
405
- - lib/gritano/models/key.rb
406
- - lib/gritano/models/permission.rb
407
- - lib/gritano/models/repository.rb
408
- - lib/gritano/models/user.rb
409
- - spec/cli_spec.rb
410
- - spec/config_spec.rb
411
- - spec/console_base_spec.rb
412
- - spec/console_executor_spec.rb
413
- - spec/console_gritano_spec.rb
414
- - spec/console_installer_spec.rb
415
- - spec/console_remote_spec.rb
416
- - spec/console_spec.rb
417
- - spec/data/help_command_name.txt
418
- - spec/model_key_spec.rb
419
- - spec/model_permission_spec.rb
420
- - spec/model_repository_spec.rb
421
- - spec/model_user_spec.rb
188
+ - lib/gritano/core/key.rb
189
+ - lib/gritano/core/user.rb
190
+ - lib/gritano/helpers.rb
191
+ - lib/gritano/renderer.rb
192
+ - lib/gritano/thor.rb
193
+ - spec/data/development.yml
194
+ - spec/gritano/console/git_spec.rb
195
+ - spec/gritano/console/local_spec.rb
196
+ - spec/gritano/console/remote_spec.rb
197
+ - spec/gritano/core/key_spec.rb
198
+ - spec/gritano/core/user_spec.rb
199
+ - spec/gritano/helpers_spec.rb
200
+ - spec/gritano/thor_spec.rb
422
201
  - spec/spec_helper.rb
202
+ - templates/local.gritano
203
+ - templates/remote.gritano
423
204
  - TODO
424
- homepage: http://gritano.org
205
+ homepage: http://github.com/igorbonadio/gritano
425
206
  licenses:
426
207
  - MIT
427
208
  post_install_message:
@@ -436,7 +217,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
436
217
  version: '0'
437
218
  segments:
438
219
  - 0
439
- hash: 1622617840665137676
220
+ hash: -4020475070474021160
440
221
  required_rubygems_version: !ruby/object:Gem::Requirement
441
222
  none: false
442
223
  requirements:
@@ -448,5 +229,5 @@ rubyforge_project:
448
229
  rubygems_version: 1.8.25
449
230
  signing_key:
450
231
  specification_version: 3
451
- summary: Gritano is a tool to configure your git server over ssh
232
+ summary: Gritano is a tool to configure git servers over ssh
452
233
  test_files: []