jekyll-categorize-pages 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 206915a771e5604a0d2ed0ef6f1400c7fee20a67
4
- data.tar.gz: 35960fb89f91c26ff1191bd2fe3e01aeed0fbb25
3
+ metadata.gz: 1896b80e78ab30a1d0f50b787d3bf22cfe8213a3
4
+ data.tar.gz: db6b1f62a2ceb557b0c80269340cac496087d888
5
5
  SHA512:
6
- metadata.gz: d39c50d73e686875113bf4dc2bdedec31768ede21bd1ce6ab9aea796ae470d79bc371d3260d2417c1044c4c0b76b83c42e26db00e167251c1c2cad8612b0b674
7
- data.tar.gz: 816f617a9dd23e53622368960795634a544f61a9e5065cf449b10392f793043c6d6bf629e11a73a2089a322c25630801fa7fe7f090d8b9c26366fc477f593a89
6
+ metadata.gz: 6a482ec1ff54593f85236ec97fe28a49baa196600affbf588b5f24ea017734d673aa022d57841a7f5b45ae0babed88960e00ee9712a3c35f56aff3c9362c359b
7
+ data.tar.gz: ed0402765442030bbb8cd504bec6061b67e0d623762d822ba2a4659cb1da7845f7435111eda1fc4c1d45d44275269d4f137bae344e468c702a1ad20b4db35e42
@@ -13,11 +13,15 @@ module Jekyll
13
13
  end
14
14
 
15
15
  def add_category_and_sub_category(item, values)
16
+ puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
17
+ puts "values: #{values}"
16
18
  item.data["category"] = values[:category]
17
19
  item.data["sub_category"] = values[:sub_category]
18
20
  end
19
21
 
20
22
  def add_category_only(item, values)
23
+ puts "###################################"
24
+ puts "values: #{values}"
21
25
  item.data["category"] = values[:category]
22
26
  end
23
27
 
@@ -46,8 +50,8 @@ module Jekyll
46
50
 
47
51
  def get_header_values_to_add(item)
48
52
  all_categories = @site.data["all_categories"] || [] # sub folders inside collection
49
- puts "-----------------------"
50
- puts "all_categories: #{all_categories}"
53
+ # puts "-----------------------"
54
+ # puts "all_categories: #{all_categories}"
51
55
  # puts "item.relative_path: #{item.relative_path}"
52
56
 
53
57
  path = item.relative_path.split('/')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-categorize-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -24,6 +24,48 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
27
69
  description:
28
70
  email:
29
71
  - ''