hash_to_html 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -2
- data/hash_to_html.gemspec +2 -2
- data/lib/hash_to_html/version.rb +1 -1
- metadata +5 -6
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# HashToHtml
|
2
2
|
|
3
|
-
Let's you call
|
3
|
+
Let's you call my_hash.to_html in your views and prints out the contents to html with ul and li tags
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,7 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
For example in an ERB template:
|
22
22
|
|
23
23
|
<%= @my_hash.to_html %>
|
24
24
|
|
data/hash_to_html.gemspec
CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/hash_to_html/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Josh Crews"]
|
6
6
|
gem.email = ["crews.josh@gmail.com"]
|
7
|
-
gem.description = %q{
|
8
|
-
gem.summary = %q{
|
7
|
+
gem.description = %q{Html formats Hash into ul and li html tags}
|
8
|
+
gem.summary = %q{This will take a Hash and make into html including nested hashes}
|
9
9
|
gem.homepage = "http://github.com/joshcrews/hash_to_html"
|
10
10
|
|
11
11
|
gem.add_development_dependency "rspec"
|
data/lib/hash_to_html/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hash_to_html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2013-01-25 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70211741627740 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,8 +21,8 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
-
description:
|
24
|
+
version_requirements: *70211741627740
|
25
|
+
description: Html formats Hash into ul and li html tags
|
26
26
|
email:
|
27
27
|
- crews.josh@gmail.com
|
28
28
|
executables: []
|
@@ -64,8 +64,7 @@ rubyforge_project:
|
|
64
64
|
rubygems_version: 1.8.11
|
65
65
|
signing_key:
|
66
66
|
specification_version: 3
|
67
|
-
summary:
|
68
|
-
hashes
|
67
|
+
summary: This will take a Hash and make into html including nested hashes
|
69
68
|
test_files:
|
70
69
|
- spec/hash_to_html_spec.rb
|
71
70
|
- spec/spec_helper.rb
|