rinku 1.7.1 → 1.7.2

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.
Files changed (4) hide show
  1. data/Rakefile +6 -4
  2. data/lib/rinku.rb +1 -1
  3. data/rinku.gemspec +1 -1
  4. metadata +4 -4
data/Rakefile CHANGED
@@ -50,7 +50,7 @@ file package('.gem') => %w[pkg/ rinku.gemspec] + $spec.files do |f|
50
50
  end
51
51
 
52
52
  # GEMSPEC HELPERS ==========================================================
53
- task :gather => 'sundown/src/autolink.h' do |t|
53
+ task :gather => 'sundown:checkout' do |t|
54
54
  files =
55
55
  FileList[
56
56
  'sundown/src/{buffer,autolink}.h',
@@ -61,7 +61,9 @@ task :gather => 'sundown/src/autolink.h' do |t|
61
61
  :verbose => true
62
62
  end
63
63
 
64
-
65
- file 'sundown/src/autolink.h' do |t|
66
- abort "The Sundown submodule is required."
64
+ task 'sundown:checkout' do |t|
65
+ unless File.exists?('sundown/src/markdown.h')
66
+ sh 'git submodule init'
67
+ sh 'git submodule update'
68
+ end
67
69
  end
@@ -1,5 +1,5 @@
1
1
  module Rinku
2
- VERSION = "1.7.1"
2
+ VERSION = "1.7.2"
3
3
  attr_accessor :skip_tags
4
4
  extend self
5
5
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'rinku'
5
- s.version = '1.7.1'
5
+ s.version = '1.7.2'
6
6
  s.summary = "Mostly autolinking"
7
7
  s.description = <<-EOF
8
8
  A fast and very smart autolinking library that
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rinku
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 1
10
- version: 1.7.1
9
+ - 2
10
+ version: 1.7.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Vicent Marti
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-10-10 00:00:00 +02:00
18
+ date: 2012-10-12 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21