vim_printer 0.1.12 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e4212cc2eebca0ac9a55947db02541397e80c2f
4
- data.tar.gz: 834689283e1ca888e55063dd9c01f7396473cce7
3
+ metadata.gz: a15d384b0e345f37be53c1e8f63249906e5ce70e
4
+ data.tar.gz: 99cd616ab07dceb231f89ec45001f39c545cd0f6
5
5
  SHA512:
6
- metadata.gz: 176854b75b08c6d55c59e6d7e1221744863ab502cf77e71c14b1907ffd5d2dd5f23ff7e3e8fae91463512d9ade816a1a3a4f5fa61481c3f4dccc22bef106eb23
7
- data.tar.gz: 08375a5ea2027ba75142896e5790a0ac0b8dc0b53644b11180ada8bb352555422973bf82e92129f445334c3b5dcb2e938ca0dcbd9906b7b2bfb193921dc41464
6
+ metadata.gz: e528cea0de3271aa174f52d23352df2b9e191cd0e97932f9cca372b3b49ebc4b03d31c305443acd559b297010851e31bdc4bbfdea2b0c46643d8682e83eea7dd
7
+ data.tar.gz: 46a2b987b85271274884bd3e7a2a7e6087e856d683d46eea7b05be01ca4846cc6c08d60fd06f81d43ba62276731620ccd92527925ba7fc86204fb45db19b0eea
data/.rubocop.yml CHANGED
@@ -28,15 +28,6 @@ CollectionMethods:
28
28
  find: 'detect'
29
29
  find_all: 'select'
30
30
 
31
- # Do not force public/protected/private keyword to be indented at the same
32
- # level as the def keyword. My personal preference is to outdent these keywords
33
- # because I think when scanning code it makes it easier to identify the
34
- # sections of code and visually separate them. When the keyword is at the same
35
- # level I think it sort of blends in with the def keywords and makes it harder
36
- # to scan the code and see where the sections are.
37
- AccessModifierIndentation:
38
- Enabled: false
39
-
40
31
  # Limit line length
41
32
  LineLength:
42
33
  Enabled: false
@@ -61,9 +52,8 @@ DotPosition:
61
52
  Encoding:
62
53
  Enabled: false
63
54
 
64
- # Enforce outdenting of access modifiers (i.e. public, private, protected)
65
55
  AccessModifierIndentation:
66
- EnforcedStyle: outdent
56
+ Enabled: false
67
57
 
68
58
  EmptyLinesAroundAccessModifier:
69
59
  Enabled: true
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ### Changelog
2
2
 
3
+ #### 0.2.0
4
+
5
+ - Update gems to use refinement instead of monkeypatching
6
+ - Misc cleanup
7
+
3
8
  #### 0.1.12
4
9
 
5
10
  - Update gemspec to be more precise about gem versions used
@@ -7,6 +7,8 @@ require_relative "configuration"
7
7
  module VimPrinter
8
8
  include AgileUtils
9
9
  class CLI < Thor
10
+ using AgileUtils::HashExt
11
+
10
12
  # rubocop:disable AmbiguousOperator, MethodLength
11
13
  desc "print", "Print files to (x)html using Vim"
12
14
  method_option *AgileUtils::Options::BASE_DIR
@@ -18,6 +18,7 @@ module VimPrinter
18
18
  def configuration
19
19
  @configuration ||= Configuration.new
20
20
  end
21
+
21
22
  def configure
22
23
  yield configuration
23
24
  end
@@ -1,3 +1,3 @@
1
1
  module VimPrinter
2
- VERSION = "0.1.12"
2
+ VERSION = "0.2.0"
3
3
  end
data/vim_printer.gemspec CHANGED
@@ -23,19 +23,19 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
24
24
  spec.test_files = Dir.glob("{test}/**/*")
25
25
  spec.require_paths = ["lib"]
26
- spec.add_runtime_dependency "thor", "~> 0.19"
27
- spec.add_runtime_dependency "code_lister", "~> 0.1.7"
28
- spec.add_runtime_dependency "index_html", "~> 0.1.4"
29
- spec.add_runtime_dependency "agile_utils", "~> 0.1.4"
26
+ spec.add_runtime_dependency "thor", "~> 0.19.1"
27
+ spec.add_runtime_dependency "code_lister", "~> 0.2.0"
28
+ spec.add_runtime_dependency "index_html", "~> 0.2.0"
29
+ spec.add_runtime_dependency "agile_utils", "~> 0.2.0"
30
30
  spec.add_development_dependency "bundler", "~> 1.3"
31
- spec.add_development_dependency "rake"
32
- spec.add_development_dependency "awesome_print", "~> 1.2"
31
+ spec.add_development_dependency "rake", "~> 10.3.2"
32
+ spec.add_development_dependency "awesome_print", "~> 1.2.0"
33
33
  spec.add_development_dependency "minitest-spec-context", "~> 0.0.3"
34
34
  spec.add_development_dependency "guard-minitest", "~> 2.2"
35
35
  spec.add_development_dependency "minitest", "~> 5.3"
36
- spec.add_development_dependency "guard", "~> 2.6"
37
- spec.add_development_dependency "pry", "~> 0.9"
38
- spec.add_development_dependency "rubocop", "~> 0.23"
39
- spec.add_development_dependency "gem-ctags", "~> 1.0"
40
- spec.add_development_dependency "yard", "~> 0.8"
36
+ spec.add_development_dependency "guard", "~> 2.6.1"
37
+ spec.add_development_dependency "pry", "~> 0.10.0"
38
+ spec.add_development_dependency "rubocop", "~> 0.24.1"
39
+ spec.add_development_dependency "gem-ctags", "~> 1.0.6"
40
+ spec.add_development_dependency "yard", "~> 0.8.7"
41
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vim_printer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burin Choomnuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-21 00:00:00.000000000 Z
11
+ date: 2014-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.19'
19
+ version: 0.19.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.19'
26
+ version: 0.19.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: code_lister
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.7
33
+ version: 0.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.1.7
40
+ version: 0.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: index_html
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.4
47
+ version: 0.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.4
54
+ version: 0.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: agile_utils
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.4
61
+ version: 0.2.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.4
68
+ version: 0.2.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -84,30 +84,30 @@ dependencies:
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: 10.3.2
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: 10.3.2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: awesome_print
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.2'
103
+ version: 1.2.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.2'
110
+ version: 1.2.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: minitest-spec-context
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -156,70 +156,70 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '2.6'
159
+ version: 2.6.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '2.6'
166
+ version: 2.6.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: pry
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '0.9'
173
+ version: 0.10.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '0.9'
180
+ version: 0.10.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rubocop
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '0.23'
187
+ version: 0.24.1
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '0.23'
194
+ version: 0.24.1
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: gem-ctags
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '1.0'
201
+ version: 1.0.6
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '1.0'
208
+ version: 1.0.6
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: yard
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '0.8'
215
+ version: 0.8.7
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '0.8'
222
+ version: 0.8.7
223
223
  description: Batch convert multiple files to htmls using the power of Vim editor
224
224
  email:
225
225
  - agilecreativity@gmail.com