git_cloner 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +0 -1
- data/.rubocop.yml +0 -2
- data/.travis.yml +8 -0
- data/Gemfile +3 -1
- data/README.md +76 -15
- data/Rakefile +8 -1
- data/bin/gitcloner +5 -2
- data/git_cloner.gemspec +29 -29
- data/lib/copier.rb +41 -0
- data/lib/git_cloner/version.rb +2 -1
- data/lib/git_cloner_core.rb +133 -124
- data/lib/git_cloner_dsl.rb +3 -2
- data/lib/git_cloner_dsl_model.rb +1 -1
- data/spec/copier_spec.rb +83 -0
- data/spec/git_cloner_core_spec.rb +195 -339
- data/spec/spec_helper.rb +9 -1
- metadata +55 -33
- data/rubocop-todo.yml +0 -48
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require 'simplecov'
|
3
|
-
|
3
|
+
require 'coveralls'
|
4
|
+
Coveralls.wear!
|
5
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
6
|
+
SimpleCov::Formatter::HTMLFormatter,
|
7
|
+
Coveralls::SimpleCov::Formatter
|
8
|
+
]
|
9
|
+
SimpleCov.start do
|
10
|
+
add_filter '/spec/'
|
11
|
+
end
|
4
12
|
RSpec.configure do |config|
|
5
13
|
config.treat_symbols_as_metadata_keys_with_true_values = true
|
6
14
|
config.run_all_when_everything_filtered = true
|
metadata
CHANGED
@@ -1,93 +1,113 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_cloner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- tbpgr
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-06-08 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: activesupport
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 4.0.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.0.1
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: activemodel
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - ~>
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 4.0.2
|
33
34
|
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.0.2
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: thor
|
38
|
-
requirement:
|
39
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
45
|
- - ~>
|
42
46
|
- !ruby/object:Gem::Version
|
43
47
|
version: 0.18.1
|
44
48
|
type: :runtime
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.18.1
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
56
|
name: bundler
|
49
|
-
requirement:
|
50
|
-
none: false
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '1.3'
|
55
62
|
type: :development
|
56
63
|
prerelease: false
|
57
|
-
version_requirements:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: rake
|
60
|
-
requirement:
|
61
|
-
none: false
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
62
72
|
requirements:
|
63
|
-
- -
|
73
|
+
- - '>='
|
64
74
|
- !ruby/object:Gem::Version
|
65
75
|
version: '0'
|
66
76
|
type: :development
|
67
77
|
prerelease: false
|
68
|
-
version_requirements:
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rspec
|
71
|
-
requirement:
|
72
|
-
none: false
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
73
86
|
requirements:
|
74
87
|
- - ~>
|
75
88
|
- !ruby/object:Gem::Version
|
76
89
|
version: 2.14.1
|
77
90
|
type: :development
|
78
91
|
prerelease: false
|
79
|
-
version_requirements:
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.14.1
|
80
97
|
- !ruby/object:Gem::Dependency
|
81
98
|
name: simplecov
|
82
|
-
requirement:
|
83
|
-
none: false
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
84
100
|
requirements:
|
85
101
|
- - ~>
|
86
102
|
- !ruby/object:Gem::Version
|
87
103
|
version: 0.8.2
|
88
104
|
type: :development
|
89
105
|
prerelease: false
|
90
|
-
version_requirements:
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.8.2
|
91
111
|
description: GitCloner clone git repositoris from Gitclonerfile settings
|
92
112
|
email:
|
93
113
|
- tbpgr@tbpgr.jp
|
@@ -96,48 +116,50 @@ executables:
|
|
96
116
|
extensions: []
|
97
117
|
extra_rdoc_files: []
|
98
118
|
files:
|
119
|
+
- .coveralls.yml
|
99
120
|
- .gitignore
|
100
121
|
- .rspec
|
101
122
|
- .rubocop.yml
|
123
|
+
- .travis.yml
|
102
124
|
- Gemfile
|
103
125
|
- LICENSE.txt
|
104
126
|
- README.md
|
105
127
|
- Rakefile
|
106
128
|
- bin/gitcloner
|
107
129
|
- git_cloner.gemspec
|
130
|
+
- lib/copier.rb
|
108
131
|
- lib/git_cloner/version.rb
|
109
132
|
- lib/git_cloner_core.rb
|
110
133
|
- lib/git_cloner_dsl.rb
|
111
134
|
- lib/git_cloner_dsl_model.rb
|
112
|
-
-
|
135
|
+
- spec/copier_spec.rb
|
113
136
|
- spec/git_cloner_core_spec.rb
|
114
137
|
- spec/spec_helper.rb
|
115
138
|
homepage: https://github.com/tbpgr/git_cloner
|
116
139
|
licenses:
|
117
140
|
- MIT
|
141
|
+
metadata: {}
|
118
142
|
post_install_message:
|
119
143
|
rdoc_options: []
|
120
144
|
require_paths:
|
121
145
|
- lib
|
122
146
|
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
147
|
requirements:
|
125
|
-
- -
|
148
|
+
- - '>='
|
126
149
|
- !ruby/object:Gem::Version
|
127
150
|
version: '0'
|
128
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
152
|
requirements:
|
131
|
-
- -
|
153
|
+
- - '>='
|
132
154
|
- !ruby/object:Gem::Version
|
133
155
|
version: '0'
|
134
156
|
requirements: []
|
135
157
|
rubyforge_project:
|
136
|
-
rubygems_version:
|
158
|
+
rubygems_version: 2.0.14
|
137
159
|
signing_key:
|
138
|
-
specification_version:
|
160
|
+
specification_version: 4
|
139
161
|
summary: GitCloner clone git repositoris from Gitclonerfile settings
|
140
162
|
test_files:
|
163
|
+
- spec/copier_spec.rb
|
141
164
|
- spec/git_cloner_core_spec.rb
|
142
165
|
- spec/spec_helper.rb
|
143
|
-
has_rdoc:
|
data/rubocop-todo.yml
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
# This configuration was generated by `rubocop --auto-gen-config`.
|
2
|
-
# The point is for the user to remove these configuration records
|
3
|
-
# one by one as the offences are removed from the code base.
|
4
|
-
|
5
|
-
Documentation:
|
6
|
-
Enabled: false
|
7
|
-
|
8
|
-
EmptyLinesAroundBody:
|
9
|
-
Enabled: false
|
10
|
-
|
11
|
-
Encoding:
|
12
|
-
Enabled: false
|
13
|
-
|
14
|
-
Eval:
|
15
|
-
Enabled: false
|
16
|
-
|
17
|
-
HashMethods:
|
18
|
-
Enabled: false
|
19
|
-
|
20
|
-
Lambda:
|
21
|
-
Enabled: false
|
22
|
-
|
23
|
-
LeadingCommentSpace:
|
24
|
-
Enabled: false
|
25
|
-
|
26
|
-
LineLength:
|
27
|
-
Enabled: false
|
28
|
-
|
29
|
-
MethodLength:
|
30
|
-
Enabled: false
|
31
|
-
|
32
|
-
SpaceAroundBlockBraces:
|
33
|
-
Enabled: false
|
34
|
-
|
35
|
-
SpaceAroundOperators:
|
36
|
-
Enabled: false
|
37
|
-
|
38
|
-
SpaceInsideHashLiteralBraces:
|
39
|
-
Enabled: false
|
40
|
-
|
41
|
-
StringLiterals:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
TrailingWhitespace:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
UselessAssignment:
|
48
|
-
Enabled: false
|