vim_printer 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ### Changelog
2
2
 
3
+ #### 0.2.2
4
+
5
+ - Support ruby version 1.9.3+
6
+ - Update gem dependencies
7
+ - Misc cleanup
8
+
3
9
  #### 0.2.1
4
10
 
5
11
  - Only support ruby version 2.1.0+ due to the use of refinement
data/Gemfile CHANGED
@@ -1,4 +1,2 @@
1
1
  source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in ebook_renamer.gemspec
4
2
  gemspec
data/lib/vim_printer.rb CHANGED
@@ -3,5 +3,4 @@ require "agile_utils"
3
3
  require "code_lister"
4
4
  require_relative "vim_printer/core_ext/file"
5
5
  require_relative "vim_printer/version"
6
- require_relative "vim_printer/logger"
7
6
  require_relative "vim_printer/cli"
@@ -7,8 +7,6 @@ require_relative "configuration"
7
7
  module VimPrinter
8
8
  include AgileUtils
9
9
  class CLI < Thor
10
- using AgileUtils::HashExt
11
-
12
10
  # rubocop:disable AmbiguousOperator, MethodLength
13
11
  desc "print", "Print files to (x)html using Vim"
14
12
  method_option *AgileUtils::Options::BASE_DIR
@@ -1,3 +1,3 @@
1
1
  module VimPrinter
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
data/test/test_helper.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require "minitest"
1
2
  require "minitest/autorun"
2
3
  require "minitest/pride"
3
4
  require "minitest-spec-context"
data/vim_printer.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = %q(Batch convert multiple files to htmls using the power of Vim.
12
12
  Work will any languages that can be open with Vim e.g. any non-binary files.)
13
13
  spec.homepage = "https://github.com/agilecreativity/vim_printer"
14
- spec.required_ruby_version = ">= 2.1.0"
14
+ spec.required_ruby_version = ">= 1.9.3"
15
15
  spec.license = "MIT"
