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
data/Gemfile
CHANGED
@@ -1,22 +1,14 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
2
|
|
6
|
-
gem
|
7
|
-
gem
|
8
|
-
gem
|
9
|
-
gem
|
10
|
-
gem 'bcrypt-ruby'
|
3
|
+
gem "thor", "~> 0.18.1"
|
4
|
+
gem "terminal-table", "~> 1.4.5"
|
5
|
+
gem "gritano-core", "~> 2.0.0"
|
6
|
+
gem "sqlite3", "~> 1.3.7"
|
11
7
|
|
12
|
-
# Add dependencies to develop your gem here.
|
13
|
-
# Include everything needed to run rake, tests, features, etc.
|
14
8
|
group :development do
|
15
|
-
gem "rspec", "
|
16
|
-
gem "rdoc", "
|
17
|
-
gem "
|
18
|
-
gem "
|
19
|
-
gem
|
20
|
-
gem "simplecov", ">= 0.6.4"
|
21
|
-
gem 'database_cleaner', ">= 0.8.0"
|
9
|
+
gem "rspec", "~> 2.13.0"
|
10
|
+
gem "rdoc", "~> 4.0.0"
|
11
|
+
gem "jeweler", "~> 1.8.4"
|
12
|
+
gem "simplecov", "~> 0.7.0"
|
13
|
+
gem 'guard-rspec'
|
22
14
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,76 +1,104 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activemodel (
|
5
|
-
activesupport (=
|
6
|
-
builder (~> 3.
|
7
|
-
activerecord (
|
8
|
-
activemodel (=
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
json (>= 1.4.6)
|
4
|
+
activemodel (4.0.0.rc2)
|
5
|
+
activesupport (= 4.0.0.rc2)
|
6
|
+
builder (~> 3.1.0)
|
7
|
+
activerecord (4.0.0.rc2)
|
8
|
+
activemodel (= 4.0.0.rc2)
|
9
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
10
|
+
activesupport (= 4.0.0.rc2)
|
11
|
+
arel (~> 4.0.0)
|
12
|
+
activerecord-deprecated_finders (1.0.3)
|
13
|
+
activesupport (4.0.0.rc2)
|
14
|
+
i18n (~> 0.6, >= 0.6.4)
|
15
|
+
minitest (~> 4.2)
|
16
|
+
multi_json (~> 1.3)
|
17
|
+
thread_safe (~> 0.1)
|
18
|
+
tzinfo (~> 0.3.37)
|
19
|
+
arel (4.0.0)
|
20
|
+
atomic (1.1.9)
|
21
|
+
builder (3.1.4)
|
22
|
+
coderay (1.0.9)
|
23
|
+
diff-lcs (1.2.4)
|
24
|
+
ffi (1.9.0)
|
25
|
+
formatador (0.2.4)
|
27
26
|
git (1.2.5)
|
28
27
|
grit (2.5.0)
|
29
28
|
diff-lcs (~> 1.1)
|
30
29
|
mime-types (~> 1.15)
|
31
30
|
posix-spawn (~> 0.3.6)
|
32
|
-
|
31
|
+
gritano-core (2.0.0)
|
32
|
+
activerecord (~> 4.0.0.rc1)
|
33
|
+
grit (~> 2.5.0)
|
34
|
+
guard (1.8.0)
|
35
|
+
formatador (>= 0.2.4)
|
36
|
+
listen (>= 1.0.0)
|
37
|
+
lumberjack (>= 1.0.2)
|
38
|
+
pry (>= 0.9.10)
|
39
|
+
thor (>= 0.14.6)
|
40
|
+
guard-rspec (3.0.2)
|
41
|
+
guard (>= 1.8)
|
42
|
+
rspec (~> 2.13)
|
43
|
+
i18n (0.6.4)
|
33
44
|
jeweler (1.8.4)
|
34
45
|
bundler (~> 1.0)
|
35
46
|
git (>= 1.2.5)
|
36
47
|
rake
|
37
48
|
rdoc
|
38
|
-
json (1.
|
39
|
-
|
40
|
-
|
49
|
+
json (1.8.0)
|
50
|
+
listen (1.2.1)
|
51
|
+
rb-fsevent (>= 0.9.3)
|
52
|
+
rb-inotify (>= 0.9)
|
53
|
+
rb-kqueue (>= 0.2)
|
54
|
+
lumberjack (1.0.3)
|
55
|
+
method_source (0.8.1)
|
56
|
+
mime-types (1.23)
|
57
|
+
minitest (4.7.4)
|
58
|
+
multi_json (1.7.6)
|
41
59
|
posix-spawn (0.3.6)
|
42
|
-
|
43
|
-
|
60
|
+
pry (0.9.12.2)
|
61
|
+
coderay (~> 1.0.5)
|
62
|
+
method_source (~> 0.8)
|
63
|
+
slop (~> 3.4)
|
64
|
+
rake (10.0.4)
|
65
|
+
rb-fsevent (0.9.3)
|
66
|
+
rb-inotify (0.9.0)
|
67
|
+
ffi (>= 0.5.0)
|
68
|
+
rb-kqueue (0.2.0)
|
69
|
+
ffi (>= 0.5.0)
|
70
|
+
rdoc (4.0.1)
|
44
71
|
json (~> 1.4)
|
45
|
-
rspec (2.
|
46
|
-
rspec-core (~> 2.
|
47
|
-
rspec-expectations (~> 2.
|
48
|
-
rspec-mocks (~> 2.
|
49
|
-
rspec-core (2.
|
50
|
-
rspec-expectations (2.
|
51
|
-
diff-lcs (
|
52
|
-
rspec-mocks (2.
|
72
|
+
rspec (2.13.0)
|
73
|
+
rspec-core (~> 2.13.0)
|
74
|
+
rspec-expectations (~> 2.13.0)
|
75
|
+
rspec-mocks (~> 2.13.0)
|
76
|
+
rspec-core (2.13.1)
|
77
|
+
rspec-expectations (2.13.0)
|
78
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
79
|
+
rspec-mocks (2.13.1)
|
53
80
|
simplecov (0.7.1)
|
54
81
|
multi_json (~> 1.0)
|
55
82
|
simplecov-html (~> 0.7.1)
|
56
83
|
simplecov-html (0.7.1)
|
84
|
+
slop (3.4.5)
|
57
85
|
sqlite3 (1.3.7)
|
58
86
|
terminal-table (1.4.5)
|
59
|
-
|
87
|
+
thor (0.18.1)
|
88
|
+
thread_safe (0.1.0)
|
89
|
+
atomic
|
90
|
+
tzinfo (0.3.37)
|
60
91
|
|
61
92
|
PLATFORMS
|
62
93
|
ruby
|
63
94
|
|
64
95
|
DEPENDENCIES
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
simplecov (>= 0.6.4)
|
75
|
-
sqlite3 (>= 1.3.6)
|
76
|
-
terminal-table (>= 1.4.5)
|
96
|
+
gritano-core (~> 2.0.0)
|
97
|
+
guard-rspec
|
98
|
+
jeweler (~> 1.8.4)
|
99
|
+
rdoc (~> 4.0.0)
|
100
|
+
rspec (~> 2.13.0)
|
101
|
+
simplecov (~> 0.7.0)
|
102
|
+
sqlite3 (~> 1.3.7)
|
103
|
+
terminal-table (~> 1.4.5)
|
104
|
+
thor (~> 0.18.1)
|
data/Guardfile
ADDED
data/README.rdoc
CHANGED
@@ -15,19 +15,17 @@ Gritano is the simplest way to configure a git server over ssh. You can create r
|
|
15
15
|
|
16
16
|
== Update
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
$ gritano setup:install
|
23
|
-
|
18
|
+
=== 0.x.x or 1.0.0 to 2.x.x
|
19
|
+
|
20
|
+
Unfortunately, Gritano 2.x.x is not compatible with any version previous to 2.0.0.
|
21
|
+
|
24
22
|
== Usage
|
25
23
|
|
26
24
|
First of all you should create a git user who will be responsible for store and manipulate repositories. Lets suppose we are logged as this user.
|
27
25
|
|
28
26
|
All you need to do to set up Gritano is
|
29
27
|
|
30
|
-
$ gritano
|
28
|
+
$ gritano init && gritano db:migrate
|
31
29
|
|
32
30
|
After that you can add users:
|
33
31
|
|
@@ -35,7 +33,7 @@ After that you can add users:
|
|
35
33
|
|
36
34
|
add administrator rights to this user:
|
37
35
|
|
38
|
-
$ gritano user:
|
36
|
+
$ gritano user:update igorbonadio --admin=true
|
39
37
|
|
40
38
|
add user's public keys:
|
41
39
|
|
@@ -65,30 +63,30 @@ Gritano 0.2.0 introduced a new feature that enables users to execute some simple
|
|
65
63
|
|
66
64
|
$ ssh git@host.com key:add mykey < id_rsa.pub
|
67
65
|
|
68
|
-
$ ssh git@host.com key:
|
66
|
+
$ ssh git@host.com key:rm mykey
|
69
67
|
|
70
68
|
For more information, execute
|
71
69
|
|
72
70
|
$ ssh git@host.com help
|
73
|
-
|
71
|
+
|
74
72
|
== Admin Access
|
75
73
|
|
76
74
|
Starting from Gritano 0.3.0, administrators can execute commands via ssh:
|
77
75
|
|
78
|
-
$ ssh git@host.com admin
|
79
|
-
|
80
|
-
$ ssh git@host.com admin
|
81
|
-
|
82
|
-
$ ssh git@host.com admin
|
83
|
-
|
84
|
-
$ ssh git@host.com admin
|
85
|
-
|
86
|
-
$ ssh git@host.com admin
|
87
|
-
|
88
|
-
$ ssh git@host.com admin
|
89
|
-
|
90
|
-
$ ssh git@host.com admin
|
91
|
-
|
76
|
+
$ ssh git@host.com admin user:add username
|
77
|
+
|
78
|
+
$ ssh git@host.com admin user:rm username
|
79
|
+
|
80
|
+
$ ssh git@host.com admin user:key:add username keyname < key.pub
|
81
|
+
|
82
|
+
$ ssh git@host.com admin user:key:rm username keyname
|
83
|
+
|
84
|
+
$ ssh git@host.com admin repo:add reponame.git
|
85
|
+
|
86
|
+
$ ssh git@host.com admin repo:rm reponame.git
|
87
|
+
|
88
|
+
$ ssh git@host.com admin repo:list
|
89
|
+
|
92
90
|
== For more Information
|
93
91
|
|
94
92
|
http://gritano.org
|
@@ -107,3 +105,4 @@ http://gritano.org
|
|
107
105
|
|
108
106
|
Copyright (c) 2012-2013 Ígor Bonadio. See LICENSE.txt for
|
109
107
|
further details.
|
108
|
+
|
data/Rakefile
CHANGED
@@ -15,10 +15,10 @@ require 'jeweler'
|
|
15
15
|
Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
17
|
gem.name = "gritano"
|
18
|
-
gem.homepage = "http://gritano
|
18
|
+
gem.homepage = "http://github.com/igorbonadio/gritano"
|
19
19
|
gem.license = "MIT"
|
20
|
-
gem.summary = %Q{Gritano is a tool to configure
|
21
|
-
gem.description = %Q{Gritano is
|
20
|
+
gem.summary = %Q{Gritano is a tool to configure git servers over ssh}
|
21
|
+
gem.description = %Q{Gritano is a tool to configure git servers over ssh}
|
22
22
|
gem.email = "igorbonadio@gmail.com"
|
23
23
|
gem.authors = ["Igor Bonadio"]
|
24
24
|
# dependencies defined in Gemfile
|
@@ -36,10 +36,7 @@ RSpec::Core::RakeTask.new(:rcov) do |spec|
|
|
36
36
|
spec.rcov = true
|
37
37
|
end
|
38
38
|
|
39
|
-
|
40
|
-
Cucumber::Rake::Task.new(:features)
|
41
|
-
|
42
|
-
task :default => [:spec, :features]
|
39
|
+
task :default => :spec
|
43
40
|
|
44
41
|
require 'rdoc/task'
|
45
42
|
Rake::RDocTask.new do |rdoc|
|
@@ -51,12 +48,11 @@ Rake::RDocTask.new do |rdoc|
|
|
51
48
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
52
49
|
end
|
53
50
|
|
54
|
-
require '
|
55
|
-
require 'yaml'
|
51
|
+
require 'gritano-core'
|
56
52
|
namespace :db do
|
57
|
-
desc "Migrate the database
|
53
|
+
desc "Migrate the database. Target specific version with VERSION=x"
|
58
54
|
task :migrate do
|
59
|
-
|
60
|
-
|
55
|
+
FileUtils.mkdir 'tmp' unless File.exist? 'tmp'
|
56
|
+
Gritano::Core::Migration.migrate(YAML::load(File.open('spec/data/development.yml')))
|
61
57
|
end
|
62
58
|
end
|
data/TODO
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
✔
|
5
|
-
✔
|
1
|
+
v2.0.0:
|
2
|
+
✔ ler configs e executar @done (13-06-14 10:33)
|
3
|
+
✔ migrar databases @done (13-06-14 10:57)
|
4
|
+
✔ instalacao @done (13-06-14 10:33)
|
5
|
+
✔ mudar nome dos binários no help @done (13-06-14 10:33)
|
6
|
+
✔ ao criar authorized_keys, verificar se existe .ssh @done (13-06-14 10:47)
|
7
|
+
✔ admin via ssh @done (13-06-15 10:53)
|
8
|
+
☐ wiki
|
6
9
|
|
7
|
-
|
8
|
-
☐
|
9
|
-
☐
|
10
|
+
v2.1.0:
|
11
|
+
☐ colorir o terminal
|
12
|
+
☐ melhorar o help
|
13
|
+
☐ melhorar o output dos comandos
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.0.0
|
data/bin/gritano
CHANGED
@@ -3,5 +3,12 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
3
3
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
4
4
|
|
5
5
|
require 'gritano'
|
6
|
+
require 'etc'
|
6
7
|
|
7
|
-
|
8
|
+
begin
|
9
|
+
load File.join(Etc.getpwuid.dir, '.gritano/local.gritano')
|
10
|
+
rescue LoadError => e
|
11
|
+
puts "WARNING: GRITANO IS NOT INSTALLED." unless ARGV[0] == 'init'
|
12
|
+
end
|
13
|
+
|
14
|
+
Gritano::CLI::Console::Local.start
|
data/bin/gritano-remote
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
2
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
3
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
4
|
|
4
5
|
require 'gritano'
|
5
6
|
|
6
|
-
|
7
|
+
ENV['SSH_ORIGINAL_COMMAND'] ||= ''
|
8
|
+
remote_user = ARGV[0]
|
9
|
+
ARGV.replace(ENV['SSH_ORIGINAL_COMMAND'].split(' '))
|
10
|
+
ARGV[0] = ARGV[0].gsub('-', ':') if ARGV[0]
|
11
|
+
|
12
|
+
load File.join(Etc.getpwuid.dir, '.gritano/local.gritano')
|
13
|
+
|
14
|
+
Gritano::CLI::Config.remote_user = remote_user
|
15
|
+
|
16
|
+
if ['git:receive:pack', 'git:upload:pack'].include? ARGV[0]
|
17
|
+
Gritano::CLI::Console::Git.start
|
18
|
+
else
|
19
|
+
Gritano::CLI::Console::Remote.start
|
20
|
+
end
|
data/gritano.gemspec
CHANGED
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "gritano"
|
8
|
-
s.version = "
|
8
|
+
s.version = "2.0.0"
|
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"]
|
12
|
-
s.date = "2013-
|
13
|
-
s.description = "Gritano is
|
12
|
+
s.date = "2013-06-15"
|
13
|
+
s.description = "Gritano is a tool to configure git servers over ssh"
|
14
14
|
s.email = "igorbonadio@gmail.com"
|
15
|
-
s.executables = ["gritano", "gritano-
|
15
|
+
s.executables = ["gritano", "gritano-remote"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
18
18
|
"README.rdoc",
|
@@ -20,259 +20,81 @@ Gem::Specification.new do |s|
|
|
20
20
|
]
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
|
-
".gritano/config.yml",
|
24
|
-
".gritano/database.yml",
|
25
23
|
".rspec",
|
26
|
-
".ssh/.gitignore",
|
27
24
|
".travis.yml",
|
28
25
|
"Gemfile",
|
29
26
|
"Gemfile.lock",
|
27
|
+
"Guardfile",
|
30
28
|
"LICENSE.txt",
|
31
29
|
"README.rdoc",
|
32
30
|
"Rakefile",
|
33
31
|
"VERSION",
|
34
32
|
"bin/gritano",
|
35
|
-
"bin/gritano-pub-key",
|
36
33
|
"bin/gritano-remote",
|
37
|
-
"db/migrate/001_create_users.rb",
|
38
|
-
"db/migrate/002_create_repositories.rb",
|
39
|
-
"db/migrate/003_create_permissions.rb",
|
40
|
-
"db/migrate/004_create_keys.rb",
|
41
|
-
"db/migrate/005_add_admin_to_users.rb",
|
42
|
-
"db/migrate/006_add_email_to_users.rb",
|
43
|
-
"db/migrate/007_add_password_to_users.rb",
|
44
|
-
"db/migrate/008_remove_password_from_user.rb",
|
45
|
-
"db/migrate/009_remove_email_from_users.rb",
|
46
|
-
"features/data/config_true.yml",
|
47
|
-
"features/data/local_commands/repo_add_tmp_jeka_git.txt",
|
48
|
-
"features/data/local_commands/repo_add_tmp_p_lang_git.txt",
|
49
|
-
"features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio.txt",
|
50
|
-
"features/data/local_commands/repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt",
|
51
|
-
"features/data/local_commands/repo_list.txt",
|
52
|
-
"features/data/local_commands/repo_read_add_tmp_gritano_git_arybonadio.txt",
|
53
|
-
"features/data/local_commands/repo_read_add_tmp_gritano_git_jessicaeto.txt",
|
54
|
-
"features/data/local_commands/repo_read_add_tmp_p_lang_git_jessicaeto.txt",
|
55
|
-
"features/data/local_commands/repo_read_rm_tmp_jeka_git_aribonadio.txt",
|
56
|
-
"features/data/local_commands/repo_read_rm_tmp_jeka_git_igorbonadio.txt",
|
57
|
-
"features/data/local_commands/repo_read_rm_tmp_p_lang_git_igorbonadio.txt",
|
58
|
-
"features/data/local_commands/repo_rm_tmp_jeka_git.txt",
|
59
|
-
"features/data/local_commands/repo_rm_tmp_p_lang_git.txt",
|
60
|
-
"features/data/local_commands/repo_user_list_tmp_jeka_git.txt",
|
61
|
-
"features/data/local_commands/repo_user_list_tmp_ruby_git.txt",
|
62
|
-
"features/data/local_commands/repo_write_add_tmp_gritano_git_arybonadio.txt",
|
63
|
-
"features/data/local_commands/repo_write_add_tmp_gritano_git_jessicaeto.txt",
|
64
|
-
"features/data/local_commands/repo_write_add_tmp_p_lang_git_jessicaeto.txt",
|
65
|
-
"features/data/local_commands/repo_write_rm_tmp_gritano_git_arybonadio.txt",
|
66
|
-
"features/data/local_commands/repo_write_rm_tmp_gritano_git_igorbonadio.txt",
|
67
|
-
"features/data/local_commands/repo_write_rm_tmp_p_lang_git_igorbonadio.txt",
|
68
|
-
"features/data/local_commands/user_add_igorbonadio.txt",
|
69
|
-
"features/data/local_commands/user_add_jose.txt",
|
70
|
-
"features/data/local_commands/user_admin_add_arybonadio.txt",
|
71
|
-
"features/data/local_commands/user_admin_add_igorbonadio.txt",
|
72
|
-
"features/data/local_commands/user_admin_rm_arybonadio.txt",
|
73
|
-
"features/data/local_commands/user_admin_rm_igorbonadio.txt",
|
74
|
-
"features/data/local_commands/user_key_add_igorbonadio_marvin.txt",
|
75
|
-
"features/data/local_commands/user_key_add_userrr_marvino.txt",
|
76
|
-
"features/data/local_commands/user_key_list_arybonadio.txt",
|
77
|
-
"features/data/local_commands/user_key_list_igorbonadio.txt",
|
78
|
-
"features/data/local_commands/user_key_rm_igorbonadio_eva.txt",
|
79
|
-
"features/data/local_commands/user_key_rm_igorbonadio_marvino.txt",
|
80
|
-
"features/data/local_commands/user_list.txt",
|
81
|
-
"features/data/local_commands/user_repo_list_arybonadio.txt",
|
82
|
-
"features/data/local_commands/user_repo_list_igorbonadio.txt",
|
83
|
-
"features/data/local_commands/user_rm_igorbonadio.txt",
|
84
|
-
"features/data/local_commands/user_rm_jose.txt",
|
85
|
-
"features/data/local_commands/version.txt",
|
86
|
-
"features/data/local_help.txt",
|
87
|
-
"features/data/remote_commands/admin_help_igorbonadio.txt",
|
88
|
-
"features/data/remote_commands/admin_help_jessicaeto.txt",
|
89
|
-
"features/data/remote_commands/admin_repo_add_tmp_jeka_git_igorbonadio.txt",
|
90
|
-
"features/data/remote_commands/admin_repo_add_tmp_jeka_git_jessicaeto.txt",
|
91
|
-
"features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio.txt",
|
92
|
-
"features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_igorbonadio.txt",
|
93
|
-
"features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto.txt",
|
94
|
-
"features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_igorbonadio.txt",
|
95
|
-
"features/data/remote_commands/admin_repo_add_tmp_p_lang_git_igorbonadio_jessicaeto_jessicaeto.txt",
|
96
|
-
"features/data/remote_commands/admin_repo_add_tmp_p_lang_git_jessicaeto.txt",
|
97
|
-
"features/data/remote_commands/admin_repo_list_igorbonadio.txt",
|
98
|
-
"features/data/remote_commands/admin_repo_list_jessicaeto.txt",
|
99
|
-
"features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_igorbonadio.txt",
|
100
|
-
"features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_arybonadio_jessicaeto.txt",
|
101
|
-
"features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_igorbonadio.txt",
|
102
|
-
"features/data/remote_commands/admin_repo_read_add_tmp_gritano_git_jessicaeto_jessicaeto.txt",
|
103
|
-
"features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt",
|
104
|
-
"features/data/remote_commands/admin_repo_read_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt",
|
105
|
-
"features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_igorbonadio.txt",
|
106
|
-
"features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_aribonadio_jessicaeto.txt",
|
107
|
-
"features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_igorbonadio.txt",
|
108
|
-
"features/data/remote_commands/admin_repo_read_rm_tmp_jeka_git_igorbonadio_jessicaeto.txt",
|
109
|
-
"features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt",
|
110
|
-
"features/data/remote_commands/admin_repo_read_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt",
|
111
|
-
"features/data/remote_commands/admin_repo_rm_tmp_jeka_git_igorbonadio.txt",
|
112
|
-
"features/data/remote_commands/admin_repo_rm_tmp_jeka_git_jessicaeto.txt",
|
113
|
-
"features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_igorbonadio.txt",
|
114
|
-
"features/data/remote_commands/admin_repo_rm_tmp_p_lang_git_jessicaeto.txt",
|
115
|
-
"features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_igorbonadio.txt",
|
116
|
-
"features/data/remote_commands/admin_repo_user_list_tmp_jeka_git_jessicaeto.txt",
|
117
|
-
"features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_igorbonadio.txt",
|
118
|
-
"features/data/remote_commands/admin_repo_user_list_tmp_ruby_git_jessicaeto.txt",
|
119
|
-
"features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_igorbonadio.txt",
|
120
|
-
"features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_arybonadio_jessicaeto.txt",
|
121
|
-
"features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_igorbonadio.txt",
|
122
|
-
"features/data/remote_commands/admin_repo_write_add_tmp_gritano_git_jessicaeto_jessicaeto.txt",
|
123
|
-
"features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_igorbonadio.txt",
|
124
|
-
"features/data/remote_commands/admin_repo_write_add_tmp_p_lang_git_jessicaeto_jessicaeto.txt",
|
125
|
-
"features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_igorbonadio.txt",
|
126
|
-
"features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_arybonadio_jessicaeto.txt",
|
127
|
-
"features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_igorbonadio.txt",
|
128
|
-
"features/data/remote_commands/admin_repo_write_rm_tmp_gritano_git_igorbonadio_jessicaeto.txt",
|
129
|
-
"features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_igorbonadio.txt",
|
130
|
-
"features/data/remote_commands/admin_repo_write_rm_tmp_p_lang_git_igorbonadio_jessicaeto.txt",
|
131
|
-
"features/data/remote_commands/admin_user_add_igorbonadio_igorbonadio.txt",
|
132
|
-
"features/data/remote_commands/admin_user_add_igorbonadio_jessicaeto.txt",
|
133
|
-
"features/data/remote_commands/admin_user_add_jose_igorbonadio.txt",
|
134
|
-
"features/data/remote_commands/admin_user_add_jose_jessicaeto.txt",
|
135
|
-
"features/data/remote_commands/admin_user_admin_add_arybonadio_igorbonadio.txt",
|
136
|
-
"features/data/remote_commands/admin_user_admin_add_arybonadio_jessicaeto.txt",
|
137
|
-
"features/data/remote_commands/admin_user_admin_add_igorbonadio_igorbonadio.txt",
|
138
|
-
"features/data/remote_commands/admin_user_admin_add_igorbonadio_jessicaeto.txt",
|
139
|
-
"features/data/remote_commands/admin_user_admin_rm_arybonadio_igorbonadio.txt",
|
140
|
-
"features/data/remote_commands/admin_user_admin_rm_arybonadio_jessicaeto.txt",
|
141
|
-
"features/data/remote_commands/admin_user_admin_rm_igorbonadio_igorbonadio.txt",
|
142
|
-
"features/data/remote_commands/admin_user_admin_rm_igorbonadio_jessicaeto.txt",
|
143
|
-
"features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_igorbonadio.txt",
|
144
|
-
"features/data/remote_commands/admin_user_key_add_igorbonadio_marvin_jessicaeto.txt",
|
145
|
-
"features/data/remote_commands/admin_user_key_add_userrr_marvino_igorbonadio.txt",
|
146
|
-
"features/data/remote_commands/admin_user_key_add_userrr_marvino_jessicaeto.txt",
|
147
|
-
"features/data/remote_commands/admin_user_key_list_arybonadio_igorbonadio.txt",
|
148
|
-
"features/data/remote_commands/admin_user_key_list_arybonadio_jessicaeto.txt",
|
149
|
-
"features/data/remote_commands/admin_user_key_list_igorbonadio_igorbonadio.txt",
|
150
|
-
"features/data/remote_commands/admin_user_key_list_igorbonadio_jessicaeto.txt",
|
151
|
-
"features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_igorbonadio.txt",
|
152
|
-
"features/data/remote_commands/admin_user_key_rm_igorbonadio_eva_jessicaeto.txt",
|
153
|
-
"features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_igorbonadio.txt",
|
154
|
-
"features/data/remote_commands/admin_user_key_rm_igorbonadio_marvino_jessicaeto.txt",
|
155
|
-
"features/data/remote_commands/admin_user_list_igorbonadio.txt",
|
156
|
-
"features/data/remote_commands/admin_user_list_jessicaeto.txt",
|
157
|
-
"features/data/remote_commands/admin_user_repo_list_arybonadio_igorbonadio.txt",
|
158
|
-
"features/data/remote_commands/admin_user_repo_list_arybonadio_jessicaeto.txt",
|
159
|
-
"features/data/remote_commands/admin_user_repo_list_igorbonadio_igorbonadio.txt",
|
160
|
-
"features/data/remote_commands/admin_user_repo_list_igorbonadio_jessicaeto.txt",
|
161
|
-
"features/data/remote_commands/admin_user_rm_igorbonadio_igorbonadio.txt",
|
162
|
-
"features/data/remote_commands/admin_user_rm_igorbonadio_jessicaeto.txt",
|
163
|
-
"features/data/remote_commands/admin_user_rm_jose_igorbonadio.txt",
|
164
|
-
"features/data/remote_commands/admin_user_rm_jose_jessicaeto.txt",
|
165
|
-
"features/data/remote_commands/admin_version_igorbonadio.txt",
|
166
|
-
"features/data/remote_commands/admin_version_jessicaeto.txt",
|
167
|
-
"features/data/remote_commands/email_get_igorbonadio.txt",
|
168
|
-
"features/data/remote_commands/email_get_jessicaeto.txt",
|
169
|
-
"features/data/remote_commands/email_update_email@server_com_igorbonadio.txt",
|
170
|
-
"features/data/remote_commands/email_update_email@server_com_jessicaeto.txt",
|
171
|
-
"features/data/remote_commands/help_igorbonadio.txt",
|
172
|
-
"features/data/remote_commands/help_jessicaeto.txt",
|
173
|
-
"features/data/remote_commands/invalid_command_igorbonadio.txt",
|
174
|
-
"features/data/remote_commands/invalid_command_jessicaeto.txt",
|
175
|
-
"features/data/remote_commands/key_add_keyname_igorbonadio.txt",
|
176
|
-
"features/data/remote_commands/key_add_keyname_jessicaeto.txt",
|
177
|
-
"features/data/remote_commands/key_list_igorbonadio.txt",
|
178
|
-
"features/data/remote_commands/key_list_jessicaeto.txt",
|
179
|
-
"features/data/remote_commands/key_rm_hal_igorbonadio.txt",
|
180
|
-
"features/data/remote_commands/key_rm_hal_jessicaeto.txt",
|
181
|
-
"features/data/remote_commands/repo_list_igorbonadio.txt",
|
182
|
-
"features/data/remote_commands/repo_list_jessicaeto.txt",
|
183
|
-
"features/data/remote_commands/version_igorbonadio.txt",
|
184
|
-
"features/data/remote_commands/version_jessicaeto.txt",
|
185
|
-
"features/data/remote_help.txt",
|
186
|
-
"features/install.feature",
|
187
|
-
"features/local.feature",
|
188
|
-
"features/pub_key.feature",
|
189
|
-
"features/remote.feature",
|
190
|
-
"features/step_definitions/background_step.rb",
|
191
|
-
"features/step_definitions/install_step.rb",
|
192
|
-
"features/step_definitions/local_step.rb",
|
193
|
-
"features/step_definitions/pub_key_step.rb",
|
194
|
-
"features/step_definitions/remote_step.rb",
|
195
|
-
"features/support/database_cleaner.rb",
|
196
|
-
"features/support/env.rb",
|
197
34
|
"gritano.gemspec",
|
198
35
|
"lib/gritano.rb",
|
199
|
-
"lib/gritano/cli.rb",
|
200
36
|
"lib/gritano/config.rb",
|
201
|
-
"lib/gritano/console.rb",
|
202
37
|
"lib/gritano/console/base.rb",
|
203
|
-
"lib/gritano/console/
|
204
|
-
"lib/gritano/console/
|
205
|
-
"lib/gritano/console/installer.rb",
|
38
|
+
"lib/gritano/console/git.rb",
|
39
|
+
"lib/gritano/console/local.rb",
|
206
40
|
"lib/gritano/console/remote.rb",
|
207
|
-
"lib/gritano/
|
208
|
-
"lib/gritano/
|
209
|
-
"lib/gritano/
|
210
|
-
"lib/gritano/
|
211
|
-
"lib/gritano/
|
212
|
-
"spec/
|
213
|
-
"spec/
|
214
|
-
"spec/
|
215
|
-
"spec/
|
216
|
-
"spec/
|
217
|
-
"spec/
|
218
|
-
"spec/
|
219
|
-
"spec/
|
220
|
-
"spec/
|
221
|
-
"
|
222
|
-
"
|
223
|
-
"spec/model_repository_spec.rb",
|
224
|
-
"spec/model_user_spec.rb",
|
225
|
-
"spec/spec_helper.rb"
|
41
|
+
"lib/gritano/core/key.rb",
|
42
|
+
"lib/gritano/core/user.rb",
|
43
|
+
"lib/gritano/helpers.rb",
|
44
|
+
"lib/gritano/renderer.rb",
|
45
|
+
"lib/gritano/thor.rb",
|
46
|
+
"spec/data/development.yml",
|
47
|
+
"spec/gritano/console/git_spec.rb",
|
48
|
+
"spec/gritano/console/local_spec.rb",
|
49
|
+
"spec/gritano/console/remote_spec.rb",
|
50
|
+
"spec/gritano/core/key_spec.rb",
|
51
|
+
"spec/gritano/core/user_spec.rb",
|
52
|
+
"spec/gritano/helpers_spec.rb",
|
53
|
+
"spec/gritano/thor_spec.rb",
|
54
|
+
"spec/spec_helper.rb",
|
55
|
+
"templates/local.gritano",
|
56
|
+
"templates/remote.gritano"
|
226
57
|
]
|
227
|
-
s.homepage = "http://gritano
|
58
|
+
s.homepage = "http://github.com/igorbonadio/gritano"
|
228
59
|
s.licenses = ["MIT"]
|
229
60
|
s.require_paths = ["lib"]
|
230
61
|
s.rubygems_version = "1.8.25"
|
231
|
-
s.summary = "Gritano is a tool to configure
|
62
|
+
s.summary = "Gritano is a tool to configure git servers over ssh"
|
232
63
|
|
233
64
|
if s.respond_to? :specification_version then
|
234
65
|
s.specification_version = 3
|
235
66
|
|
236
67
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
237
|
-
s.add_runtime_dependency(%q<
|
238
|
-
s.add_runtime_dependency(%q<
|
239
|
-
s.add_runtime_dependency(%q<
|
240
|
-
s.add_runtime_dependency(%q<
|
241
|
-
s.
|
242
|
-
s.add_development_dependency(%q<
|
243
|
-
s.add_development_dependency(%q<
|
244
|
-
s.add_development_dependency(%q<
|
245
|
-
s.add_development_dependency(%q<
|
246
|
-
s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
|
247
|
-
s.add_development_dependency(%q<simplecov>, [">= 0.6.4"])
|
248
|
-
s.add_development_dependency(%q<database_cleaner>, [">= 0.8.0"])
|
68
|
+
s.add_runtime_dependency(%q<thor>, ["~> 0.18.1"])
|
69
|
+
s.add_runtime_dependency(%q<terminal-table>, ["~> 1.4.5"])
|
70
|
+
s.add_runtime_dependency(%q<gritano-core>, ["~> 2.0.0"])
|
71
|
+
s.add_runtime_dependency(%q<sqlite3>, ["~> 1.3.7"])
|
72
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.13.0"])
|
73
|
+
s.add_development_dependency(%q<rdoc>, ["~> 4.0.0"])
|
74
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
75
|
+
s.add_development_dependency(%q<simplecov>, ["~> 0.7.0"])
|
76
|
+
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
|
249
77
|
else
|
250
|
-
s.add_dependency(%q<
|
251
|
-
s.add_dependency(%q<
|
252
|
-
s.add_dependency(%q<
|
253
|
-
s.add_dependency(%q<
|
254
|
-
s.add_dependency(%q<
|
255
|
-
s.add_dependency(%q<
|
256
|
-
s.add_dependency(%q<
|
257
|
-
s.add_dependency(%q<
|
258
|
-
s.add_dependency(%q<
|
259
|
-
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
260
|
-
s.add_dependency(%q<simplecov>, [">= 0.6.4"])
|
261
|
-
s.add_dependency(%q<database_cleaner>, [">= 0.8.0"])
|
78
|
+
s.add_dependency(%q<thor>, ["~> 0.18.1"])
|
79
|
+
s.add_dependency(%q<terminal-table>, ["~> 1.4.5"])
|
80
|
+
s.add_dependency(%q<gritano-core>, ["~> 2.0.0"])
|
81
|
+
s.add_dependency(%q<sqlite3>, ["~> 1.3.7"])
|
82
|
+
s.add_dependency(%q<rspec>, ["~> 2.13.0"])
|
83
|
+
s.add_dependency(%q<rdoc>, ["~> 4.0.0"])
|
84
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
85
|
+
s.add_dependency(%q<simplecov>, ["~> 0.7.0"])
|
86
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
262
87
|
end
|
263
88
|
else
|
264
|
-
s.add_dependency(%q<
|
265
|
-
s.add_dependency(%q<
|
266
|
-
s.add_dependency(%q<
|
267
|
-
s.add_dependency(%q<
|
268
|
-
s.add_dependency(%q<
|
269
|
-
s.add_dependency(%q<
|
270
|
-
s.add_dependency(%q<
|
271
|
-
s.add_dependency(%q<
|
272
|
-
s.add_dependency(%q<
|
273
|
-
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
274
|
-
s.add_dependency(%q<simplecov>, [">= 0.6.4"])
|
275
|
-
s.add_dependency(%q<database_cleaner>, [">= 0.8.0"])
|
89
|
+
s.add_dependency(%q<thor>, ["~> 0.18.1"])
|
90
|
+
s.add_dependency(%q<terminal-table>, ["~> 1.4.5"])
|
91
|
+
s.add_dependency(%q<gritano-core>, ["~> 2.0.0"])
|
92
|
+
s.add_dependency(%q<sqlite3>, ["~> 1.3.7"])
|
93
|
+
s.add_dependency(%q<rspec>, ["~> 2.13.0"])
|
94
|
+
s.add_dependency(%q<rdoc>, ["~> 4.0.0"])
|
95
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
96
|
+
s.add_dependency(%q<simplecov>, ["~> 0.7.0"])
|
97
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
276
98
|
end
|
277
99
|
end
|
278
100
|
|