ama_layout 1.1.22 → 1.1.23

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: afd0cb71d1f01480f41ea4d7b1b29432af3f235c
4
- data.tar.gz: 7db9c5bc65e78c84ff9151907fa0c08d1a611964
3
+ metadata.gz: 94ecc73ce0c2137e09ccec64cca8bd5a61934649
4
+ data.tar.gz: 8c517bcb5ddfaff63941cc3992e419736618edde
5
5
  SHA512:
6
- metadata.gz: 5c7e4933d296faf361fb47f1074d24e76e315859eee75e9abfa06e13d32eb45ca7b8ceb09294b1e55c8b756fb887da91c702301be7b4ec5125cb92f82e32c3cf
7
- data.tar.gz: 667d29fcd4d857f4d5ab4fb7d56362d875318d8bc4d08521463bcb280575b601dc3de339a6972bc20b16dbca5283cd9dc610bf41cedd282541a74269b0ef7927
6
+ metadata.gz: c4f603a9a40b071dc7510017ca43de0be0b5a4905a1d8ad9d4d57b6acf8d396de23d5e15222e43a37d74254cdca8f11e7f2bf9dd323df4096157f71737a44f27
7
+ data.tar.gz: 6349101c025811257c7393ea553bf10f04132ba27541589eda9691fe6754d31e419dc76663f1f6e2202fa398b9a3137fdf1570a889ad9966ba5e79c9419241e4
@@ -1,16 +1,23 @@
1
- $(window).bind "load", ->
2
- adjustFooter = ->
3
- $("footer").css({ 'margin-top': calcHeight() + 'px' })
1
+ $(window).bind
2
+ load: ->
3
+ adjustFooter()
4
+ accordionAdjust()
5
+ resize: ->
6
+ adjustFooter()
7
+ accordionAdjust()
4
8
 
5
- calcHeight = ->
6
- footer = $("footer")
7
- position = footer.position()
8
- footer_top = if position is undefined then 0 else position.top
9
- height = $(window).height() - footer_top - footer.height()
10
- Math.max(height, 50)
9
+ adjustFooter = ->
10
+ $("footer").css({ 'margin-top': calcHeight() + 'px' })
11
11
 
12
- adjustFooter()
12
+ accordionAdjust = ->
13
13
  $("a.asset-link.clearfix").click ->
14
14
  setTimeout ->
15
15
  adjustFooter()
16
16
  , 1
17
+
18
+ calcHeight = ->
19
+ footer = $("footer")
20
+ position = footer.position()
21
+ footer_top = if position is undefined then 0 else position.top
22
+ height = $(window).height() - footer_top - footer.height()
23
+ Math.max(height, 50)
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = "1.1.22"
2
+ VERSION = "1.1.23"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.22
4
+ version: 1.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
- date: 2015-10-13 00:00:00.000000000 Z
20
+ date: 2015-10-21 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: foundation-rails
@@ -37,157 +37,157 @@ dependencies:
37
37
  name: rails
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ">="
40
+ - - '>='
41
41
  - !ruby/object:Gem::Version
42
42
  version: '4'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
47
+ - - '>='
48
48
  - !ruby/object:Gem::Version
49
49
  version: '4'
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: sass-rails
52
52
  requirement: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ">="
54
+ - - '>='
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
61
+ - - '>='
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: font-awesome-sass
66
66
  requirement: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">="
68
+ - - '>='
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  type: :runtime
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ">="
75
+ - - '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: draper
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ">="
82
+ - - '>='
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ">="
89
+ - - '>='
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: bundler
94
94
  requirement: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - "~>"
96
+ - - ~>
97
97
  - !ruby/object:Gem::Version
98
98
  version: '1.7'
99
99
  type: :development
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - "~>"
103
+ - - ~>
104
104
  - !ruby/object:Gem::Version
105
105
  version: '1.7'
106
106
  - !ruby/object:Gem::Dependency
107
107
  name: rake
108
108
  requirement: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - "~>"
110
+ - - ~>
111
111
  - !ruby/object:Gem::Version
112
112
  version: '10.0'
113
113
  type: :development
114
114
  prerelease: false
115
115
  version_requirements: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - "~>"
117
+ - - ~>
118
118
  - !ruby/object:Gem::Version
119
119
  version: '10.0'
120
120
  - !ruby/object:Gem::Dependency
121
121
  name: rspec-rails
122
122
  requirement: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - ">="
124
+ - - '>='
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  type: :development
128
128
  prerelease: false
129
129
  version_requirements: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - ">="
131
+ - - '>='
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  - !ruby/object:Gem::Dependency
135
135
  name: simplecov
136
136
  requirement: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - ">="
138
+ - - '>='
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  type: :development
142
142
  prerelease: false
143
143
  version_requirements: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - ">="
145
+ - - '>='
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  - !ruby/object:Gem::Dependency
149
149
  name: pry
150
150
  requirement: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ">="
152
+ - - '>='
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  type: :development
156
156
  prerelease: false
157
157
  version_requirements: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - ">="
159
+ - - '>='
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  - !ruby/object:Gem::Dependency
163
163
  name: combustion
164
164
  requirement: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - ">="
166
+ - - '>='
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  type: :development
170
170
  prerelease: false
171
171
  version_requirements: !ruby/object:Gem::Requirement
172
172
  requirements:
173
- - - ">="
173
+ - - '>='
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  - !ruby/object:Gem::Dependency
177
177
  name: sqlite3
178
178
  requirement: !ruby/object:Gem::Requirement
179
179
  requirements:
180
- - - ">="
180
+ - - '>='
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  type: :development
184
184
  prerelease: false
185
185
  version_requirements: !ruby/object:Gem::Requirement
186
186
  requirements:
187
- - - ">="
187
+ - - '>='
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
- description: ".ama.ab.ca site layouts"
190
+ description: .ama.ab.ca site layouts
191
191
  email:
192
192
  - michael.beuken@gmail.com
193
193
  - ruben.a.estevez@gmail.com
@@ -203,9 +203,9 @@ executables: []
203
203
  extensions: []
204
204
  extra_rdoc_files: []
205
205
  files:
206
- - ".gitignore"
207
- - ".rspec"
208
- - ".simplecov"
206
+ - .gitignore
207
+ - .rspec
208
+ - .simplecov
209
209
  - Gemfile
210
210
  - LICENSE.txt
211
211
  - README.md
@@ -302,20 +302,20 @@ require_paths:
302
302
  - lib
303
303
  required_ruby_version: !ruby/object:Gem::Requirement
304
304
  requirements:
305
- - - ">="
305
+ - - '>='
306
306
  - !ruby/object:Gem::Version
307
307
  version: '0'
308
308
  required_rubygems_version: !ruby/object:Gem::Requirement
309
309
  requirements:
310
- - - ">="
310
+ - - '>='
311
311
  - !ruby/object:Gem::Version
312
312
  version: '0'
313
313
  requirements: []
314
314
  rubyforge_project:
315
- rubygems_version: 2.4.5
315
+ rubygems_version: 2.0.0
316
316
  signing_key:
317
317
  specification_version: 4
318
- summary: ".ama.ab.ca site layouts"
318
+ summary: .ama.ab.ca site layouts
319
319
  test_files:
320
320
  - spec/helpers/ama_layout_content_helper_spec.rb
321
321
  - spec/helpers/ama_layout_path_helper_spec.rb