martile 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c385709f2357966e81fa9abbb82e21fc94b259d3
4
- data.tar.gz: 5717ab324dc3a1897b23eb156f3f61bdd220cf65
3
+ metadata.gz: 0b75f3c95fc2a30c6dd89a276c093f0fa37a3785
4
+ data.tar.gz: b577d1a25320935cef0997acf3b384045561c7f7
5
5
  SHA512:
6
- metadata.gz: f89e37f145e4507d3c448726dee2435dabc8041ceb2bc9fcfa239562eb0ee83e5e25b4e3c6f6b9c8177098a9c326d1d4c7ddf1a6f860f072cd507a9beb1c0016
7
- data.tar.gz: 7ab89467da5e94e8283bb9031237927104e019359de913abe8546c6cbd991ff35376ec9d2612b45f967a12c4790d2c3e0770a92b6c121daaeaca0dbd14694547
6
+ metadata.gz: 861658a4cd3e4d0dd43d047c03bb438ed78b60b32adc30ea7b303f72f86249b3d671444f98120605adc2a9119f5db2b1432193d37da309da43117b6f39d5ccae
7
+ data.tar.gz: 56378242f0518e7c9c61d533a8b799f9d207a1487b9a02b5bdafe1fcb34d3bb1c3e8ec79a9cd398800686a122826a2829a66ac65c08bd5740c4c9fb28d86f137
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/martile.rb CHANGED
@@ -8,6 +8,8 @@ require 'dynarex'
8
8
  require 'rdiscount'
9
9
 
10
10
 
11
+ # bug fix: 25-Sep-2013: removed the new line statement from the join command.
12
+ # headings etc. should no longer be split with a new line
11
13
  # feature: 12-Aug-2013: unordered_list supported
12
14
  # feature: 31-Mar-2013: markdown inside a martile ordered list
13
15
  # is now converted to HTML
@@ -25,15 +27,15 @@ class Martile
25
27
 
26
28
  def initialize(s)
27
29
  s2 = code_block_to_html(s)
28
-
30
+ puts 's2 : ' + s2.inspect
29
31
  s3 = ordered_list_to_html(s2)
30
-
32
+ puts 's3 : ' + s3.inspect
31
33
  s4 = unordered_list_to_html(s3)
32
-
34
+ puts 's4 : ' + s4.inspect
33
35
  s5 = dynarex_to_table(s4)
34
-
36
+ puts 's5 :' + s5.inspect
35
37
  s6 = table_to_html(s5)
36
-
38
+ puts 's6 : ' + s6.inspect
37
39
  @to_html = s6
38
40
  end
39
41
 
@@ -63,7 +65,7 @@ class Martile
63
65
 
64
66
  end
65
67
 
66
- b.join("\n") + s
68
+ b.join + s
67
69
 
68
70
  end
69
71
 
@@ -135,4 +137,4 @@ class Martile
135
137
  return s
136
138
  end
137
139
 
138
- end
140
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: martile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -29,48 +29,48 @@ cert_chain:
29
29
  dxxPRWzHhWwDxwQSM9uhSReVj7QoO/gFoKZHmN7+/EhAwKMqI6IK1QwiXHhjaAJG
30
30
  NC9ItVKLmT+Y6rbeYcoXRv6i5t7GjD4m
31
31
  -----END CERTIFICATE-----
32
- date: 2013-08-12 00:00:00.000000000 Z
32
+ date: 2013-09-25 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rexle-builder
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rexle
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rdiscount
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  type: :runtime
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  description:
@@ -90,12 +90,12 @@ require_paths:
90
90
  - lib
91
91
  required_ruby_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - '>='
93
+ - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - '>='
98
+ - - ">="
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
101
  requirements: []
metadata.gz.sig CHANGED
Binary file