marvel_explorer 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +7 -0
  5. data/Gemfile +4 -0
  6. data/Guardfile +38 -0
  7. data/LICENSE.md +22 -0
  8. data/LICENSE.txt +22 -0
  9. data/README.md +48 -0
  10. data/Rakefile +7 -0
  11. data/bin/marvel_explorer +4 -0
  12. data/config/defaults.yml +2 -0
  13. data/config.yml +3 -0
  14. data/lib/marvel_explorer/characters.rb +39 -0
  15. data/lib/marvel_explorer/cli.rb +62 -0
  16. data/lib/marvel_explorer/comic.rb +19 -0
  17. data/lib/marvel_explorer/explorer.rb +23 -0
  18. data/lib/marvel_explorer/git.rb +19 -0
  19. data/lib/marvel_explorer/helpers.rb +17 -0
  20. data/lib/marvel_explorer/rankings.rb +29 -0
  21. data/lib/marvel_explorer/twitter.rb +29 -0
  22. data/lib/marvel_explorer/version.rb +3 -0
  23. data/lib/marvel_explorer/yamlise.rb +76 -0
  24. data/lib/marvel_explorer.rb +19 -0
  25. data/marvel_explorer.gemspec +35 -0
  26. data/spec/cassettes/MarvelExplorer_Explorer/should_extract_the_year_correctly.yml +136 -0
  27. data/spec/cassettes/MarvelExplorer_Explorer/should_generate_a_commit_message.yml +255 -0
  28. data/spec/cassettes/MarvelExplorer_Explorer/should_generate_a_tweet_message.yml +255 -0
  29. data/spec/cassettes/MarvelExplorer_Explorer/should_generate_correct_yaml.yml +255 -0
  30. data/spec/cassettes/MarvelExplorer_Explorer/should_get_the_default_start_character.yml +255 -0
  31. data/spec/cassettes/MarvelExplorer_Explorer/should_get_the_end_character_from_the_comic.yml +255 -0
  32. data/spec/cassettes/MarvelExplorer_Explorer/should_load_the_stored_character.yml +255 -0
  33. data/spec/cassettes/MarvelExplorer_Explorer/should_save_the_end_character.yml +255 -0
  34. data/spec/cassettes/MarvelExplorer_Explorer/should_select_a_comic_for_the_start_character.yml +255 -0
  35. data/spec/characters_spec.rb +52 -0
  36. data/spec/explorer_spec.rb +20 -0
  37. data/spec/fixtures/double-shot-characters.json +2278 -0
  38. data/spec/fixtures/hulk_comics.json +1 -0
  39. data/spec/fixtures/last.character +7 -0
  40. data/spec/fixtures/spider-man.json +1 -0
  41. data/spec/fixtures/viper.json +1 -0
  42. data/spec/git_spec.rb +24 -0
  43. data/spec/rankings_spec.rb +59 -0
  44. data/spec/spec_helper.rb +98 -0
  45. data/spec/support/vcr_setup.rb +18 -0
  46. data/spec/tweet_spec.rb +24 -0
  47. data/spec/yaml_spec.rb +38 -0
  48. metadata +295 -0
