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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tf2r/raffle.rb +1 -1
- data/lib/tf2r/version.rb +1 -1
- data/spec/raffle_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51e7ac458b126a02a1d64b5727a528d73c0c8368
|
4
|
+
data.tar.gz: f629f404778265e41bfe2b29cd4560cc0dc37627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 160189fa09c7e256f373acf08147d89ab267899354bc625ea4669afd967d27da9d5222a22127cb8bfbf4470ca467aebce684de1df969a18c3db7ed70c3d669dd
|
7
|
+
data.tar.gz: 9ec08fa9fefb8c8a6ea8bc6ee1b62442e526e8f3d3b754e39c82dbffb6f0471079b34bcd32fbf8650254d73507c442132b1a3147bdf7f1abd45dc34e4eaa7a20
|
data/Gemfile.lock
CHANGED
data/lib/tf2r/raffle.rb
CHANGED
@@ -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
|
data/lib/tf2r/version.rb
CHANGED
data/spec/raffle_spec.rb
CHANGED
@@ -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('
|
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.
|
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-
|
11
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|