mort666-pricetag 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -60,7 +60,7 @@ module PriceTag
60
60
  case tag = node.name.to_sym
61
61
  when :h1, :h2, :h3, :h4, :h5, :h6
62
62
  "#{node.name}. #{node.text}\n"
63
- when :li
63
+ when :li
64
64
  "#{(node.parent.name == "ol" ? "#" : "*") * indentation_level_for_list_item(node)} #{node.text}"
65
65
  when :td
66
66
  "|#{node.text}|"
@@ -99,7 +99,7 @@ module PriceTag
99
99
  "\n#{node.text}\n"
100
100
  when :tr
101
101
  "#{node.text}\n"
102
- when :p, :ul, :ol,
102
+ when :p, :ul, :ol
103
103
  node.text
104
104
  else
105
105
  CGI.unescapeHTML(node.to_s)
@@ -1,3 +1,3 @@
1
1
  module PriceTag
2
- Version = VERSION = '0.1.8'
2
+ Version = VERSION = '0.1.9'
3
3
  end
metadata CHANGED
@@ -1,108 +1,105 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mort666-pricetag
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.9
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 8
10
- version: 0.1.8
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Mattt Thompson
14
9
  - Stephen Kapp
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2010-11-29 00:00:00 +00:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
13
+ date: 2010-11-29 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
23
16
  name: shoulda
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
26
18
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
34
23
  type: :development
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: bundler
38
24
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: !ruby/object:Gem::Requirement
40
26
  none: false
41
- requirements:
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: bundler
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
42
36
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 23
45
- segments:
46
- - 1
47
- - 0
48
- - 0
37
+ - !ruby/object:Gem::Version
49
38
  version: 1.0.0
50
39
  type: :development
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: jeweler
54
40
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
41
+ version_requirements: !ruby/object:Gem::Requirement
56
42
  none: false
57
- requirements:
43
+ requirements:
58
44
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 1
61
- segments:
62
- - 1
63
- - 5
64
- - 1
45
+ - !ruby/object:Gem::Version
46
+ version: 1.0.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: jeweler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
65
54
  version: 1.5.1
66
55
  type: :development
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: rcov
70
56
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
57
+ version_requirements: !ruby/object:Gem::Requirement
72
58
  none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 0
79
- version: "0"
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: 1.5.1
63
+ - !ruby/object:Gem::Dependency
64
+ name: rcov
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
80
71
  type: :development
81
- version_requirements: *id004
82
- - !ruby/object:Gem::Dependency
83
- name: nokogiri
84
72
  prerelease: false
85
- requirement: &id005 !ruby/object:Gem::Requirement
73
+ version_requirements: !ruby/object:Gem::Requirement
86
74
  none: false
87
- requirements:
88
- - - ">"
89
- - !ruby/object:Gem::Version
90
- hash: 7
91
- segments:
92
- - 1
93
- - 4
94
- version: "1.4"
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ - !ruby/object:Gem::Dependency
80
+ name: nokogiri
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>'
85
+ - !ruby/object:Gem::Version
86
+ version: '1.4'
95
87
  type: :development
96
- version_requirements: *id005
97
- description: PriceTag converts HTML documents into light markup languages. Currently supports Markdown and Textile.
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>'
93
+ - !ruby/object:Gem::Version
94
+ version: '1.4'
95
+ description: PriceTag converts HTML documents into light markup languages. Currently
96
+ supports Markdown and Textile.
98
97
  email: m@mattt.me
99
98
  executables: []
100
-
101
99
  extensions: []
102
-
103
- extra_rdoc_files:
100
+ extra_rdoc_files:
104
101
  - README.md
105
- files:
102
+ files:
106
103
  - .document
107
104
  - Gemfile
108
105
  - Gemfile.lock
@@ -117,39 +114,30 @@ files:
117
114
  - lib/pricetag/processors/textile.rb
118
115
  - lib/pricetag/version.rb
119
116
  - test/helper.rb
120
- has_rdoc: true
121
117
  homepage: http://github.com/mort666/pricetag
122
- licenses:
118
+ licenses:
123
119
  - MIT
124
120
  post_install_message:
125
121
  rdoc_options: []
126
-
127
- require_paths:
122
+ require_paths:
128
123
  - lib
129
- required_ruby_version: !ruby/object:Gem::Requirement
124
+ required_ruby_version: !ruby/object:Gem::Requirement
130
125
  none: false
131
- requirements:
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- hash: 3
135
- segments:
136
- - 0
137
- version: "0"
138
- required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
131
  none: false
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- hash: 3
144
- segments:
145
- - 0
146
- version: "0"
132
+ requirements:
133
+ - - ! '>='
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
147
136
  requirements: []
148
-
149
137
  rubyforge_project:
150
- rubygems_version: 1.6.2
138
+ rubygems_version: 1.8.24
151
139
  signing_key:
152
140
  specification_version: 3
153
141
  summary: Convert HTML into your favorite lightweight markup language
154
- test_files:
142
+ test_files:
155
143
  - test/helper.rb