tf2r 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d040ee6e9265eed2195362f8c115193590c62207
4
- data.tar.gz: be7f1f7cf1a805e4fa5b16fc02fd41b0692193c7
3
+ metadata.gz: 51e7ac458b126a02a1d64b5727a528d73c0c8368
4
+ data.tar.gz: f629f404778265e41bfe2b29cd4560cc0dc37627
5
5
  SHA512:
6
- metadata.gz: 51aef9d710a7e17129106d3ec3f0843f822cd7e43e5a89e39de7fa48f324877437028fc0f75a3e6a4b7c946d5085dd7a7e4eb721305c0ca5e06bb4fcb134a068
7
- data.tar.gz: 00ea3e40215556e898e0a9e3c078bab6506083e4f11cac1ca4ee4eb97e36688e7c85ef988586b576fc065130f531a0e39e0a49a760dbba45b02c7b9113b66033
6
+ metadata.gz: 160189fa09c7e256f373acf08147d89ab267899354bc625ea4669afd967d27da9d5222a22127cb8bfbf4470ca467aebce684de1df969a18c3db7ed70c3d669dd
7
+ data.tar.gz: 9ec08fa9fefb8c8a6ea8bc6ee1b62442e526e8f3d3b754e39c82dbffb6f0471079b34bcd32fbf8650254d73507c442132b1a3147bdf7f1abd45dc34e4eaa7a20
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tf2r (0.4.0)
4
+ tf2r (0.4.1)
5
5
  mechanize (~> 2.7)
6
6
 
7
7
  GEM
@@ -97,7 +97,7 @@ module TF2R
97
97
  entries.map do |entry|
98
98
  entry[:steam_id] = extract_steam_id entry.delete('link')
99
99
  entry[:username] = entry.delete('name')
100
- entry[:colour] = entry.delete('color').downcase
100
+ entry[:colour] = entry.delete('color').downcase.strip
101
101
  entry[:avatar_link] = entry.delete('avatar')
102
102
  end
103
103
  entries
@@ -1,3 +1,3 @@
1
1
  module TF2R
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
@@ -55,7 +55,7 @@ describe TF2R::Raffle do
55
55
  expect(participants[0][:avatar_link]).to match(STEAM_AVATAR_LINK_REGEXP)
56
56
 
57
57
  expect(participants[-1][:steam_id]).to match(76561198029274581)
58
- expect(participants[-1][:username]).to eql('pony danza (OUT...')
58
+ expect(participants[-1][:username]).to eql('fat vegan torto...')
59
59
  expect(participants[-1][:colour]).to match(HEX_COLOUR_REGEXP)
60
60
  expect(participants[-1][:avatar_link]).to match(STEAM_AVATAR_LINK_REGEXP)
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tf2r
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
  - Justin Kim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2014-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler