bovem 0.8.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -1
- data/bovem.gemspec +1 -0
- data/lib/bovem.rb +4 -1
- data/lib/bovem/configuration.rb +3 -3
- data/lib/bovem/console.rb +42 -32
- data/lib/bovem/logger.rb +3 -2
- data/lib/bovem/shell.rb +377 -0
- data/lib/bovem/version.rb +3 -3
- data/spec/bovem/console_spec.rb +43 -40
- data/spec/bovem/shell_spec.rb +473 -0
- data/spec/coverage_helper.rb +3 -2
- metadata +155 -145
data/spec/coverage_helper.rb
CHANGED
@@ -4,10 +4,11 @@
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
5
|
#
|
6
6
|
|
7
|
-
require "simplecov"
|
8
7
|
require "pathname"
|
9
8
|
|
10
|
-
if ENV["BOVEM_COVERAGE"] == "TRUE" then
|
9
|
+
if ENV["BOVEM_COVERAGE"] == "TRUE" && RUBY_VERSION >= "1.9" then
|
10
|
+
require "simplecov"
|
11
|
+
|
11
12
|
root = Pathname.new(File.dirname(__FILE__)) + ".."
|
12
13
|
|
13
14
|
SimpleCov.start do
|
metadata
CHANGED
@@ -1,157 +1,167 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bovem
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 8
|
9
|
-
- 1
|
10
|
-
version: 0.8.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Shogun
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
none: false
|
23
|
-
requirements:
|
24
|
-
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
|
27
|
-
|
28
|
-
- 1
|
29
|
-
- 0
|
30
|
-
version: "1.0"
|
12
|
+
date: 2012-08-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: lazier
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.0'
|
22
|
+
type: :runtime
|
31
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'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: open4
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.3.0
|
32
38
|
type: :runtime
|
33
|
-
name: lazier
|
34
|
-
requirement: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
|
-
requirements:
|
39
|
-
- - ~>
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
hash: 35
|
42
|
-
segments:
|
43
|
-
- 2
|
44
|
-
- 11
|
45
|
-
- 0
|
46
|
-
version: 2.11.0
|
47
39
|
prerelease: false
|
48
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.3.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
49
47
|
name: rspec
|
50
|
-
requirement:
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 59
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
- 9
|
61
|
-
- 0
|
62
|
-
version: 0.9.0
|
63
|
-
prerelease: false
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.11.0
|
64
54
|
type: :development
|
65
|
-
name: rake
|
66
|
-
requirement: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
|
-
requirements:
|
71
|
-
- - ~>
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
hash: 7
|
74
|
-
segments:
|
75
|
-
- 0
|
76
|
-
- 6
|
77
|
-
- 0
|
78
|
-
version: 0.6.0
|
79
55
|
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.11.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rake
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.9.0
|
80
70
|
type: :development
|
81
|
-
name: simplecov
|
82
|
-
requirement: *id004
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
hash: 3
|
90
|
-
segments:
|
91
|
-
- 0
|
92
|
-
version: "0"
|
93
71
|
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.9.0
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: simplecov
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.6.0
|
94
86
|
type: :development
|
95
|
-
name: pry
|
96
|
-
requirement: *id005
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
|
-
requirements:
|
101
|
-
- - ~>
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
hash: 63
|
104
|
-
segments:
|
105
|
-
- 0
|
106
|
-
- 8
|
107
|
-
- 0
|
108
|
-
version: 0.8.0
|
109
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.0
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: pry
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
110
102
|
type: :development
|
111
|
-
name: yard
|
112
|
-
requirement: *id006
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
version_requirements: &id007 !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
|
-
requirements:
|
117
|
-
- - ~>
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
hash: 11
|
120
|
-
segments:
|
121
|
-
- 2
|
122
|
-
- 1
|
123
|
-
- 0
|
124
|
-
version: 2.1.0
|
125
103
|
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: yard
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.8.0
|
126
118
|
type: :development
|
127
|
-
name: redcarpet
|
128
|
-
requirement: *id007
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
version_requirements: &id008 !ruby/object:Gem::Requirement
|
131
|
-
none: false
|
132
|
-
requirements:
|
133
|
-
- - ~>
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
hash: 3
|
136
|
-
segments:
|
137
|
-
- 0
|
138
|
-
- 7
|
139
|
-
- 0
|
140
|
-
version: 0.7.0
|
141
119
|
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.8.0
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: redcarpet
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 2.1.0
|
142
134
|
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 2.1.0
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
143
|
name: github-markup
|
144
|
-
requirement:
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 0.7.0
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 0.7.0
|
145
158
|
description: A collection of utilities for developers.
|
146
|
-
email:
|
159
|
+
email:
|
147
160
|
- shogun_panda@me.com
|
148
161
|
executables: []
|
149
|
-
|
150
162
|
extensions: []
|
151
|
-
|
152
163
|
extra_rdoc_files: []
|
153
|
-
|
154
|
-
files:
|
164
|
+
files:
|
155
165
|
- .gitignore
|
156
166
|
- .travis.yml
|
157
167
|
- .yardopts
|
@@ -165,49 +175,49 @@ files:
|
|
165
175
|
- lib/bovem/console.rb
|
166
176
|
- lib/bovem/errors.rb
|
167
177
|
- lib/bovem/logger.rb
|
178
|
+
- lib/bovem/shell.rb
|
168
179
|
- lib/bovem/version.rb
|
169
180
|
- spec/bovem/configuration_spec.rb
|
170
181
|
- spec/bovem/console_spec.rb
|
171
182
|
- spec/bovem/logger_spec.rb
|
183
|
+
- spec/bovem/shell_spec.rb
|
172
184
|
- spec/coverage_helper.rb
|
173
185
|
- spec/spec_helper.rb
|
174
186
|
homepage: http://github.com/ShogunPanda/bovem
|
175
187
|
licenses: []
|
176
|
-
|
177
188
|
post_install_message:
|
178
189
|
rdoc_options: []
|
179
|
-
|
180
|
-
require_paths:
|
190
|
+
require_paths:
|
181
191
|
- lib
|
182
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
192
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
183
193
|
none: false
|
184
|
-
requirements:
|
185
|
-
- -
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
|
188
|
-
segments:
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
segments:
|
189
199
|
- 0
|
190
|
-
|
191
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
|
+
hash: 166114513439030450
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
202
|
none: false
|
193
|
-
requirements:
|
194
|
-
- -
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
|
197
|
-
segments:
|
203
|
+
requirements:
|
204
|
+
- - ! '>='
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
segments:
|
198
208
|
- 0
|
199
|
-
|
209
|
+
hash: 166114513439030450
|
200
210
|
requirements: []
|
201
|
-
|
202
211
|
rubyforge_project: bovem
|
203
212
|
rubygems_version: 1.8.24
|
204
213
|
signing_key:
|
205
214
|
specification_version: 3
|
206
215
|
summary: A collection of utilities for developers.
|
207
|
-
test_files:
|
216
|
+
test_files:
|
208
217
|
- spec/bovem/configuration_spec.rb
|
209
218
|
- spec/bovem/console_spec.rb
|
210
219
|
- spec/bovem/logger_spec.rb
|
220
|
+
- spec/bovem/shell_spec.rb
|
211
221
|
- spec/coverage_helper.rb
|
212
222
|
- spec/spec_helper.rb
|
213
223
|
has_rdoc:
|