vim_printer 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/CHANGELOGS.md +8 -2
- data/README.md +9 -6
- data/Rakefile +0 -3
- data/lib/vim_printer/version.rb +1 -1
- metadata +17 -19
- data/test/fixtures/inputs/vim_printer_output.tar.gz +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 307a4175693abcee3e60440a46e3d8cb223e9748
|
|
4
|
+
data.tar.gz: 00e7d3dd10f1e2d68cdef51546488daf2effff5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ec0fac91f63bcaf6f5253baddc192ee9eca2ce351e38357040df6b100da437f1abff8a6349a7141e4741eddbbe5fe5fed776fe6ded2f228b6b14424a1b725ee
|
|
7
|
+
data.tar.gz: fcf2714715b12c563692619b3c2e3a55e22069600cac78f5c43e2810141ba98465be3524b466ab748b0089f8c42a57ad22d1880df0427c54cedde1ebd6982151
|
data/.gitignore
CHANGED
data/CHANGELOGS.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
### Changelog
|
|
2
2
|
|
|
3
|
+
#### 0.1.2
|
|
4
|
+
|
|
5
|
+
- Minor code cleanup
|
|
6
|
+
|
|
3
7
|
#### 0.1.1
|
|
4
8
|
|
|
5
|
-
- First [Semantic Versioning] release
|
|
9
|
+
- First [Semantic Versioning][] release
|
|
6
10
|
|
|
7
11
|
#### 0.1.0
|
|
8
12
|
|
|
@@ -10,9 +14,10 @@
|
|
|
10
14
|
- Update code cleanup
|
|
11
15
|
|
|
12
16
|
#### 0.0.9
|
|
17
|
+
|
|
13
18
|
- Update to latest gems
|
|
14
19
|
|
|
15
|
-
#### 0.0.8
|
|
20
|
+
#### 0.0.8
|
|
16
21
|
|
|
17
22
|
- Update gemspec
|
|
18
23
|
- Update dependency to the latest version
|
|
@@ -59,3 +64,4 @@
|
|
|
59
64
|
[agile_utils]: https://rubygems.org/gems/agile_utils
|
|
60
65
|
[index_html]: https://rubygems.org/gems/index_html
|
|
61
66
|
[vim_printer]: https://rubygems.org/gems/vim_printer
|
|
67
|
+
[Semantic Versioning]: http://semver.org
|
data/README.md
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
## vim_printer
|
|
2
2
|
|
|
3
|
-
[]
|
|
4
|
-
[]
|
|
5
|
-
[]
|
|
3
|
+
[][gem]
|
|
4
|
+
[][gemnasium]
|
|
5
|
+
[][codeclimate]
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
[gem]: http://badge.fury.io/rb/vim_printer
|
|
8
|
+
[gemnasium]: https://gemnasium.com/agilecreativity/vim_printer
|
|
9
|
+
[codeclimate]: https://codeclimate.com/github/agilecreativity/vim_printer
|
|
10
|
+
|
|
11
|
+
Batch print/export files to htmls using the power of Vim. Output will be saved to `vim_printer_output.tar.gz` and ready for
|
|
8
12
|
extract and viewing in your favourite browser.
|
|
9
13
|
|
|
10
14
|
- Unlimited support for [vim colorschemes][] if enabled, or `default` colorscheme that comes with Vim.
|
|
11
15
|
- Can print any files in any languages that you can open with Vim.
|
|
12
16
|
- Use the power of [Vim][] to print the code without any other tools.
|
|
13
|
-
- Tested in Linux/OSX and should also works with Windows.
|
|
14
17
|
|
|
15
18
|
### Example Outputs:
|
|
16
19
|
|
|
@@ -109,7 +112,7 @@ To see the output in your browser just type:
|
|
|
109
112
|
mkdir -p ~/Desktop/vim_printer
|
|
110
113
|
mv output.tar.gz ~/Desktop/vim_printer
|
|
111
114
|
cd ~/Desktop/vim_printer
|
|
112
|
-
tar zxvf
|
|
115
|
+
tar zxvf vim_printer_output.tar.gz
|
|
113
116
|
```
|
|
114
117
|
|
|
115
118
|
- Print only files that contain the word `xxx` in the title
|
data/Rakefile
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
require 'bundler/gem_tasks'
|
|
2
2
|
require 'rake/testtask'
|
|
3
|
-
|
|
4
3
|
Rake::TestTask.new do |t|
|
|
5
4
|
t.libs << 'lib/vim_printer'
|
|
6
5
|
t.test_files = FileList['test/lib/vim_printer/test_*.rb']
|
|
7
6
|
t.verbose = true
|
|
8
7
|
end
|
|
9
|
-
|
|
10
8
|
task default: :test
|
|
11
|
-
|
|
12
9
|
task :pry do
|
|
13
10
|
require 'pry'
|
|
14
11
|
require 'awesome_print'
|
data/lib/vim_printer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vim_printer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Burin Choomnuan
|
|
@@ -250,7 +250,6 @@ files:
|
|
|
250
250
|
- test/fixtures/inputs/java/demo4.yyy.java
|
|
251
251
|
- test/fixtures/inputs/noexts1_zzz
|
|
252
252
|
- test/fixtures/inputs/noexts2_zzz
|
|
253
|
-
- test/fixtures/inputs/vim_printer_output.tar.gz
|
|
254
253
|
- test/fixtures/outputs/demo1.xxx.rb.xhtml
|
|
255
254
|
- test/fixtures/outputs/demo1.yyy.rb.xhtml
|
|
256
255
|
- test/fixtures/outputs/demo2.xxx.rb.xhtml
|
|
@@ -288,25 +287,24 @@ specification_version: 4
|
|
|
288
287
|
summary: Batch convert multiple files to htmls using the power of Vim. Work will any
|
|
289
288
|
languages that can be open with Vim e.g. any non-binary files.
|
|
290
289
|
test_files:
|
|
291
|
-
- test/
|
|
292
|
-
- test/
|
|
293
|
-
- test/fixtures/inputs/demo2.xxx.rb
|
|
294
|
-
- test/fixtures/inputs/demo2.yyy.rb
|
|
295
|
-
- test/fixtures/inputs/java/demo3.xxx.java
|
|
296
|
-
- test/fixtures/inputs/java/demo3.yyy.java
|
|
297
|
-
- test/fixtures/inputs/java/demo4.xxx.java
|
|
298
|
-
- test/fixtures/inputs/java/demo4.yyy.java
|
|
299
|
-
- test/fixtures/inputs/noexts1_zzz
|
|
300
|
-
- test/fixtures/inputs/noexts2_zzz
|
|
301
|
-
- test/fixtures/inputs/vim_printer_output.tar.gz
|
|
290
|
+
- test/lib/vim_printer/test_cli.rb
|
|
291
|
+
- test/test_helper.rb
|
|
302
292
|
- test/fixtures/outputs/demo1.xxx.rb.xhtml
|
|
303
|
-
- test/fixtures/outputs/demo1.yyy.rb.xhtml
|
|
304
|
-
- test/fixtures/outputs/demo2.xxx.rb.xhtml
|
|
305
|
-
- test/fixtures/outputs/demo2.yyy.rb.xhtml
|
|
306
293
|
- test/fixtures/outputs/java/demo3.xxx.java.xhtml
|
|
294
|
+
- test/fixtures/outputs/java/demo4.yyy.java.xhtml
|
|
307
295
|
- test/fixtures/outputs/java/demo3.yyy.java.xhtml
|
|
308
296
|
- test/fixtures/outputs/java/demo4.xxx.java.xhtml
|
|
309
|
-
- test/fixtures/outputs/
|
|
310
|
-
- test/
|
|
311
|
-
- test/
|
|
297
|
+
- test/fixtures/outputs/demo2.xxx.rb.xhtml
|
|
298
|
+
- test/fixtures/outputs/demo1.yyy.rb.xhtml
|
|
299
|
+
- test/fixtures/outputs/demo2.yyy.rb.xhtml
|
|
300
|
+
- test/fixtures/inputs/noexts2_zzz
|
|
301
|
+
- test/fixtures/inputs/java/demo3.xxx.java
|
|
302
|
+
- test/fixtures/inputs/java/demo4.xxx.java
|
|
303
|
+
- test/fixtures/inputs/java/demo3.yyy.java
|
|
304
|
+
- test/fixtures/inputs/java/demo4.yyy.java
|
|
305
|
+
- test/fixtures/inputs/demo2.yyy.rb
|
|
306
|
+
- test/fixtures/inputs/demo1.yyy.rb
|
|
307
|
+
- test/fixtures/inputs/demo2.xxx.rb
|
|
308
|
+
- test/fixtures/inputs/noexts1_zzz
|
|
309
|
+
- test/fixtures/inputs/demo1.xxx.rb
|
|
312
310
|
has_rdoc:
|
|
Binary file
|