reviewed 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. data/.gitignore +18 -0
  2. data/.rvmrc +1 -0
  3. data/Gemfile +4 -0
  4. data/Guardfile +8 -0
  5. data/LICENSE +22 -0
  6. data/README.md +36 -0
  7. data/Rakefile +9 -0
  8. data/lib/reviewed/article.rb +18 -0
  9. data/lib/reviewed/author.rb +4 -0
  10. data/lib/reviewed/base.rb +56 -0
  11. data/lib/reviewed/brand.rb +4 -0
  12. data/lib/reviewed/collection.rb +66 -0
  13. data/lib/reviewed/product.rb +14 -0
  14. data/lib/reviewed/request.rb +23 -0
  15. data/lib/reviewed/response.rb +12 -0
  16. data/lib/reviewed/util.rb +16 -0
  17. data/lib/reviewed/version.rb +4 -0
  18. data/lib/reviewed/website.rb +4 -0
  19. data/lib/reviewed.rb +52 -0
  20. data/reviewed.gemspec +26 -0
  21. data/spec/article_spec.rb +33 -0
  22. data/spec/author_spec.rb +4 -0
  23. data/spec/base_spec.rb +127 -0
  24. data/spec/brand_spec.rb +4 -0
  25. data/spec/collection_spec.rb +83 -0
  26. data/spec/fixtures/vcr/article/attachments.yml +281 -0
  27. data/spec/fixtures/vcr/article/find_page.yml +189 -0
  28. data/spec/fixtures/vcr/base/find_error_key.yml +239 -0
  29. data/spec/fixtures/vcr/base/find_ok.yml +310 -0
  30. data/spec/fixtures/vcr/base/where_collection.yml +1958 -0
  31. data/spec/fixtures/vcr/collection/products.yml +1416 -0
  32. data/spec/fixtures/vcr/product/attachments.yml +84 -0
  33. data/spec/fixtures/vcr/request/authors.yml +144 -0
  34. data/spec/fixtures/vcr/response/authors.yml +144 -0
  35. data/spec/product_spec.rb +23 -0
  36. data/spec/request_spec.rb +15 -0
  37. data/spec/response_spec.rb +26 -0
  38. data/spec/spec_helper.rb +25 -0
  39. data/spec/support/.gitkeep +0 -0
  40. data/spec/util_spec.rb +33 -0
  41. data/spec/website_spec.rb +4 -0
  42. metadata +221 -0
metadata ADDED
@@ -0,0 +1,221 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: reviewed
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Nick Plante
9
+ - Kevin Incorvia
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2012-10-02 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '3.0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: rest-client
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '1.6'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '1.6'
47
+ - !ruby/object:Gem::Dependency
48
+ name: hashie
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.2'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: '1.2'
63
+ - !ruby/object:Gem::Dependency
64
+ name: rspec
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '2.10'
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '2.10'
79
+ - !ruby/object:Gem::Dependency
80
+ name: webmock
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '1.8'
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '1.8'
95
+ - !ruby/object:Gem::Dependency
96
+ name: vcr
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '2.1'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '2.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '1.0'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '1.0'
127
+ description: Client library for the Reviewed.com API
128
+ email:
129
+ - development@reviewed.com
130
+ executables: []
131
+ extensions: []
132
+ extra_rdoc_files: []
133
+ files:
134
+ - .gitignore
135
+ - .rvmrc
136
+ - Gemfile
137
+ - Guardfile
138
+ - LICENSE
139
+ - README.md
140
+ - Rakefile
141
+ - lib/reviewed.rb
142
+ - lib/reviewed/article.rb
143
+ - lib/reviewed/author.rb
144
+ - lib/reviewed/base.rb
145
+ - lib/reviewed/brand.rb
146
+ - lib/reviewed/collection.rb
147
+ - lib/reviewed/product.rb
148
+ - lib/reviewed/request.rb
149
+ - lib/reviewed/response.rb
150
+ - lib/reviewed/util.rb
151
+ - lib/reviewed/version.rb
152
+ - lib/reviewed/website.rb
153
+ - reviewed.gemspec
154
+ - spec/article_spec.rb
155
+ - spec/author_spec.rb
156
+ - spec/base_spec.rb
157
+ - spec/brand_spec.rb
158
+ - spec/collection_spec.rb
159
+ - spec/fixtures/vcr/article/attachments.yml
160
+ - spec/fixtures/vcr/article/find_page.yml
161
+ - spec/fixtures/vcr/base/find_error_key.yml
162
+ - spec/fixtures/vcr/base/find_ok.yml
163
+ - spec/fixtures/vcr/base/where_collection.yml
164
+ - spec/fixtures/vcr/collection/products.yml
165
+ - spec/fixtures/vcr/product/attachments.yml
166
+ - spec/fixtures/vcr/request/authors.yml
167
+ - spec/fixtures/vcr/response/authors.yml
168
+ - spec/product_spec.rb
169
+ - spec/request_spec.rb
170
+ - spec/response_spec.rb
171
+ - spec/spec_helper.rb
172
+ - spec/support/.gitkeep
173
+ - spec/util_spec.rb
174
+ - spec/website_spec.rb
175
+ homepage: ''
176
+ licenses: []
177
+ post_install_message:
178
+ rdoc_options: []
179
+ require_paths:
180
+ - lib
181
+ required_ruby_version: !ruby/object:Gem::Requirement
182
+ none: false
183
+ requirements:
184
+ - - ! '>='
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ none: false
189
+ requirements:
190
+ - - ! '>='
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ requirements: []
194
+ rubyforge_project:
195
+ rubygems_version: 1.8.24
196
+ signing_key:
197
+ specification_version: 3
198
+ summary: A Ruby Gem for Accessing the Reviewed.com API
199
+ test_files:
200
+ - spec/article_spec.rb
201
+ - spec/author_spec.rb
202
+ - spec/base_spec.rb
203
+ - spec/brand_spec.rb
204
+ - spec/collection_spec.rb
205
+ - spec/fixtures/vcr/article/attachments.yml
206
+ - spec/fixtures/vcr/article/find_page.yml
207
+ - spec/fixtures/vcr/base/find_error_key.yml
208
+ - spec/fixtures/vcr/base/find_ok.yml
209
+ - spec/fixtures/vcr/base/where_collection.yml
210
+ - spec/fixtures/vcr/collection/products.yml
211
+ - spec/fixtures/vcr/product/attachments.yml
212
+ - spec/fixtures/vcr/request/authors.yml
213
+ - spec/fixtures/vcr/response/authors.yml
214
+ - spec/product_spec.rb
215
+ - spec/request_spec.rb
216
+ - spec/response_spec.rb
217
+ - spec/spec_helper.rb
218
+ - spec/support/.gitkeep
219
+ - spec/util_spec.rb
220
+ - spec/website_spec.rb
221
+ has_rdoc: