va_common 0.3.4 → 0.3.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 654e8b4611a707770dd20198e72aa2717e02f1aa
4
- data.tar.gz: 0e014a8a96f7e34f31c2758e119f1796bb359a10
3
+ metadata.gz: f538f6a8a8e7d9a73b2bd006d377d86fc4d1c0ae
4
+ data.tar.gz: b30fe6602e17a96f3c6f7b7f747551c0ffd52927
5
5
  SHA512:
6
- metadata.gz: 443d8b94e831c7fa0dfdec69bf81bf159ab33c93dcd5e579892dd52ea1f8a643bb357daba66c0d49feca9c732516b206952e8bf9e3c4370457083f5c881343a1
7
- data.tar.gz: def8a6dccb467326a01a7dfaa980d6d6bca0a544cb9dd21a3eda3ef061297b77b9fd4b71368831fc8507929f693e31591d1f3a7f5d6c4a50d8fe4ae3da120860
6
+ metadata.gz: c18dd368198785d53995c4a1bd38e0a500094524345241073cef3bd916c2e68bcdabb949f95eaaf8ad41716651fca1321508356a3089b3a7d596e00c730aa4d0
7
+ data.tar.gz: c7810469b4fe3741c6629ec4add5c450c3d1df74726c48fd1f47c30197726ca12bbeb578e4daa269a5629f7f530a04587fb9c2ac6c1b2566b36d929a2e87958c
data/README.md CHANGED
@@ -36,6 +36,29 @@ You may also include `va_common/header` and `va_common/footer` separately.
36
36
 
37
37
  IMPORTANT: Rails must be restarted after installing this gem to ensure the search paths for partials are found.
38
38
 
39
+ ### Special IE <3
40
+
41
+ To get around the special selector limits of IE9, there is a gem called [css_splitter](https://github.com/zweilove/css_splitter) included. To make it go:
42
+
43
+ Add this to the config/initializers/assets.rb file
44
+
45
+ Rails.application.config.assets.precompile += %w( application_split2.css)
46
+
47
+ Add this to views/layouts/application.html.rb in the head tag
48
+
49
+
50
+ <%= split_stylesheet_link_tag "application", :media => "all" %>
51
+
52
+ <!--[if lte IE 9]>
53
+ <link href="/stylesheets/application_split2.css" media="all" rel="stylesheet" type="text/css" />
54
+ <![endif]-->
55
+
56
+ Create a new file called application_split2.css to the same directory as application.css.scss, and put this in it
57
+
58
+ /*
59
+ *= require 'application'
60
+ */
61
+
39
62
  ## Development
40
63
 
41
64
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,3 +1,3 @@
1
1
  module VaCommon
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
data/va_common.gemspec CHANGED
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
34
34
  spec.add_runtime_dependency "selectivizr-rails", "~> 1.1.2"
35
35
  spec.add_runtime_dependency "wow-rails", "~> 0.0.1"
36
36
  spec.add_runtime_dependency "font-awesome-rails", "~> 4.5.0.0"
37
+ spec.add_runtime_dependency "css_splitter", "~> 0.4.4"
37
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: va_common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emily Wright-Moore
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-21 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -234,6 +234,20 @@ dependencies:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
236
  version: 4.5.0.0
237
+ - !ruby/object:Gem::Dependency
238
+ name: css_splitter
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: 0.4.4
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: 0.4.4
237
251
  description:
238
252
  email:
239
253
  - emily.wright-moore@va.gov
@@ -372,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
372
386
  version: '0'
373
387
  requirements: []
374
388
  rubyforge_project:
375
- rubygems_version: 2.2.2
389
+ rubygems_version: 2.4.5.1
376
390
  signing_key:
377
391
  specification_version: 4
378
392
  summary: common elements - header and footer for vets.gov