sports_db 0.2.9 → 0.2.10

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.
@@ -96,5 +96,6 @@ setTimeout(function() {
96
96
 
97
97
  Application.clientCallbackHandlers.push(function(name, value) {
98
98
  if (value === 'Back') history.back();
99
+ if (value === 'Menu') history.back();
99
100
  if (value === 'Close') Client.callback('close');
100
101
  });
@@ -1,3 +1,8 @@
1
+ // This is the first gem scss file to be included,
2
+ // so this is hacky... but include defaults here
3
+ // so that apps don't crash
4
+ $flat: false !default;
5
+
1
6
  html, body {
2
7
  background-color: $body_background_color;
3
8
  }
@@ -8,7 +8,11 @@
8
8
 
9
9
  .btn-primary {
10
10
  @extend .gradient-primary;
11
- &.hl { /* TODO */ }
11
+ &.hl { @extend .gradient-primary-hl; }
12
+ }
13
+ .btn-primary-alt {
14
+ @extend .gradient-primary-hl;
15
+ &.hl { @extend .gradient-primary; }
12
16
  }
13
17
  .btn-secondary {
14
18
  @extend .gradient-secondary;
@@ -25,8 +25,27 @@
25
25
  }
26
26
  }
27
27
 
28
- .gradient-primary { @include linearGradient($gradient-primary, 0%); }
29
- .gradient-secondary { @include linearGradient($gradient-secondary, 20%); }
30
- .gradient-secondary-hl { @include linearGradient($gradient-secondary, 20%, true); }
31
- .gradient-secondary-alt { @include linearGradient($gradient-secondary-alt, 10%); }
32
- .gradient-secondary-alt-hl { @include linearGradient($gradient-secondary-alt-hl, 10%); }
28
+ @mixin background($gradient-color, $percentage: 0%) {
29
+ @if lightness($gradient-color) > lightness(#aaa) {
30
+ color: #666;
31
+ } @else {
32
+ color: #fff;
33
+ }
34
+
35
+ background-color: darken($gradient-color, $percentage);
36
+ }
37
+
38
+ @if $flat {
39
+ .gradient-primary { @include background($gradient-primary); }
40
+ .gradient-primary-hl { @include background($gradient-primary, 10%); }
41
+ .gradient-secondary { @include background($gradient-secondary); }
42
+ .gradient-secondary-hl { @include background($gradient-secondary, 10%); }
43
+ .gradient-secondary-alt { @include background($gradient-secondary-alt); }
44
+ .gradient-secondary-alt-hl { @include background($gradient-secondary-alt-hl, 10%); }
45
+ } @else {
46
+ .gradient-primary { @include linearGradient($gradient-primary, 0%); }
47
+ .gradient-secondary { @include linearGradient($gradient-secondary, 20%); }
48
+ .gradient-secondary-hl { @include linearGradient($gradient-secondary, 20%, true); }
49
+ .gradient-secondary-alt { @include linearGradient($gradient-secondary-alt, 10%); }
50
+ .gradient-secondary-alt-hl { @include linearGradient($gradient-secondary-alt-hl, 10%); }
51
+ }
@@ -8,7 +8,6 @@ html body .collapsible_table {
8
8
 
9
9
  .arrow {
10
10
  display: block;
11
- font-size: 10px;
12
11
  text-indent: -10000px;
13
12
  width: 15px;
14
13
  height: 7px;
@@ -7,6 +7,11 @@
7
7
  -webkit-box-pack: center;
8
8
  -webkit-box-align: center;
9
9
  -webkit-box-flex: 1;
10
+
11
+ @if $flat {
12
+ border: 1px solid #A09E9E;
13
+ }
14
+
10
15
  border-bottom: 0 !important;
11
16
 
12
17
  padding: 8px;
@@ -34,5 +39,5 @@
34
39
  .tab_content {
35
40
  overflow-x: hidden;
36
41
  padding: 5px;
37
- background-color: darken($gradient-secondary-alt, 10%);
42
+ background-color: darken($gradient-secondary-alt, 5%);
38
43
  }
@@ -9,5 +9,5 @@
9
9
  # available as extensions to the MAJOR.MINOR.PATCH format.
10
10
 
11
11
  module SportsDb
12
- VERSION = "0.2.9"
12
+ VERSION = "0.2.10"
13
13
  end
metadata CHANGED
@@ -1,58 +1,55 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sports_db
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 2
8
- - 9
9
- version: 0.2.9
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.10
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Alx Dark
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2013-07-31 00:00:00 -07:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-08-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rails
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
25
19
  - - ~>
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 3
29
- - 2
30
- - 13
20
+ - !ruby/object:Gem::Version
31
21
  version: 3.2.13
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: sqlite3
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
- version: "0"
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.13
30
+ - !ruby/object:Gem::Dependency
31
+ name: sqlite3
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
44
38
  type: :development
45
- version_requirements: *id002
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
46
  description: Shared code for the Zumobi sports applications
47
- email:
48
- - "alx.dark@zumobi.com\t"
47
+ email:
48
+ - ! "alx.dark@zumobi.com\t"
49
49
  executables: []
50
-
51
50
  extensions: []
52
-
53
51
  extra_rdoc_files: []
54
-
55
- files:
52
+ files:
56
53
  - app/assets/javascripts/clients/android/client.js
57
54
  - app/assets/javascripts/clients/ios/client.js
58
55
  - app/assets/javascripts/core/App.js
@@ -153,37 +150,61 @@ files:
153
150
  - MIT-LICENSE
154
151
  - Rakefile
155
152
  - README.rdoc
156
- has_rdoc: true
153
+ - test/dummy/app/assets/javascripts/application.js
154
+ - test/dummy/app/assets/stylesheets/application.css
155
+ - test/dummy/app/controllers/application_controller.rb
156
+ - test/dummy/app/helpers/application_helper.rb
157
+ - test/dummy/app/views/layouts/application.html.erb
158
+ - test/dummy/config/application.rb
159
+ - test/dummy/config/boot.rb
160
+ - test/dummy/config/database.yml
161
+ - test/dummy/config/environment.rb
162
+ - test/dummy/config/environments/development.rb
163
+ - test/dummy/config/environments/production.rb
164
+ - test/dummy/config/environments/test.rb
165
+ - test/dummy/config/initializers/backtrace_silencers.rb
166
+ - test/dummy/config/initializers/inflections.rb
167
+ - test/dummy/config/initializers/mime_types.rb
168
+ - test/dummy/config/initializers/secret_token.rb
169
+ - test/dummy/config/initializers/session_store.rb
170
+ - test/dummy/config/initializers/wrap_parameters.rb
171
+ - test/dummy/config/locales/en.yml
172
+ - test/dummy/config/routes.rb
173
+ - test/dummy/config.ru
174
+ - test/dummy/public/404.html
175
+ - test/dummy/public/422.html
176
+ - test/dummy/public/500.html
177
+ - test/dummy/public/favicon.ico
178
+ - test/dummy/Rakefile
179
+ - test/dummy/README.rdoc
180
+ - test/dummy/script/rails
181
+ - test/sports_db_test.rb
182
+ - test/test_helper.rb
157
183
  homepage: http://www.zumobi.com/
158
184
  licenses: []
159
-
160
185
  post_install_message:
161
186
  rdoc_options: []
162
-
163
- require_paths:
187
+ require_paths:
164
188
  - lib
165
- required_ruby_version: !ruby/object:Gem::Requirement
166
- requirements:
167
- - - ">="
168
- - !ruby/object:Gem::Version
169
- segments:
170
- - 0
171
- version: "0"
172
- required_rubygems_version: !ruby/object:Gem::Requirement
173
- requirements:
174
- - - ">="
175
- - !ruby/object:Gem::Version
176
- segments:
177
- - 0
178
- version: "0"
189
+ required_ruby_version: !ruby/object:Gem::Requirement
190
+ none: false
191
+ requirements:
192
+ - - ! '>='
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ required_rubygems_version: !ruby/object:Gem::Requirement
196
+ none: false
197
+ requirements:
198
+ - - ! '>='
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
179
201
  requirements: []
180
-
181
202
  rubyforge_project:
182
- rubygems_version: 1.3.6
203
+ rubygems_version: 1.8.23
183
204
  signing_key:
184
205
  specification_version: 3
185
206
  summary: Shared code for the Zumobi sports applications
186
- test_files:
207
+ test_files:
187
208
  - test/dummy/app/assets/javascripts/application.js
188
209
  - test/dummy/app/assets/stylesheets/application.css
189
210
  - test/dummy/app/controllers/application_controller.rb