teepee 0.7.15 → 0.7.16

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: 8266b942d774c84c7dd0d99e64f80f1248009cfc
4
- data.tar.gz: 54f9ecf15398e10dc7f91d234d46927421384fba
3
+ metadata.gz: aa225694c765a835dbef542d87979689945f8463
4
+ data.tar.gz: c978538afe91da61ef07b46ac465cd9f625058bb
5
5
  SHA512:
6
- metadata.gz: 0e171ac1a99b095596b14b3ee2ea86e8d49571506ae1a8fc0a8f25335a7806971cf4e877a73f41e2515db0ddb429f6f13e5464f1e095b1e54413a8f6a247dfb6
7
- data.tar.gz: 9e4c8168ae92c77b8041e7cca64a42e2dd5e519d56037b29ca386870dc014ea1e7afa8b34bbff9964e19bc4ac0692330336c1821daacb1e2272e1ca986c4f90f
6
+ metadata.gz: e35a6b75e3fa7f7d740e222f7f7bafc522b367f4f106d287c1d817b6314d55dc95d9de0b91fffac8a8cfdd7828abca9e6573567cc4a0c9f38d264ce8d52b830d
7
+ data.tar.gz: a4231720f0a1c40ce65d8dc1defb05b44b960e498ec9c23a3fd6c913827d27af4959de63c8dab0ab5693603b03a7626350d61f089bbe364cf710e2d3b5640fb9
@@ -84,6 +84,10 @@ module Teepee
84
84
  "closingbrace",
85
85
  "cbrace"
86
86
  @@commander.right_brace
87
+ when "_"
88
+ @@commander.nbsp
89
+ when "space"
90
+ @@commander.space
87
91
  when "br", "newline"
88
92
  @@commander.br
89
93
  when "bold", "b", "textbf"
@@ -380,6 +380,10 @@ module Teepee
380
380
  ensure_numeric Math.log10 number
381
381
  end
382
382
 
383
+ def nbsp
384
+ " "
385
+ end
386
+
383
387
  def note_id id
384
388
  id_command_handler id, :Note
385
389
  end
@@ -412,6 +416,10 @@ module Teepee
412
416
  ensure_numeric Math.sqrt number
413
417
  end
414
418
 
419
+ def space
420
+ " "
421
+ end
422
+
415
423
  def sub expressions
416
424
  html_tag :sub, expressions
417
425
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teepee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.15
4
+ version: 0.7.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mark Gore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-23 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport