codemerger 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/lib/codemerger/rake_tasks.rb +2 -2
- data/lib/codemerger/version.rb +3 -3
- metadata +40 -57
data/README.rdoc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
This project is used to help writing technical posts for wordpress.
|
@@ -6,7 +6,7 @@ namespace "codemerger" do
|
|
6
6
|
FileUtils.mkdir_p 'output'
|
7
7
|
in_files = Dir.glob("*.{markdown,html}")
|
8
8
|
in_files.sort.each do |file|
|
9
|
-
in_lines = IO.readlines(file).
|
9
|
+
in_lines = IO.readlines(file).join('')
|
10
10
|
in_lines = Maruku.new(in_lines).to_html if file =~ /markdown$/
|
11
11
|
out_fname = file[/^.*\./]
|
12
12
|
out_f = File.new("output/#{out_fname}html", 'w')
|
@@ -34,7 +34,7 @@ namespace "codemerger" do
|
|
34
34
|
<<_EOF_
|
35
35
|
<b>#{f_name}</b>
|
36
36
|
<pre line="1" #{lang_str}>
|
37
|
-
#{IO.readlines(f_name).
|
37
|
+
#{IO.readlines(f_name).join('')}
|
38
38
|
</pre>
|
39
39
|
_EOF_
|
40
40
|
end
|
data/lib/codemerger/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module Codemerger
|
2
|
-
VERSION = "0.
|
3
|
-
end
|
1
|
+
module Codemerger
|
2
|
+
VERSION = "0.2.0"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,52 +1,43 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: codemerger
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
prerelease: !!null
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Rodrigo Urubatan
|
14
|
-
autorequire:
|
9
|
+
autorequire: !!null
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-02-20 00:00:00.000000000 -03:00
|
13
|
+
default_executable: !!null
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: maruku
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &21915228 !ruby/object:Gem::Requirement
|
25
18
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
33
23
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *21915228
|
26
|
+
description: Used to create blog posts and tecnical articles that need code samples,
|
27
|
+
the code samples will be taken from the actual source code file instead of a copy
|
28
|
+
paste approach
|
29
|
+
email:
|
37
30
|
- rodrigo@urubatan.com.br
|
38
31
|
executables: []
|
39
|
-
|
40
32
|
extensions: []
|
41
|
-
|
42
33
|
extra_rdoc_files: []
|
43
|
-
|
44
|
-
files:
|
34
|
+
files:
|
45
35
|
- .Gemfile.swp
|
46
36
|
- .codemerger.gemspec.swp
|
47
37
|
- .gitignore
|
48
38
|
- Gemfile
|
49
39
|
- Gemfile.lock
|
40
|
+
- README.rdoc
|
50
41
|
- Rakefile
|
51
42
|
- codemerger.gemspec
|
52
43
|
- lib/codemerger.rb
|
@@ -55,36 +46,28 @@ files:
|
|
55
46
|
has_rdoc: true
|
56
47
|
homepage: http://www.urubatan.com.br
|
57
48
|
licenses: []
|
58
|
-
|
59
|
-
post_install_message:
|
49
|
+
post_install_message: !!null
|
60
50
|
rdoc_options: []
|
61
|
-
|
62
|
-
require_paths:
|
51
|
+
require_paths:
|
63
52
|
- lib
|
64
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
54
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
|
70
|
-
|
71
|
-
- 0
|
72
|
-
version: "0"
|
73
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
60
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
|
79
|
-
segments:
|
80
|
-
- 0
|
81
|
-
version: "0"
|
61
|
+
requirements:
|
62
|
+
- - ! '>='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0'
|
82
65
|
requirements: []
|
83
|
-
|
84
66
|
rubyforge_project: codemerger
|
85
|
-
rubygems_version: 1.
|
86
|
-
signing_key:
|
67
|
+
rubygems_version: 1.5.0
|
68
|
+
signing_key: !!null
|
87
69
|
specification_version: 3
|
88
|
-
summary: Used to create blog posts and tecnical articles that need code samples, the
|
70
|
+
summary: Used to create blog posts and tecnical articles that need code samples, the
|
71
|
+
code samples will be taken from the actual source code file instead of a copy paste
|
72
|
+
approach
|
89
73
|
test_files: []
|
90
|
-
|