tbmx 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tbmx.rb +9 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d280c37bd4bc9a3440a431f875aac77a666e4be7
4
- data.tar.gz: e32c5227f80985d31cbc6d5dcb96fca747265a53
3
+ metadata.gz: ffc6e64af2af9349b9894fe998e9c0de2f2d2c5c
4
+ data.tar.gz: 6142e7e43db4a81040bca4d2dbb77f4b15aa98fc
5
5
  SHA512:
6
- metadata.gz: 61c284f97f8ad7d336ef49ccd6489c3dd04608aba1e3e55aafbf384d8509b627f24453d1e1eadc075ffc01488bd871a96bcbd06559d38bf7fe8fb6c3dcb9222a
7
- data.tar.gz: 5adc20bb66136667e31f9990e28f11391447fe0f306bcae7db4d511bc5e8010b038333726cab122e681fa6da4286cc04e52af52b7a526bdd1cef212dc7b0fcd5
6
+ metadata.gz: 7ab21d9bcee8983c8d9af579c682a3c40fb66fb83cdab8a7792bb6df67c6491809aa9ec6d5b40b6d74b722e82231073ef164e8e568d9aa601dd500896465586f
7
+ data.tar.gz: 1a78047d166f9ae2f4820229298f5afdb8f3af9d07742da5e19316af09c47d9514c76fed522de94bf041269c2209b126bcfa945d2f0a69fc8807d45a493e1a96
@@ -301,6 +301,8 @@ module TBMX
301
301
  keyword_id_command_handler
302
302
  when "tag-id", "tag_id"
303
303
  tag_id_command_handler
304
+ when "forum-id", "forum_id"
305
+ forum_id_command_handler
304
306
  when "folder-id", "folder_id"
305
307
  folder_id_command_handler
306
308
  when "bookmarks-folder-id", "bookmarks_folder_id", "bookmarks_folder-id", "bookmarks-folder_id",
@@ -336,9 +338,7 @@ module TBMX
336
338
  "sinh", "cosh", "tanh",
337
339
  "asinh", "acosh", "atanh",
338
340
  "erf", "erfc",
339
- "gamma",
340
- "log10", "log2",
341
- "sqrt"
341
+ "gamma", "log10", "sqrt"
342
342
  math_function_handler command.word.to_sym
343
343
  when "d2r", "deg->rad", "degrees->radians"
344
344
  MathFunctions::degrees2radians number_from_expression
@@ -346,6 +346,8 @@ module TBMX
346
346
  MathFunctions::radians2degrees number_from_expression
347
347
  when "lgamma"
348
348
  MathFunctions::lgamma number_from_expression
349
+ when "ld", "log2"
350
+ Math.log2 number_from_expression
349
351
  when "ln"
350
352
  Math.log number_from_expression
351
353
  when "log"
@@ -456,6 +458,10 @@ module TBMX
456
458
  id_command_handler Folder
457
459
  end
458
460
 
461
+ def forum_id_command_handler
462
+ id_command_handler Forum
463
+ end
464
+
459
465
  def bookmarks_folder_id_command_handler
460
466
  id_command_handler Folder, "folder", "folders", "folders/bookmarks_inline", "bookmarks"
461
467
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tbmx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
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: 2015-08-28 00:00:00.000000000 Z
11
+ date: 2015-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport