code2pdf 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Lucas Caton
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.textile ADDED
@@ -0,0 +1,52 @@
1
+ h1. About
2
+
3
+ code2pdf is a simple tool for convert your source code to a PDF file.
4
+
5
+ It can be useful if you need to licence you software.
6
+
7
+ h1. Installation
8
+
9
+ <pre><code>gem install code2pdf</code></pre>
10
+
11
+ h1. Usage
12
+
13
+ Open a terminal and run:
14
+
15
+ <pre><code>code2pdf <project path> <blacklist file></code></pre>
16
+
17
+ h2. BlackList file example:
18
+
19
+ The blacklist file must be a yml file, as such:
20
+ <pre><code>:directories:
21
+ - .git
22
+ - db/migrate
23
+ - doc
24
+ - log
25
+ - public/images
26
+ - public/system
27
+ - script
28
+ - spec
29
+ - tmp
30
+ - vendor
31
+ :files:
32
+ - .DS_Store
33
+ - .eprj
34
+ - .gitignore
35
+ - .rspec
36
+ - .rvmrc
37
+ - database.yml
38
+ - application.yml</code></pre>
39
+
40
+ h1. Contributing to Lucas Caton
41
+
42
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
43
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
44
+ * Fork the project
45
+ * Start a feature/bugfix branch
46
+ * Commit and push until you are happy with your contribution
47
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
48
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
49
+
50
+ h2. Copyright
51
+
52
+ Copyright (c) 2011 Lucas Caton. See LICENSE.txt for further details.
@@ -1,3 +1,3 @@
1
1
  module Code2pdf
2
- VERSION = '0.0.3'
2
+ VERSION = '0.1.0'
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: 25
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 3
10
- version: 0.0.3
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lucas Caton
@@ -44,6 +44,8 @@ files:
44
44
  - .gitignore
45
45
  - Gemfile
46
46
  - Gemfile.lock
47
+ - LICENSE.txt
48
+ - README.textile
47
49
  - Rakefile
48
50
  - bin/code2pdf
49
51
  - code2pdf.gemspec