benofsky-bolt 0.2.0 → 0.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.
- data/default_files/application.haml +1 -0
- data/default_files/home.haml +1 -0
- data/default_files/home.rb +3 -0
- data/lib/bolt/project.rb +4 -4
- metadata +5 -2
@@ -0,0 +1 @@
|
|
1
|
+
=content
|
@@ -0,0 +1 @@
|
|
1
|
+
Hello World
|
data/lib/bolt/project.rb
CHANGED
@@ -9,11 +9,11 @@
|
|
9
9
|
require 'bolt/base'
|
10
10
|
|
11
11
|
module Bolt
|
12
|
-
class Project < Base
|
13
|
-
|
14
|
-
def initialize
|
12
|
+
class Project < Base
|
13
|
+
|
14
|
+
def initialize
|
15
15
|
@default_directories = [$config.pages, $config.views, $config.lib, $config.resources]
|
16
|
-
@default_files = {$config.config => "default_files/config.yml"}
|
16
|
+
@default_files = {$config.config => "default_files/config.yml", "#{$config.views}/application.haml" => "default_files/application.haml", "#{$config.views}/home.haml" => "default_files/home.haml", "#{$config.pages}/home.rb" => "default_files/home.rb"}
|
17
17
|
end
|
18
18
|
|
19
19
|
# Creates all nessecary directories and files for a new Bolt Project
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 3
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.3.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ben McRedmond
|
@@ -48,7 +48,10 @@ files:
|
|
48
48
|
- lib/bolt.rb
|
49
49
|
- bin/bolt
|
50
50
|
- LICENSE
|
51
|
+
- default_files/application.haml
|
51
52
|
- default_files/config.yml
|
53
|
+
- default_files/home.haml
|
54
|
+
- default_files/home.rb
|
52
55
|
has_rdoc: true
|
53
56
|
homepage: http://github.com/benofsky/bolt/
|
54
57
|
licenses: []
|