bsns 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. data/lib/bsns.rb +2 -1
  2. metadata +2 -2
data/lib/bsns.rb CHANGED
@@ -80,7 +80,8 @@ module BSNS
80
80
  end
81
81
 
82
82
  def self.root_path
83
- BSNS.get_config(:content_path).gsub(/\/$/, '')+'/'
83
+ path = BSNS.get_config(:content_path) || 'content'
84
+ path.gsub(/\/$/, '')+'/'
84
85
  end
85
86
 
86
87
  def self.relative_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bsns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-22 00:00:00.000000000 Z
12
+ date: 2013-08-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Static YAML assets which live in your application repositories. For
15
15
  the streamlined modification of informational, promotional and business assets by