teepee 0.10.0 → 0.11.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: 43a6457c837f088ea65e01b0e6b87328da175545
4
- data.tar.gz: be291f9907eb4b063548cdf403149e69dd25ee04
3
+ metadata.gz: 90af0cabd538d9b202685541151315839e9cb4ac
4
+ data.tar.gz: 8761c7ac8222ad6bed68d59785be876a0d5f7736
5
5
  SHA512:
6
- metadata.gz: f18343cd1794da3f33d2e4817fbd058004d7e11c8d2b436528383a2d534f475c8dcb001f1993042699e9b15cfcf84d40f637735cbe7e5db1a2e615173955729e
7
- data.tar.gz: eac1d63a8fe1efe08a8066f64c57e2cac2f113ecd1e732a9016d35e2dac523205d8e0a95166e022633a71d57b467fa84bc564bb196c6da179dea2f0d5853483a
6
+ metadata.gz: 2b0255b3173ca404c68341fb47e409ae6c0d1e49dccea25c15beeab501375626533aa238cd213408ee9e646c79d4e7b535cdbc9c467df59f749717368440607f
7
+ data.tar.gz: 94db4c07a0a7ab721c0414e2870374046a653d8309dd9016278c55d02adad4451cfd3b87b19017bc6eb108a5058af815bfe4ee826263c9d7352e9ac68eec2952
@@ -113,9 +113,8 @@ module Teepee
113
113
  when "squiggle",
114
114
  "tilde"
115
115
  @@commander.squiggle
116
- when "lagergeld",
117
- "youreapeon"
118
- @@commander.lagergeld
116
+ when "dollar"
117
+ @@commander.dollar
119
118
  when "_"
120
119
  @@commander.nbsp optional_number_from_expression
121
120
  when "space"
@@ -327,6 +327,10 @@ module Teepee
327
327
  html_tag :del, expressions
328
328
  end
329
329
 
330
+ def dollar
331
+ "$"
332
+ end
333
+
330
334
  def e
331
335
  Math::E
332
336
  end
@@ -90,7 +90,7 @@ module Teepee
90
90
  CHARACTER_MATCHED = "~"
91
91
  end
92
92
 
93
- class LagergeldToken < SingleCharacterToken
94
- CHARACTER_MATCHED = ""
93
+ class DollarToken < SingleCharacterToken
94
+ CHARACTER_MATCHED = "$"
95
95
  end
96
96
  end
@@ -63,7 +63,7 @@ module Teepee
63
63
  result = RightBracketToken.matches?(rest) or
64
64
  result = BackquoteToken.matches?(rest) or
65
65
  result = SquiggleToken.matches?(rest) or
66
- result = LagergeldToken.matches?(rest) or
66
+ result = DollarToken.matches?(rest) or
67
67
  result = EmptyNewlinesToken.matches?(rest) or # String Tokens
68
68
  result = WhitespaceToken.matches?(rest) or
69
69
  result = NumberToken.matches?(rest) or
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.10.0
4
+ version: 0.11.0
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-03-11 00:00:00.000000000 Z
11
+ date: 2016-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport