sawyer 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/LICENSE.md +20 -0
- data/README.md +17 -0
- data/Rakefile +135 -0
- data/SPEC.md +71 -0
- data/example/client.rb +50 -0
- data/example/nigiri.schema.json +47 -0
- data/example/server.rb +114 -0
- data/example/user.schema.json +51 -0
- data/lib/sawyer.rb +14 -0
- data/lib/sawyer/agent.rb +82 -0
- data/lib/sawyer/relation.rb +253 -0
- data/lib/sawyer/resource.rb +69 -0
- data/lib/sawyer/response.rb +42 -0
- data/sawyer.gemspec +78 -0
- data/test/agent_test.rb +60 -0
- data/test/helper.rb +7 -0
- data/test/relation_test.rb +109 -0
- data/test/resource_test.rb +99 -0
- data/test/response_test.rb +54 -0
- metadata +116 -0
metadata
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sawyer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Rick Olson
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-09-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: faraday
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.8.4
|
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.8.4
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: uri_template
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.5.0
|
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.5.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: yajl-ruby
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.1.0
|
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: 1.1.0
|
62
|
+
description: Secret User Agent of HTTP built on Faraday
|
63
|
+
email: technoweenie@gmail.com
|
64
|
+
executables: []
|
65
|
+
extensions: []
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- Gemfile
|
69
|
+
- LICENSE.md
|
70
|
+
- README.md
|
71
|
+
- Rakefile
|
72
|
+
- SPEC.md
|
73
|
+
- example/client.rb
|
74
|
+
- example/nigiri.schema.json
|
75
|
+
- example/server.rb
|
76
|
+
- example/user.schema.json
|
77
|
+
- lib/sawyer.rb
|
78
|
+
- lib/sawyer/agent.rb
|
79
|
+
- lib/sawyer/relation.rb
|
80
|
+
- lib/sawyer/resource.rb
|
81
|
+
- lib/sawyer/response.rb
|
82
|
+
- sawyer.gemspec
|
83
|
+
- test/agent_test.rb
|
84
|
+
- test/helper.rb
|
85
|
+
- test/relation_test.rb
|
86
|
+
- test/resource_test.rb
|
87
|
+
- test/response_test.rb
|
88
|
+
homepage: https://github.com/technoweenie/sawyer
|
89
|
+
licenses: []
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ! '>='
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
requirements: []
|
107
|
+
rubyforge_project: sawyer
|
108
|
+
rubygems_version: 1.8.23
|
109
|
+
signing_key:
|
110
|
+
specification_version: 2
|
111
|
+
summary: Secret User Agent of HTTP
|
112
|
+
test_files:
|
113
|
+
- test/agent_test.rb
|
114
|
+
- test/relation_test.rb
|
115
|
+
- test/resource_test.rb
|
116
|
+
- test/response_test.rb
|