16
16
  spec.files = Dir.glob("{bin,lib,config}/**/*") + %w[Gemfile
17
17
  Rakefile
@@ -25,15 +25,15 @@ Gem::Specification.new do |spec|
25
25
  spec.test_files = Dir.glob("{test}/**/*")
26
26
  spec.require_paths = ["lib"]
27
27
  spec.add_runtime_dependency "thor", "~> 0.19.1"
28
- spec.add_runtime_dependency "code_lister", "~> 0.2.1"
29
- spec.add_runtime_dependency "index_html", "~> 0.2.1"
30
- spec.add_runtime_dependency "agile_utils", "~> 0.2.1"
31
- spec.add_development_dependency "bundler", "~> 1.3"
28
+ spec.add_runtime_dependency "code_lister", "~> 0.2.2"
29
+ spec.add_runtime_dependency "index_html", "~> 0.2.2"
30
+ spec.add_runtime_dependency "agile_utils", "~> 0.2.2"
31
+ spec.add_development_dependency "bundler", "~> 1.7.0"
32
32
  spec.add_development_dependency "rake", "~> 10.3.2"
33
33
  spec.add_development_dependency "awesome_print", "~> 1.2.0"
34
34
  spec.add_development_dependency "minitest-spec-context", "~> 0.0.3"
35
- spec.add_development_dependency "guard-minitest", "~> 2.2"
36
- spec.add_development_dependency "minitest", "~> 5.3"
35
+ spec.add_development_dependency "guard-minitest", "~> 2.3.1"
36
+ spec.add_development_dependency "minitest", "~> 5.4.0"
37
37
  spec.add_development_dependency "guard", "~> 2.6.1"
38
38
  spec.add_development_dependency "pry", "~> 0.10.0"
39
39
  spec.add_development_dependency "rubocop", "~> 0.24.1"
metadata CHANGED
@@ -1,223 +1,254 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vim_printer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Burin Choomnuan
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
12
+ date: 2014-08-14 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: thor
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: 0.19.1
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.19.1
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: code_lister
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
- version: 0.2.1
37
+ version: 0.2.2
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
- version: 0.2.1
45
+ version: 0.2.2
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: index_html
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - "~>"
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
- version: 0.2.1
53
+ version: 0.2.2
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - "~>"
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
- version: 0.2.1
61
+ version: 0.2.2
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: agile_utils
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "~>"
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
- version: 0.2.1
69
+ version: 0.2.2
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "~>"
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
- version: 0.2.1
77
+ version: 0.2.2
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: bundler
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - "~>"
83
+ - - ~>
74
84
  - !ruby/object:Gem::Version
75
- version: '1.3'
85
+ version: 1.7.0
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
- version: '1.3'
93
+ version: 1.7.0
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: rake
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - "~>"
99
+ - - ~>
88
100
  - !ruby/object:Gem::Version
89
101
  version: 10.3.2
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - "~>"
107
+ - - ~>
95
108
  - !ruby/object:Gem::Version
96
109
  version: 10.3.2
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: awesome_print
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
117
  version: 1.2.0
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - "~>"
123
+ - - ~>
109
124
  - !ruby/object:Gem::Version
110
125
  version: 1.2.0
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: minitest-spec-context
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - "~>"
131
+ - - ~>
116
132
  - !ruby/object:Gem::Version
117
133
  version: 0.0.3
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - "~>"
139
+ - - ~>
123
140
  - !ruby/object:Gem::Version
124
141
  version: 0.0.3
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: guard-minitest
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - "~>"
147
+ - - ~>
130
148
  - !ruby/object:Gem::Version
131
- version: '2.2'
149
+ version: 2.3.1
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - "~>"
155
+ - - ~>
137
156
  - !ruby/object:Gem::Version
138
- version: '2.2'
157
+ version: 2.3.1
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: minitest
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
- - - "~>"
163
+ - - ~>
144
164
  - !ruby/object:Gem::Version
145
- version: '5.3'
165
+ version: 5.4.0
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
- - - "~>"
171
+ - - ~>
151
172
  - !ruby/object:Gem::Version
152
- version: '5.3'
173
+ version: 5.4.0
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: guard
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
- - - "~>"
179
+ - - ~>
158
180
  - !ruby/object:Gem::Version
159
181
  version: 2.6.1
160
182
  type: :development
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
- - - "~>"
187
+ - - ~>
165
188
  - !ruby/object:Gem::Version
166
189
  version: 2.6.1
167
190
  - !ruby/object:Gem::Dependency
168
191
  name: pry
169
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
170
194
  requirements:
171
- - - "~>"
195
+ - - ~>
172
196
  - !ruby/object:Gem::Version
173
197
  version: 0.10.0
174
198
  type: :development
175
199
  prerelease: false
176
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
177
202
  requirements:
178
- - - "~>"
203
+ - - ~>
179
204
  - !ruby/object:Gem::Version
180
205
  version: 0.10.0
181
206
  - !ruby/object:Gem::Dependency
182
207
  name: rubocop
183
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
184
210
  requirements:
185
- - - "~>"
211
+ - - ~>
186
212
  - !ruby/object:Gem::Version
187
213
  version: 0.24.1
188
214
  type: :development
189
215
  prerelease: false
190
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
191
218
  requirements:
192
- - - "~>"
219
+ - - ~>
193
220
  - !ruby/object:Gem::Version
194
221
  version: 0.24.1
195
222
  - !ruby/object:Gem::Dependency
196
223
  name: gem-ctags
197
224
  requirement: !ruby/object:Gem::Requirement
225
+ none: false
198
226
  requirements:
199
- - - "~>"
227
+ - - ~>
200
228
  - !ruby/object:Gem::Version
201
229
  version: 1.0.6
202
230
  type: :development
203
231
  prerelease: false
204
232
  version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
205
234
  requirements:
206
- - - "~>"
235
+ - - ~>
207
236
  - !ruby/object:Gem::Version
208
237
  version: 1.0.6
209
238
  - !ruby/object:Gem::Dependency
210
239
  name: yard
211
240
  requirement: !ruby/object:Gem::Requirement
241
+ none: false
212
242
  requirements:
213
- - - "~>"
243
+ - - ~>
214
244
  - !ruby/object:Gem::Version
215
245
  version: 0.8.7
216
246
  type: :development
217
247
  prerelease: false
218
248
  version_requirements: !ruby/object:Gem::Requirement
249
+ none: false
219
250
  requirements:
220
- - - "~>"
251
+ - - ~>
221
252
  - !ruby/object:Gem::Version
222
253
  version: 0.8.7
223
254
  description: Batch convert multiple files to htmls using the power of Vim editor
@@ -228,21 +259,21 @@ executables:
228
259
  extensions: []
229
260
  extra_rdoc_files: []
230
261
  files:
231
- - ".gitignore"
232
- - ".rubocop.yml"
233
- - CHANGELOG.md
234
- - Gemfile
235
- - LICENSE
236
- - README.md
237
- - Rakefile
238
262
  - bin/vim_printer
239
- - config/initializers/vim_printer.rb
240
- - lib/vim_printer.rb
241
263
  - lib/vim_printer/cli.rb
242
264
  - lib/vim_printer/configuration.rb
243
265
  - lib/vim_printer/core_ext/file.rb
244
- - lib/vim_printer/logger.rb
245
266
  - lib/vim_printer/version.rb
267
+ - lib/vim_printer.rb
268
+ - config/initializers/vim_printer.rb
269
+ - Gemfile
270
+ - Rakefile
271
+ - vim_printer.gemspec
272
+ - README.md
273
+ - CHANGELOG.md
274
+ - LICENSE
275
+ - .rubocop.yml
276
+ - .gitignore
246
277
  - test/fixtures/inputs/demo1.xxx.rb
247
278
  - test/fixtures/inputs/demo1.yyy.rb
248
279
  - test/fixtures/inputs/demo2.xxx.rb
@@ -263,51 +294,51 @@ files:
263
294
  - test/fixtures/outputs/java/demo4.yyy.java.xhtml
264
295
  - test/lib/vim_printer/test_cli.rb
265
296
  - test/test_helper.rb
266
- - vim_printer.gemspec
267
297
  homepage: https://github.com/agilecreativity/vim_printer
268
298
  licenses:
269
299
  - MIT
270
- metadata: {}
271
300
  post_install_message:
272
301
  rdoc_options: []
273
302
  require_paths:
274
303
  - lib
275
304
  required_ruby_version: !ruby/object:Gem::Requirement
305
+ none: false
276
306
  requirements:
277
- - - ">="
307
+ - - ! '>='
278
308
  - !ruby/object:Gem::Version
279
- version: 2.1.0
309
+ version: 1.9.3
280
310
  required_rubygems_version: !ruby/object:Gem::Requirement
311
+ none: false
281
312
  requirements:
282
- - - ">="
313
+ - - ! '>='
283
314
  - !ruby/object:Gem::Version
284
315
  version: '0'
285
316
  requirements: []
286
317
  rubyforge_project:
287
- rubygems_version: 2.2.2
318
+ rubygems_version: 1.8.23.2
288
319
  signing_key:
289
- specification_version: 4
320
+ specification_version: 3
290
321
  summary: Batch convert multiple files to htmls using the power of Vim. Work will any
291
322
  languages that can be open with Vim e.g. any non-binary files.
292
323
  test_files:
293
- - test/lib/vim_printer/test_cli.rb
294
- - test/test_helper.rb
295
- - test/fixtures/outputs/demo1.xxx.rb.xhtml
296
- - test/fixtures/outputs/java/demo3.xxx.java.xhtml
297
- - test/fixtures/outputs/java/demo4.yyy.java.xhtml
298
- - test/fixtures/outputs/java/demo3.yyy.java.xhtml
299
- - test/fixtures/outputs/java/demo4.xxx.java.xhtml
300
- - test/fixtures/outputs/demo2.xxx.rb.xhtml
301
- - test/fixtures/outputs/demo1.yyy.rb.xhtml
302
- - test/fixtures/outputs/demo2.yyy.rb.xhtml
303
- - test/fixtures/inputs/noexts2_zzz
324
+ - test/fixtures/inputs/demo1.xxx.rb
325
+ - test/fixtures/inputs/demo1.yyy.rb
326
+ - test/fixtures/inputs/demo2.xxx.rb
327
+ - test/fixtures/inputs/demo2.yyy.rb
304
328
  - test/fixtures/inputs/java/demo3.xxx.java
305
- - test/fixtures/inputs/java/demo4.xxx.java
306
329
  - test/fixtures/inputs/java/demo3.yyy.java
330
+ - test/fixtures/inputs/java/demo4.xxx.java
307
331
  - test/fixtures/inputs/java/demo4.yyy.java
308
- - test/fixtures/inputs/demo2.yyy.rb
309
- - test/fixtures/inputs/demo1.yyy.rb
310
- - test/fixtures/inputs/demo2.xxx.rb
311
332
  - test/fixtures/inputs/noexts1_zzz
312
- - test/fixtures/inputs/demo1.xxx.rb
333
+ - test/fixtures/inputs/noexts2_zzz
334
+ - test/fixtures/outputs/demo1.xxx.rb.xhtml
335
+ - test/fixtures/outputs/demo1.yyy.rb.xhtml
336
+ - test/fixtures/outputs/demo2.xxx.rb.xhtml
337
+ - test/fixtures/outputs/demo2.yyy.rb.xhtml
338
+ - test/fixtures/outputs/java/demo3.xxx.java.xhtml
339
+ - test/fixtures/outputs/java/demo3.yyy.java.xhtml
340
+ - test/fixtures/outputs/java/demo4.xxx.java.xhtml
341
+ - test/fixtures/outputs/java/demo4.yyy.java.xhtml
342
+ - test/lib/vim_printer/test_cli.rb
343
+ - test/test_helper.rb
313
344
  has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 859f585c0042fe38038590c345e5a18c5883b1fb
4
- data.tar.gz: 51ad8f28a3314fb33f1769d990ebc66fe95085eb
5
- SHA512:
6
- metadata.gz: 20ce2ccbbab638b9e744a08b4fe1f839e72fb52e2e94c8c4c2bbab9e6a80507ba0a284b58535e50b2340efa1c784c8c6915c93be0e629d221e7003ee280ae9a7
7
- data.tar.gz: 82941f1cb82400629fea9c3a02d3ca2c5c97ca71f93d6c0e7bb74647477026cff812e9262e4f92455473b4a88534f1afd88b3382272ae52b642490bba2fac331
@@ -1,10 +0,0 @@
1
- require "logger"
2
- module VimPrinter
3
- class << self
4
- attr_writer :logger
5
- # @return [Logger] the Logger for the project
6
- def logger
7
- @logger ||= Logger.new STDOUT
8
- end
9
- end
10
- end