moj_template 0.19.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a62f3180ec16dd918a5d5d97f2c3f5f68135e43e
4
- data.tar.gz: 42e98258932a59d7ed10d2c4a1a331822af36f71
3
+ metadata.gz: 76a9fbc45190d1e3016bedb4ac73e27470df19fc
4
+ data.tar.gz: 5cdb93a5b050a342a99835a33a7fcbd5ac7ff678
5
5
  SHA512:
6
- metadata.gz: d690d1c89903a85c8be160ba3f83519501a5db54f6e762c52a306398b9c6109f86fa6e2b2b4e34d988db0c387abbdace907f601eb23f51fb18fab2119df3df96
7
- data.tar.gz: a7b04e4f2658e928d348ce07bf18e36493bad1977b5000dafb4372267edf5dddd69bba3ed010971f22a632a569e238931fcbcb20939c54507396b4d8dd13973a
6
+ metadata.gz: c59a5f814fec293c6c33e96af5b2e769e35bc727ee0e3fc6351fb5c84156d1cfd5273ab409c0dfb81381436eee094270b0ff0ecb9a821c7a4d254e36231ef77e
7
+ data.tar.gz: 9061daba71a93155b62924c1f5adcbd71c4e6e2f1e58d57bb6236a8eca490cd9bd5de7b8281602cb882f6cd661bd610d20d6a75fd5178ff7e69e2b761bbb1d1c
data/README.md CHANGED
@@ -53,6 +53,8 @@ In order for these files to work, you will need to set a number of variables in
53
53
  config.product_type = ''
54
54
  # Feedback URL (URL for feedback link in phase banner)
55
55
  config.feedback_url = ''
56
+ # Supply JavaScript to IE greater than version specified
57
+ config.js_gt_ie = 6
56
58
  # Google Analytics ID (Tracking ID for the service)
57
59
  config.ga_id = ''
58
60
 
@@ -185,7 +185,7 @@
185
185
 
186
186
  <script src="<%= asset_path "govuk-template.js" %>" type="text/javascript"></script>
187
187
 
188
- <!--[if gt IE 6]><!-->
188
+ <!--[if gt IE <%= config_item(:js_gt_ie) %>]><!-->
189
189
  <script src="<%= asset_path "vendor/jquery/jquery-1.11.0.min.js" %>" type="text/javascript"></script>
190
190
  <script src="<%= asset_path "moj.js" %>" type="text/javascript"></script>
191
191
 
@@ -1,3 +1,3 @@
1
1
  module MojTemplate
2
- VERSION = "0.19.0"
2
+ VERSION = "0.20.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moj_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dom Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-24 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails