response 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.rspec +1 -0
- data/.travis.yml +16 -0
- data/Changelog.md +3 -0
- data/Gemfile +6 -0
- data/Gemfile.devtools +60 -0
- data/Guardfile +18 -0
- data/LICENSE +20 -0
- data/README.md +39 -0
- data/Rakefile +2 -0
- data/TODO +2 -0
- data/config/devtools.yml +2 -0
- data/config/flay.yml +3 -0
- data/config/flog.yml +2 -0
- data/config/mutant.yml +3 -0
- data/config/reek.yml +92 -0
- data/config/roodi.yml +18 -0
- data/config/yardstick.yml +2 -0
- data/lib/response/html.rb +36 -0
- data/lib/response/json.rb +36 -0
- data/lib/response/redirect.rb +52 -0
- data/lib/response/status.rb +28 -0
- data/lib/response/text.rb +37 -0
- data/lib/response/xml.rb +36 -0
- data/lib/response.rb +271 -0
- data/response.gemspec +22 -0
- data/spec/rcov.opts +7 -0
- data/spec/shared/functional_command_method_behavior.rb +11 -0
- data/spec/spec_helper.rb +8 -0
- data/spec/unit/response/body_spec.rb +22 -0
- data/spec/unit/response/cache_control_spec.rb +25 -0
- data/spec/unit/response/class_methods/build_spec.rb +31 -0
- data/spec/unit/response/content_type_spec.rb +26 -0
- data/spec/unit/response/headers_spec.rb +23 -0
- data/spec/unit/response/html/class_methods/build_spec.rb +18 -0
- data/spec/unit/response/json/class_methods/build_spec.rb +18 -0
- data/spec/unit/response/last_modified_spec.rb +25 -0
- data/spec/unit/response/merge_headers_spec.rb +20 -0
- data/spec/unit/response/rack_array_spec.rb +15 -0
- data/spec/unit/response/redirect/class_methods/build_spec.rb +28 -0
- data/spec/unit/response/status_spec.rb +22 -0
- data/spec/unit/response/text/class_methods/build_spec.rb +18 -0
- data/spec/unit/response/to_rack_response_spec.rb +26 -0
- data/spec/unit/response/valid_predicate_spec.rb +37 -0
- data/spec/unit/response/with_body_spec.rb +17 -0
- data/spec/unit/response/with_headers_spec.rb +17 -0
- data/spec/unit/response/with_status_spec.rb +17 -0
- data/spec/unit/response/xml/class_methods/build_spec.rb +18 -0
- data/tasks/metrics/ci.rake +7 -0
- data/tasks/metrics/flay.rake +47 -0
- data/tasks/metrics/flog.rake +43 -0
- data/tasks/metrics/heckle.rake +208 -0
- data/tasks/metrics/metric_fu.rake +29 -0
- data/tasks/metrics/reek.rake +15 -0
- data/tasks/metrics/roodi.rake +15 -0
- data/tasks/metrics/yardstick.rake +23 -0
- data/tasks/spec.rake +45 -0
- data/tasks/yard.rake +9 -0
- metadata +187 -0
metadata
ADDED
@@ -0,0 +1,187 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: response
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Markus Schirp
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-05-20 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: ice_nine
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.7.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.7.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: adamantium
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.0.7
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.0.7
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: equalizer
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.0.5
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.0.5
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: abstract_type
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.0.5
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.0.5
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: concord
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.1.0
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.1.0
|
94
|
+
description: Build rack responses with functional style
|
95
|
+
email:
|
96
|
+
- mbj@seonic.net
|
97
|
+
executables: []
|
98
|
+
extensions: []
|
99
|
+
extra_rdoc_files:
|
100
|
+
- LICENSE
|
101
|
+
- README.md
|
102
|
+
- TODO
|
103
|
+
files:
|
104
|
+
- .gitignore
|
105
|
+
- .rspec
|
106
|
+
- .travis.yml
|
107
|
+
- Changelog.md
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.devtools
|
110
|
+
- Guardfile
|
111
|
+
- LICENSE
|
112
|
+
- README.md
|
113
|
+
- Rakefile
|
114
|
+
- TODO
|
115
|
+
- config/devtools.yml
|
116
|
+
- config/flay.yml
|
117
|
+
- config/flog.yml
|
118
|
+
- config/mutant.yml
|
119
|
+
- config/reek.yml
|
120
|
+
- config/roodi.yml
|
121
|
+
- config/yardstick.yml
|
122
|
+
- lib/response.rb
|
123
|
+
- lib/response/html.rb
|
124
|
+
- lib/response/json.rb
|
125
|
+
- lib/response/redirect.rb
|
126
|
+
- lib/response/status.rb
|
127
|
+
- lib/response/text.rb
|
128
|
+
- lib/response/xml.rb
|
129
|
+
- response.gemspec
|
130
|
+
- spec/rcov.opts
|
131
|
+
- spec/shared/functional_command_method_behavior.rb
|
132
|
+
- spec/spec_helper.rb
|
133
|
+
- spec/unit/response/body_spec.rb
|
134
|
+
- spec/unit/response/cache_control_spec.rb
|
135
|
+
- spec/unit/response/class_methods/build_spec.rb
|
136
|
+
- spec/unit/response/content_type_spec.rb
|
137
|
+
- spec/unit/response/headers_spec.rb
|
138
|
+
- spec/unit/response/html/class_methods/build_spec.rb
|
139
|
+
- spec/unit/response/json/class_methods/build_spec.rb
|
140
|
+
- spec/unit/response/last_modified_spec.rb
|
141
|
+
- spec/unit/response/merge_headers_spec.rb
|
142
|
+
- spec/unit/response/rack_array_spec.rb
|
143
|
+
- spec/unit/response/redirect/class_methods/build_spec.rb
|
144
|
+
- spec/unit/response/status_spec.rb
|
145
|
+
- spec/unit/response/text/class_methods/build_spec.rb
|
146
|
+
- spec/unit/response/to_rack_response_spec.rb
|
147
|
+
- spec/unit/response/valid_predicate_spec.rb
|
148
|
+
- spec/unit/response/with_body_spec.rb
|
149
|
+
- spec/unit/response/with_headers_spec.rb
|
150
|
+
- spec/unit/response/with_status_spec.rb
|
151
|
+
- spec/unit/response/xml/class_methods/build_spec.rb
|
152
|
+
- tasks/metrics/ci.rake
|
153
|
+
- tasks/metrics/flay.rake
|
154
|
+
- tasks/metrics/flog.rake
|
155
|
+
- tasks/metrics/heckle.rake
|
156
|
+
- tasks/metrics/metric_fu.rake
|
157
|
+
- tasks/metrics/reek.rake
|
158
|
+
- tasks/metrics/roodi.rake
|
159
|
+
- tasks/metrics/yardstick.rake
|
160
|
+
- tasks/spec.rake
|
161
|
+
- tasks/yard.rake
|
162
|
+
homepage: https://github.com/mbj/response
|
163
|
+
licenses: []
|
164
|
+
post_install_message:
|
165
|
+
rdoc_options: []
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
|
+
none: false
|
176
|
+
requirements:
|
177
|
+
- - ! '>='
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
requirements: []
|
181
|
+
rubyforge_project:
|
182
|
+
rubygems_version: 1.8.23
|
183
|
+
signing_key:
|
184
|
+
specification_version: 3
|
185
|
+
summary: Build rack responses with functional style
|
186
|
+
test_files: []
|
187
|
+
has_rdoc:
|