mymedia-blogbase 0.1.1 → 0.1.2

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: 66e037f0e0904b26890b58f6c4d0a27d75ca2bba
4
- data.tar.gz: 30629bbb3b99e801e907e983001e560747be0fd7
3
+ metadata.gz: efe234bfa912679c42c6d55d801326f3bab3b966
4
+ data.tar.gz: ee14178c341875935156e4e71ab452592e29a0cf
5
5
  SHA512:
6
- metadata.gz: a6beea24e358ad076f455a4449c000ed131ce8e6c5f0ed63d87a8b8f2ebecff2b8ece55e90c8b0a3ae42cb1555e4591798aa7c15c66a7b15f2577d6b34b71af5
7
- data.tar.gz: a486266cd830d9383ea07ec417a421383a7604ed0f935bcaa3e3b3d56b1feedcd4ec372207fafaa3c2829e30ae9d4c2d0de92e3c2c1afbe99f1ae0c7c569b87a
6
+ metadata.gz: 42854a187c188e16503d38c3884bf90526bd8c74f870638f106248be44e89850ca9489a93cd9cdeb08a25349acd95930dba1c990253e3849d6bc5b92191a19d1
7
+ data.tar.gz: d140d56200b4a1f0b4cee30eb90554baac8f133cd309d6f74ea3390f1ca52330534edd3c08220b958df909a31b69556c072bc8fa8e4d2b4e1a062c89e335fdd6
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1 @@
1
- ԎT�1lRG[��:��G.�k�mU!�*�xf!Q��$�@��x��O4*/�h�%i[pծ���nI�������8
1
+ �?�le�)57-k�7}yW�����vq�v��6
@@ -65,12 +65,7 @@ class MyMediaBlogBase < MyMedia::Base
65
65
  s = a.pop[/[^>]+$/].split.map{|x| "<li>%s</li>" % x}.join
66
66
  a.push "%s<ul>%s</ul>" % [$`, s]
67
67
 
68
- s = a.join.gsub(/(?:^\[|\s\[)[^\]]+\]\((https?:\/\/[^\s]+)/) do |x|
69
- next x if x[/#{@domain}/]
70
- s2 = x[/https?:\/\/([^\/]+)/,1].split(/\./)
71
- r = s2.length >= 3 ? s2[1..-1] : s2
72
- "%s [%s]" % [x, r.join('.')]
73
- end
68
+ s = a.join
74
69
 
75
70
  raw_body = "<body>%s</body>" % RDiscount.new(s).to_html
76
71
 
@@ -152,4 +147,4 @@ class MyMediaBlogBase < MyMedia::Base
152
147
  end
153
148
 
154
149
 
155
- end
150
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mymedia-blogbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -12,26 +12,26 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
14
  YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE0MTAxMTA3MDM0OVoXDTE1MTAxMTA3MDM0OVowSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE2MDIyOTIyMTAwNloXDTE3MDIyODIyMTAwNlowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBALs9WTNgnra/dufiLGR09dO8bW7dLNWzGKjcYF8vAR4tAeWlH5LhzHXoaNl9
19
- lZI4/RwIDDw7sWU2EMxXaSWb0g06c3G0W5Y+HdCaRxMbayM/P2ECRDzTddpsHMI2
20
- ZmOsMihReem6ujnDQyV+hM+9ulJVWNJuWrcbORoYw1xRy1gpHf2NDN5MX+fGDgNe
21
- p8w2ZypGyOjI1xdWDW2WqzP/8WTs4cgY7vc9+OXlOC1lHTB745ydtwIF/PoL1FfD
22
- EtQdrqoCmzqeEA+QEc4sGeUY0j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
- W6oyq4p6WDOpJ2y9HFHWdg8TmF1bZj7k6y+5Tx6uce9VL6Jj3b8fa1YfHrqAU/4Z
32
- ZwDOWqyDyRdF8g==
26
+ c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAUHfzORyI
27
+ jSfifuO6XO54LJe2WAlECduD7tfasxSsbKYtS85Ivs08kJMwjL71XroAKzbOfIXK
28
+ zPJfWoEMBo55Uu9zMgFQmqOeRY4Bejz3tj10qOTQF7q5pTTf9MIYck9hBBcNTHF3
29
+ fVzdVmOLr+TvWeR9c9BufhyGfbAUq3u5i/CPP5JBzRP5h0x+5XN0XjTT+ibuGDWC
30
+ Ru4f3W/yosTM7WYGTL+PcFmiKeUMUjTspCxpqS3ZuVtNn8//aqtjoGUW6mIaI/YB
31
+ 6NJjSONZjW8plaFAqnBBSa1tWxSqSo4rAmasiRw2xBgRHDfWOz04dM1kL2JDt33M
32
+ Z82TtkUxKZkVtA==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-10-12 00:00:00.000000000 Z
34
+ date: 2016-02-29 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdiscount
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.2.2
123
+ rubygems_version: 2.4.8
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Provides the basic features to publish page content
metadata.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- 3:��f#�@�.- �����ŋk�SX&��0X��� [��� �n�@C�N�Q8"���J7x�i}j
2
- ��c���$�^K��DkL����]�̈́�̀8@-��i,�7�A3��ɤk�P
3
- XH�\
1
+ 4~����g,�uAxFTP��P��~���z�Κ��_ ?��?x��HTZDMP����@�=������{OtU��&.C�O~n4E��˧�Z�ܳF9���]��
2
+ �&N�"�j����a�=� /�yk9)'�~e0��"�����1����H�s�5�IS�2V{sp�<�xw@��J�Ms5�g���qWY�C�r��둏W