rack-validate 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,6 +1,10 @@
1
- *.gem
2
1
  *.sw?
3
2
  .DS_Store
4
3
  coverage
5
4
  rdoc
6
5
  pkg
6
+ vendor/gems/ruby/1.8/gems
7
+ vendor/gems/ruby/1.8/specifications
8
+ vendor/gems/ruby/1.8/doc
9
+ vendor/gems/environment.rb
10
+ vendor/gems/ruby/1.8/environment.rb
data/Rakefile CHANGED
@@ -11,6 +11,8 @@ begin
11
11
  gem.homepage = "http://github.com/nerdEd/rack-validate"
12
12
  gem.authors = ["Ed Schmalzle"]
13
13
  gem.add_development_dependency "thoughtbot-shoulda"
14
+ gem.add_development_dependency "rspec"
15
+ gem.add_dependency 'w3c_validators'
14
16
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
17
  end
16
18
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -0,0 +1,3 @@
1
+ #!/Users/ed/.rvm/ruby-1.8.7-p248/bin/ruby
2
+ require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
3
+ load File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/gems/rspec-1.3.0/bin/autospec"))
@@ -0,0 +1,3 @@
1
+ #!/Users/ed/.rvm/ruby-1.8.7-p248/bin/ruby
2
+ require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
3
+ load File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/gems/rack-1.1.0/bin/rackup"))
@@ -0,0 +1,3 @@
1
+ #!/Users/ed/.rvm/ruby-1.8.7-p248/bin/ruby
2
+ require File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/environment"))
3
+ load File.expand_path(File.join(File.dirname(__FILE__), "../vendor/gems/ruby/1.8/gems/rspec-1.3.0/bin/spec"))
data/gemfile ADDED
@@ -0,0 +1,6 @@
1
+ gem 'w3c_validators'
2
+
3
+ only :test do
4
+ gem 'rspec'
5
+ gem 'rack'
6
+ end
@@ -5,13 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rack-validate}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ed Schmalzle"]
12
- s.date = %q{2009-11-16}
12
+ s.date = %q{2010-03-24}
13
13
  s.description = %q{Rack middleware that validates HTML with w3c validator and displays result in page.}
14
14
  s.email = %q{Jonas714@gmail.com}
15
+ s.executables = ["autospec", "rackup", "spec"]
15
16
  s.extra_rdoc_files = [
16
17
  "LICENSE",
17
18
  "README.rdoc"
@@ -23,20 +24,32 @@ Gem::Specification.new do |s|
23
24
  "README.rdoc",
24
25
  "Rakefile",
25
26
  "VERSION",
27
+ "bin/autospec",
28
+ "bin/rackup",
29
+ "bin/spec",
30
+ "gemfile",
26
31
  "lib/rack-validate.rb",
32
+ "lib/rack-validate/response_file.rb",
27
33
  "lib/rack-validate/validator.rb",
28
34
  "rack-validate.gemspec",
29
- "test/rack-validate_test.rb",
30
- "test/test_helper.rb"
35
+ "spec/fixtures/long_response.html",
36
+ "spec/response_file_spec.rb",
37
+ "spec/spec.opts",
38
+ "spec/spec_helper.rb",
39
+ "spec/validator_spec.rb",
40
+ "vendor/gems/ruby/1.8/cache/rack-1.1.0.gem",
41
+ "vendor/gems/ruby/1.8/cache/rspec-1.3.0.gem",
42
+ "vendor/gems/ruby/1.8/cache/w3c_validators-1.0.2.gem"
31
43
  ]
32
44
  s.homepage = %q{http://github.com/nerdEd/rack-validate}
33
45
  s.rdoc_options = ["--charset=UTF-8"]
34
46
  s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.5}
47
+ s.rubygems_version = %q{1.3.6}
36
48
  s.summary = %q{Rack middleware that validates HTML with w3c validator and displays result in page.}
37
49
  s.test_files = [
38
- "test/rack-validate_test.rb",
39
- "test/test_helper.rb"
50
+ "spec/response_file_spec.rb",
51
+ "spec/spec_helper.rb",
52
+ "spec/validator_spec.rb"
40
53
  ]
