validation_issues 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,69 +80,3 @@
80
80
  font-size: 1.1em;
81
81
  font-style: normal;
82
82
  }
83
-
84
- .pretty_table
85
-
86
- .pretty_table table {
87
- width:95%;
88
- border-top:1px solid #E5EFF8;
89
- border-right:1px solid #E5EFF8;
90
- border-left: 1px solid #E5EFF8;
91
- margin:1em auto;
92
- border-collapse:collapse;
93
- }
94
-
95
- .pretty_table td {
96
- color:#678197;
97
- border-bottom:1px solid #E5EFF8;
98
- border-left:1px solid #E5EFF8;
99
- padding:.3em 1em;
100
- text-align:center;
101
- &.left-align {
102
- text-align: left;
103
- }
104
- }
105
-
106
- .pretty_table thead tr .column1_header {
107
- border-left:1px solid #E5EFF8;
108
- }
109
-
110
- .pretty_table tr.odd td,
111
- .pretty_table tr.odd .column1 {
112
- background:#f4f9fe image-url('pretty_table_background.gif') no-repeat;
113
- }
114
-
115
- .pretty_table tbody tr.odd td ,tbody tr.odd td:parent td ,
116
- .pretty_table tbody tr {
117
- &:hover {background:#fdfafd !important;}
118
- }
119
-
120
- .pretty_table .column1 {
121
- background:#f9fcfe;
122
- }
123
-
124
- .pretty_table thead th {
125
- background:#f4f9fe;
126
- text-align:center;
127
- font:bold 1.2em/2em "Century Gothic","Trebuchet MS",Arial,Helvetica,sans-serif;
128
- color:#66a3d3;
129
- }
130
-
131
- .pretty_table tfoot th {
132
- background:#f4f9fe;
133
- text-align:center;
134
- }
135
-
136
- .pretty_table tfoot th strong {
137
- font:bold 1.2em "Century Gothic","Trebuchet MS",Arial,Helvetica,sans-serif;
138
- margin:.5em .5em .5em 0;
139
- color:#66a3d3;
140
- }
141
-
142
- .pretty_table tfoot th em {
143
- color:#f03b58;
144
- font-weight: bold;
145
- font-size: 1.1em;
146
- font-style: normal;
147
- }
148
-
@@ -2,4 +2,4 @@
2
2
  Place all the styles related to the matching controller here.
3
3
  They will automatically be included in application.css.
4
4
  */
5
- //= require_tree ./validation_issues
5
+ //= require_tree ./validation_issues
@@ -1,4 +1,20 @@
1
1
  module ValidationIssues
2
2
  class Engine < ::Rails::Engine
3
+ # Config defaults
4
+ config.mount_at = '/'
5
+
6
+ # Enabling assets precompiling under rails 3.1
7
+ if Rails.version >= '3.1'
8
+ initializer :assets do |config|
9
+ Rails.application.config.assets.precompile += %w( validation_issues.js validation_issues.css )
10
+ end
11
+ end
12
+
13
+ # Check the gem config
14
+ initializer "check config" do |app|
15
+ # make sure mount_at ends with trailing slash
16
+ config.mount_at += '/' unless config.mount_at.last == '/'
17
+ end
18
+
3
19
  end
4
20
  end
@@ -1,3 +1,3 @@
1
1
  module ValidationIssues
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: validation_issues
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Henner
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-07-24 00:00:00 Z
13
+ date: 2012-07-25 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails