middleman-xmlvalidator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -17
- data/.travis.yml +5 -2
- data/Gemfile.lock +110 -0
- data/README.md +15 -3
- data/lib/middleman/xmlvalidator/version.rb +1 -1
- data/middleman-xmlvalidator.gemspec +2 -2
- metadata +6 -6
- data/lib/.DS_Store +0 -0
data/.gitignore
CHANGED
@@ -1,19 +1,21 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
+
|
7
|
+
# Ignore bundler config
|
3
8
|
.bundle
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
9
|
+
|
10
|
+
# Ignore the build directory
|
11
|
+
build
|
12
|
+
|
13
|
+
# Ignore Sass' cache
|
14
|
+
.sass-cache
|
15
|
+
|
18
16
|
.DS_Store
|
19
|
-
|
17
|
+
|
18
|
+
source
|
19
|
+
config.ru
|
20
|
+
config.rb
|
21
|
+
Gemfile.lock
|
data/.travis.yml
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
middleman-xmlvalidator (0.0.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
activesupport (3.2.12)
|
10
|
+
i18n (~> 0.6)
|
11
|
+
multi_json (~> 1.0)
|
12
|
+
chunky_png (1.2.6)
|
13
|
+
coffee-script (2.2.0)
|
14
|
+
coffee-script-source
|
15
|
+
execjs
|
16
|
+
coffee-script-source (1.3.3)
|
17
|
+
compass (0.12.2)
|
18
|
+
chunky_png (~> 1.2)
|
19
|
+
fssm (>= 0.2.7)
|
20
|
+
sass (~> 3.1)
|
21
|
+
execjs (1.4.0)
|
22
|
+
multi_json (~> 1.0)
|
23
|
+
fssm (0.2.9)
|
24
|
+
haml (3.1.7)
|
25
|
+
hike (1.2.1)
|
26
|
+
http_router (0.10.2)
|
27
|
+
rack (>= 1.0.0)
|
28
|
+
url_mount (~> 0.2.1)
|
29
|
+
i18n (0.6.4)
|
30
|
+
listen (0.7.3)
|
31
|
+
maruku (0.6.1)
|
32
|
+
syntax (>= 1.0.0)
|
33
|
+
middleman (3.0.12)
|
34
|
+
middleman-core (= 3.0.12)
|
35
|
+
middleman-more (= 3.0.12)
|
36
|
+
middleman-sprockets (~> 3.0.8)
|
37
|
+
middleman-core (3.0.12)
|
38
|
+
activesupport (~> 3.2.6)
|
39
|
+
bundler (~> 1.1)
|
40
|
+
listen (~> 0.7.3)
|
41
|
+
rack (~> 1.4.1)
|
42
|
+
rack-test (~> 0.6.1)
|
43
|
+
rb-fsevent (~> 0.9.3)
|
44
|
+
thor (~> 0.15.4)
|
45
|
+
tilt (~> 1.3.1)
|
46
|
+
middleman-more (3.0.12)
|
47
|
+
coffee-script (~> 2.2.0)
|
48
|
+
coffee-script-source (~> 1.3.3)
|
49
|
+
compass (>= 0.12.2)
|
50
|
+
execjs (~> 1.4.0)
|
51
|
+
haml (>= 3.1.6)
|
52
|
+
i18n (~> 0.6.0)
|
53
|
+
maruku (~> 0.6.0)
|
54
|
+
middleman-core (= 3.0.12)
|
55
|
+
padrino-helpers (= 0.10.7)
|
56
|
+
sass (>= 3.1.20)
|
57
|
+
uglifier (~> 1.2.6)
|
58
|
+
middleman-sprockets (3.0.9)
|
59
|
+
middleman-more (>= 3.0.11)
|
60
|
+
sprockets (~> 2.1, < 2.5)
|
61
|
+
sprockets-sass (~> 0.9.1)
|
62
|
+
multi_json (1.6.1)
|
63
|
+
nokogiri (1.5.9)
|
64
|
+
padrino-core (0.10.7)
|
65
|
+
activesupport (~> 3.2.0)
|
66
|
+
http_router (~> 0.10.2)
|
67
|
+
sinatra (~> 1.3.1)
|
68
|
+
thor (~> 0.15.2)
|
69
|
+
tilt (~> 1.3.0)
|
70
|
+
padrino-helpers (0.10.7)
|
71
|
+
i18n (~> 0.6)
|
72
|
+
padrino-core (= 0.10.7)
|
73
|
+
rack (1.4.5)
|
74
|
+
rack-protection (1.4.0)
|
75
|
+
rack
|
76
|
+
rack-test (0.6.2)
|
77
|
+
rack (>= 1.0)
|
78
|
+
rake (10.0.4)
|
79
|
+
rb-fsevent (0.9.3)
|
80
|
+
sass (3.2.6)
|
81
|
+
sinatra (1.3.3)
|
82
|
+
rack (~> 1.3, >= 1.3.6)
|
83
|
+
rack-protection (~> 1.2)
|
84
|
+
tilt (~> 1.3, >= 1.3.3)
|
85
|
+
sprockets (2.4.5)
|
86
|
+
hike (~> 1.2)
|
87
|
+
multi_json (~> 1.0)
|
88
|
+
rack (~> 1.0)
|
89
|
+
tilt (~> 1.1, != 1.3.0)
|
90
|
+
sprockets-sass (0.9.1)
|
91
|
+
sprockets (~> 2.0)
|
92
|
+
tilt (~> 1.1)
|
93
|
+
syntax (1.0.0)
|
94
|
+
thor (0.15.4)
|
95
|
+
tilt (1.3.7)
|
96
|
+
uglifier (1.2.7)
|
97
|
+
execjs (>= 0.3.0)
|
98
|
+
multi_json (~> 1.3)
|
99
|
+
url_mount (0.2.1)
|
100
|
+
rack
|
101
|
+
|
102
|
+
PLATFORMS
|
103
|
+
ruby
|
104
|
+
|
105
|
+
DEPENDENCIES
|
106
|
+
bundler (~> 1.3)
|
107
|
+
middleman (~> 3.0.12)
|
108
|
+
middleman-xmlvalidator!
|
109
|
+
nokogiri (~> 1.5.6)
|
110
|
+
rake
|
data/README.md
CHANGED
@@ -6,11 +6,11 @@ TODO: Write a gem description
|
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
gem 'middleman-xmlvalidator'
|
9
|
+
gem 'middleman-xmlvalidator', '>= 0.1.0'
|
10
10
|
|
11
11
|
And then execute:
|
12
12
|
|
13
|
-
$ bundle
|
13
|
+
$ bundle install
|
14
14
|
|
15
15
|
Or install it yourself as:
|
16
16
|
|
@@ -18,7 +18,19 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
inside your config.rb file, add something like this:
|
22
|
+
|
23
|
+
configure :build do
|
24
|
+
|
25
|
+
activate :validate
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
When you call
|
30
|
+
|
31
|
+
$ middleman build
|
32
|
+
|
33
|
+
your .xml and .rss files will be validated against standard schema.
|
22
34
|
|
23
35
|
## Contributing
|
24
36
|
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |g|
|
|
13
13
|
g.email = ["anders.brian@icloud.com"]
|
14
14
|
g.description = %q{This g is a middleman extension that is used for validating xml and rss files in your build folder.}
|
15
15
|
g.summary = %q{middleman extension to validate xml and rss files.}
|
16
|
-
g.homepage = ""
|
16
|
+
g.homepage = "https://github.com/briananders/MiddlemanXMLValidator"
|
17
17
|
g.license = "MIT"
|
18
18
|
|
19
19
|
g.files = `git ls-files`.split($/)
|
@@ -25,5 +25,5 @@ Gem::Specification.new do |g|
|
|
25
25
|
g.add_development_dependency("rake")
|
26
26
|
|
27
27
|
g.add_runtime_dependency("nokogiri", ["~>1.5.6"])
|
28
|
-
g.add_runtime_dependency("middleman", ["
|
28
|
+
g.add_runtime_dependency("middleman", [">= 3.0.12"])
|
29
29
|
end
|
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -64,7 +64,7 @@ dependencies:
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ! '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: 3.0.12
|
70
70
|
type: :runtime
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: 3.0.12
|
78
78
|
description: This g is a middleman extension that is used for validating xml and rss
|
@@ -86,9 +86,9 @@ files:
|
|
86
86
|
- .gitignore
|
87
87
|
- .travis.yml
|
88
88
|
- Gemfile
|
89
|
+
- Gemfile.lock
|
89
90
|
- README.md
|
90
91
|
- Rakefile
|
91
|
-
- lib/.DS_Store
|
92
92
|
- lib/middleman-xmlvalidator.rb
|
93
93
|
- lib/middleman/xmlvalidator/extension.rb
|
94
94
|
- lib/middleman/xmlvalidator/schema/BingSiteAuth.xsd
|
@@ -100,7 +100,7 @@ files:
|
|
100
100
|
- lib/middleman/xmlvalidator/version.rb
|
101
101
|
- lib/middleman_extension.rb
|
102
102
|
- middleman-xmlvalidator.gemspec
|
103
|
-
homepage:
|
103
|
+
homepage: https://github.com/briananders/MiddlemanXMLValidator
|
104
104
|
licenses:
|
105
105
|
- MIT
|
106
106
|
post_install_message:
|
data/lib/.DS_Store
DELETED
Binary file
|