middleman-xmlvalidator 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 1.8.7
data/Rakefile CHANGED
@@ -1 +1,2 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -1,9 +1,9 @@
1
- require "middleman/xmlvalidator/version"
2
-
3
1
  module Middleman
4
2
  module Xmlvalidator
5
3
  class << self
6
4
  def registered(app)
5
+ require "nokogiri"
6
+
7
7
  app.after_build do |builder|
8
8
  puts "", "Validating with NokoGiri", ""
9
9
 
@@ -1,6 +1,6 @@
1
1
  module Middleman
2
2
  module Xmlvalidator
3
- VERSION = "0.0.3"
3
+ VERSION = '0.0.4'
4
4
  PACKAGE = 'middleman-xmlvalidator'
5
5
  end
6
6
  end
@@ -0,0 +1,8 @@
1
+ require 'middleman-core'
2
+
3
+ require 'middleman-xmlvalidator/version'
4
+
5
+ ::Middleman::Extensions.register(:validate) do
6
+ require "middleman-xmlvalidator/extension"
7
+ ::Middleman::Xmlvalidator
8
+ end
@@ -0,0 +1 @@
1
+ require 'middleman-xmlvalidator'
@@ -5,7 +5,7 @@ require 'middleman/xmlvalidator/version'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = Middleman::Xmlvalidator::PACKAGE
8
- gem.version = Middleman::Xmlvalidator::VERSION
8
+ gem.version = "0.0.4"
9
9
  gem.authors = ["briananders"]
10
10
  gem.email = ["anders.brian@icloud.com"]
11
11
  gem.description = %q{This Gem is a middleman extension that is used for validating xml and rss files in your build folder.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-xmlvalidator
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:
@@ -84,14 +84,15 @@ extensions: []
84
84
  extra_rdoc_files: []
85
85
  files:
86
86
  - .gitignore
87
+ - .travis.yml
87
88
  - Gemfile
88
- - LICENSE.txt
89
89
  - README.md
90
90
  - Rakefile
91
91
  - lib/.DS_Store
92
- - lib/middleman/.DS_Store
93
- - lib/middleman/xmlvalidator.rb
94
- - lib/middleman/xmlvalidator/version.rb
92
+ - lib/middleman-xmlvalidator.rb
93
+ - lib/middleman-xmlvalidator/extension.rb
94
+ - lib/middleman-xmlvalidator/version.rb
95
+ - lib/middleman_extension.rb
95
96
  - lib/schema/.DS_Store
96
97
  - lib/schema/BingSiteAuth.xsd
97
98
  - lib/schema/RSSSchema.xsd
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2013 briananders
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary file