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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3968688e5ae49cef9636811719c29cc5c1daf89
4
- data.tar.gz: 5da2122fc2a71f3878370db8ee26feba3fde0330
3
+ metadata.gz: b210c7cfbfc6c61d2065de58511cd75b792e6183
4
+ data.tar.gz: 8d5452b12855d0df0afcdd9dd705df8e8aee296a
5
5
  SHA512:
6
- metadata.gz: f7cab87cbc755465bf708e72ba6da50bbb171dd15293e6eb0c1939f137668e058d6db04d227f1cc51a39f53a30e70e8041e46dce863aa1045a1fdc85ef52e11b
7
- data.tar.gz: 27650f973ec79d0e9ea9299d2b54379c1ab90f3a5dfdb12e8383c9fe80215ff22d95e36c444186f9a75443cdaeec90b086f7bbd580b9011fec834f113dd7c355
6
+ metadata.gz: 1132ffc9ac404ebc966c101f218361bbd3026dd0fc1e2a66b84077cceb7a661f9889b6a95c06636ed55958a8fc6076a31a3733b44a04b74b8f68d1a21897e271
7
+ data.tar.gz: 6ca953bc15a875623da13b0a67d330cc8890c195e72673091e3679bd51b332d6068d71c5d682d7fcc6b28bce4658f8ed947de1208047b8de2a37a77e4fac0715
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brief (1.13.1)
4
+ brief (1.13.2)
5
5
  activesupport (> 3.2)
6
6
  commander (~> 4.3)
7
7
  em-websocket (~> 0.5)
@@ -1,5 +1,4 @@
1
- class Brief::Apps
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, Brief::Apps::Blueprint::MiddlemanExtension) if defined?(::Middleman)
50
+ ::Middleman::Extensions.register(:blueprint, BlueprintMiddlemanExtension) if defined?(::Middleman)
data/lib/brief/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Brief
2
- VERSION = '1.13.1'
2
+ VERSION = '1.13.2'
3
3
  end
@@ -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-2015-06-17.md"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brief
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.1
4
+ version: 1.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Soeder