nunchaku 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85e68ba556c156c4f52a40427ea5e7003946ed4b
4
- data.tar.gz: dd044567c165768235b66ff5617f86966ad338e5
3
+ metadata.gz: 4ddf5bc35da29a3edf8f2a56e1b574440bff21ff
4
+ data.tar.gz: adb9b9f66db78361eb081d2b24d8cb5a91bf06c4
5
5
  SHA512:
6
- metadata.gz: e7a7029ce24f2dbf674adcc793adbe4e68fce786720f3e9cbb3f65d4266fae81b09145c4edf986e0af224f47661a7d3570b1a78a8067b5c65d48f14f47cad49d
7
- data.tar.gz: 522ed0a7b1cddad886c57b342e4018305d7ff113a5a8b33444ee6053f27aedbf5ecfa07244a4a2183961a8fb1062c2c73c6dc185c4e20f76d09ef6459a8ed869
6
+ metadata.gz: 26884c9fb005cc9d5d705ad3b0e5048958c18ab669b18ad70d792f104b40071f390c500721325bfb7e8baa0774f1af585cd8fae7b886a9b1f2920e13dff1b0ad
7
+ data.tar.gz: d7e97333fd2f5390a893d68a9f1db22ce2160ccc1cede513af58962f08ca7f6109282e0aa26caa291eb52c0476eb8758f12d05daf698a1e22a3fa600a00cfa4e
@@ -0,0 +1,2 @@
1
+ rvm:
2
+ - 2.2.0
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Nunchaku
1
+ # Nunchaku [![travis build status](https://secure.travis-ci.org/sitevalidator/nunchaku.png?branch=master)](http://travis-ci.org/sitevalidator/nunchaku) [![Code Climate](https://codeclimate.com/github/sitevalidator/nunchaku/badges/gpa.svg)](https://codeclimate.com/github/sitevalidator/nunchaku) [![Dependency Status](https://gemnasium.com/sitevalidator/nunchaku.png)](https://gemnasium.com/sitevalidator/nunchaku)
2
2
 
3
3
  Nunchaku is a Ruby client for the [Nu HTML Checker](https://github.com/validator/validator). It lets you easily check HTML markup of web pages, by querying a remote instance of the checker.
4
4
 
@@ -32,7 +32,7 @@ Then, you can check the JSON response like this:
32
32
 
33
33
  ```ruby
34
34
  checker.raw # {
35
- # "url": "http://validationhell.com",
35
+ # "url": "http://example.com",
36
36
  # "messages": [{
37
37
  # "type": "error",
38
38
  # "lastLine": 73,
@@ -65,10 +65,10 @@ The `messages` array contains all messages returned by the checker, but you'll t
65
65
 
66
66
  ## Using an alternate server
67
67
 
68
- By default, Nunchaku will query the Nu HTML Checker at https://html5.validator.nu, but you're encouraged to install your own instance and use it instead. You can follow the [Nu installation instructions](https://github.com/validator/validator) and then specify the alternate server like this:
68
+ By default, Nunchaku will query the Nu HTML Checker at http://validator.w3.org/nu but you're encouraged to install your own instance and use it instead. You can follow the [Nu installation instructions](https://github.com/validator/validator) and then specify the alternate server like this:
69
69
 
70
70
  ```ruby
71
- checker = Nunchaku.check('http://example.com', checker_uri: 'http://mychecker.example.com')
71
+ Nunchaku.check('http://example.com', checker_uri: 'http://yourchecker.com')
72
72
  ```
73
73
 
74
74
  ## Development
@@ -31,7 +31,7 @@ module Nunchaku
31
31
  private
32
32
 
33
33
  def defaults
34
- { checker_uri: 'https://html5.validator.nu/' }
34
+ { checker_uri: 'http://validator.w3.org/nu/' }
35
35
  end
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module Nunchaku
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["jaimeiniesta@gmail.com"]
11
11
 
12
12
  spec.summary = %q{Ruby client for the Nu HTML Checker}
13
- spec.description = %q{Ruby client to check HTML markup using the Nu HTML Checker at https://html5.validator.nu/}
13
+ spec.description = %q{Ruby client to check HTML markup using the Nu HTML Checker at http://validator.w3.org/nu/}
14
14
  spec.homepage = "https://github.com/sitevalidator/nunchaku"
15
15
  spec.license = "MIT"
16
16
 
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_runtime_dependency "httparty", "~> 0.13"
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.8"
25
24
  spec.add_development_dependency "rake", "~> 10.0"
26
25
  spec.add_development_dependency "rspec", "~> 3.2"
27
26
  spec.add_development_dependency "webmock", "~> 1.20"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nunchaku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Iniesta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-03-04 00:00:00.000000000 Z
11
+ date: 2015-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.13'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.8'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.8'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +66,7 @@ dependencies:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: '1.20'
83
- description: Ruby client to check HTML markup using the Nu HTML Checker at https://html5.validator.nu/
69
+ description: Ruby client to check HTML markup using the Nu HTML Checker at http://validator.w3.org/nu/
84
70
  email:
85
71
  - jaimeiniesta@gmail.com
86
72
  executables: []
@@ -88,6 +74,7 @@ extensions: []
88
74
  extra_rdoc_files: []
89
75
  files:
90
76
  - ".gitignore"
77
+ - ".travis.yml"
91
78
  - CODE_OF_CONDUCT.md
92
79
  - Gemfile
93
80
  - LICENSE.txt