atpruby 0.1.1 → 0.1.2

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: 9be63e7c154cb672c0a825e9e2439304bf50b4ef
4
- data.tar.gz: 37277eec44c0e5d6551ddfceb82223d8534a9c4c
3
+ metadata.gz: 940f715e4df21068f09c9b8f15f388ddfd4edbef
4
+ data.tar.gz: e582802a3c090bad3667f4cf1f9d6cabfe5ea2ea
5
5
  SHA512:
6
- metadata.gz: 66be1af28bf772cae9738a1319dc8c2f6318cacd69563c503208789bf36ff3ffb7842f422596de0fea6f38e41ec0e8364e709410173a184a468d9b4ab74319b3
7
- data.tar.gz: 696e77e2369f37aff4474ab1cb642ebae5702bc8e68cb268fd6c53a277ebd456d5a9811a8603780ecde685e58f6597822d1625baf7ecd01543ee95278761f270
6
+ metadata.gz: 56e2e4939aa9d4486d4a32b4ec8d7e14d01fdc584f5e6cb93831f4b5added322825296710ec1156d753c08e11a311393b97c64fd94fe17d81e6043f3c8227671
7
+ data.tar.gz: bce666dde46697f87db0961fe04895fcb042672fc182a6fe8d0375f458b13cc67cd18ffcea41005acd00e9b8b85f0b42e454a0578c9a2000be1976cec85487c7
@@ -15,4 +15,9 @@ class Match < ActiveRecord::Base
15
15
  def players
16
16
  ::Player.where(player_id:[winner_id,loser_id])
17
17
  end
18
+
19
+ def self.select_compact
20
+ select(:id, :tourney_id, :tourney_name, :surface, :tourney_level, :round,
21
+ :minutes, :winner_id, :winner_name, :loser_id, :loser_name, :score)
22
+ end
18
23
  end
@@ -1,3 +1,3 @@
1
1
  module Atpruby
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atpruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harman Singh