tattoo 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/lib/tattoo/ink.rb +2 -2
  3. data/tattoo.gemspec +17 -24
  4. metadata +37 -43
  5. data/.gitignore +0 -21
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -32,8 +32,8 @@ module Tattoo
32
32
  end
33
33
 
34
34
  def link_tag_for(tag)
35
- attributes = @attributes.map {|k, v| " #{k}=\"#{v}\""}
36
- %{<a href="#{url_for(tag)}"#{attributes}>#{@prefix}#{tag}</a>}
35
+ attributes = @attributes.map {|k, v| "#{k}=\"#{v}\""}.join(' ')
36
+ %{<a href="#{url_for(tag)}" #{attributes}>#{@prefix}#{tag}</a>}
37
37
  end
38
38
 
39
39
  def url_for(tag)
@@ -1,51 +1,44 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tattoo}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["zbelzer"]
12
- s.date = %q{2009-12-29}
12
+ s.date = %q{2012-04-18}
13
13
  s.description = %q{Tattoo is a (very) simple tool to decorate text as links based off of regular expressions and url templates.}
14
14
  s.email = %q{zbelzer@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.md"
17
+ "README.md"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.md",
24
- "Rakefile",
25
- "VERSION",
26
- "lib/tattoo.rb",
27
- "lib/tattoo/gun.rb",
28
- "lib/tattoo/ink.rb",
29
- "spec/spec.opts",
30
- "spec/spec_helper.rb",
31
- "spec/tattoo_spec.rb",
32
- "tattoo.gemspec"
21
+ "LICENSE",
22
+ "README.md",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "lib/tattoo.rb",
26
+ "lib/tattoo/gun.rb",
27
+ "lib/tattoo/ink.rb",
28
+ "spec/spec.opts",
29
+ "spec/spec_helper.rb",
30
+ "spec/tattoo_spec.rb",
31
+ "tattoo.gemspec"
33
32
  ]
34
33
  s.homepage = %q{http://github.com/zbelzer/tattoo}
35
- s.rdoc_options = ["--charset=UTF-8"]
36
34
  s.require_paths = ["lib"]
37
- s.rubygems_version = %q{1.3.5}
35
+ s.rubygems_version = %q{1.6.2}
38
36
  s.summary = %q{Tattoo: Ink some mad links on everyday text}
39
- s.test_files = [
40
- "spec/spec_helper.rb",
41
- "spec/tattoo_spec.rb"
42
- ]
43
37
 
44
38
  if s.respond_to? :specification_version then
45
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
46
39
  s.specification_version = 3
47
40
 
48
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
41
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
42
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
50
43
  else
51
44
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
metadata CHANGED
@@ -1,39 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: tattoo
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - zbelzer
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2009-12-29 00:00:00 -06:00
12
+ date: 2012-04-18 00:00:00.000000000 -05:00
13
13
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
17
+ requirement: &20199960 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
23
22
  version: 1.2.9
24
- version:
25
- description: Tattoo is a (very) simple tool to decorate text as links based off of regular expressions and url templates.
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: *20199960
26
+ description: Tattoo is a (very) simple tool to decorate text as links based off of
27
+ regular expressions and url templates.
26
28
  email: zbelzer@gmail.com
27
29
  executables: []
28
-
29
30
  extensions: []
30
-
31
- extra_rdoc_files:
31
+ extra_rdoc_files:
32
32
  - LICENSE
33
33
  - README.md
34
- files:
34
+ files:
35
35
  - .document
36
- - .gitignore
37
36
  - LICENSE
38
37
  - README.md
39
38
  - Rakefile
@@ -48,31 +47,26 @@ files:
48
47
  has_rdoc: true
49
48
  homepage: http://github.com/zbelzer/tattoo
50
49
  licenses: []
51
-
52
50
  post_install_message:
53
- rdoc_options:
54
- - --charset=UTF-8
55
- require_paths:
51
+ rdoc_options: []
52
+ require_paths:
56
53
  - lib
57
- required_ruby_version: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: "0"
62
- version:
63
- required_rubygems_version: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: "0"
68
- version:
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
69
66
  requirements: []
70
-
71
67
  rubyforge_project:
72
- rubygems_version: 1.3.5
68
+ rubygems_version: 1.6.2
73
69
  signing_key:
74
70
  specification_version: 3
75
- summary: "Tattoo: Ink some mad links on everyday text"
76
- test_files:
77
- - spec/spec_helper.rb
78
- - spec/tattoo_spec.rb
71
+ summary: ! 'Tattoo: Ink some mad links on everyday text'
72
+ test_files: []
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC