nanoc-toolbox 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,14 +1,23 @@
1
1
  # Changelog
2
2
 
3
- ## developement
3
+ ## Release 0.1.2
4
+
5
+ * FIXED: Compatibility broken by nanoc on breadcrumbs
6
+ * CHANGE: Gemfile source linked to 'https://rubygems.org'
7
+
8
+ ## Release 0.1.1
9
+
10
+ * NEW: Github Gist Helper
11
+
12
+ ## Release 0.1.0
4
13
 
5
14
  * CHANGE: Code refactoring, Bug Fixes and Better test coverage
6
15
  * DELETE: Unused helpers
7
16
 
8
17
  ## Release 0.0.7
9
18
 
10
- * NEW: TRAVIS CI
11
- * FIXED: Compatibility Issue with 1.8.7
19
+ * NEW: TRAVIS CI
20
+ * FIXED: Compatibility Issue with 1.8.7
12
21
 
13
22
  ## Release 0.0.6
14
23
 
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source :gemcutter
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in nanoc-toolbox.gemspec
4
4
  gemspec
data/Gemfile.lock CHANGED
@@ -1,60 +1,75 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nanoc-toolbox (0.1.1)
4
+ nanoc-toolbox (0.1.2)
5
5
  jsmin (~> 1.0)
6
- nanoc (~> 3.4)
7
- nokogiri (~> 1.4)
6
+ nanoc (~> 3.6)
7
+ nokogiri (~> 1.6)
8
8
 
9
9
  GEM
10
- remote: http://rubygems.org/
10
+ remote: https://rubygems.org/
11
11
  specs:
12
+ coderay (1.0.9)
12
13
  colored (1.2)
13
14
  cri (2.3.0)
14
15
  colored (>= 1.2)
15
- diff-lcs (1.1.2)
16
- ffi (1.0.11)
17
- guard (1.2.3)
18
- listen (>= 0.4.2)
16
+ diff-lcs (1.2.4)
17
+ ffi (1.9.0)
18
+ formatador (0.2.4)
19
+ guard (1.8.1)
20
+ formatador (>= 0.2.4)
21
+ listen (>= 1.0.0)
22
+ lumberjack (>= 1.0.2)
23
+ pry (>= 0.9.10)
19
24
  thor (>= 0.14.6)
20
- guard-rspec (1.1.0)
21
- guard (>= 1.1)
25
+ guard-rspec (3.0.2)
26
+ guard (>= 1.8)
27
+ rspec (~> 2.13)
22
28
  jsmin (1.0.1)
23
- listen (0.4.7)
24
- rb-fchange (~> 0.0.5)
25
- rb-fsevent (~> 0.9.1)
26
- rb-inotify (~> 0.8.8)
27
- multi_json (1.3.6)
28
- nanoc (3.4.0)
29
- cri (~> 2.2)
30
- nokogiri (1.5.5)
31
- rake (0.9.2.2)
32
- rb-fchange (0.0.5)
33
- ffi
34
- rb-fsevent (0.9.1)
35
- rb-inotify (0.8.8)
29
+ listen (1.2.2)
30
+ rb-fsevent (>= 0.9.3)
31
+ rb-inotify (>= 0.9)
32
+ rb-kqueue (>= 0.2)
33
+ lumberjack (1.0.3)
34
+ method_source (0.8.1)
35
+ mini_portile (0.5.0)
36
+ multi_json (1.7.7)
37
+ nanoc (3.6.4)
38
+ cri (~> 2.3)
39
+ nokogiri (1.6.0)
40
+ mini_portile (~> 0.5.0)
41
+ pry (0.9.12.2)
42
+ coderay (~> 1.0.5)
43
+ method_source (~> 0.8)
44
+ slop (~> 3.4)
45
+ rake (0.9.6)
46
+ rb-fsevent (0.9.3)
47
+ rb-inotify (0.9.0)
36
48
  ffi (>= 0.5.0)
