sc2profile 0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rvmrc ADDED
@@ -0,0 +1,49 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
+ # development environment upon cd'ing into the directory
5
+
6
+ # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
7
+ environment_id="ruby-1.9.2-p180@sc2stats"
8
+
9
+ #
10
+ # First we attempt to load the desired environment directly from the environment
11
+ # file. This is very fast and efficicent compared to running through the entire
12
+ # CLI and selector. If you want feedback on which environment was used then
13
+ # insert the word 'use' after --create as this triggers verbose mode.
14
+ #
15
+ if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
16
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then
17
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
18
+
19
+ [[ -s ".rvm/hooks/after_use" ]] && . ".rvm/hooks/after_use"
20
+ else
21
+ # If the environment file has not yet been created, use the RVM CLI to select.
22
+ rvm --create use "$environment_id"
23
+ fi
24
+
25
+ #
26
+ # If you use an RVM gemset file to install a list of gems (*.gems), you can have
27
+ # it be automatically loaded. Uncomment the following and adjust the filename if
28
+ # necessary.
29
+ #
30
+ # filename=".gems"
31
+ # if [[ -s "$filename" ]] ; then
32
+ # rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
33
+ # fi
34
+
35
+ #
36
+ # If you use bundler and would like to run bundle each time you enter the
37
+ # directory, you can uncomment the following code.
38
+ #
39
+ # # Ensure that Bundler is installed. Install it if it is not.
40
+ # if ! command -v bundle >/dev/null; then
41
+ # printf "The rubygem 'bundler' is not installed. Installing it now.\n"
42
+ # gem install bundler
43
+ # fi
44
+ #
45
+ # # Bundle while reducing excess noise.
46
+ # printf "Bundling your gems. This may take a few minutes on a fresh clone.\n"
47
+ # bundle | grep -v '^Using ' | grep -v ' is complete' | sed '/^$/d'
48
+ #
49
+
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ gem "nokogiri", "~> 1.4.4"
7
+
8
+ # Add dependencies to develop your gem here.
9
+ # Include everything needed to run rake, tests, features, etc.
10
+ group :development do
11
+ gem "bundler", "~> 1.0.0"
12
+ gem "jeweler", "~> 1.5.2"
13
+ end
@@ -0,0 +1,18 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ git (1.2.5)
5
+ jeweler (1.5.2)
6
+ bundler (~> 1.0.0)
7
+ git (>= 1.2.5)
8
+ rake
9
+ nokogiri (1.4.4)
10
+ rake (0.8.7)
11
+
12
+ PLATFORMS
13
+ ruby
14
+
15
+ DEPENDENCIES
16
+ bundler (~> 1.0.0)
17
+ jeweler (~> 1.5.2)
18
+ nokogiri (~> 1.4.4)
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Julian Møller
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,59 @@
1
+ # SC2Profile
2
+
3
+ Parses a Battle.net StarCraft 2 profile for name, race, portrait, 1v1 league and 1v1 league points.
4
+
5
+ ## Usage
6
+
7
+ p = SC2Profile.new("<profile url>")
8
+ => <Name> (<League>, <Race>, <Points> pts)
9
+
10
+ p.name
11
+ => <Name>
12
+
13
+
14
+ p.race
15
+ => <Race>
16
+
17
+ p.race.to_style
18
+ => background: url('<Path>race-symbols.png') <ImageX> <ImageY> no-repeat; width: 25px; height: 25px;
19
+
20
+
21
+ p.league
22
+ => <LeagueName> <LeagueType> Rank <Rank>
23
+
24
+ p.league.to_style # size => :small, :medium, :big
25
+ => background: url('<Path><LeagueName>.png') <ImageX> <ImageY> no-repeat; width: <ImageSize>; height: <ImageSize>;
26
+
27
+ p.league.to_json
28
+ => "{'league_name': 'gold', 'league_type': '1v1','rank': '25'}"
29
+
30
+
31
+ p.points
32
+ => <Points>
33
+
34
+
35
+ p.portrait_style
36
+ => background: url('<Path><ImageIndex>-90.jpg') <ImageX> <ImageY> no-repeat; width: 90px; height: 90px;
37
+
38
+ p.portrait_style.to_json
39
+ => "{'image_index': 0, 'image_x': '0px','image_y': '0px'}"
40
+
41
+
42
+ A profile that has not yet been placed will return:
43
+
44
+ <Name> (No league, 0 pts)
45
+
46
+ ## Contributing to SC2Profile
47
+
48
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
49
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
50
+ * Fork the project
51
+ * Start a feature/bugfix branch
52
+ * Commit and push until you are happy with your contribution
53
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
54
+
55
+ == Copyright
56
+
57
+ Copyright (c) 2011 Julian Møller. See LICENSE.txt for
58
+ further details.
59
+
@@ -0,0 +1,41 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "sc2profile"
18
+ gem.homepage = "http://github.com/MatthieuSegret/sc2profile"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{StarCraft II profile statistics scraper}
21
+ gem.description = %Q{Scrapes name, 1v1 league and 1v1 league points from a Battle.net StarCraft II profile.}
22
+ gem.email = "matthieu.segret@gmail.com"
23
+ gem.authors = ["Matthieu Segret", "Julian Møller"]
24
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
25
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
26
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
27
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
28
+ end
29
+ Jeweler::RubygemsDotOrgTasks.new
30
+
31
+ task :default => :test
32
+
33
+ require 'rake/rdoctask'
34
+ Rake::RDocTask.new do |rdoc|
35
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
36
+
37
+ rdoc.rdoc_dir = 'rdoc'
38
+ rdoc.title = "SC2Profile #{version}"
39
+ rdoc.rdoc_files.include('README*')
40
+ rdoc.rdoc_files.include('lib/**/*.rb')
41
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.2
@@ -0,0 +1,63 @@
1
+ class SC2League
2
+
3
+ # --------------------------------------------------------------------------
4
+ #
5
+ # Accessor and constants
6
+ #
7
+ # --------------------------------------------------------------------------
8
+
9
+ attr_reader :league_name, :league_type, :rank
10
+ LEAGUES = ["no league", "bronze", "silver", "gold", "platinum", "diamond", "master", "grandmaster"]
11
+
12
+
13
+ # --------------------------------------------------------------------------
14
+ #
15
+ # Constructor method
16
+ #
17
+ # --------------------------------------------------------------------------
18
+
19
+ def initialize(league_name = 'bronze', league_type = '1v1', rank = 0, path = '/images/leagues/')
20
+ @league_name = LEAGUES.include?(league_name) ? league_name : 'bronze'
21
+ @league_type = league_type
22
+ @rank = rank
23
+ @path = path
24
+ end
25
+
26
+
27
+ # --------------------------------------------------------------------------
28
+ #
29
+ # Public methods
30
+ #
31
+ # --------------------------------------------------------------------------
32
+
33
+ def to_s
34
+ "#{@league_name} #{@league_type} rank #{@rank}"
35
+ end
36
+
37
+ def to_style(size = :medium)
38
+ case size
39
+ when :small then image_x = '-145px'; image_size = '28px'
40
+ when :medium then image_x = '-100px'; image_size = '45px'
41
+ when :big then image_x = '0px'; image_size = '100px'
42
+ else image_x = '-100px'; image_size = '45px'
43
+ end
44
+
45
+ case @rank
46
+ when 1..8 then image_y = '-150px'
47
+ when 9..25 then image_y = '-100px'
48
+ when 26..50 then image_y = '-50px'
49
+ when 51..200 then image_y = '0px'
50
+ else image_y = '0px'
51
+ end
52
+
53
+ "background: url('#{@path}#{@league_name.gsub(/\s/, '')}.png') #{image_x} #{image_y} no-repeat; width: #{image_size}; height: #{image_size};"
54
+ end
55
+
56
+ def as_json(opts={})
57
+ {
58
+ :league_name => @league_name,
59
+ :league_type => @league_type,
60
+ :rank => @rank,
61
+ }
62
+ end
63
+ end
@@ -0,0 +1,54 @@
1
+ class SC2PortraitStyle
2
+
3
+ # --------------------------------------------------------------------------
4
+ #
5
+ # Accessor
6
+ #
7
+ # --------------------------------------------------------------------------
8
+
9
+ attr_reader :image_index, :image_x, :image_y
10
+
11
+
12
+ # --------------------------------------------------------------------------
13
+ #
14
+ # Constructor method
15
+ #
16
+ # --------------------------------------------------------------------------
17
+
18
+ def initialize(image_index = 0, image_x = 0, image_y = 0, path = '/images/portraits/')
19
+ @image_index = image_index
20
+ @image_x = image_x
21
+ @image_y = image_y
22
+ @path = path
23
+ end
24
+
25
+
26
+ # --------------------------------------------------------------------------
27
+ #
28
+ # Public methods
29
+ #
30
+ # --------------------------------------------------------------------------
31
+
32
+ def to_s
33
+ to_style
34
+ end
35
+
36
+ def to_style(size = :medium)
37
+ case size
38
+ when :medium then image_x = @image_x / 2; image_y = @image_y / 2; image_size = 45
39
+ when :big then image_x = @image_x; image_y = @image_y; image_size = 90
40
+ else image_x = @image_x / 2; image_y = @image_y / 2; image_size = 45
41
+ end
42
+
43
+ "background: url('#{@path}#{@image_index}-#{image_size}.jpg') #{image_x}px #{image_y}px no-repeat; width: #{image_size}px; height: #{image_size}px;"
44
+ end
45
+
46
+ def as_json(opts={})
47
+ {
48
+ :image_index => @image_index.to_i,
49
+ :image_x => @image_x,
50
+ :image_y => @image_y
51
+ }
52
+ end
53
+
54
+ end
@@ -0,0 +1,128 @@
1
+ require "rubygems"
2
+ require "bundler/setup"
3
+
4
+ require "nokogiri"
5
+ require 'open-uri'
6
+ require 'sc2league'
7
+ require 'sc2portrait_style'
8
+ require 'sc2race'
9
+
10
+ class SC2Profile
11
+
12
+ # --------------------------------------------------------------------------
13
+ #
14
+ # Accessor
15
+ #
16
+ # --------------------------------------------------------------------------
17
+
18
+ attr_reader :name, :race, :points, :league, :portrait_style
19
+ attr_accessor :url, :options
20
+
21
+
22
+ # --------------------------------------------------------------------------
23
+ #
24
+ # Constructor method
25
+ #
26
+ # --------------------------------------------------------------------------
27
+
28
+ def initialize(profile_url, options=[:name, :race, :points, :league, :portrait_style])
29
+ @url = profile_url
30
+ @options = options
31
+ self.scrape @options
32
+ end
33
+
34
+
35
+ # --------------------------------------------------------------------------
36
+ #
37
+ # Public methods
38
+ #
39
+ # --------------------------------------------------------------------------
40
+
41
+ def to_s
42
+ "#{@name} (#{@league}, #{@race}, #{@points} pts)"
43
+ end
44
+
45
+ def ==(o)
46
+ if o.is_a? SC2Profile
47
+ @url == o.url
48
+ else
49
+ false
50
+ end
51
+ end
52
+
53
+ def scrape(options)
54
+ @url.chop! if @url.last == '/'
55
+ @url.gsub!(/(.+\/sc2\/)(\w{2})(\/profile\/.+)/, '\1en\3')
56
+ html = Nokogiri::HTML(open("#{@url}/ladder/leagues"))
57
+
58
+ options.each do |option|
59
+ instance_variable_set("@#{option.to_s}".to_sym, self.send("scrape_#{option.to_s}", html))
60
+ end
61
+ end
62
+
63
+
64
+ # --------------------------------------------------------------------------
65
+ #
66
+ # Protected methods
67
+ #
68
+ # --------------------------------------------------------------------------
69
+
70
+ protected
71
+
72
+ def scrape_name(html)
73
+ html.css("#profile-header h2 a").first.text
74
+ end
75
+
76
+ def scrape_portrait_style(html)
77
+ raw_portrait_style = html.css("#portrait span").attr('style').to_s
78
+ return SC2PortraitStyle.new if raw_portrait_style.blank?
79
+ style_split = raw_portrait_style.split
80
+ image_index = /.+\/(\d)-90.jpg.+/.match(style_split[1])[1]
81
+ image_x = style_split[2]
82
+ image_y = style_split[3]
83
+ SC2PortraitStyle.new(image_index, image_x.split('px')[0].to_i, image_y.split('px')[0].to_i)
84
+ end
85
+
86
+ def scrape_race(html)
87
+ td = html.css("#current-rank td")[current_rank_index_start(html) + 2]
88
+ return SC2Race.new if td.blank?
89
+ a = td.css("a")
90
+ return SC2Race.new if a.blank?
91
+ class_race = a.attr('class').to_s
92
+ return SC2Race.new if class_race.blank?
93
+ race = class_race.split('-')[1]
94
+ SC2Race.new(race)
95
+ end
96
+
97
+ def scrape_points(html)
98
+ td = html.css("#current-rank td")[current_rank_index_start(html) + 3]
99
+ td.present? ? td.text.to_i : 0
100
+ end
101
+
102
+ def scrape_league(html, league_type='1v1')
103
+ league_text = nil
104
+
105
+ html.css("#profile-menu li a").each do |l|
106
+ if l.text.include? league_type
107
+ league_text = l.text
108
+ break
109
+ end
110
+ end
111
+
112
+ if league_text.present?
113
+ league_split = league_text.downcase.split
114
+ league_name = league_split[1]
115
+ rank = league_split[3].to_i
116
+ else
117
+ return SC2League.new
118
+ end
119
+
120
+ SC2League.new(league_name, league_type, rank)
121
+ end
122
+
123
+ def current_rank_index_start(html)
124
+ tds = html.css("#current-rank td")
125
+ return 0 if tds.blank?
126
+ tds[0].attr('class').to_s.include?('banner') ? 1 : 0
127
+ end
128
+ end
@@ -0,0 +1,47 @@
1
+ class SC2Race
2
+
3
+ # --------------------------------------------------------------------------
4
+ #
5
+ # Accessor and constants
6
+ #
7
+ # --------------------------------------------------------------------------
8
+
9
+ attr_reader :race
10
+ RACES = ["terran", "zerg", "protoss", "random"]
11
+
12
+
13
+ # --------------------------------------------------------------------------
14
+ #
15
+ # Constructor method
16
+ #
17
+ # --------------------------------------------------------------------------
18
+
19
+ def initialize(race = 'terran', path = '/images/races/')
20
+ @race = RACES.include?(race) ? race : 'terran'
21
+ @path = path
22
+ end
23
+
24
+
25
+ # --------------------------------------------------------------------------
26
+ #
27
+ # Public methods
28
+ #
29
+ # --------------------------------------------------------------------------
30
+
31
+ def to_s
32
+ "#{@race}"
33
+ end
34
+
35
+
36
+ def to_style
37
+ case @race
38
+ when 'terran' then image_x = '-5px'; image_y = '-3px'
39
+ when 'zerg' then image_x = '-5px'; image_y = '-60px'
40
+ when 'protoss' then image_x = '-5px'; image_y = '-115px'
41
+ when 'random' then image_x = '-5px'; image_y = '-168px'
42
+ else image_x = '-5px'; image_y = '-3px'
43
+ end
44
+
45
+ "background: url('#{@path}race-symbols.png') #{image_x} #{image_y} no-repeat; width: 25px; height: 25px;"
46
+ end
47
+ end
@@ -0,0 +1,58 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{sc2profile}
8
+ s.version = "0.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Matthieu Segret", "Julian Møller"]
12
+ s.date = %q{2011-07-19}
13
+ s.description = %q{Scrapes name, 1v1 league and 1v1 league points from a Battle.net StarCraft II profile.}
14
+ s.email = %q{matthieu.segret@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rvmrc",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.md",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "lib/sc2profile.rb",
29
+ "lib/sc2league.rb",
30
+ "lib/sc2race.rb",
31
+ "lib/sc2portrait_style.rb",
32
+ "sc2profile.gemspec"
33
+ ]
34
+ s.homepage = %q{http://github.com/MatthieuSegret/sc2profile}
35
+ s.licenses = ["MIT"]
36
+ s.require_paths = ["lib"]
37
+ s.rubygems_version = %q{1.6.2}
38
+ s.summary = %q{StarCraft II profile statistics scraper}
39
+
40
+ if s.respond_to? :specification_version then
41
+ s.specification_version = 3
42
+
43
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
+ s.add_runtime_dependency(%q<nokogiri>, ["~> 1.4.4"])
45
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
46
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
47
+ else
48
+ s.add_dependency(%q<nokogiri>, ["~> 1.4.4"])
49
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
50
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
51
+ end
52
+ else
53
+ s.add_dependency(%q<nokogiri>, ["~> 1.4.4"])
54
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
55
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
56
+ end
57
+ end
58
+
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sc2profile
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: "0.2"
6
+ platform: ruby
7
+ authors:
8
+ - Matthieu Segret
9
+ - "Julian M\xC3\xB8ller"
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+
14
+ date: 2011-07-19 00:00:00 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: nokogiri
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 1.4.4
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ~>
34
+ - !ruby/object:Gem::Version
35
+ version: 1.0.0
36
+ type: :development
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: jeweler
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 1.5.2
47
+ type: :development
48
+ version_requirements: *id003
49
+ description: Scrapes name, 1v1 league and 1v1 league points from a Battle.net StarCraft II profile.
50
+ email: matthieu.segret@gmail.com
51
+ executables: []
52
+
53
+ extensions: []
54
+
55
+ extra_rdoc_files:
56
+ - LICENSE.txt
57
+ - README.md
58
+ files:
59
+ - .document
60
+ - .rvmrc
61
+ - Gemfile
62
+ - Gemfile.lock
63
+ - LICENSE.txt
64
+ - README.md
65
+ - Rakefile
66
+ - VERSION
67
+ - lib/sc2profile.rb
68
+ - lib/sc2league.rb
69
+ - lib/sc2race.rb
70
+ - lib/sc2portrait_style.rb
71
+ - sc2profile.gemspec
72
+ homepage: http://github.com/MatthieuSegret/sc2profile
73
+ licenses:
74
+ - MIT
75
+ post_install_message:
76
+ rdoc_options: []
77
+
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: "0"
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: "0"
92
+ requirements: []
93
+
94
+ rubyforge_project:
95
+ rubygems_version: 1.8.5
96
+ signing_key:
97
+ specification_version: 3
98
+ summary: StarCraft II profile statistics scraper
99
+ test_files: []
100
+