gritano 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +9 -17
- data/Gemfile.lock +78 -50
- data/Guardfile +9 -0
- data/README.rdoc +23 -24
- data/Rakefile +8 -12
- data/TODO +12 -8
- data/VERSION +1 -1
- data/bin/gritano +8 -1
- data/bin/gritano-remote +16 -2
- data/gritano.gemspec +52 -230
- data/lib/gritano.rb +12 -6
- data/lib/gritano/config.rb +11 -31
- data/lib/gritano/console/base.rb +6 -74
- data/lib/gritano/console/git.rb +29 -0
- data/lib/gritano/console/local.rb +131 -0
- data/lib/gritano/console/remote.rb +47 -93
- data/lib/gritano/core/key.rb +18 -0
- data/lib/gritano/core/user.rb +12 -0
- data/lib/gritano/helpers.rb +52 -0
- data/lib/gritano/renderer.rb +36 -0
- data/lib/gritano/thor.rb +27 -0
- data/spec/data/development.yml +2 -0
- data/spec/gritano/console/git_spec.rb +55 -0
- data/spec/gritano/console/local_spec.rb +148 -0
- data/spec/gritano/console/remote_spec.rb +56 -0
- data/spec/gritano/core/key_spec.rb +21 -0
- data/spec/gritano/core/user_spec.rb +43 -0
- data/spec/gritano/helpers_spec.rb +113 -0
- data/spec/gritano/thor_spec.rb +29 -0
- data/spec/spec_helper.rb +1 -16
- data/templates/local.gritano +4 -0
- data/templates/remote.gritano +5 -0
- metadata +61 -280
- data/.gritano/config.yml +0 -2
- data/.gritano/database.yml +0 -2
- data/.ssh/.gitignore +0 -4
- data/bin/gritano-pub-key +0 -15
- data/db/migrate/001_create_users.rb +0 -8
- data/db/migrate/002_create_repositories.rb +0 -9
- data/db/migrate/003_create_permissions.rb +0 -10
- data/db/migrate/004_create_keys.rb +0 -11
- data/db/migrate/005_add_admin_to_users.rb +0 -10
- data/db/migrate/006_add_email_to_users.rb +0 -10
- data/db/migrate/007_add_password_to_users.rb +0 -10
- data/db/migrate/008_remove_password_from_user.rb +0 -10
- data/db/migrate/009_remove_email_from_users.rb +0 -10
- data/features/data/config_true.yml +0 -2
- data/features/data/local_commands/repo_add_tmp_jeka_git.txt +0 -1
- data/features/data/local_commands/repo_add_tmp_p_lang_git.txt +0 -1
- data/features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio.txt +0 -1
- data/features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/local_commands/repo_list.txt +0 -6
- data/features/data/local_commands/repo_read_add_tmp_gritano_git_arybonadio.txt +0 -1
- data/features/data/local_commands/repo_read_add_tmp_gritano_git_jessicaeto.txt +0 -1
- data/features/data/local_commands/repo_read_add_tmp_p_lang_git_jessicaeto.txt +0 -1
- data/features/data/local_commands/repo_read_rm_tmp_jeka_git_aribonadio.txt +0 -1
- data/features/data/local_commands/repo_read_rm_tmp_jeka_git_igorbonadio.txt +0 -1
- data/features/data/local_commands/repo_read_rm_tmp_p_lang_git_igorbonadio.txt +0 -1
- data/features/data/local_commands/repo_rm_tmp_jeka_git.txt +0 -1
- data/features/data/local_commands/repo_rm_tmp_p_lang_git.txt +0 -1
- data/features/data/local_commands/repo_user_list_tmp_jeka_git.txt +0 -6
- data/features/data/local_commands/repo_user_list_tmp_ruby_git.txt +0 -1
- data/features/data/local_commands/repo_write_add_tmp_gritano_git_arybonadio.txt +0 -1
- data/features/data/local_commands/repo_write_add_tmp_gritano_git_jessicaeto.txt +0 -1
- data/features/data/local_commands/repo_write_add_tmp_p_lang_git_jessicaeto.txt +0 -1
- data/features/data/local_commands/repo_write_rm_tmp_gritano_git_arybonadio.txt +0 -1
- data/features/data/local_commands/repo_write_rm_tmp_gritano_git_igorbonadio.txt +0 -1
- data/features/data/local_commands/repo_write_rm_tmp_p_lang_git_igorbonadio.txt +0 -1
- data/features/data/local_commands/user_add_igorbonadio.txt +0 -1
- data/features/data/local_commands/user_add_jose.txt +0 -1
- data/features/data/local_commands/user_admin_add_arybonadio.txt +0 -1
- data/features/data/local_commands/user_admin_add_igorbonadio.txt +0 -1
- data/features/data/local_commands/user_admin_rm_arybonadio.txt +0 -1
- data/features/data/local_commands/user_admin_rm_igorbonadio.txt +0 -1
- data/features/data/local_commands/user_key_add_igorbonadio_marvin.txt +0 -1
- data/features/data/local_commands/user_key_add_userrr_marvino.txt +0 -1
- data/features/data/local_commands/user_key_list_arybonadio.txt +0 -1
- data/features/data/local_commands/user_key_list_igorbonadio.txt +0 -5
- data/features/data/local_commands/user_key_rm_igorbonadio_eva.txt +0 -1
- data/features/data/local_commands/user_key_rm_igorbonadio_marvino.txt +0 -1
- data/features/data/local_commands/user_list.txt +0 -6
- data/features/data/local_commands/user_repo_list_arybonadio.txt +0 -1
- data/features/data/local_commands/user_repo_list_igorbonadio.txt +0 -6
- data/features/data/local_commands/user_rm_igorbonadio.txt +0 -1
- data/features/data/local_commands/user_rm_jose.txt +0 -1
- data/features/data/local_commands/version.txt +0 -1
- data/features/data/local_help.txt +0 -32
- data/features/data/remote_commands/admin_help_igorbonadio.txt +0 -32
- data/features/data/remote_commands/admin_help_jessicaeto.txt +0 -32
- data/features/data/remote_commands/admin_repo_add_tmp_jeka_git_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_add_tmp_jeka_git_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_add_tmp_p_lang_git_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_list_igorbonadio.txt +0 -6
- data/features/data/remote_commands/admin_repo_list_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_rm_tmp_jeka_git_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_rm_tmp_jeka_git_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_igorbonadio.txt +0 -6
- data/features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_add_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_add_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_add_jose_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_add_jose_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_admin_add_arybonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_admin_add_arybonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_admin_add_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_admin_add_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_admin_rm_arybonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_admin_rm_arybonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_admin_rm_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_admin_rm_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_key_add_userrr_marvino_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_key_add_userrr_marvino_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_key_list_arybonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_key_list_arybonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_key_list_igorbonadio_igorbonadio.txt +0 -5
- data/features/data/remote_commands/admin_user_key_list_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_list_igorbonadio.txt +0 -6
- data/features/data/remote_commands/admin_user_list_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_repo_list_arybonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_repo_list_arybonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_repo_list_igorbonadio_igorbonadio.txt +0 -6
- data/features/data/remote_commands/admin_user_repo_list_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_rm_igorbonadio_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_rm_igorbonadio_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_user_rm_jose_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_user_rm_jose_jessicaeto.txt +0 -1
- data/features/data/remote_commands/admin_version_igorbonadio.txt +0 -1
- data/features/data/remote_commands/admin_version_jessicaeto.txt +0 -1
- data/features/data/remote_commands/email_get_igorbonadio.txt +0 -1
- data/features/data/remote_commands/email_get_jessicaeto.txt +0 -1
- data/features/data/remote_commands/email_update_email@server_com_igorbonadio.txt +0 -1
- data/features/data/remote_commands/email_update_email@server_com_jessicaeto.txt +0 -1
- data/features/data/remote_commands/help_igorbonadio.txt +0 -14
- data/features/data/remote_commands/help_jessicaeto.txt +0 -14
- data/features/data/remote_commands/invalid_command_igorbonadio.txt +0 -14
- data/features/data/remote_commands/invalid_command_jessicaeto.txt +0 -14
- data/features/data/remote_commands/key_add_keyname_igorbonadio.txt +0 -1
- data/features/data/remote_commands/key_add_keyname_jessicaeto.txt +0 -1
- data/features/data/remote_commands/key_list_igorbonadio.txt +0 -5
- data/features/data/remote_commands/key_list_jessicaeto.txt +0 -5
- data/features/data/remote_commands/key_rm_hal_igorbonadio.txt +0 -1
- data/features/data/remote_commands/key_rm_hal_jessicaeto.txt +0 -1
- data/features/data/remote_commands/repo_list_igorbonadio.txt +0 -6
- data/features/data/remote_commands/repo_list_jessicaeto.txt +0 -5
- data/features/data/remote_commands/version_igorbonadio.txt +0 -1
- data/features/data/remote_commands/version_jessicaeto.txt +0 -1
- data/features/data/remote_help.txt +0 -14
- data/features/install.feature +0 -40
- data/features/local.feature +0 -80
- data/features/pub_key.feature +0 -25
- data/features/remote.feature +0 -150
- data/features/step_definitions/background_step.rb +0 -26
- data/features/step_definitions/install_step.rb +0 -30
- data/features/step_definitions/local_step.rb +0 -25
- data/features/step_definitions/pub_key_step.rb +0 -15
- data/features/step_definitions/remote_step.rb +0 -49
- data/features/support/database_cleaner.rb +0 -15
- data/features/support/env.rb +0 -30
- data/lib/gritano/cli.rb +0 -49
- data/lib/gritano/console.rb +0 -26
- data/lib/gritano/console/executor.rb +0 -298
- data/lib/gritano/console/gritano.rb +0 -35
- data/lib/gritano/console/installer.rb +0 -55
- data/lib/gritano/models.rb +0 -7
- data/lib/gritano/models/key.rb +0 -37
- data/lib/gritano/models/permission.rb +0 -39
- data/lib/gritano/models/repository.rb +0 -29
- data/lib/gritano/models/user.rb +0 -39
- data/spec/cli_spec.rb +0 -26
- data/spec/config_spec.rb +0 -64
- data/spec/console_base_spec.rb +0 -61
- data/spec/console_executor_spec.rb +0 -183
- data/spec/console_gritano_spec.rb +0 -121
- data/spec/console_installer_spec.rb +0 -28
- data/spec/console_remote_spec.rb +0 -70
- data/spec/console_spec.rb +0 -27
- data/spec/data/help_command_name.txt +0 -7
- data/spec/model_key_spec.rb +0 -44
- data/spec/model_permission_spec.rb +0 -72
- data/spec/model_repository_spec.rb +0 -56
- 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
|
data/spec/spec_helper.rb
CHANGED
@@ -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
|
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:
|
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-
|
12
|
+
date: 2013-06-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
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:
|
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:
|
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:
|
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:
|
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:
|
61
|
+
version: 2.0.0
|
94
62
|
- !ruby/object:Gem::Dependency
|
95
|
-
name:
|
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:
|
102
|
-
type: :
|
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:
|
77
|
+
version: 1.3.7
|
126
78
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
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:
|
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:
|
93
|
+
version: 2.13.0
|
142
94
|
- !ruby/object:Gem::Dependency
|
143
|
-
name:
|
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:
|
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:
|
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.
|
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.
|
141
|
+
version: 0.7.0
|
190
142
|
- !ruby/object:Gem::Dependency
|
191
|
-
name:
|
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
|
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
|
206
|
-
description: Gritano is
|
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/
|
401
|
-
- lib/gritano/console/
|
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/
|
405
|
-
- lib/gritano/
|
406
|
-
- lib/gritano/
|
407
|
-
- lib/gritano/
|
408
|
-
- lib/gritano/
|
409
|
-
- spec/
|
410
|
-
- spec/
|
411
|
-
- spec/
|
412
|
-
- spec/
|
413
|
-
- spec/
|
414
|
-
- spec/
|
415
|
-
- spec/
|
416
|
-
- spec/
|
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
|
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:
|
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
|
232
|
+
summary: Gritano is a tool to configure git servers over ssh
|
452
233
|
test_files: []
|