be_valid_asset 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,10 +1,11 @@
1
1
  require 'rake'
2
2
  # require 'rake/rdoctask'
3
- require 'spec/rake/spectask'
3
+ require 'rspec/core/rake_task'
4
4
 
5
+ # RSpec 2.0
5
6
  task :default => :spec
6
- Spec::Rake::SpecTask.new do |t|
7
- t.spec_opts = ['--options', File.join(File.dirname(__FILE__), %w(spec spec.opts))]
7
+ RSpec::Core::RakeTask.new do |spec|
8
+ spec.rspec_opts = ['--options', File.join(File.dirname(__FILE__), %w(spec spec.opts))]
8
9
  end
9
10
 
10
11
  # desc 'Generate documentation for the be_valid_asset plugin.'
@@ -20,7 +20,7 @@ module BeValidAsset
20
20
  # The validator return a 500 Error if it's sent empty string
21
21
  fragment = ' ' if fragment.empty?
22
22
 
23
- query_params = { :text => fragment, :profile => @profile }
23
+ query_params = { :text => fragment, :profile => @profile, :vextwarning => 'true' }
24
24
  return validate(query_params)
25
25
  end
26
26
 
data/spec/spec.opts CHANGED
@@ -1,4 +1,2 @@
1
1
  --colour
2
- --format specdoc
3
- --loadby mtime
4
- --reverse
2
+ --format progress
metadata CHANGED
@@ -1,48 +1,36 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: be_valid_asset
3
- version: !ruby/object:Gem::Version
4
- hash: 29
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.2
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 2
9
- - 1
10
- version: 1.2.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Alex Tomlins
14
9
  - Sebastian de Castelberg
15
10
  - Ben Brinckerhoff
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2012-05-30 00:00:00 +01:00
21
- default_executable:
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
14
+ date: 2012-08-09 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
24
17
  name: rspec
25
- prerelease: false
26
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: &2151771900 !ruby/object:Gem::Requirement
27
19
  none: false
28
- requirements:
29
- - - ">="
30
- - !ruby/object:Gem::Version
31
- hash: 3
32
- segments:
33
- - 0
34
- version: "0"
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
35
24
  type: :runtime
36
- version_requirements: *id001
37
- description: Provides be_valid_xhtml, be_valid_css and be_valid_feed matchers for rspec controller and view tests.
25
+ prerelease: false
26
+ version_requirements: *2151771900
27
+ description: Provides be_valid_xhtml, be_valid_css and be_valid_feed matchers for
28
+ rspec controller and view tests.
38
29
  email: github@unboxedconsulting.com
39
30
  executables: []
40
-
41
31
  extensions: []
42
-
43
32
  extra_rdoc_files: []
44
-
45
- files:
33
+ files:
46
34
  - Rakefile
47
35
  - README.markdown
48
36
  - MIT-LICENSE.txt
@@ -68,41 +56,31 @@ files:
68
56
  - spec/files/valid.html5
69
57
  - spec/files/valid_feed.xml
70
58
  - spec/spec.opts
71
- has_rdoc: true
72
59
  homepage: http://github.com/unboxed/be_valid_asset
73
60
  licenses: []
74
-
75
61
  post_install_message:
76
62
  rdoc_options: []
77
-
78
- require_paths:
63
+ require_paths:
79
64
  - lib
80
- required_ruby_version: !ruby/object:Gem::Requirement
65
+ required_ruby_version: !ruby/object:Gem::Requirement
81
66
  none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
- version: "0"
89
- required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
72
  none: false
91
- requirements:
92
- - - ">="
93
- - !ruby/object:Gem::Version
94
- hash: 3
95
- segments:
96
- - 0
97
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
98
77
  requirements: []
99
-
100
78
  rubyforge_project:
101
- rubygems_version: 1.4.2
79
+ rubygems_version: 1.8.10
102
80
  signing_key:
103
81
  specification_version: 3
104
82
  summary: Markup validation for RSpec
105
- test_files:
83
+ test_files:
106
84
  - spec/be_valid_asset/be_valid_css_spec.rb
107
85
  - spec/be_valid_asset/be_valid_feed_spec.rb
108
86
  - spec/be_valid_asset/be_valid_markup_spec.rb