slack_markdown 0.1.0 → 0.1.1

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: 2611046eb15a220ec98bcea27792812706be189c
4
- data.tar.gz: 45f06db6f554b3875572b16efe9b45ef907cb43b
3
+ metadata.gz: 8bc05ed306d79f95ae47bf1b74ff899b94eabf21
4
+ data.tar.gz: 12499f808da32836de385da74a84eb0cc8cb34b5
5
5
  SHA512:
6
- metadata.gz: 6863c68f300a0fc182e7285826c9dccd43fd910bd858caec5057de951df860d0672e5b49316d138ec029e558ac638c8e826bf7b19019484cd33451f946fb3c29
7
- data.tar.gz: 5d99c4c02dfb27ec3b1fb64b5483063a8377248efaa590e3dfeeeff4267fdc0bbd805df69d9becfa3cc6580077685620770f59c8e62e258ebbf84a0f7d04a8a3
6
+ metadata.gz: bed077b3bff07835452944dde47fa1094c2b7bdd27973157ccf2f18be0fe970bbe4d14ecb42eee867e88da105f5689c96669b7a26ee26e848ac7084a0c377ec4
7
+ data.tar.gz: 03d585e245b53ccb1ff59e2008ea4520387ae57a23c31a91e8db437ec3c0f297f5895adcc8277aa354d561e2b79e94791198ad8f33834b3146e396e9f6bf6371
@@ -28,7 +28,7 @@ module SlackMarkdown
28
28
  end
29
29
  end
30
30
 
31
- CODE_PATTERN = /(?<=^|\W)`(.+)`(?=\W|$)/
31
+ CODE_PATTERN = /(?<=^|\W)`(.+?)`(?=\W|$)/
32
32
  end
33
33
  end
34
34
  end
@@ -28,7 +28,7 @@ module SlackMarkdown
28
28
  end
29
29
  end
30
30
 
31
- CODE_PATTERN = /(?<=^)```\n?((?:.|\n)+)```(?=$)/
31
+ CODE_PATTERN = /(?<=^|\W)```\n?((?:.|\n)+?)```(?=\W|$)/
32
32
  end
33
33
  end
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module SlackMarkdown
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ru/MuckRu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-22 00:00:00.000000000 Z
11
+ date: 2015-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline