repo_manager 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemfiles +1 -1
- data/.gitignore +0 -1
- data/Gemfile.lock +61 -55
- data/HISTORY.markdown +5 -0
- data/LICENSE +1 -1
- data/README.markdown +1 -4
- data/Rakefile +0 -27
- data/VERSION +1 -1
- data/features/actions/git.feature +7 -4
- data/features/actions/help.feature +13 -0
- data/features/actions/task.feature +13 -0
- data/lib/repo_manager/actions/base_action.rb +24 -21
- data/lib/repo_manager/actions/help_action.rb +20 -0
- data/lib/repo_manager/actions/task_action.rb +10 -1
- data/lib/repo_manager/app.rb +6 -6
- data/lib/repo_manager/assets/base_asset.rb +1 -1
- data/lib/repo_manager/core/hash.rb +19 -0
- data/lib/repo_manager/extensions/hash.rb +1 -1
- data/lib/repo_manager/settings.rb +1 -1
- data/lib/repo_manager/tasks/task_manager.rb +17 -4
- data/lib/repo_manager/tasks/thor_helper.rb +1 -1
- data/lib/repo_manager/views/base_view.rb +1 -1
- data/repo_manager.gemspec +11 -13
- data/spec/basic_app/actions/basic_action_spec.rb +122 -0
- metadata +222 -267
- data/.yardopts +0 -11
@@ -18,9 +18,29 @@ module RepoManager
|
|
18
18
|
# @example Usage: repo help [action]
|
19
19
|
class HelpAction < AppAction
|
20
20
|
|
21
|
+
# Add action specific options
|
22
|
+
def parse_options
|
23
|
+
super do |opts|
|
24
|
+
|
25
|
+
opts.on("--actions", "List available actions") do |a|
|
26
|
+
options[:actions] = a
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
21
32
|
def process
|
33
|
+
parse_options
|
22
34
|
action = args.shift
|
23
35
|
|
36
|
+
if options[:actions]
|
37
|
+
AVAILABLE_ACTIONS.each do |act|
|
38
|
+
puts act
|
39
|
+
end
|
40
|
+
|
41
|
+
exit(0) unless action
|
42
|
+
end
|
43
|
+
|
24
44
|
unless action
|
25
45
|
puts "no action specified"
|
26
46
|
puts "Usage: repo help action | repo --help"
|
@@ -37,6 +37,11 @@ def parse_options
|
|
37
37
|
options[:tasks] = t
|
38
38
|
end
|
39
39
|
|
40
|
+
opts.on("--bare", "List task names for CLI completion, implies '--tasks'") do |b|
|
41
|
+
options[:bare] = b
|
42
|
+
options[:tasks] = true if b
|
43
|
+
end
|
44
|
+
|
40
45
|
end
|
41
46
|
end
|
42
47
|
|
@@ -47,7 +52,11 @@ def process
|
|
47
52
|
task_manager = RepoManager::TaskManager.new(configuration)
|
48
53
|
|
49
54
|
if options[:tasks]
|
50
|
-
|
55
|
+
if options[:bare]
|
56
|
+
task_manager.list_bare_tasks
|
57
|
+
else
|
58
|
+
task_manager.list_tasks
|
59
|
+
end
|
51
60
|
return 0
|
52
61
|
end
|
53
62
|
|
data/lib/repo_manager/app.rb
CHANGED
@@ -20,17 +20,17 @@ class App
|
|
20
20
|
attr_accessor :option_parser
|
21
21
|
|
22
22
|
def initialize(argv=[], configuration={})
|
23
|
-
@configuration = configuration
|
24
|
-
@options = configuration[:options] || {}
|
25
|
-
@argv = argv
|
23
|
+
@configuration = configuration.deep_clone
|
24
|
+
@options = @configuration[:options] || {}
|
25
|
+
@argv = argv.dup
|
26
26
|
$stdout.sync = true
|
27
27
|
|
28
|
-
config_filename = configuration[:configuration_filename]
|
29
|
-
RepoManager::Logger::Manager.new(config_filename, :logging, configuration)
|
28
|
+
config_filename = @configuration[:configuration_filename]
|
29
|
+
RepoManager::Logger::Manager.new(config_filename, :logging, @configuration)
|
30
30
|
|
31
31
|
logger.debug "configuration: #{@configuration.inspect}"
|
32
32
|
logger.debug "argv: #{@argv.inspect}"
|
33
|
-
logger.debug "config file: #{configuration[:configuration_filename]}" if configuration[:configuration_filename]
|
33
|
+
logger.debug "config file: #{@configuration[:configuration_filename]}" if @configuration[:configuration_filename]
|
34
34
|
end
|
35
35
|
|
36
36
|
def execute
|
@@ -133,7 +133,7 @@ def self.path_to_name(path)
|
|
133
133
|
# @param [Hash] attributes ({}) initial attributes
|
134
134
|
def initialize(asset_name_or_folder=nil, attributes={})
|
135
135
|
# allow for lazy loading (TODO), don't assign empty attributes
|
136
|
-
@attributes = attributes.
|
136
|
+
@attributes = attributes.deep_clone unless attributes.empty?
|
137
137
|
|
138
138
|
# create user_attribute methods
|
139
139
|
create_accessors(@attributes[:user_attributes]) if @attributes && @attributes[:user_attributes]
|
@@ -80,4 +80,23 @@ def recursively_stringify_keys!
|
|
80
80
|
self
|
81
81
|
end
|
82
82
|
|
83
|
+
# From ActiveSupport CoreExt
|
84
|
+
#
|
85
|
+
# Returns a deep copy of hash.
|
86
|
+
#
|
87
|
+
# hash = { :a => { :b => 'b' } }
|
88
|
+
# dup = hash.deep_clone
|
89
|
+
# dup[:a][:c] = 'c'
|
90
|
+
#
|
91
|
+
# hash[:a][:c] #=> nil
|
92
|
+
# dup[:a][:c] #=> "c"
|
93
|
+
def deep_clone
|
94
|
+
duplicate = self.dup
|
95
|
+
duplicate.each_pair do |k,v|
|
96
|
+
tv = duplicate[k]
|
97
|
+
duplicate[k] = tv.is_a?(Hash) && v.is_a?(Hash) ? tv.deep_clone : v
|
98
|
+
end
|
99
|
+
duplicate
|
100
|
+
end
|
101
|
+
|
83
102
|
end
|
@@ -52,7 +52,7 @@ def method_missing(name, *args)
|
|
52
52
|
# Note that MethodWriter also overrides #respond_to such
|
53
53
|
# that any #method_name= will respond appropriately as true.
|
54
54
|
#
|
55
|
-
# @example
|
55
|
+
# @example Extending the Hash class
|
56
56
|
#
|
57
57
|
# class MyHash < Hash
|
58
58
|
# include RepoManager::Extensions::MethodWriter
|
@@ -8,8 +8,8 @@ class TaskManager
|
|
8
8
|
|
9
9
|
attr_accessor :configuration
|
10
10
|
|
11
|
-
def initialize(
|
12
|
-
@configuration =
|
11
|
+
def initialize(config={})
|
12
|
+
@configuration = config.deep_clone
|
13
13
|
options = @configuration[:options]
|
14
14
|
self.color = options ? options[:color] : true
|
15
15
|
end
|
@@ -54,7 +54,7 @@ def invoke(name, args=ARGV)
|
|
54
54
|
config[:shell] ||= shell
|
55
55
|
klass.send(:dispatch, task, args, nil, config) do |instance|
|
56
56
|
if defined?(instance.configuration)
|
57
|
-
instance.configuration = configuration.
|
57
|
+
instance.configuration = configuration.deep_clone
|
58
58
|
end
|
59
59
|
end
|
60
60
|
logger.debug "after invoke"
|
@@ -143,7 +143,7 @@ def task_help(name)
|
|
143
143
|
klass.task_help(shell , task)
|
144
144
|
end
|
145
145
|
|
146
|
-
# display a list of tasks
|
146
|
+
# display a list of tasks for user display
|
147
147
|
def list_tasks
|
148
148
|
load_tasks
|
149
149
|
|
@@ -162,5 +162,18 @@ def list_tasks
|
|
162
162
|
shell.print_table(list, :ident => 2, :truncate => true)
|
163
163
|
end
|
164
164
|
|
165
|
+
# display a list of tasks for CLI completion
|
166
|
+
def list_bare_tasks
|
167
|
+
load_tasks
|
168
|
+
|
169
|
+
Thor::Base.subclasses.each do |klass|
|
170
|
+
unless klass == Thor
|
171
|
+
klass.tasks.each do |t|
|
172
|
+
puts "#{klass.namespace}:#{t[0]}"
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
165
178
|
end
|
166
179
|
end
|
data/repo_manager.gemspec
CHANGED
@@ -30,26 +30,24 @@ Gem::Specification.new do |s|
|
|
30
30
|
s.required_rubygems_version = ">= 1.3.6"
|
31
31
|
s.rubyforge_project = "repo_manager"
|
32
32
|
|
33
|
-
s.add_dependency 'term-ansicolor', '
|
33
|
+
s.add_dependency 'term-ansicolor', '~> 1.0.4'
|
34
34
|
s.add_dependency 'logging', '>= 1.6.2'
|
35
|
-
s.add_dependency 'slim', '
|
36
|
-
s.add_dependency 'mustache', '
|
35
|
+
s.add_dependency 'slim', '~> 1.0.4'
|
36
|
+
s.add_dependency 'mustache', '= 0.99.4'
|
37
37
|
s.add_dependency "chronic", ">= 0.6.5"
|
38
|
-
s.add_dependency "thor", "
|
38
|
+
s.add_dependency "thor", ">= 0.15.0"
|
39
39
|
|
40
40
|
s.add_dependency 'git', '= 1.2.5'
|
41
41
|
|
42
|
+
# lock down tins from term-ansicolor since newer versions require Ruby > 2.0
|
43
|
+
s.add_dependency 'tins', '~> 1.6.0'
|
44
|
+
|
42
45
|
s.add_development_dependency "bundler", ">= 1.0.14"
|
43
46
|
s.add_development_dependency "rspec", ">= 2.6.0"
|
44
|
-
s.add_development_dependency "cucumber", "
|
47
|
+
s.add_development_dependency "cucumber", ">= 1.0"
|
45
48
|
s.add_development_dependency "aruba", "= 0.4.5"
|
46
49
|
s.add_development_dependency "rake", ">= 0.8.7"
|
47
50
|
|
48
|
-
# doc generation
|
49
|
-
s.add_development_dependency "yard", ">= 0.7.4"
|
50
|
-
s.add_development_dependency "yard-cucumber", ">= 2.1.7"
|
51
|
-
s.add_development_dependency "redcarpet", ">= 1.17.2"
|
52
|
-
|
53
51
|
# guard, watches files and runs specs and features
|
54
52
|
#
|
55
53
|
# Guard is locked at 1.0.3 due to high CPU usage after returning from screen
|
@@ -58,9 +56,9 @@ Gem::Specification.new do |s|
|
|
58
56
|
#
|
59
57
|
# https://github.com/guard/listen/issues/44
|
60
58
|
#
|
61
|
-
s.add_development_dependency "guard", "
|
62
|
-
s.add_development_dependency "guard-rspec", "
|
63
|
-
s.add_development_dependency "guard-cucumber", "
|
59
|
+
s.add_development_dependency "guard", ">= 1.0.3"
|
60
|
+
s.add_development_dependency "guard-rspec", ">= 0.7"
|
61
|
+
s.add_development_dependency "guard-cucumber", ">= 0.8"
|
64
62
|
|
65
63
|
s.files = gemfiles.split("\n")
|
66
64
|
s.executables = gemfiles.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
@@ -0,0 +1,122 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe RepoManager::BaseAction do
|
4
|
+
|
5
|
+
before :all do
|
6
|
+
#RepoManager::Logger::Manager.new
|
7
|
+
#Logging.appenders.stdout.level = :debug
|
8
|
+
end
|
9
|
+
|
10
|
+
describe "parse_options" do
|
11
|
+
|
12
|
+
context "no parser_configuration specified" do
|
13
|
+
|
14
|
+
before :each do
|
15
|
+
# suppress STDOUT messages
|
16
|
+
$stdout = StringIO.new
|
17
|
+
end
|
18
|
+
|
19
|
+
context "BaseAction instantiated with valid options" do
|
20
|
+
it "should not raise errors" do
|
21
|
+
args = ['--force']
|
22
|
+
configuration = {}
|
23
|
+
|
24
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
25
|
+
lambda { action.parse_options }.should_not raise_error
|
26
|
+
end
|
27
|
+
|
28
|
+
it "should return an instance of OptionParser" do
|
29
|
+
args = ['--force']
|
30
|
+
configuration = {}
|
31
|
+
|
32
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
33
|
+
action.parse_options.is_a?(OptionParser).should be_true
|
34
|
+
end
|
35
|
+
|
36
|
+
it "should consume valid action.args" do
|
37
|
+
args = ['--force']
|
38
|
+
configuration = {}
|
39
|
+
|
40
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
41
|
+
action.parse_options
|
42
|
+
action.args.should be_empty
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should not modify args param" do
|
46
|
+
args = ['--force']
|
47
|
+
configuration = {}
|
48
|
+
|
49
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
50
|
+
action.parse_options
|
51
|
+
action.args.should be_empty
|
52
|
+
args.should == ['--force']
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should not modify configuration param" do
|
56
|
+
args = ['--force']
|
57
|
+
configuration = {:options => {:something => true}}
|
58
|
+
|
59
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
60
|
+
action.parse_options
|
61
|
+
configuration.should == {:options => {:something => true}}
|
62
|
+
end
|
63
|
+
|
64
|
+
it "should modify action.configuration" do
|
65
|
+
args = ['--force']
|
66
|
+
configuration = {:options => {:something => true}}
|
67
|
+
|
68
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
69
|
+
action.parse_options
|
70
|
+
action.configuration.should == {:options => {:something => true, :force => true}}
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
74
|
+
|
75
|
+
context "BaseAction instantiated with invalid options" do
|
76
|
+
it "should raise errors" do
|
77
|
+
args = ['--bad-option']
|
78
|
+
configuration = {}
|
79
|
+
|
80
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
81
|
+
lambda { action.parse_options}.should raise_error
|
82
|
+
end
|
83
|
+
|
84
|
+
end
|
85
|
+
|
86
|
+
end
|
87
|
+
|
88
|
+
context "parser_configuration with {raise_on_invalid_option=>false}" do
|
89
|
+
|
90
|
+
context "BaseAction instantiated with invalid options" do
|
91
|
+
it "should not raise errors" do
|
92
|
+
args = ['--bad-option']
|
93
|
+
configuration = {}
|
94
|
+
|
95
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
96
|
+
lambda { action.parse_options(:raise_on_invalid_option => false)}.should_not raise_error
|
97
|
+
end
|
98
|
+
|
99
|
+
it "should not consume invalid 'args'" do
|
100
|
+
args = ['--bad-option']
|
101
|
+
configuration = {}
|
102
|
+
|
103
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
104
|
+
lambda { action.parse_options(:raise_on_invalid_option => false)}.should_not raise_error
|
105
|
+
action.args.should == ['--bad-option']
|
106
|
+
end
|
107
|
+
|
108
|
+
it "should not modify configuration param" do
|
109
|
+
args = ['--force']
|
110
|
+
configuration = {:options => {:something => true}}
|
111
|
+
|
112
|
+
action = RepoManager::BaseAction.new(args, configuration)
|
113
|
+
action.parse_options
|
114
|
+
configuration.should == {:options => {:something => true}}
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
120
|
+
|
121
|
+
end
|
122
|
+
end
|
metadata
CHANGED
@@ -1,322 +1,285 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: repo_manager
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 7
|
9
|
-
- 2
|
10
|
-
version: 0.7.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Robert Wahler
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
prerelease: false
|
12
|
+
date: 2017-12-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: term-ansicolor
|
23
|
-
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 31
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 0
|
32
|
-
- 4
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 1.0.4
|
34
|
-
requirement: *id001
|
35
22
|
type: :runtime
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
23
|
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.0.4
|
30
|
+
- !ruby/object:Gem::Dependency
|
38
31
|
name: logging
|
39
|
-
|
40
|
-
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 11
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 6
|
48
|
-
- 2
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
49
37
|
version: 1.6.2
|
50
|
-
requirement: *id002
|
51
38
|
type: :runtime
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
39
|
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.6.2
|
46
|
+
- !ruby/object:Gem::Dependency
|
54
47
|
name: slim
|
55
|
-
|
56
|
-
none: false
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 31
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 0
|
64
|
-
- 4
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
65
53
|
version: 1.0.4
|
66
|
-
requirement: *id003
|
67
54
|
type: :runtime
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
55
|
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.4
|
62
|
+
- !ruby/object:Gem::Dependency
|
70
63
|
name: mustache
|
71
|
-
|
72
|
-
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
hash: 411
|
77
|
-
segments:
|
78
|
-
- 0
|
79
|
-
- 99
|
80
|
-
- 4
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
81
69
|
version: 0.99.4
|
82
|
-
requirement: *id004
|
83
70
|
type: :runtime
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
71
|
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - '='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.99.4
|
78
|
+
- !ruby/object:Gem::Dependency
|
86
79
|
name: chronic
|
87
|
-
|
88
|
-
none: false
|
89
|
-
requirements:
|
90
|
-
- -
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
hash: 13
|
93
|
-
segments:
|
94
|
-
- 0
|
95
|
-
- 6
|
96
|
-
- 5
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
97
85
|
version: 0.6.5
|
98
|
-
requirement: *id005
|
99
86
|
type: :runtime
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
87
|
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.6.5
|
94
|
+
- !ruby/object:Gem::Dependency
|
102
95
|
name: thor
|
103
|
-
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
104
97
|
none: false
|
105
|
-
requirements:
|
106
|
-
- -
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
hash: 35
|
109
|
-
segments:
|
110
|
-
- 0
|
111
|
-
- 15
|
112
|
-
- 0
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
113
101
|
version: 0.15.0
|
114
|
-
requirement: *id006
|
115
102
|
type: :runtime
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
103
|
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.15.0
|
110
|
+
- !ruby/object:Gem::Dependency
|
118
111
|
name: git
|
119
|
-
|
120
|
-
none: false
|
121
|
-
requirements:
|
122
|
-
- -
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
hash: 21
|
125
|
-
segments:
|
126
|
-
- 1
|
127
|
-
- 2
|
128
|
-
- 5
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
129
117
|
version: 1.2.5
|
130
|
-
requirement: *id007
|
131
118
|
type: :runtime
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
119
|
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - '='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 1.2.5
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: tins
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 1.6.0
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 1.6.0
|
142
|
+
- !ruby/object:Gem::Dependency
|
134
143
|
name: bundler
|
135
|
-
|
136
|
-
none: false
|
137
|
-
requirements:
|
138
|
-
- -
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
hash: 11
|
141
|
-
segments:
|
142
|
-
- 1
|
143
|
-
- 0
|
144
|
-
- 14
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
145
149
|
version: 1.0.14
|
146
|
-
requirement: *id008
|
147
150
|
type: :development
|
148
|
-
- !ruby/object:Gem::Dependency
|
149
151
|
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 1.0.14
|
158
|
+
- !ruby/object:Gem::Dependency
|
150
159
|
name: rspec
|
151
|
-
|
152
|
-
none: false
|
153
|
-
requirements:
|
154
|
-
- -
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
hash: 23
|
157
|
-
segments:
|
158
|
-
- 2
|
159
|
-
- 6
|
160
|
-
- 0
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
161
165
|
version: 2.6.0
|
162
|
-
requirement: *id009
|
163
166
|
type: :development
|
164
|
-
- !ruby/object:Gem::Dependency
|
165
167
|
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 2.6.0
|
174
|
+
- !ruby/object:Gem::Dependency
|
166
175
|
name: cucumber
|
167
|
-
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
168
177
|
none: false
|
169
|
-
requirements:
|
170
|
-
- -
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
|
173
|
-
segments:
|
174
|
-
- 1
|
175
|
-
- 0
|
176
|
-
version: "1.0"
|
177
|
-
requirement: *id010
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '1.0'
|
178
182
|
type: :development
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
183
|
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '1.0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
181
191
|
name: aruba
|
182
|
-
|
183
|
-
none: false
|
184
|
-
requirements:
|
185
|
-
- -
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
hash: 5
|
188
|
-
segments:
|
189
|
-
- 0
|
190
|
-
- 4
|
191
|
-
- 5
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - '='
|
196
|
+
- !ruby/object:Gem::Version
|
192
197
|
version: 0.4.5
|
193
|
-
requirement: *id011
|
194
198
|
type: :development
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
199
|
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - '='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: 0.4.5
|
206
|
+
- !ruby/object:Gem::Dependency
|
197
207
|
name: rake
|
198
|
-
|
199
|
-
none: false
|
200
|
-
requirements:
|
201
|
-
- -
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
hash: 49
|
204
|
-
segments:
|
205
|
-
- 0
|
206
|
-
- 8
|
207
|
-
- 7
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
208
213
|
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
214
|
type: :development
|
259
|
-
- !ruby/object:Gem::Dependency
|
260
215
|
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 0.8.7
|
222
|
+
- !ruby/object:Gem::Dependency
|
261
223
|
name: guard
|
262
|
-
|
263
|
-
none: false
|
264
|
-
requirements:
|
265
|
-
- -
|
266
|
-
- !ruby/object:Gem::Version
|
267
|
-
hash: 17
|
268
|
-
segments:
|
269
|
-
- 1
|
270
|
-
- 0
|
271
|
-
- 3
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
226
|
+
requirements:
|
227
|
+
- - ! '>='
|
228
|
+
- !ruby/object:Gem::Version
|
272
229
|
version: 1.0.3
|
273
|
-
requirement: *id016
|
274
230
|
type: :development
|
275
|
-
- !ruby/object:Gem::Dependency
|
276
231
|
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: 1.0.3
|
238
|
+
- !ruby/object:Gem::Dependency
|
277
239
|
name: guard-rspec
|
278
|
-
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
279
241
|
none: false
|
280
|
-
requirements:
|
281
|
-
- -
|
282
|
-
- !ruby/object:Gem::Version
|
283
|
-
|
284
|
-
segments:
|
285
|
-
- 0
|
286
|
-
- 7
|
287
|
-
version: "0.7"
|
288
|
-
requirement: *id017
|
242
|
+
requirements:
|
243
|
+
- - ! '>='
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0.7'
|
289
246
|
type: :development
|
290
|
-
- !ruby/object:Gem::Dependency
|
291
247
|
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ! '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0.7'
|
254
|
+
- !ruby/object:Gem::Dependency
|
292
255
|
name: guard-cucumber
|
293
|
-
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
294
257
|
none: false
|
295
|
-
requirements:
|
296
|
-
- -
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
|
299
|
-
segments:
|
300
|
-
- 0
|
301
|
-
- 8
|
302
|
-
version: "0.8"
|
303
|
-
requirement: *id018
|
258
|
+
requirements:
|
259
|
+
- - ! '>='
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: '0.8'
|
304
262
|
type: :development
|
305
|
-
|
306
|
-
|
263
|
+
prerelease: false
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ! '>='
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: '0.8'
|
270
|
+
description: CLI for batch management of multiple Git repositories. Repositories
|
271
|
+
don't need to be related.
|
272
|
+
email:
|
307
273
|
- robert@gearheadforhire.com
|
308
|
-
executables:
|
274
|
+
executables:
|
309
275
|
- repo
|
310
276
|
extensions: []
|
311
|
-
|
312
277
|
extra_rdoc_files: []
|
313
|
-
|
314
|
-
files:
|
278
|
+
files:
|
315
279
|
- .gemfiles
|
316
280
|
- .gitattributes
|
317
281
|
- .gitignore
|
318
282
|
- .rspec
|
319
|
-
- .yardopts
|
320
283
|
- Gemfile
|
321
284
|
- Gemfile.lock
|
322
285
|
- Guardfile
|
@@ -418,6 +381,7 @@ files:
|
|
418
381
|
- lib/repo_manager/views/view_helper.rb
|
419
382
|
- repo_manager.gemspec
|
420
383
|
- spec/basic_app/actions/action_helper_spec.rb
|
384
|
+
- spec/basic_app/actions/basic_action_spec.rb
|
421
385
|
- spec/basic_app/assets/base_asset_spec.rb
|
422
386
|
- spec/basic_app/core_spec.rb
|
423
387
|
- spec/basic_app/settings_spec.rb
|
@@ -429,44 +393,35 @@ files:
|
|
429
393
|
- spec/spec_helper.rb
|
430
394
|
homepage: http://rubygems.org/gems/repo_manager
|
431
395
|
licenses: []
|
432
|
-
|
433
396
|
post_install_message:
|
434
|
-
rdoc_options:
|
397
|
+
rdoc_options:
|
435
398
|
- --title
|
436
399
|
- RepoManager Documentation
|
437
400
|
- --main
|
438
401
|
- README.markdown
|
439
402
|
- --line-numbers
|
440
403
|
- --inline-source
|
441
|
-
require_paths:
|
404
|
+
require_paths:
|
442
405
|
- lib
|
443
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
406
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
444
407
|
none: false
|
445
|
-
requirements:
|
446
|
-
- -
|
447
|
-
- !ruby/object:Gem::Version
|
448
|
-
|
449
|
-
segments:
|
408
|
+
requirements:
|
409
|
+
- - ! '>='
|
410
|
+
- !ruby/object:Gem::Version
|
411
|
+
version: '0'
|
412
|
+
segments:
|
450
413
|
- 0
|
451
|
-
|
452
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
414
|
+
hash: 3792158219394400619
|
415
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
453
416
|
none: false
|
454
|
-
requirements:
|
455
|
-
- -
|
456
|
-
- !ruby/object:Gem::Version
|
457
|
-
hash: 23
|
458
|
-
segments:
|
459
|
-
- 1
|
460
|
-
- 3
|
461
|
-
- 6
|
417
|
+
requirements:
|
418
|
+
- - ! '>='
|
419
|
+
- !ruby/object:Gem::Version
|
462
420
|
version: 1.3.6
|
463
421
|
requirements: []
|
464
|
-
|
465
422
|
rubyforge_project: repo_manager
|
466
|
-
rubygems_version: 1.8.
|
423
|
+
rubygems_version: 1.8.23.2
|
467
424
|
signing_key:
|
468
425
|
specification_version: 3
|
469
426
|
summary: CLI for batch management of multiple Git repositories
|
470
427
|
test_files: []
|
471
|
-
|
472
|
-
has_rdoc:
|