govuk_frontend_toolkit 0.41.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/.gitignore +3 -0
  2. data/.gitmodules +3 -0
  3. data/CONTRIBUTING.md +13 -0
  4. data/Gemfile +4 -0
  5. data/LICENCE +20 -0
  6. data/README.md +46 -0
  7. data/Rakefile +16 -0
  8. data/app/assets/.gitignore +1 -0
  9. data/app/assets/.travis.yml +3 -0
  10. data/app/assets/CONTRIBUTING.md +18 -0
  11. data/app/assets/Gruntfile.js +19 -0
  12. data/app/assets/LICENCE +20 -0
  13. data/app/assets/README.md +675 -0
  14. data/app/assets/images/crests/bis_crest_13px.png +0 -0
  15. data/app/assets/images/crests/bis_crest_13px_x2.png +0 -0
  16. data/app/assets/images/crests/bis_crest_18px.png +0 -0
  17. data/app/assets/images/crests/bis_crest_18px_x2.png +0 -0
  18. data/app/assets/images/crests/bis_crest_27px.png +0 -0
  19. data/app/assets/images/crests/bis_crest_27px_x2.png +0 -0
  20. data/app/assets/images/crests/coastguard_13px.png +0 -0
  21. data/app/assets/images/crests/coastguard_13px_x2.png +0 -0
  22. data/app/assets/images/crests/coastguard_18px.png +0 -0
  23. data/app/assets/images/crests/coastguard_18px_x2.png +0 -0
  24. data/app/assets/images/crests/coastguard_27px.png +0 -0
  25. data/app/assets/images/crests/coastguard_27px_x2.png +0 -0
  26. data/app/assets/images/crests/hmrc_crest_13px.png +0 -0
  27. data/app/assets/images/crests/hmrc_crest_13px_x2.png +0 -0
  28. data/app/assets/images/crests/hmrc_crest_18px.png +0 -0
  29. data/app/assets/images/crests/hmrc_crest_18px_x2.png +0 -0
  30. data/app/assets/images/crests/hmrc_crest_27px.png +0 -0
  31. data/app/assets/images/crests/hmrc_crest_27px_x2.png +0 -0
  32. data/app/assets/images/crests/ho_crest_13px.png +0 -0
  33. data/app/assets/images/crests/ho_crest_13px_x2.png +0 -0
  34. data/app/assets/images/crests/ho_crest_18px.png +0 -0
  35. data/app/assets/images/crests/ho_crest_18px_x2.png +0 -0
  36. data/app/assets/images/crests/ho_crest_27px.png +0 -0
  37. data/app/assets/images/crests/ho_crest_27px_x2.png +0 -0
  38. data/app/assets/images/crests/mod_crest_13px.png +0 -0
  39. data/app/assets/images/crests/mod_crest_13px_x2.png +0 -0
  40. data/app/assets/images/crests/mod_crest_18px.png +0 -0
  41. data/app/assets/images/crests/mod_crest_18px_x2.png +0 -0
  42. data/app/assets/images/crests/mod_crest_27px.png +0 -0
  43. data/app/assets/images/crests/mod_crest_27px_x2.png +0 -0
  44. data/app/assets/images/crests/org_crest_13px.png +0 -0
  45. data/app/assets/images/crests/org_crest_13px_x2.png +0 -0
  46. data/app/assets/images/crests/org_crest_18px.png +0 -0
  47. data/app/assets/images/crests/org_crest_18px_x2.png +0 -0
  48. data/app/assets/images/crests/org_crest_27px.png +0 -0
  49. data/app/assets/images/crests/org_crest_27px_x2.png +0 -0
  50. data/app/assets/images/crests/portcullis_13px.png +0 -0
  51. data/app/assets/images/crests/portcullis_13px_x2.png +0 -0
  52. data/app/assets/images/crests/portcullis_18px.png +0 -0
  53. data/app/assets/images/crests/portcullis_18px_x2.png +0 -0
  54. data/app/assets/images/crests/portcullis_27px.png +0 -0
  55. data/app/assets/images/crests/portcullis_27px_x2.png +0 -0
  56. data/app/assets/images/crests/so_crest_13px.png +0 -0
  57. data/app/assets/images/crests/so_crest_13px_x2.png +0 -0
  58. data/app/assets/images/crests/so_crest_18px.png +0 -0
  59. data/app/assets/images/crests/so_crest_18px_x2.png +0 -0
  60. data/app/assets/images/crests/so_crest_27px.png +0 -0
  61. data/app/assets/images/crests/so_crest_27px_x2.png +0 -0
  62. data/app/assets/images/crests/ukaea_crest_13px.png +0 -0
  63. data/app/assets/images/crests/ukaea_crest_13px_x2.png +0 -0
  64. data/app/assets/images/crests/ukaea_crest_18px.png +0 -0
  65. data/app/assets/images/crests/ukaea_crest_18px_x2.png +0 -0
  66. data/app/assets/images/crests/ukaea_crest_27px.png +0 -0
  67. data/app/assets/images/crests/ukaea_crest_27px_x2.png +0 -0
  68. data/app/assets/images/crests/ukho_13px.png +0 -0
  69. data/app/assets/images/crests/ukho_13px_x2.png +0 -0
  70. data/app/assets/images/crests/ukho_18px.png +0 -0
  71. data/app/assets/images/crests/ukho_18px_x2.png +0 -0
  72. data/app/assets/images/crests/ukho_27px.png +0 -0
  73. data/app/assets/images/crests/ukho_27px_x2.png +0 -0
  74. data/app/assets/images/crests/wales_crest_13px.png +0 -0
  75. data/app/assets/images/crests/wales_crest_13px_x2.png +0 -0
  76. data/app/assets/images/crests/wales_crest_18px.png +0 -0
  77. data/app/assets/images/crests/wales_crest_18px_x2.png +0 -0
  78. data/app/assets/images/crests/wales_crest_27px.png +0 -0
  79. data/app/assets/images/crests/wales_crest_27px_x2.png +0 -0
  80. data/app/assets/images/external-links/external-link-24x24.png +0 -0
  81. data/app/assets/images/external-links/external-link-black-12x12.png +0 -0
  82. data/app/assets/images/external-links/external-link-black-24x24.png +0 -0
  83. data/app/assets/images/external-links/external-link.png +0 -0
  84. data/app/assets/images/icon-steps/icon-step-1-2x.png +0 -0
  85. data/app/assets/images/icon-steps/icon-step-1.png +0 -0
  86. data/app/assets/images/icon-steps/icon-step-10-2x.png +0 -0
  87. data/app/assets/images/icon-steps/icon-step-10.png +0 -0
  88. data/app/assets/images/icon-steps/icon-step-11-2x.png +0 -0
  89. data/app/assets/images/icon-steps/icon-step-11.png +0 -0
  90. data/app/assets/images/icon-steps/icon-step-12-2x.png +0 -0
  91. data/app/assets/images/icon-steps/icon-step-12.png +0 -0
  92. data/app/assets/images/icon-steps/icon-step-13-2x.png +0 -0
  93. data/app/assets/images/icon-steps/icon-step-13.png +0 -0
  94. data/app/assets/images/icon-steps/icon-step-14-2x.png +0 -0
  95. data/app/assets/images/icon-steps/icon-step-14.png +0 -0
  96. data/app/assets/images/icon-steps/icon-step-2-2x.png +0 -0
  97. data/app/assets/images/icon-steps/icon-step-2.png +0 -0
  98. data/app/assets/images/icon-steps/icon-step-3-2x.png +0 -0
  99. data/app/assets/images/icon-steps/icon-step-3.png +0 -0
  100. data/app/assets/images/icon-steps/icon-step-4-2x.png +0 -0
  101. data/app/assets/images/icon-steps/icon-step-4.png +0 -0
  102. data/app/assets/images/icon-steps/icon-step-5-2x.png +0 -0
  103. data/app/assets/images/icon-steps/icon-step-5.png +0 -0
  104. data/app/assets/images/icon-steps/icon-step-6-2x.png +0 -0
  105. data/app/assets/images/icon-steps/icon-step-6.png +0 -0
  106. data/app/assets/images/icon-steps/icon-step-7-2x.png +0 -0
  107. data/app/assets/images/icon-steps/icon-step-7.png +0 -0
  108. data/app/assets/images/icon-steps/icon-step-8-2x.png +0 -0
  109. data/app/assets/images/icon-steps/icon-step-8.png +0 -0
  110. data/app/assets/images/icon-steps/icon-step-9-2x.png +0 -0
  111. data/app/assets/images/icon-steps/icon-step-9.png +0 -0
  112. data/app/assets/images/player-icon-forward.png +0 -0
  113. data/app/assets/images/player-icon-pause.png +0 -0
  114. data/app/assets/images/player-icon-play.png +0 -0
  115. data/app/assets/images/player-icon-rewind.png +0 -0
  116. data/app/assets/images/player-icon-volume.png +0 -0
  117. data/app/assets/javascripts/govuk/multivariate-test.js +101 -0
  118. data/app/assets/javascripts/govuk/stop-scrolling-at-footer.js +138 -0
  119. data/app/assets/javascripts/govuk_toolkit.js +1 -0
  120. data/app/assets/javascripts/stageprompt.js +63 -0
  121. data/app/assets/javascripts/vendor/jquery/jquery.player.min.js +25 -0
  122. data/app/assets/jenkins.sh +5 -0
  123. data/app/assets/package.json +14 -0
  124. data/app/assets/spec/MultivariateTestSpec.js +166 -0
  125. data/app/assets/stylesheets/.gitkeep +0 -0
  126. data/app/assets/stylesheets/_colours.scss +104 -0
  127. data/app/assets/stylesheets/_conditionals.scss +85 -0
  128. data/app/assets/stylesheets/_css3.scss +61 -0
  129. data/app/assets/stylesheets/_device-pixels.scss +11 -0
  130. data/app/assets/stylesheets/_font_stack.scss +40 -0
  131. data/app/assets/stylesheets/_measurements.scss +7 -0
  132. data/app/assets/stylesheets/_shims.scss +57 -0
  133. data/app/assets/stylesheets/_typography.scss +400 -0
  134. data/app/assets/stylesheets/design-patterns/_alpha-beta.scss +49 -0
  135. data/app/assets/stylesheets/design-patterns/_buttons.scss +142 -0
  136. data/app/assets/stylesheets/design-patterns/_media-player.scss +232 -0
  137. data/govuk_frontend_toolkit.gemspec +50 -0
  138. data/jenkins.sh +8 -0
  139. data/lib/govuk_frontend_toolkit.rb +4 -0
  140. data/lib/govuk_frontend_toolkit/engine.rb +4 -0
  141. data/lib/govuk_frontend_toolkit/version.rb +3 -0
  142. metadata +273 -0
