code2pdf 0.1.0 → 0.1.1
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.
- data/README.textile +9 -1
- data/bin/code2pdf +2 -1
- data/lib/code2pdf/version.rb +1 -1
- metadata +3 -3
data/README.textile
CHANGED
@@ -26,6 +26,7 @@ The blacklist file must be a yml file, as such:
|
|
26
26
|
- public/system
|
27
27
|
- script
|
28
28
|
- spec
|
29
|
+
- test
|
29
30
|
- tmp
|
30
31
|
- vendor
|
31
32
|
:files:
|
@@ -35,7 +36,14 @@ The blacklist file must be a yml file, as such:
|
|
35
36
|
- .rspec
|
36
37
|
- .rvmrc
|
37
38
|
- database.yml
|
38
|
-
-
|
39
|
+
- development.sqlite3
|
40
|
+
- application.yml
|
41
|
+
- favicon.ico
|
42
|
+
- controls.js
|
43
|
+
- dragdrop.js
|
44
|
+
- effects.js
|
45
|
+
- prototype.js
|
46
|
+
- rails.js</code></pre>
|
39
47
|
|
40
48
|
h1. Contributing to Lucas Caton
|
41
49
|
|
data/bin/code2pdf
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
#
|
7
7
|
|
8
8
|
require 'optparse'
|
9
|
+
require 'yaml'
|
9
10
|
require 'rubygems'
|
10
11
|
require 'prawn'
|
11
12
|
require 'code2pdf/convert_to_pdf'
|
@@ -52,7 +53,7 @@ end
|
|
52
53
|
BLACK_LIST = YAML.load File.read(BLACK_LIST_YML_FILE)
|
53
54
|
|
54
55
|
# Check if blacklist file has directories and files keys
|
55
|
-
if BLACK_LIST.keys
|
56
|
+
if !BLACK_LIST.keys.include?(:directories) || !BLACK_LIST.keys.include?(:files)
|
56
57
|
puts "'#{BLACK_LIST_YML_FILE}' file has no directories and files keys."
|
57
58
|
exit
|
58
59
|
end
|
data/lib/code2pdf/version.rb
CHANGED
metadata
CHANGED