mr-edward 0.0.2 → 0.0.3
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/lib/builder.rb +3 -1
- data/lib/version.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 612197f24983eb51736651387862a44a7653881b66ca9c987a577a0697d933cf
|
|
4
|
+
data.tar.gz: ed7a73faf3a2ea438079cce7d629a0fd33081fa2a39c7d808dfeddd2184b2e00
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d302f85a8978d7b38bca88febed112ff6ea6249f1694bc44fe242028aeade84fcf6b6b9114fcc14ec0600cc0bd651aaa2cc8510abe2ddb0f8337d5fc7b5ba72
|
|
7
|
+
data.tar.gz: d00e37c4c6bc7a5cade4d8fa82cb858e6cfe94f7d7509cf57ed2c25ca878a07a498b0e8337455ad1dc31a2fbf725f89556ccb860ee25f6cc3b8a745a9ddc66c5
|
data/lib/builder.rb
CHANGED
|
@@ -11,6 +11,7 @@ module Edward
|
|
|
11
11
|
def initialize
|
|
12
12
|
@target = "_site"
|
|
13
13
|
@gitignore = File.read(".gitignore").lines rescue []
|
|
14
|
+
@edwardignore = File.read(".edwardignore").lines rescue []
|
|
14
15
|
end
|
|
15
16
|
|
|
16
17
|
def start
|
|
@@ -26,7 +27,8 @@ module Edward
|
|
|
26
27
|
File.file?(path) &&
|
|
27
28
|
!path.start_with?("_") &&
|
|
28
29
|
!["Gemfile", "Gemfile.lock"].include?(path) &&
|
|
29
|
-
!@gitignore.include?(path)
|
|
30
|
+
!@gitignore.include?(path) &&
|
|
31
|
+
!@edwardignore.include?(path)
|
|
30
32
|
end
|
|
31
33
|
|
|
32
34
|
def visit_file path
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mr-edward
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rein Fernhout
|
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
requirements: []
|
|
98
|
-
rubygems_version:
|
|
98
|
+
rubygems_version: 4.0.3
|
|
99
99
|
specification_version: 4
|
|
100
100
|
summary: Statis site generator
|
|
101
101
|
test_files: []
|