37
- rspec (2.4.0)
38
- rspec-core (~> 2.4.0)
39
- rspec-expectations (~> 2.4.0)
40
- rspec-mocks (~> 2.4.0)
41
- rspec-core (2.4.0)
42
- rspec-expectations (2.4.0)
43
- diff-lcs (~> 1.1.2)
44
- rspec-mocks (2.4.0)
45
- simplecov (0.6.4)
49
+ rb-kqueue (0.2.0)
50
+ ffi (>= 0.5.0)
51
+ rspec (2.13.0)
52
+ rspec-core (~> 2.13.0)
53
+ rspec-expectations (~> 2.13.0)
54
+ rspec-mocks (~> 2.13.0)
55
+ rspec-core (2.13.1)
56
+ rspec-expectations (2.13.0)
57
+ diff-lcs (>= 1.1.3, < 2.0)
58
+ rspec-mocks (2.13.1)
59
+ simplecov (0.7.1)
46
60
  multi_json (~> 1.0)
47
- simplecov-html (~> 0.5.3)
48
- simplecov-html (0.5.3)
49
- thor (0.15.4)
61
+ simplecov-html (~> 0.7.1)
62
+ simplecov-html (0.7.1)
63
+ slop (3.4.5)
64
+ thor (0.18.1)
50
65
 
51
66
  PLATFORMS
52
67
  ruby
53
68
 
54
69
  DEPENDENCIES
55
- bundler (~> 1.1)
70
+ bundler (~> 1.3)
56
71
  guard-rspec
57
72
  nanoc-toolbox!
58
73
  rake (~> 0.9)
59
- rspec (~> 2.4)
74
+ rspec (~> 2.13)
60
75
  simplecov
@@ -9,6 +9,7 @@ module Nanoc::Toolbox::Helpers
9
9
  # @author Anouar ADLANI <anouar@adlani.com>
10
10
  module Navigation
11
11
  include Nanoc::Helpers::LinkTo
12
+ include Nanoc::Helpers::Breadcrumbs
12
13
  include Nanoc::Toolbox::Helpers::HtmlTag
13
14
 
14
15
  # Generate a navigation menu for a given item.
@@ -189,7 +190,7 @@ module Nanoc::Toolbox::Helpers
189
190
  end
190
191
 
191
192
  def find_breadcrumbs_trail(root)
192
- sections = breadcrumbs_for_identifier(root).map do |child|
193
+ sections = breadcrumbs_trail.(root).map do |child|
193
194
  { :title => (child[:short_title] || child[:title] || child.identifier),
194
195
  :link => relative_path_to(child),
195
196
  :subsections => nil }
@@ -4,7 +4,7 @@ module Nanoc
4
4
  module Version
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- PATCH = 1
7
+ PATCH = 2
8
8
  BUILD = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join(".")
@@ -15,12 +15,12 @@ Gem::Specification.new do |s|
15
15
  s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
16
16
  s.required_rubygems_version = ">= 1.3.6"
17
17
 
18
- s.add_dependency "nanoc", "~> 3.4"
19
- s.add_dependency "nokogiri", "~> 1.4"
18
+ s.add_dependency "nanoc", "~> 3.6"
19
+ s.add_dependency "nokogiri", "~> 1.6"
20
20
  s.add_dependency "jsmin", "~> 1.0"
21
21
 
22
- s.add_development_dependency "bundler", "~> 1.1"
23
- s.add_development_dependency "rspec", "~> 2.4"
22
+ s.add_development_dependency "bundler", "~> 1.3"
23
+ s.add_development_dependency "rspec", "~> 2.13"
24
24
  s.add_development_dependency "rake", "~> 0.9"
25
25
 
26
26
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-04 00:00:00.000000000 Z
12
+ date: 2013-06-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nanoc
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '3.4'
21
+ version: '3.6'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: '3.4'
29
+ version: '3.6'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: nokogiri
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '1.4'
37
+ version: '1.6'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '1.4'
45
+ version: '1.6'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: jsmin
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: '1.1'
69
+ version: '1.3'
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: '1.1'
77
+ version: '1.3'
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: rspec
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
- version: '2.4'
85
+ version: '2.13'
86
86
  type: :development
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: '2.4'
93
+ version: '2.13'
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: rake
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -177,9 +177,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  version: 1.3.6
178
178
  requirements: []
179
179
  rubyforge_project:
180
- rubygems_version: 1.8.24
180
+ rubygems_version: 1.8.23
181
181
  signing_key:
182
182
  specification_version: 3
183
183
  summary: A collection of helper and filters for nanoc
184
184
  test_files: []
185
- has_rdoc: