repo_manager 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemfiles +115 -0
- data/.gitattributes +1 -0
- data/.gitignore +7 -0
- data/.rspec +3 -0
- data/.yardopts +11 -0
- data/Gemfile +11 -0
- data/Gemfile.lock +99 -0
- data/Guardfile +63 -0
- data/HISTORY.markdown +12 -0
- data/LICENSE +20 -0
- data/README.markdown +192 -0
- data/Rakefile +94 -0
- data/TODO.markdown +15 -0
- data/VERSION +1 -0
- data/bin/repo +151 -0
- data/cucumber.yml +28 -0
- data/examples/pc_saved_game_backup/.gitignore +2 -0
- data/examples/pc_saved_game_backup/INSTALL.markdown +420 -0
- data/examples/pc_saved_game_backup/README.markdown +108 -0
- data/examples/pc_saved_game_backup/remote/.gitignore +2 -0
- data/examples/pc_saved_game_backup/repo_manager/Gemfile +12 -0
- data/examples/pc_saved_game_backup/repo_manager/Gemfile.lock +66 -0
- data/examples/pc_saved_game_backup/repo_manager/assets/.gitignore +2 -0
- data/examples/pc_saved_game_backup/repo_manager/features/support/aruba.rb +15 -0
- data/examples/pc_saved_game_backup/repo_manager/features/support/env.rb +11 -0
- data/examples/pc_saved_game_backup/repo_manager/features/support/steps.rb +3 -0
- data/examples/pc_saved_game_backup/repo_manager/features/tasks/update.feature +144 -0
- data/examples/pc_saved_game_backup/repo_manager/global/default/asset.conf +2 -0
- data/examples/pc_saved_game_backup/repo_manager/repo.conf +64 -0
- data/examples/pc_saved_game_backup/repo_manager/tasks/.gitignore +0 -0
- data/examples/pc_saved_game_backup/repo_manager/tasks/remote.rb +57 -0
- data/examples/pc_saved_game_backup/repo_manager/tasks/update.rb +65 -0
- data/examples/pc_saved_game_backup/saved_games/hearts/save1 +1 -0
- data/examples/pc_saved_game_backup/saved_games/hearts/save2 +1 -0
- data/examples/pc_saved_game_backup/saved_games/mines/my_profile.ini +1 -0
- data/examples/pc_saved_game_backup/saved_games/mines/saves/save1 +1 -0
- data/examples/pc_saved_game_backup/saved_games/mines/saves/save2 +1 -0
- data/features/actions/git.feature +296 -0
- data/features/actions/help.feature +53 -0
- data/features/actions/list.feature +624 -0
- data/features/actions/path.feature +195 -0
- data/features/actions/status.feature +261 -0
- data/features/actions/task.feature +127 -0
- data/features/assets/configuration.feature +204 -0
- data/features/assets/rendering.feature +42 -0
- data/features/assets/user_attributes.feature +98 -0
- data/features/bin.feature +42 -0
- data/features/logger.feature +218 -0
- data/features/settings.feature +240 -0
- data/features/support/aruba.rb +15 -0
- data/features/support/env.rb +11 -0
- data/features/support/steps.rb +3 -0
- data/features/tasks/add/asset.feature +178 -0
- data/features/tasks/generate/init.feature +56 -0
- data/lib/repo_manager.rb +36 -0
- data/lib/repo_manager/actions.rb +8 -0
- data/lib/repo_manager/actions/action_helper.rb +39 -0
- data/lib/repo_manager/actions/app_action.rb +30 -0
- data/lib/repo_manager/actions/base_action.rb +296 -0
- data/lib/repo_manager/actions/git_action.rb +113 -0
- data/lib/repo_manager/actions/help_action.rb +52 -0
- data/lib/repo_manager/actions/list_action.rb +123 -0
- data/lib/repo_manager/actions/path_action.rb +22 -0
- data/lib/repo_manager/actions/status_action.rb +192 -0
- data/lib/repo_manager/actions/task_action.rb +71 -0
- data/lib/repo_manager/app.rb +116 -0
- data/lib/repo_manager/assets.rb +3 -0
- data/lib/repo_manager/assets/app_asset.rb +15 -0
- data/lib/repo_manager/assets/asset_accessors.rb +67 -0
- data/lib/repo_manager/assets/asset_configuration.rb +137 -0
- data/lib/repo_manager/assets/asset_manager.rb +72 -0
- data/lib/repo_manager/assets/base_asset.rb +199 -0
- data/lib/repo_manager/assets/repo_asset.rb +30 -0
- data/lib/repo_manager/core.rb +2 -0
- data/lib/repo_manager/core/array.rb +21 -0
- data/lib/repo_manager/core/hash.rb +83 -0
- data/lib/repo_manager/errors.rb +10 -0
- data/lib/repo_manager/extensions/hash.rb +86 -0
- data/lib/repo_manager/git.rb +2 -0
- data/lib/repo_manager/git/lib.rb +69 -0
- data/lib/repo_manager/git/status.rb +196 -0
- data/lib/repo_manager/logger.rb +39 -0
- data/lib/repo_manager/settings.rb +98 -0
- data/lib/repo_manager/tasks.rb +3 -0
- data/lib/repo_manager/tasks/add/asset.rb +213 -0
- data/lib/repo_manager/tasks/generate/init.rb +42 -0
- data/lib/repo_manager/tasks/generate/templates/config/repo.conf.tt +61 -0
- data/lib/repo_manager/tasks/generate/templates/init/assets/.gitignore +0 -0
- data/lib/repo_manager/tasks/generate/templates/init/global/default/asset.conf +2 -0
- data/lib/repo_manager/tasks/generate/templates/init/tasks/.gitignore +0 -0
- data/lib/repo_manager/tasks/task_manager.rb +166 -0
- data/lib/repo_manager/tasks/thor_helper.rb +29 -0
- data/lib/repo_manager/test/asset_steps.rb +19 -0
- data/lib/repo_manager/test/base_steps.rb +152 -0
- data/lib/repo_manager/test/repo_api.rb +41 -0
- data/lib/repo_manager/test/repo_steps.rb +83 -0
- data/lib/repo_manager/test/test_api.rb +88 -0
- data/lib/repo_manager/views.rb +2 -0
- data/lib/repo_manager/views/app_view.rb +15 -0
- data/lib/repo_manager/views/base_view.rb +137 -0
- data/lib/repo_manager/views/templates/css/basic.css +26 -0
- data/lib/repo_manager/views/templates/default.erb +40 -0
- data/lib/repo_manager/views/templates/default.slim +37 -0
- data/lib/repo_manager/views/view_helper.rb +55 -0
- data/repo_manager.gemspec +75 -0
- data/spec/basic_app/actions/action_helper_spec.rb +54 -0
- data/spec/basic_app/assets/base_asset_spec.rb +210 -0
- data/spec/basic_app/core_spec.rb +78 -0
- data/spec/basic_app/settings_spec.rb +64 -0
- data/spec/basic_app/views/view_helper_spec.rb +28 -0
- data/spec/basic_gem/aruba_helper_spec.rb +33 -0
- data/spec/basic_gem/basic_gem_spec.rb +84 -0
- data/spec/basic_gem/gemspec_spec.rb +68 -0
- data/spec/repo_manager/git_spec.rb +31 -0
- data/spec/spec_helper.rb +25 -0
- metadata +472 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe RepoManager::Settings do
|
4
|
+
|
5
|
+
before(:each) do
|
6
|
+
@filename = 'config.conf'
|
7
|
+
@hash_symbols = {
|
8
|
+
:zebra => "has stripes",
|
9
|
+
:options => {
|
10
|
+
:verbose => false
|
11
|
+
}
|
12
|
+
}
|
13
|
+
write_file(@filename, @hash_symbols.to_conf)
|
14
|
+
end
|
15
|
+
|
16
|
+
describe '#new' do
|
17
|
+
it "should read a config YAML file and return a Hash" do
|
18
|
+
settings = RepoManager::Settings.new(FileUtils.pwd, :config => fullpath(@filename))
|
19
|
+
settings.is_a?(Hash).should be_true
|
20
|
+
settings.to_hash.is_a?(Hash).should be_true
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
describe '#to_hash' do
|
25
|
+
it "should provide a symbolized hash" do
|
26
|
+
settings = RepoManager::Settings.new(FileUtils.pwd, :config => fullpath(@filename))
|
27
|
+
settings[:zebra].should == "has stripes"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
describe 'hash value accessors' do
|
32
|
+
it "should provide read method accessors" do
|
33
|
+
settings = RepoManager::Settings.new(FileUtils.pwd, :config => fullpath(@filename))
|
34
|
+
settings.to_hash[:zebra].should == settings.zebra
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should provide write method accessors that set symbolized keys on self" do
|
38
|
+
settings = RepoManager::Settings.new(FileUtils.pwd, :config => fullpath(@filename))
|
39
|
+
settings.new_value = :dogfood
|
40
|
+
settings.new_value.should == :dogfood
|
41
|
+
settings[:new_value].should == :dogfood
|
42
|
+
settings['new_value'].should be_nil
|
43
|
+
end
|
44
|
+
|
45
|
+
context "when undefined" do
|
46
|
+
it "should return nil" do
|
47
|
+
settings = RepoManager::Settings.new(FileUtils.pwd, :config => fullpath(@filename))
|
48
|
+
settings.garbage.should be_nil
|
49
|
+
end
|
50
|
+
it "should not raise error" do
|
51
|
+
settings = RepoManager::Settings.new(FileUtils.pwd, :config => fullpath(@filename))
|
52
|
+
lambda { settings.garbage.should be_nil }.should_not raise_error
|
53
|
+
end
|
54
|
+
context "when multiple levels" do
|
55
|
+
it "should raise error" do
|
56
|
+
settings = RepoManager::Settings.new(FileUtils.pwd, :config => fullpath(@filename))
|
57
|
+
lambda { settings.even_more.garbage.should be_nil }.should raise_error
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
require 'repo_manager/views/view_helper'
|
4
|
+
include RepoManager::ViewHelper
|
5
|
+
|
6
|
+
describe RepoManager::ViewHelper do
|
7
|
+
|
8
|
+
context ":repo_manager files" do
|
9
|
+
before :each do
|
10
|
+
@root = File.expand_path('../../../../', __FILE__)
|
11
|
+
@file = File.join(@root, 'lib/repo_manager/app.rb')
|
12
|
+
File.exists?(@file).should be_true
|
13
|
+
end
|
14
|
+
|
15
|
+
describe 'path_to :repo_manager "file asset"' do
|
16
|
+
it "should return the absolute path of the given repo_manager file asset" do
|
17
|
+
path_to(:repo_manager, 'lib/repo_manager/app.rb').should == @file
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe 'path_to "file asset"' do
|
22
|
+
it "should return the absolute path of the given repo_manager file asset" do
|
23
|
+
path_to('lib/repo_manager/app.rb').should == @file
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe RepoManager do
|
4
|
+
|
5
|
+
before(:each) do
|
6
|
+
@filename = 'input.txt'
|
7
|
+
write_file(@filename, "the quick brown fox")
|
8
|
+
end
|
9
|
+
|
10
|
+
describe 'Aruba::API.current_dir' do
|
11
|
+
|
12
|
+
it "should return the current dir as 'tmp/aruba'" do
|
13
|
+
current_dir.should match(/^tmp\/aruba$/)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe "aruba_helper fullpath('input.txt')" do
|
18
|
+
|
19
|
+
it "should return a valid expanded path to 'input.txt'" do
|
20
|
+
path = fullpath('input.txt')
|
21
|
+
path.should match(/tmp..*aruba/)
|
22
|
+
File.exists?(path).should == true
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "aruba_helper get_file_contents('input.txt')" do
|
27
|
+
|
28
|
+
it "should return the contents of 'input.txt' as a String" do
|
29
|
+
get_file_contents('input.txt').should == 'the quick brown fox'
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe RepoManager do
|
4
|
+
|
5
|
+
describe 'version' do
|
6
|
+
|
7
|
+
it "should return a string formatted '#.#.#'" do
|
8
|
+
RepoManager::version.should match(/(^[\d]+\.[\d]+\.[\d]+$)/)
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
12
|
+
|
13
|
+
# VIM autocmd to remove trailing whitespace
|
14
|
+
# autocmd BufWritePre * :%s/\s\+$//e
|
15
|
+
#
|
16
|
+
describe "code" do
|
17
|
+
|
18
|
+
before(:each) do
|
19
|
+
@gemfiles_filename = File.expand_path(File.dirname(__FILE__) + '/../../.gemfiles')
|
20
|
+
raise ".gemfiles not found. Please run 'rake gemfiles'" unless File.exists?(@gemfiles_filename)
|
21
|
+
@gemfiles = File.open(@gemfiles_filename, "rb") {|f| f.read}
|
22
|
+
@eol = @gemfiles.match("\r\n") ? "\r\n" : "\n"
|
23
|
+
end
|
24
|
+
|
25
|
+
def binary?(filename)
|
26
|
+
open filename do |f|
|
27
|
+
f.each_byte { |x|
|
28
|
+
x.nonzero? or return true
|
29
|
+
}
|
30
|
+
end
|
31
|
+
false
|
32
|
+
end
|
33
|
+
|
34
|
+
def check_for_tab_characters(filename)
|
35
|
+
failing_lines = []
|
36
|
+
File.readlines(filename).each_with_index do |line,number|
|
37
|
+
failing_lines << number + 1 if line =~ /\t/
|
38
|
+
end
|
39
|
+
|
40
|
+
unless failing_lines.empty?
|
41
|
+
"#{filename} has tab characters on lines #{failing_lines.join(', ')}"
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def check_for_extra_spaces(filename)
|
46
|
+
failing_lines = []
|
47
|
+
File.readlines(filename).each_with_index do |line,number|
|
48
|
+
next if line =~ /^\s+#.*\s+#{@eol}$/
|
49
|
+
failing_lines << number + 1 if line =~ /\s+#{@eol}$/
|
50
|
+
end
|
51
|
+
|
52
|
+
unless failing_lines.empty?
|
53
|
+
"#{filename} has spaces on the EOL on lines #{failing_lines.join(', ')}"
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
RSpec::Matchers.define :be_well_formed do
|
58
|
+
failure_message_for_should do |actual|
|
59
|
+
actual.join("\n")
|
60
|
+
end
|
61
|
+
|
62
|
+
match do |actual|
|
63
|
+
actual.empty?
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
it "has no malformed whitespace" do
|
68
|
+
error_messages = []
|
69
|
+
@gemfiles.split(@eol).each do |filename|
|
70
|
+
filename = File.expand_path(File.join(File.dirname(__FILE__), ["..", "..", filename]))
|
71
|
+
unless File.exists?(filename)
|
72
|
+
puts "WARNING: .gemfiles out-of-date, #{filename} not found. Edit .gemfiles or run 'rake gemfiles' after committing changes."
|
73
|
+
next
|
74
|
+
end
|
75
|
+
next if filename =~ /\.gitmodules|\/vendor\/|\.yml$|\.conf$/
|
76
|
+
next if binary?(filename)
|
77
|
+
error_messages << check_for_tab_characters(filename)
|
78
|
+
error_messages << check_for_extra_spaces(filename)
|
79
|
+
end
|
80
|
+
error_messages.compact.should be_well_formed
|
81
|
+
end
|
82
|
+
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe RepoManager do
|
4
|
+
|
5
|
+
def load_gemspec
|
6
|
+
filename = File.expand_path('../../../repo_manager.gemspec', __FILE__)
|
7
|
+
eval(File.read(filename), nil, filename)
|
8
|
+
end
|
9
|
+
|
10
|
+
describe 'gemspec' do
|
11
|
+
|
12
|
+
it "should return the gem VERSION" do
|
13
|
+
@gemspec = load_gemspec
|
14
|
+
RepoManager::version.should_not be_nil
|
15
|
+
@gemspec.version.to_s.should == RepoManager::version
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'files' do
|
19
|
+
|
20
|
+
it "should return 'files' array" do
|
21
|
+
@gemspec = load_gemspec
|
22
|
+
@gemspec.files.is_a?(Array).should == true
|
23
|
+
@gemspec.files.include?('VERSION').should == true
|
24
|
+
end
|
25
|
+
it "should return 'executables' array" do
|
26
|
+
@gemspec = load_gemspec
|
27
|
+
@gemspec.executables.is_a?(Array).should == true
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'without .gemfiles cache' do
|
31
|
+
before(:each) do
|
32
|
+
File.stub!('exists?').and_return false
|
33
|
+
@gemspec = load_gemspec
|
34
|
+
end
|
35
|
+
|
36
|
+
it "should return 'files' from using 'git ls-files" do
|
37
|
+
File.exists?(File.expand_path('../../../.gemfiles', __FILE__)).should == false
|
38
|
+
@gemspec.files.is_a?(Array).should == true
|
39
|
+
@gemspec.files.include?('VERSION').should == true
|
40
|
+
end
|
41
|
+
it "should return 'executables' from 'git ls-files" do
|
42
|
+
File.exists?(File.expand_path('../../../.gemfiles', __FILE__)).should == false
|
43
|
+
@gemspec.executables.is_a?(Array).should == true
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'without git binary' do
|
48
|
+
|
49
|
+
before(:each) do
|
50
|
+
stub!(:system).and_return false
|
51
|
+
@gemspec = load_gemspec
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should return 'files' from cache" do
|
55
|
+
system('git --version').should == false
|
56
|
+
@gemspec.files.is_a?(Array).should == true
|
57
|
+
@gemspec.files.include?('VERSION').should == true
|
58
|
+
end
|
59
|
+
it "should return 'executables' from cache" do
|
60
|
+
system('git --version').should == false
|
61
|
+
@gemspec.executables.is_a?(Array).should == true
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Git do
|
4
|
+
|
5
|
+
describe 'Git::Lib.native' do
|
6
|
+
|
7
|
+
it "should validate the Git binary once and only once" do
|
8
|
+
|
9
|
+
lib1 = Git::Lib.new(:working_directory => fullpath('.'))
|
10
|
+
lib1.stub!(:required_command_version).and_return( [20, 0, 0, 1])
|
11
|
+
|
12
|
+
$stderr.should_receive(:puts).with(/gem requires git 20.0.0.1 or later/i)
|
13
|
+
# NOTE: any native git command will suffice for this test, 'version' is just
|
14
|
+
# fast and doesn't require a repo setup
|
15
|
+
lib1.native 'version'
|
16
|
+
|
17
|
+
# do it again with same instance
|
18
|
+
$stderr.should_not_receive(:puts).with(/gem requires git 20.0.0.1 or later/i)
|
19
|
+
lib1.native 'version'
|
20
|
+
|
21
|
+
# do it again with new instance
|
22
|
+
lib2 = Git::Lib.new(:working_directory => fullpath('.'))
|
23
|
+
lib2.stub!(:required_command_version).and_return( [20, 0, 0, 1])
|
24
|
+
|
25
|
+
$stderr.should_not_receive(:puts).with(/gem requires git 20.0.0.1 or later/i)
|
26
|
+
lib2.native 'version'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'repo_manager'
|
2
|
+
require 'rspec/core'
|
3
|
+
require 'aruba/api'
|
4
|
+
require 'repo_manager/test/test_api'
|
5
|
+
|
6
|
+
RSpec.configure do |config|
|
7
|
+
config.include Aruba::Api
|
8
|
+
config.include RepoManager::TestApi
|
9
|
+
config.filter_run :focus => true
|
10
|
+
config.filter_run_excluding(:posix => true) if RepoManager::WINDOWS
|
11
|
+
config.filter_run_excluding(:windows => true) unless RepoManager::WINDOWS
|
12
|
+
config.run_all_when_everything_filtered = true
|
13
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
14
|
+
|
15
|
+
# RSpec automatically cleans stuff out of backtraces;
|
16
|
+
# sometimes this is annoying when trying to debug something e.g. a gem
|
17
|
+
config.backtrace_clean_patterns = [
|
18
|
+
#/\/lib\d*\/ruby\//,
|
19
|
+
#/bin\//,
|
20
|
+
#/gems/,
|
21
|
+
#/spec\/spec_helper\.rb/,
|
22
|
+
/bin\/rspec/,
|
23
|
+
/lib\/rspec\/(core|expectations|matchers|mocks)/
|
24
|
+
]
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,472 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: repo_manager
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
- 1
|
10
|
+
version: 0.7.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Robert Wahler
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-08-03 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
prerelease: false
|
22
|
+
name: term-ansicolor
|
23
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 31
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 0
|
32
|
+
- 4
|
33
|
+
version: 1.0.4
|
34
|
+
requirement: *id001
|
35
|
+
type: :runtime
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
prerelease: false
|
38
|
+
name: logging
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 11
|
45
|
+
segments:
|
46
|
+
- 1
|
47
|
+
- 6
|
48
|
+
- 2
|
49
|
+
version: 1.6.2
|
50
|
+
requirement: *id002
|
51
|
+
type: :runtime
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
prerelease: false
|
54
|
+
name: slim
|
55
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 31
|
61
|
+
segments:
|
62
|
+
- 1
|
63
|
+
- 0
|
64
|
+
- 4
|
65
|
+
version: 1.0.4
|
66
|
+
requirement: *id003
|
67
|
+
type: :runtime
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
prerelease: false
|
70
|
+
name: mustache
|
71
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 411
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
- 99
|
80
|
+
- 4
|
81
|
+
version: 0.99.4
|
82
|
+
requirement: *id004
|
83
|
+
type: :runtime
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
prerelease: false
|
86
|
+
name: chronic
|
87
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 13
|
93
|
+
segments:
|
94
|
+
- 0
|
95
|
+
- 6
|
96
|
+
- 5
|
97
|
+
version: 0.6.5
|
98
|
+
requirement: *id005
|
99
|
+
type: :runtime
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
prerelease: false
|
102
|
+
name: thor
|
103
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ~>
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 35
|
109
|
+
segments:
|
110
|
+
- 0
|
111
|
+
- 15
|
112
|
+
- 0
|
113
|
+
version: 0.15.0
|
114
|
+
requirement: *id006
|
115
|
+
type: :runtime
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
prerelease: false
|
118
|
+
name: git
|
119
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - "="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
hash: 21
|
125
|
+
segments:
|
126
|
+
- 1
|
127
|
+
- 2
|
128
|
+
- 5
|
129
|
+
version: 1.2.5
|
130
|
+
requirement: *id007
|
131
|
+
type: :runtime
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
prerelease: false
|
134
|
+
name: bundler
|
135
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
hash: 11
|
141
|
+
segments:
|
142
|
+
- 1
|
143
|
+
- 0
|
144
|
+
- 14
|
145
|
+
version: 1.0.14
|
146
|
+
requirement: *id008
|
147
|
+
type: :development
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
prerelease: false
|
150
|
+
name: rspec
|
151
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
152
|
+
none: false
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
hash: 23
|
157
|
+
segments:
|
158
|
+
- 2
|
159
|
+
- 6
|
160
|
+
- 0
|
161
|
+
version: 2.6.0
|
162
|
+
requirement: *id009
|
163
|
+
type: :development
|
164
|
+
- !ruby/object:Gem::Dependency
|
165
|
+
prerelease: false
|
166
|
+
name: cucumber
|
167
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
169
|
+
requirements:
|
170
|
+
- - ~>
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
hash: 15
|
173
|
+
segments:
|
174
|
+
- 1
|
175
|
+
- 0
|
176
|
+
version: "1.0"
|
177
|
+
requirement: *id010
|
178
|
+
type: :development
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
prerelease: false
|
181
|
+
name: aruba
|
182
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
184
|
+
requirements:
|
185
|
+
- - "="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
hash: 5
|
188
|
+
segments:
|
189
|
+
- 0
|
190
|
+
- 4
|
191
|
+
- 5
|
192
|
+
version: 0.4.5
|
193
|
+
requirement: *id011
|
194
|
+
type: :development
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
prerelease: false
|
197
|
+
name: rake
|
198
|
+
version_requirements: &id012 !ruby/object:Gem::Requirement
|
199
|
+
none: false
|
200
|
+
requirements:
|
201
|
+
- - ">="
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
hash: 49
|
204
|
+
segments:
|
205
|
+
- 0
|
206
|
+
- 8
|
207
|
+
- 7
|
208
|
+
version: 0.8.7
|
209
|
+
requirement: *id012
|
210
|
+
type: :development
|
211
|
+
- !ruby/object:Gem::Dependency
|
212
|
+
prerelease: false
|
213
|
+
name: yard
|
214
|
+
version_requirements: &id013 !ruby/object:Gem::Requirement
|
215
|
+
none: false
|
216
|
+
requirements:
|
217
|
+
- - ">="
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
hash: 11
|
220
|
+
segments:
|
221
|
+
- 0
|
222
|
+
- 7
|
223
|
+
- 4
|
224
|
+
version: 0.7.4
|
225
|
+
requirement: *id013
|
226
|
+
type: :development
|
227
|
+
- !ruby/object:Gem::Dependency
|
228
|
+
prerelease: false
|
229
|
+
name: yard-cucumber
|
230
|
+
version_requirements: &id014 !ruby/object:Gem::Requirement
|
231
|
+
none: false
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
hash: 5
|
236
|
+
segments:
|
237
|
+
- 2
|
238
|
+
- 1
|
239
|
+
- 7
|
240
|
+
version: 2.1.7
|
241
|
+
requirement: *id014
|
242
|
+
type: :development
|
243
|
+
- !ruby/object:Gem::Dependency
|
244
|
+
prerelease: false
|
245
|
+
name: redcarpet
|
246
|
+
version_requirements: &id015 !ruby/object:Gem::Requirement
|
247
|
+
none: false
|
248
|
+
requirements:
|
249
|
+
- - ">="
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
hash: 87
|
252
|
+
segments:
|
253
|
+
- 1
|
254
|
+
- 17
|
255
|
+
- 2
|
256
|
+
version: 1.17.2
|
257
|
+
requirement: *id015
|
258
|
+
type: :development
|
259
|
+
- !ruby/object:Gem::Dependency
|
260
|
+
prerelease: false
|
261
|
+
name: guard
|
262
|
+
version_requirements: &id016 !ruby/object:Gem::Requirement
|
263
|
+
none: false
|
264
|
+
requirements:
|
265
|
+
- - "="
|
266
|
+
- !ruby/object:Gem::Version
|
267
|
+
hash: 17
|
268
|
+
segments:
|
269
|
+
- 1
|
270
|
+
- 0
|
271
|
+
- 3
|
272
|
+
version: 1.0.3
|
273
|
+
requirement: *id016
|
274
|
+
type: :development
|
275
|
+
- !ruby/object:Gem::Dependency
|
276
|
+
prerelease: false
|
277
|
+
name: guard-rspec
|
278
|
+
version_requirements: &id017 !ruby/object:Gem::Requirement
|
279
|
+
none: false
|
280
|
+
requirements:
|
281
|
+
- - ~>
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
hash: 5
|
284
|
+
segments:
|
285
|
+
- 0
|
286
|
+
- 7
|
287
|
+
version: "0.7"
|
288
|
+
requirement: *id017
|
289
|
+
type: :development
|
290
|
+
- !ruby/object:Gem::Dependency
|
291
|
+
prerelease: false
|
292
|
+
name: guard-cucumber
|
293
|
+
version_requirements: &id018 !ruby/object:Gem::Requirement
|
294
|
+
none: false
|
295
|
+
requirements:
|
296
|
+
- - ~>
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
hash: 27
|
299
|
+
segments:
|
300
|
+
- 0
|
301
|
+
- 8
|
302
|
+
version: "0.8"
|
303
|
+
requirement: *id018
|
304
|
+
type: :development
|
305
|
+
description: CLI for batch management of multiple Git repositories. Repositories don't need to be related.
|
306
|
+
email:
|
307
|
+
- robert@gearheadforhire.com
|
308
|
+
executables:
|
309
|
+
- repo
|
310
|
+
extensions: []
|
311
|
+
|
312
|
+
extra_rdoc_files: []
|
313
|
+
|
314
|
+
files:
|
315
|
+
- .gemfiles
|
316
|
+
- .gitattributes
|
317
|
+
- .gitignore
|
318
|
+
- .rspec
|
319
|
+
- .yardopts
|
320
|
+
- Gemfile
|
321
|
+
- Gemfile.lock
|
322
|
+
- Guardfile
|
323
|
+
- HISTORY.markdown
|
324
|
+
- LICENSE
|
325
|
+
- README.markdown
|
326
|
+
- Rakefile
|
327
|
+
- TODO.markdown
|
328
|
+
- VERSION
|
329
|
+
- bin/repo
|
330
|
+
- cucumber.yml
|
331
|
+
- examples/pc_saved_game_backup/.gitignore
|
332
|
+
- examples/pc_saved_game_backup/INSTALL.markdown
|
333
|
+
- examples/pc_saved_game_backup/README.markdown
|
334
|
+
- examples/pc_saved_game_backup/remote/.gitignore
|
335
|
+
- examples/pc_saved_game_backup/repo_manager/Gemfile
|
336
|
+
- examples/pc_saved_game_backup/repo_manager/Gemfile.lock
|
337
|
+
- examples/pc_saved_game_backup/repo_manager/assets/.gitignore
|
338
|
+
- examples/pc_saved_game_backup/repo_manager/features/support/aruba.rb
|
339
|
+
- examples/pc_saved_game_backup/repo_manager/features/support/env.rb
|
340
|
+
- examples/pc_saved_game_backup/repo_manager/features/support/steps.rb
|
341
|
+
- examples/pc_saved_game_backup/repo_manager/features/tasks/update.feature
|
342
|
+
- examples/pc_saved_game_backup/repo_manager/global/default/asset.conf
|
343
|
+
- examples/pc_saved_game_backup/repo_manager/repo.conf
|
344
|
+
- examples/pc_saved_game_backup/repo_manager/tasks/.gitignore
|
345
|
+
- examples/pc_saved_game_backup/repo_manager/tasks/remote.rb
|
346
|
+
- examples/pc_saved_game_backup/repo_manager/tasks/update.rb
|
347
|
+
- examples/pc_saved_game_backup/saved_games/hearts/save1
|
348
|
+
- examples/pc_saved_game_backup/saved_games/hearts/save2
|
349
|
+
- examples/pc_saved_game_backup/saved_games/mines/my_profile.ini
|
350
|
+
- examples/pc_saved_game_backup/saved_games/mines/saves/save1
|
351
|
+
- examples/pc_saved_game_backup/saved_games/mines/saves/save2
|
352
|
+
- features/actions/git.feature
|
353
|
+
- features/actions/help.feature
|
354
|
+
- features/actions/list.feature
|
355
|
+
- features/actions/path.feature
|
356
|
+
- features/actions/status.feature
|
357
|
+
- features/actions/task.feature
|
358
|
+
- features/assets/configuration.feature
|
359
|
+
- features/assets/rendering.feature
|
360
|
+
- features/assets/user_attributes.feature
|
361
|
+
- features/bin.feature
|
362
|
+
- features/logger.feature
|
363
|
+
- features/settings.feature
|
364
|
+
- features/support/aruba.rb
|
365
|
+
- features/support/env.rb
|
366
|
+
- features/support/steps.rb
|
367
|
+
- features/tasks/add/asset.feature
|
368
|
+
- features/tasks/generate/init.feature
|
369
|
+
- lib/repo_manager.rb
|
370
|
+
- lib/repo_manager/actions.rb
|
371
|
+
- lib/repo_manager/actions/action_helper.rb
|
372
|
+
- lib/repo_manager/actions/app_action.rb
|
373
|
+
- lib/repo_manager/actions/base_action.rb
|
374
|
+
- lib/repo_manager/actions/git_action.rb
|
375
|
+
- lib/repo_manager/actions/help_action.rb
|
376
|
+
- lib/repo_manager/actions/list_action.rb
|
377
|
+
- lib/repo_manager/actions/path_action.rb
|
378
|
+
- lib/repo_manager/actions/status_action.rb
|
379
|
+
- lib/repo_manager/actions/task_action.rb
|
380
|
+
- lib/repo_manager/app.rb
|
381
|
+
- lib/repo_manager/assets.rb
|
382
|
+
- lib/repo_manager/assets/app_asset.rb
|
383
|
+
- lib/repo_manager/assets/asset_accessors.rb
|
384
|
+
- lib/repo_manager/assets/asset_configuration.rb
|
385
|
+
- lib/repo_manager/assets/asset_manager.rb
|
386
|
+
- lib/repo_manager/assets/base_asset.rb
|
387
|
+
- lib/repo_manager/assets/repo_asset.rb
|
388
|
+
- lib/repo_manager/core.rb
|
389
|
+
- lib/repo_manager/core/array.rb
|
390
|
+
- lib/repo_manager/core/hash.rb
|
391
|
+
- lib/repo_manager/errors.rb
|
392
|
+
- lib/repo_manager/extensions/hash.rb
|
393
|
+
- lib/repo_manager/git.rb
|
394
|
+
- lib/repo_manager/git/lib.rb
|
395
|
+
- lib/repo_manager/git/status.rb
|
396
|
+
- lib/repo_manager/logger.rb
|
397
|
+
- lib/repo_manager/settings.rb
|
398
|
+
- lib/repo_manager/tasks.rb
|
399
|
+
- lib/repo_manager/tasks/add/asset.rb
|
400
|
+
- lib/repo_manager/tasks/generate/init.rb
|
401
|
+
- lib/repo_manager/tasks/generate/templates/config/repo.conf.tt
|
402
|
+
- lib/repo_manager/tasks/generate/templates/init/assets/.gitignore
|
403
|
+
- lib/repo_manager/tasks/generate/templates/init/global/default/asset.conf
|
404
|
+
- lib/repo_manager/tasks/generate/templates/init/tasks/.gitignore
|
405
|
+
- lib/repo_manager/tasks/task_manager.rb
|
406
|
+
- lib/repo_manager/tasks/thor_helper.rb
|
407
|
+
- lib/repo_manager/test/asset_steps.rb
|
408
|
+
- lib/repo_manager/test/base_steps.rb
|
409
|
+
- lib/repo_manager/test/repo_api.rb
|
410
|
+
- lib/repo_manager/test/repo_steps.rb
|
411
|
+
- lib/repo_manager/test/test_api.rb
|
412
|
+
- lib/repo_manager/views.rb
|
413
|
+
- lib/repo_manager/views/app_view.rb
|
414
|
+
- lib/repo_manager/views/base_view.rb
|
415
|
+
- lib/repo_manager/views/templates/css/basic.css
|
416
|
+
- lib/repo_manager/views/templates/default.erb
|
417
|
+
- lib/repo_manager/views/templates/default.slim
|
418
|
+
- lib/repo_manager/views/view_helper.rb
|
419
|
+
- repo_manager.gemspec
|
420
|
+
- spec/basic_app/actions/action_helper_spec.rb
|
421
|
+
- spec/basic_app/assets/base_asset_spec.rb
|
422
|
+
- spec/basic_app/core_spec.rb
|
423
|
+
- spec/basic_app/settings_spec.rb
|
424
|
+
- spec/basic_app/views/view_helper_spec.rb
|
425
|
+
- spec/basic_gem/aruba_helper_spec.rb
|
426
|
+
- spec/basic_gem/basic_gem_spec.rb
|
427
|
+
- spec/basic_gem/gemspec_spec.rb
|
428
|
+
- spec/repo_manager/git_spec.rb
|
429
|
+
- spec/spec_helper.rb
|
430
|
+
homepage: http://rubygems.org/gems/repo_manager
|
431
|
+
licenses: []
|
432
|
+
|
433
|
+
post_install_message:
|
434
|
+
rdoc_options:
|
435
|
+
- --title
|
436
|
+
- RepoManager Documentation
|
437
|
+
- --main
|
438
|
+
- README.markdown
|
439
|
+
- --line-numbers
|
440
|
+
- --inline-source
|
441
|
+
require_paths:
|
442
|
+
- lib
|
443
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
444
|
+
none: false
|
445
|
+
requirements:
|
446
|
+
- - ">="
|
447
|
+
- !ruby/object:Gem::Version
|
448
|
+
hash: 3
|
449
|
+
segments:
|
450
|
+
- 0
|
451
|
+
version: "0"
|
452
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
453
|
+
none: false
|
454
|
+
requirements:
|
455
|
+
- - ">="
|
456
|
+
- !ruby/object:Gem::Version
|
457
|
+
hash: 23
|
458
|
+
segments:
|
459
|
+
- 1
|
460
|
+
- 3
|
461
|
+
- 6
|
462
|
+
version: 1.3.6
|
463
|
+
requirements: []
|
464
|
+
|
465
|
+
rubyforge_project: repo_manager
|
466
|
+
rubygems_version: 1.8.24
|
467
|
+
signing_key:
|
468
|
+
specification_version: 3
|
469
|
+
summary: CLI for batch management of multiple Git repositories
|
470
|
+
test_files: []
|
471
|
+
|
472
|
+
has_rdoc:
|