brickset_api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +4 -0
  6. data/Gemfile +6 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +145 -0
  9. data/Rakefile +6 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/brickset.gemspec +30 -0
  13. data/lib/brickset.rb +55 -0
  14. data/lib/brickset/api/auth.rb +22 -0
  15. data/lib/brickset/api/collection/advanced.rb +34 -0
  16. data/lib/brickset/api/collection/minifig.rb +35 -0
  17. data/lib/brickset/api/collection/set.rb +117 -0
  18. data/lib/brickset/api/set.rb +157 -0
  19. data/lib/brickset/client.rb +56 -0
  20. data/lib/brickset/configuration.rb +9 -0
  21. data/lib/brickset/elements/additional_image.rb +13 -0
  22. data/lib/brickset/elements/collection_detail.rb +28 -0
  23. data/lib/brickset/elements/collection_total.rb +15 -0
  24. data/lib/brickset/elements/condition.rb +11 -0
  25. data/lib/brickset/elements/instruction.rb +12 -0
  26. data/lib/brickset/elements/minifig_collection.rb +15 -0
  27. data/lib/brickset/elements/review.rb +20 -0
  28. data/lib/brickset/elements/set.rb +67 -0
  29. data/lib/brickset/elements/subtheme.rb +15 -0
  30. data/lib/brickset/elements/theme.rb +15 -0
  31. data/lib/brickset/elements/user_note.rb +12 -0
  32. data/lib/brickset/elements/year.rb +13 -0
  33. data/lib/brickset/version.rb +3 -0
  34. data/spec/brickset/api/auth_spec.rb +84 -0
  35. data/spec/brickset/api/collection/advanced_spec.rb +59 -0
  36. data/spec/brickset/api/collection/minifig_spec.rb +95 -0
  37. data/spec/brickset/api/collection/set_spec.rb +350 -0
  38. data/spec/brickset/api/set_spec.rb +658 -0
  39. data/spec/brickset/client_spec.rb +155 -0
  40. data/spec/brickset/configuration_spec.rb +9 -0
  41. data/spec/brickset/elements/additional_image_spec.rb +26 -0
  42. data/spec/brickset/elements/collection_detail_spec.rb +40 -0
  43. data/spec/brickset/elements/collection_total_spec.rb +27 -0
  44. data/spec/brickset/elements/condition_spec.rb +23 -0
  45. data/spec/brickset/elements/instruction_spec.rb +24 -0
  46. data/spec/brickset/elements/minifig_collection_spec.rb +27 -0
  47. data/spec/brickset/elements/review_spec.rb +32 -0
  48. data/spec/brickset/elements/set_spec.rb +72 -0
  49. data/spec/brickset/elements/subtheme_spec.rb +27 -0
  50. data/spec/brickset/elements/theme_spec.rb +27 -0
  51. data/spec/brickset/elements/user_note_spec.rb +24 -0
  52. data/spec/brickset/elements/year_spec.rb +25 -0
  53. data/spec/brickset_spec.rb +59 -0
  54. data/spec/fixtures/api_key_invalid.xml +2 -0
  55. data/spec/fixtures/api_key_valid.xml +2 -0
  56. data/spec/fixtures/get_additional_images.xml +24 -0
  57. data/spec/fixtures/get_additional_images_no_result.xml +2 -0
  58. data/spec/fixtures/get_collection_detail.xml +23 -0
  59. data/spec/fixtures/get_collection_detail_conditions.xml +24 -0
  60. data/spec/fixtures/get_collection_detail_no_result.xml +2 -0
  61. data/spec/fixtures/get_collection_totals.xml +8 -0
  62. data/spec/fixtures/get_collection_totals_no_result.xml +8 -0
  63. data/spec/fixtures/get_instructions.xml +7 -0
  64. data/spec/fixtures/get_instructions_no_result.xml +2 -0
  65. data/spec/fixtures/get_minifig_collection.xml +31 -0
  66. data/spec/fixtures/get_minifig_collection_owned.xml +17 -0
  67. data/spec/fixtures/get_minifig_collection_wanted.xml +10 -0
  68. data/spec/fixtures/get_recently_updated_sets.xml +52 -0
  69. data/spec/fixtures/get_recently_updated_sets_invalid_key.xml +1 -0
  70. data/spec/fixtures/get_reviews.xml +28 -0
  71. data/spec/fixtures/get_reviews_no_result.xml +2 -0
  72. data/spec/fixtures/get_set.xml +52 -0
  73. data/spec/fixtures/get_set_no_result.xml +2 -0
  74. data/spec/fixtures/get_sets.xml +101 -0
  75. data/spec/fixtures/get_sets_no_result.xml +2 -0
  76. data/spec/fixtures/get_subthemes.xml +24 -0
  77. data/spec/fixtures/get_subthemes_for_user.xml +24 -0
  78. data/spec/fixtures/get_subthemes_for_user_no_result.xml +2 -0
  79. data/spec/fixtures/get_subthemes_for_user_owned.xml +24 -0
  80. data/spec/fixtures/get_subthemes_for_user_wanted.xml +31 -0
  81. data/spec/fixtures/get_subthemes_no_result.xml +2 -0
  82. data/spec/fixtures/get_themes.xml +17 -0
  83. data/spec/fixtures/get_themes_for_user.xml +17 -0
  84. data/spec/fixtures/get_themes_for_user_no_result.xml +2 -0
  85. data/spec/fixtures/get_themes_for_user_owned.xml +17 -0
  86. data/spec/fixtures/get_themes_for_user_wanted.xml +25 -0
  87. data/spec/fixtures/get_themes_no_result.xml +2 -0
  88. data/spec/fixtures/get_user_notes.xml +11 -0
  89. data/spec/fixtures/get_user_notes_no_result.xml +2 -0
  90. data/spec/fixtures/get_years.xml +18 -0
  91. data/spec/fixtures/get_years_for_user.xml +18 -0
  92. data/spec/fixtures/get_years_for_user_no_result.xml +2 -0
  93. data/spec/fixtures/get_years_for_user_owned.xml +13 -0
  94. data/spec/fixtures/get_years_for_user_wanted.xml +13 -0
  95. data/spec/fixtures/get_years_no_result.xml +2 -0
  96. data/spec/fixtures/login.xml +2 -0
  97. data/spec/fixtures/login_invalid_credentials.xml +2 -0
  98. data/spec/fixtures/login_invalid_key.xml +2 -0
  99. data/spec/fixtures/set_collection.xml +2 -0
  100. data/spec/fixtures/set_collection_invalid.xml +2 -0
  101. data/spec/fixtures/set_collection_owns.xml +2 -0
  102. data/spec/fixtures/set_collection_owns_invalid.xml +2 -0
  103. data/spec/fixtures/set_collection_qty_owned.xml +2 -0
  104. data/spec/fixtures/set_collection_qty_owned_invalid.xml +2 -0
  105. data/spec/fixtures/set_collection_user_notes.xml +2 -0
  106. data/spec/fixtures/set_collection_user_notes_invalid.xml +2 -0
  107. data/spec/fixtures/set_collection_wants.xml +2 -0
  108. data/spec/fixtures/set_collection_wants_invalid.xml +2 -0
  109. data/spec/fixtures/set_minifig_collection.xml +2 -0
  110. data/spec/fixtures/set_minifig_collection_invalid.xml +2 -0
  111. data/spec/fixtures/set_user_rating.xml +2 -0
  112. data/spec/fixtures/set_user_rating_invalid.xml +2 -0
  113. data/spec/fixtures/token_invalid.xml +2 -0
  114. data/spec/fixtures/token_valid.xml +2 -0
  115. data/spec/spec_helper.rb +43 -0
  116. metadata +355 -0
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <ArrayOfYears xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:nil="true" xmlns="https://brickset.com/api/" />
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">abc123!@#</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">ERROR: invalid username and/or password</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">INVALIDKEY</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">OK</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">ERROR: invalid userHash</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">OK</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">ERROR: invalid userHash</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">OK</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">ERROR: invalid userHash</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">OK</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">ERROR: invalid userHash</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">OK</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">ERROR: invalid userHash</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">OK</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">ERROR: invalid userHash</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">OK</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">ERROR: invalid userHash</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">INVALID</string>
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <string xmlns="https://brickset.com/api/">darth-vader</string>
@@ -0,0 +1,43 @@
1
+ require 'bundler/setup'
2
+ require 'webmock/rspec'
3
+ require 'shoulda-matchers'
4
+
5
+ require 'brickset'
6
+
7
+ RSpec.configure do |config|
8
+ # Set a dummy API key for the specs.
9
+ config.before do
10
+ Brickset.configure do |c|
11
+ c.api_key = 'super-secret'
12
+ end
13
+ end
14
+
15
+ # Enable flags like --only-failures and --next-failure
16
+ config.example_status_persistence_file_path = '.rspec_status'
17
+
18
+ # Disable RSpec exposing methods globally on `Module` and `main`
19
+ config.disable_monkey_patching!
20
+
21
+ config.expect_with :rspec do |c|
22
+ c.syntax = :expect
23
+ end
24
+ end
25
+
26
+ Shoulda::Matchers.configure do |config|
27
+ config.integrate do |with|
28
+ with.test_framework :rspec
29
+ with.library :active_model
30
+ end
31
+ end
32
+
33
+ def stub_post(path)
34
+ stub_request(:post, Brickset::BASE_URI + path)
35
+ end
36
+
37
+ def fixture_path
38
+ File.expand_path('../fixtures', __FILE__)
39
+ end
40
+
41
+ def fixture(file)
42
+ File.read(fixture_path + '/' + file)
43
+ end
metadata ADDED
@@ -0,0 +1,355 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: brickset_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Kevin Tuhumury
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-09-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.16'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri-happymapper
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.8'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activemodel
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '5.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '5.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.16'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.16'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.4'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.4'
111
+ - !ruby/object:Gem::Dependency
112
+ name: shoulda-matchers
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.1'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.1'
125
+ description: This gem provides a Ruby wrapper around the Brickset.com (v2) API. The
126
+ Brickset.com API responds with XML. This gem maps that into Ruby objects using Happymapper.
127
+ email:
128
+ - kevin.tuhumury@gmail.com
129
+ executables:
130
+ - console
131
+ - setup
132
+ extensions: []
133
+ extra_rdoc_files: []
134
+ files:
135
+ - ".gitignore"
136
+ - ".ruby-gemset"
137
+ - ".ruby-version"
138
+ - ".travis.yml"
139
+ - Gemfile
140
+ - LICENSE.txt
141
+ - README.md
142
+ - Rakefile
143
+ - bin/console
144
+ - bin/setup
145
+ - brickset.gemspec
146
+ - lib/brickset.rb
147
+ - lib/brickset/api/auth.rb
148
+ - lib/brickset/api/collection/advanced.rb
149
+ - lib/brickset/api/collection/minifig.rb
150
+ - lib/brickset/api/collection/set.rb
151
+ - lib/brickset/api/set.rb
152
+ - lib/brickset/client.rb
153
+ - lib/brickset/configuration.rb
154
+ - lib/brickset/elements/additional_image.rb
155
+ - lib/brickset/elements/collection_detail.rb
156
+ - lib/brickset/elements/collection_total.rb
157
+ - lib/brickset/elements/condition.rb
158
+ - lib/brickset/elements/instruction.rb
159
+ - lib/brickset/elements/minifig_collection.rb
160
+ - lib/brickset/elements/review.rb
161
+ - lib/brickset/elements/set.rb
162
+ - lib/brickset/elements/subtheme.rb
163
+ - lib/brickset/elements/theme.rb
164
+ - lib/brickset/elements/user_note.rb
165
+ - lib/brickset/elements/year.rb
166
+ - lib/brickset/version.rb
167
+ - spec/brickset/api/auth_spec.rb
168
+ - spec/brickset/api/collection/advanced_spec.rb
169
+ - spec/brickset/api/collection/minifig_spec.rb
170
+ - spec/brickset/api/collection/set_spec.rb
171
+ - spec/brickset/api/set_spec.rb
172
+ - spec/brickset/client_spec.rb
173
+ - spec/brickset/configuration_spec.rb
174
+ - spec/brickset/elements/additional_image_spec.rb
175
+ - spec/brickset/elements/collection_detail_spec.rb
176
+ - spec/brickset/elements/collection_total_spec.rb
177
+ - spec/brickset/elements/condition_spec.rb
178
+ - spec/brickset/elements/instruction_spec.rb
179
+ - spec/brickset/elements/minifig_collection_spec.rb
180
+ - spec/brickset/elements/review_spec.rb
181
+ - spec/brickset/elements/set_spec.rb
182
+ - spec/brickset/elements/subtheme_spec.rb
183
+ - spec/brickset/elements/theme_spec.rb
184
+ - spec/brickset/elements/user_note_spec.rb
185
+ - spec/brickset/elements/year_spec.rb
186
+ - spec/brickset_spec.rb
187
+ - spec/fixtures/api_key_invalid.xml
188
+ - spec/fixtures/api_key_valid.xml
189
+ - spec/fixtures/get_additional_images.xml
190
+ - spec/fixtures/get_additional_images_no_result.xml
191
+ - spec/fixtures/get_collection_detail.xml
192
+ - spec/fixtures/get_collection_detail_conditions.xml
193
+ - spec/fixtures/get_collection_detail_no_result.xml
194
+ - spec/fixtures/get_collection_totals.xml
195
+ - spec/fixtures/get_collection_totals_no_result.xml
196
+ - spec/fixtures/get_instructions.xml
197
+ - spec/fixtures/get_instructions_no_result.xml
198
+ - spec/fixtures/get_minifig_collection.xml
199
+ - spec/fixtures/get_minifig_collection_owned.xml
200
+ - spec/fixtures/get_minifig_collection_wanted.xml
201
+ - spec/fixtures/get_recently_updated_sets.xml
202
+ - spec/fixtures/get_recently_updated_sets_invalid_key.xml
203
+ - spec/fixtures/get_reviews.xml
204
+ - spec/fixtures/get_reviews_no_result.xml
205
+ - spec/fixtures/get_set.xml
206
+ - spec/fixtures/get_set_no_result.xml
207
+ - spec/fixtures/get_sets.xml
208
+ - spec/fixtures/get_sets_no_result.xml
209
+ - spec/fixtures/get_subthemes.xml
210
+ - spec/fixtures/get_subthemes_for_user.xml
211
+ - spec/fixtures/get_subthemes_for_user_no_result.xml
212
+ - spec/fixtures/get_subthemes_for_user_owned.xml
213
+ - spec/fixtures/get_subthemes_for_user_wanted.xml
214
+ - spec/fixtures/get_subthemes_no_result.xml
215
+ - spec/fixtures/get_themes.xml
216
+ - spec/fixtures/get_themes_for_user.xml
217
+ - spec/fixtures/get_themes_for_user_no_result.xml
218
+ - spec/fixtures/get_themes_for_user_owned.xml
219
+ - spec/fixtures/get_themes_for_user_wanted.xml
220
+ - spec/fixtures/get_themes_no_result.xml
221
+ - spec/fixtures/get_user_notes.xml
222
+ - spec/fixtures/get_user_notes_no_result.xml
223
+ - spec/fixtures/get_years.xml
224
+ - spec/fixtures/get_years_for_user.xml
225
+ - spec/fixtures/get_years_for_user_no_result.xml
226
+ - spec/fixtures/get_years_for_user_owned.xml
227
+ - spec/fixtures/get_years_for_user_wanted.xml
228
+ - spec/fixtures/get_years_no_result.xml
229
+ - spec/fixtures/login.xml
230
+ - spec/fixtures/login_invalid_credentials.xml
231
+ - spec/fixtures/login_invalid_key.xml
232
+ - spec/fixtures/set_collection.xml
233
+ - spec/fixtures/set_collection_invalid.xml
234
+ - spec/fixtures/set_collection_owns.xml
235
+ - spec/fixtures/set_collection_owns_invalid.xml
236
+ - spec/fixtures/set_collection_qty_owned.xml
237
+ - spec/fixtures/set_collection_qty_owned_invalid.xml
238
+ - spec/fixtures/set_collection_user_notes.xml
239
+ - spec/fixtures/set_collection_user_notes_invalid.xml
240
+ - spec/fixtures/set_collection_wants.xml
241
+ - spec/fixtures/set_collection_wants_invalid.xml
242
+ - spec/fixtures/set_minifig_collection.xml
243
+ - spec/fixtures/set_minifig_collection_invalid.xml
244
+ - spec/fixtures/set_user_rating.xml
245
+ - spec/fixtures/set_user_rating_invalid.xml
246
+ - spec/fixtures/token_invalid.xml
247
+ - spec/fixtures/token_valid.xml
248
+ - spec/spec_helper.rb
249
+ homepage: https://github.com/kevintuhumury/brickset_api
250
+ licenses:
251
+ - MIT
252
+ metadata: {}
253
+ post_install_message:
254
+ rdoc_options: []
255
+ require_paths:
256
+ - lib
257
+ required_ruby_version: !ruby/object:Gem::Requirement
258
+ requirements:
259
+ - - ">="
260
+ - !ruby/object:Gem::Version
261
+ version: '0'
262
+ required_rubygems_version: !ruby/object:Gem::Requirement
263
+ requirements:
264
+ - - ">="
265
+ - !ruby/object:Gem::Version
266
+ version: '0'
267
+ requirements: []
268
+ rubyforge_project:
269
+ rubygems_version: 2.7.6
270
+ signing_key:
271
+ specification_version: 4
272
+ summary: A Ruby wrapper around the Brickset.com (v2) API.
273
+ test_files:
274
+ - spec/brickset/api/auth_spec.rb
275
+ - spec/brickset/api/collection/advanced_spec.rb
276
+ - spec/brickset/api/collection/minifig_spec.rb
277
+ - spec/brickset/api/collection/set_spec.rb
278
+ - spec/brickset/api/set_spec.rb
279
+ - spec/brickset/client_spec.rb
280
+ - spec/brickset/configuration_spec.rb
281
+ - spec/brickset/elements/additional_image_spec.rb
282
+ - spec/brickset/elements/collection_detail_spec.rb
283
+ - spec/brickset/elements/collection_total_spec.rb
284
+ - spec/brickset/elements/condition_spec.rb
285
+ - spec/brickset/elements/instruction_spec.rb
286
+ - spec/brickset/elements/minifig_collection_spec.rb
287
+ - spec/brickset/elements/review_spec.rb
288
+ - spec/brickset/elements/set_spec.rb
289
+ - spec/brickset/elements/subtheme_spec.rb
290
+ - spec/brickset/elements/theme_spec.rb
291
+ - spec/brickset/elements/user_note_spec.rb
292
+ - spec/brickset/elements/year_spec.rb
293
+ - spec/brickset_spec.rb
294
+ - spec/fixtures/api_key_invalid.xml
295
+ - spec/fixtures/api_key_valid.xml
296
+ - spec/fixtures/get_additional_images.xml
297
+ - spec/fixtures/get_additional_images_no_result.xml
298
+ - spec/fixtures/get_collection_detail.xml
299
+ - spec/fixtures/get_collection_detail_conditions.xml
300
+ - spec/fixtures/get_collection_detail_no_result.xml
301
+ - spec/fixtures/get_collection_totals.xml
302
+ - spec/fixtures/get_collection_totals_no_result.xml
303
+ - spec/fixtures/get_instructions.xml
304
+ - spec/fixtures/get_instructions_no_result.xml
305
+ - spec/fixtures/get_minifig_collection.xml
306
+ - spec/fixtures/get_minifig_collection_owned.xml
307
+ - spec/fixtures/get_minifig_collection_wanted.xml
308
+ - spec/fixtures/get_recently_updated_sets.xml
309
+ - spec/fixtures/get_recently_updated_sets_invalid_key.xml
310
+ - spec/fixtures/get_reviews.xml
311
+ - spec/fixtures/get_reviews_no_result.xml
312
+ - spec/fixtures/get_set.xml
313
+ - spec/fixtures/get_set_no_result.xml
314
+ - spec/fixtures/get_sets.xml
315
+ - spec/fixtures/get_sets_no_result.xml
316
+ - spec/fixtures/get_subthemes.xml
317
+ - spec/fixtures/get_subthemes_for_user.xml
318
+ - spec/fixtures/get_subthemes_for_user_no_result.xml
319
+ - spec/fixtures/get_subthemes_for_user_owned.xml
320
+ - spec/fixtures/get_subthemes_for_user_wanted.xml
321
+ - spec/fixtures/get_subthemes_no_result.xml
322
+ - spec/fixtures/get_themes.xml
323
+ - spec/fixtures/get_themes_for_user.xml
324
+ - spec/fixtures/get_themes_for_user_no_result.xml
325
+ - spec/fixtures/get_themes_for_user_owned.xml
326
+ - spec/fixtures/get_themes_for_user_wanted.xml
327
+ - spec/fixtures/get_themes_no_result.xml
328
+ - spec/fixtures/get_user_notes.xml
329
+ - spec/fixtures/get_user_notes_no_result.xml
330
+ - spec/fixtures/get_years.xml
331
+ - spec/fixtures/get_years_for_user.xml
332
+ - spec/fixtures/get_years_for_user_no_result.xml
333
+ - spec/fixtures/get_years_for_user_owned.xml
334
+ - spec/fixtures/get_years_for_user_wanted.xml
335
+ - spec/fixtures/get_years_no_result.xml
336
+ - spec/fixtures/login.xml
337
+ - spec/fixtures/login_invalid_credentials.xml
338
+ - spec/fixtures/login_invalid_key.xml
339
+ - spec/fixtures/set_collection.xml
340
+ - spec/fixtures/set_collection_invalid.xml
341
+ - spec/fixtures/set_collection_owns.xml
342
+ - spec/fixtures/set_collection_owns_invalid.xml
343
+ - spec/fixtures/set_collection_qty_owned.xml
344
+ - spec/fixtures/set_collection_qty_owned_invalid.xml
345
+ - spec/fixtures/set_collection_user_notes.xml
346
+ - spec/fixtures/set_collection_user_notes_invalid.xml
347
+ - spec/fixtures/set_collection_wants.xml
348
+ - spec/fixtures/set_collection_wants_invalid.xml
349
+ - spec/fixtures/set_minifig_collection.xml
350
+ - spec/fixtures/set_minifig_collection_invalid.xml
351
+ - spec/fixtures/set_user_rating.xml
352
+ - spec/fixtures/set_user_rating_invalid.xml
353
+ - spec/fixtures/token_invalid.xml
354
+ - spec/fixtures/token_valid.xml
355
+ - spec/spec_helper.rb