codemerger 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,6 +1,6 @@
1
1
  pkg/*
2
2
  *.gem
3
3
  .bundle
4
- .redcar/*
5
- *.swo
6
- *.swp
4
+ .redcar/*
5
+ *.swo
6
+ *.swp
@@ -9,7 +9,7 @@ namespace "codemerger" do
9
9
  in_lines = IO.readlines(file).to_s
10
10
  in_lines = Maruku.new(in_lines).to_html if file =~ /markdown$/
11
11
  out_fname = file[/^.*\./]
12
- out_f = File.new('output/#{out_fname}html', 'w')
12
+ out_f = File.new("output/#{out_fname}html", 'w')
13
13
  out_f << in_lines.gsub(/(\{\{[\/a-zA-Z0-9_]+(?>\.[a-zA-Z0-9]{2,}){0,3}\}\})/) do |f_name_match|
14
14
  f_name = f_name_match[2..-3]
15
15
  ext = f_name[/(\.[a-zA-Z]+)/]
@@ -1,3 +1,3 @@
1
1
  module Codemerger
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codemerger
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 9
10
- version: 0.0.9
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rodrigo Urubatan