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 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
- - application.yml</code></pre>
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 != [:directories, :files]
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
@@ -1,3 +1,3 @@
1
1
  module Code2pdf
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code2pdf
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lucas Caton