soywiki 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ require 'soywiki'
4
4
 
5
5
  def contains_links_to?(file, page_title)
6
6
  return false unless File.file?(file)
7
- return false if (file =~ /(\.swo|\.swp)$/ || file =~ /^\./)
7
+ return false if (file =~ /(\.swo|\.swp|\.txt|Notes\ &\ Settings)$/ || file =~ /^\./)
8
8
  body = File.read(file)
9
9
  # '.' must be escaped in the regular expression to match literal
10
10
  body =~ /[\A\s\n\b]#{page_title.gsub(".", "\.")}\b/
data/lib/soywiki.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'string_ext'
2
2
 
3
3
  module Soywiki
4
- VERSION = '0.7.2'
4
+ VERSION = '0.7.3'
5
5
  WIKI_WORD = /\b([a-z][\w_]+\.)?[A-Z][a-z]+[A-Z]\w*\b/
6
6
  HYPERLINK = %r|\bhttps?://[^ >)\n\]]+|
7
7
 
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soywiki
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 7
8
- - 2
9
- version: 0.7.2
4
+ prerelease:
5
+ version: 0.7.3
10
6
  platform: ruby
11
7
  authors:
12
8
  - Daniel Choi
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-02-26 00:00:00 -05:00
13
+ date: 2011-05-09 00:00:00 -04:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,8 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - ">="
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
24
  version: "0"
31
25
  type: :runtime
32
26
  version_requirements: *id001
@@ -38,8 +32,6 @@ dependencies:
38
32
  requirements:
39
33
  - - ">="
40
34
  - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
35
  version: "0"
44
36
  type: :runtime
45
37
  version_requirements: *id002
@@ -90,21 +82,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
82
  requirements:
91
83
  - - ">="
92
84
  - !ruby/object:Gem::Version
93
- segments:
94
- - 0
95
85
  version: "0"
96
86
  required_rubygems_version: !ruby/object:Gem::Requirement
97
87
  none: false
98
88
  requirements:
99
89
  - - ">="
100
90
  - !ruby/object:Gem::Version
101
- segments:
102
- - 0
103
91
  version: "0"
104
92
  requirements: []
105
93
 
106
94
  rubyforge_project: soywiki
107
- rubygems_version: 1.3.7
95
+ rubygems_version: 1.6.1
108
96
  signing_key:
109
97
  specification_version: 3
110
98
  summary: Wiki with Vim interface and Git repo