sportdb-play 0.1.0 → 0.2.0

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.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ Hoe.spec 'sportdb-play' do
12
12
  self.summary = 'sportdb plugin for plays (predictions, betting pool, etc.)'
13
13
  self.description = summary
14
14
 
15
- self.urls = ['http://geraldb.github.com/sport.db']
15
+ self.urls = ['https://github.com/geraldb/sport.db-play']
16
16
 
17
17
  self.author = 'Gerald Bauer'
18
18
  self.email = 'opensport@googlegroups.com'
@@ -11,6 +11,9 @@ class CreateDB
11
11
 
12
12
  ActiveRecord::Schema.define do
13
13
 
14
+ ## NB: assumes a table users already exists with a col key
15
+ ## lets add a check? why? why not?
16
+
14
17
  change_table :games do |t|
15
18
  t.boolean :locked, :null => false, :default => false
16
19
  end
@@ -19,14 +22,6 @@ end
19
22
  ## new tables / create tables
20
23
  ####################################
21
24
 
22
- create_table :users do |t|
23
- t.string :key, :null => false # import/export key
24
- t.timestamps
25
- end
26
-
27
- add_index :users, :key, :unique => true
28
-
29
-
30
25
  create_table :pools do |t|
31
26
  t.references :event, :null => false
32
27
  t.string :title, :null => false
@@ -2,6 +2,6 @@
2
2
  module SportDB ; end # forward reference (for hoe require)
3
3
 
4
4
  module SportDB::Play
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb-play
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gerald Bauer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-12-03 00:00:00 Z
18
+ date: 2012-12-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rdoc
@@ -73,7 +73,7 @@ files:
73
73
  - lib/sportdb/play/models/user.rb
74
74
  - lib/sportdb/play/schema.rb
75
75
  - lib/sportdb/play/version.rb
76
- homepage: http://geraldb.github.com/sport.db
76
+ homepage: https://github.com/geraldb/sport.db-play
77
77
  licenses:
78
78
  - Public Domain
79
79
  post_install_message: