gollum-site 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,44 +1,55 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gollum-site (0.1.9)
4
+ gollum-site (0.1.12)
5
5
  directory_watcher
6
- gollum (>= 1.2.0)
6
+ gollum (= 1.4.3)
7
7
  liquid (>= 2.2.2)
8
8
  mixlib-log (>= 1.1.0)
9
9
 
10
10
  GEM
11
11
  remote: http://rubygems.org/
12
12
  specs:
13
- albino (1.3.3)
14
- posix-spawn (>= 0.3.6)
15
- diff-lcs (1.1.2)
16
- directory_watcher (1.4.0)
17
- github-markup (0.5.3)
18
- gollum (1.3.0)
19
- albino (~> 1.3.2)
20
- github-markup (>= 0.4.0, < 1.0.0)
13
+ blankslate (2.1.2.4)
14
+ diff-lcs (1.1.3)
15
+ directory_watcher (1.4.1)
16
+ ffi (1.0.11)
17
+ github-markdown (0.3.2)
18
+ github-markup (0.7.2)
19
+ gollum (1.4.3)
20
+ github-markdown
21
+ github-markup (>= 0.7.0, < 1.0.0)
21
22
  grit (~> 2.4.1)
22
23
  mustache (>= 0.11.2, < 1.0.0)
23
24
  nokogiri (~> 1.4)
25
+ posix-spawn (~> 0.3.0)
26
+ pygments.rb (~> 0.2.0)
24
27
  sanitize (~> 2.0.0)
25
28
  sinatra (~> 1.0)
26
29
  grit (2.4.1)
27
30
  diff-lcs (~> 1.1)
28
31
  mime-types (~> 1.15)
29
- liquid (2.2.2)
30
- mime-types (1.16)
32
+ liquid (2.3.0)
33
+ mime-types (1.18)
31
34
  mixlib-log (1.3.0)
32
- mustache (0.99.3)
33
- nokogiri (1.4.4)
35
+ mustache (0.99.4)
36
+ nokogiri (1.5.2)
34
37
  posix-spawn (0.3.6)
35
- rack (1.2.2)
36
- sanitize (2.0.1)
37
- nokogiri (~> 1.4.4)
38
- sinatra (1.2.3)
39
- rack (~> 1.1)
40
- tilt (>= 1.2.2, < 2.0)
41
- tilt (1.2.2)
38
+ pygments.rb (0.2.12)
39
+ rubypython (~> 0.5.3)
40
+ rack (1.4.1)
41
+ rack-protection (1.2.0)
42
+ rack
43
+ rubypython (0.5.3)
44
+ blankslate (>= 2.1.2.3)
45
+ ffi (~> 1.0.7)
46
+ sanitize (2.0.3)
47
+ nokogiri (>= 1.4.4, < 1.6)
48
+ sinatra (1.3.2)
49
+ rack (~> 1.3, >= 1.3.6)
50
+ rack-protection (~> 1.2)
51
+ tilt (~> 1.3, >= 1.3.3)
52
+ tilt (1.3.3)
42
53
 
43
54
  PLATFORMS
44
55
  ruby
data/README.md CHANGED
@@ -43,7 +43,7 @@ The executable provides a few options which are described in the help menu:
43
43
  ## Static Site Templates
44
44
 
45
45
  The static site generator uses the
46
- [Liquid templating system](http://github.com/tobi/liquid/wiki) to render wiki
46
+ [Liquid templating system](https://github.com/Shopify/liquid/wiki) to render wiki
47
47
  pages. The generator looks for `_Layout.html` files to use as templates. Layouts
48
48
  affect all pages in their directory and any subdirectories that do not have a
49
49
  layout file of their own.
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.rubyforge_project = "gollum-site"
16
16
 
17
- s.add_dependency('gollum', '>= 1.2.0')
17
+ s.add_dependency('gollum', '1.4.3')
18
18
  s.add_dependency('liquid', '>= 2.2.2')
19
19
  s.add_dependency('mixlib-log', '>= 1.1.0')
20
20
  s.add_dependency('directory_watcher')
@@ -15,7 +15,7 @@ module Gollum
15
15
  end
16
16
 
17
17
  # Markup uses this method for absent/present class assignment on page links
18
- def find(cname, version)
18
+ def find(cname, version, dir = nil, exact = false)
19
19
  name = self.class.canonicalize_filename(cname)
20
20
  @wiki.site.pages[name.downcase]
21
21
  end
@@ -11,7 +11,7 @@ module Gollum
11
11
 
12
12
  def initialize(path, options = {})
13
13
  @wiki = Gollum::Wiki.new(path, {
14
- :markup_class => Gollum::SiteMarkup,
14
+ :markup_classes => Hash.new(Gollum::SiteMarkup),
15
15
  :page_class => Gollum::SitePage,
16
16
  :base_path => options[:base_path],
17
17
  :sanitization => sanitization(options),
@@ -1,5 +1,5 @@
1
1
  module Gollum
2
2
  class Site
3
- VERSION = "0.1.11"
3
+ VERSION = "0.1.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,71 +1,88 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gollum-site
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.12
4
5
  prerelease:
5
- version: 0.1.11
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Daniel Reverri
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-12-10 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2013-02-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: gollum
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 1.2.0
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.4.3
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: liquid
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.4.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: liquid
32
+ requirement: !ruby/object:Gem::Requirement
30
33
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
34
37
  version: 2.2.2
35
38
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: mixlib-log
39
39
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 2.2.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: mixlib-log
48
+ requirement: !ruby/object:Gem::Requirement
41
49
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
45
53
  version: 1.1.0
46
54
  type: :runtime
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: directory_watcher
50
55
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
52
57
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: directory_watcher
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
57
70
  type: :runtime
58
- version_requirements: *id004
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
59
78
  description: Generate a static site for Gollum Wikis
60
- email:
79
+ email:
61
80
  - dan@basho.com
62
- executables:
81
+ executables:
63
82
  - gollum-site
64
83
  extensions: []
65
-
66
84
  extra_rdoc_files: []
67
-
68
- files:
85
+ files:
69
86
  - .gitignore
70
87
  - Gemfile
71
88
  - Gemfile.lock
@@ -583,32 +600,29 @@ files:
583
600
  - test/test_site.rb
584
601
  homepage: http://rubygems.org/gems/gollum-site
585
602
  licenses: []
586
-
587
603
  post_install_message:
588
604
  rdoc_options: []
589
-
590
- require_paths:
605
+ require_paths:
591
606
  - lib
592
- required_ruby_version: !ruby/object:Gem::Requirement
607
+ required_ruby_version: !ruby/object:Gem::Requirement
593
608
  none: false
594
- requirements:
595
- - - ">="
596
- - !ruby/object:Gem::Version
597
- version: "0"
598
- required_rubygems_version: !ruby/object:Gem::Requirement
609
+ requirements:
610
+ - - ! '>='
611
+ - !ruby/object:Gem::Version
612
+ version: '0'
613
+ required_rubygems_version: !ruby/object:Gem::Requirement
599
614
  none: false
600
- requirements:
601
- - - ">="
602
- - !ruby/object:Gem::Version
603
- version: "0"
615
+ requirements:
616
+ - - ! '>='
617
+ - !ruby/object:Gem::Version
618
+ version: '0'
604
619
  requirements: []
605
-
606
620
  rubyforge_project: gollum-site
607
- rubygems_version: 1.8.8
621
+ rubygems_version: 1.8.23
608
622
  signing_key:
609
623
  specification_version: 3
610
624
  summary: Static site generator for Gollum Wikis
611
- test_files:
625
+ test_files:
612
626
  - test/examples/test_footer_and_sidebar.git/COMMIT_EDITMSG
613
627
  - test/examples/test_footer_and_sidebar.git/HEAD
614
628
  - test/examples/test_footer_and_sidebar.git/config
@@ -723,3 +737,4 @@ test_files:
723
737
  - test/examples/test_site_no_layout.git/refs/heads/master
724
738
  - test/helper.rb
725
739
  - test/test_site.rb
740
+ has_rdoc: