sports_db 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,10 +10,10 @@
10
10
  );
11
11
  });
12
12
 
13
- // CFB2 only
13
+ // CFB2 & NFL3 only
14
14
  $('#calnav_dropdown').filterable();
15
15
 
16
- // CFB2 only
16
+ // CFB2 & NFL3 only
17
17
  var weekLabel = $id('week_label');
18
18
  if (weekLabel) {
19
19
  weekLabel.innerHTML = $id('calnav_dropdown').options[$id('calnav_dropdown').selectedIndex].text;
@@ -7,6 +7,7 @@
7
7
  #filter,
8
8
  #footer,
9
9
  #team_heading,
10
+ .team-heading,
10
11
  #team_tabs,
11
12
  .tabs {
12
13
  display: none !important;
@@ -64,13 +65,13 @@
64
65
  margin-top: 0;
65
66
  }
66
67
  .summary.hl {
67
- background-color: #ccc !important;
68
+ background-color: $zebra_strip_hl !important;
68
69
  }
69
70
 
70
71
  }
71
72
  .summaries.has_stripes .summary:nth-of-type(2n) {
72
73
  background-color: $zebra_strip_odd;
73
- border: 1px solid #DDD;
74
+ border: 1px solid $zebra_strip_divider;
74
75
  border-width: 1px 0;
75
76
  }
76
77
  .articles {
@@ -99,12 +99,12 @@
99
99
  background-color: $zebra_strip_even;
100
100
  }
101
101
  > tbody > tr > td {
102
- border: 1px solid #DDD;
102
+ border: 1px solid $zebra_strip_divider;
103
103
  border-width: 1px 0;
104
104
  }
105
105
  // Add Tap Highlight style
106
106
  > tbody > tr:nth-of-type(2n).hl > td {
107
- background-color: #c3daed;
107
+ background-color: $zebra_strip_hl;
108
108
  }
109
109
  }
110
110
  //.clip {
@@ -13,8 +13,8 @@
13
13
  <p class="author_and_date">
14
14
  <% if item.is_twitter? %>
15
15
  <%= "via #{item.author} -" unless item.source.blank? %>
16
- <%= short_date item.published_at unless item.published_at.blank? %>
17
- <% else %>
18
- <%= date_time item.published_at unless item.published_at.blank? %>
16
+ <% end %>
17
+ <% if item.published_at.present? %>
18
+ about <%= time_ago_in_words item.published_at %> ago
19
19
  <% end %>
20
20
  </p>
@@ -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.7"
12
+ VERSION = "0.2.8"
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sports_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
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: 2013-07-30 00:00:00.000000000 Z
12
+ date: 2013-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails