steam-id2 0.4.0 → 0.4.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee09596078843cb2f0a400b773bfb99c1577e46e
4
- data.tar.gz: 04544f850fde363f3e85ef340c7c24173d08acd2
3
+ metadata.gz: eaee7d7a02a2373415af8c51de0901effa45b9b5
4
+ data.tar.gz: 7ff9998a707c2852d4de1f9d450fd013f6aa2db6
5
5
  SHA512:
6
- metadata.gz: 14c5f853b575116936f27abc8318fc96e89d54c378bdf17748ca68fe8830b40dce7e97c2129fe85a64687bd78067588828911ffbaa795792c2dc673891b90a20
7
- data.tar.gz: cb02da295fd149a4174c3dc67b659db140345eabacf26a08b1d396b2c742cfe87bc914e6bdad0835078bfa4579b118e3323e8da2bf7678f1d1a4d20e12a114b2
6
+ metadata.gz: 538581954096d4cbc900aa2cff4bb632bb307ad127a9dc154f27e65c1e56baded1a9eed33acf5792b82b686edb0d97755c6d4ea8c46b907590c04b4e16f68689
7
+ data.tar.gz: 7938b61255028a086e91e7d4e0b98cc4c0ec14c321f73a21ff5ebaa2d49bd254202db88f690c9fd32120c0b434f50f6127df06cbff3e6c99b106a0466564809c
data/CHANGELOG.md CHANGED
@@ -19,6 +19,13 @@ glance - what to expact from upgrading to a new version.
19
19
  ### Removed
20
20
 
21
21
 
22
+ ## [0.4.1]
23
+
24
+ ### Fixed
25
+
26
+ - Missing functionality of `SteamID.from_string`.
27
+
28
+
22
29
  ## [0.4.0]
23
30
 
24
31
  ### Added
data/lib/steam_id.rb CHANGED
@@ -14,7 +14,8 @@ module SteamID
14
14
  # id1 = SteamID.from_string('STEAM_0:0:24110655')
15
15
  # id2 = SteamID.from_string('gabenewell', api_key: '...')
16
16
  # puts "Accounts are equal: #{ id1.account_id == id2.account_id }"
17
- def from_string(s, api_key: nil)
18
-
17
+ def self.from_string(s, api_key: nil)
18
+ parser = Parser.new(api_key: api_key)
19
+ parser.from_string(s)
19
20
  end
20
21
  end
data/steam-id2.gemspec CHANGED
@@ -4,13 +4,13 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "steam-id2"
7
- spec.version = '0.4.0'
7
+ spec.version = '0.4.1'
8
8
  spec.authors = ["Michael Senn"]
9
9
  spec.email = ["michael@morrolan.ch"]
10
10
 
11
11
  spec.summary = %q{Convert Steam IDs}
12
12
  # spec.description = %q{}
13
- spec.homepage = "https://bitbucket.org/Lavode/steamid"
13
+ spec.homepage = "https://github.com/Dragaera/steam-id"
14
14
  spec.license = "Apache-2.0"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steam-id2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Senn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-18 00:00:00.000000000 Z
11
+ date: 2017-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: steam-condenser
@@ -115,7 +115,7 @@ files:
115
115
  - lib/steam-id/steam_id.rb
116
116
  - lib/steam_id.rb
117
117
  - steam-id2.gemspec
118
- homepage: https://bitbucket.org/Lavode/steamid
118
+ homepage: https://github.com/Dragaera/steam-id
119
119
  licenses:
120
120
  - Apache-2.0
121
121
  metadata: {}