unmarkdown 0.1.1 → 0.1.2

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
- SHA1:
3
- metadata.gz: e7f0219af3b996010a94e56ffa4e2a04c76b9ee8
4
- data.tar.gz: 40427768c3886271fc1f9a04a626c5bb3495a55f
2
+ SHA256:
3
+ metadata.gz: 8d25eed05ed6d0b08e001758df1cc8db2ea53c8fd5394cf2c85c536e77132e14
4
+ data.tar.gz: da4e1677918388764eb2579d59839c2f1a89737e55ea76cce94df4798dd9ec5b
5
5
  SHA512:
6
- metadata.gz: 3153b363d7b3368a46a1da6c24882144200a3ddef1faf51519947736885a27fb732501bc627f75edfb87212be99b00901734d7c43ea78c91796095ab77e785f3
7
- data.tar.gz: 32f0b4ed7937efb8151de4ab595ed348f449197256b379143713b403bd41bc6d094eff7d0a74fa826151b64b68d2957e601d327ef6bc430a8e5a38c7bf84051d
6
+ metadata.gz: 15aa39424402e1a165f0f1a3d23d06cd82ea945a3f768c0189be9d278f6cd8262379429ac93e60791d1943e0e324e5675c594a8fc8c64921c39352cf13549f13
7
+ data.tar.gz: 0a00d62f297eda5bff87e6ddf598a781ea404fe2e8cec3385ed53bd8641d31cac222a8c4df7b43f8045c099adf75c9e8e2e998c5e923959ab159031a9636330b
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Sam Soffes, http://soff.es
1
+ Copyright (c) 2013-2014 Sam Soffes, http://soff.es
2
2
 
3
3
  MIT License
4
4
 
@@ -57,7 +57,7 @@ All of the options default to `false`. If you'd like to turn additional things o
57
57
 
58
58
  * `fenced_code_blocks` — Uses three backticks before and after instead of four spaces before each line
59
59
  * `allow_scripts` — By default, script tags are removed. If you set this option to `true` their original HTML will be included in the output
60
- * `underline_headers` — By default number signs are added before headers. If you turn this option on, it will use equal signs for h1's or hypens for h2's and the reset will remain number signs.
60
+ * `underline_headers` — By default hashes are added before headers. If you turn this option on, it will use equal signs for h1's or hypens for h2's and the rest will remain hashes.
61
61
 
62
62
  ## Contributing
63
63
 
@@ -131,7 +131,7 @@ module Unmarkdown
131
131
 
132
132
  # Get the content from a node
133
133
  def parse_content(node)
134
- content = if node.children.empty?
134
+ if node.children.empty?
135
135
  node.content
136
136
  else
137
137
  parse_nodes(node.children)
@@ -1,3 +1,3 @@
1
1
  module Unmarkdown
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.required_ruby_version = '>= 1.9.2'
21
21
 
22
- spec.add_development_dependency 'bundler'
22
+ spec.add_development_dependency 'bundler', '~> 1.0'
23
23
 
24
24
  # HTML parsing
25
- spec.add_dependency 'nokogiri'
25
+ spec.add_dependency 'nokogiri', '~> 1.0'
26
26
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unmarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Soffes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-18 00:00:00.000000000 Z
11
+ date: 2019-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '1.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '1.0'
41
41
  description:
42
42
  email:
43
43
  - sam@soff.es
@@ -45,7 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
48
+ - ".gitignore"
49
49
  - Gemfile
50
50
  - LICENSE
51
51
  - Rakefile
@@ -67,17 +67,16 @@ require_paths:
67
67
  - lib
68
68
  required_ruby_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - '>='
70
+ - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: 1.9.2
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - '>='
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubyforge_project:
80
- rubygems_version: 2.0.3
79
+ rubygems_version: 3.0.3
81
80
  signing_key:
82
81
  specification_version: 4
83
82
  summary: Convert HTML to Markdown