sixarm_ruby_http_status_codes 1.1.0 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ce430e94283a69a70ae8e21862cc34264ab2a1e3
4
+ data.tar.gz: 1586568d5dc211f02e116c25004f1a85c88fd8b4
5
+ SHA512:
6
+ metadata.gz: 578a982a0c38787b768ac32aee691be089ea17e921c5d73ef80bef744814a34da6115859e90d9848351af2bf921a0400cfab2d10ea891320f833070a47f79e02
7
+ data.tar.gz: 5722e98b4422f811a0b2e3ec875199ed1ad9c20014e03f55f540282be486d61d29e6280a4039cecb5c82c042ed499aa830a9026d5d99feeec2ace25a7d62123c
Binary file
data.tar.gz.sig CHANGED
Binary file
data/Rakefile CHANGED
@@ -1,8 +1,11 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'rake'
3
- require 'rake/testtask'
2
+ require "rake"
3
+ require "rake/testtask"
4
4
 
5
5
  Rake::TestTask.new(:test) do |t|
6
- t.libs << 'lib' << 'test'
7
- t.pattern = 'test/*.rb'
6
+ t.libs.push("lib", "test")
7
+ t.pattern = "test/**/*.rb"
8
8
  end
9
+
10
+ task :default => [:test]
11
+ task :default => [:test]
@@ -1,8 +1,9 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ Minitest::Test ||= MiniTest::Unit::TestCase
4
+ require "simplecov"
4
5
  SimpleCov.start
5
- require 'sixarm_ruby_http_status_codes'
6
+ require "sixarm_ruby_http_status_codes"
6
7
 
7
8
  describe Net::HTTP::Status do
8
9
 
metadata CHANGED
@@ -1,91 +1,182 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sixarm_ruby_http_status_codes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - SixArm
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_ch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WHDSYhnZSCJSCdxPzQJ1mG5T5ahiL3HvCZ
44
+ 2AC9FOGkybW6DJEFSFFMlNk0IILsa/gNp8ufGuTVLWF9FUUdMNK+TMbghnifT8/1
45
+ n+ES/gQPOnvmVkLDGw==
48
46
  -----END CERTIFICATE-----
49
-
50
- '
51
- date: 2012-03-25 00:00:00.000000000 Z
52
- dependencies: []
53
- description:
47
+ date: 2017-08-13 00:00:00.000000000 Z
48
+ dependencies:
49
+ - !ruby/object:Gem::Dependency
50
+ name: minitest
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 5.7.0
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: '6'
59
+ type: :development
60
+ prerelease: false
61
+ version_requirements: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 5.7.0
66
+ - - "<"
67
+ - !ruby/object:Gem::Version
68
+ version: '6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sixarm_ruby_minitest_extensions
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.5
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.5
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">"
88
+ - !ruby/object:Gem::Version
89
+ version: 10.4.2
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: '11'
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">"
98
+ - !ruby/object:Gem::Version
99
+ version: 10.4.2
100
+ - - "<"
101
+ - !ruby/object:Gem::Version
102
+ version: '11'
103
+ - !ruby/object:Gem::Dependency
104
+ name: simplecov
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 0.10.0
110
+ - - "<"
111
+ - !ruby/object:Gem::Version
112
+ version: '2'
113
+ type: :development
114
+ prerelease: false
115
+ version_requirements: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: 0.10.0
120
+ - - "<"
121
+ - !ruby/object:Gem::Version
122
+ version: '2'
123
+ - !ruby/object:Gem::Dependency
124
+ name: coveralls
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: 0.8.2
130
+ - - "<"
131
+ - !ruby/object:Gem::Version
132
+ version: '2'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: 0.8.2
140
+ - - "<"
141
+ - !ruby/object:Gem::Version
142
+ version: '2'
143
+ description: HTTP Status Codes as constants, such as Net::HTTP::Status::OK = 200
54
144
  email: sixarm@sixarm.com
55
145
  executables: []
56
146
  extensions: []
57
147
  extra_rdoc_files: []
58
148
  files:
59
- - .gemtest
60
149
  - Rakefile
61
- - README.md
62
- - VERSION
63
150
  - lib/sixarm_ruby_http_status_codes.rb
64
151
  - test/sixarm_ruby_http_status_codes_test.rb
65
152
  homepage: http://sixarm.com/
66
- licenses: []
153
+ licenses:
154
+ - Apache-2.0
155
+ - Artistic-2.0
156
+ - BSD-3-Clause
157
+ - GPL-3.0
158
+ - MIT
159
+ - MPL-2.0
160
+ metadata: {}
67
161
  post_install_message:
68
162
  rdoc_options: []
69
163
  require_paths:
70
164
  - lib