data/jenkins.sh ADDED
@@ -0,0 +1,8 @@
1
+ #!/bin/sh
2
+ set -e
3
+ git submodule init
4
+ git submodule update
5
+ rm -f Gemfile.lock
6
+ bundle install --path "${HOME}/bundles/${JOB_NAME}"
7
+ bundle exec rake
8
+ bundle exec rake publish_gem
@@ -0,0 +1,4 @@
1
+ module GovUKFrontendToolkit
2
+ require 'govuk_frontend_toolkit/engine'
3
+ autoload 'Version', 'govuk_frontend_toolkit/version'
4
+ end
@@ -0,0 +1,4 @@
1
+ module GovUKFrontendToolkit
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module GovUKFrontendToolkit
2
+ VERSION = "0.41.1"
3
+ end
metadata ADDED
@@ -0,0 +1,273 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: govuk_frontend_toolkit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.41.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Bradley Wright
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-01-29 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.1.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: sass
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 3.2.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 3.2.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: gem_publisher
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - '='
52
+ - !ruby/object:Gem::Version
53
+ version: 1.2.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.2.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - '='
68
+ - !ruby/object:Gem::Version
69
+ version: 0.9.2.2
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - '='
76
+ - !ruby/object:Gem::Version
77
+ version: 0.9.2.2
78
+ - !ruby/object:Gem::Dependency
79
+ name: gemfury
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - '='
84
+ - !ruby/object:Gem::Version
85
+ version: 0.4.12
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - '='
92
+ - !ruby/object:Gem::Version
93
+ version: 0.4.12
94
+ description:
95
+ email: bradley.wright@digital.cabinet-office.gov.uk
96
+ executables: []
97
+ extensions: []
98
+ extra_rdoc_files: []
99
+ files:
100
+ - .gitignore
101
+ - .gitmodules
102
+ - CONTRIBUTING.md
103
+ - Gemfile
104
+ - LICENCE
105
+ - README.md
106
+ - Rakefile
107
+ - govuk_frontend_toolkit.gemspec
108
+ - jenkins.sh
109
+ - lib/govuk_frontend_toolkit.rb
110
+ - lib/govuk_frontend_toolkit/engine.rb
111
+ - lib/govuk_frontend_toolkit/version.rb
112
+ - app/assets/.gitignore
113
+ - app/assets/.travis.yml
114
+ - app/assets/CONTRIBUTING.md
115
+ - app/assets/Gruntfile.js
116
+ - app/assets/LICENCE
117
+ - app/assets/README.md
118
+ - app/assets/images/crests/bis_crest_13px.png
119
+ - app/assets/images/crests/bis_crest_13px_x2.png
120
+ - app/assets/images/crests/bis_crest_18px.png
121
+ - app/assets/images/crests/bis_crest_18px_x2.png
122
+ - app/assets/images/crests/bis_crest_27px.png
123
+ - app/assets/images/crests/bis_crest_27px_x2.png
124
+ - app/assets/images/crests/coastguard_13px.png
125
+ - app/assets/images/crests/coastguard_13px_x2.png
126
+ - app/assets/images/crests/coastguard_18px.png
127
+ - app/assets/images/crests/coastguard_18px_x2.png
128
+ - app/assets/images/crests/coastguard_27px.png
129
+ - app/assets/images/crests/coastguard_27px_x2.png
130
+ - app/assets/images/crests/hmrc_crest_13px.png
131
+ - app/assets/images/crests/hmrc_crest_13px_x2.png
132
+ - app/assets/images/crests/hmrc_crest_18px.png
133
+ - app/assets/images/crests/hmrc_crest_18px_x2.png
134
+ - app/assets/images/crests/hmrc_crest_27px.png
135
+ - app/assets/images/crests/hmrc_crest_27px_x2.png
136
+ - app/assets/images/crests/ho_crest_13px.png
137
+ - app/assets/images/crests/ho_crest_13px_x2.png
138
+ - app/assets/images/crests/ho_crest_18px.png
139
+ - app/assets/images/crests/ho_crest_18px_x2.png
140
+ - app/assets/images/crests/ho_crest_27px.png
141
+ - app/assets/images/crests/ho_crest_27px_x2.png
142
+ - app/assets/images/crests/mod_crest_13px.png
143
+ - app/assets/images/crests/mod_crest_13px_x2.png
144
+ - app/assets/images/crests/mod_crest_18px.png
145
+ - app/assets/images/crests/mod_crest_18px_x2.png
146
+ - app/assets/images/crests/mod_crest_27px.png
147
+ - app/assets/images/crests/mod_crest_27px_x2.png
148
+ - app/assets/images/crests/org_crest_13px.png
149
+ - app/assets/images/crests/org_crest_13px_x2.png
150
+ - app/assets/images/crests/org_crest_18px.png
151
+ - app/assets/images/crests/org_crest_18px_x2.png
152
+ - app/assets/images/crests/org_crest_27px.png
153
+ - app/assets/images/crests/org_crest_27px_x2.png
154
+ - app/assets/images/crests/portcullis_13px.png
155
+ - app/assets/images/crests/portcullis_13px_x2.png
156
+ - app/assets/images/crests/portcullis_18px.png
157
+ - app/assets/images/crests/portcullis_18px_x2.png
158
+ - app/assets/images/crests/portcullis_27px.png
159
+ - app/assets/images/crests/portcullis_27px_x2.png
160
+ - app/assets/images/crests/so_crest_13px.png
161
+ - app/assets/images/crests/so_crest_13px_x2.png
162
+ - app/assets/images/crests/so_crest_18px.png
163
+ - app/assets/images/crests/so_crest_18px_x2.png
164
+ - app/assets/images/crests/so_crest_27px.png
165
+ - app/assets/images/crests/so_crest_27px_x2.png
166
+ - app/assets/images/crests/ukaea_crest_13px.png
167
+ - app/assets/images/crests/ukaea_crest_13px_x2.png
168
+ - app/assets/images/crests/ukaea_crest_18px.png
169
+ - app/assets/images/crests/ukaea_crest_18px_x2.png
170
+ - app/assets/images/crests/ukaea_crest_27px.png
171
+ - app/assets/images/crests/ukaea_crest_27px_x2.png
172
+ - app/assets/images/crests/ukho_13px.png
173
+ - app/assets/images/crests/ukho_13px_x2.png
174
+ - app/assets/images/crests/ukho_18px.png
175
+ - app/assets/images/crests/ukho_18px_x2.png
176
+ - app/assets/images/crests/ukho_27px.png
177
+ - app/assets/images/crests/ukho_27px_x2.png
178
+ - app/assets/images/crests/wales_crest_13px.png
179
+ - app/assets/images/crests/wales_crest_13px_x2.png
180
+ - app/assets/images/crests/wales_crest_18px.png
181
+ - app/assets/images/crests/wales_crest_18px_x2.png
182
+ - app/assets/images/crests/wales_crest_27px.png
183
+ - app/assets/images/crests/wales_crest_27px_x2.png
184
+ - app/assets/images/external-links/external-link-24x24.png
185
+ - app/assets/images/external-links/external-link-black-12x12.png
186
+ - app/assets/images/external-links/external-link-black-24x24.png
187
+ - app/assets/images/external-links/external-link.png
188
+ - app/assets/images/icon-steps/icon-step-1-2x.png
189
+ - app/assets/images/icon-steps/icon-step-1.png
190
+ - app/assets/images/icon-steps/icon-step-10-2x.png
191
+ - app/assets/images/icon-steps/icon-step-10.png
192
+ - app/assets/images/icon-steps/icon-step-11-2x.png
193
+ - app/assets/images/icon-steps/icon-step-11.png
194
+ - app/assets/images/icon-steps/icon-step-12-2x.png
195
+ - app/assets/images/icon-steps/icon-step-12.png
196
+ - app/assets/images/icon-steps/icon-step-13-2x.png
197
+ - app/assets/images/icon-steps/icon-step-13.png
198
+ - app/assets/images/icon-steps/icon-step-14-2x.png
199
+ - app/assets/images/icon-steps/icon-step-14.png
200
+ - app/assets/images/icon-steps/icon-step-2-2x.png
201
+ - app/assets/images/icon-steps/icon-step-2.png
202
+ - app/assets/images/icon-steps/icon-step-3-2x.png
203
+ - app/assets/images/icon-steps/icon-step-3.png
204
+ - app/assets/images/icon-steps/icon-step-4-2x.png
205
+ - app/assets/images/icon-steps/icon-step-4.png
206
+ - app/assets/images/icon-steps/icon-step-5-2x.png
207
+ - app/assets/images/icon-steps/icon-step-5.png
208
+ - app/assets/images/icon-steps/icon-step-6-2x.png
209
+ - app/assets/images/icon-steps/icon-step-6.png
210
+ - app/assets/images/icon-steps/icon-step-7-2x.png
211
+ - app/assets/images/icon-steps/icon-step-7.png
212
+ - app/assets/images/icon-steps/icon-step-8-2x.png
213
+ - app/assets/images/icon-steps/icon-step-8.png
214
+ - app/assets/images/icon-steps/icon-step-9-2x.png
215
+ - app/assets/images/icon-steps/icon-step-9.png
216
+ - app/assets/images/player-icon-forward.png
217
+ - app/assets/images/player-icon-pause.png
218
+ - app/assets/images/player-icon-play.png
219
+ - app/assets/images/player-icon-rewind.png
220
+ - app/assets/images/player-icon-volume.png
221
+ - app/assets/javascripts/govuk/multivariate-test.js
222
+ - app/assets/javascripts/govuk/stop-scrolling-at-footer.js
223
+ - app/assets/javascripts/govuk_toolkit.js
224
+ - app/assets/javascripts/stageprompt.js
225
+ - app/assets/javascripts/vendor/jquery/jquery.player.min.js
226
+ - app/assets/jenkins.sh
227
+ - app/assets/package.json
228
+ - app/assets/spec/MultivariateTestSpec.js
229
+ - app/assets/stylesheets/.gitkeep
230
+ - app/assets/stylesheets/_colours.scss
231
+ - app/assets/stylesheets/_conditionals.scss
232
+ - app/assets/stylesheets/_css3.scss
233
+ - app/assets/stylesheets/_device-pixels.scss
234
+ - app/assets/stylesheets/_font_stack.scss
235
+ - app/assets/stylesheets/_measurements.scss
236
+ - app/assets/stylesheets/_shims.scss
237
+ - app/assets/stylesheets/_typography.scss
238
+ - app/assets/stylesheets/design-patterns/_alpha-beta.scss
239
+ - app/assets/stylesheets/design-patterns/_buttons.scss
240
+ - app/assets/stylesheets/design-patterns/_media-player.scss
241
+ homepage: https://github.com/alphagov/govuk_frontend_toolkit
242
+ licenses:
243
+ - MIT
244
+ post_install_message:
245
+ rdoc_options: []
246
+ require_paths:
247
+ - lib
248
+ - app
249
+ required_ruby_version: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ segments:
256
+ - 0
257
+ hash: 14661327999841130
258
+ required_rubygems_version: !ruby/object:Gem::Requirement
259
+ none: false
260
+ requirements:
261
+ - - ! '>='
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ segments:
265
+ - 0
266
+ hash: 14661327999841130
267
+ requirements: []
268
+ rubyforge_project:
269
+ rubygems_version: 1.8.23
270
+ signing_key:
271
+ specification_version: 3
272
+ summary: Tools for building frontend applications
273
+ test_files: []