subscriptor_client 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.travis.yml +22 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +31 -0
  7. data/Rakefile +6 -0
  8. data/lib/subscriptor_client/base.rb +17 -0
  9. data/lib/subscriptor_client/entities_client.rb +59 -0
  10. data/lib/subscriptor_client/subscriptions_client.rb +56 -0
  11. data/lib/subscriptor_client/version.rb +3 -0
  12. data/lib/subscriptor_client.rb +27 -0
  13. data/spec/fixtures/vcr_cassettes/add_credits_success.yml +58 -0
  14. data/spec/fixtures/vcr_cassettes/create_success.yml +58 -0
  15. data/spec/fixtures/vcr_cassettes/destroy_success.yml +54 -0
  16. data/spec/fixtures/vcr_cassettes/index_success.yml +52 -0
  17. data/spec/fixtures/vcr_cassettes/show_success.yml +52 -0
  18. data/spec/fixtures/vcr_cassettes/subscriptions/add_credits_success.yml +58 -0
  19. data/spec/fixtures/vcr_cassettes/subscriptions/create_success.yml +58 -0
  20. data/spec/fixtures/vcr_cassettes/subscriptions/destroy_success.yml +54 -0
  21. data/spec/fixtures/vcr_cassettes/subscriptions/index_success.yml +52 -0
  22. data/spec/fixtures/vcr_cassettes/subscriptions/remove_credits_success.yml +58 -0
  23. data/spec/fixtures/vcr_cassettes/subscriptions/show_success.yml +52 -0
  24. data/spec/fixtures/vcr_cassettes/subscriptions/update_success.yml +58 -0
  25. data/spec/spec_helper.rb +14 -0
  26. data/spec/subscriptor_client/base_spec.rb +13 -0
  27. data/spec/subscriptor_client/entities_client_spec.rb +74 -0
  28. data/spec/subscriptor_client/subscriptions_client_spec.rb +106 -0
  29. data/subscriptor_client.gemspec +33 -0
  30. metadata +228 -0
metadata ADDED
@@ -0,0 +1,228 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: subscriptor_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - johnmcconnell
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rest-client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.7.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.7.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: json_client
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.1.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: simplecov
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.8.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.8.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: coveralls
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.7.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.7.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.6'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.6'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec-collection_matchers
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: vcr
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: webmock
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description: A client for the subscriptor gem.
154
+ email:
155
+ - johnnyillinois@gmail.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".travis.yml"
162
+ - Gemfile
163
+ - LICENSE.txt
164
+ - README.md
165
+ - Rakefile
166
+ - lib/subscriptor_client.rb
167
+ - lib/subscriptor_client/base.rb
168
+ - lib/subscriptor_client/entities_client.rb
169
+ - lib/subscriptor_client/subscriptions_client.rb
170
+ - lib/subscriptor_client/version.rb
171
+ - spec/fixtures/vcr_cassettes/add_credits_success.yml
172
+ - spec/fixtures/vcr_cassettes/create_success.yml
173
+ - spec/fixtures/vcr_cassettes/destroy_success.yml
174
+ - spec/fixtures/vcr_cassettes/index_success.yml
175
+ - spec/fixtures/vcr_cassettes/show_success.yml
176
+ - spec/fixtures/vcr_cassettes/subscriptions/add_credits_success.yml
177
+ - spec/fixtures/vcr_cassettes/subscriptions/create_success.yml
178
+ - spec/fixtures/vcr_cassettes/subscriptions/destroy_success.yml
179
+ - spec/fixtures/vcr_cassettes/subscriptions/index_success.yml
180
+ - spec/fixtures/vcr_cassettes/subscriptions/remove_credits_success.yml
181
+ - spec/fixtures/vcr_cassettes/subscriptions/show_success.yml
182
+ - spec/fixtures/vcr_cassettes/subscriptions/update_success.yml
183
+ - spec/spec_helper.rb
184
+ - spec/subscriptor_client/base_spec.rb
185
+ - spec/subscriptor_client/entities_client_spec.rb
186
+ - spec/subscriptor_client/subscriptions_client_spec.rb
187
+ - subscriptor_client.gemspec
188
+ homepage: ''
189
+ licenses:
190
+ - MIT
191
+ metadata: {}
192
+ post_install_message:
193
+ rdoc_options: []
194
+ require_paths:
195
+ - lib
196
+ required_ruby_version: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ required_rubygems_version: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
206
+ requirements: []
207
+ rubyforge_project:
208
+ rubygems_version: 2.2.2
209
+ signing_key:
210
+ specification_version: 4
211
+ summary: A client for the subscriptor gem.
212
+ test_files:
213
+ - spec/fixtures/vcr_cassettes/add_credits_success.yml
214
+ - spec/fixtures/vcr_cassettes/create_success.yml
215
+ - spec/fixtures/vcr_cassettes/destroy_success.yml
216
+ - spec/fixtures/vcr_cassettes/index_success.yml
217
+ - spec/fixtures/vcr_cassettes/show_success.yml
218
+ - spec/fixtures/vcr_cassettes/subscriptions/add_credits_success.yml
219
+ - spec/fixtures/vcr_cassettes/subscriptions/create_success.yml
220
+ - spec/fixtures/vcr_cassettes/subscriptions/destroy_success.yml
221
+ - spec/fixtures/vcr_cassettes/subscriptions/index_success.yml
222
+ - spec/fixtures/vcr_cassettes/subscriptions/remove_credits_success.yml
223
+ - spec/fixtures/vcr_cassettes/subscriptions/show_success.yml
224
+ - spec/fixtures/vcr_cassettes/subscriptions/update_success.yml
225
+ - spec/spec_helper.rb
226
+ - spec/subscriptor_client/base_spec.rb
227
+ - spec/subscriptor_client/entities_client_spec.rb
228
+ - spec/subscriptor_client/subscriptions_client_spec.rb