nanoc-github 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/nanoc/github/version.rb +1 -1
- data/lib/nanoc/github.rb +8 -6
- metadata +34 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8fc89a1175119357c9a7fff423cae376f7ebf77fe8994fd26d915b5f98e5f5de
|
|
4
|
+
data.tar.gz: 6e91b129586cbd414d5673c37fd743a8f26cd05c9224e6284f3f3ea6cc4a5967
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c62b962fdd4871aedb2fa8ddcb19bd6105967fa678248b773e39fb0d88aafbabcd588a28241fe43dbd30a068960bf3d1b99d27a48896ae7daf46c64c90476bd
|
|
7
|
+
data.tar.gz: 2e3dde5e19a29da28d29f3b2bec1f314c3fa929cb2a2417b0995847eb62143d83bf742fc7eab0b015dd81ee92cb998ec20d48ea407b1c06ae191f937052ffce4
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Nanoc::Github
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[Nanoc](https://nanoc.ws) content source from git repository. A way to have your writing in public and open for editing while not being distracted
|
|
4
4
|
by static site generator trivia this content is usually mixed with.
|
|
5
5
|
|
|
6
6
|
## Usage
|
data/lib/nanoc/github/version.rb
CHANGED
data/lib/nanoc/github.rb
CHANGED
|
@@ -65,12 +65,14 @@ module Nanoc
|
|
|
65
65
|
|
|
66
66
|
def items
|
|
67
67
|
@items ||= begin
|
|
68
|
-
repository_items
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
68
|
+
repository_items
|
|
69
|
+
.sort_by { |item| item[:name] }
|
|
70
|
+
.map { |item|
|
|
71
|
+
identifier = Nanoc::Identifier.new("/#{item[:name]}")
|
|
72
|
+
metadata, data = decode(item[:content])
|
|
73
|
+
|
|
74
|
+
new_item(data, metadata, identifier, checksum_data: item[:sha])
|
|
75
|
+
}
|
|
74
76
|
end
|
|
75
77
|
end
|
|
76
78
|
|
metadata
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nanoc-github
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paweł Pacana
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: pstore
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0.2'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0.2'
|
|
13
26
|
- !ruby/object:Gem::Dependency
|
|
14
27
|
name: nanoc
|
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -30,14 +43,14 @@ dependencies:
|
|
|
30
43
|
requirements:
|
|
31
44
|
- - "~>"
|
|
32
45
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
46
|
+
version: '10.0'
|
|
34
47
|
type: :runtime
|
|
35
48
|
prerelease: false
|
|
36
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
50
|
requirements:
|
|
38
51
|
- - "~>"
|
|
39
52
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
53
|
+
version: '10.0'
|
|
41
54
|
- !ruby/object:Gem::Dependency
|
|
42
55
|
name: concurrent-ruby
|
|
43
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,6 +85,20 @@ dependencies:
|
|
|
72
85
|
- - ">="
|
|
73
86
|
- !ruby/object:Gem::Version
|
|
74
87
|
version: '0'
|
|
88
|
+
- !ruby/object:Gem::Dependency
|
|
89
|
+
name: faraday-retry
|
|
90
|
+
requirement: !ruby/object:Gem::Requirement
|
|
91
|
+
requirements:
|
|
92
|
+
- - ">="
|
|
93
|
+
- !ruby/object:Gem::Version
|
|
94
|
+
version: '0'
|
|
95
|
+
type: :runtime
|
|
96
|
+
prerelease: false
|
|
97
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
98
|
+
requirements:
|
|
99
|
+
- - ">="
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '0'
|
|
75
102
|
description: |
|
|
76
103
|
Nanoc content source from git repository. A way to have your writing in public and open for edition while not being
|
|
77
104
|
distracted by static site generator trivia this content is usually mixed with.
|
|
@@ -80,8 +107,8 @@ email:
|
|
|
80
107
|
executables: []
|
|
81
108
|
extensions: []
|
|
82
109
|
extra_rdoc_files:
|
|
83
|
-
- README.md
|
|
84
110
|
- LICENSE.txt
|
|
111
|
+
- README.md
|
|
85
112
|
files:
|
|
86
113
|
- LICENSE.txt
|
|
87
114
|
- README.md
|
|
@@ -95,7 +122,6 @@ metadata:
|
|
|
95
122
|
source_code_uri: https://github.com/pawelpacana/nanoc-github
|
|
96
123
|
changelog_uri: https://github.com/pawelpacana/nanoc-github/releases
|
|
97
124
|
bug_tracker_uri: https://github.com/pawelpacana/nanoc-github/issues
|
|
98
|
-
post_install_message:
|
|
99
125
|
rdoc_options: []
|
|
100
126
|
require_paths:
|
|
101
127
|
- lib
|
|
@@ -110,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
136
|
- !ruby/object:Gem::Version
|
|
111
137
|
version: '0'
|
|
112
138
|
requirements: []
|
|
113
|
-
rubygems_version:
|
|
114
|
-
signing_key:
|
|
139
|
+
rubygems_version: 4.0.3
|
|
115
140
|
specification_version: 4
|
|
116
141
|
summary: Nanoc content source from git repository
|
|
117
142
|
test_files: []
|