deface 0.5.1 → 0.5.2a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.markdown +3 -3
  2. data/deface.gemspec +6 -6
  3. metadata +18 -16
@@ -7,13 +7,13 @@ It allows you to easily target html & erb elements as the hooks for customizatio
7
7
 
8
8
  Demo & Testing
9
9
  ---------------
10
- You can play with Deface and see it's parsing in action at [deface.heroku.com](http://deface.heroku.com)
10
+ You can play with Deface and see its parsing in action at [deface.heroku.com](http://deface.heroku.com)
11
11
 
12
12
 
13
13
  Deface::Override
14
14
  =======
15
15
 
16
- A new instance of the Deface::Override class is initialized for each customization you wish to define. When initializing a new override you must supply only one Target, Action & Source parameter and any number of Optional parameters. Note, the source parameter is not required when the "remove" action is specified.
16
+ A new instance of the Deface::Override class is initialized for each customization you wish to define. When initializing a new override you must supply only one Target, Action & Source parameter and any number of Optional parameters. Note: the source parameter is not required when the "remove" action is specified.
17
17
 
18
18
  Target
19
19
  ------
@@ -117,7 +117,7 @@ Deface uses the amazing Nokogiri library (and in turn libxml) for parsing HTML /
117
117
 
118
118
  1. Ensure that your layout views include doctype, html, head and body tags in a single file, as Nokogiri will create such elements if it detects any of these tags have been incorrectly nested.
119
119
 
120
- 2. Parsing will fail and result in invalid output if ERB blocks are responsible for closing a HTML tag what was opened normally, i.e. don't do this:
120
+ 2. Parsing will fail and result in invalid output if ERB blocks are responsible for closing an HTML tag that was opened normally, i.e. don't do this:
121
121
 
122
122
 
123
123
  <div <%= ">" %>
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{deface}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2a"
9
9
 
10
10
  s.authors = ["Brian Quinn"]
11
11
  s.description = %q{Deface is a library that allows you to customize ERB views in a Rails application without editing the underlying view.}
@@ -25,14 +25,14 @@ Gem::Specification.new do |s|
25
25
  s.specification_version = 3
26
26
 
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- s.add_runtime_dependency(%q<nokogiri>, ["~> 1.4.3"])
29
- s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
28
+ s.add_runtime_dependency(%q<nokogiri>, [">= 1.5.0"])
29
+ s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
30
30
  else
31
- s.add_dependency(%q<nokogiri>, ["~> 1.4.3"])
32
- s.add_dependency(%q<rails>, ["~> 3.0.0"])
31
+ s.add_dependency(%q<nokogiri>, [">= 1.5.0"])
32
+ s.add_dependency(%q<rails>, [">= 3.0.0"])
33
33
  end
34
34
  else
35
- s.add_dependency(%q<nokogiri>, ["~> 1.4.3"])
35
+ s.add_dependency(%q<nokogiri>, [">= 1.5.0"])
36
36
  s.add_dependency(%q<rails>, [">= 3.0.0"])
37
37
  end
38
38
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deface
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
5
- prerelease:
4
+ hash: 3382558
5
+ prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2a
10
+ version: 0.5.2a
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Quinn
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-03 00:00:00 +01:00
18
+ date: 2011-07-08 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,14 +24,14 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 1
29
+ hash: 3
30
30
  segments:
31
31
  - 1
32
- - 4
33
- - 3
34
- version: 1.4.3
32
+ - 5
33
+ - 0
34
+ version: 1.5.0
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ~>
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
45
  hash: 7
46
46
  segments:
@@ -101,16 +101,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  none: false
103
103
  requirements:
104
- - - ">="
104
+ - - ">"
105
105
  - !ruby/object:Gem::Version
106
- hash: 3
106
+ hash: 25
107
107
  segments:
108
- - 0
109
- version: "0"
108
+ - 1
109
+ - 3
110
+ - 1
111
+ version: 1.3.1
110
112
  requirements: []
111
113
 
112
114
  rubyforge_project:
113
- rubygems_version: 1.5.0
115
+ rubygems_version: 1.3.7
114
116
  signing_key:
115
117
  specification_version: 3
116
118
  summary: Deface is a library that allows you to customize ERB views in Rails