rdiscount 2.2.0 → 2.2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fa600678c5314e67b7b61b113b1a061ed42f5a8
4
- data.tar.gz: c9fef34817017c9be900f6897647471d10dac7fe
3
+ metadata.gz: 1c480b4844b3b13cbc655ed1ce44db9a7115a7bc
4
+ data.tar.gz: 517a7bed26d59ec1cbe770df4d24a72e288a5902
5
5
  SHA512:
6
- metadata.gz: 7e29504a28c0dc25eb1a863e48484940c16a05a1ebb1f73046c2ef86f818ab0503e7425f0fa8733b3465b65c54a6592c6ccb58ad263425c61a27ae6ea64ebf0c
7
- data.tar.gz: 91f0960039b2e8a9d0f44c7be7cbdecdca768f490bef418e04754d5ecfa9c47fdb336742bbd777fae72bb186d3f2a2febc335097862cb14128efb346d1b66fdd
6
+ metadata.gz: 28170e1cd868a7046c03207e432ee0fda482e0f8b9be0ce25ede44a2716af0204e402d9e2cc8d877d5075193c5a7521ac4eb6de6fe6f1a867ee01152ee2cb97f
7
+ data.tar.gz: bfd089d7ffe89cb5cb48213320cc271e3d6b39198db96a0ffb229b540bf513332327211604f8fa588b89c5fb883f40bcec5f5bc909366439008c65fa02b33598
@@ -42,4 +42,8 @@ if /darwin|mac os/.match RbConfig::CONFIG['host_os']
42
42
  $DLDFLAGS.gsub!("-multiply_definedsuppress", "")
43
43
  end
44
44
 
45
+ if /mswin/.match RbConfig::CONFIG['host_os']
46
+ $defs.push("-Dinline=__inline")
47
+ end
48
+
45
49
  create_makefile('rdiscount')
@@ -8,7 +8,9 @@
8
8
  #include <stdio.h>
9
9
  #include <stdlib.h>
10
10
  #include <limits.h>
11
+ #ifndef _MSC_VER
11
12
  #include <unistd.h>
13
+ #endif
12
14
  #include <mkdio.h>
13
15
  #include <errno.h>
14
16
  #include <string.h>
@@ -24,7 +24,7 @@
24
24
  # end
25
25
  #
26
26
  class RDiscount
27
- VERSION = '2.2.0'
27
+ VERSION = '2.2.0.1'
28
28
 
29
29
  # Original Markdown formatted text.
30
30
  attr_reader :text
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rdiscount'
3
- s.version = '2.2.0'
3
+ s.version = '2.2.0.1'
4
4
  s.summary = "Fast Implementation of Gruber's Markdown in C"
5
- s.date = '2015-02-01'
5
+ s.date = '2016-05-07'
6
6
  s.email = 'david@dafoster.net'
7
7
  s.homepage = 'http://dafoster.net/projects/rdiscount/'
8
8
  s.authors = ["Ryan Tomayko", "David Loren Parsons", "Andrew White", "David Foster"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdiscount
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Tomayko
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-02-01 00:00:00.000000000 Z
14
+ date: 2016-05-07 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description:
17
17
  email: david@dafoster.net