metadata ADDED
@@ -0,0 +1,295 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: marvel_explorer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.2
5
+ platform: ruby
6
+ authors:
7
+ - pikesley
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ultron
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: twitter
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '5.13'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5.13'
41
+ - !ruby/object:Gem::Dependency
42
+ name: dotenv
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.11'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: git
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: thor
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.19m
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.19m
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.7'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.7'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '10.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '10.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec
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
+ - !ruby/object:Gem::Dependency
126
+ name: guard-rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '4.4'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '4.4'
139
+ - !ruby/object:Gem::Dependency
140
+ name: terminal-notifier-guard
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
+ - !ruby/object:Gem::Dependency
154
+ name: vcr
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '2.9'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '2.9'
167
+ - !ruby/object:Gem::Dependency
168
+ name: webmock
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '1.20'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '1.20'
181
+ - !ruby/object:Gem::Dependency
182
+ name: timecop
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '0.7'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '0.7'
195
+ description: ''
196
+ email:
197
+ - sam@pikesley.org
198
+ executables:
199
+ - marvel_explorer
200
+ extensions: []
201
+ extra_rdoc_files: []
202
+ files:
203
+ - ".gitignore"
204
+ - ".rspec"
205
+ - ".travis.yml"
206
+ - Gemfile
207
+ - Guardfile
208
+ - LICENSE.md
209
+ - LICENSE.txt
210
+ - README.md
211
+ - Rakefile
212
+ - bin/marvel_explorer
213
+ - config.yml
214
+ - config/defaults.yml
215
+ - lib/marvel_explorer.rb
216
+ - lib/marvel_explorer/characters.rb
217
+ - lib/marvel_explorer/cli.rb
218
+ - lib/marvel_explorer/comic.rb
219
+ - lib/marvel_explorer/explorer.rb
220
+ - lib/marvel_explorer/git.rb
221
+ - lib/marvel_explorer/helpers.rb
222
+ - lib/marvel_explorer/rankings.rb
223
+ - lib/marvel_explorer/twitter.rb
224
+ - lib/marvel_explorer/version.rb
225
+ - lib/marvel_explorer/yamlise.rb
226
+ - marvel_explorer.gemspec
227
+ - spec/cassettes/MarvelExplorer_Explorer/should_extract_the_year_correctly.yml
228
+ - spec/cassettes/MarvelExplorer_Explorer/should_generate_a_commit_message.yml
229
+ - spec/cassettes/MarvelExplorer_Explorer/should_generate_a_tweet_message.yml
230
+ - spec/cassettes/MarvelExplorer_Explorer/should_generate_correct_yaml.yml
231
+ - spec/cassettes/MarvelExplorer_Explorer/should_get_the_default_start_character.yml
232
+ - spec/cassettes/MarvelExplorer_Explorer/should_get_the_end_character_from_the_comic.yml
233
+ - spec/cassettes/MarvelExplorer_Explorer/should_load_the_stored_character.yml
234
+ - spec/cassettes/MarvelExplorer_Explorer/should_save_the_end_character.yml
235
+ - spec/cassettes/MarvelExplorer_Explorer/should_select_a_comic_for_the_start_character.yml
236
+ - spec/characters_spec.rb
237
+ - spec/explorer_spec.rb
238
+ - spec/fixtures/double-shot-characters.json
239
+ - spec/fixtures/hulk_comics.json
240
+ - spec/fixtures/last.character
241
+ - spec/fixtures/spider-man.json
242
+ - spec/fixtures/viper.json
243
+ - spec/git_spec.rb
244
+ - spec/rankings_spec.rb
245
+ - spec/spec_helper.rb
246
+ - spec/support/vcr_setup.rb
247
+ - spec/tweet_spec.rb
248
+ - spec/yaml_spec.rb
249
+ homepage: http://sam.pikesley.org/projects/marvel-explorer/
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.4.3
270
+ signing_key:
271
+ specification_version: 4
272
+ summary: Wander around the Marvel Comics data
273
+ test_files:
274
+ - spec/cassettes/MarvelExplorer_Explorer/should_extract_the_year_correctly.yml
275
+ - spec/cassettes/MarvelExplorer_Explorer/should_generate_a_commit_message.yml
276
+ - spec/cassettes/MarvelExplorer_Explorer/should_generate_a_tweet_message.yml
277
+ - spec/cassettes/MarvelExplorer_Explorer/should_generate_correct_yaml.yml
278
+ - spec/cassettes/MarvelExplorer_Explorer/should_get_the_default_start_character.yml
279
+ - spec/cassettes/MarvelExplorer_Explorer/should_get_the_end_character_from_the_comic.yml
280
+ - spec/cassettes/MarvelExplorer_Explorer/should_load_the_stored_character.yml
281
+ - spec/cassettes/MarvelExplorer_Explorer/should_save_the_end_character.yml
282
+ - spec/cassettes/MarvelExplorer_Explorer/should_select_a_comic_for_the_start_character.yml
283
+ - spec/characters_spec.rb
284
+ - spec/explorer_spec.rb
285
+ - spec/fixtures/double-shot-characters.json
286
+ - spec/fixtures/hulk_comics.json
287
+ - spec/fixtures/last.character
288
+ - spec/fixtures/spider-man.json
289
+ - spec/fixtures/viper.json
290
+ - spec/git_spec.rb
291
+ - spec/rankings_spec.rb
292
+ - spec/spec_helper.rb
293
+ - spec/support/vcr_setup.rb
294
+ - spec/tweet_spec.rb
295
+ - spec/yaml_spec.rb