redgreengrid 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -11,8 +11,8 @@ module RedGreenGrid
11
11
  case request.user_agent
12
12
  when /(webkit|khtml|presto|trident|gecko)/i
13
13
  $~[1].downcase
14
- when /msie/i
15
- 'trident'
14
+ when /msie (\d)/i
15
+ "trident trident-#{$1}"
16
16
  else
17
17
  'other-browser'
18
18
  end
data/lib/redgreengrid.rb CHANGED
@@ -2,8 +2,11 @@
2
2
 
3
3
  require 'redgreengrid/helpers'
4
4
 
5
- ActionView::Base.class_eval do
6
- include RedGreenGrid::Helpers
5
+ begin
6
+ ActionView::Base.class_eval do
7
+ include RedGreenGrid::Helpers
8
+ end
9
+ rescue
7
10
  end
8
11
 
9
12
  options = {
data/redgreengrid.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{redgreengrid}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nico Hagenburger"]
12
- s.date = %q{2009-12-08}
12
+ s.date = %q{2010-03-04}
13
13
  s.description = %q{RedGreenGred makes it easy for you to build cross-browser baseline grid layouts.}
14
14
  s.email = %q{redgreengrid@hagenburger.net}
15
15
  s.extra_rdoc_files = [
@@ -19,18 +19,6 @@
19
19
  :line-height = !line_height * !lines
20
20
 
21
21
 
22
- =float-left(!lines)
23
- :height = !lines * !line_height
24
- :float left
25
- :margin = 0 !line_height !line_height 0
26
-
27
-
28
- =float-right(!lines)
29
- :height = !lines * !line_height
30
- :float right
31
- :margin = 0 0 !line_height !line_height
32
-
33
-
34
22
  =margin-bottom(!lines = 1)
35
23
  :margin-bottom = !lines * !line_height
36
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redgreengrid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Hagenburger
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-08 00:00:00 +01:00
12
+ date: 2010-03-04 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15