jekyll-mentions 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll-mentions.rb +1 -5
  3. metadata +61 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 268655db122cd0057242113a9ed062bf8c4c98c2
4
- data.tar.gz: 6e253745e56ec6eccebd4d83038fbd49dcaa57dd
3
+ metadata.gz: f24c329448e8c02efa08b702eb13b08cb19a6b76
4
+ data.tar.gz: 18d22bf5d3dc5da6b66eccbb5e4d89f58c5d58b2
5
5
  SHA512:
6
- metadata.gz: 48b7f43fd8ac6867f54459af70eb69bfaf15f86c866c79ac297b38ca84a7553d734bca9fb69c46cd99add7145174f928f3690a8c5144f84d5da28db8829fcf9c
7
- data.tar.gz: c5b7054e3862b98b5abe16e758332bce60d0d3ece539ad172e056db2366c80c29b8886af86102eedc8830a81ceffeae78e43b6a1a417ba6646b48e07dec64ef6
6
+ metadata.gz: 30613676613422ab8c508eb44c592810ad58d74f64665226525468e867d8e19e1855730872fb7dcb649ade4c7f7828ea435002aa68eb4d0b9bbce6cecbc5a9b4
7
+ data.tar.gz: 64693adc3e472f2c0ad0ab49f2e1687ad72318fbf5d52ae8ce5f748a77fa0e90a619d176109cacb19360c093798ac438c2864a0902934271366c49056fc74421
@@ -13,7 +13,7 @@ module Jekyll
13
13
  end
14
14
 
15
15
  def generate(site)
16
- site.pages.each { |page| mentionify page if html_page?(page) }
16
+ site.pages.each { |page| mentionify page }
17
17
  site.posts.each { |page| mentionify page }
18
18
  end
19
19
 
@@ -21,9 +21,5 @@ module Jekyll
21
21
  return unless page.content.include?('@')
22
22
  page.content = @filter.mention_link_filter(page.content)
23
23
  end
24
-
25
- def html_page?(page)
26
- page.html? || page.url.end_with?('/')
27
- end
28
24
  end
29
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-mentions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.4'
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.4'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: html-pipeline
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,7 +38,63 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.5.0
41
- description:
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: shoulda
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: ''
42
98
  email: support@github.com
43
99
  executables: []
44
100
  extensions: []