govspeak 0.8.18 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -136,12 +136,6 @@ Steps can be created similar to an ordered list:
136
136
 
137
137
  Note that steps need an extra line break after the final step (ie. two full blank lines) or other markdown directly afterwards won't work. If you have a subhead after - add a line break after this.
138
138
 
139
- ## Maps
140
-
141
- Static Maps can be embedded by wrapping the URL in double parenthesis.
142
-
143
- ((http://maps.google.co.uk/maps?q=Winkfield+Rd,+Windsor,+Berkshire+SL4+4AY&hl=en&sll=53.800651,-4.064941&sspn=17.759517,42.055664&vpsrc=0&z=14))
144
-
145
139
  ## Abbreviations
146
140
 
147
141
  Abbreviations can be defined at the end of the document, and any occurrences elswhere in the document will wrapped in an `<abbr>` tag. They are parsed in the order in which they are defined, so `PCSOs` should be defined before `PCSO`, for example.
data/lib/govspeak.rb CHANGED
@@ -110,10 +110,6 @@ module Govspeak
110
110
  %{\n\n<div class="application-notice help-notice">\n#{Kramdown::Document.new(body.strip).to_html}</div>\n}
111
111
  }
112
112
 
113
- extension('map_link', surrounded_by("((", "))")) { |body|
114
- %{<div class="map"><iframe width="200" height="200" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="#{body.strip}&output=embed"></iframe><br /><small><a href="#{body.strip}">View Larger Map</a></small></div>}
115
- }
116
-
117
113
  extension('attached-image', /^!!([0-9]+)/) do |image_number|
118
114
  image = images[image_number.to_i - 1]
119
115
  if image
@@ -1,3 +1,3 @@
1
1
  module Govspeak
2
- VERSION = "0.8.18"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -345,13 +345,6 @@ $CTA
345
345
  assert_text_output "rod jane freddy"
346
346
  end
347
347
 
348
- test_given_govspeak "
349
- ((http://maps.google.co.uk/maps?q=Winkfield+Rd,+Windsor,+Berkshire+SL4+4AY&hl=en&sll=53.800651,-4.064941&sspn=17.759517,42.055664&vpsrc=0&z=14))
350
- " do
351
- assert_html_output %{<div class="map"><iframe width="200" height="200" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?q=Winkfield+Rd,+Windsor,+Berkshire+SL4+4AY&amp;hl=en&amp;sll=53.800651,-4.064941&amp;sspn=17.759517,42.055664&amp;vpsrc=0&amp;z=14&amp;output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?q=Winkfield+Rd,+Windsor,+Berkshire+SL4+4AY&amp;hl=en&amp;sll=53.800651,-4.064941&amp;sspn=17.759517,42.055664&amp;vpsrc=0&amp;z=14">View Larger Map</a></small></div>}
352
- assert_text_output "View Larger Map"
353
- end
354
-
355
348
  test_given_govspeak "
356
349
  s1. zippy
357
350
  s2. bungle
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: govspeak
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.8.18
5
+ version: 1.0.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ben Griffiths
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2012-08-02 00:00:00 Z
14
+ date: 2012-08-30 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: kramdown
@@ -92,16 +92,16 @@ extensions: []
92
92
  extra_rdoc_files: []
93
93
 
94
94
  files:
95
+ - lib/govspeak/version.rb
96
+ - lib/govspeak/header_extractor.rb
95
97
  - lib/govspeak.rb
96
98
  - lib/kramdown/parser/kramdown_with_automatic_external_links.rb
97
- - lib/govspeak/header_extractor.rb
98
- - lib/govspeak/version.rb
99
99
  - README.md
100
100
  - Gemfile
101
101
  - Rakefile
102
- - test/test_helper.rb
103
- - test/govspeak_test.rb
104
102
  - test/govspeak_test_helper.rb
103
+ - test/govspeak_test.rb
104
+ - test/test_helper.rb
105
105
  homepage: http://github.com/alphagov/govspeak
106
106
  licenses: []
107
107
 
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="
117
117
  - !ruby/object:Gem::Version
118
- hash: 2080396749389676564
118
+ hash: 2632148642113088526
119
119
  segments:
120
120
  - 0
121
121
  version: "0"
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
- hash: 2080396749389676564
127
+ hash: 2632148642113088526
128
128
  segments:
129
129
  - 0
130
130
  version: "0"
@@ -136,6 +136,6 @@ signing_key:
136
136
  specification_version: 3
137
137
  summary: Markup language for single domain
138
138
  test_files:
139
- - test/test_helper.rb
140
- - test/govspeak_test.rb
141
139
  - test/govspeak_test_helper.rb
140
+ - test/govspeak_test.rb
141
+ - test/test_helper.rb