41
54
 
42
55
  if s.respond_to? :specification_version then
@@ -44,15 +57,18 @@ Gem::Specification.new do |s|
44
57
  s.specification_version = 3
45
58
 
46
59
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
47
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
48
- s.add_development_dependency(%q<w3c_validator>, [">= 0.9.3]"])
60
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
61
+ s.add_development_dependency(%q<rspec>, [">= 0"])
62
+ s.add_runtime_dependency(%q<w3c_validators>, [">= 0"])
49
63
  else
50
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
51
- s.add_dependency(%q<w3c_validator>, [">= 0.9.3]"])
64
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
65
+ s.add_dependency(%q<rspec>, [">= 0"])
66
+ s.add_dependency(%q<w3c_validators>, [">= 0"])
52
67
  end
53
68
  else
54
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
55
- s.add_dependency(%q<w3c_validator>, [">= 0.9.3]"])
69
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
70
+ s.add_dependency(%q<rspec>, [">= 0"])
71
+ s.add_dependency(%q<w3c_validators>, [">= 0"])
56
72
  end
57
73
  end
58
74
 
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-validate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 3
9
+ version: 0.1.3
5
10
  platform: ruby
6
11
  authors:
7
12
  - Ed Schmalzle
@@ -9,23 +14,51 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-02 00:00:00 -05:00
17
+ date: 2010-03-24 00:00:00 -04:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: thoughtbot-shoulda
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :development
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
33
+ name: rspec
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
17
42
  type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
43
+ version_requirements: *id002
44
+ - !ruby/object:Gem::Dependency
45
+ name: w3c_validators
46
+ prerelease: false
47
+ requirement: &id003 !ruby/object:Gem::Requirement
20
48
  requirements:
21
49
  - - ">="
22
50
  - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
23
53
  version: "0"
24
- version:
54
+ type: :runtime
55
+ version_requirements: *id003
25
56
  description: Rack middleware that validates HTML with w3c validator and displays result in page.
26
57
  email: Jonas714@gmail.com
27
- executables: []
28
-
58
+ executables:
59
+ - autospec
60
+ - rackup
61
+ - spec
29
62
  extensions: []
30
63
 
31
64
  extra_rdoc_files:
@@ -38,6 +71,10 @@ files:
38
71
  - README.rdoc
39
72
  - Rakefile
40
73
  - VERSION
74
+ - bin/autospec
75
+ - bin/rackup
76
+ - bin/spec
77
+ - gemfile
41
78
  - lib/rack-validate.rb
42
79
  - lib/rack-validate/response_file.rb
43
80
  - lib/rack-validate/validator.rb
@@ -47,6 +84,9 @@ files:
47
84
  - spec/spec.opts
48
85
  - spec/spec_helper.rb
49
86
  - spec/validator_spec.rb
87
+ - vendor/gems/ruby/1.8/cache/rack-1.1.0.gem
88
+ - vendor/gems/ruby/1.8/cache/rspec-1.3.0.gem
89
+ - vendor/gems/ruby/1.8/cache/w3c_validators-1.0.2.gem
50
90
  has_rdoc: true
51
91
  homepage: http://github.com/nerdEd/rack-validate
52
92
  licenses: []
@@ -60,18 +100,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
100
  requirements:
61
101
  - - ">="
62
102
  - !ruby/object:Gem::Version
103
+ segments:
104
+ - 0
63
105
  version: "0"
64
- version:
65
106
  required_rubygems_version: !ruby/object:Gem::Requirement
66
107
  requirements:
67
108
  - - ">="
68
109
  - !ruby/object:Gem::Version
110
+ segments:
111
+ - 0
69
112
  version: "0"
70
- version:
71
113
  requirements: []
72
114
 
73
115
  rubyforge_project:
74
- rubygems_version: 1.3.5
116
+ rubygems_version: 1.3.6
75
117
  signing_key:
76
118
  specification_version: 3
77
119
  summary: Rack middleware that validates HTML with w3c validator and displays result in page.