voorhees 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/LICENSE +20 -0
- data/README.markdown +240 -0
- data/Rakefile +55 -0
- data/VERSION +1 -0
- data/examples/twitter.rb +85 -0
- data/lib/voorhees.rb +6 -0
- data/lib/voorhees/config.rb +87 -0
- data/lib/voorhees/exceptions.rb +9 -0
- data/lib/voorhees/logging.rb +5 -0
- data/lib/voorhees/request.rb +146 -0
- data/lib/voorhees/resource.rb +141 -0
- data/lib/voorhees/response.rb +36 -0
- data/spec/config_spec.rb +144 -0
- data/spec/fixtures/resources.rb +18 -0
- data/spec/fixtures/user.json +32 -0
- data/spec/fixtures/users.json +1 -0
- data/spec/request_spec.rb +455 -0
- data/spec/resource_spec.rb +335 -0
- data/spec/response_spec.rb +93 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/voorhees_spec.rb +1 -0
- data/voorhees.gemspec +65 -0
- metadata +85 -0
@@ -0,0 +1 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
data/voorhees.gemspec
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{voorhees}
|
5
|
+
s.version = "0.2.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Richard Livsey"]
|
9
|
+
s.date = %q{2009-07-01}
|
10
|
+
s.email = %q{richard@livsey.org}
|
11
|
+
s.extra_rdoc_files = [
|
12
|
+
"LICENSE",
|
13
|
+
"README.markdown"
|
14
|
+
]
|
15
|
+
s.files = [
|
16
|
+
".gitignore",
|
17
|
+
"LICENSE",
|
18
|
+
"README.markdown",
|
19
|
+
"Rakefile",
|
20
|
+
"VERSION",
|
21
|
+
"examples/twitter.rb",
|
22
|
+
"lib/voorhees.rb",
|
23
|
+
"lib/voorhees/config.rb",
|
24
|
+
"lib/voorhees/exceptions.rb",
|
25
|
+
"lib/voorhees/logging.rb",
|
26
|
+
"lib/voorhees/request.rb",
|
27
|
+
"lib/voorhees/resource.rb",
|
28
|
+
"lib/voorhees/response.rb",
|
29
|
+
"spec/config_spec.rb",
|
30
|
+
"spec/fixtures/resources.rb",
|
31
|
+
"spec/fixtures/user.json",
|
32
|
+
"spec/fixtures/users.json",
|
33
|
+
"spec/request_spec.rb",
|
34
|
+
"spec/resource_spec.rb",
|
35
|
+
"spec/response_spec.rb",
|
36
|
+
"spec/spec_helper.rb",
|
37
|
+
"spec/voorhees_spec.rb",
|
38
|
+
"voorhees.gemspec"
|
39
|
+
]
|
40
|
+
s.homepage = %q{http://github.com/rlivsey/voorhees}
|
41
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
42
|
+
s.require_paths = ["lib"]
|
43
|
+
s.rubygems_version = %q{1.3.3}
|
44
|
+
s.summary = %q{Library to consume and interract with JSON services}
|
45
|
+
s.test_files = [
|
46
|
+
"spec/config_spec.rb",
|
47
|
+
"spec/fixtures/resources.rb",
|
48
|
+
"spec/request_spec.rb",
|
49
|
+
"spec/resource_spec.rb",
|
50
|
+
"spec/response_spec.rb",
|
51
|
+
"spec/spec_helper.rb",
|
52
|
+
"spec/voorhees_spec.rb",
|
53
|
+
"examples/twitter.rb"
|
54
|
+
]
|
55
|
+
|
56
|
+
if s.respond_to? :specification_version then
|
57
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
58
|
+
s.specification_version = 3
|
59
|
+
|
60
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
61
|
+
else
|
62
|
+
end
|
63
|
+
else
|
64
|
+
end
|
65
|
+
end
|
metadata
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: voorhees
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Richard Livsey
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-07-01 00:00:00 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description:
|
17
|
+
email: richard@livsey.org
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- LICENSE
|
24
|
+
- README.markdown
|
25
|
+
files:
|
26
|
+
- .gitignore
|
27
|
+
- LICENSE
|
28
|
+
- README.markdown
|
29
|
+
- Rakefile
|
30
|
+
- VERSION
|
31
|
+
- examples/twitter.rb
|
32
|
+
- lib/voorhees.rb
|
33
|
+
- lib/voorhees/config.rb
|
34
|
+
- lib/voorhees/exceptions.rb
|
35
|
+
- lib/voorhees/logging.rb
|
36
|
+
- lib/voorhees/request.rb
|
37
|
+
- lib/voorhees/resource.rb
|
38
|
+
- lib/voorhees/response.rb
|
39
|
+
- spec/config_spec.rb
|
40
|
+
- spec/fixtures/resources.rb
|
41
|
+
- spec/fixtures/user.json
|
42
|
+
- spec/fixtures/users.json
|
43
|
+
- spec/request_spec.rb
|
44
|
+
- spec/resource_spec.rb
|
45
|
+
- spec/response_spec.rb
|
46
|
+
- spec/spec_helper.rb
|
47
|
+
- spec/voorhees_spec.rb
|
48
|
+
- voorhees.gemspec
|
49
|
+
has_rdoc: true
|
50
|
+
homepage: http://github.com/rlivsey/voorhees
|
51
|
+
licenses: []
|
52
|
+
|
53
|
+
post_install_message:
|
54
|
+
rdoc_options:
|
55
|
+
- --charset=UTF-8
|
56
|
+
require_paths:
|
57
|
+
- lib
|
58
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: "0"
|
63
|
+
version:
|
64
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: "0"
|
69
|
+
version:
|
70
|
+
requirements: []
|
71
|
+
|
72
|
+
rubyforge_project:
|
73
|
+
rubygems_version: 1.3.5
|
74
|
+
signing_key:
|
75
|
+
specification_version: 3
|
76
|
+
summary: Library to consume and interract with JSON services
|
77
|
+
test_files:
|
78
|
+
- spec/config_spec.rb
|
79
|
+
- spec/fixtures/resources.rb
|
80
|
+
- spec/request_spec.rb
|
81
|
+
- spec/resource_spec.rb
|
82
|
+
- spec/response_spec.rb
|
83
|
+
- spec/spec_helper.rb
|
84
|
+
- spec/voorhees_spec.rb
|
85
|
+
- examples/twitter.rb
|