71
165
  required_ruby_version: !ruby/object:Gem::Requirement
72
- none: false
73
166
  requirements:
74
- - - ! '>='
167
+ - - ">="
75
168
  - !ruby/object:Gem::Version
76
169
  version: '0'
77
170
  required_rubygems_version: !ruby/object:Gem::Requirement
78
- none: false
79
171
  requirements:
80
- - - ! '>='
172
+ - - ">="
81
173
  - !ruby/object:Gem::Version
82
174
  version: '0'
83
175
  requirements: []
84
176
  rubyforge_project:
85
- rubygems_version: 1.8.19
177
+ rubygems_version: 2.6.12
86
178
  signing_key:
87
- specification_version: 3
88
- summary: SixArm.com » Ruby » HTTP Status Codes
179
+ specification_version: 4
180
+ summary: SixArm.com Ruby HTTP Status Codes
89
181
  test_files:
90
182
  - test/sixarm_ruby_http_status_codes_test.rb
91
- has_rdoc: true
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes
data/README.md DELETED
@@ -1,100 +0,0 @@
1
- # SixArm.com » Ruby » <br> HTTP Status Codes
2
-
3
- * Doc: <http://sixarm.com/sixarm_ruby_http_status_codes/doc>
4
- * Gem: <http://rubygems.org/gems/sixarm_ruby_http_status_codes>
5
- * Repo: <http://github.com/sixarm/sixarm_ruby_http_status_codes>
6
- * Email: Joel Parker Henderson, <joel@sixarm.com>
7
-
8
-
9
- ## Introduction
10
-
11
- HTTP status codes as nicknames.
12
-
13
- Examples:
14
-
15
- Net::HTTP::Status::OK #=> 200
16
- Net::HTTP::Status::NOT_FOUND #=> 404
17
-
18
-
19
- For docs go to <http://sixarm.com/sixarm_ruby_http_status_codes/doc>
20
-
21
- Want to help? We're happy to get pull requests.
22
-
23
-
24
- ## Install quickstart
25
-
26
- Install:
27
-
28
- gem install sixarm_ruby_http_status_codes
29
-
30
- Bundler:
31
-
32
- gem "sixarm_ruby_http_status_codes", "~>1.1.0"
33
-
34
- Require:
35
-
36
- require "sixarm_ruby_http_status_codes"
37
-
38
-
39
- ## Install with security (optional)
40
-
41
- To enable high security for all our gems:
42
-
43
- wget http://sixarm.com/sixarm.pem
44
- gem cert --add sixarm.pem
45
- gem sources --add http://sixarm.com
46
-
47
- To install with high security:
48
-
49
- gem install sixarm_ruby_http_status_codes --test --trust-policy HighSecurity
50
-
51
-
52
- ## Why?
53
-
54
- Why use these instead of just using a number? Because we prefer using nicknames that are easy.
55
-
56
- Why use these instead of the codes that already exist in other libraries, like Ruby Net::HTTP, Rack Utils, and Rails ActionPack? Because we want WebDAV codes (e.g. 403 means a resource is locked) and informal convention codes (e.g. 599 means a network connect timeout).
57
-
58
-
59
- ## See Also
60
-
61
- To see similar codes:
62
-
63
- * Ruby Net HTTP library
64
- * Rack Utils
65
- * Rails ActionPack
66
-
67
-
68
- ## Changes
69
-
70
- * 2012-03-24 1.1.0 Upgrade for Ruby 1.9.3, minitest/spec, and improved docs.
71
- * 2011-10-22 1.0.3 Add IETF draft-nottingham-http-new-status-02
72
- * 2011-10-06 1.0.2 Publish
73
-
74
- ## License
75
-
76
- You may choose any of these open source licenses:
77
-
78
- * Apache License
79
- * BSD License
80
- * CreativeCommons License, Non-commercial Share Alike
81
- * GNU General Public License Version 2 (GPL 2)
82
- * GNU Lesser General Public License (LGPL)
83
- * MIT License
84
- * Perl Artistic License
85
- * Ruby License
86
-
87
- The software is provided "as is", without warranty of any kind,
88
- express or implied, including but not limited to the warranties of
89
- merchantability, fitness for a particular purpose and noninfringement.
90
-
91
- In no event shall the authors or copyright holders be liable for any
92
- claim, damages or other liability, whether in an action of contract,
93
- tort or otherwise, arising from, out of or in connection with the
94
- software or the use or other dealings in the software.
95
-
96
- This license is for the included software that is created by SixArm;
97
- some of the included software may have its own licenses, copyrights,
98
- authors, etc. and these do take precedence over the SixArm license.
99
-
100
- Copyright (c) 2005-2013 Joel Parker Henderson
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.1.0