html_tagger 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. data/README.md +16 -22
  2. data/lib/html_tagger/version.rb +1 -1
  3. metadata +7 -7
data/README.md CHANGED
@@ -1,8 +1,20 @@
1
1
  # HtmlTagger
2
2
 
3
- Several convience methods monkey patched on String to wrap in HTML formatting.
3
+ ## Installation
4
+
5
+ Add this line to your application's Gemfile:
6
+
7
+ gem 'html_tagger'
8
+
9
+ And then execute:
10
+
11
+ $ bundle
12
+
13
+ Or install it yourself as:
14
+
15
+ $ gem install html_tagger
4
16
 
5
- Method chaining is possible, but produces a lot of embedded SPAN tags.
17
+ ## Usage
6
18
 
7
19
  ### Wrapper methods that will wrap a string in a span tag with the appropriate attributes:
8
20
 
@@ -14,7 +26,7 @@ Method chaining is possible, but produces a lot of embedded SPAN tags.
14
26
  * color(text_color)
15
27
  * subscript
16
28
  * superscript
17
- * class(class_to_set)
29
+ * add_class(class_to_set)
18
30
  * tag_id(id_to_set)
19
31
 
20
32
  ### These methods are proxied to the method:
@@ -38,24 +50,6 @@ Method chaining is possible, but produces a lot of embedded SPAN tags.
38
50
  * When an unknown trait is specified to #styles
39
51
 
40
52
 
41
- ## Installation
42
-
43
- Add this line to your application's Gemfile:
44
-
45
- gem 'html_tagger'
46
-
47
- And then execute:
48
-
49
- $ bundle
50
-
51
- Or install it yourself as:
52
-
53
- $ gem install html_tagger
54
-
55
- ## Usage
56
-
57
- Write usage instructions here
58
-
59
53
  ## Contributing
60
54
 
61
55
  1. Fork it
@@ -64,4 +58,4 @@ Or install it yourself as:
64
58
  4. Push to the branch (`git push origin my-new-feature`)
65
59
  5. Create new Pull Request
66
60
 
67
- [![endorse](http://api.coderwall.com/coyote/endorsecount.png)](http://coderwall.com/coyote)
61
+ [![endorse](http://api.coderwall.com/coyote/endorse.png)](http://coderwall.com/coyote)
@@ -1,3 +1,3 @@
1
1
  module HtmlTagger
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-20 00:00:00.000000000 Z
12
+ date: 2013-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec-expectations
@@ -48,7 +48,7 @@ dependencies:
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - '>='
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  type: :development
@@ -56,7 +56,7 @@ dependencies:
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ! '>='
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  description: OO simple html tagging of text, similar to JS calls
@@ -86,18 +86,18 @@ require_paths:
86
86
  required_ruby_version: !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
89
- - - ! '>='
89
+ - - '>='
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  none: false
94
94
  requirements:
95
- - - ! '>='
95
+ - - '>='
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 1.8.21
100
+ rubygems_version: 1.8.28
101
101
  signing_key:
102
102
  specification_version: 3
103
103
  summary: generates HTML tags similar to how it is done in JavaScript