brief 1.13.1 → 1.13.2
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/Gemfile.lock +1 -1
- data/apps/blueprint/extensions/middleman.rb +3 -5
- data/lib/brief/version.rb +1 -1
- data/spec/lib/brief/models/new_doc_content_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b210c7cfbfc6c61d2065de58511cd75b792e6183
|
|
4
|
+
data.tar.gz: 8d5452b12855d0df0afcdd9dd705df8e8aee296a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1132ffc9ac404ebc966c101f218361bbd3026dd0fc1e2a66b84077cceb7a661f9889b6a95c06636ed55958a8fc6076a31a3733b44a04b74b8f68d1a21897e271
|
|
7
|
+
data.tar.gz: 6ca953bc15a875623da13b0a67d330cc8890c195e72673091e3679bd51b332d6068d71c5d682d7fcc6b28bce4658f8ed947de1208047b8de2a37a77e4fac0715
|
data/Gemfile.lock
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
class
|
|
2
|
-
class Blueprint::MiddlemanExtension < ::Middleman::Extension
|
|
1
|
+
class BlueprintMiddlemanExtension < ::Middleman::Extension
|
|
3
2
|
|
|
4
3
|
option :blueprint_root, nil, 'Which path to use for the blueprint?'
|
|
5
4
|
|
|
@@ -46,7 +45,6 @@ class Brief::Apps
|
|
|
46
45
|
Brief::Briefcase.new(root: blueprint_root, caching: !development?)
|
|
47
46
|
end
|
|
48
47
|
end
|
|
49
|
-
end
|
|
50
|
-
end if defined?(::Middleman)
|
|
48
|
+
end if defined?(::Middleman)
|
|
51
49
|
|
|
52
|
-
::Middleman::Extensions.register(:blueprint,
|
|
50
|
+
::Middleman::Extensions.register(:blueprint, BlueprintMiddlemanExtension) if defined?(::Middleman)
|
data/lib/brief/version.rb
CHANGED
|
@@ -17,7 +17,7 @@ describe "The Page Document Type" do
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
it "should return the default document name because there's no new_doc_name defined" do
|
|
20
|
-
expect(page.new_doc_name).to eq "page
|
|
20
|
+
expect(page.new_doc_name).to eq "page-#{ DateTime.now.strftime("%Y-%m-%d") }.md"
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
it "should return the new document name if new_doc_name is defined" do
|