Competition 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +14 -0
- data/app/assets/javascripts/competition/leaderboard.js +2 -0
- data/app/assets/stylesheets/competition/leaderboard.css +4 -0
- data/app/controllers/competition/leaderboard_controller.rb +10 -0
- data/app/helpers/competition/leaderboard_helper.rb +4 -0
- data/app/models/competition/score.rb +11 -0
- data/app/models/competition/score_entry.rb +7 -0
- data/app/views/competition/index.html.haml +1 -0
- data/app/views/competition/leaderboard/index.html.haml +12 -0
- data/config/routes.rb +1 -0
- data/db/migrate/20120711201029_create_competition_scores.rb +10 -0
- data/db/migrate/20120711201300_create_competition_score_entries.rb +12 -0
- data/lib/competition.rb +65 -0
- data/lib/competition/version.rb +1 -1
- data/test/dummy/app/models/test_case.rb +9 -0
- data/test/dummy/app/models/user.rb +10 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20120711203936_create_users.rb +9 -0
- data/test/dummy/db/migrate/20120711204952_create_test_cases.rb +9 -0
- data/test/dummy/db/schema.rb +49 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +692 -0
- data/test/dummy/log/test.log +9 -0
- data/test/dummy/test/fixtures/test_cases.yml +7 -0
- data/test/dummy/test/fixtures/tests.yml +11 -0
- data/test/dummy/test/fixtures/users.yml +7 -0
- data/test/dummy/test/unit/test_case_test.rb +7 -0
- data/test/dummy/test/unit/test_test.rb +7 -0
- data/test/dummy/test/unit/user_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/C7F/620/sprockets%2Fd72b51035cf11619b241599f9a09076e +0 -0
- data/test/dummy/tmp/cache/assets/CAB/DB0/sprockets%2F67b070f1d5449422097b3c1af7f4217e +0 -0
- data/test/dummy/tmp/cache/assets/CAF/720/sprockets%2Fb0d81f2e48f10e8d22533b28e7176806 +0 -0
- data/test/dummy/tmp/cache/assets/CDC/DA0/sprockets%2Fe80a33d3411338f321052f5fcf7bd896 +0 -0
- data/test/dummy/tmp/cache/assets/D05/700/sprockets%2F535e73cb913409c0b47ba6245f14a5ed +0 -0
- data/test/dummy/tmp/cache/assets/D1D/680/sprockets%2F2fc57638d98394335c7ae39f14c1e2eb +0 -0
- data/test/dummy/tmp/cache/assets/D36/080/sprockets%2F5c996fa9faf3897243bf07946f9f248d +0 -0
- data/test/dummy/tmp/cache/assets/D5E/330/sprockets%2F4ca523efcb75015359d024ef5d32bdd0 +0 -0
- data/test/dummy/tmp/cache/assets/D73/6E0/sprockets%2F35c017b1eebfdb836545249bc7f1f39f +0 -0
- data/test/dummy/tmp/cache/assets/DB1/7D0/sprockets%2F56f80a6eb42c2c5b59e5e6dcf73f98e3 +0 -0
- data/test/dummy/tmp/cache/assets/DF2/850/sprockets%2F2d3f4f54dd9dea8303904bcba41b0eee +0 -0
- data/test/dummy/tmp/cache/assets/E33/C20/sprockets%2Fffef4e4cba281218e28ccd9de02ae6e9 +0 -0
- data/test/dummy/tmp/cache/assets/E6C/440/sprockets%2Fec82e452be37caed84df785e3bbfcdd9 +0 -0
- data/test/dummy/tmp/cache/assets/EA1/CA0/sprockets%2Ff56d8ed69dc75ea808ebbcfc1b62ffef +0 -0
- data/test/fixtures/competition/score_entries.yml +9 -0
- data/test/fixtures/competition/scores.yml +9 -0
- data/test/functional/competition/leaderboard_controller_test.rb +9 -0
- data/test/unit/competition/score_entry_test.rb +9 -0
- data/test/unit/competition/score_test.rb +9 -0
- data/test/unit/helpers/competition/leaderboard_helper_test.rb +6 -0
- metadata +85 -5
- data/README.rdoc +0 -3
@@ -0,0 +1,9 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
4
|
+
Connecting to database specified by database.yml
|
5
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
+
Connecting to database specified by database.yml
|
8
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Competition
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -51,23 +51,35 @@ extensions: []
|
|
51
51
|
extra_rdoc_files: []
|
52
52
|
files:
|
53
53
|
- app/assets/javascripts/competition/application.js
|
54
|
+
- app/assets/javascripts/competition/leaderboard.js
|
54
55
|
- app/assets/stylesheets/competition/application.css
|
56
|
+
- app/assets/stylesheets/competition/leaderboard.css
|
55
57
|
- app/controllers/competition/application_controller.rb
|
58
|
+
- app/controllers/competition/leaderboard_controller.rb
|
56
59
|
- app/helpers/competition/application_helper.rb
|
60
|
+
- app/helpers/competition/leaderboard_helper.rb
|
61
|
+
- app/models/competition/score.rb
|
62
|
+
- app/models/competition/score_entry.rb
|
63
|
+
- app/views/competition/index.html.haml
|
64
|
+
- app/views/competition/leaderboard/index.html.haml
|
57
65
|
- app/views/layouts/competition/application.html.erb
|
58
66
|
- config/routes.rb
|
67
|
+
- db/migrate/20120711201029_create_competition_scores.rb
|
68
|
+
- db/migrate/20120711201300_create_competition_score_entries.rb
|
59
69
|
- lib/competition/engine.rb
|
60
70
|
- lib/competition/version.rb
|
61
71
|
- lib/competition.rb
|
62
72
|
- lib/tasks/competition_tasks.rake
|
63
73
|
- MIT-LICENSE
|
64
74
|
- Rakefile
|
65
|
-
- README.
|
75
|
+
- README.md
|
66
76
|
- test/competition_test.rb
|
67
77
|
- test/dummy/app/assets/javascripts/application.js
|
68
78
|
- test/dummy/app/assets/stylesheets/application.css
|
69
79
|
- test/dummy/app/controllers/application_controller.rb
|
70
80
|
- test/dummy/app/helpers/application_helper.rb
|
81
|
+
- test/dummy/app/models/test_case.rb
|
82
|
+
- test/dummy/app/models/user.rb
|
71
83
|
- test/dummy/app/views/layouts/application.html.erb
|
72
84
|
- test/dummy/config/application.rb
|
73
85
|
- test/dummy/config/boot.rb
|
@@ -85,6 +97,13 @@ files:
|
|
85
97
|
- test/dummy/config/locales/en.yml
|
86
98
|
- test/dummy/config/routes.rb
|
87
99
|
- test/dummy/config.ru
|
100
|
+
- test/dummy/db/development.sqlite3
|
101
|
+
- test/dummy/db/migrate/20120711203936_create_users.rb
|
102
|
+
- test/dummy/db/migrate/20120711204952_create_test_cases.rb
|
103
|
+
- test/dummy/db/schema.rb
|
104
|
+
- test/dummy/db/test.sqlite3
|
105
|
+
- test/dummy/log/development.log
|
106
|
+
- test/dummy/log/test.log
|
88
107
|
- test/dummy/public/404.html
|
89
108
|
- test/dummy/public/422.html
|
90
109
|
- test/dummy/public/500.html
|
@@ -92,8 +111,34 @@ files:
|
|
92
111
|
- test/dummy/Rakefile
|
93
112
|
- test/dummy/README.rdoc
|
94
113
|
- test/dummy/script/rails
|
114
|
+
- test/dummy/test/fixtures/test_cases.yml
|
115
|
+
- test/dummy/test/fixtures/tests.yml
|
116
|
+
- test/dummy/test/fixtures/users.yml
|
117
|
+
- test/dummy/test/unit/test_case_test.rb
|
118
|
+
- test/dummy/test/unit/test_test.rb
|
119
|
+
- test/dummy/test/unit/user_test.rb
|
120
|
+
- test/dummy/tmp/cache/assets/C7F/620/sprockets%2Fd72b51035cf11619b241599f9a09076e
|
121
|
+
- test/dummy/tmp/cache/assets/CAB/DB0/sprockets%2F67b070f1d5449422097b3c1af7f4217e
|
122
|
+
- test/dummy/tmp/cache/assets/CAF/720/sprockets%2Fb0d81f2e48f10e8d22533b28e7176806
|
123
|
+
- test/dummy/tmp/cache/assets/CDC/DA0/sprockets%2Fe80a33d3411338f321052f5fcf7bd896
|
124
|
+
- test/dummy/tmp/cache/assets/D05/700/sprockets%2F535e73cb913409c0b47ba6245f14a5ed
|
125
|
+
- test/dummy/tmp/cache/assets/D1D/680/sprockets%2F2fc57638d98394335c7ae39f14c1e2eb
|
126
|
+
- test/dummy/tmp/cache/assets/D36/080/sprockets%2F5c996fa9faf3897243bf07946f9f248d
|
127
|
+
- test/dummy/tmp/cache/assets/D5E/330/sprockets%2F4ca523efcb75015359d024ef5d32bdd0
|
128
|
+
- test/dummy/tmp/cache/assets/D73/6E0/sprockets%2F35c017b1eebfdb836545249bc7f1f39f
|
129
|
+
- test/dummy/tmp/cache/assets/DB1/7D0/sprockets%2F56f80a6eb42c2c5b59e5e6dcf73f98e3
|
130
|
+
- test/dummy/tmp/cache/assets/DF2/850/sprockets%2F2d3f4f54dd9dea8303904bcba41b0eee
|
131
|
+
- test/dummy/tmp/cache/assets/E33/C20/sprockets%2Fffef4e4cba281218e28ccd9de02ae6e9
|
132
|
+
- test/dummy/tmp/cache/assets/E6C/440/sprockets%2Fec82e452be37caed84df785e3bbfcdd9
|
133
|
+
- test/dummy/tmp/cache/assets/EA1/CA0/sprockets%2Ff56d8ed69dc75ea808ebbcfc1b62ffef
|
134
|
+
- test/fixtures/competition/score_entries.yml
|
135
|
+
- test/fixtures/competition/scores.yml
|
136
|
+
- test/functional/competition/leaderboard_controller_test.rb
|
95
137
|
- test/integration/navigation_test.rb
|
96
138
|
- test/test_helper.rb
|
139
|
+
- test/unit/competition/score_entry_test.rb
|
140
|
+
- test/unit/competition/score_test.rb
|
141
|
+
- test/unit/helpers/competition/leaderboard_helper_test.rb
|
97
142
|
homepage: http://github.com/isotope11/competition
|
98
143
|
licenses: []
|
99
144
|
post_install_message:
|
@@ -108,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
153
|
version: '0'
|
109
154
|
segments:
|
110
155
|
- 0
|
111
|
-
hash:
|
156
|
+
hash: 2579730062935922735
|
112
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
158
|
none: false
|
114
159
|
requirements:
|
@@ -117,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
162
|
version: '0'
|
118
163
|
segments:
|
119
164
|
- 0
|
120
|
-
hash:
|
165
|
+
hash: 2579730062935922735
|
121
166
|
requirements: []
|
122
167
|
rubyforge_project:
|
123
168
|
rubygems_version: 1.8.24
|
@@ -130,6 +175,8 @@ test_files:
|
|
130
175
|
- test/dummy/app/assets/stylesheets/application.css
|
131
176
|
- test/dummy/app/controllers/application_controller.rb
|
132
177
|
- test/dummy/app/helpers/application_helper.rb
|
178
|
+
- test/dummy/app/models/test_case.rb
|
179
|
+
- test/dummy/app/models/user.rb
|
133
180
|
- test/dummy/app/views/layouts/application.html.erb
|
134
181
|
- test/dummy/config/application.rb
|
135
182
|
- test/dummy/config/boot.rb
|
@@ -147,6 +194,13 @@ test_files:
|
|
147
194
|
- test/dummy/config/locales/en.yml
|
148
195
|
- test/dummy/config/routes.rb
|
149
196
|
- test/dummy/config.ru
|
197
|
+
- test/dummy/db/development.sqlite3
|
198
|
+
- test/dummy/db/migrate/20120711203936_create_users.rb
|
199
|
+
- test/dummy/db/migrate/20120711204952_create_test_cases.rb
|
200
|
+
- test/dummy/db/schema.rb
|
201
|
+
- test/dummy/db/test.sqlite3
|
202
|
+
- test/dummy/log/development.log
|
203
|
+
- test/dummy/log/test.log
|
150
204
|
- test/dummy/public/404.html
|
151
205
|
- test/dummy/public/422.html
|
152
206
|
- test/dummy/public/500.html
|
@@ -154,5 +208,31 @@ test_files:
|
|
154
208
|
- test/dummy/Rakefile
|
155
209
|
- test/dummy/README.rdoc
|
156
210
|
- test/dummy/script/rails
|
211
|
+
- test/dummy/test/fixtures/test_cases.yml
|
212
|
+
- test/dummy/test/fixtures/tests.yml
|
213
|
+
- test/dummy/test/fixtures/users.yml
|
214
|
+
- test/dummy/test/unit/test_case_test.rb
|
215
|
+
- test/dummy/test/unit/test_test.rb
|
216
|
+
- test/dummy/test/unit/user_test.rb
|
217
|
+
- test/dummy/tmp/cache/assets/C7F/620/sprockets%2Fd72b51035cf11619b241599f9a09076e
|
218
|
+
- test/dummy/tmp/cache/assets/CAB/DB0/sprockets%2F67b070f1d5449422097b3c1af7f4217e
|
219
|
+
- test/dummy/tmp/cache/assets/CAF/720/sprockets%2Fb0d81f2e48f10e8d22533b28e7176806
|
220
|
+
- test/dummy/tmp/cache/assets/CDC/DA0/sprockets%2Fe80a33d3411338f321052f5fcf7bd896
|
221
|
+
- test/dummy/tmp/cache/assets/D05/700/sprockets%2F535e73cb913409c0b47ba6245f14a5ed
|
222
|
+
- test/dummy/tmp/cache/assets/D1D/680/sprockets%2F2fc57638d98394335c7ae39f14c1e2eb
|
223
|
+
- test/dummy/tmp/cache/assets/D36/080/sprockets%2F5c996fa9faf3897243bf07946f9f248d
|
224
|
+
- test/dummy/tmp/cache/assets/D5E/330/sprockets%2F4ca523efcb75015359d024ef5d32bdd0
|
225
|
+
- test/dummy/tmp/cache/assets/D73/6E0/sprockets%2F35c017b1eebfdb836545249bc7f1f39f
|
226
|
+
- test/dummy/tmp/cache/assets/DB1/7D0/sprockets%2F56f80a6eb42c2c5b59e5e6dcf73f98e3
|
227
|
+
- test/dummy/tmp/cache/assets/DF2/850/sprockets%2F2d3f4f54dd9dea8303904bcba41b0eee
|
228
|
+
- test/dummy/tmp/cache/assets/E33/C20/sprockets%2Fffef4e4cba281218e28ccd9de02ae6e9
|
229
|
+
- test/dummy/tmp/cache/assets/E6C/440/sprockets%2Fec82e452be37caed84df785e3bbfcdd9
|
230
|
+
- test/dummy/tmp/cache/assets/EA1/CA0/sprockets%2Ff56d8ed69dc75ea808ebbcfc1b62ffef
|
231
|
+
- test/fixtures/competition/score_entries.yml
|
232
|
+
- test/fixtures/competition/scores.yml
|
233
|
+
- test/functional/competition/leaderboard_controller_test.rb
|
157
234
|
- test/integration/navigation_test.rb
|
158
235
|
- test/test_helper.rb
|
236
|
+
- test/unit/competition/score_entry_test.rb
|
237
|
+
- test/unit/competition/score_test.rb
|
238
|
+
- test/unit/helpers/competition/leaderboard_helper_test.rb
|
data/README.rdoc
DELETED