em-midori 0.1.5.3 → 0.1.5.4

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: 75ef4a4010f55980e68e83094d52ec20da331d3f
4
- data.tar.gz: 02134a7230d0df130d101f1f41a9488653d9e7eb
3
+ metadata.gz: c594a9798ff422f392c80ce41020981237da1099
4
+ data.tar.gz: 61bb0cd772ea378d1b773e94237c53bdae36ce69
5
5
  SHA512:
6
- metadata.gz: 83b5d33253afa1acf6b5b00fd78712fdc88dc5867d599e51fc46760e97cfac7cfe8a1c1f4e0c8f9272bce98529b0b2f93ac47768e3ade428d35ad822c8861490
7
- data.tar.gz: b7705625eab92db09d471c3ba5082446fb34f4d979460588d5335972c43e9043512e8ad1bd2a61eacff21b1ff7ea52c83c9a11d9ddbd7a01a1b7f9f10bdfa72b
6
+ metadata.gz: abbd732f0760554cd3f7abb2870638cc408d7f59af9de556a0414044310ce1d596d398fb3576c622cc3649b2ee0e7c55e761a299d35d9a543b74ccb4b3b68917
7
+ data.tar.gz: 9666b131d560ea632e5df06377366685e8eef147e31d70a41e30af64dd2c1f4d0cfeba2c886e04736a1e65d0af0d97c09e9480d11350de76b1f508ff82b8f96e
@@ -5,43 +5,64 @@ module Midori::Const
5
5
  STATUS_CODE = {
6
6
  100 => '100 Continue',
7
7
  101 => '101 Switching Protocols',
8
+ 102 => '102 Processing', # RFC 2518
8
9
  200 => '200 OK',
9
10
  201 => '201 Created',
10
11
  202 => '202 Accepted',
11
12
  203 => '203 Non-Authoritative Information',
12
13
  204 => '204 No Content',
13
14
  205 => '205 Reset Content',
14
- 206 => '206 Partial Content',
15
+ 206 => '206 Partial Content', # RFC 7233
16
+ 207 => '207 Multi-Status', # RFC 4918
17
+ 208 => '208 Already Reported', # RFC 5842
18
+ 226 => '226 IM Used', # RFC 3229
15
19
  300 => '300 Multiple Choices',
16
20
  301 => '301 Moved Permanently',
17
- 304 => '304 Not Modified',
21
+ 302 => '302 Found',
22
+ 303 => '303 See Other',
23
+ 304 => '304 Not Modified', # RFC 7232
18
24
  305 => '305 Use Proxy',
19
25
  307 => '307 Temporary Redirect',
26
+ 308 => '308 Permanent Redirect', # RFC 7538
20
27
  400 => '400 Bad Request',
21
- 401 => '401 Unauthorized',
28
+ 401 => '401 Unauthorized', # RFC 7235
22
29
  402 => '402 Payment Required',
23
30
  403 => '403 Forbidden',
24
31
  404 => '404 Not Found',
25
32
  405 => '405 Method Not Allowed',
26
33
  406 => '406 Not Acceptable',
27
- 407 => '407 Proxy Authentication Required',
34
+ 407 => '407 Proxy Authentication Required', # RFC 7235
28
35
  408 => '408 Request Time-out',
29
36
  409 => '409 Conflict',
30
37
  410 => '410 Gone',
31
38
  411 => '411 Length Required',
32
- 412 => '412 Precondition Failed',
33
- 413 => '413 Request Entity Too Large',
34
- 414 => '414 Request-URI Too Large',
39
+ 412 => '412 Precondition Failed', # RFC 7232
40
+ 413 => '413 Payload Too Large', # RFC 7231
41
+ 414 => '414 URI Too Long', # RFC 7231
35
42
  415 => '415 Unsupported Media Type',
36
- 416 => '416 Requested range not satisfiable',
37
- 417 => '417 Expectation Failed',
43
+ 416 => '416 Range Not Satisfiable',
44
+ 417 => '417 Expectation Failed', # RFC 2324
45
+ 418 => '418 I\'m a teaport', # RFC 2324
46
+ 421 => '421 Misdirected Request', # RFC 7540
47
+ 422 => '422 Unprocessable Entity', # RFC 4918
48
+ 423 => '423 Locked', # RFC 4918
49
+ 424 => '424 Failed Dependency', # RFC 4918
50
+ 426 => '426 Upgrade Required',
51
+ 428 => '428 Precondition Required', # RFC 6585
52
+ 429 => '429 Too Many Requests', # RFC 6585
53
+ 431 => '431 Request Header Fields Too Large', # RFC 6585
38
54
  451 => '451 Unavailable For Legal Reasons',
39
55
  500 => '500 Internal Server Error',
40
56
  501 => '501 Not Implemented',
41
57
  502 => '502 Bad Gateway',
42
58
  503 => '503 Service Unavailable',
43
59
  504 => '504 Gateway Time-out',
44
- 505 => '505 HTTP Version not supported'
60
+ 505 => '505 HTTP Version not supported',
61
+ 506 => '506 Variant Also Negotiates', # RFC 2295
62
+ 507 => '507 Insufficient Storage', # RFC 4918
63
+ 508 => '508 Loop Detected', # RFC 5842
64
+ 510 => '510 Not Extended', # RFC 2774
65
+ 511 => '511 Network Authentication Required', # RFC 6585
45
66
  }
46
67
  STATUS_CODE.default = '500 Internal Server Error'
47
68
  STATUS_CODE.freeze
@@ -1,5 +1,5 @@
1
1
  # Midori Module
2
2
  module Midori
3
3
  # Current Version Code
4
- VERSION = '0.1.5.3'.freeze
4
+ VERSION = '0.1.5.4'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-midori
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.3
4
+ version: 0.1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - HeckPsi Lab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-11 00:00:00.000000000 Z
11
+ date: 2016-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
@@ -59,7 +59,6 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - CONTRIBUTOR_COVENANT_CODE_OF_CONDUCT.md
63
62
  - LICENSE
64
63
  - lib/em-midori.rb
65
64
  - lib/em-midori/api.rb
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at dsh0416@gmail.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/