giant_bomb 0.3.3 → 0.4.0

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.
data/Rakefile CHANGED
@@ -44,7 +44,7 @@ task :test => :check_dependencies
44
44
 
45
45
  task :default => :test
46
46
 
47
- require 'rake/rdoctask'
47
+ require 'rdoc/task'
48
48
  Rake::RDocTask.new do |rdoc|
49
49
  if File.exist?('VERSION')
50
50
  version = File.read('VERSION')
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.4.0
data/giant_bomb.gemspec CHANGED
@@ -1,62 +1,54 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{giant_bomb}
8
- s.version = "0.3.2"
7
+ s.name = "giant_bomb"
8
+ s.version = "0.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jon Maddox"]
12
- s.date = %q{2010-02-03}
13
- s.description = %q{Simple library to talkto the awesome GiantBomb data}
14
- s.email = %q{jon@fanzter.com}
12
+ s.date = "2013-06-22"
13
+ s.description = "Simple library to talkto the awesome GiantBomb data"
14
+ s.email = "jon@fanzter.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.textile"
17
+ "README.textile"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.textile",
24
- "Rakefile",
25
- "VERSION",
26
- "giant_bomb.gemspec",
27
- "lib/giant_bomb.rb",
28
- "lib/giant_bomb/attributes.rb",
29
- "lib/giant_bomb/core_extensions.rb",
30
- "lib/giant_bomb/developer.rb",
31
- "lib/giant_bomb/game.rb",
32
- "lib/giant_bomb/genre.rb",
33
- "lib/giant_bomb/httparty_icebox.rb",
34
- "lib/giant_bomb/publisher.rb",
35
- "lib/giant_bomb/search.rb",
36
- "test/fixtures/get_info.json",
37
- "test/fixtures/mega_man_x.json",
38
- "test/fixtures/search.json",
39
- "test/fixtures/sketchy_results.json",
40
- "test/game_test.rb",
41
- "test/giant_bomb_test.rb",
42
- "test/test_helper.rb"
43
- ]
44
- s.homepage = %q{http://github.com/fanzter/giant_bomb}
45
- s.rdoc_options = ["--charset=UTF-8"]
46
- s.require_paths = ["lib"]
47
- s.rubygems_version = %q{1.3.5}
48
- s.summary = %q{Simple library to talk to the awesome GiantBomb data}
49
- s.test_files = [
21
+ "LICENSE",
22
+ "README.textile",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "giant_bomb.gemspec",
26
+ "lib/giant_bomb.rb",
27
+ "lib/giant_bomb/attributes.rb",
28
+ "lib/giant_bomb/core_extensions.rb",
29
+ "lib/giant_bomb/developer.rb",
30
+ "lib/giant_bomb/game.rb",
31
+ "lib/giant_bomb/genre.rb",
32
+ "lib/giant_bomb/httparty_icebox.rb",
33
+ "lib/giant_bomb/publisher.rb",
34
+ "lib/giant_bomb/search.rb",
35
+ "test/fixtures/get_info.json",
36
+ "test/fixtures/mega_man_x.json",
37
+ "test/fixtures/search.json",
38
+ "test/fixtures/sketchy_results.json",
50
39
  "test/game_test.rb",
51
- "test/giant_bomb_test.rb",
52
- "test/test_helper.rb"
40
+ "test/giant_bomb_test.rb",
41
+ "test/test_helper.rb"
53
42
  ]
43
+ s.homepage = "http://github.com/fanzter/giant_bomb"
44
+ s.require_paths = ["lib"]
45
+ s.rubygems_version = "1.8.23"
46
+ s.summary = "Simple library to talk to the awesome GiantBomb data"
54
47
 
55
48
  if s.respond_to? :specification_version then
56
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
57
49
  s.specification_version = 3
58
50
 
59
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
52
  s.add_runtime_dependency(%q<httparty>, [">= 0.4.3"])
61
53
  s.add_development_dependency(%q<fakeweb>, [">= 0"])
62
54
  s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
@@ -71,3 +63,4 @@ Gem::Specification.new do |s|
71
63
  s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
72
64
  end
73
65
  end
66
+
@@ -44,10 +44,6 @@ class Object
44
44
  respond_to?(:empty?) ? empty? : !self
45
45
  end
46
46
 
47
- def try(method)
48
- send method if respond_to? method
49
- end
50
-
51
47
  end
52
48
 
53
49
 
@@ -74,4 +70,3 @@ class String
74
70
  self !~ /\S/
75
71
  end
76
72
  end
77
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: giant_bomb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-24 00:00:00.000000000Z
12
+ date: 2013-06-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &70240378624320 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 0.4.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70240378624320
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.4.3
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: fakeweb
27
- requirement: &70240378623520 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70240378623520
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: thoughtbot-shoulda
38
- requirement: &70240378622480 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,7 +53,12 @@ dependencies:
43
53
  version: '0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70240378622480
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  description: Simple library to talkto the awesome GiantBomb data
48
63
  email: jon@fanzter.com
49
64
  executables: []
@@ -94,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
109
  version: '0'
95
110
  requirements: []
96
111
  rubyforge_project:
97
- rubygems_version: 1.8.6
112
+ rubygems_version: 1.8.23
98
113
  signing_key:
99
114
  specification_version: 3
100
115
  summary: Simple library to talk to the awesome GiantBomb data